aboutsummaryrefslogtreecommitdiff
path: root/src/gtk-dialog
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-10-07 18:24:02 -0400
committerTed Gould <ted@canonical.com>2009-10-07 18:24:02 -0400
commit378b3b0547b9b2f3e81fa4f76ebdf0c203110e03 (patch)
treeeb3fd4426414b38df10a5e68da2480cdb7f99043 /src/gtk-dialog
parentbbcd3463c32730a2c3ff0d85947e54d0a6672745 (diff)
parentf90470486f601d8b29781652d21c9b4a19e49d42 (diff)
downloadayatana-indicator-session-378b3b0547b9b2f3e81fa4f76ebdf0c203110e03.tar.gz
ayatana-indicator-session-378b3b0547b9b2f3e81fa4f76ebdf0c203110e03.tar.bz2
ayatana-indicator-session-378b3b0547b9b2f3e81fa4f76ebdf0c203110e03.zip
Handling the locking of the screensaver so that we ensure
the screensaver is active before suspending. Also, we throttle it to ensure it doesn't start until after suspend. (LP: #444391)
Diffstat (limited to 'src/gtk-dialog')
-rw-r--r--src/gtk-dialog/logout-dialog.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gtk-dialog/logout-dialog.c b/src/gtk-dialog/logout-dialog.c
index c53590e..65df9fe 100644
--- a/src/gtk-dialog/logout-dialog.c
+++ b/src/gtk-dialog/logout-dialog.c
@@ -163,6 +163,7 @@ set_property (GObject * object, guint param_id, const GValue * value, GParamSpec
gtk_image_set_from_icon_name(GTK_IMAGE(dialog->image), icon_strings[dialog->action], GTK_ICON_SIZE_DIALOG);
gtk_window_set_title (GTK_WINDOW(dialog), _(title_strings[dialog->action]));
+ gtk_window_set_icon_name (GTK_WINDOW(dialog), icon_strings[dialog->action]);
gtk_widget_hide(dialog->message);
gtk_button_set_label(GTK_BUTTON(dialog->ok_button), _(button_strings[dialog->action]));