shutter-project / shutter

Screenshot tool for Linux
https://shutter-project.org/
GNU General Public License v3.0
527 stars 36 forks source link

Shutter uses deprecated GTK_STOCK icons #238

Open Photon89 opened 4 years ago

Photon89 commented 4 years ago

The tabs of shutter show an error icon instead of a correct one, caused maybe by the usage of an deprecated icon of GTK_STOCK:

Gtk-WARNING **: Error loading theme icon 'gtk-index' for stock: Format der Bilddatei unbekannt at /usr/bin/shutter line 4441.

From https://developer.gnome.org/gtk3/stable/gtk3-Stock-Items.html#GTK-STOCK-INDEX:CAPS "... GTK_STOCK_INFO has been deprecated since version 3.10 and should not be used in newly-written code.

Use named icon "dialog-information". ..."

Launchpad Details: #LP1752042 Stefan Daurer - 2018-02-27 10:10:36 +0000

Photon89 commented 4 years ago

But Shutter uses GTK2, not GTK3. Does the problem appear with a particular icon theme or with all themes?

Launchpad Details: #LPC Michael Kogan - 2018-02-27 15:38:59 +0000

Photon89 commented 4 years ago

This icon doesnt exist in any newer icon themes because of the "deprecated" stuff, so if you have a more recent install (ubuntu bionic atm), none of the tested icon themes has this icon anymore. From the second link: '... Use named icon "dialog-information".'

Launchpad Details: #LPC Stefan Daurer - 2018-02-27 16:16:51 +0000

Photon89 commented 4 years ago

Well, I am using the Faenza theme which doesn't ship the gtk-index icon as well. But Shutter falls back to some icon which seems to be neither shipped with Shutter itself nor part of the Faenza theme.

"dialog-information" shows something with an "i", which is fitting to substitute "gtk-info" but not really fitting for the session tab. And gtk-index seems to have been removed without a proper substitution...

Launchpad Details: #LPC Michael Kogan - 2018-02-27 18:41:56 +0000