changelog the default values changes, and slightly improve the fallback behaviour of finding a profile to use
This commit is contained in:
parent
9fa21a3132
commit
99280881e1
|
@ -15,6 +15,8 @@ terminator 0.7:
|
||||||
* Set the VTE widget to have a tooltip of its window title. This may be
|
* Set the VTE widget to have a tooltip of its window title. This may be
|
||||||
reverted if it is annoying
|
reverted if it is annoying
|
||||||
* Support GNOME Terminal profile settings for backgrounds. Closes LP #180717
|
* 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:
|
terminator 0.6:
|
||||||
|
|
||||||
|
|
|
@ -104,6 +104,9 @@ class TerminatorTerm:
|
||||||
|
|
||||||
if profile in profiles:
|
if profile in profiles:
|
||||||
self.profile = '%s/%s'%(self.defaults['profile_dir'], profile)
|
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:
|
if not self.profile:
|
||||||
print >> sys.stderr, _("Warning: unable to find profile %s. Continue with default values...") % profile
|
print >> sys.stderr, _("Warning: unable to find profile %s. Continue with default values...") % profile
|
||||||
|
|
Loading…
Reference in New Issue