aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2001-08-08 01:39:46 +0800
committerChris Toshok <toshok@src.gnome.org>2001-08-08 01:39:46 +0800
commitca9e52bf416be7e72c99418331b5f557c992d87b (patch)
treee5697018b3520b1de2e4250ff509aa891ff33525 /addressbook
parent5aeb8fd585ec785dbb5256beef33b7779b0e71c4 (diff)
downloadgsoc2013-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')
-rw-r--r--addressbook/ChangeLog6
-rw-r--r--addressbook/gui/contact-list-editor/e-contact-list-editor.c8
2 files changed, 14 insertions, 0 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index ac88e2d43d..ce81c21cac 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,9 @@
+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.
+
2001-08-07 Jason Leach <jleach@ximian.com>
* gui/component/select-names/e-select-names.c
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