~ubuntu-branches/ubuntu/trusty/d-conf/trusty-proposed

« back to all changes in this revision

Viewing changes to editor/dconf-editor.c

  • Committer: Package Import Robot
  • Author(s): Andreas Henriksson, Jackson Doak
  • Date: 2014-03-24 21:08:24 UTC
  • mfrom: (1.1.34) (6.2.7 experimental)
  • Revision ID: package-import@ubuntu.com-20140324210824-7ptw8y51yr0z7qpf
Tags: 0.20.0-1
[ Jackson Doak ]
* New upstream release
* Bump valac build-depend to 0.18.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* dconf-editor.c generated by valac 0.23.3, the Vala compiler
 
1
/* dconf-editor.c generated by valac 0.18.1, the Vala compiler
2
2
 * generated from dconf-editor.vala, do not modify */
3
3
 
4
4
 
295
295
static void _configuration_editor_key_selected_cb_gtk_tree_selection_changed (GtkTreeSelection* _sender, gpointer self);
296
296
static void configuration_editor_set_default_cb (ConfigurationEditor* self, GtkAction* action);
297
297
static void _configuration_editor_set_default_cb_gtk_action_activate (GtkAction* _sender, gpointer self);
298
 
static gboolean __lambda3_ (ConfigurationEditor* self, GdkEventKey* event);
299
 
static gboolean ___lambda3__gtk_widget_key_press_event (GtkWidget* _sender, GdkEventKey* event, gpointer self);
 
298
static gboolean __lambda2_ (ConfigurationEditor* self, GdkEventKey* event);
 
299
static gboolean ___lambda2__gtk_widget_key_press_event (GtkWidget* _sender, GdkEventKey* event, gpointer self);
300
300
static void configuration_editor_find_next_cb (ConfigurationEditor* self);
301
301
static void _configuration_editor_find_next_cb_gtk_entry_activate (GtkEntry* _sender, gpointer self);
302
 
static void __lambda4_ (ConfigurationEditor* self);
303
 
static void ___lambda4__gtk_button_clicked (GtkButton* _sender, gpointer self);
 
302
static void __lambda3_ (ConfigurationEditor* self);
 
303
static void ___lambda3__gtk_button_clicked (GtkButton* _sender, gpointer self);
304
304
static void _configuration_editor_find_next_cb_gtk_button_clicked (GtkButton* _sender, gpointer self);
305
305
static void configuration_editor_real_activate (GApplication* base);
306
306
static void configuration_editor_real_shutdown (GApplication* base);
362
362
static const GActionEntry CONFIGURATION_EDITOR_action_entries[3] = {{"find", _configuration_editor_find_cb_gsimple_action_activate_callback}, {"about", _configuration_editor_about_cb_gsimple_action_activate_callback}, {"quit", _configuration_editor_quit_cb_gsimple_action_activate_callback}};
363
363
 
364
364
static void _configuration_editor_find_cb_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
365
 
        configuration_editor_find_cb ((ConfigurationEditor*) self);
 
365
        configuration_editor_find_cb (self);
366
366
}
367
367
 
368
368
 
369
369
static void _configuration_editor_about_cb_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
370
 
        configuration_editor_about_cb ((ConfigurationEditor*) self);
 
370
        configuration_editor_about_cb (self);
371
371
}
372
372
 
373
373
 
374
374
static void _configuration_editor_quit_cb_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
375
 
        configuration_editor_quit_cb ((ConfigurationEditor*) self);
 
375
        configuration_editor_quit_cb (self);
376
376
}
377
377
 
378
378
 
390
390
 
391
391
static gboolean _configuration_editor_main_window_window_state_event_cb_gtk_widget_window_state_event (GtkWidget* _sender, GdkEventWindowState* event, gpointer self) {
392
392
        gboolean result;
393
 
        result = configuration_editor_main_window_window_state_event_cb ((ConfigurationEditor*) self, _sender, event);
 
393
        result = configuration_editor_main_window_window_state_event_cb (self, _sender, event);
394
394
        return result;
395
395
}
396
396
 
397
397
 
398
398
static gboolean _configuration_editor_main_window_configure_event_cb_gtk_widget_configure_event (GtkWidget* _sender, GdkEventConfigure* event, gpointer self) {
399
399
        gboolean result;
400
 
        result = configuration_editor_main_window_configure_event_cb ((ConfigurationEditor*) self, _sender, event);
 
400
        result = configuration_editor_main_window_configure_event_cb (self, _sender, event);
401
401
        return result;
402
402
}
403
403
 
404
404
 
405
405
static void _configuration_editor_dir_selected_cb_gtk_tree_selection_changed (GtkTreeSelection* _sender, gpointer self) {
406
 
        configuration_editor_dir_selected_cb ((ConfigurationEditor*) self);
 
406
        configuration_editor_dir_selected_cb (self);
407
407
}
408
408
 
409
409
 
413
413
 
414
414
 
415
415
static void _configuration_editor_key_selected_cb_gtk_tree_selection_changed (GtkTreeSelection* _sender, gpointer self) {
416
 
        configuration_editor_key_selected_cb ((ConfigurationEditor*) self);
 
416
        configuration_editor_key_selected_cb (self);
417
417
}
418
418
 
419
419
 
420
420
static void _configuration_editor_set_default_cb_gtk_action_activate (GtkAction* _sender, gpointer self) {
421
 
        configuration_editor_set_default_cb ((ConfigurationEditor*) self, _sender);
 
421
        configuration_editor_set_default_cb (self, _sender);
422
422
}
423
423
 
424
424
 
425
 
