From: Dan Dennedy Date: Sat, 13 Nov 2010 20:56:22 +0000 (-0800) Subject: Update icons and add tooltips. X-Git-Url: http://research.m1stereo.tv/gitweb?a=commitdiff_plain;h=a5fd42fcba5ce6d680f44c5c8e01c44deae91ed2;hp=9d371665b5776eb4cb529fe8f242fccce32f6c8d;p=rugen Update icons and add tooltips. --- diff --git a/pixmaps/editor_fast.xpm b/pixmaps/editor_fast.xpm deleted file mode 100644 index 0d04554..0000000 --- a/pixmaps/editor_fast.xpm +++ /dev/null @@ -1,23 +0,0 @@ -/* XPM */ -static char * editor_fast_xpm[] = { -"19 15 5 1", -" c None", -". c #949594", -"+ c #000000", -"@ c #8E8E8E", -"# c #FFFFFF", -"... ... ", -".++. .++. ", -".+++. .+++. ", -".++++. .++++. ", -".+++++. .+++++. ", -".++++++. .++++++. ", -".+++++++..+++++++. ", -".+++++++@#+++++++@#", -".++++++@#.++++++@# ", -".+++++@# .+++++@# ", -".++++@# .++++@# ", -".+++@# .+++@# ", -".++@# .++@# ", -".+@# .+@# ", -".## .## "}; diff --git a/pixmaps/editor_fast_i.xpm b/pixmaps/editor_fast_i.xpm deleted file mode 100644 index 6cfdc52..0000000 --- a/pixmaps/editor_fast_i.xpm +++ /dev/null @@ -1,23 +0,0 @@ -/* XPM */ -static char * editor_fast_i_xpm[] = { -"19 15 5 1", -" c None", -". c #949594", -"+ c #000000", -"@ c #8E8E8E", -"# c #FFFFFF", -" ... ...", -" .+@# .+@#", -" .++@# .++@#", -" .+++@# .+++@#", -" .++++@# .++++@#", -" .+++++@# .+++++@#", -" .++++++@#.++++++@#", -".+++++++@#+++++++@#", -" .++++++@#.++++++@#", -" .+++++@# .+++++@#", -" .++++@# .++++@#", -" .+++@# .+++@#", -" .++@# .++@#", -" .+@# .+@#", -" .## .##"}; diff --git a/pixmaps/editor_movie.xpm b/pixmaps/editor_movie.xpm deleted file mode 100644 index 7c9e46f..0000000 --- a/pixmaps/editor_movie.xpm +++ /dev/null @@ -1,23 +0,0 @@ -/* XPM */ -static char * editor_movie_xpm[] = { -"24 15 5 1", -" c None", -". c #949594", -"+ c #000000", -"@ c #8E8E8E", -"# c #FFFFFF", -"... ... ......", -".++. .++. .+++@#", -".+++. .+++. .+++@#", -".++++. .++++. .+++@#", -".+++++. .+++++. .+++@#", -".++++++. .++++++. .+++@#", -".+++++++..+++++++..+++@#", -".+++++++@#+++++++@.+++@#", -".++++++@#.++++++@#.+++@#", -".+++++@# .+++++@# .+++@#", -".++++@# .++++@# .+++@#", -".+++@# .+++@# .+++@#", -".++@# .++@# .+++@#", -".+@# .+@# .+@@@#", -".## .## .#####"}; diff --git a/pixmaps/editor_movie_i.xpm b/pixmaps/editor_movie_i.xpm deleted file mode 100644 index 0a85b0a..0000000 --- a/pixmaps/editor_movie_i.xpm +++ /dev/null @@ -1,23 +0,0 @@ -/* XPM */ -static char * editor_movie_i_xpm[] = { -"25 15 5 1", -" c None", -". c #949594", -"+ c #000000", -"@ c #8E8E8E", -"# c #FFFFFF", -"...... ... ... ", -".+++@# .+@# .+@# ", -".+++@# .++@# .++@# ", -".+++@# .+++@# .+++@# ", -".+++@# .++++@# .++++@# ", -".+++@# .+++++@# .+++++@# ", -".+++@#.++++++@#.++++++@# ", -".+++@#+++++++@#+++++++@# ", -".+++@#.++++++@#.++++++@# ", -".+++@# .+++++@# .+++++@# ", -".+++@# .++++@# .++++@# ", -".+++@# .+++@# .+++@# ", -".+++@# .++@# .++@# ", -".+@@@# .+@# .+@# ", -".##### .## .## "}; diff --git a/pixmaps/editor_pause.xpm b/pixmaps/editor_pause.xpm deleted file mode 100644 index d23122c..0000000 --- a/pixmaps/editor_pause.xpm +++ /dev/null @@ -1,23 +0,0 @@ -/* XPM */ -static char * editor_pause_xpm[] = { -"13 15 5 1", -" c None", -". c #949594", -"+ c #000000", -"@ c #8E8E8E", -"# c #FFFFFF", -"...... ......", -".+++@# .+++@#", -".+++@# .+++@#", -".+++@# .+++@#", -".+++@# .+++@#", -".+++@# .+++@#", -".+++@# .+++@#", -".+++@# .+++@#", -".+++@# .+++@#", -".+++@# .+++@#", -".+++@# .+++@#", -".+++@# .+++@#", -".+++@# .+++@#", -".+@@@# .+@@@#", -".##### .#####"}; diff --git a/pixmaps/editor_play.xpm b/pixmaps/editor_play.xpm deleted file mode 100644 index bf504cc..0000000 --- a/pixmaps/editor_play.xpm +++ /dev/null @@ -1,23 +0,0 @@ -/* XPM */ -static char * editor_play_xpm[] = { -"13 15 5 1", -" c None", -". c #949594", -"+ c #000000", -"@ c #8E8E8E", -"# c #FFFFFF", -"...... ", -".+++++. ", -".++++++. ", -".+++++++. ", -".++++++++. ", -".+++++++++. ", -".++++++++++. ", -".++++++++++@#", -".+++++++++@# ", -".++++++++@# ", -".+++++++@# ", -".++++++@# ", -".+++++@# ", -".+@@@@# ", -".##### "}; diff --git a/pixmaps/editor_play_i.xpm b/pixmaps/editor_play_i.xpm deleted file mode 100644 index a7f2bf3..0000000 --- a/pixmaps/editor_play_i.xpm +++ /dev/null @@ -1,23 +0,0 @@ -/* XPM */ -static char * editor_play_i_xpm[] = { -"13 15 5 1", -" c None", -". c #949594", -"+ c #000000", -"@ c #8E8E8E", -"# c #FFFFFF", -" ......", -" .++++@#", -" .+++++@#", -" .++++++@#", -" .+++++++@#", -" .++++++++@#", -" .+++++++++@#", -".++++++++++@#", -" .+++++++++@#", -" .++++++++@#", -" .+++++++@#", -" .++++++@#", -" .+++++@#", -" .+@@@@#", -" .#####"}; diff --git a/pixmaps/editor_record.xpm b/pixmaps/editor_record.xpm deleted file mode 100644 index 2064621..0000000 --- a/pixmaps/editor_record.xpm +++ /dev/null @@ -1,22 +0,0 @@ -/* XPM */ -static char * editor_record_xpm[] = { -"15 15 4 1", -" c None", -". c #F48181", -"+ c #E00606", -"@ c #FFFFFF", -" ....... ", -" ...+++++... ", -" ..+++++++++.. ", -" .+++++++++++. ", -"..+++++++++++.@", -".++++++++++++.@", -".++++++++++++.@", -".++++++++++++.@", -".++++++++++++.@", -".+++++++++++..@", -"..++++++++++.@@", -" .+++++++++..@ ", -" ..++++++...@@ ", -" ...+....@@@ ", -" .@@@@@@ "}; diff --git a/pixmaps/editor_scene.xpm b/pixmaps/editor_scene.xpm deleted file mode 100644 index 1cd52c4..0000000 --- a/pixmaps/editor_scene.xpm +++ /dev/null @@ -1,23 +0,0 @@ -/* XPM */ -static char * editor_scene_xpm[] = { -"17 15 5 1", -" c None", -". c #949594", -"+ c #000000", -"@ c #8E8E8E", -"# c #FFFFFF", -" ... ...... ", -" .++. .+++@# ", -" .+++. .+++@# ", -" .++++. .+++@# ", -" .+++++. .+++@# ", -" .++++++. .+++@# ", -" .+++++++..+++@# ", -" .+++++++@#+++@# ", -" .++++++@#.+++@# ", -" .+++++@# .+++@# ", -" .++++@# .+++@# ", -" .+++@# .+++@# ", -" .++@# .+++@# ", -" .+@# .+@@@# ", -" .## .##### "}; diff --git a/pixmaps/editor_scene_i.xpm b/pixmaps/editor_scene_i.xpm deleted file mode 100644 index b18fab4..0000000 --- a/pixmaps/editor_scene_i.xpm +++ /dev/null @@ -1,23 +0,0 @@ -/* XPM */ -static char * editor_scene_i_xpm[] = { -"17 15 5 1", -" c None", -". c #949594", -"+ c #000000", -"@ c #8E8E8E", -"# c #FFFFFF", -" ...... ... ", -" .+++@# .+@# ", -" .+++@# .++@# ", -" .+++@# .+++@# ", -" .+++@# .++++@# ", -" .+++@# .+++++@# ", -" .+++@#.++++++@# ", -" .+++@#+++++++@# ", -" .+++@#.++++++@# ", -" .+++@# .+++++@# ", -" .+++@# .++++@# ", -" .+++@# .+++@# ", -" .+++@# .++@# ", -" .+@@@# .+@# ", -" .##### .## "}; diff --git a/pixmaps/editor_step.xpm b/pixmaps/editor_step.xpm deleted file mode 100644 index 11a1366..0000000 --- a/pixmaps/editor_step.xpm +++ /dev/null @@ -1,23 +0,0 @@ -/* XPM */ -static char * editor_step_xpm[] = { -"17 15 5 1", -" c None", -". c #949594", -"+ c #000000", -"@ c #8E8E8E", -"# c #FFFFFF", -"...... ... ", -".+++@# .++. ", -".+++@# .+++. ", -".+++@# .++++. ", -".+++@# .+++++. ", -".+++@# .++++++. ", -".+++@# .+++++++. ", -".+++@# .+++++++@#", -".+++@# .++++++@# ", -".+++@# .+++++@# ", -".+++@# .++++@# ", -".+++@# .+++@# ", -".+++@# .++@# ", -".+@@@# .+@# ", -".##### .## "}; diff --git a/pixmaps/editor_step_i.xpm b/pixmaps/editor_step_i.xpm deleted file mode 100644 index 91fe3f9..0000000 --- a/pixmaps/editor_step_i.xpm +++ /dev/null @@ -1,23 +0,0 @@ -/* XPM */ -static char * editor_step_i_xpm[] = { -"17 15 5 1", -" c None", -". c #949594", -"+ c #000000", -"@ c #8E8E8E", -"# c #FFFFFF", -" ... ......", -" .+@# .+++@#", -" .++@# .+++@#", -" .+++@# .+++@#", -" .++++@# .+++@#", -" .+++++@# .+++@#", -" .++++++@# .+++@#", -".+++++++@# .+++@#", -" .++++++@# .+++@#", -" .+++++@# .+++@#", -" .++++@# .+++@#", -" .+++@# .+++@#", -" .++@# .+++@#", -" .+@# .+@@@#", -" .## .#####"}; diff --git a/pixmaps/editor_stop.xpm b/pixmaps/editor_stop.xpm deleted file mode 100644 index 7371232..0000000 --- a/pixmaps/editor_stop.xpm +++ /dev/null @@ -1,23 +0,0 @@ -/* XPM */ -static char * editor_stop_xpm[] = { -"15 15 5 1", -" c None", -". c #949594", -"+ c #FFFFFF", -"@ c #000000", -"# c #8E8E8E", -"..............+", -".@@@@@@@@@@@@#+", -".@@@@@@@@@@@@#+", -".@@@@@@@@@@@@#+", -".@@@@@@@@@@@@#+", -".@@@@@@@@@@@@#+", -".@@@@@@@@@@@@#+", -".@@@@@@@@@@@@#+", -".@@@@@@@@@@@@#+", -".@@@@@@@@@@@@#+", -".@@@@@@@@@@@@#+", -".@@@@@@@@@@@@#+", -".@@@@@@@@@@@@#+", -".@###...######+", -".++++++++++++++"}; diff --git a/pixmaps/stock_media-begin-16.png b/pixmaps/stock_media-begin-16.png new file mode 100644 index 0000000..8fc43b0 Binary files /dev/null and b/pixmaps/stock_media-begin-16.png differ diff --git a/pixmaps/stock_media-end-16.png b/pixmaps/stock_media-end-16.png new file mode 100644 index 0000000..cb30e46 Binary files /dev/null and b/pixmaps/stock_media-end-16.png differ diff --git a/pixmaps/stock_media-fwd-16.png b/pixmaps/stock_media-fwd-16.png new file mode 100644 index 0000000..8339b8d Binary files /dev/null and b/pixmaps/stock_media-fwd-16.png differ diff --git a/pixmaps/stock_media-next-16.png b/pixmaps/stock_media-next-16.png new file mode 100644 index 0000000..031ef7f Binary files /dev/null and b/pixmaps/stock_media-next-16.png differ diff --git a/pixmaps/stock_media-next-frame-16.png b/pixmaps/stock_media-next-frame-16.png new file mode 100644 index 0000000..0151be8 Binary files /dev/null and b/pixmaps/stock_media-next-frame-16.png differ diff --git a/pixmaps/stock_media-pause-16.png b/pixmaps/stock_media-pause-16.png new file mode 100644 index 0000000..abda218 Binary files /dev/null and b/pixmaps/stock_media-pause-16.png differ diff --git a/pixmaps/stock_media-play-16.png b/pixmaps/stock_media-play-16.png new file mode 100644 index 0000000..f23491a Binary files /dev/null and b/pixmaps/stock_media-play-16.png differ diff --git a/pixmaps/stock_media-prev-16.png b/pixmaps/stock_media-prev-16.png new file mode 100644 index 0000000..2c9e527 Binary files /dev/null and b/pixmaps/stock_media-prev-16.png differ diff --git a/pixmaps/stock_media-prev-frame-16.png b/pixmaps/stock_media-prev-frame-16.png new file mode 100644 index 0000000..69e631c Binary files /dev/null and b/pixmaps/stock_media-prev-frame-16.png differ diff --git a/pixmaps/stock_media-rew-16.png b/pixmaps/stock_media-rew-16.png new file mode 100644 index 0000000..28c8815 Binary files /dev/null and b/pixmaps/stock_media-rew-16.png differ diff --git a/pixmaps/stock_media-stop-16.png b/pixmaps/stock_media-stop-16.png new file mode 100644 index 0000000..b4f1f30 Binary files /dev/null and b/pixmaps/stock_media-stop-16.png differ diff --git a/src/interface.c b/src/interface.c index 8aff9cf..1304875 100644 --- a/src/interface.c +++ b/src/interface.c @@ -137,7 +137,7 @@ create_gdv1394d (void) toolbar1 = gtk_toolbar_new (); gtk_widget_show (toolbar1); gtk_box_pack_start (GTK_BOX (hbox27), toolbar1, TRUE, TRUE, 0); - gtk_toolbar_set_style (GTK_TOOLBAR (toolbar1), GTK_TOOLBAR_BOTH); + gtk_toolbar_set_style (GTK_TOOLBAR (toolbar1), GTK_TOOLBAR_BOTH_HORIZ); tmp_toolbar_icon = gtk_image_new_from_stock ("gtk-connect", gtk_toolbar_get_icon_size (GTK_TOOLBAR (toolbar1))); button_connect = gtk_toolbar_append_element (GTK_TOOLBAR (toolbar1), @@ -226,8 +226,9 @@ create_gdv1394d (void) gtk_widget_set_size_request (transport_0, 34, 25); GTK_WIDGET_UNSET_FLAGS (transport_0, GTK_CAN_FOCUS); gtk_button_set_relief (GTK_BUTTON (transport_0), GTK_RELIEF_NONE); - - image19 = create_pixmap (gdv1394d, "editor_movie_i.xpm"); + gtk_widget_set_tooltip_text (transport_0, _("Beginning of playlist")); + + image19 = gtk_image_new_from_pixbuf( create_pixbuf ("stock_media-begin-16.png") ); gtk_widget_show (image19); gtk_container_add (GTK_CONTAINER (transport_0), image19); @@ -237,8 +238,9 @@ create_gdv1394d (void) gtk_widget_set_size_request (transport_1, 34, 25); GTK_WIDGET_UNSET_FLAGS (transport_1, GTK_CAN_FOCUS); gtk_button_set_relief (GTK_BUTTON (transport_1), GTK_RELIEF_NONE); + gtk_widget_set_tooltip_text (transport_1, _("Start of clip")); - image18 = create_pixmap (gdv1394d, "editor_scene_i.xpm"); + image18 = gtk_image_new_from_pixbuf( create_pixbuf ("stock_media-prev-16.png") ); gtk_widget_show (image18); gtk_container_add (GTK_CONTAINER (transport_1), image18); @@ -248,8 +250,9 @@ create_gdv1394d (void) gtk_widget_set_size_request (transport_2, 34, 25); GTK_WIDGET_UNSET_FLAGS (transport_2, GTK_CAN_FOCUS); gtk_button_set_relief (GTK_BUTTON (transport_2), GTK_RELIEF_NONE); + gtk_widget_set_tooltip_text (transport_2, _("Rewind")); - image17 = create_pixmap (gdv1394d, "editor_fast_i.xpm"); + image17 = gtk_image_new_from_pixbuf( create_pixbuf ("stock_media-rew-16.png") ); gtk_widget_show (image17); gtk_container_add (GTK_CONTAINER (transport_2), image17); @@ -259,8 +262,9 @@ create_gdv1394d (void) gtk_widget_set_size_request (transport_3, 34, 25); GTK_WIDGET_UNSET_FLAGS (transport_3, GTK_CAN_FOCUS); gtk_button_set_relief (GTK_BUTTON (transport_3), GTK_RELIEF_NONE); + gtk_widget_set_tooltip_text (transport_3, _("Previous frame")); - image12 = create_pixmap (gdv1394d, "editor_step_i.xpm"); + image12 = gtk_image_new_from_pixbuf( create_pixbuf ("stock_media-prev-frame-16.png") ); gtk_widget_show (image12); gtk_container_add (GTK_CONTAINER (transport_3), image12); @@ -270,8 +274,9 @@ create_gdv1394d (void) gtk_widget_set_size_request (transport_4, 34, 25); GTK_WIDGET_UNSET_FLAGS (transport_4, GTK_CAN_FOCUS); gtk_button_set_relief (GTK_BUTTON (transport_4), GTK_RELIEF_NONE); + gtk_widget_set_tooltip_text (transport_4, _("Pause")); - image11 = create_pixmap (gdv1394d, "editor_pause.xpm"); + image11 = gtk_image_new_from_pixbuf( create_pixbuf ("stock_media-pause-16.png") ); gtk_widget_show (image11); gtk_container_add (GTK_CONTAINER (transport_4), image11); @@ -281,8 +286,9 @@ create_gdv1394d (void) gtk_widget_set_size_request (transport_5, 34, 25); GTK_WIDGET_UNSET_FLAGS (transport_5, GTK_CAN_FOCUS); gtk_button_set_relief (GTK_BUTTON (transport_5), GTK_RELIEF_NONE); + gtk_widget_set_tooltip_text (transport_5, _("Play")); - image9 = create_pixmap (gdv1394d, "editor_play.xpm"); + image9 = gtk_image_new_from_pixbuf( create_pixbuf ("stock_media-play-16.png") ); gtk_widget_show (image9); gtk_container_add (GTK_CONTAINER (transport_5), image9); @@ -292,6 +298,7 @@ create_gdv1394d (void) gtk_widget_set_size_request (transport_6, 34, 25); GTK_WIDGET_UNSET_FLAGS (transport_6, GTK_CAN_FOCUS); gtk_button_set_relief (GTK_BUTTON (transport_6), GTK_RELIEF_NONE); + gtk_widget_set_tooltip_text (transport_6, _("Stop")); alignment9 = gtk_alignment_new (0.5, 0.5, 0, 0); gtk_widget_show (alignment9); @@ -301,7 +308,7 @@ create_gdv1394d (void) gtk_widget_show (hbox17); gtk_container_add (GTK_CONTAINER (alignment9), hbox17); - image10 = create_pixmap (gdv1394d, "editor_stop.xpm"); + image10 = gtk_image_new_from_pixbuf( create_pixbuf ("stock_media-stop-16.png") ); gtk_widget_show (image10); gtk_box_pack_start (GTK_BOX (hbox17), image10, FALSE, FALSE, 0); @@ -316,8 +323,9 @@ create_gdv1394d (void) gtk_widget_set_size_request (transport_7, 34, 25); GTK_WIDGET_UNSET_FLAGS (transport_7, GTK_CAN_FOCUS); gtk_button_set_relief (GTK_BUTTON (transport_7), GTK_RELIEF_NONE); + gtk_widget_set_tooltip_text (transport_7, _("Next frame")); - image13 = create_pixmap (gdv1394d, "editor_step.xpm"); + image13 = gtk_image_new_from_pixbuf( create_pixbuf ("stock_media-next-frame-16.png") ); gtk_widget_show (image13); gtk_container_add (GTK_CONTAINER (transport_7), image13); @@ -327,8 +335,9 @@ create_gdv1394d (void) gtk_widget_set_size_request (transport_8, 34, 25); GTK_WIDGET_UNSET_FLAGS (transport_8, GTK_CAN_FOCUS); gtk_button_set_relief (GTK_BUTTON (transport_8), GTK_RELIEF_NONE); + gtk_widget_set_tooltip_text (transport_8, _("Fast forward")); - image14 = create_pixmap (gdv1394d, "editor_fast.xpm"); + image14 = gtk_image_new_from_pixbuf( create_pixbuf ("stock_media-fwd-16.png") ); gtk_widget_show (image14); gtk_container_add (GTK_CONTAINER (transport_8), image14); @@ -338,8 +347,9 @@ create_gdv1394d (void) gtk_widget_set_size_request (transport_9, 34, 25); GTK_WIDGET_UNSET_FLAGS (transport_9, GTK_CAN_FOCUS); gtk_button_set_relief (GTK_BUTTON (transport_9), GTK_RELIEF_NONE); + gtk_widget_set_tooltip_text (transport_9, _("Next clip")); - image15 = create_pixmap (gdv1394d, "editor_scene.xpm"); + image15 = gtk_image_new_from_pixbuf( create_pixbuf ("stock_media-next-16.png") ); gtk_widget_show (image15); gtk_container_add (GTK_CONTAINER (transport_9), image15); @@ -349,8 +359,9 @@ create_gdv1394d (void) gtk_widget_set_size_request (transport_10, 34, 25); GTK_WIDGET_UNSET_FLAGS (transport_10, GTK_CAN_FOCUS); gtk_button_set_relief (GTK_BUTTON (transport_10), GTK_RELIEF_NONE); + gtk_widget_set_tooltip_text (transport_10, _("End of playlist")); - image16 = create_pixmap (gdv1394d, "editor_movie.xpm"); + image16 = gtk_image_new_from_pixbuf( create_pixbuf ("stock_media-end-16.png") ); gtk_widget_show (image16); gtk_container_add (GTK_CONTAINER (transport_10), image16); diff --git a/src/page_clips.c b/src/page_clips.c index 27d9205..d4251c6 100644 --- a/src/page_clips.c +++ b/src/page_clips.c @@ -438,8 +438,8 @@ static GtkWidget *this_page_get_widget( page_clips this ) static void this_page_get_toolbar_info( page this, GtkIconSize size, GtkWidget **icon, char **label ) { - *icon = gtk_image_new_from_stock( "gtk-find", size ); - *label = "_Clips"; + *icon = gtk_image_new_from_stock( "gtk-justify-fill", size ); + *label = _("_Playlist"); } static void this_page_on_connect( page_clips this ) diff --git a/src/page_command.c b/src/page_command.c index 97c09f5..2d64726 100644 --- a/src/page_command.c +++ b/src/page_command.c @@ -118,7 +118,7 @@ static GtkWidget *this_page_get_widget( page_command this ) static void this_page_get_toolbar_info( page this, GtkIconSize size, GtkWidget **icon, char **label ) { - *icon = gtk_image_new_from_stock( "gtk-dialog-info", size ); + *icon = gtk_image_new_from_stock( "gtk-execute", size ); *label = "_Shell"; } diff --git a/src/page_status.c b/src/page_status.c index ed2f54e..82cc987 100644 --- a/src/page_status.c +++ b/src/page_status.c @@ -266,7 +266,7 @@ static GtkWidget *this_page_get_widget( page super ) static void this_page_get_toolbar_info( page super, GtkIconSize size, GtkWidget **icon, char **label ) { - *icon = gtk_image_new_from_stock( "gtk-execute", size ); + *icon = gtk_image_new_from_stock( "gtk-home", size ); *label = "_Units"; }