Skip to content

Commit

Permalink
Integrated themes directories usage suggested by e-tobi in bug entry …
Browse files Browse the repository at this point in the history
…#1305
  • Loading branch information
Dieter Hametner committed Apr 4, 2013
1 parent 08becd2 commit c8a125a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pages/setup.ecpp
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,11 @@ if (!cUser::CurrentUserHasRightTo(UR_EDITSETUP))
<td class="rightcol"><select name="theme" size="1" id="theme">
<%cpp>
{
#if APIVERSNUM > 10729
const string dirPath(Plugin::GetResourceDirectory() + "/themes");
#else
const string dirPath(Plugin::GetConfigDirectory() + "/themes");
#endif
cReadDir d(dirPath.c_str());
struct dirent* e;
string parent("..");
Expand Down

0 comments on commit c8a125a

Please sign in to comment.