/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 mandos-monitor.xml

* mandos-monitor: Speedup: Use properties from D-Bus
                  GetAllClientsWithProperties() call.  Also use
                  super() properly - only use keyword arguments and
                  strip them off as "kwargs" is passed on.
  (MandosClientPropertyCache.__init__): Take new "properties"
                                        argument; use it to skip
                                        calling D-Bus GetAll() method.
                                        Call super().  Bind self._
  (MandosClientPropertyCache._property_changed): New helper function.
  (MandosClientPropertyCache.property_changed): Changed to take
                                                keyword arguments.
  (MandosClientPropertyCache.delete): Bug fix: Don't call
                                      super().__init__().
  (MandosClientWidget.__init__): Don't take *args.  Strip used keyword
                                 arguments before calling super().
  (MandosClientWidget.property_changed): Removed dead code.
  (MandosClientWidget.delete): Don't take *args.
  (MandosClientWidget.property_changed): Don't take "value" argument,
                                         since it is not used.
  (ConstrainedListBox.keypress): Take *args, **kwargs and pass them on
                                 to super().

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3
3
        "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4
4
<!ENTITY COMMANDNAME "mandos-monitor">
5
 
<!ENTITY TIMESTAMP "2016-03-05">
 
5
<!ENTITY TIMESTAMP "2012-01-01">
6
6
<!ENTITY % common SYSTEM "common.ent">
7
7
%common;
8
8
]>
34
34
      <year>2010</year>
35
35
      <year>2011</year>
36
36
      <year>2012</year>
37
 
      <year>2013</year>
38
 
      <year>2014</year>
39
 
      <year>2015</year>
40
 
      <year>2016</year>
41
37
      <holder>Teddy Hogeborn</holder>
42
38
      <holder>Björn Påhlsson</holder>
43
39
    </copyright>
133
129
        <entry>Toggle log window line wrap</entry>
134
130
      </row>
135
131
      <row>
136
 
        <entry>v</entry>
137
 
        <entry>Toggle verbose logging</entry>
138
 
      </row>
139
 
      <row>
140
132
        <entry>Up, Ctrl-P, k</entry>
141
133
        <entry>Move up a line</entry>
142
134
      </row>
199
191
    <title>BUGS</title>
200
192
    <para>
201
193
      This program can currently only be used to monitor and control a
202
 
      Mandos server with the default D-Bus bus name of
203
 
      <quote>se.recompile.Mandos</quote>.
 
194
      Mandos server with the default D-Bus service name of
 
195
      <quote>Mandos</quote>.
204
196
    </para>
205
 
    <xi:include href="bugs.xml"/>
206
197
  </refsect1>
207
198
  
208
199
  <refsect1 id="example">