summaryrefslogtreecommitdiff
path: root/src/disks.cpp
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2012-11-06 14:22:49 -0800
committerStefano Karapetsas <[email protected]>2012-11-06 14:22:49 -0800
commit684e6bb4c072f707a92ce72d85954b5790aaab53 (patch)
treee8a449764975fe5066a67c9275ea73c56a88309b /src/disks.cpp
parent7caef9a314fc9f1fea996d79601d4242286825b1 (diff)
parentf27253b155db8d3c06bf13801c63bdc282da4157 (diff)
downloadmate-system-monitor-684e6bb4c072f707a92ce72d85954b5790aaab53.tar.bz2
mate-system-monitor-684e6bb4c072f707a92ce72d85954b5790aaab53.tar.xz
Merge pull request #10 from NiceandGently/master
port to gsettings
Diffstat (limited to 'src/disks.cpp')
-rw-r--r--src/disks.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/disks.cpp b/src/disks.cpp
index c694c0a..97ac949 100644
--- a/src/disks.cpp
+++ b/src/disks.cpp
@@ -245,9 +245,9 @@ cb_disk_columns_changed(GtkTreeView *treeview, gpointer user_data)
{
ProcData * const procdata = static_cast<ProcData*>(user_data);
- procman_save_tree_state(procdata->client,
+ procman_save_tree_state(procdata->settings,
GTK_WIDGET(treeview),
- "/apps/procman/disktreenew");
+ "disktreenew");
}
@@ -411,8 +411,8 @@ create_disk_view(ProcData *procdata)
gtk_widget_show_all(disk_box);
- procman_get_tree_state(procdata->client, disk_tree,
- "/apps/procman/disktreenew");
+ procman_get_tree_state(procdata->settings, disk_tree,
+ "disktreenew");
g_signal_connect (G_OBJECT(disk_tree), "columns-changed",
G_CALLBACK(cb_disk_columns_changed), procdata);