https://bugs.kde.org/show_bug.cgi?id=378683

--- Comment #2 from Bernard Gray <bernard.g...@gmail.com> ---
Hi David, 
Thank you so much - that's really helpful!

I've hit one more (hopefully related) snag - so I've got the correct
containment now, I can manipulate the widgets that appear in the systemtray,
but I'm now having difficult setting the [Auto|Hidden|Shown] immutability(?)
configKey on a per widget/applet level.

To clarify, at the SystemTray level the applets can be set to appear or not
appear (this is what you've given me access to already) -
At an applet level, they can be set to Appear in the main tray (Shown), Appear
in the popup dialog when you click on the SystemTray arrow (Hidden), or work it
out for themselves (Auto).

I believe the key for this setting is "immutability", but I can't seem to find
how to access this key now - code snippet:

===========
panel = panels()['0'];
for (var j in panel.widgetIds) {
    var widget = panel.widgetById(panel.widgetIds[j]);
    sysTrayId = widget.readConfig("SystrayContainmentId", -1);
    if (sysTrayId > 0) {
        var containment = desktopById(sysTrayId);
        containment.currentConfigGroup = ["General"];
        print(containment.configKeys);
        print(containment.widgetIds);
        for (var w in containment.widgetIds) {
            var cwidget = containment.widgetById(containment.widgetIds[w]);
            print(cwidget.type);
            print(cwidget.configGroups);
            print(cwidget.configKeys);
        }
    }
}
================

cwidget.configGroups and cwidget.configKeys are empty - even after manually
setting some different immutability's on various systray widgets - can I be so
bold as to ask for another pointer on how to get into these settings?

Thanks -

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to