diff options
author | Christoph Korn <c_korn@gmx.de> | 2009-09-08 10:09:45 -0500 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-09-08 10:09:45 -0500 |
commit | 85799abbe897e0f1e08b8d594716ab34b543d9fd (patch) | |
tree | 193e939ef6385ec5bdf59ba578e1ffd3c7b83375 /src/gtk-dialog/gconf-helper.h | |
parent | a5b8008742a719b77a7f3a13f81c2af02f6e4550 (diff) | |
parent | 1f47c9e8827165634149f6e21a4588fe577479d8 (diff) | |
download | ayatana-indicator-session-85799abbe897e0f1e08b8d594716ab34b543d9fd.tar.gz ayatana-indicator-session-85799abbe897e0f1e08b8d594716ab34b543d9fd.tar.bz2 ayatana-indicator-session-85799abbe897e0f1e08b8d594716ab34b543d9fd.zip |
Adding a GConf key to suppress confirmation dialogs
Diffstat (limited to 'src/gtk-dialog/gconf-helper.h')
-rw-r--r-- | src/gtk-dialog/gconf-helper.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/gtk-dialog/gconf-helper.h b/src/gtk-dialog/gconf-helper.h new file mode 100644 index 0000000..1d78fd8 --- /dev/null +++ b/src/gtk-dialog/gconf-helper.h @@ -0,0 +1,33 @@ +/* +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/>. +*/ + + +#ifndef __GCONF_HELPER_H__ +#define __GCONF_HELPER_H__ 1 + +#include <gconf/gconf-client.h> + +#define SUPPRESS_KEY "/apps/indicator-session/suppress_logout_restart_shutdown" + +gboolean supress_confirmations (void); + +#endif /* __GCONF_HELPER__ */ |