My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
  Advanced search   Search tips   Subscriptions
Issue 956: Arora doesn't use the system icon theme
1 person starred this issue and may be notified of changes. Back to list
Status:  Invalid
Owner:  ----
Closed:  May 2012

Sign in to add a comment
Reported by, May 8, 2012
Currently, the icons Arora uses in its toolbar and menus are quite obviously not the icons specified by the system icon theme.

The proper approach to loading toolbar and application icons in a Qt4 app is, with the refresh icon as an example, to use QIcon::fromTheme("view-refresh"); 

view-refresh is taken from the XDG icon-naming spec and fromTheme will search the system icon theme, then the fallback theme, then the :\icons resource path.

Ideally, you would install any icons not covered by the icon-naming spec in the appropriate size and category subfolders of the fallback theme at $PREFIX/share/icons/hicolor/

Failing that, you can specify a QIcon to use as a fallback via the second argument to fromTheme.

Here is all the relevant documentation: (Icon lookup semantics)

May 9, 2012
Project Member #1
Currently the code uses QIcon::FromTheme, for example from browserwindow.cpp


Refresh uses by the way the Qt standard that supersedes view-refresh

m_reloadIcon = style()->standardIcon(QStyle::SP_BrowserReload);

If you want to provide a specific example you can re-open this bug.
Status: Invalid
May 9, 2012
Since posting this, I've found that something's messed up with my theming setup and pure Qt apps (as opposed to ones also using kdelibs) are getting a different icon theme than everything else on the system. (KDE, Pure GTK+, etc.)

My bad.
Sign in to add a comment

Powered by Google Project Hosting