view: use dialog for rename
So we do something similar than for the new folder dialog. Also we were using gtk_dialog_run, but that implies the main thread is blocked, so it's not a good option for applications with multiple windows. Instead connect to the response signal of the dialogs.
parent
0004e583