Keep project folder open when loading request
This commit is contained in:
parent
b042b9cb30
commit
8ca7bd0baf
@ -29,7 +29,7 @@
|
||||
<property name="spacing">0</property>
|
||||
|
||||
<child>
|
||||
<object class="GtkBox">
|
||||
<object class="GtkBox" id="header_box">
|
||||
<property name="orientation">horizontal</property>
|
||||
<property name="spacing">6</property>
|
||||
<property name="margin-start">6</property>
|
||||
|
||||
@ -27,6 +27,7 @@ class ProjectItem(Gtk.Box):
|
||||
|
||||
__gtype_name__ = 'ProjectItem'
|
||||
|
||||
header_box = Gtk.Template.Child()
|
||||
project_icon = Gtk.Template.Child()
|
||||
name_label = Gtk.Template.Child()
|
||||
requests_revealer = Gtk.Template.Child()
|
||||
@ -51,7 +52,7 @@ class ProjectItem(Gtk.Box):
|
||||
# Click gesture for header
|
||||
gesture = Gtk.GestureClick.new()
|
||||
gesture.connect('released', self._on_header_clicked)
|
||||
self.add_controller(gesture)
|
||||
self.header_box.add_controller(gesture)
|
||||
|
||||
def _setup_actions(self):
|
||||
"""Setup action group for menu."""
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user