diff options
author | taw27 <taw27@bf6ca9ba-c028-0410-8290-897cf20841d1> | 2007-10-02 15:46:00 +0000 |
---|---|---|
committer | taw27 <taw27@bf6ca9ba-c028-0410-8290-897cf20841d1> | 2007-10-02 15:46:00 +0000 |
commit | 21741980a3499e6d5ef44f27f2ae1d63a51152c7 (patch) | |
tree | 6f791ab31eef039195996c81623ae23b4b403aed | |
parent | 0e55f18cd6fd05262b82cafce6ab53dad275c148 (diff) |
Minor menu tweaks
git-svn-id: svn://cook.msm.cam.ac.uk:745/diff-tomo/dtr@141 bf6ca9ba-c028-0410-8290-897cf20841d1
-rw-r--r-- | data/displaywindow.ui | 1 | ||||
-rw-r--r-- | src/displaywindow.c | 7 |
2 files changed, 3 insertions, 5 deletions
diff --git a/data/displaywindow.ui b/data/displaywindow.ui index 9f82c36..e770d51 100644 --- a/data/displaywindow.ui +++ b/data/displaywindow.ui @@ -2,7 +2,6 @@ <menubar name="displaywindowwindow"> <menu name="file" action="FileAction"> - <menuitem name="save" action="SaveAction" /> <menuitem name="close" action="CloseAction" /> </menu> diff --git a/src/displaywindow.c b/src/displaywindow.c index 866f63f..1d3eb20 100644 --- a/src/displaywindow.c +++ b/src/displaywindow.c @@ -168,11 +168,10 @@ static void displaywindow_addmenubar(DisplayWindow *dw) { GtkActionEntry entries[] = { { "FileAction", NULL, "_File", NULL, NULL, NULL }, - { "SaveAction", GTK_STOCK_SAVE, "_Save Image...", NULL, NULL, G_CALLBACK(NULL) }, - { "CloseAction", GTK_STOCK_CLOSE, "_Close", NULL, NULL, G_CALLBACK(displaywindow_close) }, - + { "CloseAction", GTK_STOCK_QUIT, "_Quit", NULL, NULL, G_CALLBACK(displaywindow_close) }, + { "ViewAction", NULL, "_View", NULL, NULL, NULL }, - + { "ToolsAction", NULL, "_Tools", NULL, NULL, NULL }, { "DirAxAction", GTK_STOCK_EXECUTE, "Invoke _DirAx", "<Ctrl>D", NULL, G_CALLBACK(displaywindow_dirax) }, |