Author: lucilanga
Date: Sun Feb 10 19:16:29 2008
New Revision: 154
URL: http://svn.gnome.org/viewvc/evolution-rss?rev=154&view=rev
Log:
fix operation progress update
Modified:
trunk/ChangeLog
trunk/src/rss.c
Modified: trunk/src/rss.c
==============================================================================
--- trunk/src/rss.c (original)
+++ trunk/src/rss.c Sun Feb 10 19:16:29 2008
@@ -340,6 +340,7 @@
struct _ActivityInfo {
char *component_id;
GdkPixbuf *icon_pixbuf;
+ int error_type;
guint id;
char *information;
gboolean cancellable;
@@ -389,7 +390,6 @@
{
EActivityHandler *activity_handler =
mail_component_peek_activity_handler (mail_component_peek ());
guint activity_id = GPOINTER_TO_INT(g_hash_table_lookup(rf->activity,
key));
- g_print("activity_id:%d\n", activity_id);
if (activity_id)
{
@@ -399,7 +399,7 @@
ActivityInfo *activity_info;
GList *p;
int order_number;
- g_hash_table_foreach(rf->activity, print_hash, NULL);
+// g_hash_table_foreach(rf->activity, print_hash, NULL);
p = lookup_activity (priv->activity_infos, activity_id,
&order_number);
if (p == NULL) {
@@ -408,7 +408,7 @@
}
activity_info = (ActivityInfo *) p->data;
- g_print("--message:%s--\n", activity_info->information);
+// g_print("--message:%s--\n", activity_info->information);
e_activity_handler_operation_progressing(activity_handler,
activity_id,
@@ -476,8 +476,7 @@
g_free(furl);
}
#endif
- taskbar_op_set_progress(data, (guint)fraction);
-// taskbar_op_set_progress(data, fraction/100);
+ taskbar_op_set_progress(data, (gdouble)fraction);
}
break;
case NET_STATUS_DONE:
_______________________________________________
SVN-commits-list mailing list (read only)
http://mail.gnome.org/mailman/listinfo/svn-commits-list
Want to limit the commits to a few modules? Go to above URL, log in to edit
your options and select the modules ('topics') you want.
Module maintainer? It is possible to set the reply-to to your development
mailing list. Email [EMAIL PROTECTED] if interested.