Author: post
Date: 2010-06-27 14:02:18 +0200 (Sun, 27 Jun 2010)
New Revision: 3448
Modified:
trunk/src/rs-toolbox.c
Log:
Add section titles to curve context menu. Also fixes the issue, where a single
rightclick in the curves area selects the first saved curve.
Modified: trunk/src/rs-toolbox.c
===================================================================
--- trunk/src/rs-toolbox.c 2010-06-26 13:43:10 UTC (rev 3447)
+++ trunk/src/rs-toolbox.c 2010-06-27 12:02:18 UTC (rev 3448)
@@ -581,6 +581,13 @@
{
ext[0] = '\0';
+ if (n == 0)
+ {
+ i =
gtk_image_menu_item_new_with_label(_("Select Saved Curve"));
+ gtk_widget_show (i);
+ gtk_menu_attach (GTK_MENU (menu), i, 0, 1, n,
n+1); n++;
+ }
+
i =
gtk_image_menu_item_new_from_stock(GTK_STOCK_REVERT_TO_SAVED, NULL);
rs_gtk_menu_item_set_label(GTK_MENU_ITEM(i), name);
gtk_widget_show (i);
@@ -606,6 +613,10 @@
gtk_menu_attach (GTK_MENU (menu), i, 0, 1, n, n+1); n++;
}
+ i = gtk_image_menu_item_new_with_label (_("Select Action"));
+ gtk_widget_show (i);
+ gtk_menu_attach (GTK_MENU (menu), i, 0, 1, n, n+1); n++;
+
i = gtk_image_menu_item_new_from_stock(GTK_STOCK_OPEN, NULL);
rs_gtk_menu_item_set_label(GTK_MENU_ITEM(i), _("Open curve ..."));
gtk_widget_show (i);
_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit