~nmu-sscheel/gtg/rework-task-editor

« back to all changes in this revision

Viewing changes to GTG/gtk/backends_dialog/__init__.py

  • Committer: Bertrand Rousseau
  • Date: 2012-05-09 22:33:25 UTC
  • mfrom: (1178 trunk)
  • mto: This revision was merged to the branch mainline in revision 1179.
  • Revision ID: bertrand.rousseau@gmail.com-20120509223325-a53d8nwo0x9g93bc
Merge nimit branch and trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
 
43
43
class BackendsDialog(object):
44
44
    '''
45
 
    BackendsDialog manages a window that lets you manage and configure backends.
 
45
    BackendsDialog manages a window that lets you manage and configure synchronization service.
46
46
    It can display two "views", or "panels":
47
47
        - the backend configuration view
48
48
        - the backend adding view
83
83
        '''
84
84
        self.dialog.hide()
85
85
        self.req.save_datastore()
 
86
        return True
86
87
 
87
88
########################################
88
89
### HELPER FUNCTIONS ###################
282
283
                    type = gtk.MESSAGE_QUESTION,
283
284
                    buttons = gtk.BUTTONS_YES_NO,
284
285
                    message_format = \
285
 
                     _("Do you really want to remove the backend '%s'?") % \
 
286
                     _("Do you really want to remove the '%s' synchronization service?") % \
286
287
                            backend.get_human_name())
287
288
        response = dialog.run() 
288
289
        dialog.destroy()