diff options
author | infirit <[email protected]> | 2014-11-19 18:02:55 +0100 |
---|---|---|
committer | infirit <[email protected]> | 2014-11-19 21:02:22 +0100 |
commit | 1bc5d202f5ec978626b1827fed6728be19a385cd (patch) | |
tree | a0c0b2eb153c95136a5c8dd71e080f5b59eec3d4 /src/ui.h | |
parent | f2c5621246adae6eda22cc42ceb443f56243df6c (diff) | |
download | engrampa-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.h | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -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/>" |