summaryrefslogtreecommitdiffstats
path: root/system/pcmanfm/patches/0005-Display-full-path-in-tab-tooltip.patch
diff options
context:
space:
mode:
author Matteo Bernardini <ponce@slackbuilds.org>2012-12-18 21:08:11 -0500
committer dsomero <xgizzmo@slackbuilds.org>2012-12-23 09:16:48 -0500
commit852519e268e9990fcced5c902146b5dfc4257216 (patch)
treeff030ae6a4fae88437c7b33be895c54c5acd7e64 /system/pcmanfm/patches/0005-Display-full-path-in-tab-tooltip.patch
parent23b8c687d9c1de82297556d7a82f81555fe9f6a7 (diff)
downloadslackbuilds-852519e268e9990fcced5c902146b5dfc4257216.tar.gz
slackbuilds-852519e268e9990fcced5c902146b5dfc4257216.tar.xz
system/pcmanfm: Apply patches from upstream.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'system/pcmanfm/patches/0005-Display-full-path-in-tab-tooltip.patch')
-rw-r--r--system/pcmanfm/patches/0005-Display-full-path-in-tab-tooltip.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/system/pcmanfm/patches/0005-Display-full-path-in-tab-tooltip.patch b/system/pcmanfm/patches/0005-Display-full-path-in-tab-tooltip.patch
new file mode 100644
index 0000000000..14e18cfbdd
--- /dev/null
+++ b/system/pcmanfm/patches/0005-Display-full-path-in-tab-tooltip.patch
@@ -0,0 +1,27 @@
+From 1238e8d038fccdc6d1965ef05a815606d2088496 Mon Sep 17 00:00:00 2001
+From: Vadim Ushakov <igeekless@gmail.com>
+Date: Fri, 16 Nov 2012 01:21:06 +0800
+Subject: [PATCH 05/11] Display full path in tab tooltip
+
+---
+ src/tab-page.c | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/src/tab-page.c b/src/tab-page.c
+index 29a4192..48599b0 100644
+--- a/src/tab-page.c
++++ b/src/tab-page.c
+@@ -532,6 +532,10 @@ static void fm_tab_page_chdir_without_history(FmTabPage* page, FmPath* path)
+ fm_tab_label_set_text(page->tab_label, disp_name);
+ g_free(disp_name);
+
++ char * disp_path = fm_path_display_name(path, FALSE);
++ fm_tab_label_set_tooltip_text(FM_TAB_LABEL(page->tab_label), disp_path);
++ g_free(disp_path);
++
+ free_folder(page);
+
+ page->folder = fm_folder_from_path(path);
+--
+1.8.0.1
+