evolution-rss r154 - in trunk: . src
- From: lucilanga svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution-rss r154 - in trunk: . src
- Date: Sun, 10 Feb 2008 19:16:29 +0000 (GMT)
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:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]