Changeset 22453


Ignore:
Timestamp:
07/17/13 14:29:05 (11 years ago)
Author:
nit
Message:

[titan] activate bouquet sort

Location:
titan/titan
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/channellist.h

    r22301 r22453  
    793793                {
    794794                        resettvpic();
    795                         listmode = screenlistedit(list, (struct channel*)listbox->select->handle);
     795                        listmode = screenlistedit(list, (struct channel*)listbox->select->handle, aktlist);
    796796                }
    797797                if(listmode == NOMODE) goto end;
     
    868868                                resettvpic();
    869869
    870                                 listmode = screenlistedit(list, NULL);
     870                                listmode = screenlistedit(list, NULL, aktlist);
    871871                                if(listmode == MVMODE)
    872872                                {
     
    16861686
    16871687                        if(listbox->select != NULL)
    1688                                 listmode = screenlistedit(list, (struct channel*)listbox->select->handle);
     1688                                listmode = screenlistedit(list, (struct channel*)listbox->select->handle, aktlist);
    16891689                        else
    1690                                 listmode = screenlistedit(list, NULL);
     1690                                listmode = screenlistedit(list, NULL, aktlist);
    16911691                               
    16921692                        if(listmode == MVMODE)
  • titan/titan/listedit.h

    r22448 r22453  
    22#define LISTEDIT_H
    33
    4 int screenlistedit(int list, struct channel* chnode)
     4int screenlistedit(int list, struct channel* chnode, void* aktlist)
    55{
    66        int rcret = 0, ret = NOMODE, startchannel = 0;
     
    5656                delstartchannel->hidden = NO;
    5757                editmode->hidden = NO;
     58    sortmode->hidden = NO;
    5859        }
    59        
    60         if(list == ALLCHANNEL || list == SATCHANNEL || list == PROVIDERCHANNEL || list == AZCHANNEL)
    61                 sortmode->hidden = NO;
    6260
    6361        drawscreen(listedit, 0, 0);
     
    124122                        {
    125123                                drawscreen(load, 0, 0);
    126                                 sortchannel();
     124        if(list == BOUQUETCHANNEL)
     125        {
     126          if(aktlist != NULL)
     127            sortbouquet(((struct mainbouquet*)aktlist)->bouquet);
     128        }
     129        else
     130                                  sortchannel();
    127131                                clearscreen(load);
    128132                        }
Note: See TracChangeset for help on using the changeset viewer.