Public bug reported:

Reproduce (always, trunk):
Try changing a plugin's name dynamically.

What happens:
You can't.

What should happen:
You should be able to change the name dynamically, like you can the icon, 
keywords and visibility.

Solution:
Add 
    void setDisplayName(const QString &name);

to existing interface which provides:
    void setIcon(const QUrl &icon);
    void setKeywords(const QStringList &keywords);
    void setVisible(bool visible);

I do not think name of plugin should change, as this could have
implications elsewhere. Only the displayName should change.

** Affects: ubuntu-system-settings (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1475629

Title:
  [plugin] allow dynamic name

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-system-settings/+bug/1475629/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to