evolution-rss r265 - trunk/src



Author: lucilanga
Date: Thu May  8 05:36:36 2008
New Revision: 265
URL: http://svn.gnome.org/viewvc/evolution-rss?rev=265&view=rev

Log:
ellipsize feeds name

Modified:
   trunk/src/rss-config-factory.c

Modified: trunk/src/rss-config-factory.c
==============================================================================
--- trunk/src/rss-config-factory.c	(original)
+++ trunk/src/rss-config-factory.c	Thu May  8 05:36:36 2008
@@ -1623,7 +1623,7 @@
 	GtkTreeSelection *selection;
 	GtkTreeViewColumn *column;
 
-	g_print("rf->%p\n", rf);
+	d(g_print("rf->%p\n", rf));
 	sf = g_new0(setupfeed, 1);
 
         gladefile = g_build_filename (EVOLUTION_GLADEDIR,
@@ -1636,7 +1636,6 @@
 	rf->treeview = (GtkWidget *)treeview;
 	sf->treeview = (GtkWidget *)treeview;
 
-	//gtk_widget_set_size_request ((GtkWidget *)treeview, 395, -1);
 	gtk_tree_view_set_rules_hint (GTK_TREE_VIEW (treeview), TRUE);
 
 	store = gtk_list_store_new (3, G_TYPE_BOOLEAN, G_TYPE_STRING,
@@ -1656,6 +1655,9 @@
 	gtk_tree_view_append_column (GTK_TREE_VIEW (treeview),
                                column);
 	cell = gtk_cell_renderer_text_new ();
+	g_object_set (cell,
+                "ellipsize", PANGO_ELLIPSIZE_MIDDLE,
+                NULL);
 	column = gtk_tree_view_column_new_with_attributes (_("Feed Name"),
                                                   cell,
                                                   "text", 1,



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