summaryrefslogtreecommitdiff
path: root/src/ui.h
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-11-19 18:02:55 +0100
committerinfirit <[email protected]>2014-11-19 21:02:22 +0100
commit1bc5d202f5ec978626b1827fed6728be19a385cd (patch)
treea0c0b2eb153c95136a5c8dd71e080f5b59eec3d4 /src/ui.h
parentf2c5621246adae6eda22cc42ceb443f56243df6c (diff)
downloadengrampa-1bc5d202f5ec978626b1827fed6728be19a385cd.tar.bz2
engrampa-1bc5d202f5ec978626b1827fed6728be19a385cd.tar.xz
use GtkRecentAction objects to create the recent file choosers
Based on FR commits: 8e5e4bfa3f98f2f6b848be1aa5df35e3a173a203 b68e78583ec73337558f0f2c48002f53117e7757 From: Paolo Bacchilega <[email protected]>
Diffstat (limited to 'src/ui.h')
-rw-r--r--src/ui.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/ui.h b/src/ui.h
index c3b22f7..d34d70c 100644
--- a/src/ui.h
+++ b/src/ui.h
@@ -34,8 +34,6 @@ static GtkActionEntry action_entries[] = {
{ "ViewMenu", NULL, N_("_View") },
{ "HelpMenu", NULL, N_("_Help") },
{ "ArrangeFilesMenu", NULL, N_("_Arrange Files") },
- /* Translators: this is the label for the "open recent file" sub-menu. */
- { "OpenRecentMenu", NULL, N_("Open _Recent") },
{ "About", GTK_STOCK_ABOUT,
NULL, NULL,
@@ -279,9 +277,7 @@ static const gchar *ui_info =
" <menu name='Archive' action='FileMenu'>"
" <menuitem action='New'/>"
" <menuitem action='Open'/>"
-" <menu name='OpenRecentMenu' action='OpenRecentMenu'>"
-" <menuitem action='Open'/>"
-" </menu>"
+" <menuitem action='OpenRecent'/>"
" <menuitem action='SaveAs'/>"
" <separator/>"
" <menuitem action='Extract'/>"
@@ -338,6 +334,7 @@ static const gchar *ui_info =
" </menubar>"
" <toolbar name='ToolBar'>"
" <toolitem action='New'/>"
+" <toolitem action='OpenRecent_Toolbar'/>"
" <separator/>"
" <toolitem action='Extract_Toolbar'/>"
" <separator/>"