Merge ~mitya57/compiz:fix-popup-call into compiz:master
Status: | Merged |
---|---|
Approved by: | Dmitry Shachnev |
Approved revision: | b23bca0a9b941feec82f5c48445677946fd00a7f |
Merged at revision: | 79a94510af0c741c7a01cabe33faff6bdbbfc421 |
Proposed branch: | ~mitya57/compiz:fix-popup-call |
Merge into: | compiz:master |
Diff against target: |
41 lines (+6/-2) 3 files modified
compizconfig/ccsm/ccm/Settings.py (+1/-1) compizconfig/ccsm/ccsm (+4/-0) debian/control (+1/-1) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Alberts Muktupāvels | Approve | ||
Compiz Maintainers | Pending | ||
Review via email:
|
Commit message
ccsm: Fix TypeError when calling Gtk.Menu.popup() with invalid number of arguments.
Description of the change
It fixes this error:
Traceback (most recent call last):
File "/usr/local/
self.
TypeError: popup() missing 1 required positional argument: 'activate_time'
Replace the deprecated Gtk.Menu.popup() method with Gtk.Menu.
Check GTK version on startup and exit if it is less than 3.22.
Steps to reproduce:
- Start CCSM.
- Open any plugin settings that have a list, e.g. Animation plugin, or Wizard plugin → Gravity tab.
- Click right mouse button on the list.
A context menu should open. No exception should be printed.