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

« back to all changes in this revision

Viewing changes to src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Pads.ProjectPad/ProjectSolutionPad.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:
27
27
//
28
28
 
29
29
using System;
30
 
using System.Resources;
31
30
using System.Collections.Generic;
32
31
 
33
32
using MonoDevelop.Projects;
34
 
using MonoDevelop.Core;
35
33
using MonoDevelop.Ide.Gui;
36
34
using MonoDevelop.Ide.Gui.Components;
37
 
using System.Text;
38
35
 
39
36
namespace MonoDevelop.Ide.Gui.Pads.ProjectPad
40
37
{
41
 
        public class ProjectSolutionPad: SolutionPad
 
38
        class ProjectSolutionPad: SolutionPad
42
39
        {
43
40
                public ProjectSolutionPad ()
44
41
                {
59
56
                                }
60
57
                                return null;
61
58
                        });
 
59
                        TreeView.ShowSelectionPopupButton = true;
62
60
                }
63
61
                
64
62
                protected override void OnSelectionChanged (object sender, EventArgs args)
83
81
                
84
82
                void OnWindowChanged (object ob, EventArgs args)
85
83
                {
86
 
                        DispatchService.GuiDispatch (new MessageHandler (SelectActiveFile));
 
84
                        Gtk.Application.Invoke (delegate {
 
85
                                SelectActiveFile ();
 
86
                        });
87
87
                }
88
 
                
 
88
 
89
89
                void SelectActiveFile ()
90
90
                {
91
91
                        Document doc = IdeApp.Workbench.ActiveDocument;