evolution-rss r160 - in trunk: . src
- From: lucilanga svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution-rss r160 - in trunk: . src
- Date: Thu, 21 Feb 2008 14:55:51 +0000 (GMT)
Author: lucilanga
Date: Thu Feb 21 14:55:51 2008
New Revision: 160
URL: http://svn.gnome.org/viewvc/evolution-rss?rev=160&view=rev
Log:
task op fix; import reconstruct feeds store; santize resizing
Modified:
trunk/ChangeLog
trunk/TODO
trunk/src/dbus.c
trunk/src/rss-config-factory.c
trunk/src/rss.c
Modified: trunk/TODO
==============================================================================
--- trunk/TODO (original)
+++ trunk/TODO Thu Feb 21 14:55:51 2008
@@ -33,7 +33,6 @@
* use svn tag stuff when releasing
* fix ubuntu crashing when wrong entities (<0.0.6) and feed conf files stored in a file
* do not remove hash key when iterate !
- * check importing, as it won't run for the first time
* check mycall resize, verify data is valid widget -> generates crash
- * check taskbar op when removing a feed
* crash (mail_append_message) if folder contains .lock file ? or ibex crashes
+ * implement notify back of imported feed perhaps libnotify
Modified: trunk/src/dbus.c
==============================================================================
--- trunk/src/dbus.c (original)
+++ trunk/src/dbus.c Thu Feb 21 14:55:51 2008
@@ -118,11 +118,13 @@
lookup_chn_name_by_url(feed->feed_url));
taskbar_push_message(msg);
g_free(msg);
+#if RSS_DEBUG
g_print("chn_name:%s\n", lookup_chn_name_by_url(feed->feed_url));
+#endif
}
+ store_redraw(rf->treeview);
save_gconf_feed();
camel_operation_end(NULL);
- g_print("end\n");
}
Modified: trunk/src/rss-config-factory.c
==============================================================================
--- trunk/src/rss-config-factory.c (original)
+++ trunk/src/rss-config-factory.c Thu Feb 21 14:55:51 2008
@@ -528,7 +528,13 @@
return feed;
}
-
+void
+store_redraw(GtkTreeView *data)
+{
+ GtkTreeModel *model = gtk_tree_view_get_model (data);
+ gtk_list_store_clear(GTK_LIST_STORE(model));
+ g_hash_table_foreach(rf->hrname, construct_list, model);
+}
////////////////////
//feeds processing//
@@ -623,6 +629,7 @@
{
//we need to make sure we won't fetch_feed iterate over those hashes
rf->pending = TRUE;
+ taskbar_op_finish(name);
g_hash_table_remove(rf->hre, lookup_key(name));
g_hash_table_remove(rf->hrt, lookup_key(name));
g_hash_table_remove(rf->hrh, lookup_key(name));
Modified: trunk/src/rss.c
==============================================================================
--- trunk/src/rss.c (original)
+++ trunk/src/rss.c Thu Feb 21 14:55:51 2008
@@ -1543,15 +1543,16 @@
// if (GTK_IS_MOZ_EMBED(data))
// {
// g_print("is mozembed\n");
- if (data && GTK_IS_WIDGET(data) && height > 50)
- {
- gtk_widget_set_size_request((GtkWidget *)data, width, height);
+ if (data)
+ if(GTK_IS_WIDGET(data) && height > 50)
+ {
+ gtk_widget_set_size_request((GtkWidget *)data, width, height);
// apparently resizing gtkmozembed widget won't redraw if using xulrunner
// there is no point in reload for the rest
#ifdef HAVE_XULRUNNER
- gtk_moz_embed_reload(rf->mozembed, GTK_MOZ_EMBED_FLAG_RELOADNORMAL);
+ gtk_moz_embed_reload(rf->mozembed, GTK_MOZ_EMBED_FLAG_RELOADNORMAL);
#endif
- }
+ }
// }
}
g_print("resize done\n");
@@ -3072,7 +3073,9 @@
rf->soup_auth_retry = 1;
get_feed_folders();
#if HAVE_DBUS
+#if RSS_DEBUG
g_print("init_dbus()\n");
+#endif
/*D-BUS init*/
rf->bus = init_dbus ();
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]