evolution-rss r184 - trunk/src



Author: lucilanga
Date: Fri Feb 29 19:48:47 2008
New Revision: 184
URL: http://svn.gnome.org/viewvc/evolution-rss?rev=184&view=rev

Log:
gtk fine tunning

Modified:
   trunk/src/rss.c

Modified: trunk/src/rss.c
==============================================================================
--- trunk/src/rss.c	(original)
+++ trunk/src/rss.c	Fri Feb 29 19:48:47 2008
@@ -2941,11 +2941,13 @@
 
         char *pretty_url = g_strdup ("RSS");
         label = gtk_label_new (NULL);
-#if GTK_2_6
+#if GTK_VERSION > 2006000
         gtk_label_set_ellipsize (
                 GTK_LABEL (label), PANGO_ELLIPSIZE_END);
 #endif
+#if GTK_VERSION < 2008000
         gtk_label_set_markup (GTK_LABEL (label), pretty_url);
+#endif
         g_free (pretty_url);
 
         progress_bar = gtk_progress_bar_new ();



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