← Back to team overview

elementaryart team mailing list archive

[Merge] lp:~codygarver/marlin/add-colon-space-contextview into lp:marlin

 

Cody Garver has proposed merging lp:~codygarver/marlin/add-colon-space-contextview into lp:marlin.

Requested reviews:
  The elementary Project (elementaryproject)

For more details, see:
https://code.launchpad.net/~codygarver/marlin/add-colon-space-contextview/+merge/78028

Changes ContextView items like "OwnerCody Garver" to "Owner: Cody Garver" style.
-- 
https://code.launchpad.net/~codygarver/marlin/add-colon-space-contextview/+merge/78028
Your team The elementary Project is requested to review the proposed merge of lp:~codygarver/marlin/add-colon-space-contextview into lp:marlin.
=== modified file 'src/View/ContextView.vala'
--- src/View/ContextView.vala	2011-08-11 06:55:40 +0000
+++ src/View/ContextView.vala	2011-10-04 02:49:24 +0000
@@ -252,16 +252,16 @@
 
             /* TODO hide infos for ListView mode: we don't want the COLUMNS infos to show if
                we are in listview: size, type, modified */
-            info.add(new Pair<string, string>(_("Name"), last_gof.name));
-            info.add(new Pair<string, string>(_("Type"), last_gof.formated_type));
+            info.add(new Pair<string, string>(_("Name") + (": "), last_gof.name));
+            info.add(new Pair<string, string>(_("Type") + (": "), last_gof.formated_type));
 
             if (file_info.get_is_symlink())
-                info.add(new Pair<string, string>(_("Target"), file_info.get_symlink_target()));
+                info.add(new Pair<string, string>(_("Target") + (": "), file_info.get_symlink_target()));
             if(raw_type != FileType.DIRECTORY)
-                info.add(new Pair<string, string>(_("Size"), last_gof.format_size));
+                info.add(new Pair<string, string>(_("Size") + (": "), last_gof.format_size));
             /* localized time depending on MARLIN_PREFERENCES_DATE_FORMAT locale, iso .. */
-            info.add(new Pair<string, string>(_("Modified"), last_gof.formated_modified));
-            info.add(new Pair<string, string>(_("Owner"), file_info.get_attribute_string(FILE_ATTRIBUTE_OWNER_USER_REAL)));
+            info.add(new Pair<string, string>(_("Modified") + (": "), last_gof.formated_modified));
+            info.add(new Pair<string, string>(_("Owner") + (": "), file_info.get_attribute_string(FILE_ATTRIBUTE_OWNER_USER_REAL)));
 
             label.label = last_gof.name;
 


Follow ups