Skip to content

Commit e77b370

Browse files
authored
DetailsColumn: rename button to Properties and align (#2698)
1 parent d412585 commit e77b370

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

src/View/DetailsColumn.vala

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -112,10 +112,6 @@ public class Files.View.DetailsColumn : Gtk.Box {
112112
}
113113
}
114114

115-
var details_box = new Gtk.Box (Gtk.Orientation.VERTICAL, 0) {
116-
vexpand = true
117-
};
118-
119115
var name_key_label = make_key_label (_("Name:"));
120116
var name_value = make_value_label (file.get_display_name ());
121117

@@ -210,11 +206,10 @@ public class Files.View.DetailsColumn : Gtk.Box {
210206
n++;
211207
}
212208

213-
Gtk.Button more_info_button = new Gtk.Button.with_label (_("More Details")) {
214-
halign = Gtk.Align.START
209+
var more_info_button = new Gtk.Button.with_label (_("Properties")) {
210+
halign = END
215211
};
216212

217-
more_info_button.get_style_context ().add_class (Gtk.STYLE_CLASS_FLAT);
218213
more_info_button.clicked.connect (() => {
219214
var the_file_in_a_list = new GLib.List<Files.File> ();
220215
the_file_in_a_list.append (file);

0 commit comments

Comments
 (0)