diff options
Diffstat (limited to 'src/interface.cpp')
-rw-r--r-- | src/interface.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/interface.cpp b/src/interface.cpp index 96a4c90..b12301b 100644 --- a/src/interface.cpp +++ b/src/interface.cpp @@ -797,12 +797,13 @@ static void cb_toggle_tree (GtkAction *action, gpointer data) { ProcData *procdata = static_cast<ProcData*>(data); - MateConfClient *client = procdata->client; + GSettings *settings = procdata->settings; gboolean show; show = gtk_toggle_action_get_active (GTK_TOGGLE_ACTION (action)); if (show == procdata->config.show_tree) return; - mateconf_client_set_bool (client, "/apps/procman/show_tree", show, NULL); + g_settings_set_boolean (settings, "show-tree", show); } + |