Changeset 18626


Ignore:
Timestamp:
11/17/12 15:47:35 (11 years ago)
Author:
obi
Message:

[titan] fix filemanager rename/create folder and fix po

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/plugins/filemanager/filemanager.h

    r18599 r18626  
    77
    88        if(filelistpath1 == NULL || filelistpath2 == NULL)
    9         {
    10                 printf("1111\n");
    11                 return;
    12         }
     9                return;
     10
    1311        if(filelist1 == NULL || filelist1->select == NULL)
    14         {
    15                 printf("2222\n");
    16                 return;
    17         }
     12                return;
     13
    1814        if(filelist2 == NULL || filelist2->select == NULL)
    19         {
    20                 printf("3333\n");
    21                 return;
    22         }
     15                return;
    2316
    2417        if(aktfilelist == 0)
     
    2619        else
    2720                tmpstr = ostrcat(filelist2->select->text, NULL, 0, 0);
    28 
    29         printf("4444\n");
    3021               
    3122        char* search = textinput(_("Rename"), tmpstr);
     
    6657
    6758        if(filelistpath1 == NULL || filelistpath2 == NULL)
    68         {
    69                 printf("1111\n");
    70                 return;
    71         }
     59                return;
     60
    7261        if(filelist1 == NULL || filelist1->select == NULL)
    73         {
    74                 printf("2222\n");
    75                 return;
    76         }
     62                return;
     63
    7764        if(filelist2 == NULL || filelist2->select == NULL)
    78         {
    79                 printf("3333\n");
    80                 return;
    81         }
     65                return;
    8266
    8367        char* search = textinputhist(_("Create Folder"), " ", "searchhist");
     
    9882}
    9983                       
    100 void filemanagermenu(int aktfilelist, struct skin* filelist, struct skin* filelist1, struct skin* filelistpath1, struct skin* filelist2, struct skin* filelistpath2)
     84void filemanagermenu(int aktfilelist, struct skin* filelist1, struct skin* filelistpath1, struct skin* filelist2, struct skin* filelistpath2)
    10185{
    10286        struct menulist* mlist = NULL, *mbox = NULL;
     
    307291                        if(rcret == getrcconfigint("rcmenu", NULL))
    308292                        {
    309                                 filemanagermenu(aktfilelist, filemanager, filemanager1, filelistpath1, filemanager2, filelistpath2);
     293                                filemanagermenu(aktfilelist, filelist1, filelistpath1, filelist2, filelistpath2);
    310294
    311295                                drawscreen(filemanager, 0, 1);
Note: See TracChangeset for help on using the changeset viewer.