From e1faf417a57ca7de4c39cb03697dc70181b6a4c1 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Tue, 20 Sep 2011 09:37:37 -0700 Subject: [PATCH] Make a separate "Log" menu Instead o fhaving everything in the "File" menu, make a separate menu for things that are very much specific about divelogs, rather than "generic" things like open/save/import. Signed-off-by: Linus Torvalds --- main.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/main.c b/main.c index cc90e42..03957e1 100644 --- a/main.c +++ b/main.c @@ -365,7 +365,8 @@ static void renumber_dialog(GtkWidget *w, gpointer data) } static GtkActionEntry menu_items[] = { - { "FileMenuAction", GTK_STOCK_FILE, "Log", NULL, NULL, NULL}, + { "FileMenuAction", GTK_STOCK_FILE, "File", NULL, NULL, NULL}, + { "LogMenuAction", GTK_STOCK_FILE, "Log", NULL, NULL, NULL}, { "OpenFile", GTK_STOCK_OPEN, NULL, "O", NULL, G_CALLBACK(file_open) }, { "SaveFile", GTK_STOCK_SAVE, NULL, "S", NULL, G_CALLBACK(file_save) }, { "Print", GTK_STOCK_PRINT, NULL, "P", NULL, G_CALLBACK(do_print) }, @@ -386,10 +387,11 @@ static const gchar* ui_string = " \ \ \ \ + \ + \ + \ \ \ - \ - \ \ \ \ -- 2.45.2