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

« back to all changes in this revision

Viewing changes to src/addins/MonoDevelop.GtkCore/libstetic/wrapper/Table.cs

  • Committer: Bazaar Package Importer
  • Author(s): Stefan Ebner
  • Date: 2009-03-17 17:55:55 UTC
  • mfrom: (1.1.13 sid)
  • Revision ID: james.westby@ubuntu.com-20090317175555-2w5qbmu0l5maq6fq
Tags: 1.9.3+dfsg-1ubuntu1
* FFe for Monodevelop 2 granted by motu-release team :)
* Merge from Debian Unstable , remaining Ubuntu changes:
  + debian/control:
    - Update for Gnome# 2.24

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
                const Gtk.AttachOptions expandOpts = Gtk.AttachOptions.Expand | Gtk.AttachOptions.Fill;
11
11
                const Gtk.AttachOptions fillOpts = Gtk.AttachOptions.Fill;
12
12
 
13
 
                public static new Gtk.Table CreateInstance ()
14
 
                {
15
 
                        Gtk.Table t = new Gtk.Table (3, 3, false);
16
 
                        t.RowSpacing = 6;
17
 
                        t.ColumnSpacing = 6;
18
 
                        return t;
19
 
                }
20
 
 
21
13
                public override void Wrap (object obj, bool initialized)
22
14
                {
23
15
                        base.Wrap (obj, initialized);
 
16
                        if (!initialized) {
 
17
                                table.NRows = 3;
 
18
                                table.NColumns = 3;
 
19
                                table.RowSpacing = 6;
 
20
                                table.ColumnSpacing = 6;
 
21
                        }
24
22
                        Sync ();
25
23
                }
26
24