gimp r24915 - in branches/weskaggs: . app/widgets
- From: weskaggs svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r24915 - in branches/weskaggs: . app/widgets
- Date: Tue, 19 Feb 2008 01:58:28 +0000 (GMT)
Author: weskaggs
Date: Tue Feb 19 01:58:28 2008
New Revision: 24915
URL: http://svn.gnome.org/viewvc/gimp?rev=24915&view=rev
Log:
Bill Skaggs <weskaggs primate ucdavis edu>
* app/widgets/gimpwidgets-constructors.c: Enable tearoff
mode menus.
Modified:
branches/weskaggs/ChangeLog
branches/weskaggs/app/widgets/gimpwidgets-constructors.c
Modified: branches/weskaggs/app/widgets/gimpwidgets-constructors.c
==============================================================================
--- branches/weskaggs/app/widgets/gimpwidgets-constructors.c (original)
+++ branches/weskaggs/app/widgets/gimpwidgets-constructors.c Tue Feb 19 01:58:28 2008
@@ -130,14 +130,14 @@
GIMP_COLOR_MODE,
GIMP_VALUE_MODE);
-/* gimp_int_store_insert_separator_after (GIMP_INT_STORE (store), */
-/* GIMP_DISSOLVE_MODE, -1); */
-/* gimp_int_store_insert_separator_after (GIMP_INT_STORE (store), */
-/* GIMP_OVERLAY_MODE, -1); */
-/* gimp_int_store_insert_separator_after (GIMP_INT_STORE (store), */
-/* GIMP_GRAIN_MERGE_MODE, -1); */
-/* gimp_int_store_insert_separator_after (GIMP_INT_STORE (store), */
-/* GIMP_LIGHTEN_ONLY_MODE, -1); */
+ gimp_int_store_insert_separator_after (GIMP_INT_STORE (store),
+ GIMP_DISSOLVE_MODE, -1);
+ gimp_int_store_insert_separator_after (GIMP_INT_STORE (store),
+ GIMP_OVERLAY_MODE, -1);
+ gimp_int_store_insert_separator_after (GIMP_INT_STORE (store),
+ GIMP_GRAIN_MERGE_MODE, -1);
+ gimp_int_store_insert_separator_after (GIMP_INT_STORE (store),
+ GIMP_LIGHTEN_ONLY_MODE, -1);
if (with_behind_mode)
{
@@ -165,7 +165,9 @@
combo = gimp_enum_combo_box_new_with_model (GIMP_ENUM_STORE (store));
g_object_unref (store);
- gtk_combo_box_set_wrap_width (GTK_COMBO_BOX (combo), 2);
+ gtk_combo_box_set_add_tearoffs (GTK_COMBO_BOX (combo), TRUE);
+ gtk_combo_box_set_title (GTK_COMBO_BOX (combo), _("Paint mode"));
+/* gtk_combo_box_set_wrap_width (GTK_COMBO_BOX (combo), 2); */
gtk_combo_box_set_row_separator_func (GTK_COMBO_BOX (combo),
gimp_paint_mode_menu_separator_func,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]