Skip to content

Commit

Permalink
Rename titleBarFullPath to windowTitleFullPath
Browse files Browse the repository at this point in the history
  • Loading branch information
mitya57 committed Jan 10, 2019
1 parent 2455580 commit 1b3a056
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ReText/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,12 @@ def getBundledIcon(iconName):
'tabBarAutoHide': False,
'tabInsertsSpaces': True,
'tabWidth': 4,
'titleBarFullPath': False,
'uiLanguage': QLocale.system().name(),
'useFakeVim': False,
'useWebEngine': False,
'useWebKit': False,
'windowGeometry': QByteArray(),
'windowTitleFullPath': False,
'paperSize': '',
}

Expand Down
2 changes: 1 addition & 1 deletion ReText/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def initConfigOptions(self):
(self.tr('Icon theme name'), 'iconTheme'),
(self.tr('Stylesheet file'), 'styleSheet', True),
(self.tr('Hide tabs bar when there is only one tab'), 'tabBarAutoHide'),
(self.tr('Show full path in titlebar'), 'titleBarFullPath'),
(self.tr('Show full path in window title'), 'windowTitleFullPath'),
))
)

Expand Down
2 changes: 1 addition & 1 deletion ReText/window.py
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ def tabFileNameChanged(self, tab):
if tab == self.currentTab:
if tab.fileName:
self.setWindowTitle("")
if globalSettings.titleBarFullPath:
if globalSettings.windowTitleFullPath:
self.setWindowTitle(tab.fileName + '[*]')
self.setWindowFilePath(tab.fileName)
self.tabWidget.setTabText(self.ind, tab.getBaseName())
Expand Down
2 changes: 1 addition & 1 deletion configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ option name | type | description
`tabBarAutoHide` | boolean | whether to hide the tabs bar when only one tab is open (default: false)
`tabInsertsSpaces` | boolean | whether Tab key should insert spaces instead of tabs (default: true)
`tabWidth` | integer | the width of tab character (default: 4)
`titleBarFullPath` | boolean | whether the full file's path is shown in window's title bar (default:false)
`uiLanguage` | string | short name of locale to use for interface (examples: `en_US, `ru, `pt_BR`)
`useFakeVim` | boolean | whether to use the FakeVim editor, if available (default: false)
`useWebEngine` | boolean | whether to use the WebEngine (Chromium) as HTML previewer (default: false)
`useWebKit` | boolean | whether to use the WebKit instead of QTextEdit as HTML previewer (default: false)
`windowTitleFullPath` | boolean | whether the window title should show the full path of file (default: false)

If the type is 'file path', then the value should be an absolute path
to a file.
Expand Down

0 comments on commit 1b3a056

Please sign in to comment.