Commit e42a3e55 authored by esoleyman's avatar esoleyman Committed by David King
Browse files

Allow headerbar to appear on all desktops

Removed gtk_dialogs_use_header() and accompanying code to allow the
headerbar to appear in GNOME as well as other desktops. Tested with
XFCE and it works as expected.

parent 3483a02c
Pipeline #282841 passed with stage
in 2 minutes and 56 seconds
......@@ -123,14 +123,8 @@ public class Cheese.MainWindow : Gtk.ApplicationWindow
GLib.Object (application: application);
header_bar = header_bar_ui.get_object ("header_bar") as Gtk.HeaderBar;
Gtk.Settings settings = Gtk.Settings.get_default ();
if (settings.gtk_dialogs_use_header)
header_bar.visible = true;
this.set_titlebar (header_bar);
header_bar.visible = true;
this.set_titlebar (header_bar);
private void set_window_title (string title)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment