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-de...@kde.org
          Reporter: oleksa...@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 watching all bug changes.

Reply via email to