~jeremywootten/pantheon-files/fix-1604300-merge-find-functionalities-part2

« back to all changes in this revision

Viewing changes to src/View/AbstractPropertiesDialog.vala

  • Committer: RabbitBot
  • Author(s): Daniel Foré
  • Date: 2016-12-22 23:46:10 UTC
  • mfrom: (2405.1.1 ngettext-properties)
  • Revision ID: rabbitbot-20161222234610-1hg60qailagdk0ot
AbstractPropertiesDialog.vala: Use GObject-style construction

PropertiesWindow.vala:
* Use ngettext pluralization
* Use "," to separate files an subfolders, like the overlay bar
* Fix "contains:" label not showing

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
    }
36
36
 
37
37
    public AbstractPropertiesDialog (string _title, Gtk.Window parent) {
38
 
        title = _title;
39
 
        resizable = false;
40
 
        deletable = false;
 
38
        Object (title: _title,
 
39
                transient_for: parent,
 
40
                resizable: false,
 
41
                deletable: false,
 
42
                window_position: Gtk.WindowPosition.CENTER_ON_PARENT,
 
43
                destroy_with_parent: true
 
44
        );
 
45
    }
 
46
 
 
47
    construct {
41
48
        set_default_size (220, -1);
42
 
        transient_for = parent;
43
 
        window_position = Gtk.WindowPosition.CENTER_ON_PARENT;
44
 
        border_width = 6;
45
 
        destroy_with_parent = true;
46
49
 
47
50
        var info_header = new HeaderLabel (_("Info"));
48
51