Author: post
Date: 2011-12-29 22:28:46 +0100 (Thu, 29 Dec 2011)
New Revision: 4080
Modified:
trunk/src/rs-toolbox.c
Log:
Use toolbutton for transform icons, so they are always shown no matter the
gnome settings.
Modified: trunk/src/rs-toolbox.c
===================================================================
--- trunk/src/rs-toolbox.c 2011-12-29 20:08:16 UTC (rev 4079)
+++ trunk/src/rs-toolbox.c 2011-12-29 21:28:46 UTC (rev 4080)
@@ -846,10 +846,10 @@
GtkWidget *rot270;
hbox = gtk_hbox_new(FALSE, 0);
- flip = gtk_button_new_from_stock(RS_STOCK_FLIP);
- mirror = gtk_button_new_from_stock(RS_STOCK_MIRROR);
- rot90 = gtk_button_new_from_stock(RS_STOCK_ROTATE_CLOCKWISE);
- rot270 = gtk_button_new_from_stock(RS_STOCK_ROTATE_COUNTER_CLOCKWISE);
+ flip = GTK_WIDGET(gtk_tool_button_new_from_stock(RS_STOCK_FLIP));
+ mirror = GTK_WIDGET(gtk_tool_button_new_from_stock(RS_STOCK_MIRROR));
+ rot90 =
GTK_WIDGET(gtk_tool_button_new_from_stock(RS_STOCK_ROTATE_CLOCKWISE));
+ rot270 =
GTK_WIDGET(gtk_tool_button_new_from_stock(RS_STOCK_ROTATE_COUNTER_CLOCKWISE));
gui_tooltip_window(flip, _("Flip the photo over the x-axis"), NULL);
gui_tooltip_window(mirror, _("Mirror the photo over the y-axis"), NULL);
_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit