From 0695d2a5f31726d1dbd77afc8211f552f9fd2cdd Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Mon, 14 Aug 2006 13:13:45 +0000 Subject: [PATCH] 2006-08-14 Don Allingham * src/DispalyTabs/_NoteTab.py: don't add text window using viewport (#344) * src/DispalyTabs/_TextTab.py: don't add text window using viewport (#344) svn: r7175 --- ChangeLog | 4 ++++ src/DisplayTabs/_NoteTab.py | 2 +- src/DisplayTabs/_TextTab.py | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 804fcaadd..378c98291 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2006-08-14 Don Allingham + * src/DispalyTabs/_NoteTab.py: don't add text window using viewport (#344) + * src/DispalyTabs/_TextTab.py: don't add text window using viewport (#344) + 2006-08-12 Brian Matherly * src/ManagedWindow.py: add present() to force parent focus (#0000342) diff --git a/src/DisplayTabs/_NoteTab.py b/src/DisplayTabs/_NoteTab.py index fe1ce07fa..c1d293f33 100644 --- a/src/DisplayTabs/_NoteTab.py +++ b/src/DisplayTabs/_NoteTab.py @@ -92,7 +92,7 @@ class NoteTab(GrampsTab): scroll = gtk.ScrolledWindow() scroll.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_AUTOMATIC) - scroll.add_with_viewport(self.text) + scroll.add(self.text) scroll.connect('focus-out-event', self.update) vbox.pack_start(scroll, True) diff --git a/src/DisplayTabs/_TextTab.py b/src/DisplayTabs/_TextTab.py index 9fbaa3af8..8e4f52208 100644 --- a/src/DisplayTabs/_TextTab.py +++ b/src/DisplayTabs/_TextTab.py @@ -78,7 +78,7 @@ class TextTab(GrampsTab): scroll = gtk.ScrolledWindow() scroll.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_AUTOMATIC) - scroll.add_with_viewport(self.text_view) + scroll.add(self.text_view) scroll.connect('focus-out-event', self.update) vbox.pack_start(scroll, True)