[gnome-photos] selection-toolbar: Disable favorites button for albums
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos] selection-toolbar: Disable favorites button for albums
- Date: Tue, 19 Apr 2016 16:21:36 +0000 (UTC)
commit 7cb64e649e23f6e8e683464c2bfff8b8e19985d6
Author: Rafael Fonseca <r4f4rfs gmail com>
Date: Fri Apr 15 16:15:55 2016 +0200
selection-toolbar: Disable favorites button for albums
https://bugzilla.gnome.org/show_bug.cgi?id=764680
src/photos-selection-toolbar.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/photos-selection-toolbar.c b/src/photos-selection-toolbar.c
index f2a7022..2c6090a 100644
--- a/src/photos-selection-toolbar.c
+++ b/src/photos-selection-toolbar.c
@@ -214,6 +214,7 @@ photos_selection_toolbar_set_item_visibility (PhotosSelectionToolbar *self)
item = PHOTOS_BASE_ITEM (photos_base_manager_get_object_by_id (self->item_mngr, urn));
show_collection = show_collection && !photos_base_item_is_collection (item);
+ show_favorite = show_favorite && !photos_base_item_is_collection (item);
if (photos_base_item_is_favorite (item))
fav_count++;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]