예제 #1
0
 def do_commit(self, *args):
     '''Git commit
     '''
     input = InputDialog('Commit message: ')
     self._popup = Popup(title='Git Commit', content=input,
                         size_hint=(None, None), size=('300pt', '150pt'),
                         auto_dismiss=False)
     input.bind(on_confirm=self._perform_do_commit,
                on_cancel=self._popup.dismiss)
     self._popup.open()
예제 #2
0
 def do_commit(self, *args):
     '''Git commit
     '''
     input = InputDialog('Commit message: ')
     self._popup = Popup(title='Git Commit', content=input,
                         size_hint=(None, None), size=('300pt', '150pt'),
                         auto_dismiss=False)
     input.bind(on_confirm=self._perform_do_commit,
                on_cancel=self._popup.dismiss)
     self._popup.open()
예제 #3
0
 def do_commit(self, *args):
     '''Git commit
     '''
     d = get_designer()
     if d.popup:
         return False
     input_dlg = InputDialog('Commit message: ')
     d.popup = Popup(title='Git Commit', content=input_dlg,
                     size_hint=(None, None), size=('300pt', '150pt'),
                     auto_dismiss=False)
     input_dlg.bind(on_confirm=self._perform_do_commit,
                    on_cancel=d.close_popup)
     d.popup.open()
     return True