remove LP bug numbers and TODO. I don't think these things should be in the code. FIXMEs seem ok, but I think the others should be in commit messages and bug tracker (not even TODO, I don't think that should exist either)
This commit is contained in:
parent
4e87678910
commit
ab07605083
|
@ -168,9 +168,6 @@ class Terminator:
|
||||||
|
|
||||||
# Set RGBA colormap if possible so VTE can use real alpha
|
# Set RGBA colormap if possible so VTE can use real alpha
|
||||||
# channels for transparency.
|
# channels for transparency.
|
||||||
#TODO maybe it work in every case
|
|
||||||
# LP#242852 real transparency causes graphical glitches,
|
|
||||||
# real transparency can be disabled in ~/.config/terminator/config
|
|
||||||
if self.conf.enable_real_transparency:
|
if self.conf.enable_real_transparency:
|
||||||
screen = self.window.get_screen()
|
screen = self.window.get_screen()
|
||||||
colormap = screen.get_rgba_colormap()
|
colormap = screen.get_rgba_colormap()
|
||||||
|
@ -494,7 +491,6 @@ class Terminator:
|
||||||
notebooktablabel = TerminatorNotebookTabLabel(notebooklabel, notebook, self)
|
notebooktablabel = TerminatorNotebookTabLabel(notebooklabel, notebook, self)
|
||||||
notebook.set_tab_label(child, notebooktablabel)
|
notebook.set_tab_label(child, notebooktablabel)
|
||||||
notebook.set_tab_label_packing(child, True, True, gtk.PACK_START)
|
notebook.set_tab_label_packing(child, True, True, gtk.PACK_START)
|
||||||
# LP#247457 keep VTEs real estate
|
|
||||||
self.window.resize(self.window.allocation.width, min(self.window.allocation.height + notebooktablabel.height_request(), gtk.gdk.screen_height()))
|
self.window.resize(self.window.allocation.width, min(self.window.allocation.height + notebooktablabel.height_request(), gtk.gdk.screen_height()))
|
||||||
notebook.show()
|
notebook.show()
|
||||||
elif isinstance(parent, gtk.Notebook):
|
elif isinstance(parent, gtk.Notebook):
|
||||||
|
@ -614,7 +610,6 @@ class Terminator:
|
||||||
index = self.term_list.index (widget)
|
index = self.term_list.index (widget)
|
||||||
self.term_list.remove (widget)
|
self.term_list.remove (widget)
|
||||||
if nbpages == 1:
|
if nbpages == 1:
|
||||||
# LP#247457 keep VTEs real estate
|
|
||||||
if self.window.allocation.height != gtk.gdk.screen_height():
|
if self.window.allocation.height != gtk.gdk.screen_height():
|
||||||
self.window.resize(self.window.allocation.width, min(self.window.allocation.height - parent.get_tab_label(parent.get_nth_page(0)).height_request(), gtk.gdk.screen_height()))
|
self.window.resize(self.window.allocation.width, min(self.window.allocation.height - parent.get_tab_label(parent.get_nth_page(0)).height_request(), gtk.gdk.screen_height()))
|
||||||
sibling = parent.get_nth_page(0)
|
sibling = parent.get_nth_page(0)
|
||||||
|
|
Loading…
Reference in New Issue