(trunk, gtk) #4218 "open url should set focus on the open button by default" -- fix r12409 oops

This commit is contained in:
Jordan Lee
2011-05-01 05:04:09 +00:00
parent a9b379777f
commit 7069534abf
+1 -1
View File
@@ -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