Remove arrow icons from project folders in sidebar
This commit is contained in:
parent
0d2a70f425
commit
e758793423
@ -33,12 +33,6 @@
|
|||||||
<property name="margin-top">6</property>
|
<property name="margin-top">6</property>
|
||||||
<property name="margin-bottom">6</property>
|
<property name="margin-bottom">6</property>
|
||||||
|
|
||||||
<child>
|
|
||||||
<object class="GtkImage" id="expand_icon">
|
|
||||||
<property name="icon-name">go-next-symbolic</property>
|
|
||||||
</object>
|
|
||||||
</child>
|
|
||||||
|
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkImage" id="project_icon">
|
<object class="GtkImage" id="project_icon">
|
||||||
<property name="icon-name">folder-symbolic</property>
|
<property name="icon-name">folder-symbolic</property>
|
||||||
|
|||||||
@ -27,7 +27,6 @@ class ProjectItem(Gtk.Box):
|
|||||||
|
|
||||||
__gtype_name__ = 'ProjectItem'
|
__gtype_name__ = 'ProjectItem'
|
||||||
|
|
||||||
expand_icon = Gtk.Template.Child()
|
|
||||||
project_icon = Gtk.Template.Child()
|
project_icon = Gtk.Template.Child()
|
||||||
name_label = Gtk.Template.Child()
|
name_label = Gtk.Template.Child()
|
||||||
requests_revealer = Gtk.Template.Child()
|
requests_revealer = Gtk.Template.Child()
|
||||||
@ -92,8 +91,6 @@ class ProjectItem(Gtk.Box):
|
|||||||
"""Toggle expansion."""
|
"""Toggle expansion."""
|
||||||
self.expanded = not self.expanded
|
self.expanded = not self.expanded
|
||||||
self.requests_revealer.set_reveal_child(self.expanded)
|
self.requests_revealer.set_reveal_child(self.expanded)
|
||||||
icon_name = "go-down-symbolic" if self.expanded else "go-next-symbolic"
|
|
||||||
self.expand_icon.set_from_icon_name(icon_name)
|
|
||||||
|
|
||||||
def refresh(self):
|
def refresh(self):
|
||||||
"""Refresh from project data."""
|
"""Refresh from project data."""
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user