[gnome-photos/wip/facebook] preview-nav-buttons: Always evaluate their visibility when showing
- From: Álvaro Peña <alvaropg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos/wip/facebook] preview-nav-buttons: Always evaluate their visibility when showing
- Date: Fri, 22 Nov 2013 21:57:14 +0000 (UTC)
commit 8600eb123440bd2343fffdafc99fb8f888a82ff0
Author: Debarshi Ray <debarshir gnome org>
Date: Mon Sep 2 14:41:21 2013 +0200
preview-nav-buttons: Always evaluate their visibility when showing
Otherwise the previous and next buttons are not hidden when you reach
the beginning or end while navigating within the preview.
src/photos-preview-nav-buttons.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/photos-preview-nav-buttons.c b/src/photos-preview-nav-buttons.c
index afeb91a..d41b074 100644
--- a/src/photos-preview-nav-buttons.c
+++ b/src/photos-preview-nav-buttons.c
@@ -585,7 +585,5 @@ photos_preview_nav_buttons_show (PhotosPreviewNavButtons *self)
PhotosPreviewNavButtonsPrivate *priv = self->priv;
priv->visible = TRUE;
- photos_preview_nav_buttons_fade_in_button (self, priv->prev_widget);
- photos_preview_nav_buttons_fade_in_button (self, priv->next_widget);
- photos_preview_nav_buttons_fade_in_button (self, priv->toolbar_widget);
+ photos_preview_nav_buttons_update_visibility (self);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]