Commit 2b874b24 authored by Jeroen Zwartepoorte's avatar Jeroen Zwartepoorte Committed by Jeroen Zwartepoorte
Browse files

Make the preview label ellipsize so the dialog layout stays constant.

2005-03-28  Jeroen Zwartepoorte  <jeroen.zwartepoorte@gmail.com>

	* gtk/gtkfilechooserdefault.c: (update_preview_widget_visibility): Make
	the preview label ellipsize so the dialog layout stays constant.
	(#171398)
parent c1eb6133
2005-03-28 Jeroen Zwartepoorte <jeroen.zwartepoorte@gmail.com>
* gtk/gtkfilechooserdefault.c: (update_preview_widget_visibility): Make
the preview label ellipsize so the dialog layout stays constant.
(#171398)
2005-03-28 Matthias Clasen <mclasen@redhat.com> 2005-03-28 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_key_press): Don't pop up * gtk/gtktreeview.c (gtk_tree_view_key_press): Don't pop up
......
2005-03-28 Jeroen Zwartepoorte <jeroen.zwartepoorte@gmail.com>
* gtk/gtkfilechooserdefault.c: (update_preview_widget_visibility): Make
the preview label ellipsize so the dialog layout stays constant.
(#171398)
2005-03-28 Matthias Clasen <mclasen@redhat.com> 2005-03-28 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_key_press): Don't pop up * gtk/gtktreeview.c (gtk_tree_view_key_press): Don't pop up
......
2005-03-28 Jeroen Zwartepoorte <jeroen.zwartepoorte@gmail.com>
* gtk/gtkfilechooserdefault.c: (update_preview_widget_visibility): Make
the preview label ellipsize so the dialog layout stays constant.
(#171398)
2005-03-28 Matthias Clasen <mclasen@redhat.com> 2005-03-28 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_key_press): Don't pop up * gtk/gtktreeview.c (gtk_tree_view_key_press): Don't pop up
......
...@@ -1014,6 +1014,7 @@ update_preview_widget_visibility (GtkFileChooserDefault *impl) ...@@ -1014,6 +1014,7 @@ update_preview_widget_visibility (GtkFileChooserDefault *impl)
impl->preview_label = gtk_label_new (impl->preview_display_name); impl->preview_label = gtk_label_new (impl->preview_display_name);
gtk_box_pack_start (GTK_BOX (impl->preview_box), impl->preview_label, FALSE, FALSE, 0); gtk_box_pack_start (GTK_BOX (impl->preview_box), impl->preview_label, FALSE, FALSE, 0);
gtk_box_reorder_child (GTK_BOX (impl->preview_box), impl->preview_label, 0); gtk_box_reorder_child (GTK_BOX (impl->preview_box), impl->preview_label, 0);
gtk_label_set_ellipsize (GTK_LABEL (impl->preview_label), PANGO_ELLIPSIZE_MIDDLE);
gtk_widget_show (impl->preview_label); gtk_widget_show (impl->preview_label);
} }
} }
......
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