[gnome-system-monitor] Fix an abort due to wrong gsettings key
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-system-monitor] Fix an abort due to wrong gsettings key
- Date: Sun, 13 Mar 2011 02:59:55 +0000 (UTC)
commit 6c086670fa9fe293c2ab2ee158b62ba3610a54c9
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Mar 12 22:58:43 2011 -0500
Fix an abort due to wrong gsettings key
The key is called view-as, not view_as, and gsettings is unforgiving...
https://bugzilla.redhat.com/show_bug.cgi?id=682040
src/callbacks.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/callbacks.cpp b/src/callbacks.cpp
index 6e8ec66..88d1f3d 100644
--- a/src/callbacks.cpp
+++ b/src/callbacks.cpp
@@ -430,6 +430,6 @@ cb_radio_processes(GtkAction *action, GtkRadioAction *current, gpointer data)
procdata->config.whose_process = gtk_radio_action_get_current_value(current);
- g_settings_set_int (procdata->settings, "view_as",
+ g_settings_set_int (procdata->settings, "view-as",
procdata->config.whose_process);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]