2006-04-23 Alex Roitman <shura@gramps-project.org>
* src/PluginUtils/_PluginStatus.py (PluginTrace.__init__): Set scrolling policy to auto; (PluginTrace.close_window): Add method. svn: r6420
This commit is contained in:
parent
2b574eacfc
commit
0f1dd36ca3
@ -1,3 +1,8 @@
|
|||||||
|
2006-04-23 Alex Roitman <shura@gramps-project.org>
|
||||||
|
* src/PluginUtils/_PluginStatus.py (PluginTrace.__init__): Set
|
||||||
|
scrolling policy to auto;
|
||||||
|
(PluginTrace.close_window): Add method.
|
||||||
|
|
||||||
2006-04-22 Brian Matherly <pez4brian@users.sourceforge.net>
|
2006-04-22 Brian Matherly <pez4brian@users.sourceforge.net>
|
||||||
* src/PluginUtils/_ReportUtils.py: keep up with RelLib changes
|
* src/PluginUtils/_ReportUtils.py: keep up with RelLib changes
|
||||||
* src/plugins/NavWebPage.py: keep up with RelLib changes
|
* src/plugins/NavWebPage.py: keep up with RelLib changes
|
||||||
|
@ -144,10 +144,11 @@ class PluginTrace(ManagedWindow.ManagedWindow):
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
self.window.set_size_request(600,400)
|
self.window.set_size_request(600,400)
|
||||||
self.window.connect('delete-event',self.close)
|
self.window.connect('delete-event',self.close_window)
|
||||||
self.window.connect('response', self.close)
|
self.window.connect('response', self.close_window)
|
||||||
|
|
||||||
scrolled_window = gtk.ScrolledWindow()
|
scrolled_window = gtk.ScrolledWindow()
|
||||||
|
scrolled_window.set_policy(gtk.POLICY_AUTOMATIC,gtk.POLICY_AUTOMATIC)
|
||||||
self.text = gtk.TextView()
|
self.text = gtk.TextView()
|
||||||
scrolled_window.add(self.text)
|
scrolled_window.add(self.text)
|
||||||
self.text.get_buffer().set_text(
|
self.text.get_buffer().set_text(
|
||||||
@ -158,3 +159,6 @@ class PluginTrace(ManagedWindow.ManagedWindow):
|
|||||||
|
|
||||||
def build_menu_names(self,obj):
|
def build_menu_names(self,obj):
|
||||||
return (self.name, None)
|
return (self.name, None)
|
||||||
|
|
||||||
|
def close_window(self, *obj):
|
||||||
|
self.close()
|
||||||
|
Loading…
Reference in New Issue
Block a user