From c4c705ff088a448554b1eac45d3f9dce4f70f76d Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Tue, 22 Jan 2008 19:31:19 +0000 Subject: ** Fix for bug #503551 2008-01-22 Milan Crha ** 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 --- addressbook/ChangeLog | 8 ++++++++ addressbook/gui/widgets/e-minicard-view-widget.c | 6 ------ 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 + + ** 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 ** 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); } -- cgit v1.2.3