~gmb/gwibber/use-dates-for-indexes

« back to all changes in this revision

Viewing changes to gwibber/microblog/__init__.py

Support showing twitter user's timeline in a new tab. Clicking on @username or
avatars will open a new tab with that user's timeline. The external profile can
then be opened in an external browser by using the link at the top of this
new tab.

TODO: identi.ca/laconi.ca not yet done but support will come in a branch _very_
soon.

Merge from lp:~oldman/gwibber/twitter-user-messages-tab

Show diffs side-by-side

added added

removed removed

Lines of Context:
119
119
      # Indicates with wich action the error happened       
120
120
      lambda c: c.tag(query.lower().replace("#", "")), _("perform tag query"), filter)
121
121
 
 
122
  def user_messages(self, screen_name, filter=PROTOCOLS.keys()):
 
123
    return self.perform_operation(
 
124
      lambda a: a["receive_enabled"] and supports(a, can.USER_MESSAGES),
 
125
      lambda c: c.user_messages(screen_name), "perform user_messages query", filter)
 
126
 
122
127
  def group(self, query, filter=PROTOCOLS.keys()):
123
128
    return self.perform_operation(
124
129
      lambda a: a["receive_enabled"] and supports(a, can.GROUP),