Home_greyopenFATE - openSUSE feature tracking > #306356
Dashboard | Search | Sign up | Login

Please login or register to be able to edit or vote this feature.

Icons in YaST: Use /usr/share/icons/hicolor/ as a fallback

Feature state



YaST icons are expected to be in
directory but the list of icons is fixed because the
is a symlink to the currently installed and selected theme-directory which is different for openSUSE or SLES. If another (e.g., 3rd party) YaST module wants to add its own icon, it has to put it into the
directory which will change when using another YaST theme.

The proposal is simple: If an icon is not found in the
theme, try to use
as a fallback.

User benefit:

3rd party add-ons with YaST modules, Our own add-ons with YaST modules (SMT, OES)...


icons/user_comment.png C. T. wrote: (9 years ago)

Makes a lot of sense to me with regard to appliances and custom YaST themes.

icons/user_comment.png K. M. wrote: (9 years ago)

Done in yast2-control-center-qt

icons/user_comment.png K. M. wrote: (9 years ago)

Done also in yast2-libyui and yast2-qt. Instead of one global icon search path there can now be several search paths and they're traversed until the correct icon is found. This is done transparently for UIs on libyui level (for selection-like widgets).

Note I've kept the global search path in mostly for compatibility reasons, in order not to break Gtk UI (since I don't speak Gtk and can't adjust the code myself) but I'd like to drop it eventually. Also icons in IconButton type of widget currently do not work in Gtk, but that does not matter, as they're not used anywhere in YaST.

Once the Gtk part is settled, we can set this to 'done'

icons/user_comment.png K. M. wrote: (8 years ago)

yast2-qt, yast2-qt-pkg and yast2-libyui got backported to SLE11SP1 as a whole within package mgmt stack backport, so we got desired functionality there for free.

Now backported also to Qt3 control centre.

Last change: 8 years ago
Loading tags...
Feature Export
Application-xmlXML   Text-x-logPlaintext   PrinterPrint