Updating branch refs/heads/nick/multiple-file-properties to 196e59dc2cbc7b4a56b7268ca1b8eecb51ce9032 (commit) from aebdb9a7529817d0e83e0492fd1fbfa6539231bb (commit)
commit 196e59dc2cbc7b4a56b7268ca1b8eecb51ce9032 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