Add more icon search paths

This commit is contained in:
Kevin Lange 2015-05-02 18:57:49 -07:00
parent 648aedc0a4
commit c661e3073d
3 changed files with 7 additions and 0 deletions

1
.gitignore vendored
View File

@ -50,6 +50,7 @@ hdd/usr/share/man
hdd/usr/share/tabset
hdd/usr/share/terminfo
hdd/usr/share/vim
hdd/usr/share/icons/external
initrd
initrd/bin/*
initrd/boot

View File

@ -362,8 +362,11 @@ static void handle_key_event(struct yutani_msg_key_event * ke) {
/* Default search paths for icons, in order of preference */
static char * icon_directories[] = {
"/usr/share/icons/24",
"/usr/share/icons/external/24",
"/usr/share/icons/48",
"/usr/share/icons/external/48",
"/usr/share/icons",
"/usr/share/icons/external",
NULL
};

View File

@ -58,8 +58,11 @@ static volatile int _continue = 1;
/* Default search paths for icons, in order of preference */
static char * icon_directories[] = {
"/usr/share/icons/48",
"/usr/share/icons/external/48",
"/usr/share/icons/24",
"/usr/share/icons/external/24",
"/usr/share/icons",
"/usr/share/icons/external",
NULL
};