From 76981dce006e02bda96668f2559c9047afe23f8a Mon Sep 17 00:00:00 2001 From: Jean-Philippe Bruyère Date: Tue, 18 Dec 2018 07:31:53 +0100 Subject: debug template loading --- CrowIDE/src/ProjectTree/ProjectFile.cs | 12 ++++++------ CrowIDE/src/ProjectTree/ProjectItem.cs | 6 +++--- CrowIDE/src/ProjectTree/ProjectNodes.cs | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) (limited to 'CrowIDE/src/ProjectTree') diff --git a/CrowIDE/src/ProjectTree/ProjectFile.cs b/CrowIDE/src/ProjectTree/ProjectFile.cs index 8d803faa..294a28f5 100644 --- a/CrowIDE/src/ProjectTree/ProjectFile.cs +++ b/CrowIDE/src/ProjectTree/ProjectFile.cs @@ -49,17 +49,17 @@ namespace Crow.Coding { void initCommands (){ cmdSave = new Crow.Command (new Action (() => Save ())) - { Caption = "Save", Icon = new SvgPicture ("#icons.save.svg"), CanExecute = false }; + { Caption = "Save", Icon = new SvgPicture ("#CrowIDE.icons.save.svg"), CanExecute = false }; cmdSaveAs = new Crow.Command (new Action (() => SaveAs ())) - { Caption = "Save As ..", Icon = new SvgPicture ("#icons.save.svg"), CanExecute = false }; + { Caption = "Save As ..", Icon = new SvgPicture ("#CrowIDE.icons.save.svg"), CanExecute = false }; cmdOpen = new Crow.Command (new Action (() => Open ())) - { Caption = "Open", Icon = new SvgPicture ("#icons.open.svg"), CanExecute = true }; + { Caption = "Open", Icon = new SvgPicture ("#CrowIDE.icons.open.svg"), CanExecute = true }; cmdClose = new Crow.Command (new Action (() => OnQueryClose (this,null))) - { Caption = "Close", Icon = new SvgPicture ("#icons.open.svg"), CanExecute = false }; + { Caption = "Close", Icon = new SvgPicture ("#CrowIDE.icons.open.svg"), CanExecute = false }; cmdUndo = new Crow.Command (new Action (() => Undo (null))) - { Caption = "Undo", Icon = new SvgPicture ("#icons.undo.svg"), CanExecute = false }; + { Caption = "Undo", Icon = new SvgPicture ("#CrowIDE.icons.undo.svg"), CanExecute = false }; cmdRedo = new Crow.Command (new Action (() => Redo (null))) - { Caption = "Redo", Icon = new SvgPicture ("#icons.redo.svg"), CanExecute = false }; + { Caption = "Redo", Icon = new SvgPicture ("#CrowIDE.icons.redo.svg"), CanExecute = false }; Commands.Insert (0, cmdOpen); Commands.Insert (1, cmdSave); diff --git a/CrowIDE/src/ProjectTree/ProjectItem.cs b/CrowIDE/src/ProjectTree/ProjectItem.cs index 695e372b..afa3e3ed 100644 --- a/CrowIDE/src/ProjectTree/ProjectItem.cs +++ b/CrowIDE/src/ProjectTree/ProjectItem.cs @@ -48,11 +48,11 @@ namespace Crow.Coding switch (Extension) { case ".cs": - return new SvgPicture("#icons.cs-file.svg"); + return new SvgPicture("#CrowIDE.icons.cs-file.svg"); case ".crow": - return new SvgPicture("#icons.xml-file.svg"); + return new SvgPicture("#CrowIDE.icons.xml-file.svg"); case ".xml": - return new SvgPicture("#icons.xml-file.svg"); + return new SvgPicture("#CrowIDE.icons.xml-file.svg"); default: return base.Icon; } diff --git a/CrowIDE/src/ProjectTree/ProjectNodes.cs b/CrowIDE/src/ProjectTree/ProjectNodes.cs index 5f518ff7..bafb9cbd 100644 --- a/CrowIDE/src/ProjectTree/ProjectNodes.cs +++ b/CrowIDE/src/ProjectTree/ProjectNodes.cs @@ -95,7 +95,7 @@ namespace Crow.Coding case ItemType.ProjectReference: return new SvgPicture("#Crow.Icons.projectRef.svg"); default: - return new SvgPicture("#icons.blank-file.svg"); + return new SvgPicture("#CrowIDE.icons.blank-file.svg"); } } } -- cgit v1.3.1-4-g156e