dbus ruby script to set away/available status in pidgin
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

only exit early if the message is the same as the current one, not just the status

+3 -2
+3 -2
pidgin_status.rb
··· 60 60 pidgin.introspect 61 61 62 62 if (ss = pidgin.PurpleSavedstatusGetCurrent()).is_a? Array 63 - if pidgin.PurpleSavedstatusGetType(ss.first).first == status 64 - # already away or available, don't change 63 + if pidgin.PurpleSavedstatusGetType(ss.first).first == status && 64 + pidgin.PurpleSavedstatusGetMessage(ss.first).first.to_s == message.to_s 65 + # already away or available with this message, don't change 65 66 exit 66 67 end 67 68