[Python-apps-commits] r11021 - in packages/terminator/trunk/debian/patches (2 files)

julian at users.alioth.debian.org julian at users.alioth.debian.org
Tue Jul 1 20:33:22 UTC 2014


    Date: Tuesday, July 1, 2014 @ 20:33:21
  Author: julian
Revision: 11021

Patch to fix splits not being central with multiple tabs

Added:
  packages/terminator/trunk/debian/patches/fix-split-multiple-tabs.diff
Modified:
  packages/terminator/trunk/debian/patches/series

Added: packages/terminator/trunk/debian/patches/fix-split-multiple-tabs.diff
===================================================================
--- packages/terminator/trunk/debian/patches/fix-split-multiple-tabs.diff	                        (rev 0)
+++ packages/terminator/trunk/debian/patches/fix-split-multiple-tabs.diff	2014-07-01 20:33:21 UTC (rev 11021)
@@ -0,0 +1,27 @@
+Description: Fixes splits not being central mith multiple tabs
+Forwarded: https://bugs.launchpad.net/bugs/1186953
+Author: Justin Ossevoort
+Origin: http://bazaar.launchpad.net/~gnome-terminator/terminator/trunk/revision/1474
+Last-Update: 2014-07-01
+--- a/terminatorlib/notebook.py
++++ b/terminatorlib/notebook.py
+@@ -137,6 +137,8 @@
+         else:
+             container = maker.make('hpaned')
+ 
++        self.get_toplevel().set_pos_by_ratio = True
++
+         if not sibling:
+             sibling = maker.make('terminal')
+             sibling.set_cwd(cwd)
+@@ -162,6 +164,10 @@
+         self.show_all()
+         terminal.grab_focus()
+ 
++        while gtk.events_pending():
++            gtk.main_iteration_do(False)
++        self.get_toplevel().set_pos_by_ratio = False
++
+     def add(self, widget, metadata=None):
+         """Add a widget to the container"""
+         dbg('adding a new tab')

Modified: packages/terminator/trunk/debian/patches/series
===================================================================
--- packages/terminator/trunk/debian/patches/series	2014-07-01 20:32:05 UTC (rev 11020)
+++ packages/terminator/trunk/debian/patches/series	2014-07-01 20:33:21 UTC (rev 11021)
@@ -1,3 +1,4 @@
+x-terminal-emulator-fix.diff
 add-keywords-entry.diff
 es-po.diff
 fi-po.diff
@@ -3,2 +4,3 @@
 fix-unfocused-font-brightness.diff
 fix-maximize.diff
+fix-split-multiple-tabs.diff




More information about the Python-apps-commits mailing list