diff options
author | Christopher James Lahey <clahey@ximian.com> | 2002-05-14 11:17:00 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2002-05-14 11:17:00 +0800 |
commit | 4c725337a0c392422b947d70b37a81cdc1435d35 (patch) | |
tree | 0664d348d5f200cb6be2e58cecdd645a8af2f8d8 | |
parent | 1faa7d0bef42bcec3c53a68aee9c9b856a209ac5 (diff) | |
download | gsoc2013-evolution-4c725337a0c392422b947d70b37a81cdc1435d35.tar.gz gsoc2013-evolution-4c725337a0c392422b947d70b37a81cdc1435d35.tar.zst gsoc2013-evolution-4c725337a0c392422b947d70b37a81cdc1435d35.zip |
Added a signal when the value of the checkboxes changes.
2002-05-13 Christopher James Lahey <clahey@ximian.com>
* e-storage-set-view.c (etree_set_value_at): Added a signal when
the value of the checkboxes changes.
svn path=/trunk/; revision=16776
-rw-r--r-- | shell/ChangeLog | 5 | ||||
-rw-r--r-- | shell/e-storage-set-view.c | 11 | ||||
-rw-r--r-- | shell/e-storage-set-view.h | 1 |
3 files changed, 17 insertions, 0 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog index 11029f6f39..b5b6589d38 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,8 @@ +2002-05-13 Christopher James Lahey <clahey@ximian.com> + + * e-storage-set-view.c (etree_set_value_at): Added a signal when + the value of the checkboxes changes. + 2002-05-10 Ettore Perazzoli <ettore@ximian.com> * e-shell-shared-folder-picker-dialog.c: Add members `parent' and 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); } diff --git a/shell/e-storage-set-view.h b/shell/e-storage-set-view.h index ff620ea5de..553db79f9e 100644 --- a/shell/e-storage-set-view.h +++ b/shell/e-storage-set-view.h @@ -68,6 +68,7 @@ struct _EStorageSetViewClass { void (* folder_context_menu_popping_up) (EStorageSetView *storage_set_view, const char *path); void (* folder_context_menu_popped_down) (EStorageSetView *storage_set_view); + void (* checkboxes_changed) (EStorageSetView *storage_set_view); }; |