Changed the toggle_buttons in the iscissors tool options dialog to

check_buttons, since all tools use them and we should try to have a
consistent interface.


--Sven
This commit is contained in:
Sven Neumann 1998-04-15 15:47:34 +00:00
parent 23ce351b2f
commit 41d17fb403
4 changed files with 14 additions and 9 deletions

View File

@ -1,3 +1,8 @@
Wed Apr 15 17:40:55 MEST 1998 Sven Neumann <sven@gimp.org>
* app/iscissors.c: changed toggle_buttons to check_buttons since
all tools use them in the options dialog
Wed Apr 15 02:44:58 1998 George Lebl <jirka@5z.com>
* plug-ins/film/film.c: del_list_item_callback was calling

View File

@ -191,7 +191,7 @@ static IScissorsOptions *iscissors_options = NULL;
/* Local function prototypes */
static void selection_to_bezier (GtkWidget* , gpointer);
static void selection_to_bezier (GtkWidget* , gpointer);
static void iscissors_button_press (Tool *, GdkEventButton *, gpointer);
static void iscissors_button_release (Tool *, GdkEventButton *, gpointer);
@ -321,7 +321,7 @@ iscissors_selection_options (void)
gtk_widget_show (label);
/* the antialias toggle button */
antialias_toggle = gtk_toggle_button_new_with_label ("Antialiasing");
antialias_toggle = gtk_check_button_new_with_label ("Antialiasing");
gtk_toggle_button_set_state (GTK_TOGGLE_BUTTON(antialias_toggle),
options->antialias);
gtk_box_pack_start (GTK_BOX (vbox), antialias_toggle, FALSE, FALSE, 0);
@ -331,7 +331,7 @@ iscissors_selection_options (void)
gtk_widget_show (antialias_toggle);
/* the feather toggle button */
feather_toggle = gtk_toggle_button_new_with_label ("Feather");
feather_toggle = gtk_check_button_new_with_label ("Feather");
gtk_toggle_button_set_state (GTK_TOGGLE_BUTTON(feather_toggle),
options->feather);
gtk_box_pack_start (GTK_BOX (vbox), feather_toggle, FALSE, FALSE, 0);

View File

@ -191,7 +191,7 @@ static IScissorsOptions *iscissors_options = NULL;
/* Local function prototypes */
static void selection_to_bezier (GtkWidget* , gpointer);
static void selection_to_bezier (GtkWidget* , gpointer);
static void iscissors_button_press (Tool *, GdkEventButton *, gpointer);
static void iscissors_button_release (Tool *, GdkEventButton *, gpointer);
@ -321,7 +321,7 @@ iscissors_selection_options (void)
gtk_widget_show (label);
/* the antialias toggle button */
antialias_toggle = gtk_toggle_button_new_with_label ("Antialiasing");
antialias_toggle = gtk_check_button_new_with_label ("Antialiasing");
gtk_toggle_button_set_state (GTK_TOGGLE_BUTTON(antialias_toggle),
options->antialias);
gtk_box_pack_start (GTK_BOX (vbox), antialias_toggle, FALSE, FALSE, 0);
@ -331,7 +331,7 @@ iscissors_selection_options (void)
gtk_widget_show (antialias_toggle);
/* the feather toggle button */
feather_toggle = gtk_toggle_button_new_with_label ("Feather");
feather_toggle = gtk_check_button_new_with_label ("Feather");
gtk_toggle_button_set_state (GTK_TOGGLE_BUTTON(feather_toggle),
options->feather);
gtk_box_pack_start (GTK_BOX (vbox), feather_toggle, FALSE, FALSE, 0);

View File

@ -191,7 +191,7 @@ static IScissorsOptions *iscissors_options = NULL;
/* Local function prototypes */
static void selection_to_bezier (GtkWidget* , gpointer);
static void selection_to_bezier (GtkWidget* , gpointer);
static void iscissors_button_press (Tool *, GdkEventButton *, gpointer);
static void iscissors_button_release (Tool *, GdkEventButton *, gpointer);
@ -321,7 +321,7 @@ iscissors_selection_options (void)
gtk_widget_show (label);
/* the antialias toggle button */
antialias_toggle = gtk_toggle_button_new_with_label ("Antialiasing");
antialias_toggle = gtk_check_button_new_with_label ("Antialiasing");
gtk_toggle_button_set_state (GTK_TOGGLE_BUTTON(antialias_toggle),
options->antialias);
gtk_box_pack_start (GTK_BOX (vbox), antialias_toggle, FALSE, FALSE, 0);
@ -331,7 +331,7 @@ iscissors_selection_options (void)
gtk_widget_show (antialias_toggle);
/* the feather toggle button */
feather_toggle = gtk_toggle_button_new_with_label ("Feather");
feather_toggle = gtk_check_button_new_with_label ("Feather");
gtk_toggle_button_set_state (GTK_TOGGLE_BUTTON(feather_toggle),
options->feather);
gtk_box_pack_start (GTK_BOX (vbox), feather_toggle, FALSE, FALSE, 0);