[gevice/gevice_2_0] apply colors to VTE.



commit 37924f2d9526c07b0fced8932209a4d5c8e7aaf9
Author: Alejandro ValdÃs Jimenez <avaldes gnome org>
Date:   Fri Dec 14 12:47:37 2012 -0300

    apply colors to VTE.

 ChangeLog        |    3 +++
 src/gevicevte.py |    8 ++++----
 2 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 82407f0..755105c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,7 @@
 2012-12-14  Alejandro ValdéJimenez  <avaldes gnome org>
+	* src/gevicevte.py: apply colors to VTE.
+
+2012-12-14  Alejandro ValdéJimenez  <avaldes gnome org>
 	* data/apps.gevice.gschema.xml: update schema.
 	* data/ui/pref.xml: remove widgets.
 	* src/gevice.py: add support to gsettings.
diff --git a/src/gevicevte.py b/src/gevicevte.py
index 98d464a..f69926b 100644
--- a/src/gevicevte.py
+++ b/src/gevicevte.py
@@ -40,11 +40,11 @@ class GeviceVte:
     terminal.set_mouse_autohide(True)       
     terminal.set_default_colors()
     
-    ###bgcolor = Gdk.color_parse(gevice.gpref.settings.get_string("backcolor"))
-    ###terminal.set_color_background(bgcolor)
+    bgcolor = Gdk.color_parse(gevice.gpref.gsettings.get_string("backcolor"))
+    terminal.set_color_background(bgcolor)
     
-    ###fgcolor = Gdk.color_parse(gevice.gpref.settings.get_string("forecolor"))
-    ###terminal.set_color_foreground(fgcolor)
+    fgcolor = Gdk.color_parse(gevice.gpref.gsettings.get_string("forecolor"))
+    terminal.set_color_foreground(fgcolor)
     
     terminal.set_size_request(10,10)
     terminal.set_size (30,1)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]