~ubuntu-branches/ubuntu/utopic/gnome-do/utopic-proposed

« back to all changes in this revision

Viewing changes to Do/gtk-gui/generated.cs

  • Committer: Package Import Robot
  • Author(s): Christopher James Halse Rogers, Iain Lane, Christopher James Halse Rogers
  • Date: 2014-07-11 16:20:37 UTC
  • mfrom: (0.1.14)
  • Revision ID: package-import@ubuntu.com-20140711162037-08ncoy0ur0046i8e
Tags: 0.95.1-1
[ Iain Lane ]
* Build-depend directly on nunit instead of relying on indirect
* Build-depend on dbus-sharp instead of obsolete ndesk-dbus

[ Christopher James Halse Rogers ]
* Import new upstream 0.95 release (Closes: 713094, 708038)
* Transition to DBus# 2.0
* Simplify gnome-do launcher script (Closes: 650368)
* Version build-dependency on mono-cario; uses methods new in 3.2
* Add new GIO# and GKeyfile# build-depends
* Bump Standards-Version to 3.9.5, updating debian/copyright for
  machine-readable v1.0
* Import new upstream 0.95.1 release
* Drop versioned depends on Mono.Cairo; 0.95.1 builds against Mono < 3.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
        internal class Gui
6
6
        {
7
7
                private static bool initialized;
8
 
        
 
8
 
9
9
                internal static void Initialize (Gtk.Widget iconRenderer)
10
10
                {
11
11
                        if ((Stetic.Gui.initialized == false)) {
13
13
                        }
14
14
                }
15
15
        }
16
 
    
 
16
 
17
17
        internal class IconLoader
18
18
        {
19
19
                public static Gdk.Pixbuf LoadIcon (Gtk.Widget widget, string name, Gtk.IconSize size)
47
47
                        }
48
48
                }
49
49
        }
50
 
    
 
50
 
51
51
        internal class BinContainer
52
52
        {
53
53
                private Gtk.Widget child;
54
54
                private Gtk.UIManager uimanager;
55
 
        
 
55
 
56
56
                public static BinContainer Attach (Gtk.Bin bin)
57
57
                {
58
58
                        BinContainer bc = new BinContainer ();
61
61
                        bin.Added += new Gtk.AddedHandler (bc.OnAdded);
62
62
                        return bc;
63
63
                }
64
 
        
 
64
 
65
65
                private void OnSizeRequested (object sender, Gtk.SizeRequestedArgs args)
66
66
                {
67
67
                        if ((this.child != null)) {
68
68
                                args.Requisition = this.child.SizeRequest ();
69
69
                        }
70
70
                }
71
 
        
 
71
 
72
72
                private void OnSizeAllocated (object sender, Gtk.SizeAllocatedArgs args)
73
73
                {
74
74
                        if ((this.child != null)) {
75
75
                                this.child.Allocation = args.Allocation;
76
76
                        }
77
77
                }
78
 
        
 
78
 
79
79
                private void OnAdded (object sender, Gtk.AddedArgs args)
80
80
                {
81
81
                        this.child = args.Widget;
82
82
                }
83
 
        
 
83
 
84
84
                public void SetUiManager (Gtk.UIManager uim)
85
85
                {
86
86
                        this.uimanager = uim;
87
87
                        this.child.Realized += new System.EventHandler (this.OnRealized);
88
88
                }
89
 
        
 
89
 
90
90
                private void OnRealized (object sender, System.EventArgs args)
91
91
                {
92
92
                        if ((this.uimanager != null)) {
99
99
                        }
100
100
                }
101
101
        }
102
 
    
 
102
 
103
103
        internal class ActionGroups
104
104
        {
105
105
                public static Gtk.ActionGroup GetActionGroup (System.Type type)
106
106
                {
107
107
                        return Stetic.ActionGroups.GetActionGroup (type.FullName);
108
108
                }
109
 
        
 
109
 
110
110
                public static Gtk.ActionGroup GetActionGroup (string name)
111
111
                {
112
112
                        return null;