~cszikszoy/do/do-fix-keybindings

« back to all changes in this revision

Viewing changes to Do/src/Do.UI/PreferencesWindow.cs

  • Committer: Chris S.
  • Date: 2009-06-18 06:18:12 UTC
  • mfrom: (1107.2.124 trunk)
  • Revision ID: chris@szikszoy.com-20090618061812-8ynmedlxpmvwkwe9
merge trunk & make properties public

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
                        base (WindowType.Toplevel)
49
49
                {
50
50
                        Build ();
 
51
                        IconName = "gnome-desktop-config";
51
52
 
52
53
                        btn_close.IsFocus = true;
53
54
                        
54
 
                        TargetEntry [] targets = {
55
 
                                new TargetEntry ("text/uri-list", 0, 0), 
56
 
                        };
 
55
                        TargetEntry [] targets = { new TargetEntry ("text/uri-list", 0, 0) };
57
56
                        Drag.DestSet (this, DestDefaults.All, targets, Gdk.DragAction.Copy);
58
57
                        
59
58
                        // Add notebook pages.
74
73
                {
75
74
                        Services.Environment.OpenUrl (HelpUrl);
76
75
                }
 
76
                
 
77
                public override void Dispose ()
 
78
                {
 
79
                        foreach (Gtk.Widget w in notebook.Children)
 
80
                                w.Dispose ();
 
81
                        base.Dispose ();
 
82
                }
77
83
        }
78
84
}