summaryrefslogtreecommitdiff
path: root/system/pcmanfm/patches/0004-3582257-Open-entered-folder-button-do-nothing.patch
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2012-12-18 21:08:11 -0500
committerdsomero <xgizzmo@slackbuilds.org>2012-12-23 09:16:48 -0500
commit852519e268e9990fcced5c902146b5dfc4257216 (patch)
treeff030ae6a4fae88437c7b33be895c54c5acd7e64 /system/pcmanfm/patches/0004-3582257-Open-entered-folder-button-do-nothing.patch
parent23b8c687d9c1de82297556d7a82f81555fe9f6a7 (diff)
downloadslackbuilds-852519e268e9990fcced5c902146b5dfc4257216.tar.gz
system/pcmanfm: Apply patches from upstream.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'system/pcmanfm/patches/0004-3582257-Open-entered-folder-button-do-nothing.patch')
-rw-r--r--system/pcmanfm/patches/0004-3582257-Open-entered-folder-button-do-nothing.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/system/pcmanfm/patches/0004-3582257-Open-entered-folder-button-do-nothing.patch b/system/pcmanfm/patches/0004-3582257-Open-entered-folder-button-do-nothing.patch
new file mode 100644
index 0000000000..9b50ccb078
--- /dev/null
+++ b/system/pcmanfm/patches/0004-3582257-Open-entered-folder-button-do-nothing.patch
@@ -0,0 +1,27 @@
+From 119e52519cc50a34e99b60524eca856e0e0a835f Mon Sep 17 00:00:00 2001
+From: Andriy Grytsenko <andrej@rep.kiev.ua>
+Date: Wed, 14 Nov 2012 23:52:34 +0200
+Subject: [PATCH 04/11] [#3582257]"Open entered folder" button do nothing
+
+This should be done another way (as it is done in libfm-demo)
+since until we activate entry the path in it isn't updated yet.
+---
+ src/main-win.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/main-win.c b/src/main-win.c
+index 4431106..b3e462a 100644
+--- a/src/main-win.c
++++ b/src/main-win.c
+@@ -903,7 +903,7 @@ static void on_close_tab(GtkAction* act, FmMainWin* win)
+
+ static void on_go(GtkAction* act, FmMainWin* win)
+ {
+- fm_main_win_chdir(win, fm_path_entry_get_path(win->location));
++ fm_main_win_chdir_by_name(win, gtk_entry_get_text(GTK_ENTRY(win->location)));
+ }
+
+ static void _update_hist_buttons(FmMainWin* win)
+--
+1.8.0.1
+