[bijiben] selection mode: exit selection after any callback
- From: Pierre-Yves Luyten <pyluyten src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [bijiben] selection mode: exit selection after any callback
- Date: Thu, 22 Aug 2013 00:06:48 +0000 (UTC)
commit a5b94c5e3be8c419fa8caccb186d961fad6ab8be
Author: Pierre-Yves Luyten <py luyten fr>
Date: Thu Aug 22 02:06:09 2013 +0200
selection mode: exit selection after any callback
src/bjb-selection-toolbar.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/bjb-selection-toolbar.c b/src/bjb-selection-toolbar.c
index c749645..c7e7dff 100644
--- a/src/bjb-selection-toolbar.c
+++ b/src/bjb-selection-toolbar.c
@@ -93,7 +93,7 @@ action_color_selected_items (GtkWidget *w, BjbSelectionToolbar *self)
biji_note_obj_set_rgba (l->data, &color);
}
-
+ bjb_main_view_set_selection_mode (self->priv->view, FALSE);
g_list_free (selection);
}
@@ -107,6 +107,7 @@ action_tag_selected_items (GtkWidget *w, BjbSelectionToolbar *self)
bjb_note_tag_dialog_new
(GTK_WINDOW (bjb_main_view_get_window (self->priv->view)), selection);
+ bjb_main_view_set_selection_mode (self->priv->view, FALSE);
g_list_free (selection);
}
@@ -125,6 +126,7 @@ action_delete_selected_items (GtkWidget *w, BjbSelectionToolbar *self)
biji_note_book_remove_item (book, BIJI_ITEM (l->data));
}
+ bjb_main_view_set_selection_mode (self->priv->view, FALSE);
g_list_free (selection);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]