[gnome-photos/wip/cdavis/fix-header-hiding: 4/4] photos-embed: Hide titlebar on fullscreen
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos/wip/cdavis/fix-header-hiding: 4/4] photos-embed: Hide titlebar on fullscreen
- Date: Mon, 15 Feb 2021 17:59:05 +0000 (UTC)
commit 792220ac55dfa173e66c91cfa9c36791f1f0795b
Author: Christopher Davis <brainblasted disroot org>
Date: Wed Feb 10 17:48:45 2021 -0800
photos-embed: Hide titlebar on fullscreen
Fallout from 3a48fd668ada954ff97a7e5b1182f065dfc9ece2
https://gitlab.gnome.org/GNOME/gnome-photos/-/merge_requests/159
src/photos-embed.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/photos-embed.c b/src/photos-embed.c
index 9f8eac83..e82e8398 100644
--- a/src/photos-embed.c
+++ b/src/photos-embed.c
@@ -388,6 +388,8 @@ photos_embed_load_started (PhotosEmbed *self, PhotosBaseItem *item)
static void
photos_embed_fullscreen_changed (PhotosModeController *mode_cntrlr, gboolean fullscreen, gpointer user_data)
{
+ PhotosEmbed *self = PHOTOS_EMBED (user_data);
+ gtk_widget_set_visible (self->toolbar, !fullscreen);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]