Page MenuHome GnuPG

GtkSecureEntry: installing "gtk-entry-select-on-focus" clashes with GtkEntry
Closed, ResolvedPublic

Description

Hi,
GtkSecureEntry (in pinentry) uses gtk_settings_install_property for
"gtk-entry-select-on-focus", however this is also being done by GtkEntry so
using GtkSecureEntry and GtkEntry in the same program isn't possible without
getting:

Gtk-WARNING **: gtksettings.c:1331: an rc-data property
"gtk-entry-select-on-focus" already exists

The fix is simple: instead of registering that property simply create a GtkEnty
on the file to query the current value of gtk-entry-select-on-focus.