Changeset ac4f6e9


Ignore:
Timestamp:
Jul 26, 2013 2:50:31 AM (12 months ago)
Author:
yurkis <yurkis@…>
Branches:
master, 9.2-release, releng/10.0, releng/10.0.1, releng/10.0.2
Children:
6ed8c50
Parents:
bd8a798
Message:

Icons for sysupdate tray app: icons for popup menu items, icon for package updates indication. System update app icon should be changed

Location:
src-qt4/pc-systemupdatertray
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/pc-systemupdatertray/SystemUpdaterTray.qrc

    r1620346 rac4f6e9  
    11<RCC> 
    2   <qresource> 
    3     <file>folder.png</file> 
    4     <file>sysupdater.png</file> 
    5   </qresource> 
     2    <qresource prefix="/"> 
     3        <file>folder.png</file> 
     4        <file>sysupdater.png</file> 
     5        <file>images/pkgmanager.png</file> 
     6        <file>images/pkgupdates.png</file> 
     7        <file>images/warden.png</file> 
     8        <file>images/appcafe.png</file> 
     9        <file>images/view-refresh.png</file> 
     10    </qresource> 
    611</RCC> 
  • src-qt4/pc-systemupdatertray/UpdaterTray.cpp

    rdbfb772 rac4f6e9  
    111111  trayIconMenu->setIcon(contextIcon); 
    112112  trayIconMenu->addSeparator(); 
    113   trayIconMenu->addAction( tr("Start the Update Manager"), this, SLOT(slotOpenUpdateManager())); 
    114   trayIconMenu->addAction( tr("Start the Package Manager"), this, SLOT(slotOpenPackageManager())); 
     113  trayIconMenu->addAction( QIcon(":/sysupdater.png"), tr("Start the Update Manager"), this, SLOT(slotOpenUpdateManager())); 
     114  trayIconMenu->addAction( QIcon(":/images/pkgmanager.png"), tr("Start the Package Manager"), this, SLOT(slotOpenPackageManager())); 
    115115  trayIconMenu->addSeparator(); 
    116   trayIconMenu->addAction( tr("Start the AppCafe"), this, SLOT(slotOpenSoftwareManager())); 
    117   trayIconMenu->addAction( tr("Start the Warden"), this, SLOT(slotOpenJailManager())); 
     116  trayIconMenu->addAction( QIcon(":/images/appcafe.png"),    tr("Start the AppCafe"), this, SLOT(slotOpenSoftwareManager())); 
     117  trayIconMenu->addAction( QIcon(":/images/warden.png"),     tr("Start the Warden"), this, SLOT(slotOpenJailManager())); 
    118118  trayIconMenu->addSeparator(); 
    119   trayIconMenu->addAction( tr("Check for updates"), this, SLOT(slotCheckAllUpdates())); 
     119  trayIconMenu->addAction( QIcon(":/images/view-refresh.png"),tr("Check for updates"),this, SLOT(slotCheckAllUpdates())); 
    120120  trayIconMenu->addSeparator(); 
    121121  runAction = trayIconMenu->addAction( tr("Run at startup"), this, SLOT(slotChangeRunStartup()) ); 
     
    467467 
    468468  if ( programstatus == PACKAGE_UPDATE_AVAIL )  
    469      Icon.addFile(PREFIX + "/share/pcbsd/pc-systemupdatertray/images/pbiupdates.png"); 
     469     Icon.addFile(PREFIX + "/share/pcbsd/pc-systemupdatertray/images/pkgupdates.png"); 
    470470 
    471471  // If the program shows system updates available 
Note: See TracChangeset for help on using the changeset viewer.