Skip to content

Commit

Permalink
[window-buttons] Take into account LOCAL_PATH for fallback icons lookup
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielfin authored and flexiondotorg committed Jun 18, 2019
1 parent 7d71d88 commit 8bafa0a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion window-buttons-applet/window-buttons-theme.vala
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,12 @@ namespace WindowWidgets {
else
theme = "Black";

string[] paths = {"/usr/share/pixmaps/mate-window-applets/" + theme};
#if LOCAL_PATH
string[] paths = {"/usr/local/share/pixmaps/mate-window-applets/" + theme};
#else
string[] paths = {"/usr/share/pixmaps/mate-window-applets/" + theme};
#endif

load_icons(paths);
}

Expand Down

0 comments on commit 8bafa0a

Please sign in to comment.