diff --git a/terminator b/terminator index 5d449e6b..3ffb1a09 100755 --- a/terminator +++ b/terminator @@ -174,14 +174,3 @@ See the following bug report for more details: gtk.main() - try: - import pynotify - pynotify.init(APP_NAME.capitalize()) - icontheme = gtk.IconTheme() - icon = icontheme.lookup_icon(APP_NAME, 48, 0) - notification = pynotify.Notification('Terminator', "I'll be back", icon.get_filename()) - notification.set_urgency(pynotify.URGENCY_LOW) - notification.show() - except: - pass - diff --git a/terminatorlib/terminator.py b/terminatorlib/terminator.py index 9fc6224d..c3591c57 100755 --- a/terminatorlib/terminator.py +++ b/terminatorlib/terminator.py @@ -39,7 +39,7 @@ except: "hide_window is not available.")) pass -class TerminatorWindowTitle(): +class TerminatorWindowTitle: _window = None _appname = APP_NAME.capitalize() text = None diff --git a/terminatorlib/terminatorterm.py b/terminatorlib/terminatorterm.py index 27ad6df7..872ddf0d 100755 --- a/terminatorlib/terminatorterm.py +++ b/terminatorlib/terminatorterm.py @@ -740,10 +740,10 @@ text/plain # set transparency for the background (image) opacity = 65535 if background_type in ("image", "transparent"): - self._vte.set_background_tint_color (bg_color) + self._vte.set_background_tint_color (gtk.gdk.color_parse (self.conf.background_color)) self._vte.set_background_saturation(1 - (self.conf.background_darkness)) opacity = int(self.conf.background_darkness * 65535) - dbg ('H9TRANS: Set background tint color to: %s' % bg_color) + dbg ('H9TRANS: Set background tint color to: %s' % self.conf.background_color) dbg ('H9TRANS: Set background saturation to: %s' % (1 - (self.conf.background_darkness))) else: dbg ('H9TRANS: Set background saturation to: 1')