[gnome-tweaks] Use Gtk.HeaderBar instead of Handy.HeaderBar.
- From: Evan Welsh <ewlsh src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-tweaks] Use Gtk.HeaderBar instead of Handy.HeaderBar.
- Date: Fri, 23 Oct 2020 23:30:45 +0000 (UTC)
commit d85485dd4bee8c5a51abaee21a564355f57adb80
Author: Evan Welsh <contact evanwelsh com>
Date: Fri Oct 23 18:12:43 2020 -0500
Use Gtk.HeaderBar instead of Handy.HeaderBar.
Handy.HeaderBar doesn't offer any additional features we need, so let's stick with Gtk.HeaderBar for now.
gtweak/tweakview.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gtweak/tweakview.py b/gtweak/tweakview.py
index a02e52d3..c2843998 100644
--- a/gtweak/tweakview.py
+++ b/gtweak/tweakview.py
@@ -71,9 +71,9 @@ class Window(Gtk.ApplicationWindow):
header.connect("notify::visible-child", self._update_decorations)
header.connect("notify::fold", self._update_decorations)
- left_header = Handy.HeaderBar()
+ left_header = Gtk.HeaderBar()
left_header.props.show_close_button = True
- right_header = Handy.HeaderBar()
+ right_header = Gtk.HeaderBar()
right_header.props.show_close_button = True
right_header.props.hexpand = True
@@ -128,8 +128,8 @@ class Window(Gtk.ApplicationWindow):
header.child_set(right_header, name="content")
self.header_group = Handy.HeaderGroup()
- self.header_group.add_header_bar(left_header)
- self.header_group.add_header_bar(right_header)
+ self.header_group.add_gtk_header_bar(left_header)
+ self.header_group.add_gtk_header_bar(right_header)
self.hsize_group.add_widget(left_header)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]