~ubuntu-branches/ubuntu/saucy/monodevelop/saucy-proposed

« back to all changes in this revision

Viewing changes to src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Components/TreeNodeNavigator.cs

  • Committer: Package Import Robot
  • Author(s): Jo Shields
  • Date: 2012-06-22 20:35:35 UTC
  • mfrom: (10.3.2)
  • Revision ID: package-import@ubuntu.com-20120622203535-zrozwvcf6kfk6l6i
Tags: 3.0.3.2+dfsg-1
* [3fd89ae] Imported Upstream version 3.0.3.2+dfsg
* [379a680] Remove old patches we haven't used for ages from git.
* [d71161d] Remove correct_paths_in_monodevelop-core-addins.pc.patch.
  Upstream claim to have fixed this by moving assembly install locations.
* [15dbfb9] Fix install location for MonoDevelop.Gettext.dll.config.
* [26eb434] Fix install location for MonoDevelop.SourceEditor2.dll.config.
* [4169974] Upstream commit 53282c9 which finally reconciles the 
  MonoDevelop.Gettext.dll install location with the 
  monodevelop-core-addins.pc location.

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
{
32
32
        public partial class ExtensibleTreeView
33
33
        {
34
 
                class TreeNodeNavigator: ITreeNavigator, ITreeOptions
 
34
                class TreeNodeNavigator: ITreeNavigator
35
35
                {
36
36
                        protected ExtensibleTreeView pad;
37
37
                        protected Gtk.TreeView tree;
124
124
                                        return pos;
125
125
                                }
126
126
                        }
127
 
                
128
 
                        bool ITreeOptions.this [string name] {
129
 
                                get {
130
 
                                        AssertIsValid ();
131
 
                                        return pad.GetOptions (currentIter, false) [name]; 
132
 
                                }
133
 
                                set {
134
 
                                        AssertIsValid ();
135
 
                                        pad.GetOptions (currentIter, true) [name] = value;
136
 
                                }
137
 
                        }
138
127
                        
139
128
                        public bool MoveToPosition (NodePosition position)
140
129
                        {
255
244
                        public bool FindChild (object dataObject, bool recursive)
256
245
                        {
257
246
                                AssertIsValid ();
258
 
                                object it = pad.NodeHash [dataObject];
 
247
                                object it;
259
248
                                
260
 
                                if (it == null)
 
249
                                if (!pad.NodeHash.TryGetValue (dataObject, out it))
261
250
                                        return false;
262
251
                                else if (it is Gtk.TreeIter) {
263
252
                                        if (IsChildIter (currentIter, (Gtk.TreeIter)it, recursive)) {
328
317
                        }
329
318
        
330
319
                        public ITreeOptions Options {
331
 
                                get { return this; }
 
320
                                get { return pad.globalOptions; }
332
321
                        }
333
322
                        
334
323
                        public NodeState SaveState ()