diff options
author | seb128 <seb128@seb128-laptop> | 2009-09-08 18:16:10 +0200 |
---|---|---|
committer | seb128 <seb128@seb128-laptop> | 2009-09-08 18:16:10 +0200 |
commit | ee56ebc0caaf8a8188e8eb01fbe23478a897a967 (patch) | |
tree | 8009e6c1bdce35069608aa21e17f00db35e75130 /src/gtk-dialog/gconf-helper.c | |
parent | 866bdf8a658e660e613f6943e2b23cea318843b5 (diff) | |
parent | 5360fce331660e7b94a274bffa125ba8233fbeab (diff) | |
download | ayatana-indicator-session-ee56ebc0caaf8a8188e8eb01fbe23478a897a967.tar.gz ayatana-indicator-session-ee56ebc0caaf8a8188e8eb01fbe23478a897a967.tar.bz2 ayatana-indicator-session-ee56ebc0caaf8a8188e8eb01fbe23478a897a967.zip |
releasing version 0.1.2-0ubuntu1
Diffstat (limited to 'src/gtk-dialog/gconf-helper.c')
-rw-r--r-- | src/gtk-dialog/gconf-helper.c | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/gtk-dialog/gconf-helper.c b/src/gtk-dialog/gconf-helper.c new file mode 100644 index 0000000..0bd21ad --- /dev/null +++ b/src/gtk-dialog/gconf-helper.c @@ -0,0 +1,32 @@ +/* +A small wrapper utility to load indicators and put them as menu items +into the gnome-panel using it's applet interface. + +Copyright 2009 Canonical Ltd. + +Authors: + Christoph Korn <c_korn@gmx.de> + +This program is free software: you can redistribute it and/or modify it +under the terms of the GNU General Public License version 3, as published +by the Free Software Foundation. + +This program is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranties of +MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR +PURPOSE. See the GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + + +#include <gconf/gconf-client.h> + +#include "gconf-helper.h" + +gboolean +supress_confirmations (void) { + GConfClient *client = gconf_client_get_default (); + return gconf_client_get_bool (client, SUPPRESS_KEY, NULL) ; +} |