aboutsummaryrefslogtreecommitdiff
path: root/debian/patches/0003-Use-gtk_window_present-instead-of-gtk_show_widget.patch
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2009-09-29 14:38:01 +0200
committerGuido Günther <agx@sigxcpu.org>2009-09-29 14:38:01 +0200
commit44653196a25ff694fa530529b252e6e5a85923b1 (patch)
tree37bc10789a7a9f51ea7f380251c1af639bacc441 /debian/patches/0003-Use-gtk_window_present-instead-of-gtk_show_widget.patch
parentreenable patchsys (diff)
downloadkrb5-auth-dialog-44653196a25ff694fa530529b252e6e5a85923b1.tar.gz
krb5-auth-dialog-44653196a25ff694fa530529b252e6e5a85923b1.tar.bz2
krb5-auth-dialog-44653196a25ff694fa530529b252e6e5a85923b1.zip
Pull several minor ticket dialog enhancements from upstream
Diffstat (limited to 'debian/patches/0003-Use-gtk_window_present-instead-of-gtk_show_widget.patch')
-rw-r--r--debian/patches/0003-Use-gtk_window_present-instead-of-gtk_show_widget.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/debian/patches/0003-Use-gtk_window_present-instead-of-gtk_show_widget.patch b/debian/patches/0003-Use-gtk_window_present-instead-of-gtk_show_widget.patch
new file mode 100644
index 0000000..9ce9a7b
--- /dev/null
+++ b/debian/patches/0003-Use-gtk_window_present-instead-of-gtk_show_widget.patch
@@ -0,0 +1,23 @@
+From: =?UTF-8?q?Guido=20G=C3=BCnther?= <agx@sigxcpu.org>
+Date: Tue, 29 Sep 2009 13:36:19 +0200
+Subject: [PATCH] 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 {
+--
bgstack15