예제 #1
0
파일: payable.py 프로젝트: rosalin/stoq
    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()
예제 #2
0
파일: payable.py 프로젝트: tmaxter/stoq
    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()
예제 #3
0
    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()