diff options
author | Thomas White <taw@bitwiz.org.uk> | 2014-12-01 22:31:55 +0100 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2014-12-01 22:31:55 +0100 |
commit | 394367b5ad4ac81fbefa53b241c49f438fc54b4e (patch) | |
tree | 22831063bdc6c53ba8b2dc6280a9e0ef87a838af /src/colloquium.c | |
parent | 356cd2e7e0ceace7dadac7feb578d781543a29f6 (diff) |
Hook Save back up
Diffstat (limited to 'src/colloquium.c')
-rw-r--r-- | src/colloquium.c | 102 |
1 files changed, 97 insertions, 5 deletions
diff --git a/src/colloquium.c b/src/colloquium.c index e3ee61f..588aea8 100644 --- a/src/colloquium.c +++ b/src/colloquium.c @@ -102,7 +102,6 @@ GActionEntry app_entries[] = { { "new", new_sig, NULL, NULL, NULL }, { "about", about_sig, NULL, NULL, NULL }, { "quit", quit_sig, NULL, NULL, NULL }, - }; @@ -148,14 +147,21 @@ static void colloquium_startup(GApplication *app) " <attribute name='action'>app.new</attribute>" " <attribute name='accel'><Primary>n</attribute>" " </item>" + " <item>" + " <attribute name='label'>_Open</attribute>" + " <attribute name='action'>app.open</attribute>" + " <attribute name='accel'><Primary>o</attribute>" + " </item>" + " <item>" + " <attribute name='label'>Preferences...</attribute>" + " <attribute name='action'>app.prefs</attribute>" + " </item>" " </section>" " <section>" " <item>" " <attribute name='label'>_About</attribute>" " <attribute name='action'>app.about</attribute>" " </item>" - " </section>" - " <section>" " <item>" " <attribute name='label'>_Quit</attribute>" " <attribute name='action'>app.quit</attribute>" @@ -170,12 +176,98 @@ static void colloquium_startup(GApplication *app) " <section>" " <item>" " <attribute name='label'>_Save</attribute>" - " <attribute name='action'>file.save</attribute>" + " <attribute name='action'>win.save</attribute>" " <attribute name='accel'><Primary>s</attribute>" " </item>" " <item>" + " <attribute name='label'>Save As...</attribute>" + " <attribute name='action'>win.saveas</attribute>" + " </item>" + " </section>" + " <section>" + " <item>" + " <attribute name='label'>Load stylesheet</attribute>" + " <attribute name='action'>win.loadstyle</attribute>" + " </item>" + " <item>" + " <attribute name='label'>Save stylesheet</attribute>" + " <attribute name='action'>win.savestyle</attribute>" + " </item>" + " <item>" " <attribute name='label'>Export PDF</attribute>" - " <attribute name='action'>file.exportpdf</attribute>" + " <attribute name='action'>win.exportpdf</attribute>" + " </item>" + " </section>" + " </submenu>" + + " <submenu>" + " <attribute name='label' translatable='yes'>Edit</attribute>" + " <section>" + " <item>" + " <attribute name='label'>Undo</attribute>" + " <attribute name='action'>win.undo</attribute>" + " </item>" + " <item>" + " <attribute name='label'>Redo</attribute>" + " <attribute name='action'>win.redo</attribute>" + " </item>" + " </section>" + " <section>" + " <item>" + " <attribute name='label'>Cut</attribute>" + " <attribute name='action'>win.cut</attribute>" + " </item>" + " <item>" + " <attribute name='label'>Copy</attribute>" + " <attribute name='action'>win.copy</attribute>" + " </item>" + " <item>" + " <attribute name='label'>Paste</attribute>" + " <attribute name='action'>win.paste</attribute>" + " </item>" + " </section>" + " <section>" + " <item>" + " <attribute name='label'>Delete frame</attribute>" + " <attribute name='action'>win.deleteframe</attribute>" + " </item>" + " </section>" + " <section>" + " <item>" + " <attribute name='label'>Slide sorter...</attribute>" + " <attribute name='action'>win.slidesorter</attribute>" + " </item>" + " <item>" + " <attribute name='label'>Edit stylesheet...</attribute>" + " <attribute name='action'>win.stylesheet</attribute>" + " </item>" + " </section>" + " </submenu>" + + " <submenu>" + " <attribute name='label' translatable='yes'>Insert</attribute>" + " <section>" + " <item>" + " <attribute name='label'>Slide</attribute>" + " <attribute name='action'>win.slide</attribute>" + " </item>" + " </section>" + " </submenu>" + + " <submenu>" + " <attribute name='label' translatable='yes'>Tools</attribute>" + " <section>" + " <item>" + " <attribute name='label'>Start slideshow</attribute>" + " <attribute name='action'>win.startslideshow</attribute>" + " </item>" + " <item>" + " <attribute name='label'>Slide notes...</attribute>" + " <attribute name='action'>win.notes</attribute>" + " </item>" + " <item>" + " <attribute name='label'>Presentation clock...</attribute>" + " <attribute name='action'>win.clock</attribute>" " </item>" " </section>" " </submenu>" |