summaryrefslogtreecommitdiff
path: root/noncore
authortille <tille>2002-07-06 15:26:04 (UTC)
committer tille <tille>2002-07-06 15:26:04 (UTC)
commit7fcf35f1632134cc9f0b3d38949864df3df59c4c (patch) (side-by-side diff)
tree1c3ef72622877e4d9b59fd73880fa8ffe7936897 /noncore
parent76685f88ebcfd475c2d3c6d8c69271883053b09f (diff)
downloadopie-7fcf35f1632134cc9f0b3d38949864df3df59c4c.zip
opie-7fcf35f1632134cc9f0b3d38949864df3df59c4c.tar.gz
opie-7fcf35f1632134cc9f0b3d38949864df3df59c4c.tar.bz2
cmd line dialog
Diffstat (limited to 'noncore') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/oipkg/mainwindow.cpp4
-rw-r--r--noncore/unsupported/oipkg/pmipkg.cpp10
-rw-r--r--noncore/unsupported/oipkg/pmipkg.h2
3 files changed, 11 insertions, 5 deletions
diff --git a/noncore/unsupported/oipkg/mainwindow.cpp b/noncore/unsupported/oipkg/mainwindow.cpp
index 53db477..d1be8d0 100644
--- a/noncore/unsupported/oipkg/mainwindow.cpp
+++ b/noncore/unsupported/oipkg/mainwindow.cpp
@@ -54,3 +54,3 @@ MainWindow::MainWindow( QWidget *parent, const char *name, WFlags f ) :
listViewPackages->addList( tr("feeds"), &packageListServers );
- listViewPackages->addList( tr("ipkgfind"), &packageListSearch );
+ listViewPackages->addList( tr("ipkgfind&killefiz"), &packageListSearch );
listViewPackages->addList( tr("documents"), &packageListDocLnk );
@@ -194,3 +194,3 @@ void MainWindow::makeMenu()
addToolBar( searchBar, "Search", QMainWindow::Top, TRUE );
- label = new QLabel( tr("ipkgfind: "), searchBar );
+ label = new QLabel( tr("Search: "), searchBar );
// label->setBackgroundMode( PaletteForeground );
diff --git a/noncore/unsupported/oipkg/pmipkg.cpp b/noncore/unsupported/oipkg/pmipkg.cpp
index d29036b..71e9b88 100644
--- a/noncore/unsupported/oipkg/pmipkg.cpp
+++ b/noncore/unsupported/oipkg/pmipkg.cpp
@@ -27,3 +27,3 @@
#include <qtextview.h>
-
+#include <qmessagebox.h>
#include <qprogressbar.h>
@@ -41,3 +41,3 @@
PmIpkg::PmIpkg( PackageManagerSettings* s, QWidget* p, const char * name, WFlags f )
- : QObject ( p )
+ : QObject ( p ), shellWarning(true)
{
@@ -158,2 +158,8 @@ bool PmIpkg::runIpkg(const QString& args, const QString& dest )
pclose(fp);
+ if (!ret && shellWarning)
+ {
+ shellWarning = false;
+ QMessageBox::critical( runwindow, tr("install failure"),
+ tr("<p>Did you start me from the command line?</p>"));
+ }
#endif
diff --git a/noncore/unsupported/oipkg/pmipkg.h b/noncore/unsupported/oipkg/pmipkg.h
index 28bc5dd..662800a 100644
--- a/noncore/unsupported/oipkg/pmipkg.h
+++ b/noncore/unsupported/oipkg/pmipkg.h
@@ -40,3 +40,2 @@ public:
void show();
- /** No descriptions */
void clearLists();
@@ -56,2 +55,3 @@ public slots:
private:
+ bool shellWarning;
OProcess *ipkgProcess;