gnome-system-monitor r2467 - trunk/src
- From: bdejean svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-system-monitor r2467 - trunk/src
- Date: Thu, 7 Aug 2008 20:05:50 +0000 (UTC)
Author: bdejean
Date: Thu Aug 7 20:05:50 2008
New Revision: 2467
URL: http://svn.gnome.org/viewvc/gnome-system-monitor?rev=2467&view=rev
Log:
Fixed gconf key.
Modified:
trunk/src/gconf-keys.cpp
trunk/src/gconf-keys.h
trunk/src/openfiles.cpp
Modified: trunk/src/gconf-keys.cpp
==============================================================================
--- trunk/src/gconf-keys.cpp (original)
+++ trunk/src/gconf-keys.cpp Thu Aug 7 20:05:50 2008
@@ -7,6 +7,7 @@
{
const std::string root("/apps/procman");
const std::string solaris_mode(root + "/solaris_mode");
+ const std::string open_files_tree_prefix(root + "/openfilestree");
}
}
Modified: trunk/src/gconf-keys.h
==============================================================================
--- trunk/src/gconf-keys.h (original)
+++ trunk/src/gconf-keys.h Thu Aug 7 20:05:50 2008
@@ -10,6 +10,7 @@
{
extern const std::string root;
extern const std::string solaris_mode;
+ extern const std::string open_files_tree_prefix;
}
}
Modified: trunk/src/openfiles.cpp
==============================================================================
--- trunk/src/openfiles.cpp (original)
+++ trunk/src/openfiles.cpp Thu Aug 7 20:05:50 2008
@@ -13,6 +13,7 @@
#include "openfiles.h"
#include "proctable.h"
#include "util.h"
+#include "gconf-keys.h"
enum
{
@@ -218,7 +219,7 @@
guint timer;
client = static_cast<GConfClient*>(g_object_get_data (G_OBJECT (tree), "client"));
- procman_save_tree_state (client, tree, "/apps/procman/openfilestree2");
+ procman_save_tree_state (client, tree, procman::gconf::open_files_tree_prefix.c_str());
timer = GPOINTER_TO_UINT (g_object_get_data (G_OBJECT (tree), "timer"));
g_source_remove (timer);
@@ -287,7 +288,7 @@
GTK_SORT_ASCENDING);*/
#endif
- procman_get_tree_state (procdata->client, tree, "/apps/procman/openfilestree");
+ procman_get_tree_state (procdata->client, tree, procman::gconf::open_files_tree_prefix.c_str());
return tree;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]