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/shell.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/shell.c')
-rwxr-xr-x | shell/shell.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/shell/shell.c b/shell/shell.c index f5358911..3cc13128 100755 --- a/shell/shell.c +++ b/shell/shell.c @@ -284,9 +284,7 @@ void shell_view_set_enabled(gboolean setting) shell_action_set_enabled("CopyAction", setting); shell_action_set_enabled("ReportAction", setting); shell_action_set_enabled("SyncManagerAction", setting && sync_manager_count_entries() > 0); - shell_action_set_enabled("SaveGraphAction", - setting ? shell->view_type == - SHELL_VIEW_PROGRESS : FALSE); + } void shell_status_set_enabled(gboolean setting) @@ -764,7 +762,6 @@ void shell_init(GSList * modules) shell_action_set_enabled("RefreshAction", FALSE); shell_action_set_enabled("CopyAction", FALSE); - shell_action_set_enabled("SaveGraphAction", FALSE); shell_action_set_active("SidePaneAction", TRUE); shell_action_set_active("ToolbarAction", TRUE); @@ -985,9 +982,6 @@ static void set_view_type(ShellViewType viewtype, gboolean reload) /* turn off the rules hint */ gtk_tree_view_set_rules_hint(GTK_TREE_VIEW(shell->info->view), FALSE); - /* turn off the save graphic action */ - shell_action_set_enabled("SaveGraphAction", FALSE); - close_note(NULL, NULL); switch (viewtype) { @@ -1043,7 +1037,6 @@ static void set_view_type(ShellViewType viewtype, gboolean reload) /* fallthrough */ case SHELL_VIEW_PROGRESS: gtk_widget_show(shell->info->scroll); - shell_action_set_enabled("SaveGraphAction", TRUE); if (!reload) { gtk_tree_view_column_set_visible(shell->info->col_progress, TRUE); |