Updating branch refs/heads/master to 6e371848de03b01378dc1245efce8a4e5141ab13 (commit) from 400dc13336243b4eed153dbfeef8e35ad37ca8c1 (commit)
commit 6e371848de03b01378dc1245efce8a4e5141ab13 Author: Nick Schermer <n...@xfce.org> Date: Fri Sep 14 19:01:21 2012 +0200 Fix critical error when F5 is pressed. Because the focussed widget was not visible in the multiple view, and assertion occured when F5 was pressed: 'WIDGET_REALIZED_FOR_EVENT (widget, event)' failed. thunar/thunar-properties-dialog.c | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/thunar/thunar-properties-dialog.c b/thunar/thunar-properties-dialog.c index d6b8b17..ff13857 100644 --- a/thunar/thunar-properties-dialog.c +++ b/thunar/thunar-properties-dialog.c @@ -538,10 +538,6 @@ thunar_properties_dialog_init (ThunarPropertiesDialog *dialog) gtk_notebook_append_page (GTK_NOTEBOOK (dialog->notebook), dialog->permissions_chooser, label); gtk_widget_show (dialog->permissions_chooser); gtk_widget_show (label); - - - /* place the initial focus on the name entry widget */ - gtk_widget_grab_focus (dialog->name_entry); } @@ -1275,6 +1271,9 @@ thunar_properties_dialog_update (ThunarPropertiesDialog *dialog) /* update the properties for a dialog showing 1 file */ thunar_properties_dialog_update_single (dialog); + + /* place the initial focus on the name entry widget */ + gtk_widget_grab_focus (dialog->name_entry); } else { _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits