diff options
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | ChangeLog.pre-2-10 | 8 | ||||
-rw-r--r-- | gtk/gtkfilechooserdialog.c | 4 |
3 files changed, 18 insertions, 2 deletions
@@ -1,3 +1,11 @@ +2006-02-16 Federico Mena Quintero <federico@novell.com> + + * gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_map): Call + ::initial_focus() on the child before calling ::map() on our + parent class. This will prevent the shortcuts treeview from + highlighting its first row as a result of getting assigned focus + by gtk_dialog_map(). + 2006-02-14 Matthias Clasen <mclasen@redhat.com> * gtk/gtkwidget.c (gtk_widget_send_expose): Remove redundant diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index d4809629db..33d2bd0b8e 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,11 @@ +2006-02-16 Federico Mena Quintero <federico@novell.com> + + * gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_map): Call + ::initial_focus() on the child before calling ::map() on our + parent class. This will prevent the shortcuts treeview from + highlighting its first row as a result of getting assigned focus + by gtk_dialog_map(). + 2006-02-14 Matthias Clasen <mclasen@redhat.com> * gtk/gtkwidget.c (gtk_widget_send_expose): Remove redundant diff --git a/gtk/gtkfilechooserdialog.c b/gtk/gtkfilechooserdialog.c index db1e574410..32a9fa9ce3 100644 --- a/gtk/gtkfilechooserdialog.c +++ b/gtk/gtkfilechooserdialog.c @@ -488,9 +488,9 @@ gtk_file_chooser_dialog_map (GtkWidget *widget) if (!GTK_WIDGET_MAPPED (priv->widget)) gtk_widget_map (priv->widget); - GTK_WIDGET_CLASS (parent_class)->map (widget); - _gtk_file_chooser_embed_initial_focus (GTK_FILE_CHOOSER_EMBED (priv->widget)); + + GTK_WIDGET_CLASS (parent_class)->map (widget); } /* GtkWidget::unmap handler */ |