mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 17:33:25 +00:00
tools: replace performance-log viewer call-graph direction icons
Use the less-ambiguous, if just as clumsy, "format-indent-more/less" icons, to stand for the caller -> callee, and callee -> caller, directions, respectively.
This commit is contained in:
parent
c537341d35
commit
c7a4eb4602
1 changed files with 3 additions and 3 deletions
|
@ -1839,7 +1839,7 @@ class ProfileViewer (Gtk.ScrolledWindow):
|
|||
header.show ()
|
||||
|
||||
if not id:
|
||||
button = Gtk.Button (tooltip_text = "Graph direction")
|
||||
button = Gtk.Button (tooltip_text = "Call-graph direction")
|
||||
header.pack_end (button)
|
||||
button.show ()
|
||||
|
||||
|
@ -2021,9 +2021,9 @@ class ProfileViewer (Gtk.ScrolledWindow):
|
|||
def update_ui (self):
|
||||
if not self.id:
|
||||
if self.direction == self.Direction.CALLEES:
|
||||
icon_name = "go-up-symbolic"
|
||||
icon_name = "format-indent-more-symbolic"
|
||||
else:
|
||||
icon_name = "go-down-symbolic"
|
||||
icon_name = "format-indent-less-symbolic"
|
||||
|
||||
self.direction_image.set_from_icon_name (icon_name,
|
||||
Gtk.IconSize.BUTTON)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue