[Rawstudio-commit] r1994 - trunk/src

Anders Brander anders at brander.dk
Sun Sep 14 21:42:16 CEST 2008


Author: abrander
Date: 2008-09-14 21:42:16 +0200 (Sun, 14 Sep 2008)
New Revision: 1994

Modified:
   trunk/src/rs-batch.c
Log:
Added some stock images to the batch control buttons.

Modified: trunk/src/rs-batch.c
===================================================================
--- trunk/src/rs-batch.c	2008-09-14 19:41:22 UTC (rev 1993)
+++ trunk/src/rs-batch.c	2008-09-14 19:42:16 UTC (rev 1994)
@@ -693,15 +693,13 @@
 
 		box = gtk_hbox_new(FALSE,4);
 
-		queue->start_button = gtk_button_new_with_label(_("Start"));
+		queue->start_button = gui_button_new_from_stock_with_label(GTK_STOCK_EXECUTE, _("Start"));
 		g_signal_connect ((gpointer) queue->start_button, "clicked", G_CALLBACK (batch_button_start_clicked), queue);
 
-		queue->remove_button = gtk_button_new();
-		gtk_button_set_label(GTK_BUTTON(queue->remove_button), _("Remove"));
+		queue->remove_button = gui_button_new_from_stock_with_label(GTK_STOCK_REMOVE, _("Remove"));
 		g_signal_connect ((gpointer) queue->remove_button, "clicked", G_CALLBACK (batch_button_remove_clicked), queue);
 
-		queue->remove_all_button = gtk_button_new();
-		gtk_button_set_label(GTK_BUTTON(queue->remove_all_button), _("Remove all"));
+		queue->remove_all_button = gui_button_new_from_stock_with_label(GTK_STOCK_REMOVE, _("Remove all"));
 		g_signal_connect ((gpointer) queue->remove_all_button, "clicked", G_CALLBACK (batch_button_remove_all_clicked), queue);
 
 		gtk_box_pack_start(GTK_BOX (box), queue->start_button, FALSE, FALSE, 0);




More information about the Rawstudio-commit mailing list