Ignore:
Timestamp:
02/24/14 13:05:22 (5 months ago)
Author:
Ken Moore <ken@…>
Branches:
master, releng/10.0.1, releng/10.0.2
Children:
68eacde
Parents:
127b5d8
Message:

Add the mime detection to the AppCafe? backend

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/pc-softwaremanager/mainUI.cpp

    r2b9aed7 r4be3e27  
    181181      spmenu->addAction( QIcon(":icons/remove.png"),tr("Remove"),this,SLOT(slotActionRemovePath()) );   
    182182      spmenu->addAction( QIcon(":icons/add-root.png"),tr("Add (All Users)"),this,SLOT(slotActionAddPathAll()) ); 
    183     QMenu *sfmenu = shortcutMenu->addMenu( QIcon(":icons/xdg_mime.png"), tr("File Associations")); 
    184       sfmenu->addAction( QIcon(":icons/add.png"),tr("Add"),this,SLOT(slotActionAddMime()) ); 
    185       sfmenu->addAction( QIcon(":icons/remove.png"),tr("Remove"),this,SLOT(slotActionRemoveMime()) );   
    186       sfmenu->addAction( QIcon(":icons/add-root.png"),tr("Add (All Users)"),this,SLOT(slotActionAddMimeAll()) ); 
     183    sMimeMenu = shortcutMenu->addMenu( QIcon(":icons/xdg_mime.png"), tr("File Associations")); 
     184      sMimeMenu ->addAction( QIcon(":icons/add.png"),tr("Add"),this,SLOT(slotActionAddMime()) ); 
     185      sMimeMenu ->addAction( QIcon(":icons/remove.png"),tr("Remove"),this,SLOT(slotActionRemoveMime()) );   
     186      sMimeMenu ->addAction( QIcon(":icons/add-root.png"),tr("Add (All Users)"),this,SLOT(slotActionAddMimeAll()) ); 
    187187  ui->tool_install_shortcuts->setMenu(shortcutMenu); 
    188188  //Setup the binary menu for installed applications 
     
    235235    } 
    236236  } 
    237   qDebug() << "Checked Items:" << output; 
     237  //qDebug() << "Checked Items:" << output; 
    238238  return output;         
    239239} 
Note: See TracChangeset for help on using the changeset viewer.