Skip to content

Commit

Permalink
Shell|GUI: Adjusted menu labels
Browse files Browse the repository at this point in the history
Used "Server" instead of "Local Server", as the commands may control
remote servers as well.
  • Loading branch information
skyjake committed Mar 17, 2013
1 parent 20e09dd commit ae2e2d5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions doomsday/tools/shell/shell-gui/src/guishellapp.cpp
Expand Up @@ -87,9 +87,9 @@ GuiShellApp::GuiShellApp(int &argc, char **argv)
menu->addAction(tr("Close Window"), this, SLOT(closeActiveWindow()),
QKeySequence(tr("Ctrl+W", "Connection|Close Window")));

QMenu *svMenu = d->menuBar->addMenu(tr("Local Server"));
svMenu->addAction(tr("Start..."), this, SLOT(startLocalServer()),
QKeySequence(tr("Ctrl+N", "Local Server|Start")));
QMenu *svMenu = d->menuBar->addMenu(tr("Server"));
svMenu->addAction(tr("Start Local Server..."), this, SLOT(startLocalServer()),
QKeySequence(tr("Ctrl+N", "Server|Start Local")));
d->stopAction = svMenu->addAction(tr("Stop"), this, SLOT(stopServer()));
svMenu->addSeparator();
svMenu->addMenu(d->localMenu);
Expand Down
6 changes: 3 additions & 3 deletions doomsday/tools/shell/shell-gui/src/linkwindow.cpp
Expand Up @@ -181,9 +181,9 @@ LinkWindow::LinkWindow(QWidget *parent)
menu->addAction(tr("&Disconnect"), this, SLOT(closeConnection()),
QKeySequence(tr("Ctrl+D", "Connection|Disconnect")));

QMenu *svMenu = menuBar()->addMenu(tr("&Local Server"));
svMenu->addAction(tr("&Start..."), app, SLOT(startLocalServer()),
QKeySequence(tr("Ctrl+N", "Local Server|Start")));
QMenu *svMenu = menuBar()->addMenu(tr("&Server"));
svMenu->addAction(tr("&Start Local Server..."), app, SLOT(startLocalServer()),
QKeySequence(tr("Ctrl+N", "Server|Start Local")));
svMenu->addAction(d->stopAction);
svMenu->addSeparator();
svMenu->addMenu(app->localServersMenu());
Expand Down

0 comments on commit ae2e2d5

Please sign in to comment.