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.gz
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
td>2007-04-074-66/+18 * Fix index breakage due to move of www/horde to www/horde-base.linimon2007-02-251-1/+1 * - Use horde mirrors from bsd.sites.mksat2007-02-131-8/+1 * - Fix pkg-plistmiwi2007-01-312-1/+6 * - Update nag to 2.1.2. [1]shaun2007-01-292-6/+5 * Switch to my @FreeBSD.org address.shaun2006-06-201-1/+1 * make sure I update the PORTREVISIONscrappy2006-04-161-0/+1 * After a recent discussion on freebsd-ports, I have modified the Horde ports, ...scrappy2006-04-164-13/+29 * Adopt the Horde ports.thierry2006-04-101-1/+1 * Release maintainership.thierry2006-04-081-1/+1 * Upgrade to 2.1.thierry2006-03-16