Mine
public text v1 · immutable[src]% svn diff gajim-remote.py :(
Index: gajim-remote.py
===================================================================
--- gajim-remote.py (revision 6638)
+++ gajim-remote.py (working copy)
@@ -230,12 +230,19 @@
_('Returns number of unreaded messages'),
[ ]
],
+
'start_chat': [
_('Open \'Start Chat\' dialog'),
[
(_('account'), _('Starts chat, using this account'), True)
]
],
+
+ 'get_last_message': [
+ _('Returns the newest received message'),
+ [ ]
+ ],
+
}
if self.argv_len < 2 or \
sys.argv[1] not in self.commands.keys(): # no args or bad args
@@ -300,6 +307,8 @@
print result
elif self.command == 'contact_info':
print self.print_info(0, res, True)
+ elif self.command == 'get_last_message':
+ print 'foo';
elif res:
print unicode(res).encode(PREFERRED_ENCODING)