Gdk.FUNC_MOVE indeed doesn't exist. As /usr/share/gir-1.0/Gdk-3.0.gir
shows, the constant names is Gdk.WMFunction.MOVE (same in 2.0).

While looking at this I noticed that
softwareproperties/gtk/DialogAddSourcesList.py does

import pygtk
from gi.repository import Gdk
from gi.repository import Gtk

Note that this is *highly* dangerous  and prone to crash. You must not
mix the static bindings with GI bindings, otherwise the two will fight
each other badly and cause unknown symbols, crashes, or other memory
corruption.

** Changed in: software-properties (Ubuntu)
   Importance: Low => Medium

** Changed in: software-properties (Ubuntu)
       Status: Confirmed => Triaged

** Changed in: software-properties (Ubuntu)
       Status: Triaged => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/736393

Title:
  software-properties-gtk crashed with AttributeError in __getattr__():
  'gi.repository.Gdk' object has no attribute 'FUNC_MOVE'

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to