diff options
author | Leandro A. F. Pereira <leandro@hardinfo.org> | 2006-12-30 15:08:41 +0000 |
---|---|---|
committer | Leandro A. F. Pereira <leandro@hardinfo.org> | 2006-12-30 15:08:41 +0000 |
commit | f1415df22f9a7ea8f207049e1f9d48b44014d557 (patch) | |
tree | 04837098852ac53c40233d5aec70dde4d1747d9b /hardinfo2/shell.c | |
parent | c123c31f979018eaa10d71131a8e9a915e1d7eb4 (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.c | 1 |
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) |