From c6eb98de4b813f735bcdce932c33e3e48c3d73f4 Mon Sep 17 00:00:00 2001 From: Alexander Schwinn <alexxcons@xfce.org> Date: Mon, 30 Nov 2020 23:15:20 +0100 Subject: [PATCH] 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 --- thunar/thunar-renamer-dialog.c | 1 + 1 file changed, 1 insertion(+) diff --git a/thunar/thunar-renamer-dialog.c b/thunar/thunar-renamer-dialog.c index d5122702a..92721245d 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 (); -- GitLab