From f27253b155db8d3c06bf13801c63bdc282da4157 Mon Sep 17 00:00:00 2001 From: raveit Date: Tue, 6 Nov 2012 18:19:51 +0100 Subject: Port to gesettings --- src/disks.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/disks.cpp') 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(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); -- cgit v1.2.1