diff options
Diffstat (limited to 'hardinfo2')
-rw-r--r-- | hardinfo2/menu.c | 2 | ||||
-rw-r--r-- | hardinfo2/remote.c | 2 | ||||
-rw-r--r-- | hardinfo2/shell.c | 1 |
3 files changed, 4 insertions, 1 deletions
diff --git a/hardinfo2/menu.c b/hardinfo2/menu.c index 3178f79d..2a8b6922 100644 --- a/hardinfo2/menu.c +++ b/hardinfo2/menu.c @@ -58,7 +58,7 @@ static GtkActionEntry entries[] = { NULL, G_CALLBACK(cb_connect_to)}, - {"ManageAction", GTK_STOCK_OPEN, + {"ManageAction", NULL, "_Manage hosts...", NULL, NULL, G_CALLBACK(cb_manage_hosts)}, diff --git a/hardinfo2/remote.c b/hardinfo2/remote.c index 5a46f5a5..6021ee49 100644 --- a/hardinfo2/remote.c +++ b/hardinfo2/remote.c @@ -312,6 +312,8 @@ static void remote_connect_direct(gchar *hostname, g_free(xmlrpc_server_uri); xmlrpc_server_uri = g_strdup_printf("http://%s:%d/xmlrpc", hostname, port); + + shell_view_set_enabled(FALSE); if (remote_version_is_supported()) { if (!load_module_list()) { diff --git a/hardinfo2/shell.c b/hardinfo2/shell.c index 5bbead94..0df54b64 100644 --- a/hardinfo2/shell.c +++ b/hardinfo2/shell.c @@ -262,6 +262,7 @@ void shell_view_set_enabled(gboolean setting) gtk_widget_set_sensitive(shell->hpaned, setting); shell_action_set_enabled("ViewMenuAction", setting); + shell_action_set_enabled("RemoteMenuAction", setting); shell_action_set_enabled("ConnectToAction", setting); shell_action_set_enabled("RefreshAction", setting); shell_action_set_enabled("CopyAction", setting); |