[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [virt-tools-list] Error launching details: GtkWidget.set_parent_window()argument 1 must be gtk.gdk.Window, not None



The problem seems to be gtk,My gtk is 2.10.
 
autodrawer.py:
def _set_has_window(widget, val):
    if hasattr(widget, "set_has_window"):
        # Only available on gtk 2.18 or later
        widget.set_has_window(val)
    elif val:
        widget.set_flags(widget.flags() & ~gtk.NO_WINDOW)
    else:
        widget.set_flags(widget.flags() | gtk.NO_WINDOW)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]