aboutsummaryrefslogtreecommitdiffstats
path: root/executive-summary
diff options
context:
space:
mode:
Diffstat (limited to 'executive-summary')
-rw-r--r--executive-summary/ChangeLog7
-rw-r--r--executive-summary/test-service/rdf-summary.c9
2 files changed, 15 insertions, 1 deletions
diff --git a/executive-summary/ChangeLog b/executive-summary/ChangeLog
index c32028b771..c3f306300b 100644
--- a/executive-summary/ChangeLog
+++ b/executive-summary/ChangeLog
@@ -1,3 +1,10 @@
+2001-05-10 Iain Holmes <iain@ximian.com>
+
+ * test-service/rdf-summary.c (download_cb): Proxy clicked events to
+ download.
+ (property_control): Connect the Update Now button to the download_cb
+ instead of download to prevent a crash.
+
2001-05-05 Gediminas Paulauskas <menesis@delfi.lt>
* component/Makefile.am, evolution-services/Makefile.am: no need of
diff --git a/executive-summary/test-service/rdf-summary.c b/executive-summary/test-service/rdf-summary.c
index c7bf12cf0f..6c513280c0 100644
--- a/executive-summary/test-service/rdf-summary.c
+++ b/executive-summary/test-service/rdf-summary.c
@@ -632,6 +632,13 @@ download (RdfSummary *summary)
}
static void
+download_cb (GtkWidget *w,
+ RdfSummary *summary)
+{
+ download (summary);
+}
+
+static void
get_prop (BonoboPropertyBag *bag,
BonoboArg *arg,
guint arg_id,
@@ -777,7 +784,7 @@ property_control (BonoboPropertyControl *property_control,
button = gtk_button_new_with_label (_("Update now"));
gtk_signal_connect (GTK_OBJECT (button), "clicked",
- GTK_SIGNAL_FUNC (download), summary);
+ GTK_SIGNAL_FUNC (download_cb), summary);
gtk_box_pack_start (GTK_BOX (hbox), button, TRUE, TRUE, 0);
gtk_box_pack_start (GTK_BOX (container), hbox, FALSE, FALSE, 0);