diff options
author | David Karlaš <david.karlas@xamarin.com> | 2016-01-11 15:47:44 +0300 |
---|---|---|
committer | David Karlaš <david.karlas@xamarin.com> | 2016-01-11 15:48:27 +0300 |
commit | e1f2de4323bf830bc77986b5f071854a2982f9cd (patch) | |
tree | 10ec05460f8d33eef18e50575df91424317618cd /main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger.PreviewVisualizers/GenericPreviewVisualizer.cs | |
parent | 2f4bad95b4700f59e80fc2c836a7bbc2028883dc (diff) |
Bug 37358 - Visualizer for strings removes underscore (papercut)
Gtk.Label constructor sets mnemonic text which means it eats underscores
Diffstat (limited to 'main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger.PreviewVisualizers/GenericPreviewVisualizer.cs')
-rw-r--r-- | main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger.PreviewVisualizers/GenericPreviewVisualizer.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger.PreviewVisualizers/GenericPreviewVisualizer.cs b/main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger.PreviewVisualizers/GenericPreviewVisualizer.cs index 604979ad5e..7988671f8a 100644 --- a/main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger.PreviewVisualizers/GenericPreviewVisualizer.cs +++ b/main/src/addins/MonoDevelop.Debugger/MonoDevelop.Debugger.PreviewVisualizers/GenericPreviewVisualizer.cs @@ -49,7 +49,8 @@ namespace MonoDevelop.Debugger.PreviewVisualizers if (DebuggingService.HasInlineVisualizer (val)) value = DebuggingService.GetInlineVisualizer (val).InlineVisualize (val); - var label = new Gtk.Label (value); + var label = new Gtk.Label (); + label.Text = value; var font = label.Style.FontDescription.Copy (); if (font.SizeIsAbsolute) { |