Exemplo n.º 1
0
    def show_campaign_selection(self):
        """
		Display the campaign selection dialog in a new
		:py:class:`.CampaignSelectionDialog` instance.

		:return: Whether or not a campaign was selected.
		:rtype: bool
		"""
        dialog = dialogs.CampaignSelectionDialog(self)
        return dialog.interact() == Gtk.ResponseType.APPLY
Exemplo n.º 2
0
    def show_campaign_selection(self):
        """
		Display the campaign selection dialog in a new
		:py:class:`.CampaignSelectionDialog` instance.

		:return: The status of the dialog.
		:rtype: bool
		"""
        dialog = dialogs.CampaignSelectionDialog(self.config, self)
        return dialog.interact() == Gtk.ResponseType.APPLY