~bratsche/ubuntu/maverick/monodevelop/disable-appmenu

« back to all changes in this revision

Viewing changes to src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Pads/MonodocTreePad.cs

  • Committer: Bazaar Package Importer
  • Author(s): Jo Shields, Jo Shields, Iain Lane
  • Date: 2009-04-02 20:50:18 UTC
  • mfrom: (1.2.3 upstream) (1.1.14 sid)
  • Revision ID: james.westby@ubuntu.com-20090402205018-2ehhq89bo5eeajli
Tags: 2.0+dfsg-1~ubuntu1
[ Jo Shields ]
* New upstream release
* DFSG version of MonoDevelop 2.0
  (deleted all pre-compiled binaries from the tarball)
  + For the record here a list of the deleted files:
    src/addins/NUnit/lib/nunit.framework.dll
    src/addins/NUnit/lib/nunit.core.dll
    src/addins/NUnit/lib/nunit.util.dll
    src/addins/NUnit/lib/nunit.core.interfaces.dll
* debian/control:
  + Tweak build-deps to allow building against libgconf2.24-cil due to 
    broken ABI bump in Ubuntu
* debian/patches/update_templates_for_gtk-sharp_2.10.dpatch,
  debian/patches/update_templates_for_gtk-sharp_2.12.dpatch:
  + Refresh patch to ensure new projects are created using the correct
    version of GTK#

[ Iain Lane ]
* Upload from pkg-cli-apps SVN into Ubuntu; delayed in sid due to transition
  constraints. (LP: #353300)

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
                        tree_view.Selection.Changed += new EventHandler (RowActivated);
57
57
                        
58
58
                        store = new TreeStore (typeof (string), typeof (Node));
59
 
                        if (ProjectDomService.HelpTree != null) {
60
 
                                root_iter = store.AppendValues (GettextCatalog.GetString ("Mono Documentation"), ProjectDomService.HelpTree);
61
 
                                PopulateNode (root_iter);
62
 
                        }
63
 
 
64
59
                        tree_view.Model = store;
65
60
                        tree_view.HeadersVisible = false;
66
61
                        
67
62
                        scroller = new ScrolledWindow ();
68
63
                        scroller.ShadowType = Gtk.ShadowType.None;
69
64
                        scroller.Add (tree_view);
70
 
 
71
 
                        tree_view.ExpandRow (new TreePath ("0"), false);
72
 
                        TreeIter child_iter;
73
 
                start:
74
 
                        store.IterChildren (out child_iter, root_iter);
75
 
                        do {
76
 
                                if (!store.IterHasChild (child_iter)) {
77
 
                                        store.Remove (ref child_iter);
78
 
                                        goto start;
 
65
                        
 
66
                        if (ProjectDomService.HelpTree != null) {
 
67
                                root_iter = store.AppendValues (GettextCatalog.GetString ("Mono Documentation"), ProjectDomService.HelpTree);
 
68
                                PopulateNode (root_iter);
 
69
        
 
70
                                tree_view.ExpandRow (new TreePath ("0"), false);
 
71
                                TreeIter child_iter;
 
72
                        start:
 
73
                                if (store.IterChildren (out child_iter, root_iter)) {
 
74
                                        do {
 
75
                                                if (!store.IterHasChild (child_iter)) {
 
76
                                                        store.Remove (ref child_iter);
 
77
                                                        goto start;
 
78
                                                }
 
79
                                        } while (store.IterNext (ref child_iter));
79
80
                                }
80
 
                        } while (store.IterNext (ref child_iter));
81
 
                        
 
81
                        }
82
82
                        Control.ShowAll ();
83
83
                }
84
84