summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2022-08-17 17:12:35 +0200
committerBastien Nocera <hadess@hadess.net>2022-08-17 17:12:35 +0200
commit3158cfb7cd5e239b14850b8228f11b4f47e6a450 (patch)
tree01476e2e5436f46c0eaf57dadfd05f2f483918ea
parentda694419aac744563c916a9b2a44d76a2cf568ca (diff)
downloadtotem-3158cfb7cd5e239b14850b8228f11b4f47e6a450.tar.gz
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")
-rw-r--r--src/totem-object.c1
1 files changed, 1 insertions, 0 deletions
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