summaryrefslogtreecommitdiff
path: root/libraries/libfm/patches/0012-Fix-for-localizations-of-Detailed-List-View-headers.patch
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2012-12-18 21:08:08 -0500
committerdsomero <xgizzmo@slackbuilds.org>2012-12-23 09:16:47 -0500
commit23b8c687d9c1de82297556d7a82f81555fe9f6a7 (patch)
tree16a44d58b35f7b1c8c2e3116a6bc5db2383b4fb9 /libraries/libfm/patches/0012-Fix-for-localizations-of-Detailed-List-View-headers.patch
parent4d841526538160b1ee1bc6eea1defecd06184f6a (diff)
downloadslackbuilds-23b8c687d9c1de82297556d7a82f81555fe9f6a7.tar.gz
libraries/libfm: Apply patches from upstream.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'libraries/libfm/patches/0012-Fix-for-localizations-of-Detailed-List-View-headers.patch')
-rw-r--r--libraries/libfm/patches/0012-Fix-for-localizations-of-Detailed-List-View-headers.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/libraries/libfm/patches/0012-Fix-for-localizations-of-Detailed-List-View-headers.patch b/libraries/libfm/patches/0012-Fix-for-localizations-of-Detailed-List-View-headers.patch
new file mode 100644
index 0000000000..0fb620cc6f
--- /dev/null
+++ b/libraries/libfm/patches/0012-Fix-for-localizations-of-Detailed-List-View-headers.patch
@@ -0,0 +1,26 @@
+From 924208952dbd8408b20b9357d7154f7aa5081b3e Mon Sep 17 00:00:00 2001
+From: Andriy Grytsenko <andrej@rep.kiev.ua>
+Date: Sat, 17 Nov 2012 04:36:58 +0200
+Subject: [PATCH 12/22] Fix for localizations of Detailed List View headers.
+
+Detailed List View headers appeared untranslated, macro _() should be added.
+---
+ src/gtk/fm-folder-model.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/gtk/fm-folder-model.c b/src/gtk/fm-folder-model.c
+index 36f0d00..6072b3e 100644
+--- a/src/gtk/fm-folder-model.c
++++ b/src/gtk/fm-folder-model.c
+@@ -1783,7 +1783,7 @@ const char* fm_folder_model_col_get_title(FmFolderModel* model, FmFolderModelCol
+ if(G_UNLIKELY(!FM_FOLDER_MODEL_COL_IS_VALID(col_id)
+ || column_infos[col_id] == NULL)) /* invalid id */
+ return NULL;
+- return column_infos[col_id]->title;
++ return _(column_infos[col_id]->title);
+ }
+
+ /**
+--
+1.8.0.1
+