/mandos/release

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/release

« back to all changes in this revision

Viewing changes to DBUS-API

* DBUS-API: Document new "LastApprovalRequest" client property.

* mandos (Client.last_approval_request): New attribute.
  (Client.need_approval): New method.
  (ClientDBus.need_approval): - '' -
  (ClientDBus.NeedApproval): Call self.need_approval().
  (ClientDBus.LastApprovalRequest_dbus_property): New D-Bus property.

* mandos-monitor: Show timeout counter during approval delay.
  (MandosClientWidget._update_timer_callback_lock): New.
  (MandosClientWidget.property_changed): Override to also call
                                         using_timer if
                                         ApprovalPending property is
                                         changed.
  (MandosClientWidget.using_timer): New method.
  (MandosClientWidget.checker_completed): Use "using_timer".
  (MandosClientWidget.need_approval): - '' -
  (MandosClientWidget.update): Show approval delay timer.

Show diffs side-by-side

added added

removed removed

Lines of Context:
147
147
*** Rejected(s: Reason)
148
148
    This client was not given its secret for a specified Reason.
149
149
 
150
 
* Copyright
151
 
 
152
 
    Copyright © 2010 Teddy Hogeborn
153
 
    Copyright © 2010 Björn Påhlsson
154
 
  
155
 
** License:
156
 
   
157
 
   This program is free software: you can redistribute it and/or
158
 
   modify it under the terms of the GNU General Public License as
159
 
   published by the Free Software Foundation, either version 3 of the
160
 
   License, or (at your option) any later version.
161
 
 
162
 
   This program is distributed in the hope that it will be useful, but
163
 
   WITHOUT ANY WARRANTY; without even the implied warranty of
164
 
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
165
 
   General Public License for more details.
166
 
 
167
 
   You should have received a copy of the GNU General Public License
168
 
   along with this program.  If not, see
169
 
   <http://www.gnu.org/licenses/>.
170
 
 
171
150
 
172
151
#+STARTUP: showall