[gnome-photos] application: Exit selection mode once a share point is selected



commit d342902c76ffd4b53301649b5280aba045ace78c
Author: Debarshi Ray <debarshir gnome org>
Date:   Wed Aug 24 15:16:17 2016 +0200

    application: Exit selection mode once a share point is selected

 src/photos-application.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/photos-application.c b/src/photos-application.c
index 624433a..2b2f5d4 100644
--- a/src/photos-application.c
+++ b/src/photos-application.c
@@ -1382,6 +1382,8 @@ photos_application_share_response (GtkDialog *dialog, gint response_id, gpointer
   item = photos_application_get_selection_or_active_item (self);
   g_return_if_fail (item != NULL);
 
+  photos_selection_controller_set_selection_mode (self->sel_cntrlr, FALSE);
+
   g_application_hold (G_APPLICATION (self));
   g_application_mark_busy (G_APPLICATION (self));
   photos_share_point_share_async (share_point, item, NULL, photos_application_share_share, self);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]