Ignore:
Timestamp:
06/11/13 10:23:06 (19 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, 9.2-release, releng/10.0, releng/10.0.1, releng/10.0.2, releng/10.0.3, releng/10.1
Children:
fb928f2, 5dbb9c2
Parents:
154e0cc
Message:

Fix the updater tray to show the new Package Manager when right-clicked, and
when new package updates are available, show the correct bubble popup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/pc-systemupdatertray/UpdaterTray.cpp

    r304095c ra071509  
    2626#define SYSTEM_UP2DATE 0 
    2727#define SYSTEM_UPDATE_AVAIL 1 
    28 #define PACKAGE_UPDATE_AVAIL 1 
     28#define PACKAGE_UPDATE_AVAIL 2 
    2929#define SYSTEM_CHECKING4UPDATES 4 
    3030#define SYSTEM_UPDATING 5 
     
    112112  trayIconMenu->addSeparator(); 
    113113  trayIconMenu->addAction( tr("Start the Update Manager"), this, SLOT(slotOpenUpdateManager())); 
     114  trayIconMenu->addAction( tr("Start the Package Manager"), this, SLOT(slotOpenPackageManager())); 
     115  trayIconMenu->addSeparator(); 
    114116  trayIconMenu->addAction( tr("Start the AppCafe"), this, SLOT(slotOpenSoftwareManager())); 
    115117  trayIconMenu->addAction( tr("Start the Warden"), this, SLOT(slotOpenJailManager())); 
     
    753755{ 
    754756        disconnect(trayIcon, SIGNAL(messageClicked()), 0, 0 ); 
    755         trayIcon->showMessage(tr("System Updates Available"), tr("Important package updates are available. Click here to install them!"), QSystemTrayIcon::Critical); 
     757        trayIcon->showMessage(tr("Package Updates Available"), tr("Important package updates are available. Click here to install them!"), QSystemTrayIcon::Critical); 
    756758        connect( trayIcon, SIGNAL(messageClicked()), this, SLOT(slotOpenPackageManager()) ); 
    757759} 
Note: See TracChangeset for help on using the changeset viewer.