test taskbar numbers
This commit is contained in:
parent
5e3d5297c1
commit
4e77509d72
1 changed files with 1 additions and 12 deletions
|
|
@ -121,19 +121,8 @@ Application::Application(const QString& id, int& argc, char** argv)
|
||||||
setProperty.insert("count", qint64(unread_messages));
|
setProperty.insert("count", qint64(unread_messages));
|
||||||
setProperty.insert("count-visible", unread_messages > 0);
|
setProperty.insert("count-visible", unread_messages > 0);
|
||||||
|
|
||||||
/*
|
|
||||||
/* progre
|
|
||||||
* ss bar count must be float between 0 and 1 (mean from 0.00 to 0.100)*/
|
|
||||||
setProperty.insert("progress", double(0.80));
|
|
||||||
|
|
||||||
/* show progress bar */
|
|
||||||
setProperty.insert("progress-visible", true);
|
|
||||||
|
|
||||||
/* Tells the launcher to get the users attention */
|
|
||||||
setProperty.insert("urgent", true);
|
|
||||||
* /
|
|
||||||
|
|
||||||
signal << setProperty;
|
signal << setProperty;
|
||||||
|
|
||||||
QDBusConnection::sessionBus().send(signal);
|
QDBusConnection::sessionBus().send(signal);
|
||||||
});
|
});
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue