[gnome-photos/wip/rishi/zoom: 4/4] application: Enable selection actions in search



commit 9f901e01df05f7749d659b0702912736e694dd95
Author: Debarshi Ray <debarshir gnome org>
Date:   Wed Mar 29 11:05:19 2017 +0200

    application: Enable selection actions in search

 src/photos-application.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/src/photos-application.c b/src/photos-application.c
index fb74d8a..2d96741 100644
--- a/src/photos-application.c
+++ b/src/photos-application.c
@@ -354,10 +354,6 @@ photos_application_actions_update (PhotosApplication *self)
   g_simple_action_set_enabled (self->search_match_action, enable);
   g_simple_action_set_enabled (self->search_source_action, enable);
   g_simple_action_set_enabled (self->search_type_action, enable);
-
-  enable = (mode == PHOTOS_WINDOW_MODE_OVERVIEW
-            || mode == PHOTOS_WINDOW_MODE_COLLECTIONS
-            || mode == PHOTOS_WINDOW_MODE_FAVORITES);
   g_simple_action_set_enabled (self->sel_all_action, enable);
   g_simple_action_set_enabled (self->sel_none_action, enable);
 


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