! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Add ThunarxFileInfoList as shareable datastructure
Status:
RESOLVED: INVALID

Comments

Description Benedikt Meurer editbugs 2006-02-02 16:53:27 CET
We should have a ThunarxFileInfoList in thunarx, which is then given to plugins,
and plugins simply take a reference on the list, rather than having to do a deep
copy (this will also be useful inside Thunar!).

The datastructure is basicly:

typedef struct {
  gint ref_count;
  const GList *head;
} ThunarxFileInfoList;

and we'd have the following methods:

thunarx_file_info_list_new()
thunarx_file_info_list_wrap() /* takes over ownership of the list */
thunarx_file_info_list_ref()
thunarx_file_info_list_unref()
thunarx_file_info_list_get_head()
thunarx_file_info_list_get_tail()
Comment 1 Benedikt Meurer editbugs 2006-02-02 16:53:53 CET
And of course a boxed type for the ThunarxFileInfoList.
Comment 2 Benedikt Meurer editbugs 2006-02-03 09:54:05 CET
Maybe for 2.0, together with an advanced
ThunarxActionProvider[selected-files,ui-manager,current-directory] framework.

Bug #1422

Reported by:
Benedikt Meurer
Reported on: 2006-02-02
Last modified on: 2012-10-30

People

Assignee:
Jannis Pohlmann
CC List:
1 user

Version

Version:
0.2.1svn

Attachments

Additional information