~ubuntu-branches/ubuntu/natty/monodevelop/natty

« back to all changes in this revision

Viewing changes to src/addins/MonoDevelop.GtkCore/lib/stetic/libstetic/wrapper/ScrolledWindow.cs

  • Committer: Bazaar Package Importer
  • Author(s): Stefan Ebner
  • Date: 2008-03-29 23:36:33 UTC
  • mto: (1.5.1 sid)
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: james.westby@ubuntu.com-20080329233633-l550uuwvfh1e68at
Tags: upstream-1.0+dfsg
ImportĀ upstreamĀ versionĀ 1.0+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
                {
14
14
                        base.Wrap (obj, initialized);
15
15
                        if (!initialized) {
16
 
                                if (scrolled.Child == null)
 
16
                                if (scrolled.Child == null && AllowPlaceholders)
17
17
                                        AddPlaceholder ();
18
18
                                HscrollbarPolicy = VscrollbarPolicy = Gtk.PolicyType.Automatic;
19
19
                                scrolled.ShadowType = Gtk.ShadowType.In;
102
102
                                base.GenerateChildBuildCode (ctx, parentVar, wrapper);
103
103
                }
104
104
 
 
105
                public override void Delete (Stetic.Placeholder ph)
 
106
                {
 
107
                        using (UndoManager.AtomicChange) {
 
108
                                Delete ();
 
109
                        }
 
110
                }
105
111
        }
106
112
}