seahorse r2213 - in seahorse-plugins/trunk: . agent libseahorse
- From: sadam svn gnome org
- To: svn-commits-list gnome org
- Subject: seahorse r2213 - in seahorse-plugins/trunk: . agent libseahorse
- Date: Sat, 17 May 2008 18:02:06 +0000 (UTC)
Author: sadam
Date: Sat May 17 18:02:05 2008
New Revision: 2213
URL: http://svn.gnome.org/viewvc/seahorse?rev=2213&view=rev
Log:
2008-05-17 Adam Schreiber <sadam clemson edu>
* agent/seahorse-agent-prompt.c:
* libseahorse/seahorse-passphrase.c: Grab keyboard focus
Patch from Josselin Mouette. Fixes bug #326611
Modified:
seahorse-plugins/trunk/ChangeLog
seahorse-plugins/trunk/agent/seahorse-agent-prompt.c
seahorse-plugins/trunk/libseahorse/seahorse-passphrase.c
Modified: seahorse-plugins/trunk/agent/seahorse-agent-prompt.c
==============================================================================
--- seahorse-plugins/trunk/agent/seahorse-agent-prompt.c (original)
+++ seahorse-plugins/trunk/agent/seahorse-agent-prompt.c Sat May 17 18:02:05 2008
@@ -282,7 +282,7 @@
gtk_window_set_position (GTK_WINDOW (win), GTK_WIN_POS_CENTER);
gtk_window_set_keep_above(GTK_WINDOW (win), TRUE);
gtk_widget_show_all (win);
- gtk_window_present (GTK_WINDOW (win));
+ gdk_window_focus (win->window, GDK_CURRENT_TIME);
return win;
}
Modified: seahorse-plugins/trunk/libseahorse/seahorse-passphrase.c
==============================================================================
--- seahorse-plugins/trunk/libseahorse/seahorse-passphrase.c (original)
+++ seahorse-plugins/trunk/libseahorse/seahorse-passphrase.c Sat May 17 18:02:05 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]