Xfce Wiki

Sub domains
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
releng:4.14:roadmap:thunar:thunarx-cleanup [2017/11/01 04:37] – [Plugins/components to update] Add archive and media-tags WIP links andreldmreleng:4.14:roadmap:thunar:thunarx-cleanup [2018/06/02 06:09] – thunar-shares-plugin and thunar-vcs-plugin released andreldm
Line 1: Line 1:
 ====== Thunarx API clean-up ====== ====== Thunarx API clean-up ======
  
-Since the API soname had to bumped to 3 to avoid conflicts with GTK3 symbols, it's an appropriate opportunity to remove deprecated Widgets from the Thunar Extension Framework (thunarx), specifically [[https://developer.gnome.org/gtk3/stable/GtkAction.html|GtkAction]]+Since the API soname had to bumped to avoid conflicts with GTK3 symbols, it's an appropriate opportunity to remove deprecated Widgets from the Thunar Extension Framework (thunarx), specifically [[https://developer.gnome.org/gtk3/stable/GtkAction.html|GtkAction]].
- +
-Considering the effort it would that take replace all GtkAction/GtkUiManager related code with [[https://wiki.gnome.org/HowDoI/GAction|GAction]]/GtkBuilder/[[https://wiki.gnome.org/HowDoI/GMenu|GMenu]], and realising this is [[https://wiki.gnome.org/Projects/GTK+/Menus#Comments|not a straightforward task]], we decided to keep these deprecated internally and deal with them by the time of the gtk4 port. Based on [[https://github.com/linuxmint/nemo/tree/master/libnemo-extension|Nemo's approach]], the **ThunarxMenuItem** class was designed as a drop-in replacement for GtkAction yield by providers, hence updating plugins should be an easy task+
  
 +Considering the effort it would that take replace all GtkAction/GtkUiManager related code with [[https://wiki.gnome.org/HowDoI/GAction|GAction]]/GtkBuilder/[[https://wiki.gnome.org/HowDoI/GMenu|GMenu]], and realising this is [[https://wiki.gnome.org/Projects/GTK+/Menus#Comments|not a straightforward task]], we decided to keep these deprecated widget internally and deal with them by the time of the GTK4 port. Based on [[https://github.com/linuxmint/nemo/tree/master/libnemo-extension|Nemo's approach]], the **ThunarxMenuItem** and **ThunarxMenu** classes were designed as drop-in replacements for GtkAction yielded by providers, hence updating plugins should be an easy task.
 ==== Provider interfaces affected ==== ==== Provider interfaces affected ====
   * ThunarxMenuProvider - The interface to extensions that provide additional menu items   * ThunarxMenuProvider - The interface to extensions that provide additional menu items
Line 24: Line 23:
   * [X] thunar-user-customizable-actions ("uca", bundled with thunar)   * [X] thunar-user-customizable-actions ("uca", bundled with thunar)
   * [X] thunar-wallpaper-plugin (bundled with thunar)   * [X] thunar-wallpaper-plugin (bundled with thunar)
-  * <del>thunar-actions-plugin (unmaintained)</del> +  * [X] <del>thunar-actions-plugin</del> (unmaintained, moved to archive) 
-  * [X] thunar-archive-plugin -> [[https://github.com/andreldm/thunar-archive-plugin|WIP Repo]] +  * [X] thunar-archive-plugin 
-  * [  ] thunar-media-tags-plugin -> [[https://bugzilla.xfce.org/show_bug.cgi?id=13968|WIP Patch]] +  * [X] thunar-media-tags-plugin 
-  * [  ] thunar-shares-plugin +  * [X] thunar-shares-plugin 
-  * [  ] thunar-vcs-plugin +  * [X] thunar-vcs-plugin 
-  * [  ] xfdesktop -> [[https://paste.ubuntu.com/25862428/|WIP Patch]] +  * [X] xfdesktop (merged, will be available in 4.13.2) 
-  * [  ] thunarx-python+  * [X] thunarx-python 
 + 
 +==== Compatibility Matrix ==== 
 + 
 +^ Component ^ Thunar 1.6.x ^ Thunar 1.7.x+ ^ Works with both ^ 
 +| xfdesktop | 4.12 | 4.13.2+ | No | 
 +| thunar-archive-plugin | 0.3.1 | 0.4.0 | No | 
 +| thunar-media-tags-plugin | 0.2.1 | 0.3.0 | No | 
 +| thunar-shares-plugin | 0.2.0 | 0.3.0 | No | 
 +| thunar-vcs-plugin | 0.1.5 | 0.1.90 | No | 
 +| thunarx-python | 0.3.0 | 0.5.0 | No |
  
-==== WIP Repositories ==== 
-  * https://github.com/andreldm/thunar/tree/gtkaction-replacement 
-  * https://github.com/andreldm/thunar-archive-plugin/