author | andyq <andyq> | 2003-01-12 00:41:12 (UTC) |
---|---|---|
committer | andyq <andyq> | 2003-01-12 00:41:12 (UTC) |
commit | 24d26d4255c323b4b6cd47c0bcce8bcc126d35ee (patch) (unidiff) | |
tree | d748641d8a82c9443ae9c502832c52309e4f557c | |
parent | e3fa5685865712ca930d9124b974506766e7b11e (diff) | |
download | opie-24d26d4255c323b4b6cd47c0bcce8bcc126d35ee.zip opie-24d26d4255c323b4b6cd47c0bcce8bcc126d35ee.tar.gz opie-24d26d4255c323b4b6cd47c0bcce8bcc126d35ee.tar.bz2 |
Changed Packages meu to Actions to allow icons to fit on same line
-rw-r--r-- | noncore/settings/aqpkg/mainwin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/settings/aqpkg/mainwin.cpp b/noncore/settings/aqpkg/mainwin.cpp index e489d2d..1a2ac37 100644 --- a/noncore/settings/aqpkg/mainwin.cpp +++ b/noncore/settings/aqpkg/mainwin.cpp | |||
@@ -87,25 +87,25 @@ MainWindow :: MainWindow() | |||
87 | actionDownload = new QAction( tr( "Download" ), iconDownload, QString::null, 0, this, 0 ); | 87 | actionDownload = new QAction( tr( "Download" ), iconDownload, QString::null, 0, this, 0 ); |
88 | actionDownload->setWhatsThis( tr( "Click here to download the currently selected package(s)." ) ); | 88 | actionDownload->setWhatsThis( tr( "Click here to download the currently selected package(s)." ) ); |
89 | connect( actionDownload, SIGNAL( activated() ), networkPkgWindow, SLOT( downloadPackage() ) ); | 89 | connect( actionDownload, SIGNAL( activated() ), networkPkgWindow, SLOT( downloadPackage() ) ); |
90 | actionDownload->addTo( popup ); | 90 | actionDownload->addTo( popup ); |
91 | actionDownload->addTo( bar ); | 91 | actionDownload->addTo( bar ); |
92 | 92 | ||
93 | a = new QAction( tr( "Apply changes" ), Resource::loadPixmap( "aqpkg/apply" ), QString::null, 0, this, 0 ); | 93 | a = new QAction( tr( "Apply changes" ), Resource::loadPixmap( "aqpkg/apply" ), QString::null, 0, this, 0 ); |
94 | a->setWhatsThis( tr( "Click here to install, remove or upgrade currently selected package(s)." ) ); | 94 | a->setWhatsThis( tr( "Click here to install, remove or upgrade currently selected package(s)." ) ); |
95 | connect( a, SIGNAL( activated() ), networkPkgWindow, SLOT( applyChanges() ) ); | 95 | connect( a, SIGNAL( activated() ), networkPkgWindow, SLOT( applyChanges() ) ); |
96 | a->addTo( popup ); | 96 | a->addTo( popup ); |
97 | a->addTo( bar ); | 97 | a->addTo( bar ); |
98 | 98 | ||
99 | mb->insertItem( tr( "Packages" ), popup ); | 99 | mb->insertItem( tr( "Actions" ), popup ); |
100 | 100 | ||
101 | // View menu | 101 | // View menu |
102 | popup = new QPopupMenu( this ); | 102 | popup = new QPopupMenu( this ); |
103 | 103 | ||
104 | actionUninstalled = new QAction( tr( "Show packages not installed" ), QString::null, 0, this, 0 ); | 104 | actionUninstalled = new QAction( tr( "Show packages not installed" ), QString::null, 0, this, 0 ); |
105 | actionUninstalled->setToggleAction( TRUE ); | 105 | actionUninstalled->setToggleAction( TRUE ); |
106 | actionUninstalled->setWhatsThis( tr( "Click here to show packages available which have not been installed." ) ); | 106 | actionUninstalled->setWhatsThis( tr( "Click here to show packages available which have not been installed." ) ); |
107 | connect( actionUninstalled, SIGNAL( activated() ), this, SLOT( filterUninstalledPackages() ) ); | 107 | connect( actionUninstalled, SIGNAL( activated() ), this, SLOT( filterUninstalledPackages() ) ); |
108 | actionUninstalled->addTo( popup ); | 108 | actionUninstalled->addTo( popup ); |
109 | 109 | ||
110 | actionInstalled = new QAction( tr( "Show installed packages" ), QString::null, 0, this, 0 ); | 110 | actionInstalled = new QAction( tr( "Show installed packages" ), QString::null, 0, this, 0 ); |
111 | actionInstalled->setToggleAction( TRUE ); | 111 | actionInstalled->setToggleAction( TRUE ); |