Commit 391d8516 authored by cypherpunk's avatar cypherpunk
Browse files

	* gtk-dialog.c: The SMP secret window should grab focus, but
	only if the user requested to authenticate buddy (and not if it
	popped up because the remote side asked for it)
parent c0a223af
......@@ -6,6 +6,10 @@
* otr-plugin.c: Defend against potential NULL pointer
dereferences
* gtk-dialog.c: The SMP secret window should grab focus, but
only if the user requested to authenticate buddy (and not if it
popped up because the remote side asked for it)
2007-07-24
* INSTALL: Added information about i18n; added information about
......
......@@ -994,7 +994,7 @@ static GtkWidget *create_smp_dialog(const char *title,
gtk_dialog_set_response_sensitive(GTK_DIALOG(dialog),
GTK_RESPONSE_ACCEPT, sensitive);
gtk_window_set_focus_on_map(GTK_WINDOW(dialog), FALSE);
gtk_window_set_focus_on_map(GTK_WINDOW(dialog), !responder);
gtk_window_set_role(GTK_WINDOW(dialog), "notify_dialog");
gtk_container_set_border_width(GTK_CONTAINER(dialog), 6);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment