aboutsummaryrefslogtreecommitdiff
path: root/hardinfo2/shell.c
diff options
context:
space:
mode:
authorLeandro A. F. Pereira <leandro@hardinfo.org>2006-12-30 15:08:41 +0000
committerLeandro A. F. Pereira <leandro@hardinfo.org>2006-12-30 15:08:41 +0000
commitf1415df22f9a7ea8f207049e1f9d48b44014d557 (patch)
tree04837098852ac53c40233d5aec70dde4d1747d9b /hardinfo2/shell.c
parentc123c31f979018eaa10d71131a8e9a915e1d7eb4 (diff)
Image is now saved with the right size. Enable the save image as menu item only when needed.
Diffstat (limited to 'hardinfo2/shell.c')
-rw-r--r--hardinfo2/shell.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hardinfo2/shell.c b/hardinfo2/shell.c
index f9c12a5e..6d971f95 100644
--- a/hardinfo2/shell.c
+++ b/hardinfo2/shell.c
@@ -246,6 +246,7 @@ void shell_view_set_enabled(gboolean setting)
shell_action_set_enabled("RefreshAction", setting);
shell_action_set_enabled("CopyAction", setting);
shell_action_set_enabled("ReportAction", setting);
+ shell_action_set_enabled("SaveGraphAction", setting ? shell->view_type == SHELL_VIEW_PROGRESS : FALSE);
}
void shell_status_set_enabled(gboolean setting)