diff options
author | Bolian Yin <bolian.yin@sun.com> | 2003-12-02 15:40:28 +0800 |
---|---|---|
committer | Bolian Yin <byin@src.gnome.org> | 2003-12-02 15:40:28 +0800 |
commit | c84cfbc83a72e6e5990af279128d9c27d9e41151 (patch) | |
tree | 55eacf1e643bc0642d21db8fb7a77375e8852461 /widgets | |
parent | 4efabf66a2602de4f23dad51ca9114c40cff77b4 (diff) | |
download | gsoc2013-evolution-c84cfbc83a72e6e5990af279128d9c27d9e41151.tar gsoc2013-evolution-c84cfbc83a72e6e5990af279128d9c27d9e41151.tar.gz gsoc2013-evolution-c84cfbc83a72e6e5990af279128d9c27d9e41151.tar.bz2 gsoc2013-evolution-c84cfbc83a72e6e5990af279128d9c27d9e41151.tar.lz gsoc2013-evolution-c84cfbc83a72e6e5990af279128d9c27d9e41151.tar.xz gsoc2013-evolution-c84cfbc83a72e6e5990af279128d9c27d9e41151.tar.zst gsoc2013-evolution-c84cfbc83a72e6e5990af279128d9c27d9e41151.zip |
Fixes #51139
2003-12-02 Bolian Yin <bolian.yin@sun.com>
Fixes #51139
* gal/a11y/gal-a11y-e-table-item: (gal_a11y_e_table_item_ref_selection)
(gal_a11y_e_table_item_unref_selection): new functions.
* gal/e-table/e-table-item.c : change the place of emitting ""selection_model_removed" signal.
svn path=/trunk/; revision=23571
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/table/e-table-item.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/widgets/table/e-table-item.c b/widgets/table/e-table-item.c index 35daab025e..70d1213fa9 100644 --- a/widgets/table/e-table-item.c +++ b/widgets/table/e-table-item.c @@ -553,8 +553,6 @@ eti_remove_selection_model (ETableItem *eti) eti->cursor_change_id); g_signal_handler_disconnect (eti->selection, eti->cursor_activated_id); - g_signal_emit_by_name (G_OBJECT(eti), - "selection_model_removed", eti->selection); g_object_unref (eti->selection); eti->selection_change_id = 0; @@ -1466,6 +1464,8 @@ eti_set_property (GObject *object, guint prop_id, const GValue *value, GParamSpe break; case PROP_SELECTION_MODEL: + g_signal_emit_by_name (G_OBJECT(eti), + "selection_model_removed", eti->selection); eti_remove_selection_model (eti); if (g_value_get_object (value)) eti_add_selection_model (eti, E_SELECTION_MODEL(g_value_get_object(value))); |