def show_preferences():
def on_destroy(window):
global _window
_window = None
global _window
if not _window:
_window = Preferences()
_window.connect('destroy', on_destroy)
_window.show_all()
_window.get_window().focus(Gdk.CURRENT_TIME)
_window.present_with_time(Gdk.CURRENT_TIME)
评论列表
文章目录