diff options
author | Ted Gould <ted@canonical.com> | 2009-09-28 14:57:10 -0500 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-09-28 14:57:10 -0500 |
commit | 1a4031894fcc9e003aac8b50a8c8e4be5ecaceea (patch) | |
tree | 9c83413173e6bb4f6f1d841a6efbc2a9b250e6dc /src/gtk-dialog | |
parent | 2bddafc048379759d720f250739c59fcad7f6249 (diff) | |
parent | f5c0bb7915f8d9f7dc3c63285f7ebaa13e86c507 (diff) | |
download | ayatana-indicator-session-1a4031894fcc9e003aac8b50a8c8e4be5ecaceea.tar.gz ayatana-indicator-session-1a4031894fcc9e003aac8b50a8c8e4be5ecaceea.tar.bz2 ayatana-indicator-session-1a4031894fcc9e003aac8b50a8c8e4be5ecaceea.zip |
Merging in the launch protections.
Diffstat (limited to 'src/gtk-dialog')
-rw-r--r-- | src/gtk-dialog/logout-dialog.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gtk-dialog/logout-dialog.c b/src/gtk-dialog/logout-dialog.c index a94c649..c53590e 100644 --- a/src/gtk-dialog/logout-dialog.c +++ b/src/gtk-dialog/logout-dialog.c @@ -275,7 +275,9 @@ logout_dialog_init (LogoutDialog *logout_dialog) gtk_window_stick(GTK_WINDOW(logout_dialog)); gtk_window_set_keep_above(GTK_WINDOW(logout_dialog), TRUE); gtk_widget_realize(GTK_WIDGET(logout_dialog)); - gdk_window_set_functions(GTK_WIDGET(logout_dialog)->window, GDK_FUNC_CLOSE); + /* remove superfluous window buttons */ + gdk_window_set_functions (GTK_WIDGET(logout_dialog)->window, 0); + gdk_window_set_decorations (GTK_WIDGET(logout_dialog)->window, GDK_DECOR_BORDER | GDK_DECOR_TITLE); /* center window */ gtk_window_set_position (GTK_WINDOW(logout_dialog), GTK_WIN_POS_CENTER); |