From 4c725337a0c392422b947d70b37a81cdc1435d35 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Tue, 14 May 2002 03:17:00 +0000 Subject: Added a signal when the value of the checkboxes changes. 2002-05-13 Christopher James Lahey * e-storage-set-view.c (etree_set_value_at): Added a signal when the value of the checkboxes changes. svn path=/trunk/; revision=16776 --- shell/e-storage-set-view.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'shell/e-storage-set-view.c') diff --git a/shell/e-storage-set-view.c b/shell/e-storage-set-view.c index 3938d48d1a..5d4a7616e6 100644 --- a/shell/e-storage-set-view.c +++ b/shell/e-storage-set-view.c @@ -108,6 +108,7 @@ enum { DND_ACTION, FOLDER_CONTEXT_MENU_POPPING_UP, FOLDER_CONTEXT_MENU_POPPED_DOWN, + CHECKBOXES_CHANGED, LAST_SIGNAL }; @@ -1274,6 +1275,8 @@ etree_set_value_at (ETreeModel *etree, g_free (temp); } e_tree_model_node_col_changed (etree, tree_path, col); + gtk_signal_emit (GTK_OBJECT (storage_set_view), + signals[CHECKBOXES_CHANGED]); break; } } @@ -1587,6 +1590,14 @@ class_init (EStorageSetViewClass *klass) gtk_marshal_NONE__NONE, GTK_TYPE_NONE, 0); + signals[CHECKBOXES_CHANGED] + = gtk_signal_new ("checkboxes_changed", + GTK_RUN_FIRST, + object_class->type, + GTK_SIGNAL_OFFSET (EStorageSetViewClass, checkboxes_changed), + gtk_marshal_NONE__NONE, + GTK_TYPE_NONE, 0); + gtk_object_class_add_signals (object_class, signals, LAST_SIGNAL); } -- cgit