GObject constructor silently accepts and ignores positional arguments
Bug #1248152 reported by
Alberto Milone
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pygobject |
Fix Released
|
Medium
|
|||
pygobject (Ubuntu) |
Fix Released
|
Low
|
Martin Pitt |
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.FileChooser
2) Gtk.FileChooser
and then call widget.
It all works fine when using a Gtk.FileChooser
This affects 12.04 and 13.10.
affects: | gtk+3.0 (Ubuntu) → ubuntu |
Changed in ubuntu: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
summary: |
- Gtk.FileChooserWidget won't show the "create folder" button + GObject constructor silently accepts and ignores positional arguments |
Changed in pygobject (Ubuntu): | |
assignee: | nobody → Martin Pitt (pitti) |
status: | Confirmed → Triaged |
Changed in pygobject: | |
importance: | Unknown → Medium |
status: | Unknown → Fix Released |
To post a comment you must log in.
In the attached example, the first two buttons use FileChooserDialogs whereas the last two buttons use FileChooserWidgets.
If you pass any argument to the program (e.g. "python chooser_bug.py hack") my hack will kick in and things will work as expected. It's a hack though and the python bindings should really show the button if the calls request it.