[gthumb] added a menu item to hide/show the file properties



commit d5ec907355d6e70f9b054dec13180edf413096e8
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Tue Aug 14 08:48:21 2012 +0200

    added a menu item to hide/show the file properties

 gthumb/gth-browser-actions-entries.h |    4 ++--
 gthumb/gth-browser-ui.h              |    2 ++
 2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/gthumb/gth-browser-actions-entries.h b/gthumb/gth-browser-actions-entries.h
index 1432569..dbb7399 100644
--- a/gthumb/gth-browser-actions-entries.h
+++ b/gthumb/gth-browser-actions-entries.h
@@ -238,12 +238,12 @@ static GtkToggleActionEntry gth_browser_action_toggle_entries[] = {
 	  G_CALLBACK (gth_browser_activate_action_view_show_hidden_files),
 	  FALSE },
 	{ "Viewer_Properties", GTK_STOCK_PROPERTIES,
-	  NULL, NULL,
+	  NULL, "<control>I",
 	  N_("View file properties"),
 	  G_CALLBACK (gth_browser_activate_action_viewer_properties),
 	  FALSE },
 	{ "Browser_Properties", GTK_STOCK_PROPERTIES,
-	  NULL, NULL,
+	  NULL, "<control>I",
 	  N_("View file properties"),
 	  G_CALLBACK (gth_browser_activate_action_viewer_properties),
 	  FALSE },
diff --git a/gthumb/gth-browser-ui.h b/gthumb/gth-browser-ui.h
index b72dcdc..00172e1 100644
--- a/gthumb/gth-browser-ui.h
+++ b/gthumb/gth-browser-ui.h
@@ -233,6 +233,7 @@ static const char *browser_ui_info =
 "      <placeholder name='View_Bars'>"
 "        <menuitem action='View_Sidebar'/>"
 "        <menuitem action='View_Filterbar'/>"
+"        <menuitem action='Browser_Properties'/>"
 "      </placeholder>"
 "      <placeholder name='Folder_Actions'>"
 "        <menuitem action='View_Thumbnails'/>"
@@ -248,6 +249,7 @@ static const char *viewer_ui_info =
 "    <menu name='View' action='ViewMenu'>"
 "      <placeholder name='View_Bars'>"
 "        <menuitem action='View_Thumbnail_List'/>"
+"        <menuitem action='Viewer_Properties'/>"
 "      </placeholder>"
 "      <placeholder name='View_Actions'>"
 "        <menuitem action='View_ShrinkWrap'/>"



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