[cheese] Allow headerbar to appear on all desktops
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cheese] Allow headerbar to appear on all desktops
- Date: Fri, 14 May 2021 09:30:49 +0000 (UTC)
commit e42a3e55d4d82984779ce8a86aaa805897c9e438
Author: esoleyman <emil soleyman com>
Date: Wed Aug 12 12:22:01 2020 -0500
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.
https://gitlab.gnome.org/GNOME/cheese/-/issues/62
src/cheese-window.vala | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
---
diff --git a/src/cheese-window.vala b/src/cheese-window.vala
index bded2b54..e2264fdf 100644
--- a/src/cheese-window.vala
+++ b/src/cheese-window.vala
@@ -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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]