aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/gui')
-rw-r--r--addressbook/gui/contact-list-editor/e-contact-list-editor.c8
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