mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
ide: toolbar cosmetics (#625, thanks Zbigniew)
git-svn-id: svn://ultimatepp.org/upp/trunk@6723 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
dde287c31a
commit
db91c4b0ea
1 changed files with 10 additions and 6 deletions
|
|
@ -314,6 +314,7 @@ void Ide::Setup(Bar& menu) {
|
|||
#ifdef PLATFORM_POSIX
|
||||
menu.Add("Source managment..", THISBACK(AutoSetup))
|
||||
.Help("Source code updater settings..");
|
||||
menu.Separator();
|
||||
if(UpdaterCfg().method%2==0) //local copy or svn
|
||||
if(UpdaterCfg().available)
|
||||
menu.Add("Install updates..", IdeImg::install_updates(), THISBACK(CheckUpdatesManual))
|
||||
|
|
@ -571,10 +572,9 @@ void Ide::MainTool(Bar& bar)
|
|||
bar.Separator();
|
||||
Project(bar);
|
||||
BuildMenu(bar);
|
||||
bar.Separator();
|
||||
if(!debugger) {
|
||||
DebugMenu(bar);
|
||||
bar.Separator();
|
||||
DebugMenu(bar);
|
||||
}
|
||||
Setup(bar);
|
||||
BrowseMenu(bar);
|
||||
|
|
@ -582,14 +582,18 @@ void Ide::MainTool(Bar& bar)
|
|||
|
||||
void Ide::ConsoleMenu(Bar& menu)
|
||||
{
|
||||
menu.Add("Clear", THISBACK(ConsoleClear))
|
||||
.Help("Empty system console");
|
||||
menu.Add("Copy", THISBACK(ConsoleCopy))
|
||||
String selection = GetConsole().GetSelection();
|
||||
|
||||
menu.Add("Copy", CtrlImg::copy(), THISBACK(ConsoleCopy))
|
||||
.Key(K_CTRL_C)
|
||||
.Enable(!selection.IsEmpty())
|
||||
.Help("Copy selection on system clipboard");
|
||||
menu.Add("Paste", THISBACK(ConsolePaste))
|
||||
menu.Add("Paste", CtrlImg::paste(), THISBACK(ConsolePaste))
|
||||
.Key(K_CTRL_V)
|
||||
.Help("Append selection to system console");
|
||||
menu.Separator();
|
||||
menu.Add("Clear", THISBACK(ConsoleClear))
|
||||
.Help("Empty system console");
|
||||
}
|
||||
|
||||
void Ide::SetBar()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue