Skip to content

Commit e088bef

Browse files
committed
Added ~/.local/share/pixmaps to search path for themed icon
1 parent 3466805 commit e088bef

4 files changed

Lines changed: 5 additions & 3 deletions

File tree

LFSDock/LFSDock/src/taskBar.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ bool taskListCB(void* p,void* ud)
155155

156156
Window doTreeWalkForTasks(Window wind)
157157
{
158-
Window root,parent;
158+
Window root,parent;
159159
Window *children;
160160
Window thewin;
161161
unsigned int n_children;

LFSToolKit/ChangeLog

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
0.7.0
2+
Added ~/.local/share/pixmaps to search path for themed icon.
23
Fixed cairo surfaces not being created/resized properly.
34
Fixed minor update glitch.
45
Ignore lines beginning with '#' when using LFSTK_loadVarsFromFile from prefs class.

LFSToolKit/LFSToolKit/lfstk/LFSTKLib.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ void LFSTK_lib::LFSTK_setUseTheme(bool use)
550550
*/
551551
#define GLOBALICONS 0
552552
#define GLOBALPIXMAPS 2
553-
#define GLOBALPIXMAPSEND 5
553+
#define GLOBALPIXMAPSEND 6
554554

555555
/**
556556
* Find a themed icon.
@@ -584,6 +584,7 @@ std::string LFSTK_lib::LFSTK_findThemedIcon(std::string theme,std::string icon,s
584584
iconfolders[2]="/usr/share/pixmaps";
585585
iconfolders[3]="/usr/share/icons/hicolor";
586586
iconfolders[4]="~/.local/share/icons";
587+
iconfolders[5]="~/.local/share/pixmaps";
587588

588589
for(int j=GLOBALICONS;j<GLOBALPIXMAPS;j++)
589590
{

LFSToolKit/config.h.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
/* Define to the version of this package. */
5555
#undef PACKAGE_VERSION
5656

57-
/* Define to 1 if all of the C90 standard headers exist (not just the ones
57+
/* Define to 1 if all of the C89 standard headers exist (not just the ones
5858
required in a freestanding environment). This macro is provided for
5959
backward compatibility; new code need not use it. */
6060
#undef STDC_HEADERS

0 commit comments

Comments
 (0)