diff options
author | raveit <[email protected]> | 2012-11-06 18:19:51 +0100 |
---|---|---|
committer | raveit <[email protected]> | 2012-11-06 18:19:51 +0100 |
commit | f27253b155db8d3c06bf13801c63bdc282da4157 (patch) | |
tree | e8a449764975fe5066a67c9275ea73c56a88309b /src/disks.cpp | |
parent | 7caef9a314fc9f1fea996d79601d4242286825b1 (diff) | |
download | mate-system-monitor-f27253b155db8d3c06bf13801c63bdc282da4157.tar.bz2 mate-system-monitor-f27253b155db8d3c06bf13801c63bdc282da4157.tar.xz |
Port to gesettings
Diffstat (limited to 'src/disks.cpp')
-rw-r--r-- | src/disks.cpp | 8 |
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); |