| Summary: | [abrt] firewall-applet-0.2.2-1.fc17: Gtk.py:1381:popup:AttributeError: 'Menu' object has no attribute 'popup_for_device' | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Tobias Florek <me> |
| Component: | pygobject3 | Assignee: | John Keck <jkeck> |
| Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 17 | CC: | icq, jkeck, jpopelka, mathieu-acct, nphilipp, twoerner |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:922ad7d1efe95894bc32d4520b9ad531c9d13c36 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-08-01 01:15:27 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Tobias Florek
2012-03-11 10:18:28 UTC
This is the location of the problem:
* gi/overrides/Gtk.py:
if Gtk._version != '2.0':
class Menu(Gtk.Menu):
def popup(self, parent_menu_shell, parent_menu_item, func, data, button, activate_time):
self.popup_for_device(None, parent_menu_shell, parent_menu_item, func, data, button, activate_time)
Menu = override(Menu)
__all__.append('Menu')
Reassigning to pygobject3.
This issue is filed against gtk3 upstream here: https://bugzilla.gnome.org/show_bug.cgi?id=657385 The cause seems to be that newer Gtk replaces the Menu.popup() method with the Menu.popup_for_device() implementation, so you have the former method name with the latter API, which is kind of screwed. The Python introspection binding creates the former method manually by calling the latter method with None as the device which would offer the right API for both Menu.popup() and Menu.popup_for_device(), only the latter isn't exposed anymore (and therefore calls to .popup() also fail). *** Bug 805700 has been marked as a duplicate of this bug. *** Right click the firewall-applet icon Package: firewall-applet-0.2.4-1.fc17 OS Release: Fedora release 17 (Beefy Miracle) Seems to be fixed, I believe this can be closed This message is a reminder that Fedora 17 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 17. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '17'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 17's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 17 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior to Fedora 17's end of life. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. Fedora 17 changed to end-of-life (EOL) status on 2013-07-30. Fedora 17 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. Thank you for reporting this bug and we are sorry it could not be fixed. |