-rw-r--r-- | noncore/apps/advancedfm/advancedfm.cpp | 6 | ||||
-rw-r--r-- | noncore/apps/advancedfm/advancedfmData.cpp | 1 |
2 files changed, 4 insertions, 3 deletions
diff --git a/noncore/apps/advancedfm/advancedfm.cpp b/noncore/apps/advancedfm/advancedfm.cpp index 08dc24e..23244a2 100644 --- a/noncore/apps/advancedfm/advancedfm.cpp +++ b/noncore/apps/advancedfm/advancedfm.cpp | |||
@@ -7,17 +7,17 @@ | |||
7 | * This program is free software; you can redistribute it and/or modify * | 7 | * This program is free software; you can redistribute it and/or modify * |
8 | * it under the terms of the GNU General Public License as published by * | 8 | * it under the terms of the GNU General Public License as published by * |
9 | * the Free Software Foundation; either version 2 of the License, or * | 9 | * the Free Software Foundation; either version 2 of the License, or * |
10 | * (at your option) any later version. * | 10 | * (at your option) any later version. * |
11 | ***************************************************************************/ | 11 | ***************************************************************************/ |
12 | #define DEVELOPERS_VERSION | 12 | #define DEVELOPERS_VERSION |
13 | #include "advancedfm.h" | 13 | #include "advancedfm.h" |
14 | 14 | ||
15 | #include <opie/otabwidget.h> | 15 | #include <opie/otabwidget.h> |
16 | // #include <opie/ofileselector.h> | 16 | // #include <opie/ofileselector.h> |
17 | // #include <opie/ofiledialog.h> | 17 | // #include <opie/ofiledialog.h> |
18 | 18 | ||
19 | #include <qpe/filemanager.h> | 19 | #include <qpe/filemanager.h> |
20 | #include <qpe/qcopenvelope_qws.h> | 20 | #include <qpe/qcopenvelope_qws.h> |
21 | #include <qpe/qpemenubar.h> | 21 | #include <qpe/qpemenubar.h> |
22 | #include <qpe/qpetoolbar.h> | 22 | #include <qpe/qpetoolbar.h> |
23 | #include <qpe/qpeapplication.h> | 23 | #include <qpe/qpeapplication.h> |
@@ -808,18 +808,18 @@ void AdvancedFm::showFileMenu() { | |||
808 | if (!b) | 808 | if (!b) |
809 | m->setItemChecked(m->idAt(0),TRUE); | 809 | m->setItemChecked(m->idAt(0),TRUE); |
810 | else | 810 | else |
811 | m->setItemChecked(m->idAt(0),FALSE); | 811 | m->setItemChecked(m->idAt(0),FALSE); |
812 | 812 | ||
813 | if(Ir::supported()) | 813 | if(Ir::supported()) |
814 | m->insertItem( tr( "Beam File" ), this, SLOT( doBeam() )); | 814 | m->insertItem( tr( "Beam File" ), this, SLOT( doBeam() )); |
815 | m->setFocus(); | 815 | m->setFocus(); |
816 | m->exec( QCursor::pos() ); | 816 | m->exec( QPoint( 4,QCursor::pos().y()) ); |
817 | sleep(1); | 817 | |
818 | if(m) delete m; | 818 | if(m) delete m; |
819 | } | 819 | } |
820 | 820 | ||
821 | 821 | ||
822 | void AdvancedFm::cancelMenuTimer() { | 822 | void AdvancedFm::cancelMenuTimer() { |
823 | 823 | ||
824 | // qDebug("selectionChanged: cancel menu timer"); | 824 | // qDebug("selectionChanged: cancel menu timer"); |
825 | if( menuTimer.isActive() ) | 825 | if( menuTimer.isActive() ) |
diff --git a/noncore/apps/advancedfm/advancedfmData.cpp b/noncore/apps/advancedfm/advancedfmData.cpp index f0a0a35..0966f02 100644 --- a/noncore/apps/advancedfm/advancedfmData.cpp +++ b/noncore/apps/advancedfm/advancedfmData.cpp | |||
@@ -82,16 +82,17 @@ void AdvancedFm::init() { | |||
82 | fileMenu->insertItem( tr( "Show Hidden Files" ), this, SLOT( showMenuHidden() )); | 82 | fileMenu->insertItem( tr( "Show Hidden Files" ), this, SLOT( showMenuHidden() )); |
83 | fileMenu->setItemChecked( fileMenu->idAt(0),TRUE); | 83 | fileMenu->setItemChecked( fileMenu->idAt(0),TRUE); |
84 | fileMenu->insertSeparator(); | 84 | fileMenu->insertSeparator(); |
85 | fileMenu->insertItem( tr( "Make Directory" ), this, SLOT( mkDir() )); | 85 | fileMenu->insertItem( tr( "Make Directory" ), this, SLOT( mkDir() )); |
86 | fileMenu->insertItem( tr( "Rename" ), this, SLOT( rn() )); | 86 | fileMenu->insertItem( tr( "Rename" ), this, SLOT( rn() )); |
87 | fileMenu->insertItem( tr( "Run Command" ), this, SLOT( runCommandStd() )); | 87 | fileMenu->insertItem( tr( "Run Command" ), this, SLOT( runCommandStd() )); |
88 | fileMenu->insertItem( tr( "Run Command with Output" ), this, SLOT( runCommand() )); | 88 | fileMenu->insertItem( tr( "Run Command with Output" ), this, SLOT( runCommand() )); |
89 | fileMenu->insertSeparator(); | 89 | fileMenu->insertSeparator(); |
90 | fileMenu->insertItem( tr( "Make Symlink" ), this, SLOT( mkSym() )); | ||
90 | fileMenu->insertItem( tr( "Select All" ), this, SLOT( selectAll() )); | 91 | fileMenu->insertItem( tr( "Select All" ), this, SLOT( selectAll() )); |
91 | fileMenu->insertItem( tr( "Add To Documents" ), this, SLOT( addToDocs() )); | 92 | fileMenu->insertItem( tr( "Add To Documents" ), this, SLOT( addToDocs() )); |
92 | fileMenu->insertItem( tr( "Delete" ), this, SLOT( del() )); | 93 | fileMenu->insertItem( tr( "Delete" ), this, SLOT( del() )); |
93 | fileMenu->setCheckable(TRUE); | 94 | fileMenu->setCheckable(TRUE); |
94 | 95 | ||
95 | viewMenu->insertItem( tr( "Switch to Local" ), this, SLOT( switchToLocalTab() )); | 96 | viewMenu->insertItem( tr( "Switch to Local" ), this, SLOT( switchToLocalTab() )); |
96 | viewMenu->insertItem( tr( "Switch to Remote" ), this, SLOT( switchToRemoteTab() )); | 97 | viewMenu->insertItem( tr( "Switch to Remote" ), this, SLOT( switchToRemoteTab() )); |
97 | viewMenu->insertSeparator(); | 98 | viewMenu->insertSeparator(); |