Add an Ambience colour scheme, to match the new GNOME Terminal profile in Lucid
This commit is contained in:
parent
ffc6a67e03
commit
67d9e136f3
|
@ -31,7 +31,8 @@ class PrefsEditor:
|
||||||
'green_on_black': 3,
|
'green_on_black': 3,
|
||||||
'white_on_black': 4,
|
'white_on_black': 4,
|
||||||
'orange_on_black': 5,
|
'orange_on_black': 5,
|
||||||
'custom': 6}
|
'ambience': 6,
|
||||||
|
'custom': 7}
|
||||||
|
|
||||||
keybindingnames = { 'zoom_in' : 'Increase font size',
|
keybindingnames = { 'zoom_in' : 'Increase font size',
|
||||||
'zoom_out' : 'Decrease font size',
|
'zoom_out' : 'Decrease font size',
|
||||||
|
@ -562,6 +563,8 @@ class PrefsEditor:
|
||||||
elif selected == 5:
|
elif selected == 5:
|
||||||
value = 'orange_on_black'
|
value = 'orange_on_black'
|
||||||
elif selected == 6:
|
elif selected == 6:
|
||||||
|
value = 'ambience'
|
||||||
|
elif selected == 7:
|
||||||
value = 'custom'
|
value = 'custom'
|
||||||
self.config['color_scheme'] = value
|
self.config['color_scheme'] = value
|
||||||
# Foreground colour
|
# Foreground colour
|
||||||
|
@ -934,6 +937,9 @@ class PrefsEditor:
|
||||||
elif value == 'orange_on_black':
|
elif value == 'orange_on_black':
|
||||||
forecol = '#E53C00'
|
forecol = '#E53C00'
|
||||||
backcol = '#000000'
|
backcol = '#000000'
|
||||||
|
elif value == 'ambience':
|
||||||
|
forecol = '#FFFFFF'
|
||||||
|
backcol = '#300A24'
|
||||||
|
|
||||||
if forecol is not None:
|
if forecol is not None:
|
||||||
fore.set_color(gtk.gdk.Color(forecol))
|
fore.set_color(gtk.gdk.Color(forecol))
|
||||||
|
|
Loading…
Reference in New Issue