def activate(self, refresh=True): if refresh: self.refresh() self._update_widgets() # FIXME: Move this to a better place when done if self.window.options.debug: from stoqlib.gui.dialogs.chartdialog import ChartDialog c = ChartDialog() c.show_all()
def activate(self, params): # FIXME: double negation is weird here if not params.get('no-refresh'): self.search.refresh() self._update_widgets() # FIXME: Move this to a better place when done if self.window.options.debug: from stoqlib.gui.dialogs.chartdialog import ChartDialog c = ChartDialog() c.show_all()
def activate(self, params): # FIXME: double negation is weird here if not params.get('no-refresh'): self.search.refresh() self._update_widgets() # FIXME: Move this to a better place when done if self.window.options.debug: from stoqlib.gui.dialogs.chartdialog import ChartDialog c = ChartDialog() c.show_all()