evolution-rss r121 - trunk/src



Author: lucilanga
Date: Mon Jan 21 06:41:46 2008
New Revision: 121
URL: http://svn.gnome.org/viewvc/evolution-rss?rev=121&view=rev

Log:
justify rss_refresh label

Modified:
   trunk/src/rss.c

Modified: trunk/src/rss.c
==============================================================================
--- trunk/src/rss.c	(original)
+++ trunk/src/rss.c	Mon Jan 21 06:41:46 2008
@@ -952,12 +952,15 @@
 void
 cancel_soup_sess(gpointer key, gpointer value, gpointer user_data)
 {
-	if (SOUP_IS_MESSAGE(value))
+	if (SOUP_IS_SESSION(key)
 	{
-		soup_message_set_status(value,  SOUP_STATUS_CANCELLED);
-		soup_session_cancel_message(key, value);
+		if (SOUP_IS_MESSAGE(value))
+		{
+			soup_message_set_status(value,  SOUP_STATUS_CANCELLED);
+			soup_session_cancel_message(key, value);
+		}
+		soup_session_abort(key);
 	}
-	soup_session_abort(key);
 	g_hash_table_remove(rf->session, key);
 	g_hash_table_find(rf->key_session,
                 remove_if_match,
@@ -4115,7 +4118,7 @@
 #if GTK_2_6
 	gtk_label_set_ellipsize (GTK_LABEL (label2), PANGO_ELLIPSIZE_START);
 #endif
-	gtk_label_set_justify(GTK_LABEL(label2), GTK_JUSTIFY_CENTER);
+	gtk_label_set_justify(GTK_LABEL(label2), GTK_JUSTIFY_FILL);
         readrss_label = gtk_label_new(_("Please wait"));
         if (!rf->progress_dialog)
         {



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