gedit r6872 - in trunk: . plugins/filebrowser



Author: icq
Date: Sun Feb  1 22:23:49 2009
New Revision: 6872
URL: http://svn.gnome.org/viewvc/gedit?rev=6872&view=rev

Log:
2009-02-01  Ignacio Casal Quinteiro  <nacho resa gmail com>

        * plugins/filebrowser/gedit-file-browser-widget.c:
        Ellipsize the combobox.



Modified:
   trunk/ChangeLog
   trunk/plugins/filebrowser/gedit-file-browser-widget.c

Modified: trunk/plugins/filebrowser/gedit-file-browser-widget.c
==============================================================================
--- trunk/plugins/filebrowser/gedit-file-browser-widget.c	(original)
+++ trunk/plugins/filebrowser/gedit-file-browser-widget.c	Sun Feb  1 22:23:49 2009
@@ -761,6 +761,9 @@
 	gtk_cell_layout_add_attribute (GTK_CELL_LAYOUT (obj->priv->combo),
 				       renderer, "text", COLUMN_NAME);
 
+	g_object_set (renderer, "ellipsize-set", TRUE,
+		      "ellipsize", PANGO_ELLIPSIZE_END, NULL);
+
 	gtk_box_pack_start (GTK_BOX (obj), GTK_WIDGET (obj->priv->combo),
 			    FALSE, FALSE, 0);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]