[gedit-plugins] Use Gtk.Scrollbar instead of Gtk.VScrollbar



commit 870e4e14e27aec79423861076b9b3b8480e2fb97
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Tue Dec 28 00:09:56 2010 +0100

    Use Gtk.Scrollbar instead of Gtk.VScrollbar

 plugins/terminal/terminal.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/terminal/terminal.py b/plugins/terminal/terminal.py
index d941a60..8f9dbfd 100644
--- a/plugins/terminal/terminal.py
+++ b/plugins/terminal/terminal.py
@@ -65,7 +65,7 @@ class GeditTerminal(Gtk.Box):
         self._vte.show()
         self.pack_start(self._vte, True, True, 0)
 
-        scrollbar = Gtk.VScrollbar.new(self._vte.get_vadjustment())
+        scrollbar = Gtk.Scrollbar.new(Gtk.Orientation.VERTICAL, self._vte.get_vadjustment())
         scrollbar.show()
         self.pack_start(scrollbar, False, False, 0)
 



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