[Python-apps-commits] r10096 - in packages/terminator/trunk/debian/patches (2 files)
julian at users.alioth.debian.org
julian at users.alioth.debian.org
Thu Oct 17 20:21:23 UTC 2013
Date: Thursday, October 17, 2013 @ 20:21:21
Author: julian
Revision: 10096
Fix unfocused font brightness
Added:
packages/terminator/trunk/debian/patches/fix-unfocused-font-brightness.diff
Modified:
packages/terminator/trunk/debian/patches/series
Added: packages/terminator/trunk/debian/patches/fix-unfocused-font-brightness.diff
===================================================================
--- packages/terminator/trunk/debian/patches/fix-unfocused-font-brightness.diff (rev 0)
+++ packages/terminator/trunk/debian/patches/fix-unfocused-font-brightness.diff 2013-10-17 20:21:21 UTC (rev 10096)
@@ -0,0 +1,38 @@
+Description: Fix unfocused font brightness.
+Forwarded: https://bugs.launchpad.net/bugs/1177506
+Author: Chris Jones <cmsj at tenshu.net>
+Last-Update: 2013-10-16
+--- a/terminatorlib/prefseditor.py
++++ b/terminatorlib/prefseditor.py
+@@ -923,6 +923,8 @@
+
+ def on_inactive_color_offset_change_value(self, widget, scroll, value):
+ """Inactive color offset setting changed"""
++ if value > 1.0:
++ value = 1.0
+ self.config['inactive_color_offset'] = round(value, 2)
+ self.config.save()
+
+--- a/terminatorlib/terminal.py
++++ b/terminatorlib/terminal.py
+@@ -620,12 +620,20 @@
+ self.bgcolor = gtk.gdk.color_parse(self.config['background_color'])
+
+ factor = self.config['inactive_color_offset']
++ if factor > 1.0:
++ factor = 1.0
+ self.fgcolor_inactive = self.fgcolor_active.copy()
++ dbg(("fgcolor_inactive set to: RGB(%s,%s,%s)", getattr(self.fgcolor_inactive, "red"),
++ getattr(self.fgcolor_inactive, "green"),
++ getattr(self.fgcolor_inactive, "blue")))
+
+ for bit in ['red', 'green', 'blue']:
+ setattr(self.fgcolor_inactive, bit,
+ getattr(self.fgcolor_inactive, bit) * factor)
+
++ dbg(("fgcolor_inactive set to: RGB(%s,%s,%s)", getattr(self.fgcolor_inactive, "red"),
++ getattr(self.fgcolor_inactive, "green"),
++ getattr(self.fgcolor_inactive, "blue")))
+ colors = self.config['palette'].split(':')
+ self.palette_active = []
+ self.palette_inactive = []
Modified: packages/terminator/trunk/debian/patches/series
===================================================================
--- packages/terminator/trunk/debian/patches/series 2013-10-17 20:20:35 UTC (rev 10095)
+++ packages/terminator/trunk/debian/patches/series 2013-10-17 20:21:21 UTC (rev 10096)
@@ -1 +1,5 @@
+add-keywords-entry.diff
+es-po.diff
fi-po.diff
+fix-unfocused-font-brightness.diff
+fix-maximize.diff
More information about the Python-apps-commits
mailing list