GNOME Bugzilla – Bug 738772
Remove the use of deprecated properties
Last modified: 2014-11-14 16:20:00 UTC
/usr/lib/python2.7/site-packages/gtweak/tweaks/tweak_group_startup.py:138: Warning: The property GtkWidget:margin-left is deprecated and shouldn't be used anymore. It will be removed in a future version. self.props.margin_left = 1 /usr/lib/python2.7/site-packages/gtweak/tweaks/tweak_group_startup.py:139: Warning: The property GtkWidget:margin-right is deprecated and shouldn't be used anymore. It will be removed in a future version. self.props.margin_right = 1 /usr/lib/python2.7/site-packages/gtweak/tweaks/tweak_group_startup.py:155: Warning: The property GtkSettings:gtk-button-images is deprecated and shouldn't be used anymore. It will be removed in a future version. Having gnome-tweak-tools cleaned up from this will still report two warnings on startup, but they are in pygobject 3.14.x
Created attachment 288818 [details] [review] Remove the use of deprecated properties /usr/lib/python2.7/site-packages/gtweak/tweaks/tweak_group_startup.py:138: Warning: The property GtkWidget:margin-left is deprecated and shouldn't be used anymore. It will be removed in a future version. self.props.margin_left = 1 /usr/lib/python2.7/site-packages/gtweak/tweaks/tweak_group_startup.py:139: Warning: The property GtkWidget:margin-right is deprecated and shouldn't be used anymore. It will be removed in a future version. self.props.margin_right = 1 /usr/lib/python2.7/site-packages/gtweak/tweaks/tweak_group_startup.py:155: Warning: The property GtkSettings:gtk-button-images is deprecated and shouldn't be used anymore. It will be removed in a future version.
Review of attachment 288818 [details] [review]: Looks fine, thanks ::: gtweak/tweaks/tweak_group_startup.py @@ +155,1 @@ self.btn.props.always_show_image = True To actually avoid the warning we need to pass always_show_image=True to the constructor. I'll massage the patch to do that locally before pushing
Attachment 288818 [details] pushed as f3878f2 - Remove the use of deprecated properties