Skip to content

Commit

Permalink
Change the toggle-player toolbar item icon
Browse files Browse the repository at this point in the history
Since some recent versions of Adwaita, action icons on the toolbar are now
symbolic. This one icon broke that consistency, probably because we were
misusing a mimetype icon there and no symbolic versions of those are available.
Hopefully this works with other themes too, haven't tested.
  • Loading branch information
otsaloma committed Dec 27, 2023
1 parent 6799826 commit 4fa64c4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
PENDING: Gaupol 1.14
====================

* Change the icon for the toggle video player toolbar item to an action
icon (not mimetype) that has a symbolic version available

2023-10-08: Gaupol 1.13
=======================

Expand Down
2 changes: 1 addition & 1 deletion gaupol/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ def _init_main_toolbar(self, vbox):
self.main_toolbar.insert(button, -1)
# win.toggle-player
button = Gtk.ToggleToolButton(
label=_("Video"), icon_name="video-x-generic")
label=_("Video"), icon_name="camera-video")
button.set_action_name("win.toggle-player")
button.set_tooltip_text(_("Show or hide the video player"))
self.main_toolbar.insert(button, -1)
Expand Down

0 comments on commit 4fa64c4

Please sign in to comment.