This can't be fixed fully as long as we still support the old PyGTK
style constructors, but this should at least avoid most pitfalls:

https://git.gnome.org/browse/pygobject/commit/?id=7193f050

** Changed in: pygobject (Ubuntu)
       Status: Triaged => Fix Committed

** Changed in: pygobject (Ubuntu)
   Importance: Medium => Low

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pygobject in Ubuntu.
https://bugs.launchpad.net/bugs/1248152

Title:
  GObject constructor silently accepts and ignores positional arguments

Status in Python bindings for GObject:
  Unknown
Status in “pygobject” package in Ubuntu:
  Fix Committed

Bug description:
  Using the python bindings, creating a filechooser widget, there's no
  way to display the "create folder" icon. This seems to work fine in C.

  There are two ways to reproduce this:
  1) Gtk.FileChooserWidget(parent, Gtk.FileChooserAction.CREATE_FOLDER)
  2) Gtk.FileChooserWidget(parent, Gtk.FileChooserAction.SELECT_FOLDER)
  and then call widget.set_create_folders(True)

  It all works fine when using a Gtk.FileChooserDialog but I really need
  to embed a filechooser widget in a Gtk.Assistant dialog.

  This affects 12.04 and 13.10.

To manage notifications about this bug go to:
https://bugs.launchpad.net/pygobject/+bug/1248152/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to