author | llornkcor <llornkcor> | 2003-05-20 00:05:18 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2003-05-20 00:05:18 (UTC) |
commit | 5e86b57756459ebab4e0df224b833a38ec9ba223 (patch) (unidiff) | |
tree | 5e46d4d1f4384af88fb30141d0a5d968b4ca3f52 | |
parent | ec7b5087388f611b994666254c08ce2543dd446a (diff) | |
download | opie-5e86b57756459ebab4e0df224b833a38ec9ba223.zip opie-5e86b57756459ebab4e0df224b833a38ec9ba223.tar.gz opie-5e86b57756459ebab4e0df224b833a38ec9ba223.tar.bz2 |
fix menu issue
-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( ) | |||
100 | 100 | ||
101 | menuBar->insertItem( tr( "Connection" ), connectionMenu); | 101 | menuBar->insertItem( tr( "Connection" ), connectionMenu); |
102 | menuBar->insertItem( tr( "Local" ), localMenu); | 102 | // menuBar->insertItem( tr( "Local" ), localMenu); |
103 | menuBar->insertItem( tr( "Remote" ), remoteMenu); | 103 | // menuBar->insertItem( tr( "Remote" ), remoteMenu); |
104 | menuBar->insertItem( tr( "View" ), tabMenu); | 104 | menuBar->insertItem( tr( "View" ), tabMenu); |
105 | 105 | ||
106 | tabMenu->insertItem( tr( "Local" ), localMenu); | ||
107 | tabMenu->insertItem( tr( "Remote" ), remoteMenu); | ||
108 | |||
106 | connectionMenu->insertItem( tr( "New" ), this, SLOT( newConnection() )); | 109 | connectionMenu->insertItem( tr( "New" ), this, SLOT( newConnection() )); |
107 | connectionMenu->insertItem( tr( "Connect" ), this, SLOT( connector() )); | 110 | connectionMenu->insertItem( tr( "Connect" ), this, SLOT( connector() )); |
@@ -123,8 +126,9 @@ OpieFtp::OpieFtp( ) | |||
123 | remoteMenu->insertItem( tr( "Delete" ), this, SLOT( remoteDelete() )); | 126 | remoteMenu->insertItem( tr( "Delete" ), this, SLOT( remoteDelete() )); |
124 | 127 | ||
128 | tabMenu->insertSeparator(); | ||
125 | tabMenu->insertItem( tr( "Switch to Local" ), this, SLOT( switchToLocalTab() )); | 129 | tabMenu->insertItem( tr( "Switch to Local" ), this, SLOT( switchToLocalTab() )); |
126 | tabMenu->insertItem( tr( "Switch to Remote" ), this, SLOT( switchToRemoteTab() )); | 130 | tabMenu->insertItem( tr( "Switch to Remote" ), this, SLOT( switchToRemoteTab() )); |
127 | tabMenu->insertItem( tr( "Switch to Config" ), this, SLOT( switchToConfigTab() )); | 131 | tabMenu->insertItem( tr( "Switch to Config" ), this, SLOT( switchToConfigTab() )); |
128 | // tabMenu->insertSeparator(); | 132 | tabMenu->insertSeparator(); |
129 | // tabMenu->insertItem( tr( "About" ), this, SLOT( doAbout() )); | 133 | // tabMenu->insertItem( tr( "About" ), this, SLOT( doAbout() )); |
130 | tabMenu->setCheckable(TRUE); | 134 | tabMenu->setCheckable(TRUE); |