icons: Revert most of !909

Per @Jehan, this solution would prevent default icons from being loaded
in custom themes if they did not include their own version.
The only thing kept from !909 is the replacement of hardcoded strings
in a few files with constants defined in gimpicons.h.
This commit is contained in:
Alx Sa 2023-05-14 21:54:24 +00:00
parent d4f420769c
commit b2874464f5
17 changed files with 40 additions and 40 deletions

View file

@ -1416,13 +1416,13 @@ class SampleGraphList (Gtk.Box):
buttons.add (button)
button.show ()
button = Gtk.Button.new_from_icon_name ("gimp-go-up-symbolic",
button = Gtk.Button.new_from_icon_name ("go-up-symbolic",
Gtk.IconSize.BUTTON)
move_up_button = button
buttons.add (button)
button.show ()
button = Gtk.Button.new_from_icon_name ("gimp-go-down-symbolic",
button = Gtk.Button.new_from_icon_name ("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 ("gimp-go-up-symbolic",
button = Gtk.Button.new_from_icon_name ("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 ("gimp-go-down-symbolic",
button = Gtk.Button.new_from_icon_name ("go-down-symbolic",
Gtk.IconSize.BUTTON)
self.next_button = button
box.pack_end (button, False, True, 0)