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

« back to all changes in this revision

Viewing changes to src/core/MonoDevelop.Ide/MonoDevelop.Components.Docking/DockGroup.cs

  • Committer: Package Import Robot
  • Author(s): Jo Shields, 1840cc1
  • Date: 2012-02-05 10:49:36 UTC
  • mfrom: (10.2.12)
  • Revision ID: package-import@ubuntu.com-20120205104936-f3dutq6lnseokb6d
Tags: 2.8.6.3+dfsg-1
[1840cc1] Imported Upstream version 2.8.6.3+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
693
693
                        foreach (DockObject ob in VisibleObjects) {
694
694
                                DockGroupItem it = ob as DockGroupItem;
695
695
                                if (it != null) {
696
 
                                        if (it.Item.Widget.Parent == null)
697
 
                                                it.Item.Widget.Parent = Frame.Container;
 
696
                                        if (it.Item.Widget.Parent != Frame.Container) {
 
697
                                                if (it.Item.Widget.Parent != null) {
 
698
                                                        ((Gtk.Container)it.Item.Widget.Parent).Remove (it.Item.Widget);
 
699
                                                }
 
700
                                                Frame.Container.Add (it.Item.Widget);
 
701
                                        }
698
702
                                        if (!it.Item.Widget.Visible && type != DockGroupType.Tabbed)
699
703
                                                it.Item.Widget.Show ();
700
704
                                }