aboutsummaryrefslogtreecommitdiff
path: root/debian/patches/update-defs.patch
blob: 56bbba27293697c5ad88b1bea58a321c4bb15c38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
Index: ubuntu/bindings/python/appindicator.defs
===================================================================
--- ubuntu.orig/bindings/python/appindicator.defs	2011-02-28 22:32:45.853399929 +0600
+++ ubuntu/bindings/python/appindicator.defs	2011-02-28 22:33:12.205528749 +0600
@@ -33,7 +33,6 @@
   )
 )
 
-
 ;; From app-indicator.h
 
 (define-function app_indicator_get_type
@@ -62,57 +61,50 @@
   )
 )
 
-(define-method set_label
+(define-method set_attention_icon
   (of-object "AppIndicator")
-  (c-name "app_indicator_set_label")
+  (c-name "app_indicator_set_attention_icon_full")
   (return-type "none")
   (parameters
-    '("const-gchar*" "label" (null-ok))
-    '("const-gchar*" "guide" (null-ok) (default "NULL"))
+    '("const-gchar*" "icon_name")
+    '("const-gchar*" "icon_desc" (null-ok) (default "NULL"))
   )
 )
 
-(define-method set_accessible_desc
+(define-method set_menu
   (of-object "AppIndicator")
-  (c-name "app_indicator_set_accessible_desc")
+  (c-name "app_indicator_set_menu")
   (return-type "none")
   (parameters
-    '("const-gchar*" "accessible_desc" (null-ok))
-  )
-)
-
-(define-method set_ordering_index
-  (of-object "AppIndicator")
-  (c-name "app_indicator_set_ordering_index")
-  (parameters
-    '("guint32" "ordering_index")
+    '("GtkMenu*" "menu")
   )
 )
 
-(define-method set_attention_icon
+(define-method set_icon
   (of-object "AppIndicator")
-  (c-name "app_indicator_set_attention_icon")
+  (c-name "app_indicator_set_icon_full")
   (return-type "none")
   (parameters
     '("const-gchar*" "icon_name")
+    '("const-gchar*" "icon_desc" (null-ok) (default "NULL"))
   )
 )
 
-(define-method set_menu
+(define-method set_label
   (of-object "AppIndicator")
-  (c-name "app_indicator_set_menu")
+  (c-name "app_indicator_set_label")
   (return-type "none")
   (parameters
-    '("GtkMenu*" "menu")
+    '("const-gchar*" "label" (null-ok))
+    '("const-gchar*" "guide" (null-ok) (default "NULL"))
   )
 )
 
-(define-method set_icon
+(define-method set_ordering_index
   (of-object "AppIndicator")
-  (c-name "app_indicator_set_icon")
-  (return-type "none")
+  (c-name "app_indicator_set_ordering_index")
   (parameters
-    '("const-gchar*" "icon_name")
+    '("guint32" "ordering_index")
   )
 )
 
@@ -143,46 +135,66 @@
   (return-type "AppIndicatorStatus")
 )
 
-(define-method get_label
+(define-method get_icon
   (of-object "AppIndicator")
-  (c-name "app_indicator_get_label")
+  (c-name "app_indicator_get_icon")
   (return-type "const-gchar*")
 )
 
-(define-method get_label_guide
+(define-method get_icon_desc
   (of-object "AppIndicator")
-  (c-name "app_indicator_get_label_guide")
+  (c-name "app_indicator_get_icon_desc")
   (return-type "const-gchar*")
 )
 
-(define-method get_accessible_desc
+(define-method get_icon_theme_path
   (of-object "AppIndicator")
-  (c-name "app_indicator_get_accessible_desc")
+  (c-name "app_indicator_get_icon_theme_path")
   (return-type "const-gchar*")
 )
 
-(define-method get_ordering_index
+(define-method get_attention_icon
   (of-object "AppIndicator")
-  (c-name "app_indicator_get_ordering_index")
-  (return-type "guint32")
+  (c-name "app_indicator_get_attention_icon")
+  (return-type "const-gchar*")
 )
 
-(define-method get_icon
+(define-method get_attention_icon_desc
   (of-object "AppIndicator")
-  (c-name "app_indicator_get_icon")
+  (c-name "app_indicator_get_attention_icon_desc")
   (return-type "const-gchar*")
 )
 
-(define-method get_icon_theme_path
+(define-method get_menu
   (of-object "AppIndicator")
-  (c-name "app_indicator_get_icon_theme_path")
+  (c-name "app_indicator_get_menu")
+  (return-type "GtkMenu*")
+)
+
+(define-method get_label
+  (of-object "AppIndicator")
+  (c-name "app_indicator_get_label")
   (return-type "const-gchar*")
 )
 
-(define-method get_attention_icon
+(define-method get_label_guide
   (of-object "AppIndicator")
-  (c-name "app_indicator_get_attention_icon")
+  (c-name "app_indicator_get_label_guide")
   (return-type "const-gchar*")
 )
 
+(define-method get_ordering_index
+  (of-object "AppIndicator")
+  (c-name "app_indicator_get_ordering_index")
+  (return-type "guint32")
+)
 
+(define-method build_menu_from_desktop
+  (of-object "AppIndicator")
+  (c-name "app_indicator_build_menu_from_desktop")
+  (return-type "none")
+  (parameters
+    '("const-gchar*" "desktop_file")
+    '("const-gchar*" "desktop_profile")
+  )
+)