1 /* main.c generated by valac 0.34.7, the Vala compiler
2 * generated from main.vala, do not modify */
3
4 /*
5 Copyright 2012 Julien Lavergne <gilir@ubuntu.com>
6
7 This program is free software: you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation, either version 3 of the License, or
10 (at your option) any later version.
11
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with this program. If not, see <http://www.gnu.org/licenses/>.
19 */
20
21 #include <glib.h>
22 #include <glib-object.h>
23 #include <stdlib.h>
24 #include <string.h>
25 #include <gtk/gtk.h>
26 #include <glib/gi18n-lib.h>
27 #include <gdk-pixbuf/gdk-pixbuf.h>
28 #include <gio/gio.h>
29 #include <lxsession-edit/lxsession-edit-common.h>
30 #include <stdio.h>
31 #include <fcntl.h>
32 #include <sys/types.h>
33 #include <unistd.h>
34
35
36 #define LDEFAULT_APPS_TYPE_UPDATE_WINDOWS (ldefault_apps_update_windows_get_type ())
37 #define LDEFAULT_APPS_UPDATE_WINDOWS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), LDEFAULT_APPS_TYPE_UPDATE_WINDOWS, LDefaultAppsUpdateWindows))
38 #define LDEFAULT_APPS_UPDATE_WINDOWS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), LDEFAULT_APPS_TYPE_UPDATE_WINDOWS, LDefaultAppsUpdateWindowsClass))
39 #define LDEFAULT_APPS_IS_UPDATE_WINDOWS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), LDEFAULT_APPS_TYPE_UPDATE_WINDOWS))
40 #define LDEFAULT_APPS_IS_UPDATE_WINDOWS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), LDEFAULT_APPS_TYPE_UPDATE_WINDOWS))
41 #define LDEFAULT_APPS_UPDATE_WINDOWS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), LDEFAULT_APPS_TYPE_UPDATE_WINDOWS, LDefaultAppsUpdateWindowsClass))
42
43 typedef struct _LDefaultAppsUpdateWindows LDefaultAppsUpdateWindows;
44 typedef struct _LDefaultAppsUpdateWindowsClass LDefaultAppsUpdateWindowsClass;
45 typedef struct _LDefaultAppsUpdateWindowsPrivate LDefaultAppsUpdateWindowsPrivate;
46 #define _g_key_file_unref0(var) ((var == NULL) ? NULL : (var = (g_key_file_unref (var), NULL)))
47 #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
48 #define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
49
50 #define LDEFAULT_APPS_TYPE_MAIN_WINDOWS (ldefault_apps_main_windows_get_type ())
51 #define LDEFAULT_APPS_MAIN_WINDOWS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), LDEFAULT_APPS_TYPE_MAIN_WINDOWS, LDefaultAppsMainWindows))
52 #define LDEFAULT_APPS_MAIN_WINDOWS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), LDEFAULT_APPS_TYPE_MAIN_WINDOWS, LDefaultAppsMainWindowsClass))
53 #define LDEFAULT_APPS_IS_MAIN_WINDOWS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), LDEFAULT_APPS_TYPE_MAIN_WINDOWS))
54 #define LDEFAULT_APPS_IS_MAIN_WINDOWS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), LDEFAULT_APPS_TYPE_MAIN_WINDOWS))
55 #define LDEFAULT_APPS_MAIN_WINDOWS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), LDEFAULT_APPS_TYPE_MAIN_WINDOWS, LDefaultAppsMainWindowsClass))
56
57 typedef struct _LDefaultAppsMainWindows LDefaultAppsMainWindows;
58 typedef struct _LDefaultAppsMainWindowsClass LDefaultAppsMainWindowsClass;
59 #define _g_free0(var) (var = (g_free (var), NULL))
60 typedef struct _LDefaultAppsMainWindowsPrivate LDefaultAppsMainWindowsPrivate;
61
62 #define LDEFAULT_APPS_TYPE_DBUS_BACKEND (ldefault_apps_dbus_backend_get_type ())
63 #define LDEFAULT_APPS_DBUS_BACKEND(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), LDEFAULT_APPS_TYPE_DBUS_BACKEND, LDefaultAppsDbusBackend))
64 #define LDEFAULT_APPS_DBUS_BACKEND_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), LDEFAULT_APPS_TYPE_DBUS_BACKEND, LDefaultAppsDbusBackendClass))
65 #define LDEFAULT_APPS_IS_DBUS_BACKEND(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), LDEFAULT_APPS_TYPE_DBUS_BACKEND))
66 #define LDEFAULT_APPS_IS_DBUS_BACKEND_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), LDEFAULT_APPS_TYPE_DBUS_BACKEND))
67 #define LDEFAULT_APPS_DBUS_BACKEND_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), LDEFAULT_APPS_TYPE_DBUS_BACKEND, LDefaultAppsDbusBackendClass))
68
69 typedef struct _LDefaultAppsDbusBackend LDefaultAppsDbusBackend;
70 typedef struct _LDefaultAppsDbusBackendClass LDefaultAppsDbusBackendClass;
71 typedef struct _Block4Data Block4Data;
72
73 struct _LDefaultAppsUpdateWindows {
74 GtkWindow parent_instance;
75 LDefaultAppsUpdateWindowsPrivate * priv;
76 GPid pid;
77 GKeyFile* kf;
78 };
79
80 struct _LDefaultAppsUpdateWindowsClass {
81 GtkWindowClass parent_class;
82 };
83
84 struct _LDefaultAppsMainWindows {
85 GtkWindow parent_instance;
86 LDefaultAppsMainWindowsPrivate * priv;
87 };
88
89 struct _LDefaultAppsMainWindowsClass {
90 GtkWindowClass parent_class;
91 };
92
93 struct _Block4Data {
94 int _ref_count_;
95 LDefaultAppsMainWindows* self;
96 LDefaultAppsDbusBackend* dbus_backend;
97 GtkComboBox* disable_autostart_combobox;
98 GtkVBox* auto_vbox;
99 GtkVBox* running_apps;
100 GtkHBox* known_apps_box;
101 GtkCheckButton* upstart_session_checkbutton;
102 GtkComboBox* keymap_mode_combobox;
103 GtkEntry* keymap_model_entry;
104 GtkEntry* keymap_layout_entry;
105 GtkEntry* keymap_variant_entry;
106 GtkEntry* keymap_options_entry;
107 GtkComboBox* laptop_mode_combobox;
108 GtkCheckButton* dbus_gnome_checkbutton;
109 GtkComboBox* environment_type_combobox;
110 GtkEntry* enviroment_menu_prefix_entry;
111 };
112
113
114 static gpointer ldefault_apps_update_windows_parent_class = NULL;
115 static gpointer ldefault_apps_main_windows_parent_class = NULL;
116
117 #define GETTEXT_PACKAGE "lxsession"
118 GType ldefault_apps_update_windows_get_type (void) G_GNUC_CONST;
119 enum {
120 LDEFAULT_APPS_UPDATE_WINDOWS_DUMMY_PROPERTY
121 };
122 LDefaultAppsUpdateWindows* ldefault_apps_update_windows_new (void);
123 LDefaultAppsUpdateWindows* ldefault_apps_update_windows_construct (GType object_type);
124 GKeyFile* ldefault_apps_update_windows_get_keyfile (LDefaultAppsUpdateWindows* self);
125 void ldefault_apps_update_windows_update_database (LDefaultAppsUpdateWindows* self);
126 static void ldefault_apps_update_windows_callback_pid (LDefaultAppsUpdateWindows* self, GPid pid, gint status);
127 static void _ldefault_apps_update_windows_callback_pid_gchild_watch_func (GPid pid, gint status, gpointer self);
128 GType ldefault_apps_main_windows_get_type (void) G_GNUC_CONST;
129 LDefaultAppsMainWindows* ldefault_apps_main_windows_new (GKeyFile* kf);
130 LDefaultAppsMainWindows* ldefault_apps_main_windows_construct (GType object_type, GKeyFile* kf);
131 GKeyFile* ldefault_apps_load_key_conf (const gchar* config_path_directory, const gchar* conf_name);
132 static void ldefault_apps_update_windows_finalize (GObject* obj);
133 enum {
134 LDEFAULT_APPS_MAIN_WINDOWS_DUMMY_PROPERTY
135 };
136 GType ldefault_apps_dbus_backend_get_type (void) G_GNUC_CONST;
137 static Block4Data* block4_data_ref (Block4Data* _data4_);
138 static void block4_data_unref (void * _userdata_);
139 static void _gtk_main_quit_gtk_object_destroy (GtkObject* _sender, gpointer self);
140 LDefaultAppsDbusBackend* ldefault_apps_dbus_backend_new (const gchar* type);
141 LDefaultAppsDbusBackend* ldefault_apps_dbus_backend_construct (GType object_type, const gchar* type);
142 void ldefault_apps_manual_autostart_init (GtkBuilder* builder);
143 void ldefault_apps_autostart_core_applications (GtkBuilder* builder, LDefaultAppsDbusBackend* dbus_backend);
144 void ldefault_apps_init_application (GtkBuilder* builder, GKeyFile* kf, LDefaultAppsDbusBackend* dbus_backend, const gchar* key1, const gchar* key2, const gchar* message_help, gchar** more_list, int more_list_length1, const gchar* more_help, const gchar* generic_item);
145 void ldefault_apps_init_application_combobox (GtkBuilder* builder, GKeyFile* kf, LDefaultAppsDbusBackend* dbus_backend, const gchar* key1, const gchar* key2, const gchar* message_help, gchar** more_list, int more_list_length1, const gchar* more_help, const gchar* generic_item);
146 gchar* ldefault_apps_dbus_backend_Get (LDefaultAppsDbusBackend* self, const gchar* key1, const gchar* key2);
147 GtkComboBox* ldefault_apps_ui_combobox_init (GtkBuilder* builder, const gchar* combobox_name, gchar** combobox_list, int combobox_list_length1, const gchar* entry_name, const gchar* by_default);
148 void ldefault_apps_dbus_backend_Set (LDefaultAppsDbusBackend* self, const gchar* key1, const gchar* key2, const gchar* command_to_set);
149 gchar* ldefault_apps_return_combobox_text (GtkComboBox* combo);
150 static void __lambda22_ (Block4Data* _data4_);
151 static void ___lambda22__gtk_combo_box_changed (GtkComboBox* _sender, gpointer self);
152 static void __lambda23_ (Block4Data* _data4_);
153 static void ___lambda23__gtk_toggle_button_toggled (GtkToggleButton* _sender, gpointer self);
154 gchar* ldefault_apps_dbus_backend_KeymapGet (LDefaultAppsDbusBackend* self, const gchar* key1, const gchar* key2);
155 static void __lambda24_ (Block4Data* _data4_);
156 void ldefault_apps_dbus_backend_KeymapSet (LDefaultAppsDbusBackend* self, const gchar* key1, const gchar* key2, const gchar* command_to_set);
157 static void ___lambda24__gtk_button_clicked (GtkButton* _sender, gpointer self);
158 static void __lambda25_ (Block4Data* _data4_);
159 void ldefault_apps_dbus_backend_KeymapActivate (LDefaultAppsDbusBackend* self);
160 static void ___lambda25__gtk_button_clicked (GtkButton* _sender, gpointer self);
161 gchar* ldefault_apps_dbus_backend_StateGet (LDefaultAppsDbusBackend* self, const gchar* key1, const gchar* key2);
162 static void __lambda26_ (Block4Data* _data4_);
163 void ldefault_apps_dbus_backend_StateSet (LDefaultAppsDbusBackend* self, const gchar* key1, const gchar* key2, const gchar* command_to_set);
164 static void ___lambda26__gtk_combo_box_changed (GtkComboBox* _sender, gpointer self);
165 gchar* ldefault_apps_dbus_backend_DbusGet (LDefaultAppsDbusBackend* self, const gchar* key1, const gchar* key2);
166 static void __lambda27_ (Block4Data* _data4_);
167 void ldefault_apps_dbus_backend_DbusSet (LDefaultAppsDbusBackend* self, const gchar* key1, const gchar* key2, const gchar* command_to_set);
168 static void ___lambda27__gtk_toggle_button_toggled (GtkToggleButton* _sender, gpointer self);
169 gchar* ldefault_apps_dbus_backend_EnvironmentGet (LDefaultAppsDbusBackend* self, const gchar* key1, const gchar* key2);
170 static void __lambda28_ (Block4Data* _data4_);
171 void ldefault_apps_dbus_backend_EnvironmentSet (LDefaultAppsDbusBackend* self, const gchar* key1, const gchar* key2, const gchar* command_to_set);
172 static void ___lambda28__gtk_combo_box_changed (GtkComboBox* _sender, gpointer self);
173 static void __lambda29_ (Block4Data* _data4_);
174 static void ___lambda29__gtk_button_clicked (GtkButton* _sender, gpointer self);
175 gint ldefault_apps_main (gchar** args, int args_length1);
176 static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func);
177 static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func);
178 static gint _vala_array_length (gpointer array);
179
180
ldefault_apps_update_windows_construct(GType object_type)181 LDefaultAppsUpdateWindows* ldefault_apps_update_windows_construct (GType object_type) {
182 LDefaultAppsUpdateWindows * self = NULL;
183 const gchar* _tmp0_ = NULL;
184 const gchar* _tmp6_ = NULL;
185 GtkLabel* _tmp7_ = NULL;
186 GtkLabel* _tmp8_ = NULL;
187 GKeyFile* _tmp9_ = NULL;
188 GError * _inner_error_ = NULL;
189 self = (LDefaultAppsUpdateWindows*) g_object_new (object_type, NULL);
190 _tmp0_ = _ ("Update lxsession database");
191 gtk_window_set_title ((GtkWindow*) self, _tmp0_);
192 g_object_set ((GtkWindow*) self, "window-position", GTK_WIN_POS_CENTER, NULL);
193 {
194 GdkPixbuf* _tmp1_ = NULL;
195 GtkIconTheme* _tmp2_ = NULL;
196 GdkPixbuf* _tmp3_ = NULL;
197 _tmp2_ = gtk_icon_theme_get_default ();
198 _tmp3_ = gtk_icon_theme_load_icon (_tmp2_, "preferences-desktop", 48, 0, &_inner_error_);
199 _tmp1_ = _tmp3_;
200 if (G_UNLIKELY (_inner_error_ != NULL)) {
201 goto __catch4_g_error;
202 }
203 gtk_window_set_icon ((GtkWindow*) self, _tmp1_);
204 _g_object_unref0 (_tmp1_);
205 }
206 goto __finally4;
207 __catch4_g_error:
208 {
209 GError* e = NULL;
210 GError* _tmp4_ = NULL;
211 const gchar* _tmp5_ = NULL;
212 e = _inner_error_;
213 _inner_error_ = NULL;
214 _tmp4_ = e;
215 _tmp5_ = _tmp4_->message;
216 g_message ("main.vala:39: Could not load application icon: %s\n", _tmp5_);
217 _g_error_free0 (e);
218 }
219 __finally4:
220 if (G_UNLIKELY (_inner_error_ != NULL)) {
221 g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
222 g_clear_error (&_inner_error_);
223 return NULL;
224 }
225 gtk_window_set_default_size ((GtkWindow*) self, 300, 70);
226 _tmp6_ = _ ("The database is updating, please wait");
227 _tmp7_ = (GtkLabel*) gtk_label_new (_tmp6_);
228 g_object_ref_sink (_tmp7_);
229 _tmp8_ = _tmp7_;
230 gtk_container_add ((GtkContainer*) self, (GtkWidget*) _tmp8_);
231 _g_object_unref0 (_tmp8_);
232 _tmp9_ = ldefault_apps_update_windows_get_keyfile (self);
233 _g_key_file_unref0 (self->kf);
234 self->kf = _tmp9_;
235 ldefault_apps_update_windows_update_database (self);
236 return self;
237 }
238
239
ldefault_apps_update_windows_new(void)240 LDefaultAppsUpdateWindows* ldefault_apps_update_windows_new (void) {
241 return ldefault_apps_update_windows_construct (LDEFAULT_APPS_TYPE_UPDATE_WINDOWS);
242 }
243
244
_ldefault_apps_update_windows_callback_pid_gchild_watch_func(GPid pid,gint status,gpointer self)245 static void _ldefault_apps_update_windows_callback_pid_gchild_watch_func (GPid pid, gint status, gpointer self) {
246 ldefault_apps_update_windows_callback_pid ((LDefaultAppsUpdateWindows*) self, pid, status);
247 }
248
249
ldefault_apps_update_windows_update_database(LDefaultAppsUpdateWindows * self)250 void ldefault_apps_update_windows_update_database (LDefaultAppsUpdateWindows* self) {
251 GError * _inner_error_ = NULL;
252 g_return_if_fail (self != NULL);
253 {
254 gchar** command = NULL;
255 gchar** _tmp0_ = NULL;
256 gchar** _tmp1_ = NULL;
257 gint command_length1 = 0;
258 gint _command_size_ = 0;
259 GPid _tmp2_ = 0;
260 GPid _tmp3_ = 0;
261 _tmp1_ = _tmp0_ = g_strsplit_set ("lxsession-db -m write", " ", 0);
262 command = _tmp1_;
263 command_length1 = _vala_array_length (_tmp0_);
264 _command_size_ = command_length1;
265 g_spawn_async (NULL, command, NULL, G_SPAWN_SEARCH_PATH | G_SPAWN_DO_NOT_REAP_CHILD, NULL, NULL, &_tmp2_, &_inner_error_);
266 self->pid = _tmp2_;
267 if (G_UNLIKELY (_inner_error_ != NULL)) {
268 command = (_vala_array_free (command, command_length1, (GDestroyNotify) g_free), NULL);
269 if (_inner_error_->domain == G_SPAWN_ERROR) {
270 goto __catch5_g_spawn_error;
271 }
272 command = (_vala_array_free (command, command_length1, (GDestroyNotify) g_free), NULL);
273 g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
274 g_clear_error (&_inner_error_);
275 return;
276 }
277 _tmp3_ = self->pid;
278 g_child_watch_add_full (G_PRIORITY_DEFAULT_IDLE, _tmp3_, _ldefault_apps_update_windows_callback_pid_gchild_watch_func, g_object_ref (self), g_object_unref);
279 command = (_vala_array_free (command, command_length1, (GDestroyNotify) g_free), NULL);
280 }
281 goto __finally5;
282 __catch5_g_spawn_error:
283 {
284 GError* err = NULL;
285 GError* _tmp4_ = NULL;
286 const gchar* _tmp5_ = NULL;
287 err = _inner_error_;
288 _inner_error_ = NULL;
289 _tmp4_ = err;
290 _tmp5_ = _tmp4_->message;
291 g_warning ("main.vala:66: Error updating the database: %s\n", _tmp5_);
292 _g_error_free0 (err);
293 }
294 __finally5:
295 if (G_UNLIKELY (_inner_error_ != NULL)) {
296 g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
297 g_clear_error (&_inner_error_);
298 return;
299 }
300 }
301
302
ldefault_apps_update_windows_callback_pid(LDefaultAppsUpdateWindows * self,GPid pid,gint status)303 static void ldefault_apps_update_windows_callback_pid (LDefaultAppsUpdateWindows* self, GPid pid, gint status) {
304 GPid _tmp0_ = 0;
305 LDefaultAppsMainWindows* win = NULL;
306 GKeyFile* _tmp1_ = NULL;
307 LDefaultAppsMainWindows* _tmp2_ = NULL;
308 g_return_if_fail (self != NULL);
309 _tmp0_ = pid;
310 g_spawn_close_pid (_tmp0_);
311 _tmp1_ = self->kf;
312 _tmp2_ = ldefault_apps_main_windows_new (_tmp1_);
313 g_object_ref_sink (_tmp2_);
314 win = _tmp2_;
315 gtk_widget_show_all ((GtkWidget*) win);
316 _g_object_unref0 (win);
317 }
318
319
ldefault_apps_update_windows_get_keyfile(LDefaultAppsUpdateWindows * self)320 GKeyFile* ldefault_apps_update_windows_get_keyfile (LDefaultAppsUpdateWindows* self) {
321 GKeyFile* result = NULL;
322 gchar* config_path_directory = NULL;
323 const gchar* _tmp0_ = NULL;
324 gchar* _tmp1_ = NULL;
325 GKeyFile* kf = NULL;
326 GKeyFile* _tmp2_ = NULL;
327 g_return_val_if_fail (self != NULL, NULL);
328 _tmp0_ = g_get_user_config_dir ();
329 _tmp1_ = g_build_filename (_tmp0_, "lxsession-default-apps", NULL);
330 config_path_directory = _tmp1_;
331 _tmp2_ = ldefault_apps_load_key_conf (config_path_directory, "settings.conf");
332 kf = _tmp2_;
333 result = kf;
334 _g_free0 (config_path_directory);
335 return result;
336 }
337
338
ldefault_apps_update_windows_class_init(LDefaultAppsUpdateWindowsClass * klass)339 static void ldefault_apps_update_windows_class_init (LDefaultAppsUpdateWindowsClass * klass) {
340 ldefault_apps_update_windows_parent_class = g_type_class_peek_parent (klass);
341 G_OBJECT_CLASS (klass)->finalize = ldefault_apps_update_windows_finalize;
342 }
343
344
ldefault_apps_update_windows_instance_init(LDefaultAppsUpdateWindows * self)345 static void ldefault_apps_update_windows_instance_init (LDefaultAppsUpdateWindows * self) {
346 }
347
348
ldefault_apps_update_windows_finalize(GObject * obj)349 static void ldefault_apps_update_windows_finalize (GObject* obj) {
350 LDefaultAppsUpdateWindows * self;
351 self = G_TYPE_CHECK_INSTANCE_CAST (obj, LDEFAULT_APPS_TYPE_UPDATE_WINDOWS, LDefaultAppsUpdateWindows);
352 _g_key_file_unref0 (self->kf);
353 G_OBJECT_CLASS (ldefault_apps_update_windows_parent_class)->finalize (obj);
354 }
355
356
ldefault_apps_update_windows_get_type(void)357 GType ldefault_apps_update_windows_get_type (void) {
358 static volatile gsize ldefault_apps_update_windows_type_id__volatile = 0;
359 if (g_once_init_enter (&ldefault_apps_update_windows_type_id__volatile)) {
360 static const GTypeInfo g_define_type_info = { sizeof (LDefaultAppsUpdateWindowsClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) ldefault_apps_update_windows_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (LDefaultAppsUpdateWindows), 0, (GInstanceInitFunc) ldefault_apps_update_windows_instance_init, NULL };
361 GType ldefault_apps_update_windows_type_id;
362 ldefault_apps_update_windows_type_id = g_type_register_static (GTK_TYPE_WINDOW, "LDefaultAppsUpdateWindows", &g_define_type_info, 0);
363 g_once_init_leave (&ldefault_apps_update_windows_type_id__volatile, ldefault_apps_update_windows_type_id);
364 }
365 return ldefault_apps_update_windows_type_id__volatile;
366 }
367
368
block4_data_ref(Block4Data * _data4_)369 static Block4Data* block4_data_ref (Block4Data* _data4_) {
370 g_atomic_int_inc (&_data4_->_ref_count_);
371 return _data4_;
372 }
373
374
block4_data_unref(void * _userdata_)375 static void block4_data_unref (void * _userdata_) {
376 Block4Data* _data4_;
377 _data4_ = (Block4Data*) _userdata_;
378 if (g_atomic_int_dec_and_test (&_data4_->_ref_count_)) {
379 LDefaultAppsMainWindows* self;
380 self = _data4_->self;
381 _g_object_unref0 (_data4_->enviroment_menu_prefix_entry);
382 _g_object_unref0 (_data4_->environment_type_combobox);
383 _g_object_unref0 (_data4_->dbus_gnome_checkbutton);
384 _g_object_unref0 (_data4_->laptop_mode_combobox);
385 _g_object_unref0 (_data4_->keymap_options_entry);
386 _g_object_unref0 (_data4_->keymap_variant_entry);
387 _g_object_unref0 (_data4_->keymap_layout_entry);
388 _g_object_unref0 (_data4_->keymap_model_entry);
389 _g_object_unref0 (_data4_->keymap_mode_combobox);
390 _g_object_unref0 (_data4_->upstart_session_checkbutton);
391 _g_object_unref0 (_data4_->known_apps_box);
392 _g_object_unref0 (_data4_->running_apps);
393 _g_object_unref0 (_data4_->auto_vbox);
394 _g_object_unref0 (_data4_->disable_autostart_combobox);
395 _g_object_unref0 (_data4_->dbus_backend);
396 _g_object_unref0 (self);
397 g_slice_free (Block4Data, _data4_);
398 }
399 }
400
401
_gtk_main_quit_gtk_object_destroy(GtkObject * _sender,gpointer self)402 static void _gtk_main_quit_gtk_object_destroy (GtkObject* _sender, gpointer self) {
403 gtk_main_quit ();
404 }
405
406
_g_object_ref0(gpointer self)407 static gpointer _g_object_ref0 (gpointer self) {
408 return self ? g_object_ref (self) : NULL;
409 }
410
411
__lambda22_(Block4Data * _data4_)412 static void __lambda22_ (Block4Data* _data4_) {
413 LDefaultAppsMainWindows* self;
414 GtkComboBox* _tmp0_ = NULL;
415 gchar* _tmp1_ = NULL;
416 gchar* _tmp2_ = NULL;
417 gboolean _tmp3_ = FALSE;
418 GtkComboBox* _tmp6_ = NULL;
419 gchar* _tmp7_ = NULL;
420 gchar* _tmp8_ = NULL;
421 gboolean _tmp9_ = FALSE;
422 LDefaultAppsDbusBackend* _tmp11_ = NULL;
423 GtkComboBox* _tmp12_ = NULL;
424 gchar* _tmp13_ = NULL;
425 gchar* _tmp14_ = NULL;
426 self = _data4_->self;
427 _tmp0_ = _data4_->disable_autostart_combobox;
428 _tmp1_ = ldefault_apps_return_combobox_text (_tmp0_);
429 _tmp2_ = _tmp1_;
430 _tmp3_ = g_strcmp0 (_tmp2_, "all") == 0;
431 _g_free0 (_tmp2_);
432 if (_tmp3_) {
433 } else {
434 GtkVBox* _tmp4_ = NULL;
435 GtkVBox* _tmp5_ = NULL;
436 _tmp4_ = _data4_->running_apps;
437 gtk_widget_show_all ((GtkWidget*) _tmp4_);
438 _tmp5_ = _data4_->auto_vbox;
439 gtk_widget_show_all ((GtkWidget*) _tmp5_);
440 }
441 _tmp6_ = _data4_->disable_autostart_combobox;
442 _tmp7_ = ldefault_apps_return_combobox_text (_tmp6_);
443 _tmp8_ = _tmp7_;
444 _tmp9_ = g_strcmp0 (_tmp8_, "no") == 0;
445 _g_free0 (_tmp8_);
446 if (_tmp9_) {
447 GtkHBox* _tmp10_ = NULL;
448 _tmp10_ = _data4_->known_apps_box;
449 gtk_widget_show_all ((GtkWidget*) _tmp10_);
450 } else {
451 }
452 _tmp11_ = _data4_->dbus_backend;
453 _tmp12_ = _data4_->disable_autostart_combobox;
454 _tmp13_ = ldefault_apps_return_combobox_text (_tmp12_);
455 _tmp14_ = _tmp13_;
456 ldefault_apps_dbus_backend_Set (_tmp11_, "disable_autostart", "", _tmp14_);
457 _g_free0 (_tmp14_);
458 }
459
460
___lambda22__gtk_combo_box_changed(GtkComboBox * _sender,gpointer self)461 static void ___lambda22__gtk_combo_box_changed (GtkComboBox* _sender, gpointer self) {
462 __lambda22_ (self);
463 }
464
465
__lambda23_(Block4Data * _data4_)466 static void __lambda23_ (Block4Data* _data4_) {
467 LDefaultAppsMainWindows* self;
468 GtkCheckButton* _tmp0_ = NULL;
469 gboolean _tmp1_ = FALSE;
470 self = _data4_->self;
471 _tmp0_ = _data4_->upstart_session_checkbutton;
472 _tmp1_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp0_);
473 if (_tmp1_) {
474 LDefaultAppsDbusBackend* _tmp2_ = NULL;
475 _tmp2_ = _data4_->dbus_backend;
476 ldefault_apps_dbus_backend_Set (_tmp2_, "upstart_user_session", "", "true");
477 } else {
478 LDefaultAppsDbusBackend* _tmp3_ = NULL;
479 _tmp3_ = _data4_->dbus_backend;
480 ldefault_apps_dbus_backend_Set (_tmp3_, "upstart_user_session", "", "false");
481 }
482 }
483
484
___lambda23__gtk_toggle_button_toggled(GtkToggleButton * _sender,gpointer self)485 static void ___lambda23__gtk_toggle_button_toggled (GtkToggleButton* _sender, gpointer self) {
486 __lambda23_ (self);
487 }
488
489
__lambda24_(Block4Data * _data4_)490 static void __lambda24_ (Block4Data* _data4_) {
491 LDefaultAppsMainWindows* self;
492 LDefaultAppsDbusBackend* _tmp0_ = NULL;
493 GtkComboBox* _tmp1_ = NULL;
494 gchar* _tmp2_ = NULL;
495 gchar* _tmp3_ = NULL;
496 LDefaultAppsDbusBackend* _tmp4_ = NULL;
497 GtkEntry* _tmp5_ = NULL;
498 const gchar* _tmp6_ = NULL;
499 LDefaultAppsDbusBackend* _tmp7_ = NULL;
500 GtkEntry* _tmp8_ = NULL;
501 const gchar* _tmp9_ = NULL;
502 LDefaultAppsDbusBackend* _tmp10_ = NULL;
503 GtkEntry* _tmp11_ = NULL;
504 const gchar* _tmp12_ = NULL;
505 LDefaultAppsDbusBackend* _tmp13_ = NULL;
506 GtkEntry* _tmp14_ = NULL;
507 const gchar* _tmp15_ = NULL;
508 self = _data4_->self;
509 g_message ("main.vala:499: Click !");
510 _tmp0_ = _data4_->dbus_backend;
511 _tmp1_ = _data4_->keymap_mode_combobox;
512 _tmp2_ = ldefault_apps_return_combobox_text (_tmp1_);
513 _tmp3_ = _tmp2_;
514 ldefault_apps_dbus_backend_KeymapSet (_tmp0_, "mode", NULL, _tmp3_);
515 _g_free0 (_tmp3_);
516 _tmp4_ = _data4_->dbus_backend;
517 _tmp5_ = _data4_->keymap_model_entry;
518 _tmp6_ = gtk_entry_get_text (_tmp5_);
519 ldefault_apps_dbus_backend_KeymapSet (_tmp4_, "model", NULL, _tmp6_);
520 _tmp7_ = _data4_->dbus_backend;
521 _tmp8_ = _data4_->keymap_layout_entry;
522 _tmp9_ = gtk_entry_get_text (_tmp8_);
523 ldefault_apps_dbus_backend_KeymapSet (_tmp7_, "layout", NULL, _tmp9_);
524 _tmp10_ = _data4_->dbus_backend;
525 _tmp11_ = _data4_->keymap_variant_entry;
526 _tmp12_ = gtk_entry_get_text (_tmp11_);
527 ldefault_apps_dbus_backend_KeymapSet (_tmp10_, "variant", NULL, _tmp12_);
528 _tmp13_ = _data4_->dbus_backend;
529 _tmp14_ = _data4_->keymap_options_entry;
530 _tmp15_ = gtk_entry_get_text (_tmp14_);
531 ldefault_apps_dbus_backend_KeymapSet (_tmp13_, "options", NULL, _tmp15_);
532 }
533
534
___lambda24__gtk_button_clicked(GtkButton * _sender,gpointer self)535 static void ___lambda24__gtk_button_clicked (GtkButton* _sender, gpointer self) {
536 __lambda24_ (self);
537 }
538
539
__lambda25_(Block4Data * _data4_)540 static void __lambda25_ (Block4Data* _data4_) {
541 LDefaultAppsMainWindows* self;
542 LDefaultAppsDbusBackend* _tmp0_ = NULL;
543 self = _data4_->self;
544 _tmp0_ = _data4_->dbus_backend;
545 ldefault_apps_dbus_backend_KeymapActivate (_tmp0_);
546 }
547
548
___lambda25__gtk_button_clicked(GtkButton * _sender,gpointer self)549 static void ___lambda25__gtk_button_clicked (GtkButton* _sender, gpointer self) {
550 __lambda25_ (self);
551 }
552
553
__lambda26_(Block4Data * _data4_)554 static void __lambda26_ (Block4Data* _data4_) {
555 LDefaultAppsMainWindows* self;
556 LDefaultAppsDbusBackend* _tmp0_ = NULL;
557 GtkComboBox* _tmp1_ = NULL;
558 gchar* _tmp2_ = NULL;
559 gchar* _tmp3_ = NULL;
560 self = _data4_->self;
561 _tmp0_ = _data4_->dbus_backend;
562 _tmp1_ = _data4_->laptop_mode_combobox;
563 _tmp2_ = ldefault_apps_return_combobox_text (_tmp1_);
564 _tmp3_ = _tmp2_;
565 ldefault_apps_dbus_backend_StateSet (_tmp0_, "laptop_mode", NULL, _tmp3_);
566 _g_free0 (_tmp3_);
567 }
568
569
___lambda26__gtk_combo_box_changed(GtkComboBox * _sender,gpointer self)570 static void ___lambda26__gtk_combo_box_changed (GtkComboBox* _sender, gpointer self) {
571 __lambda26_ (self);
572 }
573
574
__lambda27_(Block4Data * _data4_)575 static void __lambda27_ (Block4Data* _data4_) {
576 LDefaultAppsMainWindows* self;
577 GtkCheckButton* _tmp0_ = NULL;
578 gboolean _tmp1_ = FALSE;
579 self = _data4_->self;
580 g_message ("main.vala:542: Click !");
581 _tmp0_ = _data4_->dbus_gnome_checkbutton;
582 _tmp1_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp0_);
583 if (_tmp1_) {
584 LDefaultAppsDbusBackend* _tmp2_ = NULL;
585 _tmp2_ = _data4_->dbus_backend;
586 ldefault_apps_dbus_backend_DbusSet (_tmp2_, "gnome", NULL, "true");
587 } else {
588 LDefaultAppsDbusBackend* _tmp3_ = NULL;
589 _tmp3_ = _data4_->dbus_backend;
590 ldefault_apps_dbus_backend_DbusSet (_tmp3_, "gnome", NULL, "false");
591 }
592 }
593
594
___lambda27__gtk_toggle_button_toggled(GtkToggleButton * _sender,gpointer self)595 static void ___lambda27__gtk_toggle_button_toggled (GtkToggleButton* _sender, gpointer self) {
596 __lambda27_ (self);
597 }
598
599
__lambda28_(Block4Data * _data4_)600 static void __lambda28_ (Block4Data* _data4_) {
601 LDefaultAppsMainWindows* self;
602 LDefaultAppsDbusBackend* _tmp0_ = NULL;
603 GtkComboBox* _tmp1_ = NULL;
604 gchar* _tmp2_ = NULL;
605 gchar* _tmp3_ = NULL;
606 self = _data4_->self;
607 _tmp0_ = _data4_->dbus_backend;
608 _tmp1_ = _data4_->environment_type_combobox;
609 _tmp2_ = ldefault_apps_return_combobox_text (_tmp1_);
610 _tmp3_ = _tmp2_;
611 ldefault_apps_dbus_backend_EnvironmentSet (_tmp0_, "type", NULL, _tmp3_);
612 _g_free0 (_tmp3_);
613 }
614
615
___lambda28__gtk_combo_box_changed(GtkComboBox * _sender,gpointer self)616 static void ___lambda28__gtk_combo_box_changed (GtkComboBox* _sender, gpointer self) {
617 __lambda28_ (self);
618 }
619
620
__lambda29_(Block4Data * _data4_)621 static void __lambda29_ (Block4Data* _data4_) {
622 LDefaultAppsMainWindows* self;
623 LDefaultAppsDbusBackend* _tmp0_ = NULL;
624 const gchar* _tmp1_ = NULL;
625 self = _data4_->self;
626 g_message ("main.vala:572: Click !");
627 _tmp0_ = _data4_->dbus_backend;
628 _tmp1_ = gtk_entry_get_text (_data4_->enviroment_menu_prefix_entry);
629 ldefault_apps_dbus_backend_EnvironmentSet (_tmp0_, "menu_prefix", NULL, _tmp1_);
630 }
631
632
___lambda29__gtk_button_clicked(GtkButton * _sender,gpointer self)633 static void ___lambda29__gtk_button_clicked (GtkButton* _sender, gpointer self) {
634 __lambda29_ (self);
635 }
636
637
ldefault_apps_main_windows_construct(GType object_type,GKeyFile * kf)638 LDefaultAppsMainWindows* ldefault_apps_main_windows_construct (GType object_type, GKeyFile* kf) {
639 LDefaultAppsMainWindows * self = NULL;
640 Block4Data* _data4_;
641 const gchar* _tmp0_ = NULL;
642 GtkBuilder* builder = NULL;
643 GtkBuilder* _tmp6_ = NULL;
644 GtkBuilder* _tmp19_ = NULL;
645 GtkVBox* main_vbox = NULL;
646 GtkBuilder* _tmp20_ = NULL;
647 GObject* _tmp21_ = NULL;
648 GtkVBox* _tmp22_ = NULL;
649 LDefaultAppsDbusBackend* _tmp28_ = NULL;
650 GtkBuilder* _tmp29_ = NULL;
651 GtkBuilder* _tmp30_ = NULL;
652 LDefaultAppsDbusBackend* _tmp31_ = NULL;
653 gchar* manual_setting_help = NULL;
654 const gchar* _tmp32_ = NULL;
655 gchar* _tmp33_ = NULL;
656 gchar* session_string_help = NULL;
657 const gchar* _tmp34_ = NULL;
658 gchar* _tmp35_ = NULL;
659 gchar* extra_string_help = NULL;
660 const gchar* _tmp36_ = NULL;
661 gchar* _tmp37_ = NULL;
662 gchar* mime_association_help = NULL;
663 const gchar* _tmp38_ = NULL;
664 gchar* _tmp39_ = NULL;
665 gchar* mime_available_help = NULL;
666 const gchar* _tmp40_ = NULL;
667 gchar* _tmp41_ = NULL;
668 gchar* handle_desktop_help = NULL;
669 const gchar* _tmp42_ = NULL;
670 gchar* _tmp43_ = NULL;
671 gchar* autostart_help = NULL;
672 const gchar* _tmp44_ = NULL;
673 gchar* _tmp45_ = NULL;
674 gchar* debian_default_help = NULL;
675 const gchar* _tmp46_ = NULL;
676 gchar* _tmp47_ = NULL;
677 gchar* windows_manager_help_message = NULL;
678 const gchar* _tmp48_ = NULL;
679 gchar* _tmp49_ = NULL;
680 gchar** windows_manager_more = NULL;
681 gchar* _tmp50_ = NULL;
682 gchar* _tmp51_ = NULL;
683 gchar** _tmp52_ = NULL;
684 gint windows_manager_more_length1 = 0;
685 gint _windows_manager_more_size_ = 0;
686 gchar* windows_manager_more_help_message = NULL;
687 const gchar* _tmp53_ = NULL;
688 const gchar* _tmp54_ = NULL;
689 gchar* _tmp55_ = NULL;
690 GtkBuilder* _tmp56_ = NULL;
691 GKeyFile* _tmp57_ = NULL;
692 LDefaultAppsDbusBackend* _tmp58_ = NULL;
693 const gchar* _tmp59_ = NULL;
694 gchar** _tmp60_ = NULL;
695 gint _tmp60__length1 = 0;
696 const gchar* _tmp61_ = NULL;
697 gchar* panel_help_message = NULL;
698 const gchar* _tmp62_ = NULL;
699 gchar* _tmp63_ = NULL;
700 gchar** panel_more = NULL;
701 gchar* _tmp64_ = NULL;
702 gchar** _tmp65_ = NULL;
703 gint panel_more_length1 = 0;
704 gint _panel_more_size_ = 0;
705 gchar* panel_more_help_message = NULL;
706 const gchar* _tmp66_ = NULL;
707 gchar* _tmp67_ = NULL;
708 GtkBuilder* _tmp68_ = NULL;
709 GKeyFile* _tmp69_ = NULL;
710 LDefaultAppsDbusBackend* _tmp70_ = NULL;
711 const gchar* _tmp71_ = NULL;
712 gchar** _tmp72_ = NULL;
713 gint _tmp72__length1 = 0;
714 const gchar* _tmp73_ = NULL;
715 gchar* dock_help_message = NULL;
716 const gchar* _tmp74_ = NULL;
717 gchar* _tmp75_ = NULL;
718 gchar** dock_more = NULL;
719 gchar* _tmp76_ = NULL;
720 gchar** _tmp77_ = NULL;
721 gint dock_more_length1 = 0;
722 gint _dock_more_size_ = 0;
723 gchar* dock_more_help_message = NULL;
724 const gchar* _tmp78_ = NULL;
725 gchar* _tmp79_ = NULL;
726 GtkBuilder* _tmp80_ = NULL;
727 GKeyFile* _tmp81_ = NULL;
728 LDefaultAppsDbusBackend* _tmp82_ = NULL;
729 const gchar* _tmp83_ = NULL;
730 gchar** _tmp84_ = NULL;
731 gint _tmp84__length1 = 0;
732 const gchar* _tmp85_ = NULL;
733 gchar* file_manager_help_message = NULL;
734 const gchar* _tmp86_ = NULL;
735 gchar* _tmp87_ = NULL;
736 gchar** file_manager_more = NULL;
737 gchar* _tmp88_ = NULL;
738 gchar* _tmp89_ = NULL;
739 gchar* _tmp90_ = NULL;
740 gchar* _tmp91_ = NULL;
741 gchar* _tmp92_ = NULL;
742 gchar* _tmp93_ = NULL;
743 gchar** _tmp94_ = NULL;
744 gint file_manager_more_length1 = 0;
745 gint _file_manager_more_size_ = 0;
746 gchar* file_manager_more_help_message = NULL;
747 const gchar* _tmp95_ = NULL;
748 const gchar* _tmp96_ = NULL;
749 gchar* _tmp97_ = NULL;
750 gchar* _tmp98_ = NULL;
751 const gchar* _tmp99_ = NULL;
752 gchar* _tmp100_ = NULL;
753 gchar* _tmp101_ = NULL;
754 const gchar* _tmp102_ = NULL;
755 gchar* _tmp103_ = NULL;
756 gchar* _tmp104_ = NULL;
757 const gchar* _tmp105_ = NULL;
758 gchar* _tmp106_ = NULL;
759 gchar* _tmp107_ = NULL;
760 const gchar* _tmp108_ = NULL;
761 gchar* _tmp109_ = NULL;
762 gchar* _tmp110_ = NULL;
763 GtkBuilder* _tmp111_ = NULL;
764 GKeyFile* _tmp112_ = NULL;
765 LDefaultAppsDbusBackend* _tmp113_ = NULL;
766 const gchar* _tmp114_ = NULL;
767 gchar** _tmp115_ = NULL;
768 gint _tmp115__length1 = 0;
769 const gchar* _tmp116_ = NULL;
770 gchar* composite_manager_help_message = NULL;
771 const gchar* _tmp117_ = NULL;
772 gchar* _tmp118_ = NULL;
773 gchar** composite_manager_more = NULL;
774 gchar* _tmp119_ = NULL;
775 gchar** _tmp120_ = NULL;
776 gint composite_manager_more_length1 = 0;
777 gint _composite_manager_more_size_ = 0;
778 gchar* composite_manager_more_help_message = NULL;
779 gchar* _tmp121_ = NULL;
780 GtkBuilder* _tmp122_ = NULL;
781 GKeyFile* _tmp123_ = NULL;
782 LDefaultAppsDbusBackend* _tmp124_ = NULL;
783 const gchar* _tmp125_ = NULL;
784 gchar** _tmp126_ = NULL;
785 gint _tmp126__length1 = 0;
786 const gchar* _tmp127_ = NULL;
787 gchar* desktop_manager_help_message = NULL;
788 const gchar* _tmp128_ = NULL;
789 gchar* _tmp129_ = NULL;
790 gchar** desktop_manager_more = NULL;
791 gchar* _tmp130_ = NULL;
792 gchar* _tmp131_ = NULL;
793 gchar** _tmp132_ = NULL;
794 gint desktop_manager_more_length1 = 0;
795 gint _desktop_manager_more_size_ = 0;
796 gchar* desktop_manager_more_help_message = NULL;
797 const gchar* _tmp133_ = NULL;
798 gchar* _tmp134_ = NULL;
799 GtkBuilder* _tmp135_ = NULL;
800 GKeyFile* _tmp136_ = NULL;
801 LDefaultAppsDbusBackend* _tmp137_ = NULL;
802 const gchar* _tmp138_ = NULL;
803 gchar** _tmp139_ = NULL;
804 gint _tmp139__length1 = 0;
805 const gchar* _tmp140_ = NULL;
806 gchar* screensaver_help_message = NULL;
807 const gchar* _tmp141_ = NULL;
808 gchar* _tmp142_ = NULL;
809 gchar** screensaver_more = NULL;
810 gchar* _tmp143_ = NULL;
811 gchar** _tmp144_ = NULL;
812 gint screensaver_more_length1 = 0;
813 gint _screensaver_more_size_ = 0;
814 gchar* screensaver_more_help_message = NULL;
815 gchar* _tmp145_ = NULL;
816 GtkBuilder* _tmp146_ = NULL;
817 GKeyFile* _tmp147_ = NULL;
818 LDefaultAppsDbusBackend* _tmp148_ = NULL;
819 const gchar* _tmp149_ = NULL;
820 gchar** _tmp150_ = NULL;
821 gint _tmp150__length1 = 0;
822 const gchar* _tmp151_ = NULL;
823 gchar* power_manager_help_message = NULL;
824 const gchar* _tmp152_ = NULL;
825 gchar* _tmp153_ = NULL;
826 gchar** power_manager_more = NULL;
827 gchar* _tmp154_ = NULL;
828 gchar** _tmp155_ = NULL;
829 gint power_manager_more_length1 = 0;
830 gint _power_manager_more_size_ = 0;
831 gchar* power_manager_more_help_message = NULL;
832 gchar* _tmp156_ = NULL;
833 GtkBuilder* _tmp157_ = NULL;
834 GKeyFile* _tmp158_ = NULL;
835 LDefaultAppsDbusBackend* _tmp159_ = NULL;
836 const gchar* _tmp160_ = NULL;
837 gchar** _tmp161_ = NULL;
838 gint _tmp161__length1 = 0;
839 const gchar* _tmp162_ = NULL;
840 gchar* polkit_help_message = NULL;
841 const gchar* _tmp163_ = NULL;
842 gchar* _tmp164_ = NULL;
843 gchar** polkit_more = NULL;
844 gchar* _tmp165_ = NULL;
845 gchar** _tmp166_ = NULL;
846 gint polkit_more_length1 = 0;
847 gint _polkit_more_size_ = 0;
848 gchar* polkit_more_help_message = NULL;
849 gchar* _tmp167_ = NULL;
850 GtkBuilder* _tmp168_ = NULL;
851 GKeyFile* _tmp169_ = NULL;
852 LDefaultAppsDbusBackend* _tmp170_ = NULL;
853 const gchar* _tmp171_ = NULL;
854 gchar** _tmp172_ = NULL;
855 gint _tmp172__length1 = 0;
856 const gchar* _tmp173_ = NULL;
857 gchar* network_gui_help_message = NULL;
858 const gchar* _tmp174_ = NULL;
859 gchar* _tmp175_ = NULL;
860 gchar** network_gui_more = NULL;
861 gchar* _tmp176_ = NULL;
862 gchar** _tmp177_ = NULL;
863 gint network_gui_more_length1 = 0;
864 gint _network_gui_more_size_ = 0;
865 gchar* network_gui_more_help_message = NULL;
866 gchar* _tmp178_ = NULL;
867 GtkBuilder* _tmp179_ = NULL;
868 GKeyFile* _tmp180_ = NULL;
869 LDefaultAppsDbusBackend* _tmp181_ = NULL;
870 const gchar* _tmp182_ = NULL;
871 gchar** _tmp183_ = NULL;
872 gint _tmp183__length1 = 0;
873 const gchar* _tmp184_ = NULL;
874 gchar* im1_help_message = NULL;
875 const gchar* _tmp185_ = NULL;
876 gchar* _tmp186_ = NULL;
877 gchar** im1_more = NULL;
878 gchar* _tmp187_ = NULL;
879 gchar* _tmp188_ = NULL;
880 gchar* _tmp189_ = NULL;
881 gchar* _tmp190_ = NULL;
882 gchar** _tmp191_ = NULL;
883 gint im1_more_length1 = 0;
884 gint _im1_more_size_ = 0;
885 gchar* im1_more_help_message = NULL;
886 const gchar* _tmp192_ = NULL;
887 const gchar* _tmp193_ = NULL;
888 gchar* _tmp194_ = NULL;
889 gchar* _tmp195_ = NULL;
890 const gchar* _tmp196_ = NULL;
891 gchar* _tmp197_ = NULL;
892 gchar* _tmp198_ = NULL;
893 const gchar* _tmp199_ = NULL;
894 gchar* _tmp200_ = NULL;
895 gchar* _tmp201_ = NULL;
896 GtkBuilder* _tmp202_ = NULL;
897 GKeyFile* _tmp203_ = NULL;
898 LDefaultAppsDbusBackend* _tmp204_ = NULL;
899 const gchar* _tmp205_ = NULL;
900 gchar** _tmp206_ = NULL;
901 gint _tmp206__length1 = 0;
902 const gchar* _tmp207_ = NULL;
903 gchar* im2_help_message = NULL;
904 const gchar* _tmp208_ = NULL;
905 gchar* _tmp209_ = NULL;
906 gchar** im2_more = NULL;
907 gchar* _tmp210_ = NULL;
908 gchar* _tmp211_ = NULL;
909 gchar* _tmp212_ = NULL;
910 gchar* _tmp213_ = NULL;
911 gchar** _tmp214_ = NULL;
912 gint im2_more_length1 = 0;
913 gint _im2_more_size_ = 0;
914 gchar* im2_more_help_message = NULL;
915 const gchar* _tmp215_ = NULL;
916 const gchar* _tmp216_ = NULL;
917 gchar* _tmp217_ = NULL;
918 gchar* _tmp218_ = NULL;
919 const gchar* _tmp219_ = NULL;
920 gchar* _tmp220_ = NULL;
921 gchar* _tmp221_ = NULL;
922 const gchar* _tmp222_ = NULL;
923 gchar* _tmp223_ = NULL;
924 gchar* _tmp224_ = NULL;
925 GtkBuilder* _tmp225_ = NULL;
926 GKeyFile* _tmp226_ = NULL;
927 LDefaultAppsDbusBackend* _tmp227_ = NULL;
928 const gchar* _tmp228_ = NULL;
929 gchar** _tmp229_ = NULL;
930 gint _tmp229__length1 = 0;
931 const gchar* _tmp230_ = NULL;
932 gchar* terminal_manager_help_message = NULL;
933 const gchar* _tmp231_ = NULL;
934 gchar* _tmp232_ = NULL;
935 gchar** terminal_manager_more = NULL;
936 gchar* _tmp233_ = NULL;
937 gchar* _tmp234_ = NULL;
938 gchar* _tmp235_ = NULL;
939 gchar* _tmp236_ = NULL;
940 gchar** _tmp237_ = NULL;
941 gint terminal_manager_more_length1 = 0;
942 gint _terminal_manager_more_size_ = 0;
943 gchar* terminal_manager_more_help_message = NULL;
944 const gchar* _tmp238_ = NULL;
945 const gchar* _tmp239_ = NULL;
946 gchar* _tmp240_ = NULL;
947 gchar* _tmp241_ = NULL;
948 const gchar* _tmp242_ = NULL;
949 gchar* _tmp243_ = NULL;
950 gchar* _tmp244_ = NULL;
951 const gchar* _tmp245_ = NULL;
952 gchar* _tmp246_ = NULL;
953 gchar* _tmp247_ = NULL;
954 GtkBuilder* _tmp248_ = NULL;
955 GKeyFile* _tmp249_ = NULL;
956 LDefaultAppsDbusBackend* _tmp250_ = NULL;
957 const gchar* _tmp251_ = NULL;
958 gchar** _tmp252_ = NULL;
959 gint _tmp252__length1 = 0;
960 const gchar* _tmp253_ = NULL;
961 gchar* webbrowser_help_message = NULL;
962 const gchar* _tmp254_ = NULL;
963 gchar* _tmp255_ = NULL;
964 gchar** webbrowser_more = NULL;
965 gchar* _tmp256_ = NULL;
966 gchar* _tmp257_ = NULL;
967 gchar* _tmp258_ = NULL;
968 gchar* _tmp259_ = NULL;
969 gchar** _tmp260_ = NULL;
970 gint webbrowser_more_length1 = 0;
971 gint _webbrowser_more_size_ = 0;
972 gchar* webbrowser_more_help_message = NULL;
973 const gchar* _tmp261_ = NULL;
974 const gchar* _tmp262_ = NULL;
975 gchar* _tmp263_ = NULL;
976 gchar* _tmp264_ = NULL;
977 const gchar* _tmp265_ = NULL;
978 gchar* _tmp266_ = NULL;
979 gchar* _tmp267_ = NULL;
980 const gchar* _tmp268_ = NULL;
981 gchar* _tmp269_ = NULL;
982 gchar* _tmp270_ = NULL;
983 GtkBuilder* _tmp271_ = NULL;
984 GKeyFile* _tmp272_ = NULL;
985 LDefaultAppsDbusBackend* _tmp273_ = NULL;
986 const gchar* _tmp274_ = NULL;
987 gchar** _tmp275_ = NULL;
988 gint _tmp275__length1 = 0;
989 const gchar* _tmp276_ = NULL;
990 gchar* email_help_message = NULL;
991 const gchar* _tmp277_ = NULL;
992 gchar* _tmp278_ = NULL;
993 gchar** email_more = NULL;
994 gchar* _tmp279_ = NULL;
995 gchar* _tmp280_ = NULL;
996 gchar* _tmp281_ = NULL;
997 gchar** _tmp282_ = NULL;
998 gint email_more_length1 = 0;
999 gint _email_more_size_ = 0;
1000 gchar* email_more_help_message = NULL;
1001 const gchar* _tmp283_ = NULL;
1002 const gchar* _tmp284_ = NULL;
1003 gchar* _tmp285_ = NULL;
1004 gchar* _tmp286_ = NULL;
1005 const gchar* _tmp287_ = NULL;
1006 gchar* _tmp288_ = NULL;
1007 gchar* _tmp289_ = NULL;
1008 GtkBuilder* _tmp290_ = NULL;
1009 GKeyFile* _tmp291_ = NULL;
1010 LDefaultAppsDbusBackend* _tmp292_ = NULL;
1011 const gchar* _tmp293_ = NULL;
1012 gchar** _tmp294_ = NULL;
1013 gint _tmp294__length1 = 0;
1014 const gchar* _tmp295_ = NULL;
1015 gchar* widget_help_message = NULL;
1016 const gchar* _tmp296_ = NULL;
1017 gchar* _tmp297_ = NULL;
1018 gchar** widget_more = NULL;
1019 gchar* _tmp298_ = NULL;
1020 gchar** _tmp299_ = NULL;
1021 gint widget_more_length1 = 0;
1022 gint _widget_more_size_ = 0;
1023 gchar* widget_more_help_message = NULL;
1024 const gchar* _tmp300_ = NULL;
1025 gchar* _tmp301_ = NULL;
1026 GtkBuilder* _tmp302_ = NULL;
1027 GKeyFile* _tmp303_ = NULL;
1028 LDefaultAppsDbusBackend* _tmp304_ = NULL;
1029 const gchar* _tmp305_ = NULL;
1030 gchar** _tmp306_ = NULL;
1031 gint _tmp306__length1 = 0;
1032 const gchar* _tmp307_ = NULL;
1033 gchar* launcher_manager_help_message = NULL;
1034 const gchar* _tmp308_ = NULL;
1035 gchar* _tmp309_ = NULL;
1036 gchar** launcher_manager_more = NULL;
1037 gchar* _tmp310_ = NULL;
1038 gchar** _tmp311_ = NULL;
1039 gint launcher_manager_more_length1 = 0;
1040 gint _launcher_manager_more_size_ = 0;
1041 gchar* launcher_manager_more_help_message = NULL;
1042 const gchar* _tmp312_ = NULL;
1043 gchar* _tmp313_ = NULL;
1044 GtkBuilder* _tmp314_ = NULL;
1045 GKeyFile* _tmp315_ = NULL;
1046 LDefaultAppsDbusBackend* _tmp316_ = NULL;
1047 const gchar* _tmp317_ = NULL;
1048 gchar** _tmp318_ = NULL;
1049 gint _tmp318__length1 = 0;
1050 const gchar* _tmp319_ = NULL;
1051 gchar* screenshot_manager_help_message = NULL;
1052 const gchar* _tmp320_ = NULL;
1053 gchar* _tmp321_ = NULL;
1054 gchar** screenshot_manager_more = NULL;
1055 gchar* _tmp322_ = NULL;
1056 gchar** _tmp323_ = NULL;
1057 gint screenshot_manager_more_length1 = 0;
1058 gint _screenshot_manager_more_size_ = 0;
1059 gchar* screenshot_manager_more_help_message = NULL;
1060 const gchar* _tmp324_ = NULL;
1061 gchar* _tmp325_ = NULL;
1062 GtkBuilder* _tmp326_ = NULL;
1063 GKeyFile* _tmp327_ = NULL;
1064 LDefaultAppsDbusBackend* _tmp328_ = NULL;
1065 const gchar* _tmp329_ = NULL;
1066 gchar** _tmp330_ = NULL;
1067 gint _tmp330__length1 = 0;
1068 const gchar* _tmp331_ = NULL;
1069 gchar* pdf_reader_help_message = NULL;
1070 gchar* _tmp332_ = NULL;
1071 gchar** pdf_reader_more = NULL;
1072 gchar* _tmp333_ = NULL;
1073 gchar* _tmp334_ = NULL;
1074 gchar* _tmp335_ = NULL;
1075 gchar** _tmp336_ = NULL;
1076 gint pdf_reader_more_length1 = 0;
1077 gint _pdf_reader_more_size_ = 0;
1078 gchar* pdf_reader_more_help_message = NULL;
1079 const gchar* _tmp337_ = NULL;
1080 const gchar* _tmp338_ = NULL;
1081 gchar* _tmp339_ = NULL;
1082 gchar* _tmp340_ = NULL;
1083 const gchar* _tmp341_ = NULL;
1084 gchar* _tmp342_ = NULL;
1085 gchar* _tmp343_ = NULL;
1086 GtkBuilder* _tmp344_ = NULL;
1087 GKeyFile* _tmp345_ = NULL;
1088 LDefaultAppsDbusBackend* _tmp346_ = NULL;
1089 const gchar* _tmp347_ = NULL;
1090 gchar** _tmp348_ = NULL;
1091 gint _tmp348__length1 = 0;
1092 const gchar* _tmp349_ = NULL;
1093 gchar* video_player_help_message = NULL;
1094 const gchar* _tmp350_ = NULL;
1095 gchar* _tmp351_ = NULL;
1096 gchar** video_player_more = NULL;
1097 gchar* _tmp352_ = NULL;
1098 gchar* _tmp353_ = NULL;
1099 gchar* _tmp354_ = NULL;
1100 gchar** _tmp355_ = NULL;
1101 gint video_player_more_length1 = 0;
1102 gint _video_player_more_size_ = 0;
1103 gchar* video_player_more_help_message = NULL;
1104 const gchar* _tmp356_ = NULL;
1105 const gchar* _tmp357_ = NULL;
1106 gchar* _tmp358_ = NULL;
1107 gchar* _tmp359_ = NULL;
1108 const gchar* _tmp360_ = NULL;
1109 gchar* _tmp361_ = NULL;
1110 gchar* _tmp362_ = NULL;
1111 GtkBuilder* _tmp363_ = NULL;
1112 GKeyFile* _tmp364_ = NULL;
1113 LDefaultAppsDbusBackend* _tmp365_ = NULL;
1114 const gchar* _tmp366_ = NULL;
1115 gchar** _tmp367_ = NULL;
1116 gint _tmp367__length1 = 0;
1117 const gchar* _tmp368_ = NULL;
1118 gchar* audio_player_help_message = NULL;
1119 const gchar* _tmp369_ = NULL;
1120 gchar* _tmp370_ = NULL;
1121 gchar** audio_player_more = NULL;
1122 gchar* _tmp371_ = NULL;
1123 gchar* _tmp372_ = NULL;
1124 gchar* _tmp373_ = NULL;
1125 gchar** _tmp374_ = NULL;
1126 gint audio_player_more_length1 = 0;
1127 gint _audio_player_more_size_ = 0;
1128 gchar* audio_player_more_help_message = NULL;
1129 const gchar* _tmp375_ = NULL;
1130 const gchar* _tmp376_ = NULL;
1131 gchar* _tmp377_ = NULL;
1132 gchar* _tmp378_ = NULL;
1133 const gchar* _tmp379_ = NULL;
1134 gchar* _tmp380_ = NULL;
1135 gchar* _tmp381_ = NULL;
1136 GtkBuilder* _tmp382_ = NULL;
1137 GKeyFile* _tmp383_ = NULL;
1138 LDefaultAppsDbusBackend* _tmp384_ = NULL;
1139 const gchar* _tmp385_ = NULL;
1140 gchar** _tmp386_ = NULL;
1141 gint _tmp386__length1 = 0;
1142 const gchar* _tmp387_ = NULL;
1143 gchar* image_display_help_message = NULL;
1144 const gchar* _tmp388_ = NULL;
1145 gchar* _tmp389_ = NULL;
1146 gchar** image_display_more = NULL;
1147 gchar* _tmp390_ = NULL;
1148 gchar* _tmp391_ = NULL;
1149 gchar* _tmp392_ = NULL;
1150 gchar** _tmp393_ = NULL;
1151 gint image_display_more_length1 = 0;
1152 gint _image_display_more_size_ = 0;
1153 gchar* image_display_more_help_message = NULL;
1154 const gchar* _tmp394_ = NULL;
1155 const gchar* _tmp395_ = NULL;
1156 gchar* _tmp396_ = NULL;
1157 gchar* _tmp397_ = NULL;
1158 const gchar* _tmp398_ = NULL;
1159 gchar* _tmp399_ = NULL;
1160 gchar* _tmp400_ = NULL;
1161 GtkBuilder* _tmp401_ = NULL;
1162 GKeyFile* _tmp402_ = NULL;
1163 LDefaultAppsDbusBackend* _tmp403_ = NULL;
1164 const gchar* _tmp404_ = NULL;
1165 gchar** _tmp405_ = NULL;
1166 gint _tmp405__length1 = 0;
1167 const gchar* _tmp406_ = NULL;
1168 gchar* text_editor_help_message = NULL;
1169 const gchar* _tmp407_ = NULL;
1170 gchar* _tmp408_ = NULL;
1171 gchar** text_editor_more = NULL;
1172 gchar* _tmp409_ = NULL;
1173 gchar* _tmp410_ = NULL;
1174 gchar* _tmp411_ = NULL;
1175 gchar* _tmp412_ = NULL;
1176 gchar** _tmp413_ = NULL;
1177 gint text_editor_more_length1 = 0;
1178 gint _text_editor_more_size_ = 0;
1179 gchar* text_editor_more_help_message = NULL;
1180 const gchar* _tmp414_ = NULL;
1181 const gchar* _tmp415_ = NULL;
1182 gchar* _tmp416_ = NULL;
1183 gchar* _tmp417_ = NULL;
1184 const gchar* _tmp418_ = NULL;
1185 gchar* _tmp419_ = NULL;
1186 gchar* _tmp420_ = NULL;
1187 GtkBuilder* _tmp421_ = NULL;
1188 GKeyFile* _tmp422_ = NULL;
1189 LDefaultAppsDbusBackend* _tmp423_ = NULL;
1190 const gchar* _tmp424_ = NULL;
1191 gchar** _tmp425_ = NULL;
1192 gint _tmp425__length1 = 0;
1193 const gchar* _tmp426_ = NULL;
1194 gchar* archive_help_message = NULL;
1195 const gchar* _tmp427_ = NULL;
1196 gchar* _tmp428_ = NULL;
1197 gchar** archive_more = NULL;
1198 gchar* _tmp429_ = NULL;
1199 gchar* _tmp430_ = NULL;
1200 gchar* _tmp431_ = NULL;
1201 gchar** _tmp432_ = NULL;
1202 gint archive_more_length1 = 0;
1203 gint _archive_more_size_ = 0;
1204 gchar* archive_more_help_message = NULL;
1205 const gchar* _tmp433_ = NULL;
1206 const gchar* _tmp434_ = NULL;
1207 gchar* _tmp435_ = NULL;
1208 gchar* _tmp436_ = NULL;
1209 const gchar* _tmp437_ = NULL;
1210 gchar* _tmp438_ = NULL;
1211 gchar* _tmp439_ = NULL;
1212 GtkBuilder* _tmp440_ = NULL;
1213 GKeyFile* _tmp441_ = NULL;
1214 LDefaultAppsDbusBackend* _tmp442_ = NULL;
1215 const gchar* _tmp443_ = NULL;
1216 gchar** _tmp444_ = NULL;
1217 gint _tmp444__length1 = 0;
1218 const gchar* _tmp445_ = NULL;
1219 gchar* charmap_help_message = NULL;
1220 const gchar* _tmp446_ = NULL;
1221 gchar* _tmp447_ = NULL;
1222 gchar** charmap_more = NULL;
1223 gchar* _tmp448_ = NULL;
1224 gchar** _tmp449_ = NULL;
1225 gint charmap_more_length1 = 0;
1226 gint _charmap_more_size_ = 0;
1227 gchar* charmap_more_help_message = NULL;
1228 gchar* _tmp450_ = NULL;
1229 GtkBuilder* _tmp451_ = NULL;
1230 GKeyFile* _tmp452_ = NULL;
1231 LDefaultAppsDbusBackend* _tmp453_ = NULL;
1232 const gchar* _tmp454_ = NULL;
1233 gchar** _tmp455_ = NULL;
1234 gint _tmp455__length1 = 0;
1235 const gchar* _tmp456_ = NULL;
1236 gchar* calculator_help_message = NULL;
1237 const gchar* _tmp457_ = NULL;
1238 gchar* _tmp458_ = NULL;
1239 gchar** calculator_more = NULL;
1240 gchar* _tmp459_ = NULL;
1241 gchar** _tmp460_ = NULL;
1242 gint calculator_more_length1 = 0;
1243 gint _calculator_more_size_ = 0;
1244 gchar* calculator_more_help_message = NULL;
1245 gchar* _tmp461_ = NULL;
1246 GtkBuilder* _tmp462_ = NULL;
1247 GKeyFile* _tmp463_ = NULL;
1248 LDefaultAppsDbusBackend* _tmp464_ = NULL;
1249 const gchar* _tmp465_ = NULL;
1250 gchar** _tmp466_ = NULL;
1251 gint _tmp466__length1 = 0;
1252 const gchar* _tmp467_ = NULL;
1253 gchar* spreadsheet_help_message = NULL;
1254 const gchar* _tmp468_ = NULL;
1255 gchar* _tmp469_ = NULL;
1256 gchar** spreadsheet_more = NULL;
1257 gchar* _tmp470_ = NULL;
1258 gchar* _tmp471_ = NULL;
1259 gchar* _tmp472_ = NULL;
1260 gchar** _tmp473_ = NULL;
1261 gint spreadsheet_more_length1 = 0;
1262 gint _spreadsheet_more_size_ = 0;
1263 gchar* spreadsheet_more_help_message = NULL;
1264 const gchar* _tmp474_ = NULL;
1265 const gchar* _tmp475_ = NULL;
1266 gchar* _tmp476_ = NULL;
1267 gchar* _tmp477_ = NULL;
1268 const gchar* _tmp478_ = NULL;
1269 gchar* _tmp479_ = NULL;
1270 gchar* _tmp480_ = NULL;
1271 GtkBuilder* _tmp481_ = NULL;
1272 GKeyFile* _tmp482_ = NULL;
1273 LDefaultAppsDbusBackend* _tmp483_ = NULL;
1274 const gchar* _tmp484_ = NULL;
1275 gchar** _tmp485_ = NULL;
1276 gint _tmp485__length1 = 0;
1277 const gchar* _tmp486_ = NULL;
1278 gchar* bittorent_help_message = NULL;
1279 const gchar* _tmp487_ = NULL;
1280 gchar* _tmp488_ = NULL;
1281 gchar** bittorent_more = NULL;
1282 gchar* _tmp489_ = NULL;
1283 gchar* _tmp490_ = NULL;
1284 gchar* _tmp491_ = NULL;
1285 gchar** _tmp492_ = NULL;
1286 gint bittorent_more_length1 = 0;
1287 gint _bittorent_more_size_ = 0;
1288 gchar* bittorent_more_help_message = NULL;
1289 const gchar* _tmp493_ = NULL;
1290 const gchar* _tmp494_ = NULL;
1291 gchar* _tmp495_ = NULL;
1292 gchar* _tmp496_ = NULL;
1293 const gchar* _tmp497_ = NULL;
1294 gchar* _tmp498_ = NULL;
1295 gchar* _tmp499_ = NULL;
1296 GtkBuilder* _tmp500_ = NULL;
1297 GKeyFile* _tmp501_ = NULL;
1298 LDefaultAppsDbusBackend* _tmp502_ = NULL;
1299 const gchar* _tmp503_ = NULL;
1300 gchar** _tmp504_ = NULL;
1301 gint _tmp504__length1 = 0;
1302 const gchar* _tmp505_ = NULL;
1303 gchar* document_help_message = NULL;
1304 const gchar* _tmp506_ = NULL;
1305 gchar* _tmp507_ = NULL;
1306 gchar** document_more = NULL;
1307 gchar* _tmp508_ = NULL;
1308 gchar* _tmp509_ = NULL;
1309 gchar* _tmp510_ = NULL;
1310 gchar** _tmp511_ = NULL;
1311 gint document_more_length1 = 0;
1312 gint _document_more_size_ = 0;
1313 gchar* document_more_help_message = NULL;
1314 const gchar* _tmp512_ = NULL;
1315 const gchar* _tmp513_ = NULL;
1316 gchar* _tmp514_ = NULL;
1317 gchar* _tmp515_ = NULL;
1318 const gchar* _tmp516_ = NULL;
1319 gchar* _tmp517_ = NULL;
1320 gchar* _tmp518_ = NULL;
1321 GtkBuilder* _tmp519_ = NULL;
1322 GKeyFile* _tmp520_ = NULL;
1323 LDefaultAppsDbusBackend* _tmp521_ = NULL;
1324 const gchar* _tmp522_ = NULL;
1325 gchar** _tmp523_ = NULL;
1326 gint _tmp523__length1 = 0;
1327 const gchar* _tmp524_ = NULL;
1328 gchar* webcam_help_message = NULL;
1329 const gchar* _tmp525_ = NULL;
1330 gchar* _tmp526_ = NULL;
1331 gchar** webcam_more = NULL;
1332 gchar* _tmp527_ = NULL;
1333 gchar** _tmp528_ = NULL;
1334 gint webcam_more_length1 = 0;
1335 gint _webcam_more_size_ = 0;
1336 gchar* webcam_more_help_message = NULL;
1337 const gchar* _tmp529_ = NULL;
1338 gchar* _tmp530_ = NULL;
1339 GtkBuilder* _tmp531_ = NULL;
1340 GKeyFile* _tmp532_ = NULL;
1341 LDefaultAppsDbusBackend* _tmp533_ = NULL;
1342 const gchar* _tmp534_ = NULL;
1343 gchar** _tmp535_ = NULL;
1344 gint _tmp535__length1 = 0;
1345 const gchar* _tmp536_ = NULL;
1346 gchar* burn_help_message = NULL;
1347 const gchar* _tmp537_ = NULL;
1348 gchar* _tmp538_ = NULL;
1349 gchar** burn_more = NULL;
1350 gchar* _tmp539_ = NULL;
1351 gchar* _tmp540_ = NULL;
1352 gchar* _tmp541_ = NULL;
1353 gchar** _tmp542_ = NULL;
1354 gint burn_more_length1 = 0;
1355 gint _burn_more_size_ = 0;
1356 gchar* burn_more_help_message = NULL;
1357 const gchar* _tmp543_ = NULL;
1358 const gchar* _tmp544_ = NULL;
1359 gchar* _tmp545_ = NULL;
1360 gchar* _tmp546_ = NULL;
1361 const gchar* _tmp547_ = NULL;
1362 gchar* _tmp548_ = NULL;
1363 gchar* _tmp549_ = NULL;
1364 GtkBuilder* _tmp550_ = NULL;
1365 GKeyFile* _tmp551_ = NULL;
1366 LDefaultAppsDbusBackend* _tmp552_ = NULL;
1367 const gchar* _tmp553_ = NULL;
1368 gchar** _tmp554_ = NULL;
1369 gint _tmp554__length1 = 0;
1370 const gchar* _tmp555_ = NULL;
1371 gchar* notes_help_message = NULL;
1372 const gchar* _tmp556_ = NULL;
1373 gchar* _tmp557_ = NULL;
1374 gchar** notes_more = NULL;
1375 gchar* _tmp558_ = NULL;
1376 gchar** _tmp559_ = NULL;
1377 gint notes_more_length1 = 0;
1378 gint _notes_more_size_ = 0;
1379 gchar* notes_more_help_message = NULL;
1380 const gchar* _tmp560_ = NULL;
1381 gchar* _tmp561_ = NULL;
1382 GtkBuilder* _tmp562_ = NULL;
1383 GKeyFile* _tmp563_ = NULL;
1384 LDefaultAppsDbusBackend* _tmp564_ = NULL;
1385 const gchar* _tmp565_ = NULL;
1386 gchar** _tmp566_ = NULL;
1387 gint _tmp566__length1 = 0;
1388 const gchar* _tmp567_ = NULL;
1389 gchar* disk_utility_help_message = NULL;
1390 const gchar* _tmp568_ = NULL;
1391 gchar* _tmp569_ = NULL;
1392 gchar** disk_utility_more = NULL;
1393 gchar* _tmp570_ = NULL;
1394 gchar** _tmp571_ = NULL;
1395 gint disk_utility_more_length1 = 0;
1396 gint _disk_utility_more_size_ = 0;
1397 gchar* disk_utility_more_help_message = NULL;
1398 const gchar* _tmp572_ = NULL;
1399 gchar* _tmp573_ = NULL;
1400 GtkBuilder* _tmp574_ = NULL;
1401 GKeyFile* _tmp575_ = NULL;
1402 LDefaultAppsDbusBackend* _tmp576_ = NULL;
1403 const gchar* _tmp577_ = NULL;
1404 gchar** _tmp578_ = NULL;
1405 gint _tmp578__length1 = 0;
1406 const gchar* _tmp579_ = NULL;
1407 gchar* tasks_help_message = NULL;
1408 const gchar* _tmp580_ = NULL;
1409 gchar* _tmp581_ = NULL;
1410 gchar** tasks_more = NULL;
1411 gchar* _tmp582_ = NULL;
1412 gchar* _tmp583_ = NULL;
1413 gchar* _tmp584_ = NULL;
1414 gchar** _tmp585_ = NULL;
1415 gint tasks_more_length1 = 0;
1416 gint _tasks_more_size_ = 0;
1417 gchar* tasks_more_help_message = NULL;
1418 const gchar* _tmp586_ = NULL;
1419 const gchar* _tmp587_ = NULL;
1420 gchar* _tmp588_ = NULL;
1421 gchar* _tmp589_ = NULL;
1422 const gchar* _tmp590_ = NULL;
1423 gchar* _tmp591_ = NULL;
1424 gchar* _tmp592_ = NULL;
1425 GtkBuilder* _tmp593_ = NULL;
1426 GKeyFile* _tmp594_ = NULL;
1427 LDefaultAppsDbusBackend* _tmp595_ = NULL;
1428 const gchar* _tmp596_ = NULL;
1429 gchar** _tmp597_ = NULL;
1430 gint _tmp597__length1 = 0;
1431 const gchar* _tmp598_ = NULL;
1432 gchar* lock_manager_help_message = NULL;
1433 const gchar* _tmp599_ = NULL;
1434 gchar* _tmp600_ = NULL;
1435 gchar** lock_manager_more = NULL;
1436 gchar* _tmp601_ = NULL;
1437 gchar** _tmp602_ = NULL;
1438 gint lock_manager_more_length1 = 0;
1439 gint _lock_manager_more_size_ = 0;
1440 gchar* lock_manager_more_help_message = NULL;
1441 const gchar* _tmp603_ = NULL;
1442 gchar* _tmp604_ = NULL;
1443 GtkBuilder* _tmp605_ = NULL;
1444 GKeyFile* _tmp606_ = NULL;
1445 LDefaultAppsDbusBackend* _tmp607_ = NULL;
1446 const gchar* _tmp608_ = NULL;
1447 gchar** _tmp609_ = NULL;
1448 gint _tmp609__length1 = 0;
1449 const gchar* _tmp610_ = NULL;
1450 gchar* audio_manager_help_message = NULL;
1451 const gchar* _tmp611_ = NULL;
1452 gchar* _tmp612_ = NULL;
1453 gchar** audio_manager_more = NULL;
1454 gchar* _tmp613_ = NULL;
1455 gchar** _tmp614_ = NULL;
1456 gint audio_manager_more_length1 = 0;
1457 gint _audio_manager_more_size_ = 0;
1458 gchar* audio_manager_more_help_message = NULL;
1459 const gchar* _tmp615_ = NULL;
1460 gchar* _tmp616_ = NULL;
1461 GtkBuilder* _tmp617_ = NULL;
1462 GKeyFile* _tmp618_ = NULL;
1463 LDefaultAppsDbusBackend* _tmp619_ = NULL;
1464 const gchar* _tmp620_ = NULL;
1465 gchar** _tmp621_ = NULL;
1466 gint _tmp621__length1 = 0;
1467 const gchar* _tmp622_ = NULL;
1468 gchar* workspace_manager_help_message = NULL;
1469 const gchar* _tmp623_ = NULL;
1470 gchar* _tmp624_ = NULL;
1471 gchar** workspace_manager_more = NULL;
1472 gchar* _tmp625_ = NULL;
1473 gchar** _tmp626_ = NULL;
1474 gint workspace_manager_more_length1 = 0;
1475 gint _workspace_manager_more_size_ = 0;
1476 gchar* workspace_manager_more_help_message = NULL;
1477 const gchar* _tmp627_ = NULL;
1478 gchar* _tmp628_ = NULL;
1479 GtkBuilder* _tmp629_ = NULL;
1480 GKeyFile* _tmp630_ = NULL;
1481 LDefaultAppsDbusBackend* _tmp631_ = NULL;
1482 const gchar* _tmp632_ = NULL;
1483 gchar** _tmp633_ = NULL;
1484 gint _tmp633__length1 = 0;
1485 const gchar* _tmp634_ = NULL;
1486 gchar* quit_manager_help_message = NULL;
1487 const gchar* _tmp635_ = NULL;
1488 gchar* _tmp636_ = NULL;
1489 gchar** quit_manager_more = NULL;
1490 gchar* _tmp637_ = NULL;
1491 gchar** _tmp638_ = NULL;
1492 gint quit_manager_more_length1 = 0;
1493 gint _quit_manager_more_size_ = 0;
1494 gchar* quit_manager_more_help_message = NULL;
1495 const gchar* _tmp639_ = NULL;
1496 gchar* _tmp640_ = NULL;
1497 GtkBuilder* _tmp641_ = NULL;
1498 GKeyFile* _tmp642_ = NULL;
1499 LDefaultAppsDbusBackend* _tmp643_ = NULL;
1500 const gchar* _tmp644_ = NULL;
1501 gchar** _tmp645_ = NULL;
1502 gint _tmp645__length1 = 0;
1503 const gchar* _tmp646_ = NULL;
1504 gchar* upgrade_manager_help_message = NULL;
1505 const gchar* _tmp647_ = NULL;
1506 gchar* _tmp648_ = NULL;
1507 gchar** upgrade_manager_more = NULL;
1508 gchar* _tmp649_ = NULL;
1509 gchar** _tmp650_ = NULL;
1510 gint upgrade_manager_more_length1 = 0;
1511 gint _upgrade_manager_more_size_ = 0;
1512 gchar* upgrade_manager_more_help_message = NULL;
1513 const gchar* _tmp651_ = NULL;
1514 gchar* _tmp652_ = NULL;
1515 GtkBuilder* _tmp653_ = NULL;
1516 GKeyFile* _tmp654_ = NULL;
1517 LDefaultAppsDbusBackend* _tmp655_ = NULL;
1518 const gchar* _tmp656_ = NULL;
1519 gchar** _tmp657_ = NULL;
1520 gint _tmp657__length1 = 0;
1521 const gchar* _tmp658_ = NULL;
1522 gchar* clipboard_help_message = NULL;
1523 const gchar* _tmp659_ = NULL;
1524 gchar* _tmp660_ = NULL;
1525 gchar** clipboard_more = NULL;
1526 gchar* _tmp661_ = NULL;
1527 gchar** _tmp662_ = NULL;
1528 gint clipboard_more_length1 = 0;
1529 gint _clipboard_more_size_ = 0;
1530 gchar* clipboard_more_help_message = NULL;
1531 const gchar* _tmp663_ = NULL;
1532 gchar* _tmp664_ = NULL;
1533 GtkBuilder* _tmp665_ = NULL;
1534 GKeyFile* _tmp666_ = NULL;
1535 LDefaultAppsDbusBackend* _tmp667_ = NULL;
1536 const gchar* _tmp668_ = NULL;
1537 gchar** _tmp669_ = NULL;
1538 gint _tmp669__length1 = 0;
1539 const gchar* _tmp670_ = NULL;
1540 gchar* security_help_message = NULL;
1541 const gchar* _tmp671_ = NULL;
1542 gchar* _tmp672_ = NULL;
1543 gchar** security_more = NULL;
1544 gchar* _tmp673_ = NULL;
1545 gchar** _tmp674_ = NULL;
1546 gint security_more_length1 = 0;
1547 gint _security_more_size_ = 0;
1548 gchar* security_more_help_message = NULL;
1549 const gchar* _tmp675_ = NULL;
1550 gchar* _tmp676_ = NULL;
1551 GtkBuilder* _tmp677_ = NULL;
1552 GKeyFile* _tmp678_ = NULL;
1553 LDefaultAppsDbusBackend* _tmp679_ = NULL;
1554 const gchar* _tmp680_ = NULL;
1555 gchar** _tmp681_ = NULL;
1556 gint _tmp681__length1 = 0;
1557 const gchar* _tmp682_ = NULL;
1558 gchar* a11y_help_message = NULL;
1559 const gchar* _tmp683_ = NULL;
1560 gchar* _tmp684_ = NULL;
1561 gchar** a11y_more = NULL;
1562 gchar* _tmp685_ = NULL;
1563 gchar** _tmp686_ = NULL;
1564 gint a11y_more_length1 = 0;
1565 gint _a11y_more_size_ = 0;
1566 gchar* a11y_more_help_message = NULL;
1567 const gchar* _tmp687_ = NULL;
1568 gchar* _tmp688_ = NULL;
1569 GtkBuilder* _tmp689_ = NULL;
1570 GKeyFile* _tmp690_ = NULL;
1571 LDefaultAppsDbusBackend* _tmp691_ = NULL;
1572 const gchar* _tmp692_ = NULL;
1573 gchar** _tmp693_ = NULL;
1574 gint _tmp693__length1 = 0;
1575 const gchar* _tmp694_ = NULL;
1576 gchar* proxy_manager_help_message = NULL;
1577 const gchar* _tmp695_ = NULL;
1578 gchar* _tmp696_ = NULL;
1579 gchar** proxy_manager_more = NULL;
1580 gchar* _tmp697_ = NULL;
1581 gchar** _tmp698_ = NULL;
1582 gint proxy_manager_more_length1 = 0;
1583 gint _proxy_manager_more_size_ = 0;
1584 gchar* proxy_manager_more_help_message = NULL;
1585 const gchar* _tmp699_ = NULL;
1586 gchar* _tmp700_ = NULL;
1587 GtkBuilder* _tmp701_ = NULL;
1588 GKeyFile* _tmp702_ = NULL;
1589 LDefaultAppsDbusBackend* _tmp703_ = NULL;
1590 const gchar* _tmp704_ = NULL;
1591 gchar** _tmp705_ = NULL;
1592 gint _tmp705__length1 = 0;
1593 const gchar* _tmp706_ = NULL;
1594 gchar* xrandr_help_message = NULL;
1595 const gchar* _tmp707_ = NULL;
1596 gchar* _tmp708_ = NULL;
1597 gchar** xrandr_more = NULL;
1598 gchar* _tmp709_ = NULL;
1599 gchar** _tmp710_ = NULL;
1600 gint xrandr_more_length1 = 0;
1601 gint _xrandr_more_size_ = 0;
1602 gchar* xrandr_more_help_message = NULL;
1603 const gchar* _tmp711_ = NULL;
1604 gchar* _tmp712_ = NULL;
1605 GtkBuilder* _tmp713_ = NULL;
1606 GKeyFile* _tmp714_ = NULL;
1607 LDefaultAppsDbusBackend* _tmp715_ = NULL;
1608 const gchar* _tmp716_ = NULL;
1609 gchar** _tmp717_ = NULL;
1610 gint _tmp717__length1 = 0;
1611 const gchar* _tmp718_ = NULL;
1612 GtkComboBox* _tmp719_ = NULL;
1613 gchar** disable_autostart_commands = NULL;
1614 gchar* _tmp720_ = NULL;
1615 gchar* _tmp721_ = NULL;
1616 gchar* _tmp722_ = NULL;
1617 gchar** _tmp723_ = NULL;
1618 gint disable_autostart_commands_length1 = 0;
1619 gint _disable_autostart_commands_size_ = 0;
1620 gchar* disable_autostart_default = NULL;
1621 LDefaultAppsDbusBackend* _tmp724_ = NULL;
1622 gchar* _tmp725_ = NULL;
1623 GtkBuilder* _tmp726_ = NULL;
1624 gchar** _tmp727_ = NULL;
1625 gint _tmp727__length1 = 0;
1626 const gchar* _tmp728_ = NULL;
1627 GtkComboBox* _tmp729_ = NULL;
1628 LDefaultAppsDbusBackend* _tmp730_ = NULL;
1629 GtkComboBox* _tmp731_ = NULL;
1630 gchar* _tmp732_ = NULL;
1631 gchar* _tmp733_ = NULL;
1632 GtkBuilder* _tmp734_ = NULL;
1633 GObject* _tmp735_ = NULL;
1634 GtkVBox* _tmp736_ = NULL;
1635 GtkBuilder* _tmp737_ = NULL;
1636 GObject* _tmp738_ = NULL;
1637 GtkVBox* _tmp739_ = NULL;
1638 GtkBuilder* _tmp740_ = NULL;
1639 GObject* _tmp741_ = NULL;
1640 GtkHBox* _tmp742_ = NULL;
1641 GtkTreeView* known_apps = NULL;
1642 GtkBuilder* _tmp743_ = NULL;
1643 GObject* _tmp744_ = NULL;
1644 GtkTreeView* _tmp745_ = NULL;
1645 GtkTreeView* _tmp746_ = NULL;
1646 const gchar* _tmp747_ = NULL;
1647 GtkTreeView* _tmp748_ = NULL;
1648 GtkListStore* _tmp749_ = NULL;
1649 GtkListStore* _tmp750_ = NULL;
1650 GtkComboBox* _tmp751_ = NULL;
1651 GtkCheckButton* _tmp752_ = NULL;
1652 GtkHBox* upstart_session_hbox = NULL;
1653 GtkBuilder* _tmp753_ = NULL;
1654 GObject* _tmp754_ = NULL;
1655 GtkHBox* _tmp755_ = NULL;
1656 GtkHBox* _tmp756_ = NULL;
1657 GtkCheckButton* _tmp757_ = NULL;
1658 LDefaultAppsDbusBackend* _tmp758_ = NULL;
1659 gchar* _tmp759_ = NULL;
1660 gchar* _tmp760_ = NULL;
1661 gboolean _tmp761_ = FALSE;
1662 GtkCheckButton* _tmp764_ = NULL;
1663 GtkComboBox* _tmp765_ = NULL;
1664 gchar** keymap_mode_commands = NULL;
1665 gchar* _tmp766_ = NULL;
1666 gchar* _tmp767_ = NULL;
1667 gchar** _tmp768_ = NULL;
1668 gint keymap_mode_commands_length1 = 0;
1669 gint _keymap_mode_commands_size_ = 0;
1670 gchar* keymap_mode_default = NULL;
1671 LDefaultAppsDbusBackend* _tmp769_ = NULL;
1672 gchar* _tmp770_ = NULL;
1673 GtkBuilder* _tmp771_ = NULL;
1674 gchar** _tmp772_ = NULL;
1675 gint _tmp772__length1 = 0;
1676 const gchar* _tmp773_ = NULL;
1677 GtkComboBox* _tmp774_ = NULL;
1678 GtkBuilder* _tmp775_ = NULL;
1679 GObject* _tmp776_ = NULL;
1680 GtkEntry* _tmp777_ = NULL;
1681 GtkEntry* _tmp778_ = NULL;
1682 LDefaultAppsDbusBackend* _tmp779_ = NULL;
1683 gchar* _tmp780_ = NULL;
1684 gchar* _tmp781_ = NULL;
1685 GtkBuilder* _tmp782_ = NULL;
1686 GObject* _tmp783_ = NULL;
1687 GtkEntry* _tmp784_ = NULL;
1688 GtkEntry* _tmp785_ = NULL;
1689 LDefaultAppsDbusBackend* _tmp786_ = NULL;
1690 gchar* _tmp787_ = NULL;
1691 gchar* _tmp788_ = NULL;
1692 GtkBuilder* _tmp789_ = NULL;
1693 GObject* _tmp790_ = NULL;
1694 GtkEntry* _tmp791_ = NULL;
1695 GtkEntry* _tmp792_ = NULL;
1696 LDefaultAppsDbusBackend* _tmp793_ = NULL;
1697 gchar* _tmp794_ = NULL;
1698 gchar* _tmp795_ = NULL;
1699 GtkBuilder* _tmp796_ = NULL;
1700 GObject* _tmp797_ = NULL;
1701 GtkEntry* _tmp798_ = NULL;
1702 GtkEntry* _tmp799_ = NULL;
1703 LDefaultAppsDbusBackend* _tmp800_ = NULL;
1704 gchar* _tmp801_ = NULL;
1705 gchar* _tmp802_ = NULL;
1706 GtkButton* keymap_apply_button = NULL;
1707 GtkBuilder* _tmp803_ = NULL;
1708 GObject* _tmp804_ = NULL;
1709 GtkButton* _tmp805_ = NULL;
1710 GtkButton* _tmp806_ = NULL;
1711 GtkButton* keymap_reload_button = NULL;
1712 GtkBuilder* _tmp807_ = NULL;
1713 GObject* _tmp808_ = NULL;
1714 GtkButton* _tmp809_ = NULL;
1715 GtkButton* _tmp810_ = NULL;
1716 GtkComboBox* _tmp811_ = NULL;
1717 gchar** laptop_mode_commands = NULL;
1718 gchar* _tmp812_ = NULL;
1719 gchar* _tmp813_ = NULL;
1720 gchar* _tmp814_ = NULL;
1721 gchar** _tmp815_ = NULL;
1722 gint laptop_mode_commands_length1 = 0;
1723 gint _laptop_mode_commands_size_ = 0;
1724 gchar* laptop_mode_default = NULL;
1725 LDefaultAppsDbusBackend* _tmp816_ = NULL;
1726 gchar* _tmp817_ = NULL;
1727 GtkBuilder* _tmp818_ = NULL;
1728 gchar** _tmp819_ = NULL;
1729 gint _tmp819__length1 = 0;
1730 const gchar* _tmp820_ = NULL;
1731 GtkComboBox* _tmp821_ = NULL;
1732 GtkComboBox* _tmp822_ = NULL;
1733 GtkCheckButton* _tmp823_ = NULL;
1734 GtkVBox* dbus_vbox = NULL;
1735 GtkBuilder* _tmp824_ = NULL;
1736 GObject* _tmp825_ = NULL;
1737 GtkVBox* _tmp826_ = NULL;
1738 GtkVBox* _tmp827_ = NULL;
1739 GtkCheckButton* _tmp828_ = NULL;
1740 LDefaultAppsDbusBackend* _tmp829_ = NULL;
1741 gchar* _tmp830_ = NULL;
1742 gchar* _tmp831_ = NULL;
1743 gboolean _tmp832_ = FALSE;
1744 GtkCheckButton* _tmp835_ = NULL;
1745 GtkComboBox* _tmp836_ = NULL;
1746 gchar** environment_type_commands = NULL;
1747 gchar* _tmp837_ = NULL;
1748 gchar* _tmp838_ = NULL;
1749 gchar** _tmp839_ = NULL;
1750 gint environment_type_commands_length1 = 0;
1751 gint _environment_type_commands_size_ = 0;
1752 gchar* environment_type_default = NULL;
1753 LDefaultAppsDbusBackend* _tmp840_ = NULL;
1754 gchar* _tmp841_ = NULL;
1755 GtkBuilder* _tmp842_ = NULL;
1756 GtkComboBox* _tmp843_ = NULL;
1757 GtkComboBox* _tmp844_ = NULL;
1758 GtkBuilder* _tmp845_ = NULL;
1759 GObject* _tmp846_ = NULL;
1760 GtkEntry* _tmp847_ = NULL;
1761 LDefaultAppsDbusBackend* _tmp848_ = NULL;
1762 gchar* _tmp849_ = NULL;
1763 gchar* _tmp850_ = NULL;
1764 GtkButton* env_apply_button = NULL;
1765 GtkBuilder* _tmp851_ = NULL;
1766 GObject* _tmp852_ = NULL;
1767 GtkButton* _tmp853_ = NULL;
1768 GError * _inner_error_ = NULL;
1769 g_return_val_if_fail (kf != NULL, NULL);
1770 _data4_ = g_slice_new0 (Block4Data);
1771 _data4_->_ref_count_ = 1;
1772 self = (LDefaultAppsMainWindows*) g_object_new (object_type, NULL);
1773 _data4_->self = g_object_ref (self);
1774 _tmp0_ = _ ("LXSession configuration");
1775 gtk_window_set_title ((GtkWindow*) self, _tmp0_);
1776 g_object_set ((GtkWindow*) self, "window-position", GTK_WIN_POS_CENTER, NULL);
1777 {
1778 GdkPixbuf* _tmp1_ = NULL;
1779 GtkIconTheme* _tmp2_ = NULL;
1780 GdkPixbuf* _tmp3_ = NULL;
1781 _tmp2_ = gtk_icon_theme_get_default ();
1782 _tmp3_ = gtk_icon_theme_load_icon (_tmp2_, "preferences-desktop", 48, 0, &_inner_error_);
1783 _tmp1_ = _tmp3_;
1784 if (G_UNLIKELY (_inner_error_ != NULL)) {
1785 goto __catch6_g_error;
1786 }
1787 gtk_window_set_icon ((GtkWindow*) self, _tmp1_);
1788 _g_object_unref0 (_tmp1_);
1789 }
1790 goto __finally6;
1791 __catch6_g_error:
1792 {
1793 GError* e = NULL;
1794 GError* _tmp4_ = NULL;
1795 const gchar* _tmp5_ = NULL;
1796 e = _inner_error_;
1797 _inner_error_ = NULL;
1798 _tmp4_ = e;
1799 _tmp5_ = _tmp4_->message;
1800 g_message ("main.vala:106: Could not load application icon: %s\n", _tmp5_);
1801 _g_error_free0 (e);
1802 }
1803 __finally6:
1804 if (G_UNLIKELY (_inner_error_ != NULL)) {
1805 block4_data_unref (_data4_);
1806 _data4_ = NULL;
1807 g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
1808 g_clear_error (&_inner_error_);
1809 return NULL;
1810 }
1811 gtk_window_set_default_size ((GtkWindow*) self, 600, 400);
1812 g_signal_connect ((GtkObject*) self, "destroy", (GCallback) _gtk_main_quit_gtk_object_destroy, NULL);
1813 _tmp6_ = gtk_builder_new ();
1814 builder = _tmp6_;
1815 {
1816 gchar* builder_file_path = NULL;
1817 gchar* _tmp7_ = NULL;
1818 GFile* builder_file = NULL;
1819 const gchar* _tmp8_ = NULL;
1820 GFile* _tmp9_ = NULL;
1821 GFile* _tmp10_ = NULL;
1822 gboolean _tmp11_ = FALSE;
1823 _tmp7_ = g_build_filename ("data", "ui", "lxsession-default-apps.ui", NULL);
1824 builder_file_path = _tmp7_;
1825 _tmp8_ = builder_file_path;
1826 _tmp9_ = g_file_new_for_path (_tmp8_);
1827 builder_file = _tmp9_;
1828 _tmp10_ = builder_file;
1829 _tmp11_ = g_file_query_exists (_tmp10_, NULL);
1830 if (_tmp11_) {
1831 GtkBuilder* _tmp12_ = NULL;
1832 const gchar* _tmp13_ = NULL;
1833 _tmp12_ = builder;
1834 _tmp13_ = builder_file_path;
1835 gtk_builder_add_from_file (_tmp12_, _tmp13_, &_inner_error_);
1836 if (G_UNLIKELY (_inner_error_ != NULL)) {
1837 _g_object_unref0 (builder_file);
1838 _g_free0 (builder_file_path);
1839 goto __catch7_g_error;
1840 }
1841 } else {
1842 gchar* _tmp14_ = NULL;
1843 GtkBuilder* _tmp15_ = NULL;
1844 const gchar* _tmp16_ = NULL;
1845 _tmp14_ = g_build_filename ("/usr/local", "share", "lxsession", "ui", "lxsession-default-apps.ui", NULL);
1846 _g_free0 (builder_file_path);
1847 builder_file_path = _tmp14_;
1848 _tmp15_ = builder;
1849 _tmp16_ = builder_file_path;
1850 gtk_builder_add_from_file (_tmp15_, _tmp16_, &_inner_error_);
1851 if (G_UNLIKELY (_inner_error_ != NULL)) {
1852 _g_object_unref0 (builder_file);
1853 _g_free0 (builder_file_path);
1854 goto __catch7_g_error;
1855 }
1856 }
1857 _g_object_unref0 (builder_file);
1858 _g_free0 (builder_file_path);
1859 }
1860 goto __finally7;
1861 __catch7_g_error:
1862 {
1863 GError* e = NULL;
1864 GError* _tmp17_ = NULL;
1865 const gchar* _tmp18_ = NULL;
1866 e = _inner_error_;
1867 _inner_error_ = NULL;
1868 _tmp17_ = e;
1869 _tmp18_ = _tmp17_->message;
1870 g_critical ("main.vala:134: Could not load UI: %s\n", _tmp18_);
1871 _g_error_free0 (e);
1872 }
1873 __finally7:
1874 if (G_UNLIKELY (_inner_error_ != NULL)) {
1875 _g_object_unref0 (builder);
1876 block4_data_unref (_data4_);
1877 _data4_ = NULL;
1878 g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
1879 g_clear_error (&_inner_error_);
1880 return NULL;
1881 }
1882 _tmp19_ = builder;
1883 gtk_builder_connect_signals (_tmp19_, NULL);
1884 _tmp20_ = builder;
1885 _tmp21_ = gtk_builder_get_object (_tmp20_, "main_vbox");
1886 _tmp22_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp21_, GTK_TYPE_VBOX) ? ((GtkVBox*) _tmp21_) : NULL);
1887 main_vbox = _tmp22_;
1888 gtk_widget_show_all ((GtkWidget*) main_vbox);
1889 gtk_container_add ((GtkContainer*) self, (GtkWidget*) main_vbox);
1890 gtk_widget_reparent ((GtkWidget*) main_vbox, (GtkWidget*) self);
1891 {
1892 GdkPixbuf* _tmp23_ = NULL;
1893 GtkIconTheme* _tmp24_ = NULL;
1894 GdkPixbuf* _tmp25_ = NULL;
1895 _tmp24_ = gtk_icon_theme_get_default ();
1896 _tmp25_ = gtk_icon_theme_load_icon (_tmp24_, "xfwm4", 48, 0, &_inner_error_);
1897 _tmp23_ = _tmp25_;
1898 if (G_UNLIKELY (_inner_error_ != NULL)) {
1899 goto __catch8_g_error;
1900 }
1901 gtk_window_set_icon ((GtkWindow*) self, _tmp23_);
1902 _g_object_unref0 (_tmp23_);
1903 }
1904 goto __finally8;
1905 __catch8_g_error:
1906 {
1907 GError* e = NULL;
1908 GError* _tmp26_ = NULL;
1909 const gchar* _tmp27_ = NULL;
1910 e = _inner_error_;
1911 _inner_error_ = NULL;
1912 _tmp26_ = e;
1913 _tmp27_ = _tmp26_->message;
1914 g_message ("main.vala:148: Could not load application icon: %s\n", _tmp27_);
1915 _g_error_free0 (e);
1916 }
1917 __finally8:
1918 if (G_UNLIKELY (_inner_error_ != NULL)) {
1919 _g_object_unref0 (main_vbox);
1920 _g_object_unref0 (builder);
1921 block4_data_unref (_data4_);
1922 _data4_ = NULL;
1923 g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
1924 g_clear_error (&_inner_error_);
1925 return NULL;
1926 }
1927 _tmp28_ = ldefault_apps_dbus_backend_new ("session");
1928 _data4_->dbus_backend = _tmp28_;
1929 _tmp29_ = builder;
1930 ldefault_apps_manual_autostart_init (_tmp29_);
1931 _tmp30_ = builder;
1932 _tmp31_ = _data4_->dbus_backend;
1933 ldefault_apps_autostart_core_applications (_tmp30_, _tmp31_);
1934 _tmp32_ = _ ("Manual Settings: Manually sets the command (you need to restart lxsess" \
1935 "ion-default-apps to see the change)\n");
1936 _tmp33_ = g_strdup (_tmp32_);
1937 manual_setting_help = _tmp33_;
1938 _tmp34_ = _ ("Session : specify the session\n");
1939 _tmp35_ = g_strdup (_tmp34_);
1940 session_string_help = _tmp35_;
1941 _tmp36_ = _ ("Extra: Add an extra parameter to the launch option\n");
1942 _tmp37_ = g_strdup (_tmp36_);
1943 extra_string_help = _tmp37_;
1944 _tmp38_ = _ ("Mime association: Automatically associates mime types to this applicat" \
1945 "ion ?\n");
1946 _tmp39_ = g_strdup (_tmp38_);
1947 mime_association_help = _tmp39_;
1948 _tmp40_ = _ ("Available applications : Applications of this type available on your r" \
1949 "epositories\n");
1950 _tmp41_ = g_strdup (_tmp40_);
1951 mime_available_help = _tmp41_;
1952 _tmp42_ = _ ("Handle Desktop: Draw the desktop using the file manager ?\n");
1953 _tmp43_ = g_strdup (_tmp42_);
1954 handle_desktop_help = _tmp43_;
1955 _tmp44_ = _ ("Autostart the application ?\n");
1956 _tmp45_ = g_strdup (_tmp44_);
1957 autostart_help = _tmp45_;
1958 _tmp46_ = _ ("Set default program for Debian system (using update-alternatives, need" \
1959 " root password)\n");
1960 _tmp47_ = g_strdup (_tmp46_);
1961 debian_default_help = _tmp47_;
1962 _tmp48_ = _ ("Windows manager draws and manage the windows. \n" \
1963 "You can choose openbox, openbox-custom (for a custom openbox configura" \
1964 "tion, see \"More\"), kwin, compiz ...");
1965 _tmp49_ = g_strdup (_tmp48_);
1966 windows_manager_help_message = _tmp49_;
1967 _tmp50_ = g_strdup ("session");
1968 _tmp51_ = g_strdup ("extras");
1969 _tmp52_ = g_new0 (gchar*, 2 + 1);
1970 _tmp52_[0] = _tmp50_;
1971 _tmp52_[1] = _tmp51_;
1972 windows_manager_more = _tmp52_;
1973 windows_manager_more_length1 = 2;
1974 _windows_manager_more_size_ = windows_manager_more_length1;
1975 _tmp53_ = session_string_help;
1976 _tmp54_ = extra_string_help;
1977 _tmp55_ = g_strconcat (_tmp53_, _tmp54_, NULL);
1978 windows_manager_more_help_message = _tmp55_;
1979 _tmp56_ = builder;
1980 _tmp57_ = kf;
1981 _tmp58_ = _data4_->dbus_backend;
1982 _tmp59_ = windows_manager_help_message;
1983 _tmp60_ = windows_manager_more;
1984 _tmp60__length1 = windows_manager_more_length1;
1985 _tmp61_ = windows_manager_more_help_message;
1986 ldefault_apps_init_application (_tmp56_, _tmp57_, _tmp58_, "windows_manager", "", _tmp59_, _tmp60_, _tmp60__length1, _tmp61_, NULL);
1987 _tmp62_ = _ ("Panel is the component usually at the bottom of the screen which manag" \
1988 "es a list of opened windows, shortcuts, notification area ...");
1989 _tmp63_ = g_strdup (_tmp62_);
1990 panel_help_message = _tmp63_;
1991 _tmp64_ = g_strdup ("session");
1992 _tmp65_ = g_new0 (gchar*, 1 + 1);
1993 _tmp65_[0] = _tmp64_;
1994 panel_more = _tmp65_;
1995 panel_more_length1 = 1;
1996 _panel_more_size_ = panel_more_length1;
1997 _tmp66_ = session_string_help;
1998 _tmp67_ = g_strdup (_tmp66_);
1999 panel_more_help_message = _tmp67_;
2000 _tmp68_ = builder;
2001 _tmp69_ = kf;
2002 _tmp70_ = _data4_->dbus_backend;
2003 _tmp71_ = panel_help_message;
2004 _tmp72_ = panel_more;
2005 _tmp72__length1 = panel_more_length1;
2006 _tmp73_ = panel_more_help_message;
2007 ldefault_apps_init_application (_tmp68_, _tmp69_, _tmp70_, "panel", "", _tmp71_, _tmp72_, _tmp72__length1, _tmp73_, NULL);
2008 _tmp74_ = _ ("Dock is a second panel. It's used to launch a different program to han" \
2009 "dle a second type of panel.");
2010 _tmp75_ = g_strdup (_tmp74_);
2011 dock_help_message = _tmp75_;
2012 _tmp76_ = g_strdup ("session");
2013 _tmp77_ = g_new0 (gchar*, 1 + 1);
2014 _tmp77_[0] = _tmp76_;
2015 dock_more = _tmp77_;
2016 dock_more_length1 = 1;
2017 _dock_more_size_ = dock_more_length1;
2018 _tmp78_ = session_string_help;
2019 _tmp79_ = g_strdup (_tmp78_);
2020 dock_more_help_message = _tmp79_;
2021 _tmp80_ = builder;
2022 _tmp81_ = kf;
2023 _tmp82_ = _data4_->dbus_backend;
2024 _tmp83_ = dock_help_message;
2025 _tmp84_ = dock_more;
2026 _tmp84__length1 = dock_more_length1;
2027 _tmp85_ = dock_more_help_message;
2028 ldefault_apps_init_application (_tmp80_, _tmp81_, _tmp82_, "dock", "", _tmp83_, _tmp84_, _tmp84__length1, _tmp85_, NULL);
2029 _tmp86_ = _ ("File manager is the component which open the files.\n" \
2030 "See \"More\" to add options to handle the desktop, or opening files ");
2031 _tmp87_ = g_strdup (_tmp86_);
2032 file_manager_help_message = _tmp87_;
2033 _tmp88_ = g_strdup ("combobox_manual");
2034 _tmp89_ = g_strdup ("session");
2035 _tmp90_ = g_strdup ("extra");
2036 _tmp91_ = g_strdup ("handle_desktop");
2037 _tmp92_ = g_strdup ("mime_association");
2038 _tmp93_ = g_strdup ("mime_available");
2039 _tmp94_ = g_new0 (gchar*, 6 + 1);
2040 _tmp94_[0] = _tmp88_;
2041 _tmp94_[1] = _tmp89_;
2042 _tmp94_[2] = _tmp90_;
2043 _tmp94_[3] = _tmp91_;
2044 _tmp94_[4] = _tmp92_;
2045 _tmp94_[5] = _tmp93_;
2046 file_manager_more = _tmp94_;
2047 file_manager_more_length1 = 6;
2048 _file_manager_more_size_ = file_manager_more_length1;
2049 _tmp95_ = manual_setting_help;
2050 _tmp96_ = session_string_help;
2051 _tmp97_ = g_strconcat (_tmp95_, _tmp96_, NULL);
2052 _tmp98_ = _tmp97_;
2053 _tmp99_ = extra_string_help;
2054 _tmp100_ = g_strconcat (_tmp98_, _tmp99_, NULL);
2055 _tmp101_ = _tmp100_;
2056 _tmp102_ = handle_desktop_help;
2057 _tmp103_ = g_strconcat (_tmp101_, _tmp102_, NULL);
2058 _tmp104_ = _tmp103_;
2059 _tmp105_ = mime_association_help;
2060 _tmp106_ = g_strconcat (_tmp104_, _tmp105_, NULL);
2061 _tmp107_ = _tmp106_;
2062 _tmp108_ = mime_available_help;
2063 _tmp109_ = g_strconcat (_tmp107_, _tmp108_, NULL);
2064 _tmp110_ = _tmp109_;
2065 _g_free0 (_tmp107_);
2066 _g_free0 (_tmp104_);
2067 _g_free0 (_tmp101_);
2068 _g_free0 (_tmp98_);
2069 file_manager_more_help_message = _tmp110_;
2070 _tmp111_ = builder;
2071 _tmp112_ = kf;
2072 _tmp113_ = _data4_->dbus_backend;
2073 _tmp114_ = file_manager_help_message;
2074 _tmp115_ = file_manager_more;
2075 _tmp115__length1 = file_manager_more_length1;
2076 _tmp116_ = file_manager_more_help_message;
2077 ldefault_apps_init_application_combobox (_tmp111_, _tmp112_, _tmp113_, "file_manager", "", _tmp114_, _tmp115_, _tmp115__length1, _tmp116_, NULL);
2078 _tmp117_ = _ ("Composite manager enables graphics effects, like transpacency and shad" \
2079 "ows, if the windows manager doesn't handle it. \n" \
2080 "Example: compton");
2081 _tmp118_ = g_strdup (_tmp117_);
2082 composite_manager_help_message = _tmp118_;
2083 _tmp119_ = g_strdup ("");
2084 _tmp120_ = g_new0 (gchar*, 1 + 1);
2085 _tmp120_[0] = _tmp119_;
2086 composite_manager_more = _tmp120_;
2087 composite_manager_more_length1 = 1;
2088 _composite_manager_more_size_ = composite_manager_more_length1;
2089 _tmp121_ = g_strdup ("");
2090 composite_manager_more_help_message = _tmp121_;
2091 _tmp122_ = builder;
2092 _tmp123_ = kf;
2093 _tmp124_ = _data4_->dbus_backend;
2094 _tmp125_ = composite_manager_help_message;
2095 _tmp126_ = composite_manager_more;
2096 _tmp126__length1 = composite_manager_more_length1;
2097 _tmp127_ = composite_manager_more_help_message;
2098 ldefault_apps_init_application (_tmp122_, _tmp123_, _tmp124_, "composite_manager", "", _tmp125_, _tmp126_, _tmp126__length1, _tmp127_, NULL);
2099 _tmp128_ = _ ("Desktop manager draws the desktop and manages the icons inside it.\n" \
2100 "You can manage it with the file manager by setting \"filemanager\"");
2101 _tmp129_ = g_strdup (_tmp128_);
2102 desktop_manager_help_message = _tmp129_;
2103 _tmp130_ = g_strdup ("wallpaper");
2104 _tmp131_ = g_strdup ("handle_desktop");
2105 _tmp132_ = g_new0 (gchar*, 2 + 1);
2106 _tmp132_[0] = _tmp130_;
2107 _tmp132_[1] = _tmp131_;
2108 desktop_manager_more = _tmp132_;
2109 desktop_manager_more_length1 = 2;
2110 _desktop_manager_more_size_ = desktop_manager_more_length1;
2111 _tmp133_ = _ ("Wallpaper: Set an image path to draw the wallpaper");
2112 _tmp134_ = g_strdup (_tmp133_);
2113 desktop_manager_more_help_message = _tmp134_;
2114 _tmp135_ = builder;
2115 _tmp136_ = kf;
2116 _tmp137_ = _data4_->dbus_backend;
2117 _tmp138_ = desktop_manager_help_message;
2118 _tmp139_ = desktop_manager_more;
2119 _tmp139__length1 = desktop_manager_more_length1;
2120 _tmp140_ = desktop_manager_more_help_message;
2121 ldefault_apps_init_application (_tmp135_, _tmp136_, _tmp137_, "desktop_manager", "", _tmp138_, _tmp139_, _tmp139__length1, _tmp140_, NULL);
2122 _tmp141_ = _ ("Screensaver is a program which displays animations when your computer " \
2123 "is idle");
2124 _tmp142_ = g_strdup (_tmp141_);
2125 screensaver_help_message = _tmp142_;
2126 _tmp143_ = g_strdup ("");
2127 _tmp144_ = g_new0 (gchar*, 1 + 1);
2128 _tmp144_[0] = _tmp143_;
2129 screensaver_more = _tmp144_;
2130 screensaver_more_length1 = 1;
2131 _screensaver_more_size_ = screensaver_more_length1;
2132 _tmp145_ = g_strdup ("");
2133 screensaver_more_help_message = _tmp145_;
2134 _tmp146_ = builder;
2135 _tmp147_ = kf;
2136 _tmp148_ = _data4_->dbus_backend;
2137 _tmp149_ = screensaver_help_message;
2138 _tmp150_ = screensaver_more;
2139 _tmp150__length1 = screensaver_more_length1;
2140 _tmp151_ = screensaver_more_help_message;
2141 ldefault_apps_init_application (_tmp146_, _tmp147_, _tmp148_, "screensaver", "", _tmp149_, _tmp150_, _tmp150__length1, _tmp151_, NULL);
2142 _tmp152_ = _ ("Power Manager helps you to reduce the usage of batteries. You probably" \
2143 " don't need one if you have a desktop computer.\n" \
2144 "Auto option will set it automatically, depending of the laptop mode op" \
2145 "tion.");
2146 _tmp153_ = g_strdup (_tmp152_);
2147 power_manager_help_message = _tmp153_;
2148 _tmp154_ = g_strdup ("");
2149 _tmp155_ = g_new0 (gchar*, 1 + 1);
2150 _tmp155_[0] = _tmp154_;
2151 power_manager_more = _tmp155_;
2152 power_manager_more_length1 = 1;
2153 _power_manager_more_size_ = power_manager_more_length1;
2154 _tmp156_ = g_strdup ("");
2155 power_manager_more_help_message = _tmp156_;
2156 _tmp157_ = builder;
2157 _tmp158_ = kf;
2158 _tmp159_ = _data4_->dbus_backend;
2159 _tmp160_ = power_manager_help_message;
2160 _tmp161_ = power_manager_more;
2161 _tmp161__length1 = power_manager_more_length1;
2162 _tmp162_ = power_manager_more_help_message;
2163 ldefault_apps_init_application (_tmp157_, _tmp158_, _tmp159_, "power_manager", "", _tmp160_, _tmp161_, _tmp161__length1, _tmp162_, NULL);
2164 _tmp163_ = _ ("Polkit agent provides authorisations to use some actions, like suspend" \
2165 ", hibernate, using Consolekit ... It's not advised to make it blank.");
2166 _tmp164_ = g_strdup (_tmp163_);
2167 polkit_help_message = _tmp164_;
2168 _tmp165_ = g_strdup ("");
2169 _tmp166_ = g_new0 (gchar*, 1 + 1);
2170 _tmp166_[0] = _tmp165_;
2171 polkit_more = _tmp166_;
2172 polkit_more_length1 = 1;
2173 _polkit_more_size_ = polkit_more_length1;
2174 _tmp167_ = g_strdup ("");
2175 polkit_more_help_message = _tmp167_;
2176 _tmp168_ = builder;
2177 _tmp169_ = kf;
2178 _tmp170_ = _data4_->dbus_backend;
2179 _tmp171_ = polkit_help_message;
2180 _tmp172_ = polkit_more;
2181 _tmp172__length1 = polkit_more_length1;
2182 _tmp173_ = polkit_more_help_message;
2183 ldefault_apps_init_application (_tmp168_, _tmp169_, _tmp170_, "polkit", "", _tmp171_, _tmp172_, _tmp172__length1, _tmp173_, NULL);
2184 _tmp174_ = _ ("Set an utility to manager connections, such as nm-applet");
2185 _tmp175_ = g_strdup (_tmp174_);
2186 network_gui_help_message = _tmp175_;
2187 _tmp176_ = g_strdup ("");
2188 _tmp177_ = g_new0 (gchar*, 1 + 1);
2189 _tmp177_[0] = _tmp176_;
2190 network_gui_more = _tmp177_;
2191 network_gui_more_length1 = 1;
2192 _network_gui_more_size_ = network_gui_more_length1;
2193 _tmp178_ = g_strdup ("");
2194 network_gui_more_help_message = _tmp178_;
2195 _tmp179_ = builder;
2196 _tmp180_ = kf;
2197 _tmp181_ = _data4_->dbus_backend;
2198 _tmp182_ = network_gui_help_message;
2199 _tmp183_ = network_gui_more;
2200 _tmp183__length1 = network_gui_more_length1;
2201 _tmp184_ = network_gui_more_help_message;
2202 ldefault_apps_init_application (_tmp179_, _tmp180_, _tmp181_, "network_gui", "", _tmp182_, _tmp183_, _tmp183__length1, _tmp184_, NULL);
2203 _tmp185_ = _ ("Use a communication software (an IRC client, an IM client ...)");
2204 _tmp186_ = g_strdup (_tmp185_);
2205 im1_help_message = _tmp186_;
2206 _tmp187_ = g_strdup ("combobox_manual");
2207 _tmp188_ = g_strdup ("autostart");
2208 _tmp189_ = g_strdup ("mime_association");
2209 _tmp190_ = g_strdup ("mime_available");
2210 _tmp191_ = g_new0 (gchar*, 4 + 1);
2211 _tmp191_[0] = _tmp187_;
2212 _tmp191_[1] = _tmp188_;
2213 _tmp191_[2] = _tmp189_;
2214 _tmp191_[3] = _tmp190_;
2215 im1_more = _tmp191_;
2216 im1_more_length1 = 4;
2217 _im1_more_size_ = im1_more_length1;
2218 _tmp192_ = manual_setting_help;
2219 _tmp193_ = autostart_help;
2220 _tmp194_ = g_strconcat (_tmp192_, _tmp193_, NULL);
2221 _tmp195_ = _tmp194_;
2222 _tmp196_ = mime_association_help;
2223 _tmp197_ = g_strconcat (_tmp195_, _tmp196_, NULL);
2224 _tmp198_ = _tmp197_;
2225 _tmp199_ = mime_available_help;
2226 _tmp200_ = g_strconcat (_tmp198_, _tmp199_, NULL);
2227 _tmp201_ = _tmp200_;
2228 _g_free0 (_tmp198_);
2229 _g_free0 (_tmp195_);
2230 im1_more_help_message = _tmp201_;
2231 _tmp202_ = builder;
2232 _tmp203_ = kf;
2233 _tmp204_ = _data4_->dbus_backend;
2234 _tmp205_ = im1_help_message;
2235 _tmp206_ = im1_more;
2236 _tmp206__length1 = im1_more_length1;
2237 _tmp207_ = im1_more_help_message;
2238 ldefault_apps_init_application_combobox (_tmp202_, _tmp203_, _tmp204_, "im1", "", _tmp205_, _tmp206_, _tmp206__length1, _tmp207_, "im");
2239 _tmp208_ = _ ("Use another communication software (an IRC client, an IM client ...)");
2240 _tmp209_ = g_strdup (_tmp208_);
2241 im2_help_message = _tmp209_;
2242 _tmp210_ = g_strdup ("combobox_manual");
2243 _tmp211_ = g_strdup ("autostart");
2244 _tmp212_ = g_strdup ("mime_association");
2245 _tmp213_ = g_strdup ("mime_available");
2246 _tmp214_ = g_new0 (gchar*, 4 + 1);
2247 _tmp214_[0] = _tmp210_;
2248 _tmp214_[1] = _tmp211_;
2249 _tmp214_[2] = _tmp212_;
2250 _tmp214_[3] = _tmp213_;
2251 im2_more = _tmp214_;
2252 im2_more_length1 = 4;
2253 _im2_more_size_ = im2_more_length1;
2254 _tmp215_ = manual_setting_help;
2255 _tmp216_ = autostart_help;
2256 _tmp217_ = g_strconcat (_tmp215_, _tmp216_, NULL);
2257 _tmp218_ = _tmp217_;
2258 _tmp219_ = mime_association_help;
2259 _tmp220_ = g_strconcat (_tmp218_, _tmp219_, NULL);
2260 _tmp221_ = _tmp220_;
2261 _tmp222_ = mime_available_help;
2262 _tmp223_ = g_strconcat (_tmp221_, _tmp222_, NULL);
2263 _tmp224_ = _tmp223_;
2264 _g_free0 (_tmp221_);
2265 _g_free0 (_tmp218_);
2266 im2_more_help_message = _tmp224_;
2267 _tmp225_ = builder;
2268 _tmp226_ = kf;
2269 _tmp227_ = _data4_->dbus_backend;
2270 _tmp228_ = im2_help_message;
2271 _tmp229_ = im2_more;
2272 _tmp229__length1 = im2_more_length1;
2273 _tmp230_ = im2_more_help_message;
2274 ldefault_apps_init_application_combobox (_tmp225_, _tmp226_, _tmp227_, "im2", "", _tmp228_, _tmp229_, _tmp229__length1, _tmp230_, "im");
2275 _tmp231_ = _ ("Terminal by default to launch command line.");
2276 _tmp232_ = g_strdup (_tmp231_);
2277 terminal_manager_help_message = _tmp232_;
2278 _tmp233_ = g_strdup ("combobox_manual");
2279 _tmp234_ = g_strdup ("debian_default");
2280 _tmp235_ = g_strdup ("mime_association");
2281 _tmp236_ = g_strdup ("mime_available");
2282 _tmp237_ = g_new0 (gchar*, 4 + 1);
2283 _tmp237_[0] = _tmp233_;
2284 _tmp237_[1] = _tmp234_;
2285 _tmp237_[2] = _tmp235_;
2286 _tmp237_[3] = _tmp236_;
2287 terminal_manager_more = _tmp237_;
2288 terminal_manager_more_length1 = 4;
2289 _terminal_manager_more_size_ = terminal_manager_more_length1;
2290 _tmp238_ = manual_setting_help;
2291 _tmp239_ = debian_default_help;
2292 _tmp240_ = g_strconcat (_tmp238_, _tmp239_, NULL);
2293 _tmp241_ = _tmp240_;
2294 _tmp242_ = mime_association_help;
2295 _tmp243_ = g_strconcat (_tmp241_, _tmp242_, NULL);
2296 _tmp244_ = _tmp243_;
2297 _tmp245_ = mime_available_help;
2298 _tmp246_ = g_strconcat (_tmp244_, _tmp245_, NULL);
2299 _tmp247_ = _tmp246_;
2300 _g_free0 (_tmp244_);
2301 _g_free0 (_tmp241_);
2302 terminal_manager_more_help_message = _tmp247_;
2303 _tmp248_ = builder;
2304 _tmp249_ = kf;
2305 _tmp250_ = _data4_->dbus_backend;
2306 _tmp251_ = terminal_manager_help_message;
2307 _tmp252_ = terminal_manager_more;
2308 _tmp252__length1 = terminal_manager_more_length1;
2309 _tmp253_ = terminal_manager_more_help_message;
2310 ldefault_apps_init_application_combobox (_tmp248_, _tmp249_, _tmp250_, "terminal_manager", "", _tmp251_, _tmp252_, _tmp252__length1, _tmp253_, NULL);
2311 _tmp254_ = _ ("Application to go to Internet, Google, Facebook, debian.org ...");
2312 _tmp255_ = g_strdup (_tmp254_);
2313 webbrowser_help_message = _tmp255_;
2314 _tmp256_ = g_strdup ("combobox_manual");
2315 _tmp257_ = g_strdup ("debian_default");
2316 _tmp258_ = g_strdup ("mime_association");
2317 _tmp259_ = g_strdup ("mime_available");
2318 _tmp260_ = g_new0 (gchar*, 4 + 1);
2319 _tmp260_[0] = _tmp256_;
2320 _tmp260_[1] = _tmp257_;
2321 _tmp260_[2] = _tmp258_;
2322 _tmp260_[3] = _tmp259_;
2323 webbrowser_more = _tmp260_;
2324 webbrowser_more_length1 = 4;
2325 _webbrowser_more_size_ = webbrowser_more_length1;
2326 _tmp261_ = manual_setting_help;
2327 _tmp262_ = debian_default_help;
2328 _tmp263_ = g_strconcat (_tmp261_, _tmp262_, NULL);
2329 _tmp264_ = _tmp263_;
2330 _tmp265_ = mime_association_help;
2331 _tmp266_ = g_strconcat (_tmp264_, _tmp265_, NULL);
2332 _tmp267_ = _tmp266_;
2333 _tmp268_ = mime_available_help;
2334 _tmp269_ = g_strconcat (_tmp267_, _tmp268_, NULL);
2335 _tmp270_ = _tmp269_;
2336 _g_free0 (_tmp267_);
2337 _g_free0 (_tmp264_);
2338 webbrowser_more_help_message = _tmp270_;
2339 _tmp271_ = builder;
2340 _tmp272_ = kf;
2341 _tmp273_ = _data4_->dbus_backend;
2342 _tmp274_ = webbrowser_help_message;
2343 _tmp275_ = webbrowser_more;
2344 _tmp275__length1 = webbrowser_more_length1;
2345 _tmp276_ = webbrowser_more_help_message;
2346 ldefault_apps_init_application_combobox (_tmp271_, _tmp272_, _tmp273_, "webbrowser", "", _tmp274_, _tmp275_, _tmp275__length1, _tmp276_, NULL);
2347 _tmp277_ = _ ("Application to send mails");
2348 _tmp278_ = g_strdup (_tmp277_);
2349 email_help_message = _tmp278_;
2350 _tmp279_ = g_strdup ("combobox_manual");
2351 _tmp280_ = g_strdup ("mime_association");
2352 _tmp281_ = g_strdup ("mime_available");
2353 _tmp282_ = g_new0 (gchar*, 3 + 1);
2354 _tmp282_[0] = _tmp279_;
2355 _tmp282_[1] = _tmp280_;
2356 _tmp282_[2] = _tmp281_;
2357 email_more = _tmp282_;
2358 email_more_length1 = 3;
2359 _email_more_size_ = email_more_length1;
2360 _tmp283_ = manual_setting_help;
2361 _tmp284_ = mime_association_help;
2362 _tmp285_ = g_strconcat (_tmp283_, _tmp284_, NULL);
2363 _tmp286_ = _tmp285_;
2364 _tmp287_ = mime_available_help;
2365 _tmp288_ = g_strconcat (_tmp286_, _tmp287_, NULL);
2366 _tmp289_ = _tmp288_;
2367 _g_free0 (_tmp286_);
2368 email_more_help_message = _tmp289_;
2369 _tmp290_ = builder;
2370 _tmp291_ = kf;
2371 _tmp292_ = _data4_->dbus_backend;
2372 _tmp293_ = email_help_message;
2373 _tmp294_ = email_more;
2374 _tmp294__length1 = email_more_length1;
2375 _tmp295_ = email_more_help_message;
2376 ldefault_apps_init_application_combobox (_tmp290_, _tmp291_, _tmp292_, "email", "", _tmp293_, _tmp294_, _tmp294__length1, _tmp295_, NULL);
2377 _tmp296_ = _ ("Utility to launch gadgets, like conky, screenlets ...");
2378 _tmp297_ = g_strdup (_tmp296_);
2379 widget_help_message = _tmp297_;
2380 _tmp298_ = g_strdup ("autostart");
2381 _tmp299_ = g_new0 (gchar*, 1 + 1);
2382 _tmp299_[0] = _tmp298_;
2383 widget_more = _tmp299_;
2384 widget_more_length1 = 1;
2385 _widget_more_size_ = widget_more_length1;
2386 _tmp300_ = autostart_help;
2387 _tmp301_ = g_strdup (_tmp300_);
2388 widget_more_help_message = _tmp301_;
2389 _tmp302_ = builder;
2390 _tmp303_ = kf;
2391 _tmp304_ = _data4_->dbus_backend;
2392 _tmp305_ = widget_help_message;
2393 _tmp306_ = widget_more;
2394 _tmp306__length1 = widget_more_length1;
2395 _tmp307_ = widget_more_help_message;
2396 ldefault_apps_init_application (_tmp302_, _tmp303_, _tmp304_, "widget1", "", _tmp305_, _tmp306_, _tmp306__length1, _tmp307_, "widget");
2397 _tmp308_ = _ ("Utility to launch application, like synapse, kupfer ... \n" \
2398 "For using lxpanel or lxde default utility, use \"lxpanelctl\" ");
2399 _tmp309_ = g_strdup (_tmp308_);
2400 launcher_manager_help_message = _tmp309_;
2401 _tmp310_ = g_strdup ("autostart");
2402 _tmp311_ = g_new0 (gchar*, 1 + 1);
2403 _tmp311_[0] = _tmp310_;
2404 launcher_manager_more = _tmp311_;
2405 launcher_manager_more_length1 = 1;
2406 _launcher_manager_more_size_ = launcher_manager_more_length1;
2407 _tmp312_ = autostart_help;
2408 _tmp313_ = g_strdup (_tmp312_);
2409 launcher_manager_more_help_message = _tmp313_;
2410 _tmp314_ = builder;
2411 _tmp315_ = kf;
2412 _tmp316_ = _data4_->dbus_backend;
2413 _tmp317_ = launcher_manager_help_message;
2414 _tmp318_ = launcher_manager_more;
2415 _tmp318__length1 = launcher_manager_more_length1;
2416 _tmp319_ = launcher_manager_more_help_message;
2417 ldefault_apps_init_application (_tmp314_, _tmp315_, _tmp316_, "launcher_manager", "", _tmp317_, _tmp318_, _tmp318__length1, _tmp319_, NULL);
2418 _tmp320_ = _ ("Application for taking screeshot of your desktop, like scrot ...");
2419 _tmp321_ = g_strdup (_tmp320_);
2420 screenshot_manager_help_message = _tmp321_;
2421 _tmp322_ = g_strdup ("");
2422 _tmp323_ = g_new0 (gchar*, 1 + 1);
2423 _tmp323_[0] = _tmp322_;
2424 screenshot_manager_more = _tmp323_;
2425 screenshot_manager_more_length1 = 1;
2426 _screenshot_manager_more_size_ = screenshot_manager_more_length1;
2427 _tmp324_ = autostart_help;
2428 _tmp325_ = g_strdup (_tmp324_);
2429 screenshot_manager_more_help_message = _tmp325_;
2430 _tmp326_ = builder;
2431 _tmp327_ = kf;
2432 _tmp328_ = _data4_->dbus_backend;
2433 _tmp329_ = screenshot_manager_help_message;
2434 _tmp330_ = screenshot_manager_more;
2435 _tmp330__length1 = screenshot_manager_more_length1;
2436 _tmp331_ = screenshot_manager_more_help_message;
2437 ldefault_apps_init_application (_tmp326_, _tmp327_, _tmp328_, "screenshot_manager", "", _tmp329_, _tmp330_, _tmp330__length1, _tmp331_, NULL);
2438 _tmp332_ = g_strdup ("Viewer for PDF, like evince");
2439 pdf_reader_help_message = _tmp332_;
2440 _tmp333_ = g_strdup ("combobox_manual");
2441 _tmp334_ = g_strdup ("mime_association");
2442 _tmp335_ = g_strdup ("mime_available");
2443 _tmp336_ = g_new0 (gchar*, 3 + 1);
2444 _tmp336_[0] = _tmp333_;
2445 _tmp336_[1] = _tmp334_;
2446 _tmp336_[2] = _tmp335_;
2447 pdf_reader_more = _tmp336_;
2448 pdf_reader_more_length1 = 3;
2449 _pdf_reader_more_size_ = pdf_reader_more_length1;
2450 _tmp337_ = manual_setting_help;
2451 _tmp338_ = mime_association_help;
2452 _tmp339_ = g_strconcat (_tmp337_, _tmp338_, NULL);
2453 _tmp340_ = _tmp339_;
2454 _tmp341_ = mime_available_help;
2455 _tmp342_ = g_strconcat (_tmp340_, _tmp341_, NULL);
2456 _tmp343_ = _tmp342_;
2457 _g_free0 (_tmp340_);
2458 pdf_reader_more_help_message = _tmp343_;
2459 _tmp344_ = builder;
2460 _tmp345_ = kf;
2461 _tmp346_ = _data4_->dbus_backend;
2462 _tmp347_ = pdf_reader_help_message;
2463 _tmp348_ = pdf_reader_more;
2464 _tmp348__length1 = pdf_reader_more_length1;
2465 _tmp349_ = pdf_reader_more_help_message;
2466 ldefault_apps_init_application_combobox (_tmp344_, _tmp345_, _tmp346_, "pdf_reader", "", _tmp347_, _tmp348_, _tmp348__length1, _tmp349_, NULL);
2467 _tmp350_ = _ ("Video application");
2468 _tmp351_ = g_strdup (_tmp350_);
2469 video_player_help_message = _tmp351_;
2470 _tmp352_ = g_strdup ("combobox_manual");
2471 _tmp353_ = g_strdup ("mime_association");
2472 _tmp354_ = g_strdup ("mime_available");
2473 _tmp355_ = g_new0 (gchar*, 3 + 1);
2474 _tmp355_[0] = _tmp352_;
2475 _tmp355_[1] = _tmp353_;
2476 _tmp355_[2] = _tmp354_;
2477 video_player_more = _tmp355_;
2478 video_player_more_length1 = 3;
2479 _video_player_more_size_ = video_player_more_length1;
2480 _tmp356_ = manual_setting_help;
2481 _tmp357_ = mime_association_help;
2482 _tmp358_ = g_strconcat (_tmp356_, _tmp357_, NULL);
2483 _tmp359_ = _tmp358_;
2484 _tmp360_ = mime_available_help;
2485 _tmp361_ = g_strconcat (_tmp359_, _tmp360_, NULL);
2486 _tmp362_ = _tmp361_;
2487 _g_free0 (_tmp359_);
2488 video_player_more_help_message = _tmp362_;
2489 _tmp363_ = builder;
2490 _tmp364_ = kf;
2491 _tmp365_ = _data4_->dbus_backend;
2492 _tmp366_ = video_player_help_message;
2493 _tmp367_ = video_player_more;
2494 _tmp367__length1 = video_player_more_length1;
2495 _tmp368_ = video_player_more_help_message;
2496 ldefault_apps_init_application_combobox (_tmp363_, _tmp364_, _tmp365_, "video_player", "", _tmp366_, _tmp367_, _tmp367__length1, _tmp368_, NULL);
2497 _tmp369_ = _ ("Audio application");
2498 _tmp370_ = g_strdup (_tmp369_);
2499 audio_player_help_message = _tmp370_;
2500 _tmp371_ = g_strdup ("combobox_manual");
2501 _tmp372_ = g_strdup ("mime_association");
2502 _tmp373_ = g_strdup ("mime_available");
2503 _tmp374_ = g_new0 (gchar*, 3 + 1);
2504 _tmp374_[0] = _tmp371_;
2505 _tmp374_[1] = _tmp372_;
2506 _tmp374_[2] = _tmp373_;
2507 audio_player_more = _tmp374_;
2508 audio_player_more_length1 = 3;
2509 _audio_player_more_size_ = audio_player_more_length1;
2510 _tmp375_ = manual_setting_help;
2511 _tmp376_ = mime_association_help;
2512 _tmp377_ = g_strconcat (_tmp375_, _tmp376_, NULL);
2513 _tmp378_ = _tmp377_;
2514 _tmp379_ = mime_available_help;
2515 _tmp380_ = g_strconcat (_tmp378_, _tmp379_, NULL);
2516 _tmp381_ = _tmp380_;
2517 _g_free0 (_tmp378_);
2518 audio_player_more_help_message = _tmp381_;
2519 _tmp382_ = builder;
2520 _tmp383_ = kf;
2521 _tmp384_ = _data4_->dbus_backend;
2522 _tmp385_ = audio_player_help_message;
2523 _tmp386_ = audio_player_more;
2524 _tmp386__length1 = audio_player_more_length1;
2525 _tmp387_ = audio_player_more_help_message;
2526 ldefault_apps_init_application_combobox (_tmp382_, _tmp383_, _tmp384_, "audio_player", "", _tmp385_, _tmp386_, _tmp386__length1, _tmp387_, NULL);
2527 _tmp388_ = _ ("Application to display images");
2528 _tmp389_ = g_strdup (_tmp388_);
2529 image_display_help_message = _tmp389_;
2530 _tmp390_ = g_strdup ("combobox_manual");
2531 _tmp391_ = g_strdup ("mime_association");
2532 _tmp392_ = g_strdup ("mime_available");
2533 _tmp393_ = g_new0 (gchar*, 3 + 1);
2534 _tmp393_[0] = _tmp390_;
2535 _tmp393_[1] = _tmp391_;
2536 _tmp393_[2] = _tmp392_;
2537 image_display_more = _tmp393_;
2538 image_display_more_length1 = 3;
2539 _image_display_more_size_ = image_display_more_length1;
2540 _tmp394_ = manual_setting_help;
2541 _tmp395_ = mime_association_help;
2542 _tmp396_ = g_strconcat (_tmp394_, _tmp395_, NULL);
2543 _tmp397_ = _tmp396_;
2544 _tmp398_ = mime_available_help;
2545 _tmp399_ = g_strconcat (_tmp397_, _tmp398_, NULL);
2546 _tmp400_ = _tmp399_;
2547 _g_free0 (_tmp397_);
2548 image_display_more_help_message = _tmp400_;
2549 _tmp401_ = builder;
2550 _tmp402_ = kf;
2551 _tmp403_ = _data4_->dbus_backend;
2552 _tmp404_ = image_display_help_message;
2553 _tmp405_ = image_display_more;
2554 _tmp405__length1 = image_display_more_length1;
2555 _tmp406_ = image_display_more_help_message;
2556 ldefault_apps_init_application_combobox (_tmp401_, _tmp402_, _tmp403_, "image_display", "", _tmp404_, _tmp405_, _tmp405__length1, _tmp406_, "image_display");
2557 _tmp407_ = _ ("Application to edit text");
2558 _tmp408_ = g_strdup (_tmp407_);
2559 text_editor_help_message = _tmp408_;
2560 _tmp409_ = g_strdup ("combobox_manual");
2561 _tmp410_ = g_strdup ("mime_association");
2562 _tmp411_ = g_strdup ("mime_available");
2563 _tmp412_ = g_strdup ("debian_default");
2564 _tmp413_ = g_new0 (gchar*, 4 + 1);
2565 _tmp413_[0] = _tmp409_;
2566 _tmp413_[1] = _tmp410_;
2567 _tmp413_[2] = _tmp411_;
2568 _tmp413_[3] = _tmp412_;
2569 text_editor_more = _tmp413_;
2570 text_editor_more_length1 = 4;
2571 _text_editor_more_size_ = text_editor_more_length1;
2572 _tmp414_ = manual_setting_help;
2573 _tmp415_ = mime_association_help;
2574 _tmp416_ = g_strconcat (_tmp414_, _tmp415_, NULL);
2575 _tmp417_ = _tmp416_;
2576 _tmp418_ = mime_available_help;
2577 _tmp419_ = g_strconcat (_tmp417_, _tmp418_, NULL);
2578 _tmp420_ = _tmp419_;
2579 _g_free0 (_tmp417_);
2580 text_editor_more_help_message = _tmp420_;
2581 _tmp421_ = builder;
2582 _tmp422_ = kf;
2583 _tmp423_ = _data4_->dbus_backend;
2584 _tmp424_ = text_editor_help_message;
2585 _tmp425_ = text_editor_more;
2586 _tmp425__length1 = text_editor_more_length1;
2587 _tmp426_ = text_editor_more_help_message;
2588 ldefault_apps_init_application_combobox (_tmp421_, _tmp422_, _tmp423_, "text_editor", "", _tmp424_, _tmp425_, _tmp425__length1, _tmp426_, "text_editor");
2589 _tmp427_ = _ ("Application to create archives, like file-roller");
2590 _tmp428_ = g_strdup (_tmp427_);
2591 archive_help_message = _tmp428_;
2592 _tmp429_ = g_strdup ("combobox_manual");
2593 _tmp430_ = g_strdup ("mime_association");
2594 _tmp431_ = g_strdup ("mime_available");
2595 _tmp432_ = g_new0 (gchar*, 3 + 1);
2596 _tmp432_[0] = _tmp429_;
2597 _tmp432_[1] = _tmp430_;
2598 _tmp432_[2] = _tmp431_;
2599 archive_more = _tmp432_;
2600 archive_more_length1 = 3;
2601 _archive_more_size_ = archive_more_length1;
2602 _tmp433_ = manual_setting_help;
2603 _tmp434_ = mime_association_help;
2604 _tmp435_ = g_strconcat (_tmp433_, _tmp434_, NULL);
2605 _tmp436_ = _tmp435_;
2606 _tmp437_ = mime_available_help;
2607 _tmp438_ = g_strconcat (_tmp436_, _tmp437_, NULL);
2608 _tmp439_ = _tmp438_;
2609 _g_free0 (_tmp436_);
2610 archive_more_help_message = _tmp439_;
2611 _tmp440_ = builder;
2612 _tmp441_ = kf;
2613 _tmp442_ = _data4_->dbus_backend;
2614 _tmp443_ = archive_help_message;
2615 _tmp444_ = archive_more;
2616 _tmp444__length1 = archive_more_length1;
2617 _tmp445_ = archive_more_help_message;
2618 ldefault_apps_init_application_combobox (_tmp440_, _tmp441_, _tmp442_, "archive", "", _tmp443_, _tmp444_, _tmp444__length1, _tmp445_, NULL);
2619 _tmp446_ = _ ("Charmap application");
2620 _tmp447_ = g_strdup (_tmp446_);
2621 charmap_help_message = _tmp447_;
2622 _tmp448_ = g_strdup ("");
2623 _tmp449_ = g_new0 (gchar*, 1 + 1);
2624 _tmp449_[0] = _tmp448_;
2625 charmap_more = _tmp449_;
2626 charmap_more_length1 = 1;
2627 _charmap_more_size_ = charmap_more_length1;
2628 _tmp450_ = g_strdup ("");
2629 charmap_more_help_message = _tmp450_;
2630 _tmp451_ = builder;
2631 _tmp452_ = kf;
2632 _tmp453_ = _data4_->dbus_backend;
2633 _tmp454_ = charmap_help_message;
2634 _tmp455_ = charmap_more;
2635 _tmp455__length1 = charmap_more_length1;
2636 _tmp456_ = charmap_more_help_message;
2637 ldefault_apps_init_application (_tmp451_, _tmp452_, _tmp453_, "charmap", "", _tmp454_, _tmp455_, _tmp455__length1, _tmp456_, NULL);
2638 _tmp457_ = _ ("Calculator application");
2639 _tmp458_ = g_strdup (_tmp457_);
2640 calculator_help_message = _tmp458_;
2641 _tmp459_ = g_strdup ("");
2642 _tmp460_ = g_new0 (gchar*, 1 + 1);
2643 _tmp460_[0] = _tmp459_;
2644 calculator_more = _tmp460_;
2645 calculator_more_length1 = 1;
2646 _calculator_more_size_ = calculator_more_length1;
2647 _tmp461_ = g_strdup ("");
2648 calculator_more_help_message = _tmp461_;
2649 _tmp462_ = builder;
2650 _tmp463_ = kf;
2651 _tmp464_ = _data4_->dbus_backend;
2652 _tmp465_ = calculator_help_message;
2653 _tmp466_ = calculator_more;
2654 _tmp466__length1 = calculator_more_length1;
2655 _tmp467_ = calculator_more_help_message;
2656 ldefault_apps_init_application (_tmp462_, _tmp463_, _tmp464_, "calculator", "", _tmp465_, _tmp466_, _tmp466__length1, _tmp467_, NULL);
2657 _tmp468_ = _ ("Application to create spreedsheet, like gnumeric");
2658 _tmp469_ = g_strdup (_tmp468_);
2659 spreadsheet_help_message = _tmp469_;
2660 _tmp470_ = g_strdup ("combobox_manual");
2661 _tmp471_ = g_strdup ("mime_association");
2662 _tmp472_ = g_strdup ("mime_available");
2663 _tmp473_ = g_new0 (gchar*, 3 + 1);
2664 _tmp473_[0] = _tmp470_;
2665 _tmp473_[1] = _tmp471_;
2666 _tmp473_[2] = _tmp472_;
2667 spreadsheet_more = _tmp473_;
2668 spreadsheet_more_length1 = 3;
2669 _spreadsheet_more_size_ = spreadsheet_more_length1;
2670 _tmp474_ = manual_setting_help;
2671 _tmp475_ = mime_association_help;
2672 _tmp476_ = g_strconcat (_tmp474_, _tmp475_, NULL);
2673 _tmp477_ = _tmp476_;
2674 _tmp478_ = mime_available_help;
2675 _tmp479_ = g_strconcat (_tmp477_, _tmp478_, NULL);
2676 _tmp480_ = _tmp479_;
2677 _g_free0 (_tmp477_);
2678 spreadsheet_more_help_message = _tmp480_;
2679 _tmp481_ = builder;
2680 _tmp482_ = kf;
2681 _tmp483_ = _data4_->dbus_backend;
2682 _tmp484_ = spreadsheet_help_message;
2683 _tmp485_ = spreadsheet_more;
2684 _tmp485__length1 = spreadsheet_more_length1;
2685 _tmp486_ = spreadsheet_more_help_message;
2686 ldefault_apps_init_application_combobox (_tmp481_, _tmp482_, _tmp483_, "spreadsheet", "", _tmp484_, _tmp485_, _tmp485__length1, _tmp486_, NULL);
2687 _tmp487_ = _ ("Application to manage bittorent, like transmission");
2688 _tmp488_ = g_strdup (_tmp487_);
2689 bittorent_help_message = _tmp488_;
2690 _tmp489_ = g_strdup ("combobox_manual");
2691 _tmp490_ = g_strdup ("mime_association");
2692 _tmp491_ = g_strdup ("mime_available");
2693 _tmp492_ = g_new0 (gchar*, 3 + 1);
2694 _tmp492_[0] = _tmp489_;
2695 _tmp492_[1] = _tmp490_;
2696 _tmp492_[2] = _tmp491_;
2697 bittorent_more = _tmp492_;
2698 bittorent_more_length1 = 3;
2699 _bittorent_more_size_ = bittorent_more_length1;
2700 _tmp493_ = manual_setting_help;
2701 _tmp494_ = mime_association_help;
2702 _tmp495_ = g_strconcat (_tmp493_, _tmp494_, NULL);
2703 _tmp496_ = _tmp495_;
2704 _tmp497_ = mime_available_help;
2705 _tmp498_ = g_strconcat (_tmp496_, _tmp497_, NULL);
2706 _tmp499_ = _tmp498_;
2707 _g_free0 (_tmp496_);
2708 bittorent_more_help_message = _tmp499_;
2709 _tmp500_ = builder;
2710 _tmp501_ = kf;
2711 _tmp502_ = _data4_->dbus_backend;
2712 _tmp503_ = bittorent_help_message;
2713 _tmp504_ = bittorent_more;
2714 _tmp504__length1 = bittorent_more_length1;
2715 _tmp505_ = bittorent_more_help_message;
2716 ldefault_apps_init_application_combobox (_tmp500_, _tmp501_, _tmp502_, "bittorent", "", _tmp503_, _tmp504_, _tmp504__length1, _tmp505_, NULL);
2717 _tmp506_ = _ ("Application to manage office text, like abiword");
2718 _tmp507_ = g_strdup (_tmp506_);
2719 document_help_message = _tmp507_;
2720 _tmp508_ = g_strdup ("combobox_manual");
2721 _tmp509_ = g_strdup ("mime_association");
2722 _tmp510_ = g_strdup ("mime_available");
2723 _tmp511_ = g_new0 (gchar*, 3 + 1);
2724 _tmp511_[0] = _tmp508_;
2725 _tmp511_[1] = _tmp509_;
2726 _tmp511_[2] = _tmp510_;
2727 document_more = _tmp511_;
2728 document_more_length1 = 3;
2729 _document_more_size_ = document_more_length1;
2730 _tmp512_ = manual_setting_help;
2731 _tmp513_ = mime_association_help;
2732 _tmp514_ = g_strconcat (_tmp512_, _tmp513_, NULL);
2733 _tmp515_ = _tmp514_;
2734 _tmp516_ = mime_available_help;
2735 _tmp517_ = g_strconcat (_tmp515_, _tmp516_, NULL);
2736 _tmp518_ = _tmp517_;
2737 _g_free0 (_tmp515_);
2738 document_more_help_message = _tmp518_;
2739 _tmp519_ = builder;
2740 _tmp520_ = kf;
2741 _tmp521_ = _data4_->dbus_backend;
2742 _tmp522_ = document_help_message;
2743 _tmp523_ = document_more;
2744 _tmp523__length1 = document_more_length1;
2745 _tmp524_ = document_more_help_message;
2746 ldefault_apps_init_application_combobox (_tmp519_, _tmp520_, _tmp521_, "document", "", _tmp522_, _tmp523_, _tmp523__length1, _tmp524_, NULL);
2747 _tmp525_ = _ ("Application to manage webcam");
2748 _tmp526_ = g_strdup (_tmp525_);
2749 webcam_help_message = _tmp526_;
2750 _tmp527_ = g_strdup ("");
2751 _tmp528_ = g_new0 (gchar*, 1 + 1);
2752 _tmp528_[0] = _tmp527_;
2753 webcam_more = _tmp528_;
2754 webcam_more_length1 = 1;
2755 _webcam_more_size_ = webcam_more_length1;
2756 _tmp529_ = manual_setting_help;
2757 _tmp530_ = g_strdup (_tmp529_);
2758 webcam_more_help_message = _tmp530_;
2759 _tmp531_ = builder;
2760 _tmp532_ = kf;
2761 _tmp533_ = _data4_->dbus_backend;
2762 _tmp534_ = webcam_help_message;
2763 _tmp535_ = webcam_more;
2764 _tmp535__length1 = webcam_more_length1;
2765 _tmp536_ = webcam_more_help_message;
2766 ldefault_apps_init_application (_tmp531_, _tmp532_, _tmp533_, "webcam", "", _tmp534_, _tmp535_, _tmp535__length1, _tmp536_, NULL);
2767 _tmp537_ = _ ("Application to manage burning CD/DVD utilty ");
2768 _tmp538_ = g_strdup (_tmp537_);
2769 burn_help_message = _tmp538_;
2770 _tmp539_ = g_strdup ("combobox_manual");
2771 _tmp540_ = g_strdup ("mime_association");
2772 _tmp541_ = g_strdup ("mime_available");
2773 _tmp542_ = g_new0 (gchar*, 3 + 1);
2774 _tmp542_[0] = _tmp539_;
2775 _tmp542_[1] = _tmp540_;
2776 _tmp542_[2] = _tmp541_;
2777 burn_more = _tmp542_;
2778 burn_more_length1 = 3;
2779 _burn_more_size_ = burn_more_length1;
2780 _tmp543_ = manual_setting_help;
2781 _tmp544_ = mime_association_help;
2782 _tmp545_ = g_strconcat (_tmp543_, _tmp544_, NULL);
2783 _tmp546_ = _tmp545_;
2784 _tmp547_ = mime_available_help;
2785 _tmp548_ = g_strconcat (_tmp546_, _tmp547_, NULL);
2786 _tmp549_ = _tmp548_;
2787 _g_free0 (_tmp546_);
2788 burn_more_help_message = _tmp549_;
2789 _tmp550_ = builder;
2790 _tmp551_ = kf;
2791 _tmp552_ = _data4_->dbus_backend;
2792 _tmp553_ = burn_help_message;
2793 _tmp554_ = burn_more;
2794 _tmp554__length1 = burn_more_length1;
2795 _tmp555_ = burn_more_help_message;
2796 ldefault_apps_init_application_combobox (_tmp550_, _tmp551_, _tmp552_, "burn", "", _tmp553_, _tmp554_, _tmp554__length1, _tmp555_, NULL);
2797 _tmp556_ = _ ("Application to manage notes utility");
2798 _tmp557_ = g_strdup (_tmp556_);
2799 notes_help_message = _tmp557_;
2800 _tmp558_ = g_strdup ("");
2801 _tmp559_ = g_new0 (gchar*, 1 + 1);
2802 _tmp559_[0] = _tmp558_;
2803 notes_more = _tmp559_;
2804 notes_more_length1 = 1;
2805 _notes_more_size_ = notes_more_length1;
2806 _tmp560_ = manual_setting_help;
2807 _tmp561_ = g_strdup (_tmp560_);
2808 notes_more_help_message = _tmp561_;
2809 _tmp562_ = builder;
2810 _tmp563_ = kf;
2811 _tmp564_ = _data4_->dbus_backend;
2812 _tmp565_ = notes_help_message;
2813 _tmp566_ = notes_more;
2814 _tmp566__length1 = notes_more_length1;
2815 _tmp567_ = notes_more_help_message;
2816 ldefault_apps_init_application (_tmp562_, _tmp563_, _tmp564_, "notes", "", _tmp565_, _tmp566_, _tmp566__length1, _tmp567_, NULL);
2817 _tmp568_ = _ ("Application to manage disks");
2818 _tmp569_ = g_strdup (_tmp568_);
2819 disk_utility_help_message = _tmp569_;
2820 _tmp570_ = g_strdup ("");
2821 _tmp571_ = g_new0 (gchar*, 1 + 1);
2822 _tmp571_[0] = _tmp570_;
2823 disk_utility_more = _tmp571_;
2824 disk_utility_more_length1 = 1;
2825 _disk_utility_more_size_ = disk_utility_more_length1;
2826 _tmp572_ = manual_setting_help;
2827 _tmp573_ = g_strdup (_tmp572_);
2828 disk_utility_more_help_message = _tmp573_;
2829 _tmp574_ = builder;
2830 _tmp575_ = kf;
2831 _tmp576_ = _data4_->dbus_backend;
2832 _tmp577_ = disk_utility_help_message;
2833 _tmp578_ = disk_utility_more;
2834 _tmp578__length1 = disk_utility_more_length1;
2835 _tmp579_ = disk_utility_more_help_message;
2836 ldefault_apps_init_application (_tmp574_, _tmp575_, _tmp576_, "disk_utility", "", _tmp577_, _tmp578_, _tmp578__length1, _tmp579_, NULL);
2837 _tmp580_ = _ ("Application to monitor tasks running on your system");
2838 _tmp581_ = g_strdup (_tmp580_);
2839 tasks_help_message = _tmp581_;
2840 _tmp582_ = g_strdup ("combobox_manual");
2841 _tmp583_ = g_strdup ("mime_association");
2842 _tmp584_ = g_strdup ("mime_available");
2843 _tmp585_ = g_new0 (gchar*, 3 + 1);
2844 _tmp585_[0] = _tmp582_;
2845 _tmp585_[1] = _tmp583_;
2846 _tmp585_[2] = _tmp584_;
2847 tasks_more = _tmp585_;
2848 tasks_more_length1 = 3;
2849 _tasks_more_size_ = tasks_more_length1;
2850 _tmp586_ = manual_setting_help;
2851 _tmp587_ = mime_association_help;
2852 _tmp588_ = g_strconcat (_tmp586_, _tmp587_, NULL);
2853 _tmp589_ = _tmp588_;
2854 _tmp590_ = mime_available_help;
2855 _tmp591_ = g_strconcat (_tmp589_, _tmp590_, NULL);
2856 _tmp592_ = _tmp591_;
2857 _g_free0 (_tmp589_);
2858 tasks_more_help_message = _tmp592_;
2859 _tmp593_ = builder;
2860 _tmp594_ = kf;
2861 _tmp595_ = _data4_->dbus_backend;
2862 _tmp596_ = tasks_help_message;
2863 _tmp597_ = tasks_more;
2864 _tmp597__length1 = tasks_more_length1;
2865 _tmp598_ = tasks_more_help_message;
2866 ldefault_apps_init_application_combobox (_tmp593_, _tmp594_, _tmp595_, "tasks", "", _tmp596_, _tmp597_, _tmp597__length1, _tmp598_, NULL);
2867 _tmp599_ = _ ("Application to lock your screen");
2868 _tmp600_ = g_strdup (_tmp599_);
2869 lock_manager_help_message = _tmp600_;
2870 _tmp601_ = g_strdup ("");
2871 _tmp602_ = g_new0 (gchar*, 1 + 1);
2872 _tmp602_[0] = _tmp601_;
2873 lock_manager_more = _tmp602_;
2874 lock_manager_more_length1 = 1;
2875 _lock_manager_more_size_ = lock_manager_more_length1;
2876 _tmp603_ = manual_setting_help;
2877 _tmp604_ = g_strdup (_tmp603_);
2878 lock_manager_more_help_message = _tmp604_;
2879 _tmp605_ = builder;
2880 _tmp606_ = kf;
2881 _tmp607_ = _data4_->dbus_backend;
2882 _tmp608_ = lock_manager_help_message;
2883 _tmp609_ = lock_manager_more;
2884 _tmp609__length1 = lock_manager_more_length1;
2885 _tmp610_ = lock_manager_more_help_message;
2886 ldefault_apps_init_application (_tmp605_, _tmp606_, _tmp607_, "lock_manager", "", _tmp608_, _tmp609_, _tmp609__length1, _tmp610_, NULL);
2887 _tmp611_ = _ ("Managing your audio configuration");
2888 _tmp612_ = g_strdup (_tmp611_);
2889 audio_manager_help_message = _tmp612_;
2890 _tmp613_ = g_strdup ("");
2891 _tmp614_ = g_new0 (gchar*, 1 + 1);
2892 _tmp614_[0] = _tmp613_;
2893 audio_manager_more = _tmp614_;
2894 audio_manager_more_length1 = 1;
2895 _audio_manager_more_size_ = audio_manager_more_length1;
2896 _tmp615_ = manual_setting_help;
2897 _tmp616_ = g_strdup (_tmp615_);
2898 audio_manager_more_help_message = _tmp616_;
2899 _tmp617_ = builder;
2900 _tmp618_ = kf;
2901 _tmp619_ = _data4_->dbus_backend;
2902 _tmp620_ = audio_manager_help_message;
2903 _tmp621_ = audio_manager_more;
2904 _tmp621__length1 = audio_manager_more_length1;
2905 _tmp622_ = audio_manager_more_help_message;
2906 ldefault_apps_init_application (_tmp617_, _tmp618_, _tmp619_, "audio_manager", "", _tmp620_, _tmp621_, _tmp621__length1, _tmp622_, NULL);
2907 _tmp623_ = _ ("Managing your workspace configuration");
2908 _tmp624_ = g_strdup (_tmp623_);
2909 workspace_manager_help_message = _tmp624_;
2910 _tmp625_ = g_strdup ("");
2911 _tmp626_ = g_new0 (gchar*, 1 + 1);
2912 _tmp626_[0] = _tmp625_;
2913 workspace_manager_more = _tmp626_;
2914 workspace_manager_more_length1 = 1;
2915 _workspace_manager_more_size_ = workspace_manager_more_length1;
2916 _tmp627_ = manual_setting_help;
2917 _tmp628_ = g_strdup (_tmp627_);
2918 workspace_manager_more_help_message = _tmp628_;
2919 _tmp629_ = builder;
2920 _tmp630_ = kf;
2921 _tmp631_ = _data4_->dbus_backend;
2922 _tmp632_ = workspace_manager_help_message;
2923 _tmp633_ = workspace_manager_more;
2924 _tmp633__length1 = workspace_manager_more_length1;
2925 _tmp634_ = workspace_manager_more_help_message;
2926 ldefault_apps_init_application (_tmp629_, _tmp630_, _tmp631_, "workspace_manager", "", _tmp632_, _tmp633_, _tmp633__length1, _tmp634_, NULL);
2927 _tmp635_ = _ ("Managing the application to quit your session");
2928 _tmp636_ = g_strdup (_tmp635_);
2929 quit_manager_help_message = _tmp636_;
2930 _tmp637_ = g_strdup ("");
2931 _tmp638_ = g_new0 (gchar*, 1 + 1);
2932 _tmp638_[0] = _tmp637_;
2933 quit_manager_more = _tmp638_;
2934 quit_manager_more_length1 = 1;
2935 _quit_manager_more_size_ = quit_manager_more_length1;
2936 _tmp639_ = manual_setting_help;
2937 _tmp640_ = g_strdup (_tmp639_);
2938 quit_manager_more_help_message = _tmp640_;
2939 _tmp641_ = builder;
2940 _tmp642_ = kf;
2941 _tmp643_ = _data4_->dbus_backend;
2942 _tmp644_ = quit_manager_help_message;
2943 _tmp645_ = quit_manager_more;
2944 _tmp645__length1 = quit_manager_more_length1;
2945 _tmp646_ = quit_manager_more_help_message;
2946 ldefault_apps_init_application (_tmp641_, _tmp642_, _tmp643_, "quit_manager", "", _tmp644_, _tmp645_, _tmp645__length1, _tmp646_, NULL);
2947 _tmp647_ = _ ("Managing the application to update and upgrade your system");
2948 _tmp648_ = g_strdup (_tmp647_);
2949 upgrade_manager_help_message = _tmp648_;
2950 _tmp649_ = g_strdup ("");
2951 _tmp650_ = g_new0 (gchar*, 1 + 1);
2952 _tmp650_[0] = _tmp649_;
2953 upgrade_manager_more = _tmp650_;
2954 upgrade_manager_more_length1 = 1;
2955 _upgrade_manager_more_size_ = upgrade_manager_more_length1;
2956 _tmp651_ = manual_setting_help;
2957 _tmp652_ = g_strdup (_tmp651_);
2958 upgrade_manager_more_help_message = _tmp652_;
2959 _tmp653_ = builder;
2960 _tmp654_ = kf;
2961 _tmp655_ = _data4_->dbus_backend;
2962 _tmp656_ = upgrade_manager_help_message;
2963 _tmp657_ = upgrade_manager_more;
2964 _tmp657__length1 = upgrade_manager_more_length1;
2965 _tmp658_ = upgrade_manager_more_help_message;
2966 ldefault_apps_init_application (_tmp653_, _tmp654_, _tmp655_, "upgrade_manager", "", _tmp656_, _tmp657_, _tmp657__length1, _tmp658_, NULL);
2967 _tmp659_ = _ ("Managing clipboard support");
2968 _tmp660_ = g_strdup (_tmp659_);
2969 clipboard_help_message = _tmp660_;
2970 _tmp661_ = g_strdup ("");
2971 _tmp662_ = g_new0 (gchar*, 1 + 1);
2972 _tmp662_[0] = _tmp661_;
2973 clipboard_more = _tmp662_;
2974 clipboard_more_length1 = 1;
2975 _clipboard_more_size_ = clipboard_more_length1;
2976 _tmp663_ = manual_setting_help;
2977 _tmp664_ = g_strdup (_tmp663_);
2978 clipboard_more_help_message = _tmp664_;
2979 _tmp665_ = builder;
2980 _tmp666_ = kf;
2981 _tmp667_ = _data4_->dbus_backend;
2982 _tmp668_ = clipboard_help_message;
2983 _tmp669_ = clipboard_more;
2984 _tmp669__length1 = clipboard_more_length1;
2985 _tmp670_ = clipboard_more_help_message;
2986 ldefault_apps_init_application (_tmp665_, _tmp666_, _tmp667_, "clipboard", "", _tmp668_, _tmp669_, _tmp669__length1, _tmp670_, NULL);
2987 _tmp671_ = _ ("Managing keyring support.\n" \
2988 "Standard options available \"gnome\" for gnome-keyring support or \"s" \
2989 "sh-agent\" for ssh-agent support");
2990 _tmp672_ = g_strdup (_tmp671_);
2991 security_help_message = _tmp672_;
2992 _tmp673_ = g_strdup ("");
2993 _tmp674_ = g_new0 (gchar*, 1 + 1);
2994 _tmp674_[0] = _tmp673_;
2995 security_more = _tmp674_;
2996 security_more_length1 = 1;
2997 _security_more_size_ = security_more_length1;
2998 _tmp675_ = manual_setting_help;
2999 _tmp676_ = g_strdup (_tmp675_);
3000 security_more_help_message = _tmp676_;
3001 _tmp677_ = builder;
3002 _tmp678_ = kf;
3003 _tmp679_ = _data4_->dbus_backend;
3004 _tmp680_ = security_help_message;
3005 _tmp681_ = security_more;
3006 _tmp681__length1 = security_more_length1;
3007 _tmp682_ = security_more_help_message;
3008 ldefault_apps_init_application (_tmp677_, _tmp678_, _tmp679_, "keyring", "", _tmp680_, _tmp681_, _tmp681__length1, _tmp682_, NULL);
3009 _tmp683_ = _ ("Managing support for accessibility.\n" \
3010 "Stardart option are gnome, for stardart gnome support.");
3011 _tmp684_ = g_strdup (_tmp683_);
3012 a11y_help_message = _tmp684_;
3013 _tmp685_ = g_strdup ("");
3014 _tmp686_ = g_new0 (gchar*, 1 + 1);
3015 _tmp686_[0] = _tmp685_;
3016 a11y_more = _tmp686_;
3017 a11y_more_length1 = 1;
3018 _a11y_more_size_ = a11y_more_length1;
3019 _tmp687_ = manual_setting_help;
3020 _tmp688_ = g_strdup (_tmp687_);
3021 a11y_more_help_message = _tmp688_;
3022 _tmp689_ = builder;
3023 _tmp690_ = kf;
3024 _tmp691_ = _data4_->dbus_backend;
3025 _tmp692_ = a11y_help_message;
3026 _tmp693_ = a11y_more;
3027 _tmp693__length1 = a11y_more_length1;
3028 _tmp694_ = a11y_more_help_message;
3029 ldefault_apps_init_application (_tmp689_, _tmp690_, _tmp691_, "a11y", "", _tmp692_, _tmp693_, _tmp693__length1, _tmp694_, NULL);
3030 _tmp695_ = _ ("Managing proxy support");
3031 _tmp696_ = g_strdup (_tmp695_);
3032 proxy_manager_help_message = _tmp696_;
3033 _tmp697_ = g_strdup ("");
3034 _tmp698_ = g_new0 (gchar*, 1 + 1);
3035 _tmp698_[0] = _tmp697_;
3036 proxy_manager_more = _tmp698_;
3037 proxy_manager_more_length1 = 1;
3038 _proxy_manager_more_size_ = proxy_manager_more_length1;
3039 _tmp699_ = manual_setting_help;
3040 _tmp700_ = g_strdup (_tmp699_);
3041 proxy_manager_more_help_message = _tmp700_;
3042 _tmp701_ = builder;
3043 _tmp702_ = kf;
3044 _tmp703_ = _data4_->dbus_backend;
3045 _tmp704_ = proxy_manager_help_message;
3046 _tmp705_ = proxy_manager_more;
3047 _tmp705__length1 = proxy_manager_more_length1;
3048 _tmp706_ = proxy_manager_more_help_message;
3049 ldefault_apps_init_application (_tmp701_, _tmp702_, _tmp703_, "proxy_manager", "", _tmp704_, _tmp705_, _tmp705__length1, _tmp706_, NULL);
3050 _tmp707_ = _ ("Managing XRandr parameters. Use a command like xrandr --something");
3051 _tmp708_ = g_strdup (_tmp707_);
3052 xrandr_help_message = _tmp708_;
3053 _tmp709_ = g_strdup ("");
3054 _tmp710_ = g_new0 (gchar*, 1 + 1);
3055 _tmp710_[0] = _tmp709_;
3056 xrandr_more = _tmp710_;
3057 xrandr_more_length1 = 1;
3058 _xrandr_more_size_ = xrandr_more_length1;
3059 _tmp711_ = manual_setting_help;
3060 _tmp712_ = g_strdup (_tmp711_);
3061 xrandr_more_help_message = _tmp712_;
3062 _tmp713_ = builder;
3063 _tmp714_ = kf;
3064 _tmp715_ = _data4_->dbus_backend;
3065 _tmp716_ = xrandr_help_message;
3066 _tmp717_ = xrandr_more;
3067 _tmp717__length1 = xrandr_more_length1;
3068 _tmp718_ = xrandr_more_help_message;
3069 ldefault_apps_init_application (_tmp713_, _tmp714_, _tmp715_, "xrandr", "", _tmp716_, _tmp717_, _tmp717__length1, _tmp718_, NULL);
3070 _tmp719_ = (GtkComboBox*) gtk_combo_box_new ();
3071 g_object_ref_sink (_tmp719_);
3072 _data4_->disable_autostart_combobox = _tmp719_;
3073 _tmp720_ = g_strdup ("no");
3074 _tmp721_ = g_strdup ("config-only");
3075 _tmp722_ = g_strdup ("all");
3076 _tmp723_ = g_new0 (gchar*, 3 + 1);
3077 _tmp723_[0] = _tmp720_;
3078 _tmp723_[1] = _tmp721_;
3079 _tmp723_[2] = _tmp722_;
3080 disable_autostart_commands = _tmp723_;
3081 disable_autostart_commands_length1 = 3;
3082 _disable_autostart_commands_size_ = disable_autostart_commands_length1;
3083 _tmp724_ = _data4_->dbus_backend;
3084 _tmp725_ = ldefault_apps_dbus_backend_Get (_tmp724_, "disable_autostart", "");
3085 disable_autostart_default = _tmp725_;
3086 _tmp726_ = builder;
3087 _tmp727_ = disable_autostart_commands;
3088 _tmp727__length1 = disable_autostart_commands_length1;
3089 _tmp728_ = disable_autostart_default;
3090 _tmp729_ = ldefault_apps_ui_combobox_init (_tmp726_, "disable_autostart_combobox", _tmp727_, _tmp727__length1, NULL, _tmp728_);
3091 _g_object_unref0 (_data4_->disable_autostart_combobox);
3092 _data4_->disable_autostart_combobox = _tmp729_;
3093 _tmp730_ = _data4_->dbus_backend;
3094 _tmp731_ = _data4_->disable_autostart_combobox;
3095 _tmp732_ = ldefault_apps_return_combobox_text (_tmp731_);
3096 _tmp733_ = _tmp732_;
3097 ldefault_apps_dbus_backend_Set (_tmp730_, "disable_autostart", "", _tmp733_);
3098 _g_free0 (_tmp733_);
3099 _tmp734_ = builder;
3100 _tmp735_ = gtk_builder_get_object (_tmp734_, "manual_autostart_vbox");
3101 _tmp736_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp735_, GTK_TYPE_VBOX) ? ((GtkVBox*) _tmp735_) : NULL);
3102 _data4_->auto_vbox = _tmp736_;
3103 _tmp737_ = builder;
3104 _tmp738_ = gtk_builder_get_object (_tmp737_, "running_apps_vbox");
3105 _tmp739_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp738_, GTK_TYPE_VBOX) ? ((GtkVBox*) _tmp738_) : NULL);
3106 _data4_->running_apps = _tmp739_;
3107 _tmp740_ = builder;
3108 _tmp741_ = gtk_builder_get_object (_tmp740_, "autostart_known_box");
3109 _tmp742_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp741_, GTK_TYPE_HBOX) ? ((GtkHBox*) _tmp741_) : NULL);
3110 _data4_->known_apps_box = _tmp742_;
3111 _tmp743_ = builder;
3112 _tmp744_ = gtk_builder_get_object (_tmp743_, "autostart_treeview");
3113 _tmp745_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp744_, GTK_TYPE_TREE_VIEW) ? ((GtkTreeView*) _tmp744_) : NULL);
3114 known_apps = _tmp745_;
3115 _tmp746_ = known_apps;
3116 init_list_view (_tmp746_);
3117 _tmp747_ = g_getenv ("XDG_CURRENT_DESKTOP");
3118 load_autostart (_tmp747_);
3119 _tmp748_ = known_apps;
3120 _tmp749_ = get_autostart_list ();
3121 _tmp750_ = _tmp749_;
3122 gtk_tree_view_set_model (_tmp748_, (GtkTreeModel*) _tmp750_);
3123 _g_object_unref0 (_tmp750_);
3124 _tmp751_ = _data4_->disable_autostart_combobox;
3125 g_signal_connect_data (_tmp751_, "changed", (GCallback) ___lambda22__gtk_combo_box_changed, block4_data_ref (_data4_), (GClosureNotify) block4_data_unref, 0);
3126 _tmp752_ = (GtkCheckButton*) gtk_check_button_new_with_label ("Upstart ");
3127 g_object_ref_sink (_tmp752_);
3128 _data4_->upstart_session_checkbutton = _tmp752_;
3129 _tmp753_ = builder;
3130 _tmp754_ = gtk_builder_get_object (_tmp753_, "upstart_session_hbox");
3131 _tmp755_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp754_, GTK_TYPE_HBOX) ? ((GtkHBox*) _tmp754_) : NULL);
3132 upstart_session_hbox = _tmp755_;
3133 _tmp756_ = upstart_session_hbox;
3134 _tmp757_ = _data4_->upstart_session_checkbutton;
3135 gtk_container_add ((GtkContainer*) _tmp756_, (GtkWidget*) _tmp757_);
3136 _tmp758_ = _data4_->dbus_backend;
3137 _tmp759_ = ldefault_apps_dbus_backend_Get (_tmp758_, "upstart_user_session", "");
3138 _tmp760_ = _tmp759_;
3139 _tmp761_ = g_strcmp0 (_tmp760_, "true") == 0;
3140 _g_free0 (_tmp760_);
3141 if (_tmp761_) {
3142 GtkCheckButton* _tmp762_ = NULL;
3143 _tmp762_ = _data4_->upstart_session_checkbutton;
3144 gtk_toggle_button_set_active ((GtkToggleButton*) _tmp762_, TRUE);
3145 } else {
3146 GtkCheckButton* _tmp763_ = NULL;
3147 _tmp763_ = _data4_->upstart_session_checkbutton;
3148 gtk_toggle_button_set_active ((GtkToggleButton*) _tmp763_, FALSE);
3149 }
3150 _tmp764_ = _data4_->upstart_session_checkbutton;
3151 g_signal_connect_data ((GtkToggleButton*) _tmp764_, "toggled", (GCallback) ___lambda23__gtk_toggle_button_toggled, block4_data_ref (_data4_), (GClosureNotify) block4_data_unref, 0);
3152 _tmp765_ = (GtkComboBox*) gtk_combo_box_new ();
3153 g_object_ref_sink (_tmp765_);
3154 _data4_->keymap_mode_combobox = _tmp765_;
3155 _tmp766_ = g_strdup ("");
3156 _tmp767_ = g_strdup ("user");
3157 _tmp768_ = g_new0 (gchar*, 2 + 1);
3158 _tmp768_[0] = _tmp766_;
3159 _tmp768_[1] = _tmp767_;
3160 keymap_mode_commands = _tmp768_;
3161 keymap_mode_commands_length1 = 2;
3162 _keymap_mode_commands_size_ = keymap_mode_commands_length1;
3163 _tmp769_ = _data4_->dbus_backend;
3164 _tmp770_ = ldefault_apps_dbus_backend_KeymapGet (_tmp769_, "mode", NULL);
3165 keymap_mode_default = _tmp770_;
3166 _tmp771_ = builder;
3167 _tmp772_ = keymap_mode_commands;
3168 _tmp772__length1 = keymap_mode_commands_length1;
3169 _tmp773_ = keymap_mode_default;
3170 _tmp774_ = ldefault_apps_ui_combobox_init (_tmp771_, "keymap_mode_combobox", _tmp772_, _tmp772__length1, NULL, _tmp773_);
3171 _g_object_unref0 (_data4_->keymap_mode_combobox);
3172 _data4_->keymap_mode_combobox = _tmp774_;
3173 _tmp775_ = builder;
3174 _tmp776_ = gtk_builder_get_object (_tmp775_, "keymap_model_entry");
3175 _tmp777_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp776_, GTK_TYPE_ENTRY) ? ((GtkEntry*) _tmp776_) : NULL);
3176 _data4_->keymap_model_entry = _tmp777_;
3177 _tmp778_ = _data4_->keymap_model_entry;
3178 _tmp779_ = _data4_->dbus_backend;
3179 _tmp780_ = ldefault_apps_dbus_backend_KeymapGet (_tmp779_, "model", NULL);
3180 _tmp781_ = _tmp780_;
3181 gtk_entry_set_text (_tmp778_, _tmp781_);
3182 _g_free0 (_tmp781_);
3183 _tmp782_ = builder;
3184 _tmp783_ = gtk_builder_get_object (_tmp782_, "keymap_layout_entry");
3185 _tmp784_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp783_, GTK_TYPE_ENTRY) ? ((GtkEntry*) _tmp783_) : NULL);
3186 _data4_->keymap_layout_entry = _tmp784_;
3187 _tmp785_ = _data4_->keymap_layout_entry;
3188 _tmp786_ = _data4_->dbus_backend;
3189 _tmp787_ = ldefault_apps_dbus_backend_KeymapGet (_tmp786_, "layout", NULL);
3190 _tmp788_ = _tmp787_;
3191 gtk_entry_set_text (_tmp785_, _tmp788_);
3192 _g_free0 (_tmp788_);
3193 _tmp789_ = builder;
3194 _tmp790_ = gtk_builder_get_object (_tmp789_, "keymap_variant_entry");
3195 _tmp791_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp790_, GTK_TYPE_ENTRY) ? ((GtkEntry*) _tmp790_) : NULL);
3196 _data4_->keymap_variant_entry = _tmp791_;
3197 _tmp792_ = _data4_->keymap_variant_entry;
3198 _tmp793_ = _data4_->dbus_backend;
3199 _tmp794_ = ldefault_apps_dbus_backend_KeymapGet (_tmp793_, "variant", NULL);
3200 _tmp795_ = _tmp794_;
3201 gtk_entry_set_text (_tmp792_, _tmp795_);
3202 _g_free0 (_tmp795_);
3203 _tmp796_ = builder;
3204 _tmp797_ = gtk_builder_get_object (_tmp796_, "keymap_options_entry");
3205 _tmp798_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp797_, GTK_TYPE_ENTRY) ? ((GtkEntry*) _tmp797_) : NULL);
3206 _data4_->keymap_options_entry = _tmp798_;
3207 _tmp799_ = _data4_->keymap_options_entry;
3208 _tmp800_ = _data4_->dbus_backend;
3209 _tmp801_ = ldefault_apps_dbus_backend_KeymapGet (_tmp800_, "options", NULL);
3210 _tmp802_ = _tmp801_;
3211 gtk_entry_set_text (_tmp799_, _tmp802_);
3212 _g_free0 (_tmp802_);
3213 _tmp803_ = builder;
3214 _tmp804_ = gtk_builder_get_object (_tmp803_, "keymap_apply");
3215 _tmp805_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp804_, GTK_TYPE_BUTTON) ? ((GtkButton*) _tmp804_) : NULL);
3216 keymap_apply_button = _tmp805_;
3217 _tmp806_ = keymap_apply_button;
3218 g_signal_connect_data (_tmp806_, "clicked", (GCallback) ___lambda24__gtk_button_clicked, block4_data_ref (_data4_), (GClosureNotify) block4_data_unref, 0);
3219 _tmp807_ = builder;
3220 _tmp808_ = gtk_builder_get_object (_tmp807_, "keymap_reload");
3221 _tmp809_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp808_, GTK_TYPE_BUTTON) ? ((GtkButton*) _tmp808_) : NULL);
3222 keymap_reload_button = _tmp809_;
3223 _tmp810_ = keymap_reload_button;
3224 g_signal_connect_data (_tmp810_, "clicked", (GCallback) ___lambda25__gtk_button_clicked, block4_data_ref (_data4_), (GClosureNotify) block4_data_unref, 0);
3225 _tmp811_ = (GtkComboBox*) gtk_combo_box_new ();
3226 g_object_ref_sink (_tmp811_);
3227 _data4_->laptop_mode_combobox = _tmp811_;
3228 _tmp812_ = g_strdup ("no");
3229 _tmp813_ = g_strdup ("yes");
3230 _tmp814_ = g_strdup ("unknown");
3231 _tmp815_ = g_new0 (gchar*, 3 + 1);
3232 _tmp815_[0] = _tmp812_;
3233 _tmp815_[1] = _tmp813_;
3234 _tmp815_[2] = _tmp814_;
3235 laptop_mode_commands = _tmp815_;
3236 laptop_mode_commands_length1 = 3;
3237 _laptop_mode_commands_size_ = laptop_mode_commands_length1;
3238 _tmp816_ = _data4_->dbus_backend;
3239 _tmp817_ = ldefault_apps_dbus_backend_StateGet (_tmp816_, "laptop_mode", NULL);
3240 laptop_mode_default = _tmp817_;
3241 _tmp818_ = builder;
3242 _tmp819_ = laptop_mode_commands;
3243 _tmp819__length1 = laptop_mode_commands_length1;
3244 _tmp820_ = laptop_mode_default;
3245 _tmp821_ = ldefault_apps_ui_combobox_init (_tmp818_, "laptop_mode_combobox", _tmp819_, _tmp819__length1, NULL, _tmp820_);
3246 _g_object_unref0 (_data4_->laptop_mode_combobox);
3247 _data4_->laptop_mode_combobox = _tmp821_;
3248 _tmp822_ = _data4_->laptop_mode_combobox;
3249 g_signal_connect_data (_tmp822_, "changed", (GCallback) ___lambda26__gtk_combo_box_changed, block4_data_ref (_data4_), (GClosureNotify) block4_data_unref, 0);
3250 _tmp823_ = (GtkCheckButton*) gtk_check_button_new_with_label ("Gnome");
3251 g_object_ref_sink (_tmp823_);
3252 _data4_->dbus_gnome_checkbutton = _tmp823_;
3253 _tmp824_ = builder;
3254 _tmp825_ = gtk_builder_get_object (_tmp824_, "dbus_vbox");
3255 _tmp826_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp825_, GTK_TYPE_VBOX) ? ((GtkVBox*) _tmp825_) : NULL);
3256 dbus_vbox = _tmp826_;
3257 _tmp827_ = dbus_vbox;
3258 _tmp828_ = _data4_->dbus_gnome_checkbutton;
3259 gtk_container_add ((GtkContainer*) _tmp827_, (GtkWidget*) _tmp828_);
3260 _tmp829_ = _data4_->dbus_backend;
3261 _tmp830_ = ldefault_apps_dbus_backend_DbusGet (_tmp829_, "gnome", NULL);
3262 _tmp831_ = _tmp830_;
3263 _tmp832_ = g_strcmp0 (_tmp831_, "true") == 0;
3264 _g_free0 (_tmp831_);
3265 if (_tmp832_) {
3266 GtkCheckButton* _tmp833_ = NULL;
3267 _tmp833_ = _data4_->dbus_gnome_checkbutton;
3268 gtk_toggle_button_set_active ((GtkToggleButton*) _tmp833_, TRUE);
3269 } else {
3270 GtkCheckButton* _tmp834_ = NULL;
3271 _tmp834_ = _data4_->dbus_gnome_checkbutton;
3272 gtk_toggle_button_set_active ((GtkToggleButton*) _tmp834_, FALSE);
3273 }
3274 _tmp835_ = _data4_->dbus_gnome_checkbutton;
3275 g_signal_connect_data ((GtkToggleButton*) _tmp835_, "toggled", (GCallback) ___lambda27__gtk_toggle_button_toggled, block4_data_ref (_data4_), (GClosureNotify) block4_data_unref, 0);
3276 _tmp836_ = (GtkComboBox*) gtk_combo_box_new ();
3277 g_object_ref_sink (_tmp836_);
3278 _data4_->environment_type_combobox = _tmp836_;
3279 _tmp837_ = g_strdup ("");
3280 _tmp838_ = g_strdup ("lubuntu");
3281 _tmp839_ = g_new0 (gchar*, 2 + 1);
3282 _tmp839_[0] = _tmp837_;
3283 _tmp839_[1] = _tmp838_;
3284 environment_type_commands = _tmp839_;
3285 environment_type_commands_length1 = 2;
3286 _environment_type_commands_size_ = environment_type_commands_length1;
3287 _tmp840_ = _data4_->dbus_backend;
3288 _tmp841_ = ldefault_apps_dbus_backend_EnvironmentGet (_tmp840_, "type", NULL);
3289 environment_type_default = _tmp841_;
3290 _tmp842_ = builder;
3291 _tmp843_ = ldefault_apps_ui_combobox_init (_tmp842_, "environment_type_combobox", environment_type_commands, environment_type_commands_length1, NULL, environment_type_default);
3292 _g_object_unref0 (_data4_->environment_type_combobox);
3293 _data4_->environment_type_combobox = _tmp843_;
3294 _tmp844_ = _data4_->environment_type_combobox;
3295 g_signal_connect_data (_tmp844_, "changed", (GCallback) ___lambda28__gtk_combo_box_changed, block4_data_ref (_data4_), (GClosureNotify) block4_data_unref, 0);
3296 _tmp845_ = builder;
3297 _tmp846_ = gtk_builder_get_object (_tmp845_, "environment_menu_prefix_entry");
3298 _tmp847_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp846_, GTK_TYPE_ENTRY) ? ((GtkEntry*) _tmp846_) : NULL);
3299 _data4_->enviroment_menu_prefix_entry = _tmp847_;
3300 _tmp848_ = _data4_->dbus_backend;
3301 _tmp849_ = ldefault_apps_dbus_backend_EnvironmentGet (_tmp848_, "menu_prefix", NULL);
3302 _tmp850_ = _tmp849_;
3303 gtk_entry_set_text (_data4_->enviroment_menu_prefix_entry, _tmp850_);
3304 _g_free0 (_tmp850_);
3305 _tmp851_ = builder;
3306 _tmp852_ = gtk_builder_get_object (_tmp851_, "env_apply");
3307 _tmp853_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp852_, GTK_TYPE_BUTTON) ? ((GtkButton*) _tmp852_) : NULL);
3308 env_apply_button = _tmp853_;
3309 g_signal_connect_data (env_apply_button, "clicked", (GCallback) ___lambda29__gtk_button_clicked, block4_data_ref (_data4_), (GClosureNotify) block4_data_unref, 0);
3310 _g_object_unref0 (env_apply_button);
3311 _g_free0 (environment_type_default);
3312 environment_type_commands = (_vala_array_free (environment_type_commands, environment_type_commands_length1, (GDestroyNotify) g_free), NULL);
3313 _g_object_unref0 (dbus_vbox);
3314 _g_free0 (laptop_mode_default);
3315 laptop_mode_commands = (_vala_array_free (laptop_mode_commands, laptop_mode_commands_length1, (GDestroyNotify) g_free), NULL);
3316 _g_object_unref0 (keymap_reload_button);
3317 _g_object_unref0 (keymap_apply_button);
3318 _g_free0 (keymap_mode_default);
3319 keymap_mode_commands = (_vala_array_free (keymap_mode_commands, keymap_mode_commands_length1, (GDestroyNotify) g_free), NULL);
3320 _g_object_unref0 (upstart_session_hbox);
3321 _g_object_unref0 (known_apps);
3322 _g_free0 (disable_autostart_default);
3323 disable_autostart_commands = (_vala_array_free (disable_autostart_commands, disable_autostart_commands_length1, (GDestroyNotify) g_free), NULL);
3324 _g_free0 (xrandr_more_help_message);
3325 xrandr_more = (_vala_array_free (xrandr_more, xrandr_more_length1, (GDestroyNotify) g_free), NULL);
3326 _g_free0 (xrandr_help_message);
3327 _g_free0 (proxy_manager_more_help_message);
3328 proxy_manager_more = (_vala_array_free (proxy_manager_more, proxy_manager_more_length1, (GDestroyNotify) g_free), NULL);
3329 _g_free0 (proxy_manager_help_message);
3330 _g_free0 (a11y_more_help_message);
3331 a11y_more = (_vala_array_free (a11y_more, a11y_more_length1, (GDestroyNotify) g_free), NULL);
3332 _g_free0 (a11y_help_message);
3333 _g_free0 (security_more_help_message);
3334 security_more = (_vala_array_free (security_more, security_more_length1, (GDestroyNotify) g_free), NULL);
3335 _g_free0 (security_help_message);
3336 _g_free0 (clipboard_more_help_message);
3337 clipboard_more = (_vala_array_free (clipboard_more, clipboard_more_length1, (GDestroyNotify) g_free), NULL);
3338 _g_free0 (clipboard_help_message);
3339 _g_free0 (upgrade_manager_more_help_message);
3340 upgrade_manager_more = (_vala_array_free (upgrade_manager_more, upgrade_manager_more_length1, (GDestroyNotify) g_free), NULL);
3341 _g_free0 (upgrade_manager_help_message);
3342 _g_free0 (quit_manager_more_help_message);
3343 quit_manager_more = (_vala_array_free (quit_manager_more, quit_manager_more_length1, (GDestroyNotify) g_free), NULL);
3344 _g_free0 (quit_manager_help_message);
3345 _g_free0 (workspace_manager_more_help_message);
3346 workspace_manager_more = (_vala_array_free (workspace_manager_more, workspace_manager_more_length1, (GDestroyNotify) g_free), NULL);
3347 _g_free0 (workspace_manager_help_message);
3348 _g_free0 (audio_manager_more_help_message);
3349 audio_manager_more = (_vala_array_free (audio_manager_more, audio_manager_more_length1, (GDestroyNotify) g_free), NULL);
3350 _g_free0 (audio_manager_help_message);
3351 _g_free0 (lock_manager_more_help_message);
3352 lock_manager_more = (_vala_array_free (lock_manager_more, lock_manager_more_length1, (GDestroyNotify) g_free), NULL);
3353 _g_free0 (lock_manager_help_message);
3354 _g_free0 (tasks_more_help_message);
3355 tasks_more = (_vala_array_free (tasks_more, tasks_more_length1, (GDestroyNotify) g_free), NULL);
3356 _g_free0 (tasks_help_message);
3357 _g_free0 (disk_utility_more_help_message);
3358 disk_utility_more = (_vala_array_free (disk_utility_more, disk_utility_more_length1, (GDestroyNotify) g_free), NULL);
3359 _g_free0 (disk_utility_help_message);
3360 _g_free0 (notes_more_help_message);
3361 notes_more = (_vala_array_free (notes_more, notes_more_length1, (GDestroyNotify) g_free), NULL);
3362 _g_free0 (notes_help_message);
3363 _g_free0 (burn_more_help_message);
3364 burn_more = (_vala_array_free (burn_more, burn_more_length1, (GDestroyNotify) g_free), NULL);
3365 _g_free0 (burn_help_message);
3366 _g_free0 (webcam_more_help_message);
3367 webcam_more = (_vala_array_free (webcam_more, webcam_more_length1, (GDestroyNotify) g_free), NULL);
3368 _g_free0 (webcam_help_message);
3369 _g_free0 (document_more_help_message);
3370 document_more = (_vala_array_free (document_more, document_more_length1, (GDestroyNotify) g_free), NULL);
3371 _g_free0 (document_help_message);
3372 _g_free0 (bittorent_more_help_message);
3373 bittorent_more = (_vala_array_free (bittorent_more, bittorent_more_length1, (GDestroyNotify) g_free), NULL);
3374 _g_free0 (bittorent_help_message);
3375 _g_free0 (spreadsheet_more_help_message);
3376 spreadsheet_more = (_vala_array_free (spreadsheet_more, spreadsheet_more_length1, (GDestroyNotify) g_free), NULL);
3377 _g_free0 (spreadsheet_help_message);
3378 _g_free0 (calculator_more_help_message);
3379 calculator_more = (_vala_array_free (calculator_more, calculator_more_length1, (GDestroyNotify) g_free), NULL);
3380 _g_free0 (calculator_help_message);
3381 _g_free0 (charmap_more_help_message);
3382 charmap_more = (_vala_array_free (charmap_more, charmap_more_length1, (GDestroyNotify) g_free), NULL);
3383 _g_free0 (charmap_help_message);
3384 _g_free0 (archive_more_help_message);
3385 archive_more = (_vala_array_free (archive_more, archive_more_length1, (GDestroyNotify) g_free), NULL);
3386 _g_free0 (archive_help_message);
3387 _g_free0 (text_editor_more_help_message);
3388 text_editor_more = (_vala_array_free (text_editor_more, text_editor_more_length1, (GDestroyNotify) g_free), NULL);
3389 _g_free0 (text_editor_help_message);
3390 _g_free0 (image_display_more_help_message);
3391 image_display_more = (_vala_array_free (image_display_more, image_display_more_length1, (GDestroyNotify) g_free), NULL);
3392 _g_free0 (image_display_help_message);
3393 _g_free0 (audio_player_more_help_message);
3394 audio_player_more = (_vala_array_free (audio_player_more, audio_player_more_length1, (GDestroyNotify) g_free), NULL);
3395 _g_free0 (audio_player_help_message);
3396 _g_free0 (video_player_more_help_message);
3397 video_player_more = (_vala_array_free (video_player_more, video_player_more_length1, (GDestroyNotify) g_free), NULL);
3398 _g_free0 (video_player_help_message);
3399 _g_free0 (pdf_reader_more_help_message);
3400 pdf_reader_more = (_vala_array_free (pdf_reader_more, pdf_reader_more_length1, (GDestroyNotify) g_free), NULL);
3401 _g_free0 (pdf_reader_help_message);
3402 _g_free0 (screenshot_manager_more_help_message);
3403 screenshot_manager_more = (_vala_array_free (screenshot_manager_more, screenshot_manager_more_length1, (GDestroyNotify) g_free), NULL);
3404 _g_free0 (screenshot_manager_help_message);
3405 _g_free0 (launcher_manager_more_help_message);
3406 launcher_manager_more = (_vala_array_free (launcher_manager_more, launcher_manager_more_length1, (GDestroyNotify) g_free), NULL);
3407 _g_free0 (launcher_manager_help_message);
3408 _g_free0 (widget_more_help_message);
3409 widget_more = (_vala_array_free (widget_more, widget_more_length1, (GDestroyNotify) g_free), NULL);
3410 _g_free0 (widget_help_message);
3411 _g_free0 (email_more_help_message);
3412 email_more = (_vala_array_free (email_more, email_more_length1, (GDestroyNotify) g_free), NULL);
3413 _g_free0 (email_help_message);
3414 _g_free0 (webbrowser_more_help_message);
3415 webbrowser_more = (_vala_array_free (webbrowser_more, webbrowser_more_length1, (GDestroyNotify) g_free), NULL);
3416 _g_free0 (webbrowser_help_message);
3417 _g_free0 (terminal_manager_more_help_message);
3418 terminal_manager_more = (_vala_array_free (terminal_manager_more, terminal_manager_more_length1, (GDestroyNotify) g_free), NULL);
3419 _g_free0 (terminal_manager_help_message);
3420 _g_free0 (im2_more_help_message);
3421 im2_more = (_vala_array_free (im2_more, im2_more_length1, (GDestroyNotify) g_free), NULL);
3422 _g_free0 (im2_help_message);
3423 _g_free0 (im1_more_help_message);
3424 im1_more = (_vala_array_free (im1_more, im1_more_length1, (GDestroyNotify) g_free), NULL);
3425 _g_free0 (im1_help_message);
3426 _g_free0 (network_gui_more_help_message);
3427 network_gui_more = (_vala_array_free (network_gui_more, network_gui_more_length1, (GDestroyNotify) g_free), NULL);
3428 _g_free0 (network_gui_help_message);
3429 _g_free0 (polkit_more_help_message);
3430 polkit_more = (_vala_array_free (polkit_more, polkit_more_length1, (GDestroyNotify) g_free), NULL);
3431 _g_free0 (polkit_help_message);
3432 _g_free0 (power_manager_more_help_message);
3433 power_manager_more = (_vala_array_free (power_manager_more, power_manager_more_length1, (GDestroyNotify) g_free), NULL);
3434 _g_free0 (power_manager_help_message);
3435 _g_free0 (screensaver_more_help_message);
3436 screensaver_more = (_vala_array_free (screensaver_more, screensaver_more_length1, (GDestroyNotify) g_free), NULL);
3437 _g_free0 (screensaver_help_message);
3438 _g_free0 (desktop_manager_more_help_message);
3439 desktop_manager_more = (_vala_array_free (desktop_manager_more, desktop_manager_more_length1, (GDestroyNotify) g_free), NULL);
3440 _g_free0 (desktop_manager_help_message);
3441 _g_free0 (composite_manager_more_help_message);
3442 composite_manager_more = (_vala_array_free (composite_manager_more, composite_manager_more_length1, (GDestroyNotify) g_free), NULL);
3443 _g_free0 (composite_manager_help_message);
3444 _g_free0 (file_manager_more_help_message);
3445 file_manager_more = (_vala_array_free (file_manager_more, file_manager_more_length1, (GDestroyNotify) g_free), NULL);
3446 _g_free0 (file_manager_help_message);
3447 _g_free0 (dock_more_help_message);
3448 dock_more = (_vala_array_free (dock_more, dock_more_length1, (GDestroyNotify) g_free), NULL);
3449 _g_free0 (dock_help_message);
3450 _g_free0 (panel_more_help_message);
3451 panel_more = (_vala_array_free (panel_more, panel_more_length1, (GDestroyNotify) g_free), NULL);
3452 _g_free0 (panel_help_message);
3453 _g_free0 (windows_manager_more_help_message);
3454 windows_manager_more = (_vala_array_free (windows_manager_more, windows_manager_more_length1, (GDestroyNotify) g_free), NULL);
3455 _g_free0 (windows_manager_help_message);
3456 _g_free0 (debian_default_help);
3457 _g_free0 (autostart_help);
3458 _g_free0 (handle_desktop_help);
3459 _g_free0 (mime_available_help);
3460 _g_free0 (mime_association_help);
3461 _g_free0 (extra_string_help);
3462 _g_free0 (session_string_help);
3463 _g_free0 (manual_setting_help);
3464 _g_object_unref0 (main_vbox);
3465 _g_object_unref0 (builder);
3466 block4_data_unref (_data4_);
3467 _data4_ = NULL;
3468 return self;
3469 }
3470
3471
ldefault_apps_main_windows_new(GKeyFile * kf)3472 LDefaultAppsMainWindows* ldefault_apps_main_windows_new (GKeyFile* kf) {
3473 return ldefault_apps_main_windows_construct (LDEFAULT_APPS_TYPE_MAIN_WINDOWS, kf);
3474 }
3475
3476
ldefault_apps_main_windows_class_init(LDefaultAppsMainWindowsClass * klass)3477 static void ldefault_apps_main_windows_class_init (LDefaultAppsMainWindowsClass * klass) {
3478 ldefault_apps_main_windows_parent_class = g_type_class_peek_parent (klass);
3479 }
3480
3481
ldefault_apps_main_windows_instance_init(LDefaultAppsMainWindows * self)3482 static void ldefault_apps_main_windows_instance_init (LDefaultAppsMainWindows * self) {
3483 }
3484
3485
ldefault_apps_main_windows_get_type(void)3486 GType ldefault_apps_main_windows_get_type (void) {
3487 static volatile gsize ldefault_apps_main_windows_type_id__volatile = 0;
3488 if (g_once_init_enter (&ldefault_apps_main_windows_type_id__volatile)) {
3489 static const GTypeInfo g_define_type_info = { sizeof (LDefaultAppsMainWindowsClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) ldefault_apps_main_windows_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (LDefaultAppsMainWindows), 0, (GInstanceInitFunc) ldefault_apps_main_windows_instance_init, NULL };
3490 GType ldefault_apps_main_windows_type_id;
3491 ldefault_apps_main_windows_type_id = g_type_register_static (GTK_TYPE_WINDOW, "LDefaultAppsMainWindows", &g_define_type_info, 0);
3492 g_once_init_leave (&ldefault_apps_main_windows_type_id__volatile, ldefault_apps_main_windows_type_id);
3493 }
3494 return ldefault_apps_main_windows_type_id__volatile;
3495 }
3496
3497
ldefault_apps_main(gchar ** args,int args_length1)3498 gint ldefault_apps_main (gchar** args, int args_length1) {
3499 gint result = 0;
3500 gchar* log_directory = NULL;
3501 const gchar* _tmp0_ = NULL;
3502 gchar* _tmp1_ = NULL;
3503 GFile* dir_log = NULL;
3504 const gchar* _tmp2_ = NULL;
3505 GFile* _tmp3_ = NULL;
3506 gchar* log_path = NULL;
3507 const gchar* _tmp4_ = NULL;
3508 gchar* _tmp5_ = NULL;
3509 const gchar* _tmp6_ = NULL;
3510 const gchar* _tmp7_ = NULL;
3511 GFile* _tmp8_ = NULL;
3512 gboolean _tmp9_ = FALSE;
3513 gint fint = 0;
3514 const gchar* _tmp15_ = NULL;
3515 gint _tmp16_ = 0;
3516 LDefaultAppsUpdateWindows* app = NULL;
3517 LDefaultAppsUpdateWindows* _tmp17_ = NULL;
3518 GError * _inner_error_ = NULL;
3519 textdomain (GETTEXT_PACKAGE);
3520 bind_textdomain_codeset (GETTEXT_PACKAGE, "utf-8");
3521 gtk_init (&args_length1, &args);
3522 _tmp0_ = g_get_user_cache_dir ();
3523 _tmp1_ = g_build_filename (_tmp0_, "lxsession-default-apps", NULL);
3524 log_directory = _tmp1_;
3525 _tmp2_ = log_directory;
3526 _tmp3_ = g_file_new_for_path (_tmp2_);
3527 dir_log = _tmp3_;
3528 _tmp4_ = log_directory;
3529 _tmp5_ = g_build_filename (_tmp4_, "run.log", NULL);
3530 log_path = _tmp5_;
3531 _tmp6_ = log_directory;
3532 g_message ("main.vala:592: log directory: %s", _tmp6_);
3533 _tmp7_ = log_path;
3534 g_message ("main.vala:593: log path: %s", _tmp7_);
3535 _tmp8_ = dir_log;
3536 _tmp9_ = g_file_query_exists (_tmp8_, NULL);
3537 if (!_tmp9_) {
3538 {
3539 GFile* _tmp10_ = NULL;
3540 _tmp10_ = dir_log;
3541 g_file_make_directory_with_parents (_tmp10_, NULL, &_inner_error_);
3542 if (G_UNLIKELY (_inner_error_ != NULL)) {
3543 goto __catch9_g_error;
3544 }
3545 }
3546 goto __finally9;
3547 __catch9_g_error:
3548 {
3549 GError* e = NULL;
3550 FILE* _tmp11_ = NULL;
3551 GError* _tmp12_ = NULL;
3552 const gchar* _tmp13_ = NULL;
3553 e = _inner_error_;
3554 _inner_error_ = NULL;
3555 _tmp11_ = stderr;
3556 _tmp12_ = e;
3557 _tmp13_ = _tmp12_->message;
3558 fprintf (_tmp11_, "Could not write log: %s\n", _tmp13_);
3559 _g_error_free0 (e);
3560 }
3561 __finally9:
3562 if (G_UNLIKELY (_inner_error_ != NULL)) {
3563 gint _tmp14_ = 0;
3564 _g_free0 (log_path);
3565 _g_object_unref0 (dir_log);
3566 _g_free0 (log_directory);
3567 g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
3568 g_clear_error (&_inner_error_);
3569 return _tmp14_;
3570 }
3571 }
3572 _tmp15_ = log_path;
3573 _tmp16_ = open (_tmp15_, (O_WRONLY | O_CREAT) | O_TRUNC, (mode_t) 0600);
3574 fint = _tmp16_;
3575 dup2 (fint, STDOUT_FILENO);
3576 dup2 (fint, STDERR_FILENO);
3577 close (fint);
3578 _tmp17_ = ldefault_apps_update_windows_new ();
3579 g_object_ref_sink (_tmp17_);
3580 app = _tmp17_;
3581 gtk_widget_show_all ((GtkWidget*) app);
3582 gtk_main ();
3583 result = 0;
3584 _g_object_unref0 (app);
3585 _g_free0 (log_path);
3586 _g_object_unref0 (dir_log);
3587 _g_free0 (log_directory);
3588 return result;
3589 }
3590
3591
main(int argc,char ** argv)3592 int main (int argc, char ** argv) {
3593 #if !GLIB_CHECK_VERSION (2,35,0)
3594 g_type_init ();
3595 #endif
3596 return ldefault_apps_main (argv, argc);
3597 }
3598
3599
_vala_array_destroy(gpointer array,gint array_length,GDestroyNotify destroy_func)3600 static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func) {
3601 if ((array != NULL) && (destroy_func != NULL)) {
3602 int i;
3603 for (i = 0; i < array_length; i = i + 1) {
3604 if (((gpointer*) array)[i] != NULL) {
3605 destroy_func (((gpointer*) array)[i]);
3606 }
3607 }
3608 }
3609 }
3610
3611
_vala_array_free(gpointer array,gint array_length,GDestroyNotify destroy_func)3612 static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func) {
3613 _vala_array_destroy (array, array_length, destroy_func);
3614 g_free (array);
3615 }
3616
3617
_vala_array_length(gpointer array)3618 static gint _vala_array_length (gpointer array) {
3619 int length;
3620 length = 0;
3621 if (array) {
3622 while (((gpointer*) array)[length]) {
3623 length++;
3624 }
3625 }
3626 return length;
3627 }
3628
3629
3630
3631