~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/UnknownEntryNodeBuilder.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:
53
53
                        
54
54
                        if (entry.LoadError.Length > 0) {
55
55
                                icon = Context.GetIcon (Gtk.Stock.DialogError);
56
 
                                label = GettextCatalog.GetString ("{0} <span foreground='red' size='small'>(Load failed)</span>", entry.Name);
 
56
                                label = GettextCatalog.GetString ("{0} <span foreground='red' size='small'>(Load failed)</span>", GLib.Markup.EscapeText (entry.Name));
57
57
                        } else {
58
58
                                icon = Context.GetIcon (MonoDevelop.Ide.Gui.Stock.Project);
59
59
                                Gdk.Pixbuf gicon = Context.GetComposedIcon (icon, "fade");
62
62
                                        Context.CacheComposedIcon (icon, "fade", gicon);
63
63
                                }
64
64
                                icon = gicon;
65
 
                                label = entry.Name;
 
65
                                label = GLib.Markup.EscapeText (entry.Name);
66
66
                        }
67
67
                }
68
68