summaryrefslogtreecommitdiff
path: root/noncore/apps
authortille <tille>2002-06-30 10:22:33 (UTC)
committer tille <tille>2002-06-30 10:22:33 (UTC)
commit1c6b25945236e3d6e4dd611ec6fc6003d5f87280 (patch) (side-by-side diff)
tree3d597ff89c347011b1b8fc16d4df090253b18520 /noncore/apps
parente8f9839b1650d202548c5730d3ff110d5242a499 (diff)
downloadopie-1c6b25945236e3d6e4dd611ec6fc6003d5f87280.zip
opie-1c6b25945236e3d6e4dd611ec6fc6003d5f87280.tar.gz
opie-1c6b25945236e3d6e4dd611ec6fc6003d5f87280.tar.bz2
with control file
Diffstat (limited to 'noncore/apps') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/confedit/mainwindow.cpp6
-rw-r--r--noncore/apps/confedit/opie-confedit.control10
2 files changed, 14 insertions, 2 deletions
diff --git a/noncore/apps/confedit/mainwindow.cpp b/noncore/apps/confedit/mainwindow.cpp
index 17a5058..fc403d2 100644
--- a/noncore/apps/confedit/mainwindow.cpp
+++ b/noncore/apps/confedit/mainwindow.cpp
@@ -74,6 +74,7 @@ MainWindow::MainWindow( QWidget *parent, const char *name, WFlags f ) :
qDebug("connect");
connect( settingList, SIGNAL( clicked( QListViewItem* ) ),
this, SLOT( stopTimer( QListViewItem* ) ) );
+ setCurrent(0);
}
void MainWindow::makeMenu()
@@ -119,18 +120,19 @@ MainWindow::~MainWindow()
void MainWindow::setCurrent(QListViewItem *item)
{
+ editor->hide();
if (!item) return;
_item = (ListViewItemConf*) item;
if (!_item) return;
popupTimer->start( 750, true );
if (_item->getType() == ListViewItemConf::File)
{
- editor->hide();
updateGeometry();
_currentItem=0;
_fileItem = (ListViewItemConfFile*)item;
return;
- }else editor->show();
+ }
+ editor->show();
_fileItem = 0;
_currentItem = (ListViewItemConfigEntry*)item;
if (!_currentItem) return;
diff --git a/noncore/apps/confedit/opie-confedit.control b/noncore/apps/confedit/opie-confedit.control
new file mode 100644
index 0000000..a5491f8
--- a/dev/null
+++ b/noncore/apps/confedit/opie-confedit.control
@@ -0,0 +1,10 @@
+Packagename: opie-confeditor
+Files: bin/confedit apps/Settings/confedit.desktop pics/confedit/confedit.png
+Priority: optional
+Section: opie/
+Maintainer: Patrick S. Vogt <tille@handhelds.org>
+Architecture: arm
+Version: $QPE_VERSION-$SUB_VERSION
+Depends: opie-base ($QPE_VERSION)
+Description: An enditor for the ~/Settings/*.conf files
+