Add the title of the terminal as its tooltip. I may revert this if it is annoying
This commit is contained in:
parent
0f5badc171
commit
fd2d642242
@ -12,6 +12,8 @@ terminator 0.7:
|
||||
shortcuts. Closes LP #179310
|
||||
* Borderless support (tell your window manager not to decorate Terminator)
|
||||
* Font zooming support. Closes LP #178792
|
||||
* Set the VTE widget to have a tooltip of its window title. This may be
|
||||
reverted if it is annoying
|
||||
|
||||
terminator 0.6:
|
||||
|
||||
|
@ -135,6 +135,7 @@ class TerminatorTerm:
|
||||
self._vte.connect ("key-press-event", self.on_vte_key_press)
|
||||
self._vte.connect ("button-press-event", self.on_vte_button_press)
|
||||
self._vte.connect ("popup-menu", self.on_vte_popup_menu)
|
||||
self._vte.connect ("window-title-changed", self.on_vte_title_change)
|
||||
|
||||
exit_action = self.gconf_client.get_string (self.profile + "/exit_action")
|
||||
if exit_action == "restart":
|
||||
@ -397,6 +398,10 @@ class TerminatorTerm:
|
||||
menu.show_all ()
|
||||
return menu
|
||||
|
||||
def on_vte_title_change(self, vte):
|
||||
vte.set_property ("has-tooltip", True)
|
||||
vte.set_property ("tooltip-text", vte.get_window_title ())
|
||||
|
||||
def get_box (self):
|
||||
return self._box
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user