Пример #1
0
 def create_configure_dialog(self, dialog=None):
     if not dialog:
         builder_file = self.find_file("vkontakte-prefs.ui")
         dialog = VkontakteConfigDialog(builder_file,
                                        self.config).get_dialog()
     dialog.present()
     return dialog
	def on_pref_button_clicked(self, button, entry):
		self.config = VkontakteConfig()
		builder_file = DATA_DIR+"/preferences.ui"
		dialog = VkontakteConfigDialog (builder_file, self.config).get_dialog()
		dialog.present()
	def create_configure_dialog(self, dialog=None):
		if not dialog:
			builder_file = DATA_DIR+"/preferences.ui"
			dialog = VkontakteConfigDialog (builder_file, self.config).get_dialog()
		dialog.present()
		return dialog
Пример #4
0
	def create_configure_dialog(self, dialog=None):
		if not dialog:
			builder_file = self.find_file("vkontakte-prefs.ui")
			dialog = VkontakteConfigDialog (builder_file, self.config).get_dialog()
		dialog.present()
		return dialog