GNOME Bugzilla – Bug 672318
Gtk.Button constructor does not accept use_stock=
Last modified: 2012-03-18 15:08:27 UTC
Created attachment 210021 [details] [review] Test case When setting use_stock=, the constructor of Gtk.Button raises TypeError:: wrapper_descriptor object got multiple values for keyword argument 'use_stock' See gtk_button_use_stock_test.patch for a test case.
Created attachment 210022 [details] [review] Fix See gtk_button_use_stock.patch for a fix. If stock is set, it overwrites use_stock to true. If stock is not set, it leaves use_stock alone. The default value is False.
Thank you! Unfortunately I don't know/see your real name, so I couldn't commit the patch under your name. I credited your mail address in the changelog.