mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-04 01:43:24 +00:00
icons: Restore GIMP icons replaced by GTK defaults
Five icons in the Layer dockable were being replaced by GTK defaults at runtime. A "gimp-" prefix was added so that GIMP's version would always be used. A few dialogues were fixed to use constants rather than hardcoding the filename, to make it easier to update the icon in the future.
This commit is contained in:
parent
5526bebf3c
commit
bca4535c40
21 changed files with 45 additions and 44 deletions
|
@ -1416,13 +1416,13 @@ class SampleGraphList (Gtk.Box):
|
|||
buttons.add (button)
|
||||
button.show ()
|
||||
|
||||
button = Gtk.Button.new_from_icon_name ("go-up-symbolic",
|
||||
button = Gtk.Button.new_from_icon_name ("gimp-go-up-symbolic",
|
||||
Gtk.IconSize.BUTTON)
|
||||
move_up_button = button
|
||||
buttons.add (button)
|
||||
button.show ()
|
||||
|
||||
button = Gtk.Button.new_from_icon_name ("go-down-symbolic",
|
||||
button = Gtk.Button.new_from_icon_name ("gimp-go-down-symbolic",
|
||||
Gtk.IconSize.BUTTON)
|
||||
move_down_button = button
|
||||
buttons.add (button)
|
||||
|
@ -3092,7 +3092,7 @@ class ProfileViewer (Gtk.ScrolledWindow):
|
|||
box.get_style_context ().add_class ("raised")
|
||||
box.show ()
|
||||
|
||||
button = Gtk.Button.new_from_icon_name ("go-up-symbolic",
|
||||
button = Gtk.Button.new_from_icon_name ("gimp-go-up-symbolic",
|
||||
Gtk.IconSize.BUTTON)
|
||||
self.prev_button = button
|
||||
box.pack_start (button, False, True, 0)
|
||||
|
@ -3100,7 +3100,7 @@ class ProfileViewer (Gtk.ScrolledWindow):
|
|||
|
||||
button.connect ("clicked", lambda *args: self.move (-1))
|
||||
|
||||
button = Gtk.Button.new_from_icon_name ("go-down-symbolic",
|
||||
button = Gtk.Button.new_from_icon_name ("gimp-go-down-symbolic",
|
||||
Gtk.IconSize.BUTTON)
|
||||
self.next_button = button
|
||||
box.pack_end (button, False, True, 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue