Welcome! Wikis are websites that everyone can build together. It's easy!

Location: Liferea Plugin

Discussion: Directly use Dbus ?

Keyword tags: None

Watch

Anonymous  (Get credit for your thread)


dolce.gabbana

dolce.gabbana
Directly use Dbus ?
Jun 22 2007, 5:20 AM EDT
num = liferea.feedlist_get_unread_item_count()
awn = "/usr/bin/dbus-send --session --dest=com.google.code.Awn /com/google/code/
Awn com.google.code.Awn."
name = "liferea"

if num == 0 then
cmd = string.format("%s%s string:%s", awn, "UnsetInfoByName", name)
else
cmd = string.format ("%s%s string:%s string:%s", awn, "SetInfoByName", n
ame, num)
msg = os.execute (cmd)
end
1  out of 1 found this valuable. Do you?    

Sign in to be the first to reply.
Top Contributors