aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2008-01-23 03:31:19 +0800
committerMilan Crha <mcrha@src.gnome.org>2008-01-23 03:31:19 +0800
commitc4c705ff088a448554b1eac45d3f9dce4f70f76d (patch)
tree04fdf0643feeaf2c54b8f89bf82d9866ccc76afc /addressbook
parentd9f3b04d4bffa6a75984e6784ce6f7a2fd65ff66 (diff)
downloadgsoc2013-evolution-c4c705ff088a448554b1eac45d3f9dce4f70f76d.tar.gz
gsoc2013-evolution-c4c705ff088a448554b1eac45d3f9dce4f70f76d.tar.zst
gsoc2013-evolution-c4c705ff088a448554b1eac45d3f9dce4f70f76d.zip
** Fix for bug #503551
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. svn path=/trunk/; revision=34866
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);
}