diff options
author | Lluis Sanchez <lluis@xamarin.com> | 2014-02-05 18:59:34 +0400 |
---|---|---|
committer | Lluis Sanchez <lluis@xamarin.com> | 2014-02-05 19:24:53 +0400 |
commit | 400a8478491fdacf282ee003ddc3b83a6f480075 (patch) | |
tree | c015e796a560c4e5d7208bd2a204343a6a30bd36 /main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Projects.OptionPanels | |
parent | 78d5f2b763d4de62f5a5b1097d71da551c3af5d3 (diff) |
More retina icon support
Replaced CellRendererIcon and CellRendererPixbuf by
the new CellRendererImage
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Projects.OptionPanels')
-rw-r--r-- | main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Projects.OptionPanels/NamespaceSynchronisationPanel.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Projects.OptionPanels/NamespaceSynchronisationPanel.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Projects.OptionPanels/NamespaceSynchronisationPanel.cs index b83fdcaaf9..b78bf266f7 100644 --- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Projects.OptionPanels/NamespaceSynchronisationPanel.cs +++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Projects.OptionPanels/NamespaceSynchronisationPanel.cs @@ -33,6 +33,7 @@ using MonoDevelop.Projects; using MonoDevelop.Projects.Policies; using MonoDevelop.Ide.Gui.Dialogs; using System.Linq; +using MonoDevelop.Components; namespace MonoDevelop.Ide.Projects.OptionPanels { @@ -152,8 +153,8 @@ namespace MonoDevelop.Ide.Projects.OptionPanels TreeViewColumn dirCol = new TreeViewColumn (); dirCol.Title = GettextCatalog.GetString ("Directory"); - var iconRenderer = new CellRendererPixbuf (); - iconRenderer.StockSize = (int) Gtk.IconSize.Menu; + var iconRenderer = new CellRendererImage (); + iconRenderer.StockSize = Gtk.IconSize.Menu; CellRendererText textRenderer = new CellRendererText (); dirCol.PackStart (iconRenderer, false); dirCol.PackStart (textRenderer, false); |