From 99280881e1241423c9ab4ac6066c150168b68aba Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Sun, 6 Jan 2008 22:23:16 +0000 Subject: [PATCH] changelog the default values changes, and slightly improve the fallback behaviour of finding a profile to use --- ChangeLog | 2 ++ terminator | 3 +++ 2 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog index 469c6ebb..44ecf06a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -15,6 +15,8 @@ terminator 0.7: * Set the VTE widget to have a tooltip of its window title. This may be reverted if it is annoying * Support GNOME Terminal profile settings for backgrounds. Closes LP #180717 + * Use our own default values if there is no gnome-terminal profile. Closes + LP #179315 terminator 0.6: diff --git a/terminator b/terminator index f3ee10a2..3b7b9c56 100755 --- a/terminator +++ b/terminator @@ -104,6 +104,9 @@ class TerminatorTerm: if profile in profiles: self.profile = '%s/%s'%(self.defaults['profile_dir'], profile) + else: + if profile != "Default" and "Default" in profiles: + self.profile = '%s/Default'%(self.defaults['profile_dir']) if not self.profile: print >> sys.stderr, _("Warning: unable to find profile %s. Continue with default values...") % profile