Two minor fixes to prevent unused groups lingering in the submenu when a terminal is close/ungrouped.

This commit is contained in:
Stephen Boddy 2009-01-10 17:00:05 +01:00
parent a30755e670
commit 895226aaa9
2 changed files with 2 additions and 1 deletions

View File

@ -824,6 +824,7 @@ class Terminator:
self.toggle_zoom(widget, not self._maximised) self.toggle_zoom(widget, not self._maximised)
if self.remove(widget): if self.remove(widget):
self.group_hoover()
return True return True
return False return False

View File

@ -1201,7 +1201,7 @@ text/plain
# We have been removed from a group # We have been removed from a group
if not self.conf.titlebars and not self._want_titlebar: if not self.conf.titlebars and not self._want_titlebar:
self._titlebox.hide () self._titlebox.hide ()
self.terminator.group_hoover () self.terminator.group_hoover ()
def group_all (self, widget): def group_all (self, widget):
allname = _("All") allname = _("All")