summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Schwinn <alexxcons@xfce.org>2020-11-30 23:15:20 +0100
committerAlexander Schwinn <alexxcons@xfce.org>2020-12-02 14:29:58 +0100
commitc6eb98de4b813f735bcdce932c33e3e48c3d73f4 (patch)
tree19998cda5a0bedf0b023831217b0bb097c4324b1
parent96e9cfe1d011053c6a34daf23e03359e1644c64a (diff)
downloadthunar-c6eb98de4b813f735bcdce932c33e3e48c3d73f4.tar.gz
Regression: Fix broken bulk renamer context menu (Issue #436)
Since "current-directory" of the launcher was not initialized, the context menu was not fully shown, and activation led to a crash. Fixes #436
-rw-r--r--thunar/thunar-renamer-dialog.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/thunar/thunar-renamer-dialog.c b/thunar/thunar-renamer-dialog.c
index d5122702..92721245 100644
--- a/thunar/thunar-renamer-dialog.c
+++ b/thunar/thunar-renamer-dialog.c
@@ -367,6 +367,7 @@ thunar_renamer_dialog_init (ThunarRenamerDialog *renamer_dialog)
/* setup the launcher support for this dialog */
renamer_dialog->launcher = g_object_new (THUNAR_TYPE_LAUNCHER, "widget", GTK_WIDGET (renamer_dialog), NULL);
exo_binding_new (G_OBJECT (renamer_dialog), "selected-files", G_OBJECT (renamer_dialog->launcher), "selected-files");
+ exo_binding_new (G_OBJECT (renamer_dialog), "current-directory", G_OBJECT (renamer_dialog->launcher), "current-directory");
/* add the toolbar to the dialog */
toolbar = gtk_toolbar_new ();