关于在 My Ubuntu 桌面版应用程序中不起作用

关于在 My Ubuntu 桌面版应用程序中不起作用

我已经开发了相同的应用程序“mybrowser”Jono Bacon 在他的教程中。但是当我想查看关于它时,它会抛出以下错误:

Gtk.Window.__init__(self, type=type, **kwds)

/usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py:391: Warning: g_object_set_property: construct property "type" for object `AboutDialog' can't be set after construction

Gtk.Window.__init__(self, type=type, **kwds)

Traceback (most recent call last):

  File "/home/navneet/Apps/Ubuntu apps/mybrowser/mybrowser_lib/Window.py", line 85, in on_mnu_about_activate
    about = self.AboutDialog() # pylint: disable=E1102

  File "/home/navneet/Apps/Ubuntu apps/mybrowser/mybrowser_lib/AboutDialog.py", line 21, in __new__

    new_object.finish_initializing(builder)
AttributeError: 'NoneType' object has no attribute 'finish_initializing'

相关内容