예제 #1
0
 def _setup_debug_options(self):
     if not self._options.debug:
         return
     from gi.repository import Gdk
     from stoqlib.gui.utils.introspection import introspect_slaves
     from stoqlib.gui.utils.keyboardhandler import install_global_keyhandler
     install_global_keyhandler(Gdk.KEY_F12, introspect_slaves)
예제 #2
0
 def _setup_debug_options(self):
     if not self._options.debug:
         return
     from gtk import keysyms
     from stoqlib.gui.utils.introspection import introspect_slaves
     from stoqlib.gui.utils.keyboardhandler import install_global_keyhandler
     install_global_keyhandler(keysyms.F12, introspect_slaves)
예제 #3
0
 def _setup_debug_options(self):
     if not self._options.debug:
         return
     from gtk import keysyms
     from stoqlib.gui.utils.introspection import introspect_slaves
     from stoqlib.gui.utils.keyboardhandler import install_global_keyhandler
     install_global_keyhandler(keysyms.F12, introspect_slaves)
예제 #4
0
 def _setup_debug_options(self):
     if not self._options.debug:
         return
     from gi.repository import Gdk
     from stoqlib.gui.utils.introspection import introspect_slaves
     from stoqlib.gui.utils.keyboardhandler import install_global_keyhandler
     install_global_keyhandler(Gdk.KEY_F12, introspect_slaves)