[evolution-rss] fix opening of multiple properties windows
- From: Lucian Langa <lucilanga src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-rss] fix opening of multiple properties windows
- Date: Wed, 30 Jun 2010 08:27:14 +0000 (UTC)
commit 80f664809e6dd990f0dc041d1fc2efd298c3b162
Author: Lucian Langa <lucilanga gnome org>
Date: Tue Jun 29 22:00:57 2010 +0300
fix opening of multiple properties windows
src/rss-config-factory.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/rss-config-factory.c b/src/rss-config-factory.c
index f648426..a41ee69 100644
--- a/src/rss-config-factory.c
+++ b/src/rss-config-factory.c
@@ -3300,9 +3300,9 @@ void rss_folder_factory_commit (EPlugin *epl, EConfigTarget *target)
guint i=0;
gchar *key = NULL;
- add_feed *feed = (add_feed *)g_object_get_data((GObject *)epl, "add-feed");
- gchar *url = (gchar *)g_object_get_data((GObject *)epl, "url");
- gchar *ofolder = (gchar *)g_object_get_data((GObject *)epl, "ofolder");
+ add_feed *feed = (add_feed *)g_object_get_data((GObject *)target->config->widget, "add-feed");
+ gchar *url = (gchar *)g_object_get_data((GObject *)target->config->widget, "url");
+ gchar *ofolder = (gchar *)g_object_get_data((GObject *)target->config->widget, "ofolder");
EMConfigTargetFolder *targetfolder =
(EMConfigTargetFolder *)target->config->target;
@@ -3478,12 +3478,12 @@ rss_folder_factory (EPlugin *epl, EConfigHookItemFactoryData *data)
NULL,
0);
g_object_set_data_full (
- G_OBJECT (epl),
+ G_OBJECT (data->parent),
"add-feed",
feed,
NULL);
- g_object_set_data_full (G_OBJECT (epl), "url", url, NULL);
- g_object_set_data_full (G_OBJECT (epl), "ofolder", ofolder, NULL);
+ g_object_set_data_full (G_OBJECT (data->parent), "url", url, NULL);
+ g_object_set_data_full (G_OBJECT (data->parent), "ofolder", ofolder, NULL);
ok = GTK_WIDGET (
gtk_builder_get_object(feed->gui, "ok_button"));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]