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 ()
|
header.show ()
|
||||||
|
|
||||||
if not id:
|
if not id:
|
||||||
button = Gtk.Button (tooltip_text = "Graph direction")
|
button = Gtk.Button (tooltip_text = "Call-graph direction")
|
||||||
header.pack_end (button)
|
header.pack_end (button)
|
||||||
button.show ()
|
button.show ()
|
||||||
|
|
||||||
|
@ -2021,9 +2021,9 @@ class ProfileViewer (Gtk.ScrolledWindow):
|
||||||
def update_ui (self):
|
def update_ui (self):
|
||||||
if not self.id:
|
if not self.id:
|
||||||
if self.direction == self.Direction.CALLEES:
|
if self.direction == self.Direction.CALLEES:
|
||||||
icon_name = "go-up-symbolic"
|
icon_name = "format-indent-more-symbolic"
|
||||||
else:
|
else:
|
||||||
icon_name = "go-down-symbolic"
|
icon_name = "format-indent-less-symbolic"
|
||||||
|
|
||||||
self.direction_image.set_from_icon_name (icon_name,
|
self.direction_image.set_from_icon_name (icon_name,
|
||||||
Gtk.IconSize.BUTTON)
|
Gtk.IconSize.BUTTON)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue