Web · Wiki · Activities · Blog · Lists · Chat · Meeting · Bugs · Git · Translate · Archive · People · Donate

Commit b1da425154689f7a3cd1a425f8412f28fcd3d938

Add keyboard shortcuts for Start/stop scan and Save PDF
scan.py
(2 / 0)
  
620620 activity_button.show()
621621
622622 self._scan_button = ToolButton('start-scan1')
623 self._scan_button.accelerator = '<Alt>S'
623624 self._scan_button.props.tooltip = _('Start scan')
624625 self._scan_button.connect('clicked', self._scan_button_cb)
625626 toolbar_box.toolbar.insert(self._scan_button, -1)
642642 self._remove_button.show()
643643
644644 self._save_button = ToolButton('document-save')
645 self._save_button.accelerator = '<Alt>P'
645646 self._save_button.props.tooltip = _('Save collection as PDF')
646647 self._save_button.set_sensitive(False)
647648 self._save_button.connect('clicked', self._save_button_cb)