[gedit-plugins/wip/redesign: 3/4] charmap: use the constructor for scrolled windows
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit-plugins/wip/redesign: 3/4] charmap: use the constructor for scrolled windows
- Date: Tue, 7 Jan 2014 21:54:53 +0000 (UTC)
commit 61a85d057f579e2c74f68cbb87fab28398ebd7ce
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Tue Jan 7 19:59:24 2014 +0100
charmap: use the constructor for scrolled windows
plugins/charmap/charmap/panel.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plugins/charmap/charmap/panel.py b/plugins/charmap/charmap/panel.py
index bec0ce4..351cf30 100644
--- a/plugins/charmap/charmap/panel.py
+++ b/plugins/charmap/charmap/panel.py
@@ -27,7 +27,7 @@ class CharmapPanel(Gtk.Box):
paned = Gtk.Paned.new(Gtk.Orientation.VERTICAL)
- scrolled_window = Gtk.ScrolledWindow(None, None)
+ scrolled_window = Gtk.ScrolledWindow.new(None, None)
scrolled_window.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.AUTOMATIC)
self.view = Gucharmap.ChaptersView()
@@ -42,7 +42,7 @@ class CharmapPanel(Gtk.Box):
scrolled_window.add(self.view)
paned.pack1(scrolled_window, False, True)
- scrolled_window = Gtk.ScrolledWindow(None, None)
+ scrolled_window = Gtk.ScrolledWindow.new(None, None)
scrolled_window.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.AUTOMATIC)
self.chartable = Gucharmap.Chartable()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]