* *: Patch mostly from Andrea Santilli <yawara@quipo.it> (bug 4365).
* thunar/{thunar-file.c,thunar-file.h}: Replace thunar_file_is_desktop() macro with a function that recognizes the xdg user Desktop folder. The old macro is still available for glib < 2.14.0 * thunar/thunar-private.h: Add macros to better support GUserDirectory and an array containing the xdg user dir defaults. * thunar/thunar-{launcher.c,shortcuts-model.c,templates-action.c}: Address to the right Desktop and Templates directories. Don't list templates in submenus if the templates dir points to $HOME. * thunar/thunar-shortcuts-model.c: Creation and translation of links to some xdg user dirs in the sidebar in case of unexisting ~/.gtk-bookmarks. Entries pointing to $HOME are disabled. * thunar/{thunar-shortcuts-model.c,thunar-private.h}: Add _thunar_get_xdg_user_dirs_locale() to translate the xdg user dir names (package xdg-user-dirs needed for that). * thunar/thunar-stock.h: Add icon name for normal directories. * thunar/{thunar-window.c,thunar-window-ui.xml}: Add new menu entries, hide the ones related to unused directories and translate their labels. Entries pointing to $HOME are disabled. (Old svn revision: 28500)
Showing
- ChangeLog 23 additions, 0 deletionsChangeLog
- thunar/thunar-file.c 27 additions, 0 deletionsthunar/thunar-file.c
- thunar/thunar-file.h 3 additions, 12 deletionsthunar/thunar-file.h
- thunar/thunar-launcher.c 14 additions, 1 deletionthunar/thunar-launcher.c
- thunar/thunar-private.h 35 additions, 0 deletionsthunar/thunar-private.h
- thunar/thunar-shortcuts-model.c 168 additions, 1 deletionthunar/thunar-shortcuts-model.c
- thunar/thunar-stock.c 6 additions, 0 deletionsthunar/thunar-stock.c
- thunar/thunar-stock.h 7 additions, 0 deletionsthunar/thunar-stock.h
- thunar/thunar-templates-action.c 22 additions, 3 deletionsthunar/thunar-templates-action.c
- thunar/thunar-window-ui.xml 8 additions, 0 deletionsthunar/thunar-window-ui.xml
- thunar/thunar-window.c 332 additions, 86 deletionsthunar/thunar-window.c
Loading
Please register or sign in to comment