gimp r27458 - in trunk: . app/widgets



Author: mitch
Date: Wed Oct 29 13:30:47 2008
New Revision: 27458
URL: http://svn.gnome.org/viewvc/gimp?rev=27458&view=rev

Log:
2008-10-29  Michael Natterer  <mitch gimp org>

	* app/widgets/gimpstrokeeditor.c: move the "Antialias" toggle from
	here...

	* app/widgets/gimpfilleditor.c: ...to here because it makes sense
	for both filling and stroking.



Modified:
   trunk/ChangeLog
   trunk/app/widgets/gimpfilleditor.c
   trunk/app/widgets/gimpstrokeeditor.c

Modified: trunk/app/widgets/gimpfilleditor.c
==============================================================================
--- trunk/app/widgets/gimpfilleditor.c	(original)
+++ trunk/app/widgets/gimpfilleditor.c	Wed Oct 29 13:30:47 2008
@@ -94,6 +94,7 @@
 static void
 gimp_fill_editor_init (GimpFillEditor *editor)
 {
+  gtk_box_set_spacing (GTK_BOX (editor), 6);
 }
 
 static GObject *
@@ -104,6 +105,7 @@
   GObject        *object;
   GimpFillEditor *editor;
   GtkWidget      *box;
+  GtkWidget      *button;
 
   object = G_OBJECT_CLASS (parent_class)->constructor (type, n_params, params);
 
@@ -111,8 +113,6 @@
 
   g_assert (GIMP_IS_FILL_OPTIONS (editor->options));
 
-  gtk_box_set_spacing (GTK_BOX (editor), 12);
-
   box = gimp_prop_enum_radio_box_new (G_OBJECT (editor->options), "style",
                                       0, 0);
   gtk_box_pack_start (GTK_BOX (editor), box, FALSE, FALSE, 0);
@@ -141,6 +141,12 @@
                                GIMP_FILL_STYLE_PATTERN, FALSE);
     }
 
+  button = gimp_prop_check_button_new (G_OBJECT (editor->options),
+                                       "antialias",
+                                       _("_Antialiasing"));
+  gtk_box_pack_start (GTK_BOX (editor), button, FALSE, FALSE, 0);
+  gtk_widget_show (button);
+
   return object;
 }
 

Modified: trunk/app/widgets/gimpstrokeeditor.c
==============================================================================
--- trunk/app/widgets/gimpstrokeeditor.c	(original)
+++ trunk/app/widgets/gimpstrokeeditor.c	Wed Oct 29 13:30:47 2008
@@ -316,15 +316,6 @@
                            G_CALLBACK (gimp_int_combo_box_set_active),
                            box, G_CONNECT_SWAPPED);
 
-
-  button = gimp_prop_check_button_new (G_OBJECT (options),
-                                       "antialias",
-                                       _("_Antialiasing"));
-  gtk_table_attach (GTK_TABLE (table), button, 0, 3, row, row + 1,
-                    GTK_SHRINK | GTK_FILL, GTK_SHRINK | GTK_FILL, 0, 0);
-  gtk_widget_show (button);
-  row++;
-
   return object;
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]