Merge lp:~codygarver/marlin/add-colon-space-contextview into lp:marlin/0.x

Proposed by Cody Garver
Status: Merged
Merged at revision: 563
Proposed branch: lp:~codygarver/marlin/add-colon-space-contextview
Merge into: lp:marlin/0.x
Diff against target: 25 lines (+6/-6)
1 file modified
src/View/ContextView.vala (+6/-6)
To merge this branch: bzr merge lp:~codygarver/marlin/add-colon-space-contextview
Reviewer Review Type Date Requested Status
The elementary Project Pending
Review via email: mp+78028@code.launchpad.net

Description of the change

Changes ContextView items like "OwnerCody Garver" to "Owner: Cody Garver" style.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/View/ContextView.vala'
2--- src/View/ContextView.vala 2011-08-11 06:55:40 +0000
3+++ src/View/ContextView.vala 2011-10-04 02:49:24 +0000
4@@ -252,16 +252,16 @@
5
6 /* TODO hide infos for ListView mode: we don't want the COLUMNS infos to show if
7 we are in listview: size, type, modified */
8- info.add(new Pair<string, string>(_("Name"), last_gof.name));
9- info.add(new Pair<string, string>(_("Type"), last_gof.formated_type));
10+ info.add(new Pair<string, string>(_("Name") + (": "), last_gof.name));
11+ info.add(new Pair<string, string>(_("Type") + (": "), last_gof.formated_type));
12
13 if (file_info.get_is_symlink())
14- info.add(new Pair<string, string>(_("Target"), file_info.get_symlink_target()));
15+ info.add(new Pair<string, string>(_("Target") + (": "), file_info.get_symlink_target()));
16 if(raw_type != FileType.DIRECTORY)
17- info.add(new Pair<string, string>(_("Size"), last_gof.format_size));
18+ info.add(new Pair<string, string>(_("Size") + (": "), last_gof.format_size));
19 /* localized time depending on MARLIN_PREFERENCES_DATE_FORMAT locale, iso .. */
20- info.add(new Pair<string, string>(_("Modified"), last_gof.formated_modified));
21- info.add(new Pair<string, string>(_("Owner"), file_info.get_attribute_string(FILE_ATTRIBUTE_OWNER_USER_REAL)));
22+ info.add(new Pair<string, string>(_("Modified") + (": "), last_gof.formated_modified));
23+ info.add(new Pair<string, string>(_("Owner") + (": "), file_info.get_attribute_string(FILE_ATTRIBUTE_OWNER_USER_REAL)));
24
25 label.label = last_gof.name;
26

Subscribers

People subscribed via source and target branches

to status/vote changes: