! 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 !
[PATCH] The settings-editor can't display GPtrArray
Status:
RESOLVED: MOVED
Product:
Xfce4-settings
Component:
Settings Editor

Comments

Description Stefan Berzl 2017-08-18 04:23:11 CEST
Created attachment 7282 
Patch for the renderer

Using only the newest builds, a command like

xfconf-query -c test -p /test2 -n -t int -t int -s 4 -s 30

adds a GPtrArray to the registry. That's also what the tooltip says when hovering over the type field
in xfce4-settings-editor. The value displayed however is "<unkown>". Looking at the code, that's
reasonable, because GPtrArray isn't handled at all, only

dbus_g_type_get_collection ("GPtrArray", G_TYPE_VALUE);

meaning a custom type thats a GPtrArray with G_TYPE_VALUE in it, which doesn't seem to be used anymore.
The attached patches make handling both formats possible.
Comment 1 Stefan Berzl 2017-08-18 04:24:08 CEST
Created attachment 7283 
Patch for the editor box
Comment 2 Stefan Berzl 2017-08-18 05:14:28 CEST
Created attachment 7284 
Updated version of the patch for the renderer

On xfce-dev ninetls told me that there's no need to mind the old format anymore.
They said one could simply define the function in question, so here's up updated version.
Comment 3 Stefan Berzl 2017-08-18 05:15:13 CEST
Created attachment 7285 
Updated version of the patch for the renderer header
Comment 4 Simon Steinbeiss editbugs 2020-05-28 00:22:19 CEST
*** Bug 16237 has been marked as a duplicate of this bug. ***
Comment 5 Git Bot editbugs 2020-05-28 23:09:07 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfce4-settings/-/issues/105.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #13797

Reported by:
Stefan Berzl
Reported on: 2017-08-18
Last modified on: 2020-05-28
Duplicates (1):
  • 16237 it doesn't allow edit array values

People

Assignee:
Jérôme Guelfucci
CC List:
1 user

Version

Version:
unspecified

Attachments

Additional information