Change window titles from Terminator: Title to Title - Terminator.

This commit is contained in:
Thomas Hurst 2008-08-05 11:28:46 +01:00
parent 2d6f1c0485
commit d51ab3a7e2
1 changed files with 4 additions and 4 deletions

View File

@ -967,7 +967,7 @@ text/plain
vte.set_property ("tooltip-text", vte.get_window_title ()) vte.set_property ("tooltip-text", vte.get_window_title ())
#set the title anyhow, titlebars setting only show/hide the label #set the title anyhow, titlebars setting only show/hide the label
self._title.set_text(vte.get_window_title ()) self._title.set_text(vte.get_window_title ())
self.terminator.set_window_title("%s: %s" %(APP_NAME.capitalize(), vte.get_window_title ())) self.terminator.set_window_title("%s - %s" % (vte.get_window_title(), APP_NAME.capitalize()))
notebookpage = self.terminator.get_first_notebook_page(vte) notebookpage = self.terminator.get_first_notebook_page(vte)
while notebookpage != None: while notebookpage != None:
if notebookpage[0].get_tab_label(notebookpage[1]): if notebookpage[0].get_tab_label(notebookpage[1]):
@ -988,7 +988,7 @@ text/plain
def on_vte_focus(self, vte): def on_vte_focus(self, vte):
if vte.get_window_title (): if vte.get_window_title ():
self.terminator.set_window_title("%s: %s" %(APP_NAME.capitalize(), vte.get_window_title ())) self.terminator.set_window_title("%s - %s" % (vte.get_window_title(), APP_NAME.capitalize()))
notebookpage = self.terminator.get_first_notebook_page(vte) notebookpage = self.terminator.get_first_notebook_page(vte)
while notebookpage != None: while notebookpage != None:
if notebookpage[0].get_tab_label(notebookpage[1]): if notebookpage[0].get_tab_label(notebookpage[1]):