Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > 6a625b0f07fb60ad294dd6d75ff14172 > files > 4

evolution-rss-0.1.0-6.2mdv2009.0.src.rpm

diff -Nur evolution-rss-0.1.0/src/gecko-utils.cpp evolution-rss-0.1.0.new/src/gecko-utils.cpp
--- evolution-rss-0.1.0/src/gecko-utils.cpp	2008-07-04 12:20:33.000000000 +0200
+++ evolution-rss-0.1.0.new/src/gecko-utils.cpp	2008-07-04 12:21:39.000000000 +0200
@@ -129,6 +129,15 @@
 #endif
 #endif /* XPCOM_GLUE */
 
+	gchar *profile_dir = g_build_filename (g_get_home_dir (),
+					       ".evolution",
+					       "mail",
+					       "rss",
+					       NULL);
+
+	gtk_moz_embed_set_profile_path (profile_dir, "mozembed-rss");
+	g_free (profile_dir);
+
 	gtk_moz_embed_push_startup ();
 
 	nsCOMPtr<nsIPrefService> prefService (do_GetService (NS_PREFSERVICE_CONTRACTID, &rv));
diff -Nur evolution-rss-0.1.0/src/rss.c evolution-rss-0.1.0.new/src/rss.c
--- evolution-rss-0.1.0/src/rss.c	2008-07-04 12:20:33.000000000 +0200
+++ evolution-rss-0.1.0.new/src/rss.c	2008-07-04 12:21:02.000000000 +0200
@@ -1580,13 +1580,6 @@
 	g_unsetenv("MOZILLA_FIVE_HOME");
 
 
-	gchar *profile_dir = g_build_filename (g_get_home_dir (),
-                                              ".evolution",
-                                              "mail",
-                                              "rss", NULL);
-
-        gtk_moz_embed_set_profile_path (profile_dir, "mozembed-rss");
-        g_free (profile_dir);
 	gecko_init();
 }
 #endif