[gthumb] Bug 584752 - slideshow interruption button has improper label



commit ce6ad9c6e9a10abc04307cfeb4a46c6ffe04fd79
Author: Paolo Benvenuto <donpaolo gsi it>
Date:   Fri Jun 12 09:25:03 2009 -0400

    Bug 584752 - slideshow interruption button has improper label

 src/gth-fullscreen-actions-entries.h |    7 ++++++-
 src/gth-fullscreen-ui.h              |    2 +-
 2 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/src/gth-fullscreen-actions-entries.h b/src/gth-fullscreen-actions-entries.h
index 9b16231..61e02ea 100644
--- a/src/gth-fullscreen-actions-entries.h
+++ b/src/gth-fullscreen-actions-entries.h
@@ -38,6 +38,11 @@ static GtkActionEntry gth_fullscreen_action_entries[] = {
 	  NULL,
 	  G_CALLBACK (gth_fullscreen_activate_action_close) },
 
+	{ "StopSlideShow", GTK_STOCK_LEAVE_FULLSCREEN,
+	  N_("Stop"), NULL,
+	  N_("Stop slideshow"),
+	  G_CALLBACK (gth_fullscreen_activate_action_close) },
+
 	{ "View_NextImage", GTK_STOCK_GO_FORWARD,
 	  N_("Next"), NULL,
 	  N_("View next image"),
@@ -60,7 +65,7 @@ static GtkToggleActionEntry gth_fullscreen_action_toggle_entries[] = {
 	  FALSE },
 	{ "View_PauseSlideshow", GTK_STOCK_MEDIA_PAUSE,
 	  NULL, NULL,
-	  NULL,
+	  N_("Pause slideshow"),
 	  G_CALLBACK (gth_fullscreen_activate_action_toggle_slideshow), 
 	  FALSE }
 };
diff --git a/src/gth-fullscreen-ui.h b/src/gth-fullscreen-ui.h
index 7ddc821..3590cc8 100644
--- a/src/gth-fullscreen-ui.h
+++ b/src/gth-fullscreen-ui.h
@@ -54,7 +54,7 @@ static const gchar *fullscreen_ui_info =
 static const gchar *slideshow_ui_info =
 "<ui>"
 "  <toolbar name='ToolBar'>"
-"    <toolitem action='ExitFullscreen'/>"
+"    <toolitem action='StopSlideShow'/>"
 "    <toolitem action='View_PauseSlideshow'/>"
 "    <separator/>"
 "    <toolitem action='View_PrevImage'/>"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]