コード例 #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
ファイル: payable.py プロジェクト: leandrorchaves/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()