[gevice] don't show terminals (fixed)



commit 180b774a717139d581d195f42178c2f1ca5aa920
Author: Alejandro Valdes Jimenez <avaldes gnome org>
Date:   Wed Dec 30 14:39:20 2009 -0300

    don't show terminals (fixed)

 ChangeLog        |    4 ++++
 src/gevicevte.py |   10 +++-------
 2 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 4a27cb7..a3179d4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2009-12-30  Alejandro Valdes Jimenez  <avaldes gnome org>
 
+	* src/gevicevte.py: don't show terminals (fixed)
+
+2009-12-30  Alejandro Valdes Jimenez  <avaldes gnome org>
+
 	* src/Makefile.am: remove script.
 	* src/gevicedevice.py: enable/disable entry_serial_device.set_sensitive (sensitive)
 
diff --git a/src/gevicevte.py b/src/gevicevte.py
index d3e150d..350c4e3 100644
--- a/src/gevicevte.py
+++ b/src/gevicevte.py
@@ -20,12 +20,8 @@ class GeviceVte:
         terminal.set_color_background(gtk.gdk.color_parse(gevice.gpref.backcolor))
         terminal.set_color_foreground(gtk.gdk.color_parse(gevice.gpref.forecolor))
         
-        #scroll = gtk.ScrolledWindow()
-        #scroll.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_AUTOMATIC)
-        #scroll.add_with_viewport (terminal)
-        
-        scroll = gtk.VScrollbar (terminal.get_adjustment())
-        scroll.show_all()
-        
+        scroll = gtk.ScrolledWindow()
+        scroll.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_AUTOMATIC)
+        scroll.add_with_viewport (terminal)
        
         return terminal,scroll



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