Commit c60f6663 authored by Federico Mena Quintero's avatar Federico Mena Quintero Committed by Federico Mena Quintero
Browse files

Call ::initial_focus() on the child before calling ::map() on our parent

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().
parent 2540f829
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> 2006-02-14 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkwidget.c (gtk_widget_send_expose): Remove redundant * gtk/gtkwidget.c (gtk_widget_send_expose): Remove redundant
......
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> 2006-02-14 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkwidget.c (gtk_widget_send_expose): Remove redundant * gtk/gtkwidget.c (gtk_widget_send_expose): Remove redundant
......
...@@ -488,9 +488,9 @@ gtk_file_chooser_dialog_map (GtkWidget *widget) ...@@ -488,9 +488,9 @@ gtk_file_chooser_dialog_map (GtkWidget *widget)
if (!GTK_WIDGET_MAPPED (priv->widget)) if (!GTK_WIDGET_MAPPED (priv->widget))
gtk_widget_map (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_file_chooser_embed_initial_focus (GTK_FILE_CHOOSER_EMBED (priv->widget));
GTK_WIDGET_CLASS (parent_class)->map (widget);
} }
/* GtkWidget::unmap handler */ /* GtkWidget::unmap handler */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment