sync packaging

This commit is contained in:
Nicolas Valcarcel Scerpella 2009-07-03 13:08:14 -05:00
commit 5481cf1b9d
3 changed files with 3 additions and 14 deletions

View File

@ -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

View File

@ -39,7 +39,7 @@ except:
"hide_window is not available."))
pass
class TerminatorWindowTitle():
class TerminatorWindowTitle:
_window = None
_appname = APP_NAME.capitalize()
text = None

View File

@ -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')