-rw-r--r-- | noncore/net/opieftp/opieftp.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/noncore/net/opieftp/opieftp.cpp b/noncore/net/opieftp/opieftp.cpp index d3429de..e81b7ca 100644 --- a/noncore/net/opieftp/opieftp.cpp +++ b/noncore/net/opieftp/opieftp.cpp @@ -100,8 +100,11 @@ OpieFtp::OpieFtp( ) menuBar->insertItem( tr( "Connection" ), connectionMenu); - menuBar->insertItem( tr( "Local" ), localMenu); - menuBar->insertItem( tr( "Remote" ), remoteMenu); +// menuBar->insertItem( tr( "Local" ), localMenu); +// menuBar->insertItem( tr( "Remote" ), remoteMenu); menuBar->insertItem( tr( "View" ), tabMenu); + tabMenu->insertItem( tr( "Local" ), localMenu); + tabMenu->insertItem( tr( "Remote" ), remoteMenu); + connectionMenu->insertItem( tr( "New" ), this, SLOT( newConnection() )); connectionMenu->insertItem( tr( "Connect" ), this, SLOT( connector() )); @@ -123,8 +126,9 @@ OpieFtp::OpieFtp( ) remoteMenu->insertItem( tr( "Delete" ), this, SLOT( remoteDelete() )); + tabMenu->insertSeparator(); tabMenu->insertItem( tr( "Switch to Local" ), this, SLOT( switchToLocalTab() )); tabMenu->insertItem( tr( "Switch to Remote" ), this, SLOT( switchToRemoteTab() )); tabMenu->insertItem( tr( "Switch to Config" ), this, SLOT( switchToConfigTab() )); -// tabMenu->insertSeparator(); + tabMenu->insertSeparator(); // tabMenu->insertItem( tr( "About" ), this, SLOT( doAbout() )); tabMenu->setCheckable(TRUE); |