コード例 #1
0
ファイル: fileList.py プロジェクト: guredora403/falcon
 def GetTabName(self):
     """タブコントロールに表示する名前"""
     word = self.listObject.rootDirectory.split("\\")
     word = word[len(word) - 1]
     word = StringUtil.GetLimitedString(
         word, globalVars.app.config["view"]["header_title_length"])
     return word
コード例 #2
0
 def GetTabName(self):
     """タブコントロールに表示する名前"""
     word = self.listObject.GetKeywordString()
     word = StringUtil.GetLimitedString(
         word, globalVars.app.config["view"]["header_title_length"])
     word = _("%(word)sの検索") % {"word": word}
     return word
コード例 #3
0
ファイル: fileList.py プロジェクト: yncat/falcon
 def GetTabName(self):
     """タブコントロールに表示する名前"""
     word = os.path.basename(self.listObject.rootDirectory)
     if word == "":  # ルート
         word = self.listObject.rootDirectory
     word = StringUtil.GetLimitedString(
         word, globalVars.app.config["view"]["header_title_length"])
     return word
コード例 #4
0
ファイル: pastProgress.py プロジェクト: yncat/falcon
 def GetTabName(self):
     """タブコントロールに表示する名前"""
     word = "ほにゃぺけからほにゃぺけへの貼り付け"
     word = StringUtil.GetLimitedString(
         word, globalVars.app.config["view"]["header_title_length"])
     return word