~skypce/indicator-session/indicator-session

« back to all changes in this revision

Viewing changes to src/gtk-dialog/gtk-logout-helper.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2009-09-08 18:15:03 UTC
  • mto: (13.1.3 lucid)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20090908181503-q1y00nsvk547ta4f
Tags: upstream-0.1.2
ImportĀ upstreamĀ versionĀ 0.1.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
 
7
7
Authors:
8
8
    Ted Gould <ted@canonical.com>
 
9
    Christoph Korn <c_korn@gmx.de>
9
10
 
10
11
This program is free software: you can redistribute it and/or modify it 
11
12
under the terms of the GNU General Public License version 3, as published 
26
27
#include <dbus/dbus-glib.h>
27
28
#include "logout-dialog.h"
28
29
#include "ck-pk-helper.h"
 
30
#include "gconf-helper.h"
29
31
 
30
32
static void
31
33
session_action (LogoutDialogAction action)
132
134
        }
133
135
 
134
136
        GtkWidget * dialog = NULL;
135
 
        if (!pk_require_auth(type)) {   
 
137
        if (!pk_require_auth(type) && !supress_confirmations()) {
136
138
                dialog = logout_dialog_new(type);
137
139
        }
138
140