mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-30 00:55:16 +01:00
test taskbar numbers
This commit is contained in:
parent
5e3d5297c1
commit
4e77509d72
@ -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…
x
Reference in New Issue
Block a user