[krb5-auth-dialog] Use gtk_window_present instead of gtk_show_widget
- From: Guido Günther <guidog src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [krb5-auth-dialog] Use gtk_window_present instead of gtk_show_widget
- Date: Tue, 29 Sep 2009 11:39:11 +0000 (UTC)
commit 545556973cfcc5bb033a5f32592e7da958566722
Author: Guido Günther <agx sigxcpu org>
Date: Tue Sep 29 13:36:19 2009 +0200
Use gtk_window_present instead of gtk_show_widget
so the dialog is pushed into the foreground when selected from the menu.
src/krb5-auth-tickets.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/krb5-auth-tickets.c b/src/krb5-auth-tickets.c
index b00687c..7c177a9 100644
--- a/src/krb5-auth-tickets.c
+++ b/src/krb5-auth-tickets.c
@@ -94,7 +94,7 @@ void
ka_tickets_dialog_run()
{
if (ka_get_service_tickets(tickets)) {
- gtk_widget_show(tickets_dialog);
+ gtk_window_present(GTK_WINDOW(tickets_dialog));
gtk_dialog_run(GTK_DIALOG(tickets_dialog));
gtk_widget_hide(tickets_dialog);
} else {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]