Implement a new D-Bus method RenameFile(uri, display, startup-id).
This method can be used by applications like xfdesktop in order to prompt the user to choose a new name for a file. This way xfdesktop doesn't have to implement the rename dialog and method itself anymore, which results in a more consistent UI and only one place would have to be changed if this UI needs to be revamped later.
Showing
- thunar/thunar-application.c 70 additions, 0 deletionsthunar/thunar-application.c
- thunar/thunar-application.h 5 additions, 0 deletionsthunar/thunar-application.h
- thunar/thunar-dbus-service-infos.xml 16 additions, 1 deletionthunar/thunar-dbus-service-infos.xml
- thunar/thunar-dbus-service.c 34 additions, 0 deletionsthunar/thunar-dbus-service.c
Loading
Please register or sign in to comment