seahorse r2214 - in trunk: . libseahorse



Author: sadam
Date: Sat May 17 18:05:23 2008
New Revision: 2214
URL: http://svn.gnome.org/viewvc/seahorse?rev=2214&view=rev

Log:
2008-05-17  Adam Schreiber  <sadam clemson edu>

    * libseahorse/seahorse-passphrase.c: Grab keyboard focus
    Patch from Josselin Mouette.  Fixes bug #326611



Modified:
   trunk/ChangeLog
   trunk/libseahorse/seahorse-passphrase.c

Modified: trunk/libseahorse/seahorse-passphrase.c
==============================================================================
--- trunk/libseahorse/seahorse-passphrase.c	(original)
+++ trunk/libseahorse/seahorse-passphrase.c	Sat May 17 18:05:23 2008
@@ -277,8 +277,8 @@
 
     gtk_window_set_position (GTK_WINDOW (dialog), GTK_WIN_POS_CENTER);
     gtk_window_set_keep_above(GTK_WINDOW (dialog), TRUE);
-    gtk_window_present (GTK_WINDOW (dialog));
     gtk_widget_show_all (GTK_WIDGET (dialog));
+    gdk_window_focus (GTK_WIDGET (dialog)->window, GDK_CURRENT_TIME);
 
     if (confirm)
         entry_changed (NULL, dialog);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]