~enso-os/+junk/welcome

« back to all changes in this revision

Viewing changes to src/View/FlowBoxItem.vala

  • Committer: Nick Wilkins
  • Date: 2018-06-12 08:47:39 UTC
  • Revision ID: nickawilkins@hotmail.com-20180612084739-z2ezofjahbn3kzh2
update welcome code

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
    private string s_icon_name;
27
27
 
28
28
    public FlowBoxItem (string title, string icon) {
29
 
                s_title = title;
 
29
                    s_title = title;
30
30
        var display_image = new Gtk.Image ();
31
31
        display_image.icon_size = Gtk.IconSize.DIALOG;
32
32
        display_image.valign = Gtk.Align.CENTER;
62
62
        child = themed_grid;
63
63
 
64
64
        //tooltip_text = app_category.summary ?? "";
65
 
        
66
 
                display_image.icon_name = icon;
67
 
                ((Gtk.Misc) name_label).xalign = 0;
68
 
                name_label.halign = Gtk.Align.START;
69
 
                name_label.label = title;
70
 
                
 
65
 
 
66
                display_image.icon_name = icon;
 
67
                ((Gtk.Misc) name_label).xalign = 0;
 
68
                name_label.halign = Gtk.Align.START;
 
69
                name_label.label = title;
 
70
 
71
71
        /*} else {
72
72
            display_image.destroy ();
73
73
            name_label.justify = Gtk.Justification.CENTER;
77
77
    }
78
78
 
79
79
    construct {
80
 
        
 
80
 
81
81
    }
82
82
}