static gboolean __lambda3_ (ConfigurationEditor* self, GdkEventKey* event) {
 
425
static gboolean __lambda2_ (ConfigurationEditor* self, GdkEventKey* event) {
426
426
        gboolean result = FALSE;
427
 
        GdkEventKey* _tmp0_ = NULL;
428
 
        guint _tmp1_ = 0U;
 
427
        GdkEventKey _tmp0_;
 
428
        guint _tmp1_;
429
429
        g_return_val_if_fail (event != NULL, FALSE);
430
 
        _tmp0_ = event;
431
 
        _tmp1_ = _tmp0_->keyval;
 
430
        _tmp0_ = *event;
 
431
        _tmp1_ = _tmp0_.keyval;
432
432
        if (_tmp1_ == ((guint) GDK_KEY_Escape)) {
433
 
                GtkBox* _tmp2_ = NULL;
 
433
                GtkBox* _tmp2_;
434
434
                _tmp2_ = self->priv->search_box;
435
435
                gtk_widget_hide ((GtkWidget*) _tmp2_);
436
436
                result = TRUE;
441
441
}
442
442
 
443
443
 
444
 
static gboolean ___lambda3__gtk_widget_key_press_event (GtkWidget* _sender, GdkEventKey* event, gpointer self) {
 
444
static gboolean ___lambda2__gtk_widget_key_press_event (GtkWidget* _sender, GdkEventKey* event, gpointer self) {
445
445
        gboolean result;
446
 
        result = __lambda3_ ((ConfigurationEditor*) self, event);
 
446
        result = __lambda2_ (self, event);
447
447
        return result;
448
448
}
449
449
 
450
450
 
451
451
static void _configuration_editor_find_next_cb_gtk_entry_activate (GtkEntry* _sender, gpointer self) {
452
 
        configuration_editor_find_next_cb ((ConfigurationEditor*) self);
 
452
        configuration_editor_find_next_cb (self);
453
453
}
454
454
 
455
455
 
456
 
static void __lambda4_ (ConfigurationEditor* self) {
457
 
        GtkBox* _tmp0_ = NULL;
 
456
static void __lambda3_ (ConfigurationEditor* self) {
 
457
        GtkBox* _tmp0_;
458
458
        _tmp0_ = self->priv->search_box;
459
459
        gtk_widget_hide ((GtkWidget*) _tmp0_);
460
460
}
461
461
 
462
462
 
463
 
static void ___lambda4__gtk_button_clicked (GtkButton* _sender, gpointer self) {
464
 
        __lambda4_ ((ConfigurationEditor*) self);
 
463
static void ___lambda3__gtk_button_clicked (GtkButton* _sender, gpointer self) {
 
464
        __lambda3_ (self);
465
465
}
466
466
 
467
467
 
468
468
static void _configuration_editor_find_next_cb_gtk_button_clicked (GtkButton* _sender, gpointer self) {
469
 
        configuration_editor_find_next_cb ((ConfigurationEditor*) self);
 
469
        configuration_editor_find_next_cb (self);
470
470
}
471
471
 
472
472
 
473
473
static void configuration_editor_real_startup (GApplication* base) {
474
474
        ConfigurationEditor * self;
475
475
        const gchar* _tmp0_ = NULL;
476
 
        GSettings* _tmp1_ = NULL;
477
 
        SettingsModel* _tmp2_ = NULL;
478
 
        GtkBuilder* _tmp3_ = NULL;
479
 
        GtkApplicationWindow* _tmp6_ = NULL;
480
 
        GtkApplicationWindow* _tmp7_ = NULL;
481
 
        GtkApplicationWindow* _tmp8_ = NULL;
 
476
        GSettings* _tmp1_;
 
477
        SettingsModel* _tmp2_;
 
478
        GtkBuilder* _tmp3_;
 
479
        GtkApplicationWindow* _tmp6_;
 
480
        GtkApplicationWindow* _tmp7_;
 
481
        GtkApplicationWindow* _tmp8_;
482
482
        const gchar* _tmp9_ = NULL;
483
 
        GtkApplicationWindow* _tmp10_ = NULL;
484
 
        GtkApplicationWindow* _tmp11_ = NULL;
485
 
        GtkApplicationWindow* _tmp12_ = NULL;
486
 
        GtkBuilder* _tmp13_ = NULL;
 
483
        GtkApplicationWindow* _tmp10_;
 
484
        GtkApplicationWindow* _tmp11_;
 
485
        GtkApplicationWindow* _tmp12_;
 
486
        GtkBuilder* _tmp13_;
487
487
        GObject* _tmp14_ = NULL;
488
 
        GtkBuilder* menu_ui = NULL;
489
 
        GtkBuilder* _tmp15_ = NULL;
 
488
        GtkBuilder* _tmp15_;
 
489
        GtkBuilder* menu_ui;
490
490
        GObject* _tmp17_ = NULL;
491
 
        GtkApplicationWindow* _tmp18_ = NULL;
492
 
        GSettings* _tmp19_ = NULL;
 
491
        GtkApplicationWindow* _tmp18_;
 
492
        GSettings* _tmp19_;
493
493
        gint _tmp20_ = 0;
494
 
        GSettings* _tmp21_ = NULL;
 
494
        GSettings* _tmp21_;
495
495
        gint _tmp22_ = 0;
496
 
        GSettings* _tmp23_ = NULL;
 
496
        GSettings* _tmp23_;
497
497
        gboolean _tmp24_ = FALSE;
498
 
        DConfDirView* _tmp29_ = NULL;
499
 
        GtkTreeView* _tmp30_ = NULL;
500
 
        SettingsModel* _tmp31_ = NULL;
501
 
        GtkTreeView* _tmp32_ = NULL;
 
498
        DConfDirView* _tmp29_;
 
499
        GtkTreeView* _tmp30_;
 
500
        SettingsModel* _tmp31_;
 
501
        GtkTreeView* _tmp32_;
502
502
        GtkTreeSelection* _tmp33_ = NULL;
503
 
        GtkTreeView* _tmp34_ = NULL;
504
 
        GtkScrolledWindow* scroll = NULL;
505
 
        GtkBuilder* _tmp35_ = NULL;
 
503
        GtkTreeView* _tmp34_;
 
504
        GtkBuilder* _tmp35_;
506
505
        GObject* _tmp36_ = NULL;
507
 
        GtkScrolledWindow* _tmp37_ = NULL;
508
 
        GtkScrolledWindow* _tmp38_ = NULL;
509
 
        GtkTreeView* _tmp39_ = NULL;
510
 
        DConfKeyView* _tmp40_ = NULL;
511
 
        GtkTreeView* _tmp41_ = NULL;
512
 
        GtkTreeView* _tmp42_ = NULL;
 
506
        GtkScrolledWindow* _tmp37_;
 
507
        GtkScrolledWindow* scroll;
 
508
        GtkScrolledWindow* _tmp38_;
 
509
        GtkTreeView* _tmp39_;
 
510
        DConfKeyView* _tmp40_;
 
511
        GtkTreeView* _tmp41_;
 
512
        GtkTreeView* _tmp42_;
513
513
        GtkTreeSelection* _tmp43_ = NULL;
514
 
        GtkBuilder* _tmp44_ = NULL;
 
514
        GtkBuilder* _tmp44_;
515
515
        GObject* _tmp45_ = NULL;
516
 
        GtkScrolledWindow* _tmp46_ = NULL;
517
 
        GtkScrolledWindow* _tmp47_ = NULL;
518
 
        GtkTreeView* _tmp48_ = NULL;
519
 
        GtkBuilder* _tmp49_ = NULL;
 
516
        GtkScrolledWindow* _tmp46_;
 
517
        GtkScrolledWindow* _tmp47_;
 
518
        GtkTreeView* _tmp48_;
 
519
        GtkBuilder* _tmp49_;
520
520
        GObject* _tmp50_ = NULL;
521
 
        GtkGrid* _tmp51_ = NULL;
522
 
        GtkBuilder* _tmp52_ = NULL;
 
521
        GtkGrid* _tmp51_;
 
522
        GtkBuilder* _tmp52_;
523
523
        GObject* _tmp53_ = NULL;
524
 
        GtkLabel* _tmp54_ = NULL;
525
 
        GtkBuilder* _tmp55_ = NULL;
 
524
        GtkLabel* _tmp54_;
 
525
        GtkBuilder* _tmp55_;
526
526
        GObject* _tmp56_ = NULL;
527
 
        GtkLabel* _tmp57_ = NULL;
528
 
        GtkBuilder* _tmp58_ = NULL;
 
527
        GtkLabel* _tmp57_;
 
528
        GtkBuilder* _tmp58_;
529
529
        GObject* _tmp59_ = NULL;
530
 
        GtkLabel* _tmp60_ = NULL;
531
 
        GtkBuilder* _tmp61_ = NULL;
 
530
        GtkLabel* _tmp60_;
 
531
        GtkBuilder* _tmp61_;
532
532
        GObject* _tmp62_ = NULL;
533
 
        GtkLabel* _tmp63_ = NULL;
534
 
        GtkBuilder* _tmp64_ = NULL;
 
533
        GtkLabel* _tmp63_;
 
534
        GtkBuilder* _tmp64_;
535
535
        GObject* _tmp65_ = NULL;
536
 
        GtkLabel* _tmp66_ = NULL;
537
 
        GtkBuilder* _tmp67_ = NULL;
 
536
        GtkLabel* _tmp66_;
 
537
        GtkBuilder* _tmp67_;
538
538
        GObject* _tmp68_ = NULL;
539
 
        GtkAction* _tmp69_ = NULL;
540
 
        GtkAction* _tmp70_ = NULL;
541
 
        GtkBuilder* _tmp71_ = NULL;
 
539
        GtkAction* _tmp69_;
 
540
        GtkAction* _tmp70_;
 
541
        GtkBuilder* _tmp71_;
542
542
        GObject* _tmp72_ = NULL;
543
 
        GtkBox* _tmp73_ = NULL;
544
 
        GtkBox* _tmp74_ = NULL;
545
 
        GtkBuilder* _tmp75_ = NULL;
 
543
        GtkBox* _tmp73_;
 
544
        GtkBox* _tmp74_;
 
545
        GtkBuilder* _tmp75_;
546
546
        GObject* _tmp76_ = NULL;
547
 
        GtkEntry* _tmp77_ = NULL;
548
 
        GtkBuilder* _tmp78_ = NULL;
 
547
        GtkEntry* _tmp77_;
 
548
        GtkBuilder* _tmp78_;
549
549
        GObject* _tmp79_ = NULL;
550
 
        GtkLabel* _tmp80_ = NULL;
551
 
        GtkEntry* _tmp81_ = NULL;
552
 
        GtkButton* search_box_close_button = NULL;
553
 
        GtkBuilder* _tmp82_ = NULL;
 
550
        GtkLabel* _tmp80_;
 
551
        GtkEntry* _tmp81_;
 
552
        GtkBuilder* _tmp82_;
554
553
        GObject* _tmp83_ = NULL;
555
 
        GtkButton* _tmp84_ = NULL;
556
 
        GtkButton* _tmp85_ = NULL;
557
 
        GtkButton* search_next_button = NULL;
558
 
        GtkBuilder* _tmp86_ = NULL;
 
554
        GtkButton* _tmp84_;
 
555
        GtkButton* search_box_close_button;
 
556
        GtkButton* _tmp85_;
 
557
        GtkBuilder* _tmp86_;
559
558
        GObject* _tmp87_ = NULL;
560
 
        GtkButton* _tmp88_ = NULL;
561
 
        GtkButton* _tmp89_ = NULL;
 
559
        GtkButton* _tmp88_;
 
560
        GtkButton* search_next_button;
 
561
        GtkButton* _tmp89_;
562
562
        GtkTreeIter iter = {0};
563
 
        SettingsModel* _tmp90_ = NULL;
 
563
        SettingsModel* _tmp90_;
564
564
        GtkTreeIter _tmp91_ = {0};
565
565
        gboolean _tmp92_ = FALSE;
566
566
        GError * _inner_error_ = NULL;
568
568
        G_APPLICATION_CLASS (configuration_editor_parent_class)->startup ((GApplication*) G_TYPE_CHECK_INSTANCE_CAST (self, GTK_TYPE_APPLICATION, GtkApplication));
569
569
        _tmp0_ = _ ("dconf Editor");
570
570
        g_set_application_name (_tmp0_);
571
 
        g_action_map_add_action_entries ((GActionMap*) self, CONFIGURATION_EDITOR_action_entries, G_N_ELEMENTS (CONFIGURATION_EDITOR_action_entries), self);
 
571
        g_action_map_add_action_entries ((GActionMap*) self, (const GActionEntry*) CONFIGURATION_EDITOR_action_entries, G_N_ELEMENTS (CONFIGURATION_EDITOR_action_entries), self);
572
572
        _tmp1_ = g_settings_new ("ca.desrt.dconf-editor.Settings");
573
573
        _g_object_unref0 (self->priv->settings);
574
574
        self->priv->settings = _tmp1_;
579
579
        _g_object_unref0 (self->priv->ui);
580
580
        self->priv->ui = _tmp3_;
581
581
        {
582
 
                GtkBuilder* _tmp4_ = NULL;
 
582
                GtkBuilder* _tmp4_;
583
583
                _tmp4_ = self->priv->ui;
584
584
                gtk_builder_add_from_resource (_tmp4_, "/ca/desrt/dconf-editor/dconf-editor.ui", &_inner_error_);
585
585
                if (_inner_error_ != NULL) {
590
590
        __catch0_g_error:
591
591
        {
592
592
                GError* e = NULL;
593
 
                const gchar* _tmp5_ = NULL;
 
593
                const gchar* _tmp5_;
594
594
                e = _inner_error_;
595
595
                _inner_error_ = NULL;
596
596
                _tmp5_ = e->message;
632
632
        __catch1_g_error:
633
633
        {
634
634
                GError* e = NULL;
635
 
                const gchar* _tmp16_ = NULL;
 
635
                const gchar* _tmp16_;
636
636
                e = _inner_error_;
637
637
                _inner_error_ = NULL;
638
638
                _tmp16_ = e->message;
657
657
        _tmp23_ = self->priv->settings;
658
658
        _tmp24_ = g_settings_get_boolean (_tmp23_, "window-is-fullscreen");
659
659
        if (_tmp24_) {
660
 
                GtkApplicationWindow* _tmp25_ = NULL;
 
660
                GtkApplicationWindow* _tmp25_;
661
661
                _tmp25_ = self->priv->window;
662
662
                gtk_window_fullscreen ((GtkWindow*) _tmp25_);
663
663
        } else {
664
 
                GSettings* _tmp26_ = NULL;
 
664
                GSettings* _tmp26_;
665
665
                gboolean _tmp27_ = FALSE;
666
666
                _tmp26_ = self->priv->settings;
667
667
                _tmp27_ = g_settings_get_boolean (_tmp26_, "window-is-maximized");
668
668
                if (_tmp27_) {
669
 
                        GtkApplicationWindow* _tmp28_ = NULL;
 
669
                        GtkApplicationWindow* _tmp28_;
670
670
                        _tmp28_ = self->priv->window;
671
671
                        gtk_window_maximize ((GtkWindow*) _tmp28_);
672
672
                }
750
750
        _g_object_unref0 (self->priv->search_box);
751
751
        self->priv->search_box = _tmp73_;
752
752
        _tmp74_ = self->priv->search_box;
753
 
        g_signal_connect_object ((GtkWidget*) _tmp74_, "key-press-event", (GCallback) ___lambda3__gtk_widget_key_press_event, self, 0);
 
753
        g_signal_connect_object ((GtkWidget*) _tmp74_, "key-press-event", (GCallback) ___lambda2__gtk_widget_key_press_event, self, 0);
754
754
        _tmp75_ = self->priv->ui;
755
755
        _tmp76_ = gtk_builder_get_object (_tmp75_, "search_entry");
756
756
        _tmp77_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp76_, GTK_TYPE_ENTRY) ? ((GtkEntry*) _tmp76_) : NULL);
768
768
        _tmp84_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp83_, GTK_TYPE_BUTTON) ? ((GtkButton*) _tmp83_) : NULL);
769
769
        search_box_close_button = _tmp84_;
770
770
        _tmp85_ = search_box_close_button;
771
 
        g_signal_connect_object (_tmp85_, "clicked", (GCallback) ___lambda4__gtk_button_clicked, self, 0);
 
771
        g_signal_connect_object (_tmp85_, "clicked", (GCallback) ___lambda3__gtk_button_clicked, self, 0);
772
772
        _tmp86_ = self->priv->ui;
773
773
        _tmp87_ = gtk_builder_get_object (_tmp86_, "search_next_button");
774
774
        _tmp88_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp87_, GTK_TYPE_BUTTON) ? ((GtkButton*) _tmp87_) : NULL);
779
779
        _tmp92_ = gtk_tree_model_get_iter_first ((GtkTreeModel*) _tmp90_, &_tmp91_);
780
780
        iter = _tmp91_;
781
781
        if (_tmp92_) {
782
 
                GtkTreeView* _tmp93_ = NULL;
 
782
                GtkTreeView* _tmp93_;
783
783
                GtkTreeSelection* _tmp94_ = NULL;
784
 
                GtkTreeIter _tmp95_ = {0};
 
784
                GtkTreeIter _tmp95_;
785
785
                _tmp93_ = self->priv->dir_tree_view;
786
786
                _tmp94_ = gtk_tree_view_get_selection (_tmp93_);
787
787
                _tmp95_ = iter;
796
796
 
797
797
static void configuration_editor_real_activate (GApplication* base) {
798
798
        ConfigurationEditor * self;
799
 
        GtkApplicationWindow* _tmp0_ = NULL;
 
799
        GtkApplicationWindow* _tmp0_;
800
800
        self = (ConfigurationEditor*) base;
801
801
        _tmp0_ = self->priv->window;
802
802
        gtk_window_present ((GtkWindow*) _tmp0_);
805
805
 
806
806
static void configuration_editor_real_shutdown (GApplication* base) {
807
807
        ConfigurationEditor * self;
808
 
        GSettings* _tmp0_ = NULL;
809
 
        gint _tmp1_ = 0;
810
 
        GSettings* _tmp2_ = NULL;
811
 
        gint _tmp3_ = 0;
812
 
        GSettings* _tmp4_ = NULL;
813
 
        gboolean _tmp5_ = FALSE;
814
 
        GSettings* _tmp6_ = NULL;
815
 
        gboolean _tmp7_ = FALSE;
 
808
        GSettings* _tmp0_;
 
809
        gint _tmp1_;
 
810
        GSettings* _tmp2_;
 
811
        gint _tmp3_;
 
812
        GSettings* _tmp4_;
 
813
        gboolean _tmp5_;
 
814
        GSettings* _tmp6_;
 
815
        gboolean _tmp7_;
816
816
        self = (ConfigurationEditor*) base;
817
817
        G_APPLICATION_CLASS (configuration_editor_parent_class)->shutdown ((GApplication*) G_TYPE_CHECK_INSTANCE_CAST (self, GTK_TYPE_APPLICATION, GtkApplication));
818
818
        _tmp0_ = self->priv->settings;
831
831
 
832
832
 
833
833
static void configuration_editor_dir_selected_cb (ConfigurationEditor* self) {
834
 
        KeyModel* key_model = NULL;
 
834
        KeyModel* key_model;
835
835
        GtkTreeIter iter = {0};
836
 
        GtkTreeView* _tmp0_ = NULL;
 
836
        GtkTreeView* _tmp0_;
837
837
        GtkTreeSelection* _tmp1_ = NULL;
838
838
        GtkTreeIter _tmp2_ = {0};
839
839
        gboolean _tmp3_ = FALSE;
840
 
        GtkTreeView* _tmp11_ = NULL;
841
 
        KeyModel* _tmp12_ = NULL;
 
840
        GtkTreeView* _tmp11_;
 
841
        KeyModel* _tmp12_;
842
842
        gboolean _tmp13_ = FALSE;
843
 
        KeyModel* _tmp14_ = NULL;
 
843
        KeyModel* _tmp14_;
 
844
        gboolean _tmp18_;
844
845
        g_return_if_fail (self != NULL);
845
846
        key_model = NULL;
846
847
        _tmp0_ = self->priv->dir_tree_view;
848
849
        _tmp3_ = gtk_tree_selection_get_selected (_tmp1_, NULL, &_tmp2_);
849
850
        iter = _tmp2_;
850
851
        if (_tmp3_) {
851
 
                SettingsModel* _tmp4_ = NULL;
852
 
                GtkTreeIter _tmp5_ = {0};
 
852
                SettingsModel* _tmp4_;
 
853
                GtkTreeIter _tmp5_;
853
854
                Directory* _tmp6_ = NULL;
854
 
                Directory* _tmp7_ = NULL;
855
 
                KeyModel* _tmp8_ = NULL;
856
 
                KeyModel* _tmp9_ = NULL;
857
 
                KeyModel* _tmp10_ = NULL;
 
855
                Directory* _tmp7_;
 
856
                KeyModel* _tmp8_;
 
857
                KeyModel* _tmp9_;
 
858
                KeyModel* _tmp10_;
858
859
                _tmp4_ = self->priv->model;
859
860
                _tmp5_ = iter;
860
861
                _tmp6_ = settings_model_get_directory (_tmp4_, &_tmp5_);
871
872
        gtk_tree_view_set_model (_tmp11_, (GtkTreeModel*) _tmp12_);
872
873
        _tmp14_ = key_model;
873
874
        if (_tmp14_ != NULL) {
874
 
                KeyModel* _tmp15_ = NULL;
 
875
                KeyModel* _tmp15_;
875
876
                GtkTreeIter _tmp16_ = {0};
876
877
                gboolean _tmp17_ = FALSE;
877
878
                _tmp15_ = key_model;
881
882
        } else {
882
883
                _tmp13_ = FALSE;
883
884
        }
884
 
        if (_tmp13_) {
885
 
                GtkTreeView* _tmp18_ = NULL;
886
 
                GtkTreeSelection* _tmp19_ = NULL;
887
 
                GtkTreeIter _tmp20_ = {0};
888
 
                _tmp18_ = self->priv->key_tree_view;
889
 
                _tmp19_ = gtk_tree_view_get_selection (_tmp18_);
890
 
                _tmp20_ = iter;
891
 
                gtk_tree_selection_select_iter (_tmp19_, &_tmp20_);
 
885
        _tmp18_ = _tmp13_;
 
886
        if (_tmp18_) {
 
887
                GtkTreeView* _tmp19_;
 
888
                GtkTreeSelection* _tmp20_ = NULL;
 
889
                GtkTreeIter _tmp21_;
 
890
                _tmp19_ = self->priv->key_tree_view;
 
891
                _tmp20_ = gtk_tree_view_get_selection (_tmp19_);
 
892
                _tmp21_ = iter;
 
893
                gtk_tree_selection_select_iter (_tmp20_, &_tmp21_);
892
894
        }
893
895
        _g_object_unref0 (key_model);
894
896
}
901
903
 
902
904
static gchar* configuration_editor_key_to_description (ConfigurationEditor* self, Key* key) {
903
905
        gchar* result = NULL;
904
 
        Key* _tmp0_ = NULL;
905
 
        SchemaKey* _tmp1_ = NULL;
906
 
        const gchar* _tmp2_ = NULL;
907
 
        const gchar* _tmp3_ = NULL;
 
906
        Key* _tmp0_;
 
907
        SchemaKey* _tmp1_;
 
908
        const gchar* _tmp2_;
 
909
        const gchar* _tmp3_;
908
910
        GQuark _tmp5_ = 0U;
909
911
        static GQuark _tmp4_label0 = 0;
910
912
        static GQuark _tmp4_label1 = 0;
930
932
                        {
931
933
                                GVariant* min = NULL;
932
934
                                GVariant* max = NULL;
933
 
                                Key* _tmp6_ = NULL;
934
 
                                SchemaKey* _tmp7_ = NULL;
935
 
                                SchemaValueRange* _tmp8_ = NULL;
 
935
                                Key* _tmp6_;
 
936
                                SchemaKey* _tmp7_;
 
937
                                SchemaValueRange* _tmp8_;
936
938
                                const gchar* _tmp23_ = NULL;
937
 
                                GVariant* _tmp24_ = NULL;
 
939
                                GVariant* _tmp24_;
938
940
                                gchar* _tmp25_ = NULL;
939
 
                                gchar* _tmp26_ = NULL;
940
 
                                GVariant* _tmp27_ = NULL;
 
941
                                gchar* _tmp26_;
 
942
                                GVariant* _tmp27_;
941
943
                                gchar* _tmp28_ = NULL;
942
 
                                gchar* _tmp29_ = NULL;
 
944
                                gchar* _tmp29_;
943
945
                                gchar* _tmp30_ = NULL;
944
 
                                gchar* _tmp31_ = NULL;
 
946
                                gchar* _tmp31_;
945
947
                                _tmp6_ = key;
946
948
                                _tmp7_ = _tmp6_->schema;
947
949
                                _tmp8_ = _tmp7_->range;
948
950
                                if (_tmp8_ != NULL) {
949
 
                                        Key* _tmp9_ = NULL;
950
 
                                        SchemaKey* _tmp10_ = NULL;
951
 
                                        SchemaValueRange* _tmp11_ = NULL;
952
 
                                        GVariant* _tmp12_ = NULL;
953
 
                                        GVariant* _tmp13_ = NULL;
954
 
                                        Key* _tmp14_ = NULL;
955
 
                                        SchemaKey* _tmp15_ = NULL;
956
 
                                        SchemaValueRange* _tmp16_ = NULL;
957
 
                                        GVariant* _tmp17_ = NULL;
958
 
                                        GVariant* _tmp18_ = NULL;
 
951
                                        Key* _tmp9_;
 
952
                                        SchemaKey* _tmp10_;
 
953
                                        SchemaValueRange* _tmp11_;
 
954
                                        GVariant* _tmp12_;
 
955
                                        GVariant* _tmp13_;
 
956
                                        Key* _tmp14_;
 
957
                                        SchemaKey* _tmp15_;
 
958
                                        SchemaValueRange* _tmp16_;
 
959
                                        GVariant* _tmp17_;
 
960
                                        GVariant* _tmp18_;
959
961
                                        _tmp9_ = key;
960
962
                                        _tmp10_ = _tmp9_->schema;
961
963
                                        _tmp11_ = _tmp10_->range;
971
973
                                        _g_variant_unref0 (max);
972
974
                                        max = _tmp18_;
973
975
                                } else {
974
 
                                        Key* _tmp19_ = NULL;
 
976
                                        Key* _tmp19_;
975
977
                                        GVariant* _tmp20_ = NULL;
976
 
                                        Key* _tmp21_ = NULL;
 
978
                                        Key* _tmp21_;
977
979
                                        GVariant* _tmp22_ = NULL;
978
980
                                        _tmp19_ = key;
979
981
                                        _tmp20_ = key_get_min (_tmp19_);
1006
1008
                        default:
1007
1009
                        {
1008
1010
                                const gchar* _tmp32_ = NULL;
1009
 
                                gchar* _tmp33_ = NULL;
 
1011
                                gchar* _tmp33_;
1010
1012
                                _tmp32_ = _ ("Boolean");
1011
1013
                                _tmp33_ = g_strdup (_tmp32_);
1012
1014
                                result = _tmp33_;
1018
1020
                        default:
1019
1021
                        {
1020
1022
                                const gchar* _tmp34_ = NULL;
1021
 
                                gchar* _tmp35_ = NULL;
 
1023
                                gchar* _tmp35_;
1022
1024
                                _tmp34_ = _ ("String");
1023
1025
                                _tmp35_ = g_strdup (_tmp34_);
1024
1026
                                result = _tmp35_;
1030
1032
                        default:
1031
1033
                        {
1032
1034
                                const gchar* _tmp36_ = NULL;
1033
 
                                gchar* _tmp37_ = NULL;
 
1035
                                gchar* _tmp37_;
1034
1036
                                _tmp36_ = _ ("Enumeration");
1035
1037
                                _tmp37_ = g_strdup (_tmp36_);
1036
1038
                                result = _tmp37_;
1041
1043
                switch (0) {
1042
1044
                        default:
1043
1045
                        {
1044
 
                                Key* _tmp38_ = NULL;
1045
 
                                SchemaKey* _tmp39_ = NULL;
1046
 
                                const gchar* _tmp40_ = NULL;
1047
 
                                gchar* _tmp41_ = NULL;
 
1046
                                Key* _tmp38_;
 
1047
                                SchemaKey* _tmp39_;
 
1048
                                const gchar* _tmp40_;
 
1049
                                gchar* _tmp41_;
1048
1050
                                _tmp38_ = key;
1049
1051
                                _tmp39_ = _tmp38_->schema;
1050
1052
                                _tmp40_ = _tmp39_->type;
1058
1060
 
1059
1061
 
1060
1062
static void _configuration_editor_key_changed_cb_key_value_changed (Key* _sender, gpointer self) {
1061
 
        configuration_editor_key_changed_cb ((ConfigurationEditor*) self, _sender);
 
1063
        configuration_editor_key_changed_cb (self, _sender);
1062
1064
}
1063
1065
 
1064
1066
 
1065
1067
static gchar* string_strip (const gchar* self) {
1066
1068
        gchar* result = NULL;
1067
 
        gchar* _result_ = NULL;
1068
1069
        gchar* _tmp0_ = NULL;
1069
 
        const gchar* _tmp1_ = NULL;
 
1070
        gchar* _result_;
 
1071
        const gchar* _tmp1_;
1070
1072
        g_return_val_if_fail (self != NULL, NULL);
1071
1073
        _tmp0_ = g_strdup (self);
1072
1074
        _result_ = _tmp0_;
1078
1080
 
1079
1081
 
1080
1082
static void configuration_editor_key_selected_cb (ConfigurationEditor* self) {
1081
 
        Key* _tmp0_ = NULL;
 
1083
        Key* _tmp0_;
1082
1084
        GtkTreeIter iter = {0};
1083
1085
        GtkTreeModel* model = NULL;
1084
 
        GtkTreeView* _tmp3_ = NULL;
 
1086
        GtkTreeView* _tmp3_;
1085
1087
        GtkTreeSelection* _tmp4_ = NULL;
1086
1088
        GtkTreeModel* _tmp5_ = NULL;
1087
1089
        GtkTreeIter _tmp6_ = {0};
1088
1090
        gboolean _tmp7_ = FALSE;
1089
 
        GtkTreeModel* _tmp8_ = NULL;
1090
 
        Key* _tmp14_ = NULL;
1091
 
        GtkGrid* _tmp16_ = NULL;
1092
 
        Key* _tmp17_ = NULL;
 
1091
        GtkTreeModel* _tmp8_;
 
1092
        Key* _tmp14_;
 
1093
        GtkGrid* _tmp16_;
 
1094
        Key* _tmp17_;
1093
1095
        gboolean _tmp18_ = FALSE;
1094
 
        Key* _tmp19_ = NULL;
1095
 
        GtkAction* _tmp23_ = NULL;
1096
 
        gchar* schema_name = NULL;
1097
 
        gchar* _tmp24_ = NULL;
1098
 
        gchar* summary = NULL;
1099
 
        gchar* _tmp25_ = NULL;
1100
 
        gchar* description = NULL;
1101
 
        gchar* _tmp26_ = NULL;
1102
 
        gchar* type = NULL;
1103
 
        gchar* _tmp27_ = NULL;
1104
 
        gchar* default_value = NULL;
1105
 
        gchar* _tmp28_ = NULL;
1106
 
        Key* _tmp29_ = NULL;
1107
 
        GtkLabel* _tmp77_ = NULL;
1108
 
        const gchar* _tmp78_ = NULL;
1109
 
        GtkLabel* _tmp79_ = NULL;
1110
 
        const gchar* _tmp80_ = NULL;
1111
 
        gchar* _tmp81_ = NULL;
1112
 
        gchar* _tmp82_ = NULL;
1113
 
        GtkLabel* _tmp83_ = NULL;
1114
 
        const gchar* _tmp84_ = NULL;
1115
 
        gchar* _tmp85_ = NULL;
1116
 
        gchar* _tmp86_ = NULL;
1117
 
        GtkLabel* _tmp87_ = NULL;
1118
 
        const gchar* _tmp88_ = NULL;
1119
 
        GtkLabel* _tmp89_ = NULL;
1120
 
        const gchar* _tmp90_ = NULL;
 
1096
        Key* _tmp19_;
 
1097
        GtkAction* _tmp23_;
 
1098
        gboolean _tmp24_;
 
1099
        gchar* _tmp25_;
 
1100
        gchar* schema_name;
 
1101
        gchar* _tmp26_;
 
1102
        gchar* summary;
 
1103
        gchar* _tmp27_;
 
1104
        gchar* description;
 
1105
        gchar* _tmp28_;
 
1106
        gchar* type;
 
1107
        gchar* _tmp29_;
 
1108
        gchar* default_value;
 
1109
        Key* _tmp30_;
 
1110
        GtkLabel* _tmp80_;
 
1111
        const gchar* _tmp81_;
 
1112
        GtkLabel* _tmp82_;
 
1113
        const gchar* _tmp83_;
 
1114
        gchar* _tmp84_ = NULL;
 
1115
        gchar* _tmp85_;
 
1116
        GtkLabel* _tmp86_;
 
1117
        const gchar* _tmp87_;
 
1118
        gchar* _tmp88_ = NULL;
 
1119
        gchar* _tmp89_;
 
1120
        GtkLabel* _tmp90_;
 
1121
        const gchar* _tmp91_;
 
1122
        GtkLabel* _tmp92_;
 
1123
        const gchar* _tmp93_;
1121
1124
        g_return_if_fail (self != NULL);
1122
1125
        _tmp0_ = self->priv->selected_key;
1123
1126
        if (_tmp0_ != NULL) {
1124
 
                Key* _tmp1_ = NULL;
 
1127
                Key* _tmp1_;
1125
1128
                guint _tmp2_ = 0U;
1126
1129
                _tmp1_ = self->priv->selected_key;
1127
1130
                g_signal_parse_name ("value-changed", TYPE_KEY, &_tmp2_, NULL, FALSE);
1135
1138
        model = _tmp8_;
1136
1139
        iter = _tmp6_;
1137
1140
        if (_tmp7_) {
1138
 
                KeyModel* key_model = NULL;
1139
 
                GtkTreeModel* _tmp9_ = NULL;
1140
 
                KeyModel* _tmp10_ = NULL;
1141
 
                KeyModel* _tmp11_ = NULL;
1142
 
                GtkTreeIter _tmp12_ = {0};
 
1141
                GtkTreeModel* _tmp9_;
 
1142
                KeyModel* _tmp10_;
 
1143
                KeyModel* key_model;
 
1144
                KeyModel* _tmp11_;
 
1145
                GtkTreeIter _tmp12_;
1143
1146
                Key* _tmp13_ = NULL;
1144
1147
                _tmp9_ = model;
1145
1148
                _tmp10_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, TYPE_KEY_MODEL, KeyModel));
1156
1159
        }
1157
1160
        _tmp14_ = self->priv->selected_key;
1158
1161
        if (_tmp14_ != NULL) {
1159
 
                Key* _tmp15_ = NULL;
 
1162
                Key* _tmp15_;
1160
1163
                _tmp15_ = self->priv->selected_key;
1161
1164
                g_signal_connect_object (_tmp15_, "value-changed", (GCallback) _configuration_editor_key_changed_cb_key_value_changed, self, 0);
1162
1165
        }
1165
1168
        gtk_widget_set_sensitive ((GtkWidget*) _tmp16_, _tmp17_ != NULL);
1166
1169
        _tmp19_ = self->priv->selected_key;
1167
1170
        if (_tmp19_ != NULL) {
1168
 
                Key* _tmp20_ = NULL;
1169
 
                gboolean _tmp21_ = FALSE;
1170
 
                gboolean _tmp22_ = FALSE;
 
1171
                Key* _tmp20_;
 
1172
                gboolean _tmp21_;
 
1173
                gboolean _tmp22_;
1171
1174
                _tmp20_ = self->priv->selected_key;
1172
1175
                _tmp21_ = key_get_is_default (_tmp20_);
1173
1176
                _tmp22_ = _tmp21_;
1176
1179
                _tmp18_ = FALSE;
1177
1180
        }
1178
1181
        _tmp23_ = self->priv->set_default_action;
1179
 
        gtk_action_set_sensitive (_tmp23_, _tmp18_);
1180
 
        _tmp24_ = g_strdup ("");
1181
 
        schema_name = _tmp24_;
 
1182
        _tmp24_ = _tmp18_;
 
1183
        gtk_action_set_sensitive (_tmp23_, _tmp24_);
1182
1184
        _tmp25_ = g_strdup ("");
1183
 
        summary = _tmp25_;
 
1185
        schema_name = _tmp25_;
1184
1186
        _tmp26_ = g_strdup ("");
1185
 
        description = _tmp26_;
 
1187
        summary = _tmp26_;
1186
1188
        _tmp27_ = g_strdup ("");
1187
 
        type = _tmp27_;
 
1189
        description = _tmp27_;
1188
1190
        _tmp28_ = g_strdup ("");
1189
 
        default_value = _tmp28_;
1190
 
        _tmp29_ = self->priv->selected_key;
1191
 
        if (_tmp29_ != NULL) {
1192
 
                Key* _tmp30_ = NULL;
1193
 
                SchemaKey* _tmp31_ = NULL;
1194
 
                _tmp30_ = self->priv->selected_key;
1195
 
                _tmp31_ = _tmp30_->schema;
1196
 
                if (_tmp31_ != NULL) {
1197
 
                        gchar* gettext_domain = NULL;
1198
 
                        Key* _tmp32_ = NULL;
1199
 
                        SchemaKey* _tmp33_ = NULL;
1200
 
                        const gchar* _tmp34_ = NULL;
1201
 
                        gchar* _tmp35_ = NULL;
1202
 
                        Key* _tmp36_ = NULL;
1203
 
                        SchemaKey* _tmp37_ = NULL;
1204
 
                        Schema* _tmp38_ = NULL;
1205
 
                        const gchar* _tmp39_ = NULL;
1206
 
                        gchar* _tmp40_ = NULL;
1207
 
                        Key* _tmp41_ = NULL;
1208
 
                        SchemaKey* _tmp42_ = NULL;
1209
 
                        const gchar* _tmp43_ = NULL;
1210
 
                        gboolean _tmp48_ = FALSE;
1211
 
                        const gchar* _tmp49_ = NULL;
1212
 
                        Key* _tmp55_ = NULL;
1213
 
                        SchemaKey* _tmp56_ = NULL;
1214
 
                        const gchar* _tmp57_ = NULL;
1215
 
                        gboolean _tmp62_ = FALSE;
1216
 
                        const gchar* _tmp63_ = NULL;
1217
 
                        Key* _tmp69_ = NULL;
1218
 
                        gchar* _tmp70_ = NULL;
1219
 
                        Key* _tmp71_ = NULL;
1220
 
                        SchemaKey* _tmp72_ = NULL;
1221
 
                        GVariant* _tmp73_ = NULL;
1222
 
                        gchar* _tmp74_ = NULL;
1223
 
                        _tmp32_ = self->priv->selected_key;
1224
 
                        _tmp33_ = _tmp32_->schema;
1225
 
                        _tmp34_ = _tmp33_->gettext_domain;
1226
 
                        _tmp35_ = g_strdup (_tmp34_);
1227
 
                        gettext_domain = _tmp35_;
1228
 
                        _tmp36_ = self->priv->selected_key;
1229
 
                        _tmp37_ = _tmp36_->schema;
 
1191
        type = _tmp28_;
 
1192
        _tmp29_ = g_strdup ("");
 
1193
        default_value = _tmp29_;
 
1194
        _tmp30_ = self->priv->selected_key;
 
1195
        if (_tmp30_ != NULL) {
 
1196
                Key* _tmp31_;
 
1197
                SchemaKey* _tmp32_;
 
1198
                _tmp31_ = self->priv->selected_key;
 
1199
                _tmp32_ = _tmp31_->schema;
 
1200
                if (_tmp32_ != NULL) {
 
1201
                        Key* _tmp33_;
 
1202
                        SchemaKey* _tmp34_;
 
1203
                        const gchar* _tmp35_;
 
1204
                        gchar* _tmp36_;
 
1205
                        gchar* gettext_domain;
 
1206
                        Key* _tmp37_;
 
1207
                        SchemaKey* _tmp38_;
 
1208
                        Schema* _tmp39_;
 
1209
                        const gchar* _tmp40_;
 
1210
                        gchar* _tmp41_;
 
1211
                        Key* _tmp42_;
 
1212
                        SchemaKey* _tmp43_;
 
1213
                        const gchar* _tmp44_;
 
1214
                        gboolean _tmp49_ = FALSE;
 
1215
                        const gchar* _tmp50_;
 
1216
                        gboolean _tmp52_;
 
1217
                        Key* _tmp57_;
 
1218
                        SchemaKey* _tmp58_;
 
1219
                        const gchar* _tmp59_;
 
1220
                        gboolean _tmp64_ = FALSE;
 
1221
                        const gchar* _tmp65_;
 
1222
                        gboolean _tmp67_;
 
1223
                        Key* _tmp72_;
 
1224
                        gchar* _tmp73_ = NULL;
 
1225
                        Key* _tmp74_;
 
1226
                        SchemaKey* _tmp75_;
 
1227
                        GVariant* _tmp76_;
 
1228
                        gchar* _tmp77_ = NULL;
 
1229
                        _tmp33_ = self->priv->selected_key;
 
1230
                        _tmp34_ = _tmp33_->schema;
 
1231
                        _tmp35_ = _tmp34_->gettext_domain;
 
1232
                        _tmp36_ = g_strdup (_tmp35_);
 
1233
                        gettext_domain = _tmp36_;
 
1234
                        _tmp37_ = self->priv->selected_key;
1230
1235
                        _tmp38_ = _tmp37_->schema;
1231
 
                        _tmp39_ = _tmp38_->id;
1232
 
                        _tmp40_ = g_strdup (_tmp39_);
 
1236
                        _tmp39_ = _tmp38_->schema;
 
1237
                        _tmp40_ = _tmp39_->id;
 
1238
                        _tmp41_ = g_strdup (_tmp40_);
1233
1239
                        _g_free0 (schema_name);
1234
 
                        schema_name = _tmp40_;
1235
 
                        _tmp41_ = self->priv->selected_key;
1236
 
                        _tmp42_ = _tmp41_->schema;
1237
 
                        _tmp43_ = _tmp42_->summary;
1238
 
                        if (_tmp43_ != NULL) {
1239
 
                                Key* _tmp44_ = NULL;
1240
 
                                SchemaKey* _tmp45_ = NULL;
1241
 
                                const gchar* _tmp46_ = NULL;
1242
 
                                gchar* _tmp47_ = NULL;
1243
 
                                _tmp44_ = self->priv->selected_key;
1244
 
                                _tmp45_ = _tmp44_->schema;
1245
 
                                _tmp46_ = _tmp45_->summary;
1246
 
                                _tmp47_ = g_strdup (_tmp46_);
 
1240
                        schema_name = _tmp41_;
 
1241
                        _tmp42_ = self->priv->selected_key;
 
1242
                        _tmp43_ = _tmp42_->schema;
 
1243
                        _tmp44_ = _tmp43_->summary;
 
1244
                        if (_tmp44_ != NULL) {
 
1245
                                Key* _tmp45_;
 
1246
                                SchemaKey* _tmp46_;
 
1247
                                const gchar* _tmp47_;
 
1248
                                gchar* _tmp48_;
 
1249
                                _tmp45_ = self->priv->selected_key;
 
1250
                                _tmp46_ = _tmp45_->schema;
 
1251
                                _tmp47_ = _tmp46_->summary;
 
1252
                                _tmp48_ = g_strdup (_tmp47_);
1247
1253
                                _g_free0 (summary);
1248
 
                                summary = _tmp47_;
 
1254
                                summary = _tmp48_;
1249
1255
                        }
1250
 
                        _tmp49_ = gettext_domain;
1251
 
                        if (_tmp49_ != NULL) {
1252
 
                                const gchar* _tmp50_ = NULL;
1253
 
                                _tmp50_ = summary;
1254
 
                                _tmp48_ = g_strcmp0 (_tmp50_, "") != 0;
 
1256
                        _tmp50_ = gettext_domain;
 
1257
                        if (_tmp50_ != NULL) {
 
1258
                                const gchar* _tmp51_;
 
1259
                                _tmp51_ = summary;
 
1260
                                _tmp49_ = g_strcmp0 (_tmp51_, "") != 0;
1255
1261
                        } else {
1256
 
                                _tmp48_ = FALSE;
 
1262
                                _tmp49_ = FALSE;
1257
1263
                        }
1258
 
                        if (_tmp48_) {
1259
 
                                const gchar* _tmp51_ = NULL;
1260
 
                                const gchar* _tmp52_ = NULL;
1261
 
                                const gchar* _tmp53_ = NULL;
1262
 
                                gchar* _tmp54_ = NULL;
1263
 
                                _tmp51_ = gettext_domain;
1264
 
                                _tmp52_ = summary;
1265
 
                                _tmp53_ = g_dgettext (_tmp51_, _tmp52_);
1266
 
                                _tmp54_ = g_strdup (_tmp53_);
 
1264
                        _tmp52_ = _tmp49_;
 
1265
                        if (_tmp52_) {
 
1266
                                const gchar* _tmp53_;
 
1267
                                const gchar* _tmp54_;
 
1268
                                const gchar* _tmp55_ = NULL;
 
1269
                                gchar* _tmp56_;
 
1270
                                _tmp53_ = gettext_domain;
 
1271
                                _tmp54_ = summary;
 
1272
                                _tmp55_ = g_dgettext (_tmp53_, _tmp54_);
 
1273
                                _tmp56_ = g_strdup (_tmp55_);
1267
1274
                                _g_free0 (summary);
1268
 
                                summary = _tmp54_;
 
1275
                                summary = _tmp56_;
1269
1276
                        }
1270
 
                        _tmp55_ = self->priv->selected_key;
1271
 
                        _tmp56_ = _tmp55_->schema;
1272
 
                        _tmp57_ = _tmp56_->description;
1273
 
                        if (_tmp57_ != NULL) {
1274
 
                                Key* _tmp58_ = NULL;
1275
 
                                SchemaKey* _tmp59_ = NULL;
1276
 
                                const gchar* _tmp60_ = NULL;
1277
 
                                gchar* _tmp61_ = NULL;
1278
 
                                _tmp58_ = self->priv->selected_key;
1279
 
                                _tmp59_ = _tmp58_->schema;
1280
 
                                _tmp60_ = _tmp59_->description;
1281
 
                                _tmp61_ = g_strdup (_tmp60_);
 
1277
                        _tmp57_ = self->priv->selected_key;
 
1278
                        _tmp58_ = _tmp57_->schema;
 
1279
                        _tmp59_ = _tmp58_->description;
 
1280
                        if (_tmp59_ != NULL) {
 
1281
                                Key* _tmp60_;
 
1282
                                SchemaKey* _tmp61_;
 
1283
                                const gchar* _tmp62_;
 
1284
                                gchar* _tmp63_;
 
1285
                                _tmp60_ = self->priv->selected_key;
 
1286
                                _tmp61_ = _tmp60_->schema;
 
1287
                                _tmp62_ = _tmp61_->description;
 
1288
                                _tmp63_ = g_strdup (_tmp62_);
1282
1289
                                _g_free0 (description);
1283
 
                                description = _tmp61_;
1284
 
                        }
1285
 
                        _tmp63_ = gettext_domain;
1286
 
                        if (_tmp63_ != NULL) {
1287
 
                                const gchar* _tmp64_ = NULL;
1288
 
                                _tmp64_ = description;
1289
 
                                _tmp62_ = g_strcmp0 (_tmp64_, "") != 0;
1290
 
                        } else {
1291
 
                                _tmp62_ = FALSE;
1292
 
                        }
1293
 
                        if (_tmp62_) {
1294
 
                                const gchar* _tmp65_ = NULL;
1295
 
                                const gchar* _tmp66_ = NULL;
1296
 
                                const gchar* _tmp67_ = NULL;
1297
 
                                gchar* _tmp68_ = NULL;
1298
 
                                _tmp65_ = gettext_domain;
 
1290
                                description = _tmp63_;
 
1291
                        }
 
1292
                        _tmp65_ = gettext_domain;
 
1293
                        if (_tmp65_ != NULL) {
 
1294
                                const gchar* _tmp66_;
1299
1295
                                _tmp66_ = description;
1300
 
                                _tmp67_ = g_dgettext (_tmp65_, _tmp66_);
1301
 
                                _tmp68_ = g_strdup (_tmp67_);
 
1296
                                _tmp64_ = g_strcmp0 (_tmp66_, "") != 0;
 
1297
                        } else {
 
1298
                                _tmp64_ = FALSE;
 
1299
                        }
 
1300
                        _tmp67_ = _tmp64_;
 
1301
                        if (_tmp67_) {
 
1302
                                const gchar* _tmp68_;
 
1303
                                const gchar* _tmp69_;
 
1304
                                const gchar* _tmp70_ = NULL;
 
1305
                                gchar* _tmp71_;
 
1306
                                _tmp68_ = gettext_domain;
 
1307
                                _tmp69_ = description;
 
1308
                                _tmp70_ = g_dgettext (_tmp68_, _tmp69_);
 
1309
                                _tmp71_ = g_strdup (_tmp70_);
1302
1310
                                _g_free0 (description);
1303
 
                                description = _tmp68_;
 
1311
                                description = _tmp71_;
1304
1312
                        }
1305
 
                        _tmp69_ = self->priv->selected_key;
1306
 
                        _tmp70_ = configuration_editor_key_to_description (self, _tmp69_);
 
1313
                        _tmp72_ = self->priv->selected_key;
 
1314
                        _tmp73_ = configuration_editor_key_to_description (self, _tmp72_);
1307
1315
                        _g_free0 (type);
1308
 
                        type = _tmp70_;
1309
 
                        _tmp71_ = self->priv->selected_key;
1310
 
                        _tmp72_ = _tmp71_->schema;
1311
 
                        _tmp73_ = _tmp72_->default_value;
1312
 
                        _tmp74_ = g_variant_print (_tmp73_, FALSE);
 
1316
                        type = _tmp73_;
 
1317
                        _tmp74_ = self->priv->selected_key;
 
1318
                        _tmp75_ = _tmp74_->schema;
 
1319
                        _tmp76_ = _tmp75_->default_value;
 
1320
                        _tmp77_ = g_variant_print (_tmp76_, FALSE);
1313
1321
                        _g_free0 (default_value);
1314
 
                        default_value = _tmp74_;
 
1322
                        default_value = _tmp77_;
1315
1323
                        _g_free0 (gettext_domain);
1316
1324
                } else {
1317
 
                        const gchar* _tmp75_ = NULL;
1318
 
                        gchar* _tmp76_ = NULL;
1319
 
                        _tmp75_ = _ ("No schema");
1320
 
                        _tmp76_ = g_strdup (_tmp75_);
 
1325
                        const gchar* _tmp78_ = NULL;
 
1326
                        gchar* _tmp79_;
 
1327
                        _tmp78_ = _ ("No schema");
 
1328
                        _tmp79_ = g_strdup (_tmp78_);
1321
1329
                        _g_free0 (schema_name);
1322
 
                        schema_name = _tmp76_;
 
1330
                        schema_name = _tmp79_;
1323
1331
                }
1324
1332
        }
1325
 
        _tmp77_ = self->priv->schema_label;
1326
 
        _tmp78_ = schema_name;
1327
 
        gtk_label_set_text (_tmp77_, _tmp78_);
1328
 
        _tmp79_ = self->priv->summary_label;
1329
 
        _tmp80_ = summary;
1330
 
        _tmp81_ = string_strip (_tmp80_);
1331
 
        _tmp82_ = _tmp81_;
1332
 
        gtk_label_set_text (_tmp79_, _tmp82_);
1333
 
        _g_free0 (_tmp82_);
1334
 
        _tmp83_ = self->priv->description_label;
1335
 
        _tmp84_ = description;
1336
 
        _tmp85_ = string_strip (_tmp84_);
1337
 
        _tmp86_ = _tmp85_;
1338
 
        gtk_label_set_text (_tmp83_, _tmp86_);
1339
 
        _g_free0 (_tmp86_);
1340
 
        _tmp87_ = self->priv->type_label;
1341
 
        _tmp88_ = type;
1342
 
        gtk_label_set_text (_tmp87_, _tmp88_);
1343
 
        _tmp89_ = self->priv->default_label;
1344
 
        _tmp90_ = default_value;
1345
 
        gtk_label_set_text (_tmp89_, _tmp90_);
 
1333
        _tmp80_ = self->priv->schema_label;
 
1334
        _tmp81_ = schema_name;
 
1335
        gtk_label_set_text (_tmp80_, _tmp81_);
 
1336
        _tmp82_ = self->priv->summary_label;
 
1337
        _tmp83_ = summary;
 
1338
        _tmp84_ = string_strip (_tmp83_);
 
1339
        _tmp85_ = _tmp84_;
 
1340
        gtk_label_set_text (_tmp82_, _tmp85_);
 
1341
        _g_free0 (_tmp85_);
 
1342
        _tmp86_ = self->priv->description_label;
 
1343
        _tmp87_ = description;
 
1344
        _tmp88_ = string_strip (_tmp87_);
 
1345
        _tmp89_ = _tmp88_;
 
1346
        gtk_label_set_text (_tmp86_, _tmp89_);
 
1347
        _g_free0 (_tmp89_);
 
1348
        _tmp90_ = self->priv->type_label;
 
1349
        _tmp91_ = type;
 
1350
        gtk_label_set_text (_tmp90_, _tmp91_);
 
1351
        _tmp92_ = self->priv->default_label;
 
1352
        _tmp93_ = default_value;
 
1353
        gtk_label_set_text (_tmp92_, _tmp93_);
1346
1354
        _g_free0 (default_value);
1347
1355
        _g_free0 (type);
1348
1356
        _g_free0 (description);
1354
1362
 
1355
1363
static void configuration_editor_key_changed_cb (ConfigurationEditor* self, Key* key) {
1356
1364
        gboolean _tmp0_ = FALSE;
1357
 
        Key* _tmp1_ = NULL;
1358
 
        GtkAction* _tmp5_ = NULL;
 
1365
        Key* _tmp1_;
 
1366
        GtkAction* _tmp5_;
 
1367
        gboolean _tmp6_;
1359
1368
        g_return_if_fail (self != NULL);
1360
1369
        g_return_if_fail (key != NULL);
1361
1370
        _tmp1_ = self->priv->selected_key;
1362
1371
        if (_tmp1_ != NULL) {
1363
 
                Key* _tmp2_ = NULL;
1364
 
                gboolean _tmp3_ = FALSE;
1365
 
                gboolean _tmp4_ = FALSE;
 
1372
                Key* _tmp2_;
 
1373
                gboolean _tmp3_;
 
1374
                gboolean _tmp4_;
1366
1375
                _tmp2_ = self->priv->selected_key;
1367
1376
                _tmp3_ = key_get_is_default (_tmp2_);
1368
1377
                _tmp4_ = _tmp3_;
1371
1380
                _tmp0_ = FALSE;
1372
1381
        }
1373
1382
        _tmp5_ = self->priv->set_default_action;
1374
 
        gtk_action_set_sensitive (_tmp5_, _tmp0_);
 
1383
        _tmp6_ = _tmp0_;
 
1384
        gtk_action_set_sensitive (_tmp5_, _tmp6_);
1375
1385
}
1376
1386
 
1377
1387
 
1378
1388
static void configuration_editor_set_default_cb (ConfigurationEditor* self, GtkAction* action) {
1379
 
        Key* _tmp0_ = NULL;
1380
 
        Key* _tmp1_ = NULL;
 
1389
        Key* _tmp0_;
 
1390
        Key* _tmp1_;
1381
1391
        g_return_if_fail (self != NULL);
1382
1392
        g_return_if_fail (action != NULL);
1383
1393
        _tmp0_ = self->priv->selected_key;
1392
1402
static gboolean configuration_editor_main_window_configure_event_cb (ConfigurationEditor* self, GtkWidget* widget, GdkEventConfigure* event) {
1393
1403
        gboolean result = FALSE;
1394
1404
        gboolean _tmp0_ = FALSE;
1395
 
        gboolean _tmp1_ = FALSE;
 
1405
        gboolean _tmp1_;
 
1406
        gboolean _tmp3_;
1396
1407
        g_return_val_if_fail (self != NULL, FALSE);
1397
1408
        g_return_val_if_fail (widget != NULL, FALSE);
1398
1409
        g_return_val_if_fail (event != NULL, FALSE);
1399
1410
        _tmp1_ = self->priv->window_is_maximized;
1400
1411
        if (!_tmp1_) {
1401
 
                gboolean _tmp2_ = FALSE;
 
1412
                gboolean _tmp2_;
1402
1413
                _tmp2_ = self->priv->window_is_fullscreen;
1403
1414
                _tmp0_ = !_tmp2_;
1404
1415
        } else {
1405
1416
                _tmp0_ = FALSE;
1406
1417
        }
1407
 
        if (_tmp0_) {
1408
 
                GdkEventConfigure* _tmp3_ = NULL;
1409
 
                gint _tmp4_ = 0;
1410
 
                GdkEventConfigure* _tmp5_ = NULL;
1411
 
                gint _tmp6_ = 0;
1412
 
                _tmp3_ = event;
1413
 
                _tmp4_ = _tmp3_->width;
1414
 
                self->priv->window_width = _tmp4_;
1415
 
                _tmp5_ = event;
1416
 
                _tmp6_ = _tmp5_->height;
1417
 
                self->priv->window_height = _tmp6_;
 
1418
        _tmp3_ = _tmp0_;
 
1419
        if (_tmp3_) {
 
1420
                GdkEventConfigure _tmp4_;
 
1421
                gint _tmp5_;
 
1422
                GdkEventConfigure _tmp6_;
 
1423
                gint _tmp7_;
 
1424
                _tmp4_ = *event;
 
1425
                _tmp5_ = _tmp4_.width;
 
1426
                self->priv->window_width = _tmp5_;
 
1427
                _tmp6_ = *event;
 
1428
                _tmp7_ = _tmp6_.height;
 
1429
                self->priv->window_height = _tmp7_;
1418
1430
        }
1419
1431
        result = FALSE;
1420
1432
        return result;
1423
1435
 
1424
1436
static gboolean configuration_editor_main_window_window_state_event_cb (ConfigurationEditor* self, GtkWidget* widget, GdkEventWindowState* event) {
1425
1437
        gboolean result = FALSE;
1426
 
        GdkEventWindowState* _tmp0_ = NULL;
1427
 
        GdkWindowState _tmp1_ = 0;
1428
 
        GdkEventWindowState* _tmp4_ = NULL;
1429
 
        GdkWindowState _tmp5_ = 0;
 
1438
        GdkEventWindowState _tmp0_;
 
1439
        GdkWindowState _tmp1_;
 
1440
        GdkEventWindowState _tmp4_;
 
1441
        GdkWindowState _tmp5_;
1430
1442
        g_return_val_if_fail (self != NULL, FALSE);
1431
1443
        g_return_val_if_fail (widget != NULL, FALSE);
1432
1444
        g_return_val_if_fail (event != NULL, FALSE);
1433
 
        _tmp0_ = event;
1434
 
        _tmp1_ = _tmp0_->changed_mask;
 
1445
        _tmp0_ = *event;
 
1446
        _tmp1_ = _tmp0_.changed_mask;
1435
1447
        if ((_tmp1_ & GDK_WINDOW_STATE_MAXIMIZED) != 0) {
1436
 
                GdkEventWindowState* _tmp2_ = NULL;
1437
 
                GdkWindowState _tmp3_ = 0;
1438
 
                _tmp2_ = event;
1439
 
                _tmp3_ = _tmp2_->new_window_state;
 
1448
                GdkEventWindowState _tmp2_;
 
1449
                GdkWindowState _tmp3_;
 
1450
                _tmp2_ = *event;
 
1451
                _tmp3_ = _tmp2_.new_window_state;
1440
1452
                self->priv->window_is_maximized = (_tmp3_ & GDK_WINDOW_STATE_MAXIMIZED) != 0;
1441
1453
        }
1442
 
        _tmp4_ = event;
1443
 
        _tmp5_ = _tmp4_->changed_mask;
 
1454
        _tmp4_ = *event;
 
1455
        _tmp5_ = _tmp4_.changed_mask;
1444
1456
        if ((_tmp5_ & GDK_WINDOW_STATE_FULLSCREEN) != 0) {
1445
 
                GdkEventWindowState* _tmp6_ = NULL;
1446
 
                GdkWindowState _tmp7_ = 0;
1447
 
                _tmp6_ = event;
1448
 
                _tmp7_ = _tmp6_->new_window_state;
 
1457
                GdkEventWindowState _tmp6_;
 
1458
                GdkWindowState _tmp7_;
 
1459
                _tmp6_ = *event;
 
1460
                _tmp7_ = _tmp6_.new_window_state;
1449
1461
                self->priv->window_is_fullscreen = (_tmp7_ & GDK_WINDOW_STATE_FULLSCREEN) != 0;
1450
1462
        }
1451
1463
        result = FALSE;
1454
1466
 
1455
1467
 
1456
1468
static void configuration_editor_find_cb (ConfigurationEditor* self) {
1457
 
        GtkBox* _tmp0_ = NULL;
1458
 
        GtkEntry* _tmp1_ = NULL;
 
1469
        GtkBox* _tmp0_;
 
1470
        GtkEntry* _tmp1_;
1459
1471
        g_return_if_fail (self != NULL);
1460
1472
        _tmp0_ = self->priv->search_box;
1461
1473
        gtk_widget_show ((GtkWidget*) _tmp0_);
1466
1478
 
1467
1479
static gint string_index_of (const gchar* self, const gchar* needle, gint start_index) {
1468
1480
        gint result = 0;
1469
 
        gchar* _result_ = NULL;
1470
 
        gint _tmp0_ = 0;
1471
 
        const gchar* _tmp1_ = NULL;
 
1481
        gint _tmp0_;
 
1482
        const gchar* _tmp1_;
1472
1483
        gchar* _tmp2_ = NULL;
1473
 
        gchar* _tmp3_ = NULL;
 
1484
        gchar* _result_;
 
1485
        gchar* _tmp3_;
1474
1486
        g_return_val_if_fail (self != NULL, 0);
1475
1487
        g_return_val_if_fail (needle != NULL, 0);
1476
1488
        _tmp0_ = start_index;
1479
1491
        _result_ = _tmp2_;
1480
1492
        _tmp3_ = _result_;
1481
1493
        if (_tmp3_ != NULL) {
1482
 
                gchar* _tmp4_ = NULL;
 
1494
                gchar* _tmp4_;
1483
1495
                _tmp4_ = _result_;
1484
1496
                result = (gint) (_tmp4_ - ((gchar*) self));
1485
1497
                return result;
1491
1503
 
1492
1504
 
1493
1505
static void configuration_editor_find_next_cb (ConfigurationEditor* self) {
1494
 
        GtkLabel* _tmp0_ = NULL;
 
1506
        GtkLabel* _tmp0_;
1495
1507
        GtkTreeIter iter = {0};
1496
1508
        GtkTreeIter key_iter = {0};
1497
 
        gboolean have_key_iter = FALSE;
1498
 
        GtkTreeView* _tmp1_ = NULL;
 
1509
        gboolean have_key_iter;
 
1510
        GtkTreeView* _tmp1_;
1499
1511
        GtkTreeSelection* _tmp2_ = NULL;
1500
1512
        GtkTreeIter _tmp3_ = {0};
1501
1513
        gboolean _tmp4_ = FALSE;
1502
 
        gboolean on_first_directory = FALSE;
1503
 
        GtkLabel* _tmp90_ = NULL;
1504
 
        const gchar* _tmp91_ = NULL;
 
1514
        gboolean on_first_directory;
 
1515
        GtkLabel* _tmp93_;
 
1516
        const gchar* _tmp94_ = NULL;
1505
1517
        g_return_if_fail (self != NULL);
1506
1518
        _tmp0_ = self->priv->search_label;
1507
1519
        gtk_label_set_text (_tmp0_, "");
1512
1524
        _tmp4_ = gtk_tree_selection_get_selected (_tmp2_, NULL, &_tmp3_);
1513
1525
        iter = _tmp3_;
1514
1526
        if (_tmp4_) {
1515
 
                GtkTreeView* _tmp5_ = NULL;
 
1527
                GtkTreeView* _tmp5_;
1516
1528
                GtkTreeSelection* _tmp6_ = NULL;
1517
1529
                GtkTreeIter _tmp7_ = {0};
1518
1530
                gboolean _tmp8_ = FALSE;
1521
1533
                _tmp8_ = gtk_tree_selection_get_selected (_tmp6_, NULL, &_tmp7_);
1522
1534
                key_iter = _tmp7_;
1523
1535
                if (_tmp8_) {
1524
 
                        Directory* dir = NULL;
1525
 
                        SettingsModel* _tmp9_ = NULL;
1526
 
                        GtkTreeIter _tmp10_ = {0};
 
1536
                        SettingsModel* _tmp9_;
 
1537
                        GtkTreeIter _tmp10_;
1527
1538
                        Directory* _tmp11_ = NULL;
1528
 
                        Directory* _tmp12_ = NULL;
1529
 
                        KeyModel* _tmp13_ = NULL;
1530
 
                        KeyModel* _tmp14_ = NULL;
 
1539
                        Directory* dir;
 
1540
                        Directory* _tmp12_;
 
1541
                        KeyModel* _tmp13_;
 
1542
                        KeyModel* _tmp14_;
1531
1543
                        gboolean _tmp15_ = FALSE;
1532
1544
                        _tmp9_ = self->priv->model;
1533
1545
                        _tmp10_ = iter;
1545
1557
                        _g_object_unref0 (dir);
1546
1558
                }
1547
1559
        } else {
1548
 
                SettingsModel* _tmp16_ = NULL;
 
1560
                SettingsModel* _tmp16_;
1549
1561
                GtkTreeIter _tmp17_ = {0};
1550
1562
                gboolean _tmp18_ = FALSE;
1551
1563
                _tmp16_ = self->priv->model;
1557
1569
        }
1558
1570
        on_first_directory = TRUE;
1559
1571
        {
1560
 
                gboolean _tmp19_ = FALSE;
 
1572
                gboolean _tmp19_;
1561
1573
                _tmp19_ = TRUE;
1562
1574
                while (TRUE) {
1563
 
                        Directory* dir = NULL;
1564
 
                        SettingsModel* _tmp21_ = NULL;
1565
 
                        GtkTreeIter _tmp22_ = {0};
1566
 
                        Directory* _tmp23_ = NULL;
1567
 
                        gboolean _tmp24_ = FALSE;
1568
 
                        gboolean _tmp51_ = FALSE;
1569
 
                        if (!_tmp19_) {
1570
 
                                gboolean _tmp20_ = FALSE;
1571
 
                                _tmp20_ = configuration_editor_get_next_iter (self, &iter);
1572
 
                                if (!_tmp20_) {
 
1575
                        gboolean _tmp20_;
 
1576
                        SettingsModel* _tmp22_;
 
1577
                        GtkTreeIter _tmp23_;
 
1578
                        Directory* _tmp24_ = NULL;
 
1579
                        Directory* dir;
 
1580
                        gboolean _tmp25_;
 
1581
                        gboolean _tmp53_;
 
1582
                        _tmp20_ = _tmp19_;
 
1583
                        if (!_tmp20_) {
 
1584
                                gboolean _tmp21_ = FALSE;
 
1585
                                _tmp21_ = configuration_editor_get_next_iter (self, &iter);
 
1586
                                if (!_tmp21_) {
1573
1587
                                        break;
1574
1588
                                }
1575
1589
                        }
1576
1590
                        _tmp19_ = FALSE;
1577
 
                        _tmp21_ = self->priv->model;
1578
 
                        _tmp22_ = iter;
1579
 
                        _tmp23_ = settings_model_get_directory (_tmp21_, &_tmp22_);
1580
 
                        dir = _tmp23_;
1581
 
                        _tmp24_ = have_key_iter;
1582
 
                        if (!_tmp24_) {
1583
 
                                Directory* _tmp25_ = NULL;
1584
 
                                KeyModel* _tmp26_ = NULL;
1585
 
                                KeyModel* _tmp27_ = NULL;
1586
 
                                GtkTreeIter _tmp28_ = {0};
1587
 
                                gboolean _tmp29_ = FALSE;
 
1591
                        _tmp22_ = self->priv->model;
 
1592
                        _tmp23_ = iter;
 
1593
                        _tmp24_ = settings_model_get_directory (_tmp22_, &_tmp23_);
 
1594
                        dir = _tmp24_;
 
1595
                        _tmp25_ = have_key_iter;
 
1596
                        if (!_tmp25_) {
 
1597
                                Directory* _tmp26_;
 
1598
                                KeyModel* _tmp27_;
 
1599
                                KeyModel* _tmp28_;
 
1600
                                GtkTreeIter _tmp29_ = {0};
1588
1601
                                gboolean _tmp30_ = FALSE;
1589
1602
                                gboolean _tmp31_ = FALSE;
1590
 
                                _tmp25_ = dir;
1591
 
                                _tmp26_ = directory_get_key_model (_tmp25_);
1592
 
                                _tmp27_ = _tmp26_;
1593
 
                                _tmp29_ = gtk_tree_model_get_iter_first ((GtkTreeModel*) _tmp27_, &_tmp28_);
1594
 
                                key_iter = _tmp28_;
1595
 
                                have_key_iter = _tmp29_;
1596
 
                                _tmp31_ = on_first_directory;
1597
 
                                if (!_tmp31_) {
1598
 
                                        Directory* _tmp32_ = NULL;
1599
 
                                        const gchar* _tmp33_ = NULL;
1600
 
                                        GtkEntry* _tmp34_ = NULL;
1601
 
                                        const gchar* _tmp35_ = NULL;
1602
 
                                        const gchar* _tmp36_ = NULL;
1603
 
                                        gint _tmp37_ = 0;
1604
 
                                        _tmp32_ = dir;
1605
 
                                        _tmp33_ = _tmp32_->name;
1606
 
                                        _tmp34_ = self->priv->search_entry;
1607
 
                                        _tmp35_ = gtk_entry_get_text (_tmp34_);
1608
 
                                        _tmp36_ = _tmp35_;
1609
 
                                        _tmp37_ = string_index_of (_tmp33_, _tmp36_, 0);
1610
 
                                        _tmp30_ = _tmp37_ >= 0;
 
1603
                                gboolean _tmp32_;
 
1604
                                gboolean _tmp39_;
 
1605
                                _tmp26_ = dir;
 
1606
                                _tmp27_ = directory_get_key_model (_tmp26_);
 
1607
                                _tmp28_ = _tmp27_;
 
1608
                                _tmp30_ = gtk_tree_model_get_iter_first ((GtkTreeModel*) _tmp28_, &_tmp29_);
 
1609
                                key_iter = _tmp29_;
 
1610
                                have_key_iter = _tmp30_;
 
1611
                                _tmp32_ = on_first_directory;
 
1612
                                if (!_tmp32_) {
 
1613
                                        Directory* _tmp33_;
 
1614
                                        const gchar* _tmp34_;
 
1615
                                        GtkEntry* _tmp35_;
 
1616
                                        const gchar* _tmp36_;
 
1617
                                        const gchar* _tmp37_;
 
1618
                                        gint _tmp38_ = 0;
 
1619
                                        _tmp33_ = dir;
 
1620
                                        _tmp34_ = _tmp33_->name;
 
1621
                                        _tmp35_ = self->priv->search_entry;
 
1622
                                        _tmp36_ = gtk_entry_get_text (_tmp35_);
 
1623
                                        _tmp37_ = _tmp36_;
 
1624
                                        _tmp38_ = string_index_of (_tmp34_, _tmp37_, 0);
 
1625
                                        _tmp31_ = _tmp38_ >= 0;
1611
1626
                                } else {
1612
 
                                        _tmp30_ = FALSE;
 
1627
                                        _tmp31_ = FALSE;
1613
1628
                                }
1614
 
                                if (_tmp30_) {
1615
 
                                        GtkTreeView* _tmp38_ = NULL;
1616
 
                                        SettingsModel* _tmp39_ = NULL;
1617
 
                                        GtkTreeIter _tmp40_ = {0};
1618
 
                                        GtkTreePath* _tmp41_ = NULL;
1619
 
                                        GtkTreePath* _tmp42_ = NULL;
1620
 
                                        GtkTreeView* _tmp43_ = NULL;
1621
 
                                        GtkTreeSelection* _tmp44_ = NULL;
1622
 
                                        GtkTreeIter _tmp45_ = {0};
1623
 
                                        GtkTreeView* _tmp46_ = NULL;
1624
 
                                        SettingsModel* _tmp47_ = NULL;
1625
 
                                        GtkTreeIter _tmp48_ = {0};
1626
 
                                        GtkTreePath* _tmp49_ = NULL;
1627
 
                                        GtkTreePath* _tmp50_ = NULL;
1628
 
                                        _tmp38_ = self->priv->dir_tree_view;
1629
 
                                        _tmp39_ = self->priv->model;
1630
 
                                        _tmp40_ = iter;
1631
 
                                        _tmp41_ = gtk_tree_model_get_path ((GtkTreeModel*) _tmp39_, &_tmp40_);
1632
 
                                        _tmp42_ = _tmp41_;
1633
 
                                        gtk_tree_view_expand_to_path (_tmp38_, _tmp42_);
1634
 
                                        _gtk_tree_path_free0 (_tmp42_);
1635
 
                                        _tmp43_ = self->priv->dir_tree_view;
1636
 
                                        _tmp44_ = gtk_tree_view_get_selection (_tmp43_);
1637
 
                                        _tmp45_ = iter;
1638
 
                                        gtk_tree_selection_select_iter (_tmp44_, &_tmp45_);
1639
 
                                        _tmp46_ = self->priv->dir_tree_view;
1640
 
                                        _tmp47_ = self->priv->model;
1641
 
                                        _tmp48_ = iter;
1642
 
                                        _tmp49_ = gtk_tree_model_get_path ((GtkTreeModel*) _tmp47_, &_tmp48_);
1643
 
                                        _tmp50_ = _tmp49_;
1644
 
                                        gtk_tree_view_scroll_to_cell (_tmp46_, _tmp50_, NULL, FALSE, (gfloat) 0, (gfloat) 0);
1645
 
                                        _gtk_tree_path_free0 (_tmp50_);
 
1629
                                _tmp39_ = _tmp31_;
 
1630
                                if (_tmp39_) {
 
1631
                                        GtkTreeView* _tmp40_;
 
1632
                                        SettingsModel* _tmp41_;
 
1633
                                        GtkTreeIter _tmp42_;
 
1634
                                        GtkTreePath* _tmp43_ = NULL;
 
1635
                                        GtkTreePath* _tmp44_;
 
1636
                                        GtkTreeView* _tmp45_;
 
1637
                                        GtkTreeSelection* _tmp46_ = NULL;
 
1638
                                        GtkTreeIter _tmp47_;
 
1639
                                        GtkTreeView* _tmp48_;
 
1640
                                        SettingsModel* _tmp49_;
 
1641
                                        GtkTreeIter _tmp50_;
 
1642
                                        GtkTreePath* _tmp51_ = NULL;
 
1643
                                        GtkTreePath* _tmp52_;
 
1644
                                        _tmp40_ = self->priv->dir_tree_view;
 
1645
                                        _tmp41_ = self->priv->model;
 
1646
                                        _tmp42_ = iter;
 
1647
                                        _tmp43_ = gtk_tree_model_get_path ((GtkTreeModel*) _tmp41_, &_tmp42_);
 
1648
                                        _tmp44_ = _tmp43_;
 
1649
                                        gtk_tree_view_expand_to_path (_tmp40_, _tmp44_);
 
1650
                                        _gtk_tree_path_free0 (_tmp44_);
 
1651
                                        _tmp45_ = self->priv->dir_tree_view;
 
1652
                                        _tmp46_ = gtk_tree_view_get_selection (_tmp45_);
 
1653
                                        _tmp47_ = iter;
 
1654
                                        gtk_tree_selection_select_iter (_tmp46_, &_tmp47_);
 
1655
                                        _tmp48_ = self->priv->dir_tree_view;
 
1656
                                        _tmp49_ = self->priv->model;
 
1657
                                        _tmp50_ = iter;
 
1658
                                        _tmp51_ = gtk_tree_model_get_path ((GtkTreeModel*) _tmp49_, &_tmp50_);
 
1659
                                        _tmp52_ = _tmp51_;
 
1660
                                        gtk_tree_view_scroll_to_cell (_tmp48_, _tmp52_, NULL, FALSE, (gfloat) 0, (gfloat) 0);
 
1661
                                        _gtk_tree_path_free0 (_tmp52_);
1646
1662
                                        _g_object_unref0 (dir);
1647
1663
                                        return;
1648
1664
                                }
1649
1665
                        }
1650
1666
                        on_first_directory = FALSE;
1651
 
                        _tmp51_ = have_key_iter;
1652
 
                        if (_tmp51_) {
 
1667
                        _tmp53_ = have_key_iter;
 
1668
                        if (_tmp53_) {
1653
1669
                                {
1654
 
                                        gboolean _tmp52_ = FALSE;
1655
 
                                        _tmp52_ = TRUE;
 
1670
                                        gboolean _tmp54_;
 
1671
                                        _tmp54_ = TRUE;
1656
1672
                                        while (TRUE) {
1657
 
                                                Key* key = NULL;
1658
 
                                                Directory* _tmp57_ = NULL;
1659
 
                                                KeyModel* _tmp58_ = NULL;
1660
 
                                                KeyModel* _tmp59_ = NULL;
1661
 
                                                GtkTreeIter _tmp60_ = {0};
1662
 
                                                Key* _tmp61_ = NULL;
1663
 
                                                Key* _tmp62_ = NULL;
1664
 
                                                GtkEntry* _tmp63_ = NULL;
1665
 
                                                const gchar* _tmp64_ = NULL;
1666
 
                                                const gchar* _tmp65_ = NULL;
1667
 
                                                gboolean _tmp66_ = FALSE;
1668
 
                                                if (!_tmp52_) {
1669
 
                                                        Directory* _tmp53_ = NULL;
1670
 
                                                        KeyModel* _tmp54_ = NULL;
1671
 
                                                        KeyModel* _tmp55_ = NULL;
1672
 
                                                        gboolean _tmp56_ = FALSE;
1673
 
                                                        _tmp53_ = dir;
1674
 
                                                        _tmp54_ = directory_get_key_model (_tmp53_);
1675
 
                                                        _tmp55_ = _tmp54_;
1676
 
                                                        _tmp56_ = gtk_tree_model_iter_next ((GtkTreeModel*) _tmp55_, &key_iter);
1677
 
                                                        if (!_tmp56_) {
 
1673
                                                gboolean _tmp55_;
 
1674
                                                Directory* _tmp60_;
 
1675
                                                KeyModel* _tmp61_;
 
1676
                                                KeyModel* _tmp62_;
 
1677
                                                GtkTreeIter _tmp63_;
 
1678
                                                Key* _tmp64_ = NULL;
 
1679
                                                Key* key;
 
1680
                                                Key* _tmp65_;
 
1681
                                                GtkEntry* _tmp66_;
 
1682
                                                const gchar* _tmp67_;
 
1683
                                                const gchar* _tmp68_;
 
1684
                                                gboolean _tmp69_ = FALSE;
 
1685
                                                _tmp55_ = _tmp54_;
 
1686
                                                if (!_tmp55_) {
 
1687
                                                        Directory* _tmp56_;
 
1688
                                                        KeyModel* _tmp57_;
 
1689
                                                        KeyModel* _tmp58_;
 
1690
                                                        gboolean _tmp59_ = FALSE;
 
1691
                                                        _tmp56_ = dir;
 
1692
                                                        _tmp57_ = directory_get_key_model (_tmp56_);
 
1693
                                                        _tmp58_ = _tmp57_;
 
1694
                                                        _tmp59_ = gtk_tree_model_iter_next ((GtkTreeModel*) _tmp58_, &key_iter);
 
1695
                                                        if (!_tmp59_) {
1678
1696
                                                                break;
1679
1697
                                                        }
1680
1698
                                                }
1681
 
                                                _tmp52_ = FALSE;
1682
 
                                                _tmp57_ = dir;
1683
 
                                                _tmp58_ = directory_get_key_model (_tmp57_);
1684
 
                                                _tmp59_ = _tmp58_;
1685
 
                                                _tmp60_ = key_iter;
1686
 
                                                _tmp61_ = key_model_get_key (_tmp59_, &_tmp60_);
1687
 
                                                key = _tmp61_;
1688
 
                                                _tmp62_ = key;
1689
 
                                                _tmp63_ = self->priv->search_entry;
1690
 
                                                _tmp64_ = gtk_entry_get_text (_tmp63_);
1691
 
                                                _tmp65_ = _tmp64_;
1692
 
                                                _tmp66_ = configuration_editor_key_matches (self, _tmp62_, _tmp65_);
1693
 
                                                if (_tmp66_) {
1694
 
                                                        GtkTreeView* _tmp67_ = NULL;
1695
 
                                                        SettingsModel* _tmp68_ = NULL;
1696
 
                                                        GtkTreeIter _tmp69_ = {0};
1697
 
                                                        GtkTreePath* _tmp70_ = NULL;
1698
 
                                                        GtkTreePath* _tmp71_ = NULL;
1699
 
                                                        GtkTreeView* _tmp72_ = NULL;
1700
 
                                                        GtkTreeSelection* _tmp73_ = NULL;
1701
 
                                                        GtkTreeIter _tmp74_ = {0};
1702
 
                                                        GtkTreeView* _tmp75_ = NULL;
1703
 
                                                        SettingsModel* _tmp76_ = NULL;
1704
 
                                                        GtkTreeIter _tmp77_ = {0};
1705
 
                                                        GtkTreePath* _tmp78_ = NULL;
1706
 
                                                        GtkTreePath* _tmp79_ = NULL;
1707
 
                                                        GtkTreeView* _tmp80_ = NULL;
1708
 
                                                        GtkTreeSelection* _tmp81_ = NULL;
1709
 
                                                        GtkTreeIter _tmp82_ = {0};
1710
 
                                                        GtkTreeView* _tmp83_ = NULL;
1711
 
                                                        Directory* _tmp84_ = NULL;
1712
 
                                                        KeyModel* _tmp85_ = NULL;
1713
 
                                                        KeyModel* _tmp86_ = NULL;
1714
 
                                                        GtkTreeIter _tmp87_ = {0};
1715
 
                                                        GtkTreePath* _tmp88_ = NULL;
1716
 
                                                        GtkTreePath* _tmp89_ = NULL;
1717
 
                                                        _tmp67_ = self->priv->dir_tree_view;
1718
 
                                                        _tmp68_ = self->priv->model;
1719
 
                                                        _tmp69_ = iter;
1720
 
                                                        _tmp70_ = gtk_tree_model_get_path ((GtkTreeModel*) _tmp68_, &_tmp69_);
1721
 
                                                        _tmp71_ = _tmp70_;
1722
 
                                                        gtk_tree_view_expand_to_path (_tmp67_, _tmp71_);
1723
 
                                                        _gtk_tree_path_free0 (_tmp71_);
1724
 
                                                        _tmp72_ = self->priv->dir_tree_view;
1725
 
                                                        _tmp73_ = gtk_tree_view_get_selection (_tmp72_);
1726
 
                                                        _tmp74_ = iter;
1727
 
                                                        gtk_tree_selection_select_iter (_tmp73_, &_tmp74_);
 
1699
                                                _tmp54_ = FALSE;
 
1700
                                                _tmp60_ = dir;
 
1701
                                                _tmp61_ = directory_get_key_model (_tmp60_);
 
1702
                                                _tmp62_ = _tmp61_;
 
1703
                                                _tmp63_ = key_iter;
 
1704
                                                _tmp64_ = key_model_get_key (_tmp62_, &_tmp63_);
 
1705
                                                key = _tmp64_;
 
1706
                                                _tmp65_ = key;
 
1707
                                                _tmp66_ = self->priv->search_entry;
 
1708
                                                _tmp67_ = gtk_entry_get_text (_tmp66_);
 
1709
                                                _tmp68_ = _tmp67_;
 
1710
                                                _tmp69_ = configuration_editor_key_matches (self, _tmp65_, _tmp68_);
 
1711
                                                if (_tmp69_) {
 
1712
                                                        GtkTreeView* _tmp70_;
 
1713
                                                        SettingsModel* _tmp71_;
 
1714
                                                        GtkTreeIter _tmp72_;
 
1715
                                                        GtkTreePath* _tmp73_ = NULL;
 
1716
                                                        GtkTreePath* _tmp74_;
 
1717
                                                        GtkTreeView* _tmp75_;
 
1718
                                                        GtkTreeSelection* _tmp76_ = NULL;
 
1719
                                                        GtkTreeIter _tmp77_;
 
1720
                                                        GtkTreeView* _tmp78_;
 
1721
                                                        SettingsModel* _tmp79_;
 
1722
                                                        GtkTreeIter _tmp80_;
 
1723
                                                        GtkTreePath* _tmp81_ = NULL;
 
1724
                                                        GtkTreePath* _tmp82_;
 
1725
                                                        GtkTreeView* _tmp83_;
 
1726
                                                        GtkTreeSelection* _tmp84_ = NULL;
 
1727
                                                        GtkTreeIter _tmp85_;
 
1728
                                                        GtkTreeView* _tmp86_;
 
1729
                                                        Directory* _tmp87_;
 
1730
                                                        KeyModel* _tmp88_;
 
1731
                                                        KeyModel* _tmp89_;
 
1732
                                                        GtkTreeIter _tmp90_;
 
1733
                                                        GtkTreePath* _tmp91_ = NULL;
 
1734
                                                        GtkTreePath* _tmp92_;
 
1735
                                                        _tmp70_ = self->priv->dir_tree_view;
 
1736
                                                        _tmp71_ = self->priv->model;
 
1737
                                                        _tmp72_ = iter;
 
1738
                                                        _tmp73_ = gtk_tree_model_get_path ((GtkTreeModel*) _tmp71_, &_tmp72_);
 
1739
                                                        _tmp74_ = _tmp73_;
 
1740
                                                        gtk_tree_view_expand_to_path (_tmp70_, _tmp74_);
 
1741
                                                        _gtk_tree_path_free0 (_tmp74_);
1728
1742
                                                        _tmp75_ = self->priv->dir_tree_view;
1729
 
                                                        _tmp76_ = self->priv->model;
 
1743
                                                        _tmp76_ = gtk_tree_view_get_selection (_tmp75_);
1730
1744
                                                        _tmp77_ = iter;
1731
 
                                                        _tmp78_ = gtk_tree_model_get_path ((GtkTreeModel*) _tmp76_, &_tmp77_);
1732
 
                                                        _tmp79_ = _tmp78_;
1733
 
                                                        gtk_tree_view_scroll_to_cell (_tmp75_, _tmp79_, NULL, FALSE, (gfloat) 0, (gfloat) 0);
1734
 
                                                        _gtk_tree_path_free0 (_tmp79_);
1735
 
                                                        _tmp80_ = self->priv->key_tree_view;
1736
 
                                                        _tmp81_ = gtk_tree_view_get_selection (_tmp80_);
1737
 
                                                        _tmp82_ = key_iter;
1738
 
                                                        gtk_tree_selection_select_iter (_tmp81_, &_tmp82_);
 
1745
                                                        gtk_tree_selection_select_iter (_tmp76_, &_tmp77_);
 
1746
                                                        _tmp78_ = self->priv->dir_tree_view;
 
1747
                                                        _tmp79_ = self->priv->model;
 
1748
                                                        _tmp80_ = iter;
 
1749
                                                        _tmp81_ = gtk_tree_model_get_path ((GtkTreeModel*) _tmp79_, &_tmp80_);
 
1750
                                                        _tmp82_ = _tmp81_;
 
1751
                                                        gtk_tree_view_scroll_to_cell (_tmp78_, _tmp82_, NULL, FALSE, (gfloat) 0, (gfloat) 0);
 
1752
                                                        _gtk_tree_path_free0 (_tmp82_);
1739
1753
                                                        _tmp83_ = self->priv->key_tree_view;
1740
 
                                                        _tmp84_ = dir;
1741
 
                                                        _tmp85_ = directory_get_key_model (_tmp84_);
1742
 
                                                        _tmp86_ = _tmp85_;
1743
 
                                                        _tmp87_ = key_iter;
1744
 
                                                        _tmp88_ = gtk_tree_model_get_path ((GtkTreeModel*) _tmp86_, &_tmp87_);
 
1754
                                                        _tmp84_ = gtk_tree_view_get_selection (_tmp83_);
 
1755
                                                        _tmp85_ = key_iter;
 
1756
                                                        gtk_tree_selection_select_iter (_tmp84_, &_tmp85_);
 
1757
                                                        _tmp86_ = self->priv->key_tree_view;
 
1758
                                                        _tmp87_ = dir;
 
1759
                                                        _tmp88_ = directory_get_key_model (_tmp87_);
1745
1760
                                                        _tmp89_ = _tmp88_;
1746
 
                                                        gtk_tree_view_scroll_to_cell (_tmp83_, _tmp89_, NULL, FALSE, (gfloat) 0, (gfloat) 0);
1747
 
                                                        _gtk_tree_path_free0 (_tmp89_);
 
1761
                                                        _tmp90_ = key_iter;
 
1762
                                                        _tmp91_ = gtk_tree_model_get_path ((GtkTreeModel*) _tmp89_, &_tmp90_);
 
1763
                                                        _tmp92_ = _tmp91_;
 
1764
                                                        gtk_tree_view_scroll_to_cell (_tmp86_, _tmp92_, NULL, FALSE, (gfloat) 0, (gfloat) 0);
 
1765
                                                        _gtk_tree_path_free0 (_tmp92_);
1748
1766
                                                        _g_object_unref0 (key);
1749
1767
                                                        _g_object_unref0 (dir);
1750
1768
                                                        return;
1757
1775
                        _g_object_unref0 (dir);
1758
1776
                }
1759
1777
        }
1760
 
        _tmp90_ = self->priv->search_label;
1761
 
        _tmp91_ = _ ("Not found");
1762
 
        gtk_label_set_text (_tmp90_, _tmp91_);
 
1778
        _tmp93_ = self->priv->search_label;
 
1779
        _tmp94_ = _ ("Not found");
 
1780
        gtk_label_set_text (_tmp93_, _tmp94_);
1763
1781
}
1764
1782
 
1765
1783
 
1766
1784
static gboolean configuration_editor_key_matches (ConfigurationEditor* self, Key* key, const gchar* text) {
1767
1785
        gboolean result = FALSE;
1768
 
        Key* _tmp0_ = NULL;
1769
 
        const gchar* _tmp1_ = NULL;
1770
 
        const gchar* _tmp2_ = NULL;
 
1786
        Key* _tmp0_;
 
1787
        const gchar* _tmp1_;
 
1788
        const gchar* _tmp2_;
1771
1789
        gint _tmp3_ = 0;
1772
 
        Key* _tmp4_ = NULL;
1773
 
        SchemaKey* _tmp5_ = NULL;
1774
 
        gboolean _tmp24_ = FALSE;
1775
 
        Key* _tmp25_ = NULL;
1776
 
        GVariant* _tmp26_ = NULL;
1777
 
        GVariant* _tmp27_ = NULL;
1778
 
        const GVariantType* _tmp28_ = NULL;
1779
 
        gboolean _tmp29_ = FALSE;
 
1790
        Key* _tmp4_;
 
1791
        SchemaKey* _tmp5_;
 
1792
        gboolean _tmp26_ = FALSE;
 
1793
        Key* _tmp27_;
 
1794
        GVariant* _tmp28_;
 
1795
        GVariant* _tmp29_;
 
1796
        const GVariantType* _tmp30_;
 
1797
        gboolean _tmp31_ = FALSE;
 
1798
        gboolean _tmp38_;
1780
1799
        g_return_val_if_fail (self != NULL, FALSE);
1781
1800
        g_return_val_if_fail (key != NULL, FALSE);
1782
1801
        g_return_val_if_fail (text != NULL, FALSE);
1792
1811
        _tmp5_ = _tmp4_->schema;
1793
1812
        if (_tmp5_ != NULL) {
1794
1813
                gboolean _tmp6_ = FALSE;
1795
 
                Key* _tmp7_ = NULL;
1796
 
                SchemaKey* _tmp8_ = NULL;
1797
 
                const gchar* _tmp9_ = NULL;
1798
 
                gboolean _tmp15_ = FALSE;
1799
 
                Key* _tmp16_ = NULL;
1800
 
                SchemaKey* _tmp17_ = NULL;
1801
 
                const gchar* _tmp18_ = NULL;
 
1814
                Key* _tmp7_;
 
1815
                SchemaKey* _tmp8_;
 
1816
                const gchar* _tmp9_;
 
1817
                gboolean _tmp15_;
 
1818
                gboolean _tmp16_ = FALSE;
 
1819
                Key* _tmp17_;
 
1820
                SchemaKey* _tmp18_;
 
1821
                const gchar* _tmp19_;
 
1822
                gboolean _tmp25_;
1802
1823
                _tmp7_ = key;
1803
1824
                _tmp8_ = _tmp7_->schema;
1804
1825
                _tmp9_ = _tmp8_->summary;
1805
1826
                if (_tmp9_ != NULL) {
1806
 
                        Key* _tmp10_ = NULL;
1807
 
                        SchemaKey* _tmp11_ = NULL;
1808
 
                        const gchar* _tmp12_ = NULL;
1809
 
                        const gchar* _tmp13_ = NULL;
 
1827
                        Key* _tmp10_;
 
1828
                        SchemaKey* _tmp11_;
 
1829
                        const gchar* _tmp12_;
 
1830
                        const gchar* _tmp13_;
1810
1831
                        gint _tmp14_ = 0;
1811
1832
                        _tmp10_ = key;
1812
1833
                        _tmp11_ = _tmp10_->schema;
1817
1838
                } else {
1818
1839
                        _tmp6_ = FALSE;
1819
1840
                }
1820
 
                if (_tmp6_) {
1821
 
                        result = TRUE;
1822
 
                        return result;
1823
 
                }
1824
 
                _tmp16_ = key;
1825
 
                _tmp17_ = _tmp16_->schema;
1826
 
                _tmp18_ = _tmp17_->description;
1827
 
                if (_tmp18_ != NULL) {
1828
 
                        Key* _tmp19_ = NULL;
1829
 
                        SchemaKey* _tmp20_ = NULL;
1830
 
                        const gchar* _tmp21_ = NULL;
1831
 
                        const gchar* _tmp22_ = NULL;
1832
 
                        gint _tmp23_ = 0;
1833
 
                        _tmp19_ = key;
1834
 
                        _tmp20_ = _tmp19_->schema;
1835
 
                        _tmp21_ = _tmp20_->description;
1836
 
                        _tmp22_ = text;
1837
 
                        _tmp23_ = string_index_of (_tmp21_, _tmp22_, 0);
1838
 
                        _tmp15_ = _tmp23_ >= 0;
1839
 
                } else {
1840
 
                        _tmp15_ = FALSE;
1841
 
                }
 
1841
                _tmp15_ = _tmp6_;
1842
1842
                if (_tmp15_) {
1843
1843
                        result = TRUE;
1844
1844
                        return result;
1845
1845
                }
 
1846
                _tmp17_ = key;
 
1847
                _tmp18_ = _tmp17_->schema;
 
1848
                _tmp19_ = _tmp18_->description;
 
1849
                if (_tmp19_ != NULL) {
 
1850
                        Key* _tmp20_;
 
1851
                        SchemaKey* _tmp21_;
 
1852
                        const gchar* _tmp22_;
 
1853
                        const gchar* _tmp23_;
 
1854
                        gint _tmp24_ = 0;
 
1855
                        _tmp20_ = key;
 
1856
                        _tmp21_ = _tmp20_->schema;
 
1857
                        _tmp22_ = _tmp21_->description;
 
1858
                        _tmp23_ = text;
 
1859
                        _tmp24_ = string_index_of (_tmp22_, _tmp23_, 0);
 
1860
                        _tmp16_ = _tmp24_ >= 0;
 
1861
                } else {
 
1862
                        _tmp16_ = FALSE;
 
1863
                }
 
1864
                _tmp25_ = _tmp16_;
 
1865
                if (_tmp25_) {
 
1866
                        result = TRUE;
 
1867
                        return result;
 
1868
                }
1846
1869
        }
1847
 
        _tmp25_ = key;
1848
 
        _tmp26_ = key_get_value (_tmp25_);
1849
 
        _tmp27_ = _tmp26_;
1850
 
        _tmp28_ = G_VARIANT_TYPE_STRING;
1851
 
        _tmp29_ = g_variant_is_of_type (_tmp27_, _tmp28_);
1852
 
        if (_tmp29_) {
1853
 
                Key* _tmp30_ = NULL;
1854
 
                GVariant* _tmp31_ = NULL;
1855
 
                GVariant* _tmp32_ = NULL;
1856
 
                const gchar* _tmp33_ = NULL;
1857
 
                const gchar* _tmp34_ = NULL;
1858
 
                gint _tmp35_ = 0;
1859
 
                _tmp30_ = key;
1860
 
                _tmp31_ = key_get_value (_tmp30_);
1861
 
                _tmp32_ = _tmp31_;
1862
 
                _tmp33_ = g_variant_get_string (_tmp32_, NULL);
1863
 
                _tmp34_ = text;
1864
 
                _tmp35_ = string_index_of (_tmp33_, _tmp34_, 0);
1865
 
                _tmp24_ = _tmp35_ >= 0;
 
1870
        _tmp27_ = key;
 
1871
        _tmp28_ = key_get_value (_tmp27_);
 
1872
        _tmp29_ = _tmp28_;
 
1873
        _tmp30_ = G_VARIANT_TYPE_STRING;
 
1874
        _tmp31_ = g_variant_is_of_type (_tmp29_, _tmp30_);
 
1875
        if (_tmp31_) {
 
1876
                Key* _tmp32_;
 
1877
                GVariant* _tmp33_;
 
1878
                GVariant* _tmp34_;
 
1879
                const gchar* _tmp35_ = NULL;
 
1880
                const gchar* _tmp36_;
 
1881
                gint _tmp37_ = 0;
 
1882
                _tmp32_ = key;
 
1883
                _tmp33_ = key_get_value (_tmp32_);
 
1884
                _tmp34_ = _tmp33_;
 
1885
                _tmp35_ = g_variant_get_string (_tmp34_, NULL);
 
1886
                _tmp36_ = text;
 
1887
                _tmp37_ = string_index_of (_tmp35_, _tmp36_, 0);
 
1888
                _tmp26_ = _tmp37_ >= 0;
1866
1889
        } else {
1867
 
                _tmp24_ = FALSE;
 
1890
                _tmp26_ = FALSE;
1868
1891
        }
1869
 
        if (_tmp24_) {
 
1892
        _tmp38_ = _tmp26_;
 
1893
        if (_tmp38_) {
1870
1894
                result = TRUE;
1871
1895
                return result;
1872
1896
        }
1877
1901
 
1878
1902
static gboolean configuration_editor_get_next_iter (ConfigurationEditor* self, GtkTreeIter* iter) {
1879
1903
        gboolean result = FALSE;
1880
 
        SettingsModel* _tmp0_ = NULL;
1881
 
        GtkTreeIter _tmp1_ = {0};
 
1904
        SettingsModel* _tmp0_;
 
1905
        GtkTreeIter _tmp1_;
1882
1906
        gboolean _tmp2_ = FALSE;
1883
1907
        g_return_val_if_fail (self != NULL, FALSE);
1884
1908
        g_return_val_if_fail (iter != NULL, FALSE);
1886
1910
        _tmp1_ = *iter;
1887
1911
        _tmp2_ = gtk_tree_model_iter_has_child ((GtkTreeModel*) _tmp0_, &_tmp1_);
1888
1912
        if (_tmp2_) {
1889
 
                SettingsModel* _tmp3_ = NULL;
1890
 
                GtkTreeIter _tmp4_ = {0};
 
1913
                SettingsModel* _tmp3_;
 
1914
                GtkTreeIter _tmp4_;
1891
1915
                GtkTreeIter _tmp5_ = {0};
1892
1916
                _tmp3_ = self->priv->model;
1893
1917
                _tmp4_ = *iter;
1897
1921
                return result;
1898
1922
        }
1899
1923
        while (TRUE) {
1900
 
                SettingsModel* _tmp6_ = NULL;
 
1924
                SettingsModel* _tmp6_;
1901
1925
                gboolean _tmp7_ = FALSE;
1902
 
                SettingsModel* _tmp8_ = NULL;
1903
 
                GtkTreeIter _tmp9_ = {0};
 
1926
                SettingsModel* _tmp8_;
 
1927
                GtkTreeIter _tmp9_;
1904
1928
                GtkTreeIter _tmp10_ = {0};
1905
1929
                gboolean _tmp11_ = FALSE;
1906
1930
                _tmp6_ = self->priv->model;
1923
1947
 
1924
1948
 
1925
1949
static void configuration_editor_about_cb (ConfigurationEditor* self) {
1926
 
        gchar** authors = NULL;
1927
 
        gchar* _tmp0_ = NULL;
 
1950
        gchar* _tmp0_;
1928
1951
        gchar** _tmp1_ = NULL;
1929
 
        gint authors_length1 = 0;
1930
 
        gint _authors_size_ = 0;
1931
 
        gchar* license = NULL;
 
1952
        gchar** authors;
 
1953
        gint authors_length1;
 
1954
        gint _authors_size_;
1932
1955
        const gchar* _tmp2_ = NULL;
1933
 
        gchar* _tmp3_ = NULL;
1934
 
        GtkApplicationWindow* _tmp4_ = NULL;
 
1956
        gchar* _tmp3_;
 
1957
        gchar* license;
 
1958
        GtkApplicationWindow* _tmp4_;
1935
1959
        const gchar* _tmp5_ = NULL;
1936
1960
        const gchar* _tmp6_ = NULL;
1937
1961
        const gchar* _tmp7_ = NULL;
1971
1995
 
1972
1996
 
1973
1997
static void configuration_editor_quit_cb (ConfigurationEditor* self) {
1974
 
        GtkApplicationWindow* _tmp0_ = NULL;
 
1998
        GtkApplicationWindow* _tmp0_;
1975
1999
        g_return_if_fail (self != NULL);
1976
2000
        _tmp0_ = self->priv->window;
1977
2001
        gtk_widget_destroy ((GtkWidget*) _tmp0_);
1980
2004
 
1981
2005
gint configuration_editor_main (gchar** args, int args_length1) {
1982
2006
        gint result = 0;
1983
 
        ConfigurationEditor* app = NULL;
1984
 
        ConfigurationEditor* _tmp0_ = NULL;
1985
 
        gchar** _tmp1_ = NULL;
1986
 
        gint _tmp1__length1 = 0;
 
2007
        ConfigurationEditor* _tmp0_;
 
2008
        ConfigurationEditor* app;
 
2009
        gchar** _tmp1_;
 
2010
        gint _tmp1__length1;
1987
2011
        gint _tmp2_ = 0;
1988
2012
        setlocale (LC_ALL, "");
1989
2013
        bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
2001
2025
 
2002
2026
 
2003
2027
int main (int argc, char ** argv) {
2004
 
#if !GLIB_CHECK_VERSION (2,35,0)
2005
2028
        g_type_init ();
2006
 
#endif
2007
2029
        return configuration_editor_main (argv, argc);
2008
2030
}
2009
2031