diff options
author | Burt P <pburt0@gmail.com> | 2017-07-28 11:27:48 -0500 |
---|---|---|
committer | Leandro A. F. Pereira <leandro@hardinfo.org> | 2017-08-04 09:22:06 -0700 |
commit | f332102acbad87f4ba83016b07fc4badb0411ac6 (patch) | |
tree | d7a2d91fe7e16c7582f6a21fcd0074b823ead430 /shell/menu.c | |
parent | 6bcf1dfaae11933c27588912974337b9b51b240d (diff) |
Remove tree_view_save_image()/cb_save_graphic() -related.
Signed-off-by: Burt P <pburt0@gmail.com>
Diffstat (limited to 'shell/menu.c')
-rw-r--r-- | shell/menu.c | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/shell/menu.c b/shell/menu.c index f5724d31..e966f485 100644 --- a/shell/menu.c +++ b/shell/menu.c @@ -53,17 +53,12 @@ static GtkActionEntry entries[] = { N_("_Open..."), NULL, NULL, G_CALLBACK(cb_sync_manager)}, - + {"CopyAction", GTK_STOCK_COPY, N_("_Copy to Clipboard"), "<control>C", N_("Copy to clipboard"), G_CALLBACK(cb_copy_to_clipboard)}, - {"SaveGraphAction", GTK_STOCK_SAVE_AS, - N_("_Save image as..."), "<control>S", - NULL, - G_CALLBACK(cb_save_graphic)}, - {"RefreshAction", GTK_STOCK_REFRESH, N_("_Refresh"), "F5", NULL, @@ -130,15 +125,15 @@ void menu_init(Shell * shell) /* Pack up our objects: * menu_box -> window * actions -> action_group - * action_group -> menu_manager */ - gtk_action_group_set_translation_domain( action_group, "hardinfo" );//gettext + * action_group -> menu_manager */ + gtk_action_group_set_translation_domain( action_group, "hardinfo" );//gettext gtk_action_group_add_actions(action_group, entries, G_N_ELEMENTS(entries), NULL); gtk_action_group_add_toggle_actions(action_group, toggle_entries, G_N_ELEMENTS(toggle_entries), NULL); gtk_ui_manager_insert_action_group(menu_manager, action_group, 0); - + /* Read in the UI from our XML file */ error = NULL; |