[Xfce4-commits] <ristretto:master> Add missing tooltips

Stephan Arts noreply at xfce.org
Tue Apr 10 19:14:01 CEST 2012


Updating branch refs/heads/master
         to c7a758e7d434c491c69a0b300479324401533981 (commit)
       from 441b99eff34d7c31b41cd8bfb99d96c3a9080edf (commit)

commit c7a758e7d434c491c69a0b300479324401533981
Author: Stephan Arts <stephan at xfce.org>
Date:   Tue Apr 10 19:13:00 2012 +0200

    Add missing tooltips

 src/main_window.c |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/src/main_window.c b/src/main_window.c
index ed69d78..1dfd363 100644
--- a/src/main_window.c
+++ b/src/main_window.c
@@ -363,25 +363,25 @@ static GtkActionEntry action_entries[] =
   { "preferences", GTK_STOCK_PREFERENCES, N_ ("_Preferences"), NULL, NULL, G_CALLBACK (cb_rstto_main_window_preferences), },
 /* View Menu */
   { "view-menu", NULL, N_ ("_View"), NULL, },
-  { "fullscreen", GTK_STOCK_FULLSCREEN, N_ ("_Fullscreen"), "F11", NULL, G_CALLBACK (cb_rstto_main_window_fullscreen), },
-  { "unfullscreen", GTK_STOCK_LEAVE_FULLSCREEN, N_ ("_Leave Fullscreen"), NULL, NULL, G_CALLBACK (cb_rstto_main_window_fullscreen), },
+  { "fullscreen", GTK_STOCK_FULLSCREEN, N_ ("_Fullscreen"), "F11", N_ ("Switch to fullscreen"), G_CALLBACK (cb_rstto_main_window_fullscreen), },
+  { "unfullscreen", GTK_STOCK_LEAVE_FULLSCREEN, N_ ("_Leave Fullscreen"), NULL, N_ ("Leave Fullscreen"), G_CALLBACK (cb_rstto_main_window_fullscreen), },
   { "set-as-wallpaper", "preferences-desktop-wallpaper", N_ ("_Set as Wallpaper"), NULL, NULL, G_CALLBACK (cb_rstto_main_window_set_as_wallpaper), },
 /* Zoom submenu */
   { "zoom-menu", NULL, N_ ("_Zoom"), NULL, },
-  { "zoom-in", GTK_STOCK_ZOOM_IN, N_ ("Zoom _In"), "<control>plus", NULL, G_CALLBACK (cb_rstto_main_window_zoom_in),},
-  { "zoom-out", GTK_STOCK_ZOOM_OUT, N_ ("Zoom _Out"), "<control>minus", NULL, G_CALLBACK (cb_rstto_main_window_zoom_out), },
-  { "zoom-fit", GTK_STOCK_ZOOM_FIT, N_ ("Zoom _Fit"), "<control>equal", NULL, G_CALLBACK (cb_rstto_main_window_zoom_fit), },
-  { "zoom-100", GTK_STOCK_ZOOM_100, N_ ("_Normal Size"), "<control>0", NULL, G_CALLBACK (cb_rstto_main_window_zoom_100), },
+  { "zoom-in", GTK_STOCK_ZOOM_IN, N_ ("Zoom _In"), "<control>plus", N_ ("Zoom in"), G_CALLBACK (cb_rstto_main_window_zoom_in),},
+  { "zoom-out", GTK_STOCK_ZOOM_OUT, N_ ("Zoom _Out"), "<control>minus", N_ ("Zoom out"), G_CALLBACK (cb_rstto_main_window_zoom_out), },
+  { "zoom-fit", GTK_STOCK_ZOOM_FIT, N_ ("Zoom _Fit"), "<control>equal", N_ ("Zoom to fit window"), G_CALLBACK (cb_rstto_main_window_zoom_fit), },
+  { "zoom-100", GTK_STOCK_ZOOM_100, N_ ("_Normal Size"), "<control>0", N_ ("Zoom to 100%"), G_CALLBACK (cb_rstto_main_window_zoom_100), },
 /* Rotation submenu */
   { "rotation-menu", NULL, N_ ("_Rotation"), NULL, },
   { "rotate-cw", "object-rotate-right", N_ ("Rotate _Right"), "<control>bracketright", NULL, G_CALLBACK (cb_rstto_main_window_rotate_cw), },
   { "rotate-ccw", "object-rotate-left", N_ ("Rotate _Left"), "<control>bracketleft", NULL, G_CALLBACK (cb_rstto_main_window_rotate_ccw), },
 /* Go Menu */
   { "go-menu",  NULL, N_ ("_Go"), NULL, },
-  { "forward",  GTK_STOCK_GO_FORWARD, N_ ("_Forward"), "space", NULL, G_CALLBACK (cb_rstto_main_window_next_image), },
-  { "back",     GTK_STOCK_GO_BACK, N_ ("_Back"), "BackSpace", NULL, G_CALLBACK (cb_rstto_main_window_previous_image), },
-  { "first",    GTK_STOCK_GOTO_FIRST, N_ ("_First"), "Home", NULL, G_CALLBACK (cb_rstto_main_window_first_image), },
-  { "last",     GTK_STOCK_GOTO_LAST, N_ ("_Last"), "End", NULL, G_CALLBACK (cb_rstto_main_window_last_image), },
+  { "forward",  GTK_STOCK_GO_FORWARD, N_ ("_Forward"), "space", N_("Next image"), G_CALLBACK (cb_rstto_main_window_next_image), },
+  { "back",     GTK_STOCK_GO_BACK, N_ ("_Back"), "BackSpace", N_("Previous image"), G_CALLBACK (cb_rstto_main_window_previous_image), },
+  { "first",    GTK_STOCK_GOTO_FIRST, N_ ("_First"), "Home", N_("First image"), G_CALLBACK (cb_rstto_main_window_first_image), },
+  { "last",     GTK_STOCK_GOTO_LAST, N_ ("_Last"), "End", N_("Last image"), G_CALLBACK (cb_rstto_main_window_last_image), },
 /* Help Menu */
   { "help-menu", NULL, N_ ("_Help"), NULL, },
   { "contents", GTK_STOCK_HELP,


More information about the Xfce4-commits mailing list