Example #1
0
    def __init__(self, mainwin, mode='single', viewed=None):
        Wrapper.__init__(self)

        if mainwin.extend:
            self.timeline = TweetListWebkit(mainwin, 'Timeline')
            self.replies = TweetListWebkit(mainwin, _('Mentions'))
        else:
            self.timeline = StandardColumn(mainwin,
                                           _('Timeline'),
                                           pos=0,
                                           viewed=viewed)
            self.replies = StandardColumn(mainwin,
                                          _('Mentions'),
                                          pos=1,
                                          viewed=viewed)
        self.direct = StandardColumn(mainwin,
                                     _('Directs'),
                                     pos=2,
                                     viewed=viewed)

        self._append_widget(self.timeline, WrapperAlign.left)
        self._append_widget(self.replies, WrapperAlign.middle)
        self._append_widget(self.direct, WrapperAlign.right)

        self.change_mode(mode)
Example #2
0
 def __init__(self, mainwin, mode='single'):
     Wrapper.__init__(self)
     
     self.favorites = TweetList(mainwin, _('Favorites'))
     self.user_form = UserForm(mainwin, _('Profile'))
     self.topics = SearchTweets(mainwin, _('Search'))
     
     self._append_widget(self.user_form, WrapperAlign.left)
     self._append_widget(self.favorites, WrapperAlign.middle)
     self._append_widget(self.topics, WrapperAlign.right)
     
     self.change_mode(mode)
Example #3
0
    def __init__(self, mainwin, mode='single'):
        Wrapper.__init__(self)

        self.favorites = SingleColumn(mainwin, _('Favorites'))
        self.user_form = UserForm(mainwin, _('Profile'))
        self.search = SearchColumn(mainwin, _('Search'))

        self._append_widget(self.user_form, WrapperAlign.left)
        self._append_widget(self.favorites, WrapperAlign.middle)
        self._append_widget(self.search, WrapperAlign.right)

        self.change_mode(mode)
Example #4
0
 def __init__(self, mainwin, mode='single'):
     Wrapper.__init__(self)
     
     self.favorites = SingleColumn(mainwin, _('Favorites'))
     self.user_form = UserForm(mainwin, _('Profile'))
     self.search = SearchColumn(mainwin, _('Search'))
     
     self._append_widget(self.user_form, WrapperAlign.left)
     self._append_widget(self.favorites, WrapperAlign.middle)
     self._append_widget(self.search, WrapperAlign.right)
     
     self.change_mode(mode)
Example #5
0
    def __init__(self, mainwin, mode='single'):
        Wrapper.__init__(self)

        self.favorites = TweetList(mainwin, _('Favorites'))
        self.user_form = UserForm(mainwin, _('Profile'))
        self.topics = SearchTweets(mainwin, _('Search'))

        self._append_widget(self.user_form, WrapperAlign.left)
        self._append_widget(self.favorites, WrapperAlign.middle)
        self._append_widget(self.topics, WrapperAlign.right)

        self.change_mode(mode)
Example #6
0
 def __init__(self, mainwin, mode='single'):
     Wrapper.__init__(self)
     
     if mainwin.extend:
         self.timeline = TweetListWebkit(mainwin, 'Timeline')
         self.replies = TweetListWebkit(mainwin, _('Mentions'))
     else:
         self.timeline = TweetList(mainwin, _('Timeline'))
         self.replies = TweetList(mainwin, _('Mentions'))
     self.direct = TweetList(mainwin, _('Directs'), 'direct')
     
     self._append_widget(self.timeline, WrapperAlign.left)
     self._append_widget(self.replies, WrapperAlign.middle)
     self._append_widget(self.direct, WrapperAlign.right)
     
     self.change_mode(mode)
Example #7
0
    def __init__(self, mainwin, mode='single'):
        Wrapper.__init__(self)

        if mainwin.extend:
            self.timeline = TweetListWebkit(mainwin, 'Timeline')
            self.replies = TweetListWebkit(mainwin, _('Mentions'))
        else:
            self.timeline = TweetList(mainwin, _('Timeline'))
            self.replies = TweetList(mainwin, _('Mentions'))
        self.direct = TweetList(mainwin, _('Directs'), 'direct')

        self._append_widget(self.timeline, WrapperAlign.left)
        self._append_widget(self.replies, WrapperAlign.middle)
        self._append_widget(self.direct, WrapperAlign.right)

        self.change_mode(mode)
Example #8
0
 def __init__(self, mainwin, mode='single', viewed=None):
     Wrapper.__init__(self)
     
     if mainwin.extend:
         self.timeline = TweetListWebkit(mainwin, 'Timeline')
         self.replies = TweetListWebkit(mainwin, _('Mentions'))
     else:
         self.timeline = StandardColumn(mainwin, _('Timeline'), pos=0, 
             viewed=viewed)
         self.replies = StandardColumn(mainwin, _('Mentions'), pos=1, 
             viewed=viewed)
     self.direct = StandardColumn(mainwin, _('Directs'), pos=2, 
         viewed=viewed)
     
     self._append_widget(self.timeline, WrapperAlign.left)
     self._append_widget(self.replies, WrapperAlign.middle)
     self._append_widget(self.direct, WrapperAlign.right)
     
     self.change_mode(mode)