~ubuntu-branches/ubuntu/trusty/monodevelop/trusty-proposed

« back to all changes in this revision

Viewing changes to src/addins/MonoDevelop.Refactoring/MonoDevelop.AnalysisCore/Gui/AnalysisOptionsPanel.cs

  • Committer: Package Import Robot
  • Author(s): Jo Shields
  • Date: 2013-05-12 09:46:03 UTC
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20130512094603-mad323bzcxvmcam0
Tags: upstream-4.0.5+dfsg
ImportĀ upstreamĀ versionĀ 4.0.5+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
using MonoDevelop.Ide.Gui.Dialogs;
29
29
using Gtk;
30
30
using MonoDevelop.Core;
 
31
using MonoDevelop.Ide;
31
32
 
32
33
namespace MonoDevelop.AnalysisCore.Gui
33
34
{
56
57
                {
57
58
                        enabledCheck = new CheckButton (GettextCatalog.GetString ("Enable source analysis of open files"));
58
59
                        PackStart (enabledCheck, false, false, 0);
59
 
                        
 
60
                        if (GC.MaxGeneration == 0) {
 
61
                                HBox hb = new HBox ();
 
62
                                hb.Spacing = 6;
 
63
                                hb.PackStart (ImageService.GetImage (Stock.DialogWarning, IconSize.Dialog), false, false, 0);
 
64
                                hb.PackStart (new Label (GettextCatalog.GetString ("Note: Source analysis may be slow with the current garbage collector.\nUse a generational GC like sgen to get best performance.")), true, true, 0);
 
65
                                PackStart (hb, false, false, 32);
 
66
                        }
 
67
 
60
68
                        ShowAll ();
61
69
                }
62
70