aboutsummaryrefslogtreecommitdiff
path: root/hardinfo2/remote.c
diff options
context:
space:
mode:
authorLeandro A. F. Pereira <leandro@hardinfo.org>2009-04-29 23:07:04 -0300
committerLeandro A. F. Pereira <leandro@hardinfo.org>2009-04-29 23:07:04 -0300
commit9db4d58b378d0811a836fee50292ab4a34a19297 (patch)
tree31e6dc204bbf2116839f9591e714f277f228c990 /hardinfo2/remote.c
parent64f6c0ba3c0f8a7d67d813cb3498987134477d83 (diff)
When unloading modules, clear all tree stores
Diffstat (limited to 'hardinfo2/remote.c')
-rw-r--r--hardinfo2/remote.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hardinfo2/remote.c b/hardinfo2/remote.c
index f0922d3f..a6d26b43 100644
--- a/hardinfo2/remote.c
+++ b/hardinfo2/remote.c
@@ -222,13 +222,13 @@ static void populate_store(GtkListStore * store)
if (g_key_file_load_from_file(remote, path, 0, NULL)) {
gint no_hosts, i;
- no_hosts = g_key_file_get_integer(remote, "$Global$", "no_hosts", NULL);
+ no_hosts = g_key_file_get_integer(remote, "global", "no_hosts", NULL);
for (i = 0; i < no_hosts; i++) {
gchar *hostname;
gchar *hostgroup;
gchar *icon;
- hostgroup = g_strdup_printf("Host%d", i);
+ hostgroup = g_strdup_printf("host%d", i);
hostname = g_key_file_get_string(remote, hostgroup, "name", NULL);
icon = g_key_file_get_string(remote, hostgroup, "icon", NULL);