From f1415df22f9a7ea8f207049e1f9d48b44014d557 Mon Sep 17 00:00:00 2001 From: "Leandro A. F. Pereira" Date: Sat, 30 Dec 2006 15:08:41 +0000 Subject: Image is now saved with the right size. Enable the save image as menu item only when needed. --- hardinfo2/shell.c | 1 + 1 file changed, 1 insertion(+) (limited to 'hardinfo2/shell.c') 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) -- cgit v1.2.3