~ci-train-bot/indicator-session/indicator-session-ubuntu-artful-2869

« back to all changes in this revision

Viewing changes to src/gtk-dialog/gconf-helper.h

  • Committer: Ted Gould
  • Author(s): Christoph Korn
  • Date: 2009-09-08 15:09:45 UTC
  • mfrom: (19.3.2 indicator-session)
  • Revision ID: ted@canonical.com-20090908150945-lzlvrilla7rmuvzc
Adding a GConf key to suppress confirmation dialogs

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
A small wrapper utility to load indicators and put them as menu items
 
3
into the gnome-panel using it's applet interface.
 
4
 
 
5
Copyright 2009 Canonical Ltd.
 
6
 
 
7
Authors:
 
8
    Christoph Korn <c_korn@gmx.de>
 
9
 
 
10
This program is free software: you can redistribute it and/or modify it 
 
11
under the terms of the GNU General Public License version 3, as published 
 
12
by the Free Software Foundation.
 
13
 
 
14
This program is distributed in the hope that it will be useful, but 
 
15
WITHOUT ANY WARRANTY; without even the implied warranties of 
 
16
MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR 
 
17
PURPOSE.  See the GNU General Public License for more details.
 
18
 
 
19
You should have received a copy of the GNU General Public License along 
 
20
with this program.  If not, see <http://www.gnu.org/licenses/>.
 
21
*/
 
22
 
 
23
 
 
24
#ifndef __GCONF_HELPER_H__
 
25
#define __GCONF_HELPER_H__ 1
 
26
 
 
27
#include <gconf/gconf-client.h>
 
28
 
 
29
#define SUPPRESS_KEY    "/apps/indicator-session/suppress_logout_restart_shutdown"
 
30
 
 
31
gboolean supress_confirmations (void);
 
32
 
 
33
#endif /* __GCONF_HELPER__ */