TWBlue allows ask for comment or not in a retweet. Check account settings

This commit is contained in:
2015-04-15 11:09:36 -05:00
parent 7565d2ea57
commit c2521f28fc
7 changed files with 132 additions and 25 deletions

View File

@@ -12,6 +12,7 @@ if system == "Windows":
import userActionsController
import trendingTopics
import user
import listsController
from issueReporter import issueReporter
elif system == "Linux":
from gtkUI import (view, commonMessageDialogs)
@@ -124,6 +125,7 @@ class Controller(object):
pub.subscribe(self.invisible_shorcuts_changed, "invisible-shorcuts-changed")
widgetUtils.connect_event(self.view, widgetUtils.MENU, self.show_hide, menuitem=self.view.show_hide)
widgetUtils.connect_event(self.view, widgetUtils.MENU, self.search, menuitem=self.view.menuitem_search)
# widgetUtils.connect_event(self.view, widgetUtils.MENU, self.list_manager, menuitem=self.view.lists)
widgetUtils.connect_event(self.view, widgetUtils.MENU, self.get_trending_topics, menuitem=self.view.trends)
widgetUtils.connect_event(self.view, widgetUtils.MENU, self.accountConfiguration, menuitem=self.view.account_settings)
widgetUtils.connect_event(self.view, widgetUtils.MENU, self.configuration, menuitem=self.view.prefs)
@@ -432,8 +434,10 @@ class Controller(object):
def remove_from_list(self, user):
pass
def lists_manager(self):
pass
def list_manager(self, *args, **kwargs):
s = self.get_best_buffer().session
l = listsController.listsController(s)
def configuration(self, *args, **kwargs):
""" Opens the global settings dialogue."""