~ubuntu-branches/ubuntu/saucy/monodevelop/saucy-proposed

« back to all changes in this revision

Viewing changes to src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Pads.ProjectPad/ProjectFileNodeBuilder.cs

  • Committer: Package Import Robot
  • Author(s): Jo Shields
  • Date: 2012-02-05 10:49:36 UTC
  • mto: (10.3.1)
  • mto: This revision was merged to the branch mainline in revision 25.
  • Revision ID: package-import@ubuntu.com-20120205104936-4ujoylapu24cquuo
Tags: upstream-2.8.6.3+dfsg
ImportĀ upstreamĀ versionĀ 2.8.6.3+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
73
73
                {
74
74
                        ProjectFile file = (ProjectFile) dataObject;
75
75
 
76
 
                        label = file.Link.IsNullOrEmpty ? file.FilePath.FileName : file.Link.FileName;
 
76
                        label = GLib.Markup.EscapeText (file.Link.IsNullOrEmpty ? file.FilePath.FileName : file.Link.FileName);
77
77
                        if (!File.Exists (file.FilePath)) {
78
78
                                label = "<span foreground='red'>" + label + "</span>";
79
79
                        }
369
369
                                if (action == "--") {
370
370
                                        info.AddSeparator ();
371
371
                                } else {
372
 
                                        CommandInfo ci = info.Add (BuildAction.Translate (action), action);
 
372
                                        CommandInfo ci = info.Add (action, action);
373
373
                                        ci.Checked = toggledActions.Contains (action);
374
374
                                        if (ci.Checked)
375
375
                                                ci.CheckedInconsistent = toggledActions.Count > 1;