From 7069534abfdffba0c539e44e8ea1dc66c15f79fc Mon Sep 17 00:00:00 2001 From: Jordan Lee Date: Sun, 1 May 2011 05:04:09 +0000 Subject: [PATCH] (trunk, gtk) #4218 "open url should set focus on the open button by default" -- fix r12409 oops --- gtk/open-dialog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/open-dialog.c b/gtk/open-dialog.c index af42bc173..fd9b56b99 100644 --- a/gtk/open-dialog.c +++ b/gtk/open-dialog.c @@ -514,7 +514,7 @@ gtr_torrent_open_from_url_dialog_new( GtkWindow * parent, TrCore * core ) gtr_dialog_set_content( GTK_DIALOG( w ), t ); -#ifdef GTK_CHECK_VERSION(2,20,0) +#if GTK_CHECK_VERSION(2,20,0) if( gtk_entry_get_text_length( GTK_ENTRY( e ) ) == 0 ) gtk_widget_grab_focus( e ); else -- 2.40.0