GNOME Bugzilla – Bug 154012
[PATCH] Allow editing of complex strings in the list editor
Last modified: 2018-08-17 18:41:15 UTC
Evolution likes to store its configuration information as lists of fairly substantial XML strings inside GConf (see e.g. /apps/evolution/mail/accounts, and /apps/evolution/mail/signatures. Unfortunately when you try to edit these, the GtkEntry is about 100 pixels wide and is not resizable, which is really painful when trying to track down evolution configuration issues. I've got a patch which makes it use a GtkTextEntry for these (within a resizable scrolled window) instead, making things more pleasant.
Created attachment 32047 [details] [review] Patch to make gconf-editor use resizable, scrollable GtkTextEntry widgets for lists of strings
Oops; I meant to say that the patch uses GtkTextView, not "GtkTextEntry"
Comment on attachment 32047 [details] [review] Patch to make gconf-editor use resizable, scrollable GtkTextEntry widgets for lists of strings Cool, thank you for the patch it will go in after branching for GNOME 2.10
Played a little bit with this patch and I think it should use: gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scroller), GTK_SHADOW_ETCHED_IN); gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scroller), GTK_POLICY_AUTOMATIC,GTK_POLICY_AUTOMATIC); Also it is a little bit inconsistent using a TextView for string in lists and not for normal string keys (we could also have such a xml long value in a string). Also using TextView for editing and not for adding could be inconsistent (but maybe reasonable because most users won't add a big string by hand, only editing pre-inserted ones). I think we need to think about this a little bit.
Ooops... yes, I missed a bunch of cases. I'll put another patch together, assuming you're broadly in favour of this change.
GConf has been deprecated since 2011. Hence GConf-Editor is not under active development anymore. Its codebase has been archived: https://gitlab.gnome.org/Archive/gconf-editor/commits/master GConf's successors are dconf and gsettings. dconf-editor exists. Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect reality. Feel free to open a task in GNOME Gitlab if the issue described in this task still applies to dconf-editor (not: gconf-editor). Thanks!