Example #1
0
 def tweet_with_hashtags(self):
     status = self.timelines.get_active_status()
     if status is None:
         return
     hashtags = ' '.join(get_hashtags(status))
     if hashtags:
         # TODO cursor in the begginig
         self.ui.show_tweet_editor(prompt=_('%s' % hashtags),
                                   content=hashtags,
                                   done_signal_handler=self.tweet_handler)
Example #2
0
 def search_hashtags(self):
     status = self.timelines.get_active_status()
     if status is None:
         return
     hashtags = ' '.join(get_hashtags(status))
     self.search_handler(text=hashtags)