<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hello,
<br>
<br>
Thanks for your response!
<br>
<br>
<blockquote type="cite" style="color: #000000;">I tried to fix this
once but unfortunately the systemactivity dataengine uses
ksysguard which then probes kernel interfaces directly through
some C code. It doesn't use Solid, where filtering out those
interfaces would be easy. I'm not knowledgable enough in that
codebase to comment on how that could be achieved there.
<br>
</blockquote>
<br>
I'm working on a temporary solution to the problem - I implement
filtering by device name (sd*, sr*, vd*,..). This should work until
another solution is found.
<br>
<br>
<blockquote type="cite" style="color: #000000;">I guess the sources
is stored as a StringList and the widget assumes that when the
list is empty, it uses the default set of all sources. Perhaps you
can store a pseudo "EMPTY!" entry in the list to denote nothing is
checked. However, I don't see why you would want to place a widget
that then does not show anything?
<br>
</blockquote>
<br>
Sometimes the user may try to disable the last checkbox and all
checkboxes will turn on immediately in the settings.
<br>
It may be inconvenient for users to uncheck a large number of
checkboxes.
<br>
<br>
There are two possible solutions:
<br>
1) Not allow to uncheck the last checkbox. There will always be at
least one graph.
<br>
2) Allow to uncheck the last checkbox. In this case, the widget will
be empty.
<br>
<br>
Now I have implemented the first option - I have forbidden to
disable the last enabled checkbox.<br>
<br>
<pre class="moz-signature" cols="72">--
Best regards, Pavel Moseev
<a class="moz-txt-link-abbreviated" href="mailto:mars@basealt.ru">mars@basealt.ru</a>
<a class="moz-txt-link-abbreviated" href="mailto:mars@altlinux.org">mars@altlinux.org</a></pre>
</body>
</html>