summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--Rules.make1
-rw-r--r--core/launcher/launcher.cpp25
2 files changed, 14 insertions, 12 deletions
diff --git a/Rules.make b/Rules.make
index ab77abf..5fd8d90 100644
--- a/Rules.make
+++ b/Rules.make
@@ -57,8 +57,9 @@ $(OPIEDIR)/stamp-headers :
@-rm -f $(OPIEDIR)/stamp-headers*
mkdir -p $(TOPDIR)/include/qpe \
$(TOPDIR)/include/qtopia \
$(TOPDIR)/include/opie \
+ $(TOPDIR)/include/opie2 \
$(TOPDIR)/include/qtopia/private
( cd include/qpe && rm -f *.h; ln -sf ../../library/*.h .; ln -sf ../../library/backend/*.h .; rm -f *_p.h; )
( cd include/qtopia && rm -f *.h; ln -sf ../../library/*.h .; )
( cd include/qtopia/private && rm -f *.h; ln -sf ../../../library/backend/*.h .; )
diff --git a/core/launcher/launcher.cpp b/core/launcher/launcher.cpp
index 0205622..b612aa2 100644
--- a/core/launcher/launcher.cpp
+++ b/core/launcher/launcher.cpp
@@ -380,16 +380,17 @@ LauncherView* CategoryTabWidget::newView( const QString& id, const QPixmap& pm,
}
void CategoryTabWidget::updateLink(const QString& linkfile)
{
- // LauncherView* view;
- qApp->processEvents();
-// while ((view = (LauncherView*)stack->widget(i++))) {
-// if ( view->removeLink(linkfile) )
-// break;
-// }
- // addItem(linkfile);
- fileSel->reparse();
+ int i=0;
+ LauncherView* view;
+ //qApp->processEvents();
+ while ((view = (LauncherView*)stack->widget(i++))) {
+ if ( view->removeLink(linkfile) )
+ break;
+ }
+ addItem(linkfile);
+ docview->updateTools();
}
void CategoryTabWidget::paletteChange( const QPalette &p )
{
@@ -1340,12 +1341,12 @@ void Launcher::preloadApps()
DocumentTab::DocumentTab( QWidget *parent, int mode, int selector, const QString &dirName, const QString &fileName)
: OFileSelector(parent,mode,selector,dirName,fileName)
{
- setYesCancelVisible(false);
- setToolbarVisible(false);
- setPermissionBarVisible(false);
- setLineEditVisible(false) ;
+ //setYesCancelVisible(false);
+ //setToolbarVisible(false);
+ //setPermissionBarVisible(false);
+ //setLineEditVisible(false) ;
//setChooserVisible( bool chooser );
}