[konversation] [Bug 439021] New: [RFE] Make use of com.canonical.Unity.LauncherEntry

Oleksandr Natalenko bugzilla_noreply at kde.org
Tue Jun 22 11:01:45 BST 2021


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

            Bug ID: 439021
           Summary: [RFE] Make use of com.canonical.Unity.LauncherEntry
           Product: konversation
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: notifications
          Assignee: konversation-devel at kde.org
          Reporter: oleksandr at natalenko.name
  Target Milestone: ---

Hello.

It'd be nice to have a taskbar application icon badge with the number of unread
highlights/mentions.

In KMail, for instance, such a badge is implemented via
com.canonical.Unity.LauncherEntry DBus call.

Having this feature implemented would be pretty handy, and this would allow
disabling systray icon so that there would be less duplicated icons on the
panel and hence less visual noise.

Thanks.

---

An example of implementation taken from RSS Guard:

```
QDBusMessage signal = QDBusMessage::createSignal(QSL("/"),
    QSL("com.canonical.Unity.LauncherEntry"),
    QSL("Update"));

signal << QSL("application://%1").arg(APP_DESKTOP_ENTRY_FILE);

QVariantMap setProperty;

setProperty.insert("count", qint64(unread_messages));
setProperty.insert("count-visible", unread_messages > 0);

signal << setProperty;

QDBusConnection::sessionBus().send(signal);
```

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Konversation-devel mailing list