aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/ChangeLog8
-rw-r--r--addressbook/gui/widgets/e-minicard-view-widget.c6
2 files changed, 8 insertions, 6 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 947bfcc9af..a192261e11 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,11 @@
+2008-01-22 Milan Crha <mcrha@redhat.com>
+
+ ** Fix for bug #503551
+
+ * gui/widgets/e-minicard-view-widget.c: (selection_row_change):
+ Emit selection changed signal even when unselecting, because
+ we enable/disable menu items on selection change.
+
2008-01-21 Milan Crha <mcrha@redhat.com>
** Fix for bug #324604 inspired by patch of makuchaku (Mayank)
diff --git a/addressbook/gui/widgets/e-minicard-view-widget.c b/addressbook/gui/widgets/e-minicard-view-widget.c
index 5c1693dea2..60f76d6edc 100644
--- a/addressbook/gui/widgets/e-minicard-view-widget.c
+++ b/addressbook/gui/widgets/e-minicard-view-widget.c
@@ -307,12 +307,6 @@ selection_change (ESelectionModel *esm, EMinicardViewWidget *widget)
static void
selection_row_change (ESelectionModel *esm, int row, EMinicardViewWidget *widget)
{
- gboolean selected = e_selection_model_is_row_selected (esm, row);
-
- /* we only handle the selected case here */
- if (!selected)
- return;
-
selection_change (esm, widget);
}