summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/advancedfm/advancedfm.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/apps/advancedfm/advancedfm.cpp b/noncore/apps/advancedfm/advancedfm.cpp
index 869a433..a000e9b 100644
--- a/noncore/apps/advancedfm/advancedfm.cpp
+++ b/noncore/apps/advancedfm/advancedfm.cpp
@@ -1680,27 +1680,27 @@ void AdvancedFm::showFileMenu() {
1680 MimeType mt( curApp ); 1680 MimeType mt( curApp );
1681 const AppLnk* app = mt.application(); 1681 const AppLnk* app = mt.application();
1682 QFile fi(curApp); 1682 QFile fi(curApp);
1683 1683
1684 QPopupMenu m; 1684 QPopupMenu m;
1685 m.insertItem( tr( "Show Hidden Files" ), this, SLOT( showHidden() )); 1685 m.insertItem( tr( "Show Hidden Files" ), this, SLOT( showHidden() ));
1686 m.insertSeparator(); 1686 m.insertSeparator();
1687 if ( QFileInfo(fi).isDir() ) { 1687 if ( QFileInfo(fi).isDir() ) {
1688 m.insertItem( tr( "Change Directory" ), this, SLOT( doLocalCd() )); 1688 m.insertItem( tr( "Change Directory" ), this, SLOT( doLocalCd() ));
1689 } else { 1689 } else {
1690 1690
1691 if ( app ) 1691 if ( app )
1692 m.insertItem( app->pixmap(), tr( "Open in " + app->name() ), this, SLOT( run() ) ); 1692 m.insertItem( app->pixmap(), tr( "Open in " + app->name() ), this, SLOT( runThis() ) );
1693 else if( QFileInfo(fi).isExecutable() ) 1693 else if( QFileInfo(fi).isExecutable() )
1694 m.insertItem( tr( "Execute" ), this, SLOT( run() ) ); 1694 m.insertItem( tr( "Execute" ), this, SLOT( runThis() ) );
1695 1695
1696 m.insertItem( /*Resource::loadPixmap( "txt" ),*/ tr( "Open as text" ),this, SLOT( runText() ) ); 1696 m.insertItem( /*Resource::loadPixmap( "txt" ),*/ tr( "Open as text" ),this, SLOT( runText() ) );
1697 } 1697 }
1698 m.insertSeparator(); 1698 m.insertSeparator();
1699 1699
1700 1700
1701 if(isLocalView) 1701 if(isLocalView)
1702 m.insertItem( tr( "Make Directory" ), this, SLOT( localMakDir() )); 1702 m.insertItem( tr( "Make Directory" ), this, SLOT( localMakDir() ));
1703 else 1703 else
1704 m.insertItem( tr( "Make Directory" ), this, SLOT( remoteMakDir() )); 1704 m.insertItem( tr( "Make Directory" ), this, SLOT( remoteMakDir() ));
1705 1705
1706 m.insertItem( tr( "Make Symlink" ), this, SLOT( mkSym() )); 1706 m.insertItem( tr( "Make Symlink" ), this, SLOT( mkSym() ));