[totem/wip/hadess/fix-fullscreen-headerbar] main: Fix fullscreen header bar not showing up
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem/wip/hadess/fix-fullscreen-headerbar] main: Fix fullscreen header bar not showing up
- Date: Wed, 17 Aug 2022 15:18:05 +0000 (UTC)
commit 3158cfb7cd5e239b14850b8228f11b4f47e6a450
Author: Bastien Nocera <hadess hadess net>
Date: Wed Aug 17 17:12:35 2022 +0200
main: Fix fullscreen header bar not showing up
We replaced totem_interface_load() with simply
gtk_builder_new_from_resource(), but this helper also used to run
gtk_builder_connect_signals().
Do that to fix the fullscreen header bar not showing up.
Fixes: d5b2ae4 ("main: Build main window from resource")
src/totem-object.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/totem-object.c b/src/totem-object.c
index eb35c8b74..02fe7a709 100644
--- a/src/totem-object.c
+++ b/src/totem-object.c
@@ -221,6 +221,7 @@ totem_object_app_activate (GApplication *app)
/* Main window */
totem->xml = gtk_builder_new_from_resource ("/org/gnome/totem/ui/totem.ui");
+ gtk_builder_connect_signals (totem->xml, totem);
totem->bvw = BACON_VIDEO_WIDGET (gtk_builder_get_object (totem->xml, "bvw"));
totem->win = GTK_WIDGET (gtk_builder_get_object (totem->xml, "totem_main_window"));
#if DEVELOPMENT_VERSION
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]