From 4fe474aaddfa1621a8e8afbd22a1ffc4aad70bba Mon Sep 17 00:00:00 2001
From: "Leandro A. F. Pereira" <leandro@hardinfo.org>
Date: Thu, 9 Jul 2009 11:54:10 -0300
Subject: Reorder status messages

---
 hardinfo2/shell.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'hardinfo2/shell.c')

diff --git a/hardinfo2/shell.c b/hardinfo2/shell.c
index c8ac6e88..58c05df0 100644
--- a/hardinfo2/shell.c
+++ b/hardinfo2/shell.c
@@ -1460,15 +1460,15 @@ static void module_selected(gpointer data)
         RANGE_SET_VALUE(moreinfo, vscrollbar, 0.0);
         RANGE_SET_VALUE(moreinfo, hscrollbar, 0.0);
 
-	shell_status_update("Done.");
-	shell_status_set_enabled(FALSE);
-
 	title = g_strdup_printf("%s - %s", shell->selected_module_name, entry->name);
 	shell_set_title(shell, title);
 	g_free(title);
 
 	shell_action_set_enabled("RefreshAction", TRUE);
 	shell_action_set_enabled("CopyAction", TRUE);
+
+	shell_status_update("Done.");
+	shell_status_set_enabled(FALSE);
     } else {
 	shell_set_title(shell, NULL);
 	shell_action_set_enabled("RefreshAction", FALSE);
-- 
cgit v1.2.3