diff options
author | Bastien Nocera <hadess@hadess.net> | 2022-08-17 17:12:35 +0200 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2022-08-17 17:12:35 +0200 |
commit | 3158cfb7cd5e239b14850b8228f11b4f47e6a450 (patch) | |
tree | 01476e2e5436f46c0eaf57dadfd05f2f483918ea /src/totem-object.c | |
parent | da694419aac744563c916a9b2a44d76a2cf568ca (diff) | |
download | totem-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")
Diffstat (limited to 'src/totem-object.c')
-rw-r--r-- | src/totem-object.c | 1 |
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 |