Xfce Wiki

Sub domains
 

Differences

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

Link to this comparison view

Next revision
Previous revision
releng:4.14:roadmap:thunar:thunarx-cleanup [2017/10/26 04:54]
andreldm created
releng:4.14:roadmap:thunar:thunarx-cleanup [2018/07/17 00:27] (current)
andreldm [Compatibility Matrix] Update vcs-plugin version
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)
-  * [  ] thunar-actions-plugin+  * [X<del>thunar-actions-plugin</​del>​ (unmaintained,​ moved to archive)
   * [X] thunar-archive-plugin   * [X] thunar-archive-plugin
-  * [  ] thunar-media-tags-plugin +  * [X] thunar-media-tags-plugin 
-  * [  ] thunar-shares-plugin +  * [X] thunar-shares-plugin 
-  * [  ] thunar-vcs-plugin +  * [X] thunar-vcs-plugin 
-  * [  ] xfdesktop +  * [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.2.0 | 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/​