[gnumeric] Use the "combo-activate" signal where appropriate. [#583175]



commit a8fa533511b4a8382eb19d31183aa50768bed22e
Author: Jean Brefort <jean brefort normalesup org>
Date:   Tue Apr 27 17:46:10 2010 +0200

    Use the "combo-activate" signal where appropriate. [#583175]

 ChangeLog     |    6 ++++++
 NEWS          |    1 +
 configure.in  |    2 +-
 src/wbc-gtk.c |    6 +++---
 4 files changed, 11 insertions(+), 4 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 8e6ec7f..d09ad9c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-04-27  Jean Brefort  <jean brefort normalesup org>
+
+	* configure.in: needs goffice-0.8.3.
+	* src/wbc-gtk.c (wbc_gtk_init_borders), (wbc_gtk_init_color_fore),
+	(wbc_gtk_init_color_back): use the combo-activate signal.
+
 2010-04-27  Morten Welinder  <terra gnome org>
 
 	* src/workbook-view.c (wb_view_set_property,
diff --git a/NEWS b/NEWS
index 4931292..482bfd1 100644
--- a/NEWS
+++ b/NEWS
@@ -11,6 +11,7 @@ Jean:
 	series label. [#616262]
 	* Allow multiple and block selection for graph vector data.
 	 [#494685,#616068]
+	 * Use the "combo-activate" signal where appropriate? [#583175]
 
 Morten:
 	* Make sure an empty string is shown with a quote.
diff --git a/configure.in b/configure.in
index a6a9451..3357535 100644
--- a/configure.in
+++ b/configure.in
@@ -146,7 +146,7 @@ PKG_PROG_PKG_CONFIG(0.18)
 
 dnl *****************************
 libspreadsheet_reqs="
-	libgoffice-${GOFFICE_API_VER}	>= 0.8.0
+	libgoffice-${GOFFICE_API_VER}	>= 0.8.3
 	libgsf-1		>= 1.14.15
 	libxml-2.0		>= 2.4.12
 "
diff --git a/src/wbc-gtk.c b/src/wbc-gtk.c
index f2995e9..655e1d0 100644
--- a/src/wbc-gtk.c
+++ b/src/wbc-gtk.c
@@ -2793,7 +2793,7 @@ wbc_gtk_init_borders (WBCGtk *wbcg)
 	go_combo_pixmaps_select (wbcg->borders, 1); /* default to none */
 #endif
 	g_signal_connect (G_OBJECT (wbcg->borders),
-		"activate",
+		"combo-activate",
 		G_CALLBACK (cb_border_activated), wbcg);
 	gtk_action_group_add_action (wbcg->actions, GTK_ACTION (wbcg->borders));
 }
@@ -2943,7 +2943,7 @@ wbc_gtk_init_color_fore (WBCGtk *gtk)
 		      NULL);
 	/* TODO: Create vertical version.  */
 	g_signal_connect (G_OBJECT (gtk->fore_color),
-		"activate",
+		"combo-activate",
 		G_CALLBACK (cb_fore_color_changed), gtk);
 	g_signal_connect (G_OBJECT (gtk->fore_color),
 		"display-custom-dialog",
@@ -2994,7 +2994,7 @@ wbc_gtk_init_color_back (WBCGtk *gtk)
 		      NULL);
 	/* TODO: Create vertical version.  */
 	g_object_connect (G_OBJECT (gtk->back_color),
-		"signal::activate", G_CALLBACK (cb_back_color_changed), gtk,
+		"signal::combo-activate", G_CALLBACK (cb_back_color_changed), gtk,
 		"signal::display-custom-dialog", G_CALLBACK (cb_custom_color_created), gtk,
 		NULL);
 #if 0



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]