diff options
author | Chris Toshok <toshok@ximian.com> | 2001-08-08 01:39:46 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2001-08-08 01:39:46 +0800 |
commit | ca9e52bf416be7e72c99418331b5f557c992d87b (patch) | |
tree | e5697018b3520b1de2e4250ff509aa891ff33525 /addressbook/gui | |
parent | 5aeb8fd585ec785dbb5256beef33b7779b0e71c4 (diff) | |
download | gsoc2013-evolution-ca9e52bf416be7e72c99418331b5f557c992d87b.tar gsoc2013-evolution-ca9e52bf416be7e72c99418331b5f557c992d87b.tar.gz gsoc2013-evolution-ca9e52bf416be7e72c99418331b5f557c992d87b.tar.bz2 gsoc2013-evolution-ca9e52bf416be7e72c99418331b5f557c992d87b.tar.lz gsoc2013-evolution-ca9e52bf416be7e72c99418331b5f557c992d87b.tar.xz gsoc2013-evolution-ca9e52bf416be7e72c99418331b5f557c992d87b.tar.zst gsoc2013-evolution-ca9e52bf416be7e72c99418331b5f557c992d87b.zip |
make sure we update the changed state if a successful drop happens.
2001-08-07 Chris Toshok <toshok@ximian.com>
* gui/contact-list-editor/e-contact-list-editor.c
(table_drag_data_received_cb): make sure we update the changed
state if a successful drop happens.
svn path=/trunk/; revision=11733
Diffstat (limited to 'addressbook/gui')
-rw-r--r-- | addressbook/gui/contact-list-editor/e-contact-list-editor.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/addressbook/gui/contact-list-editor/e-contact-list-editor.c b/addressbook/gui/contact-list-editor/e-contact-list-editor.c index c6f8cab132..b79ed5fd22 100644 --- a/addressbook/gui/contact-list-editor/e-contact-list-editor.c +++ b/addressbook/gui/contact-list-editor/e-contact-list-editor.c @@ -703,6 +703,7 @@ table_drag_data_received_cb (ETable *table, int row, int col, guint info, guint time, EContactListEditor *editor) { char *target_type; + gboolean changed = FALSE; target_type = gdk_atom_name (selection_data->target); @@ -720,11 +721,18 @@ table_drag_data_received_cb (ETable *table, int row, int col, simple); gtk_object_unref (GTK_OBJECT (simple)); + + changed = TRUE; } } g_list_foreach (card_list, (GFunc)gtk_object_unref, NULL); g_list_free (card_list); } + + if (changed && !editor->changed) { + editor->changed = TRUE; + command_state_changed (editor); + } } static void |