Ignore:
Timestamp:
09/28/13 19:30:40 (9 years ago)
Author:
nit
Message:

[titan] fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/skinadjust.h

    r23686 r23974  
    1414        struct skin* topoffset = getscreennode(skinadjust, "topoffset");
    1515        struct skin* bottomoffset = getscreennode(skinadjust, "bottomoffset");
    16         struct skin* piconpath = getscreennode(skinadjust, "piconpath");
    1716        struct skin* showrecfreesize = getscreennode(skinadjust, "showrecfreesize");
    1817        struct skin* listboxselect = getscreennode(skinadjust, "listboxselect");
     
    4342        changeinput(bottomoffset, "0\n10\n20\n30\n40\n50\n60\n70\n80\n90\n100");
    4443        setchoiceboxselection(bottomoffset, getconfig("fbbottomoffset", NULL));
    45 
    46         //hide picon path, set it fix to /mnt/swapextensions/usr/local/share/titan/picons
    47   piconpath->hidden = YES;
    48   addchoicebox(piconpath, "/mnt/swapextensions/usr/local/share/titan/picons", _("Flash (permanent)"));
    49         addchoicebox(piconpath, "/var/swap/usr/local/share/titan/picons", _("Stick or HDD"));
    50         addchoicebox(piconpath, "/var/usr/local/share/titan/picons", _("Flash (temporary)"));
    51         setchoiceboxselection(piconpath, getconfig("piconpath", NULL));
    5244
    5345        oleftoffset = getconfigint("fbleftoffset", NULL);
     
    133125                        addskinconfigscreencheck("osdtransparent", osdtransparent, "0");
    134126                        setosdtransparent(getskinconfigint("osdtransparent", NULL));
    135                         addconfigscreen("piconpath", piconpath);
    136127                        addconfigscreencheck("showrecfreesize", showrecfreesize, "0");
    137128                        status.showrecfreesize = getconfigint("showrecfreesize", NULL);
    138 
    139                         /*
    140                         if(listbox->select != NULL && ostrcmp(listbox->select->name, "piconpath") == 0)
    141                         {
    142                                 clearscreen(skinadjust);
    143                                 ret = screendir(listbox->select->ret, "", NULL, NULL, NULL, NULL, 0, "SELECT", 0, NULL, 0, NULL, 0, 700, 0, 650, 0, 0);
    144                                 if(ret != NULL)
    145                                         changeinput(listbox->select, ret);
    146                                 free(ret);
    147 
    148                                 drawscreen(skinadjust, 0, 0);
    149                                 continue;
    150                         }
    151                         */
    152129
    153130      writeskinconfigtmp();
Note: See TracChangeset for help on using the changeset viewer.