CVS: sylpheed-claws/src mimeview.c,1.83.2.67,1.83.2.68 news.c,1.101.2.23,1.101.2.24 summaryview.c,1.395.2.193,1.395.2.194 summaryview.h,1.68.2.22,1.68.2.23

Colin Leroy <[email protected]>
Newsgroups gmane.mail.sylpheed.claws.cvs
Message-ID <[email protected]>
Update of /cvsroot/sylpheed-claws/sylpheed-claws/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21580/src

Modified Files:
      Tag: gtk2
	mimeview.c news.c summaryview.c summaryview.h 
Log Message:
2006-04-25 [colin]	2.1.1cvs32

	* src/news.c
		Better progress bar
	* src/mimeview.c
	* src/summaryview.c
	* src/summaryview.h
		Fix focus chain
		Patches by Pawel Pekala

Index: mimeview.c
===================================================================
RCS file: /cvsroot/sylpheed-claws/sylpheed-claws/src/mimeview.c,v
retrieving revision 1.83.2.67
retrieving revision 1.83.2.68
diff -u -r1.83.2.67 -r1.83.2.68
--- mimeview.c	6 Apr 2006 10:58:03 -0000	1.83.2.67
+++ mimeview.c	25 Apr 2006 06:33:14 -0000	1.83.2.68
@@ -1849,8 +1849,7 @@
 
 	if (!mimeview->messageview->mainwin) return FALSE;
 	summaryview = mimeview->messageview->mainwin->summaryview;
-	summary_pass_key_press_event(summaryview, event);
-	return TRUE;
+	return summary_pass_key_press_event(summaryview, event);
 }
 
 static void toggle_icon(GtkToggleButton *button, MimeView *mimeview)

Index: news.c
===================================================================
RCS file: /cvsroot/sylpheed-claws/sylpheed-claws/src/news.c,v
retrieving revision 1.101.2.23
retrieving revision 1.101.2.24
diff -u -r1.101.2.23 -r1.101.2.24
--- news.c	7 Mar 2006 09:35:31 -0000	1.101.2.23
+++ news.c	25 Apr 2006 06:33:14 -0000	1.101.2.24
@@ -1016,7 +1016,7 @@
 	GSList *newlist = NULL;
 	GSList *llast = NULL;
 	MsgInfo *msginfo;
-	guint count = 0, lines = (end - begin + 2) * 3;
+	guint count = 0, lines = (end - begin) + 2;
 	gint ok;
 
 	g_return_val_if_fail(session != NULL, NULL);
@@ -1088,11 +1088,6 @@
 			news_folder_unlock(NEWS_FOLDER(item->folder));
 			return newlist;
 		}
-		count++;
-		progressindicator_set_percentage
-			(PROGRESS_TYPE_NETWORK,
-			 session->fetch_base_percentage +
-			 (((gfloat) count) / ((gfloat) lines)) * session->fetch_total_percentage);
 
 		if (buf[0] == '.' && buf[1] == '\r') break;
 		if (!llast) {
@@ -1125,11 +1120,6 @@
 			news_folder_unlock(NEWS_FOLDER(item->folder));
 			return newlist;
 		}
-		count++;
-		progressindicator_set_percentage
-			(PROGRESS_TYPE_NETWORK,
-			 session->fetch_base_percentage +
-			 (((gfloat) count) / ((gfloat) lines)) * session->fetch_total_percentage);
 
 		if (buf[0] == '.' && buf[1] == '\r') break;
 		if (!llast) {

Index: summaryview.c
===================================================================
RCS file: /cvsroot/sylpheed-claws/sylpheed-claws/src/summaryview.c,v
retrieving revision 1.395.2.193
retrieving revision 1.395.2.194
diff -u -r1.395.2.193 -r1.395.2.194
--- summaryview.c	24 Apr 2006 17:01:07 -0000	1.395.2.193
+++ summaryview.c	25 Apr 2006 06:33:14 -0000	1.395.2.194
@@ -4788,9 +4788,9 @@
 	return FALSE;
 }
 
-void summary_pass_key_press_event(SummaryView *summaryview, GdkEventKey *event)
+gboolean summary_pass_key_press_event(SummaryView *summaryview, GdkEventKey *event)
 {
-	summary_key_pressed(summaryview->ctree, event, summaryview);
+	return summary_key_pressed(summaryview->ctree, event, summaryview);
 }
 
 #define BREAK_ON_MODIFIER_KEY() \

Index: summaryview.h
===================================================================
RCS file: /cvsroot/sylpheed-claws/sylpheed-claws/src/summaryview.h,v
retrieving revision 1.68.2.22
retrieving revision 1.68.2.23
diff -u -r1.68.2.22 -r1.68.2.23
--- summaryview.h	5 Apr 2006 06:19:13 -0000	1.68.2.22
+++ summaryview.h	25 Apr 2006 06:33:15 -0000	1.68.2.23
@@ -220,7 +220,7 @@
 
 gint summary_write_cache	  (SummaryView		*summaryview);
 
-void summary_pass_key_press_event (SummaryView		*summaryview,
+gboolean summary_pass_key_press_event (SummaryView		*summaryview,
 				   GdkEventKey		*event);
 
 void summary_display_msg_selected (SummaryView		*summaryview,



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.