* src/Sources.py (SourceEditor.draw): Do not discard reference
data when adding new source. svn: r4096
This commit is contained in:
parent
08e17293a7
commit
a813772ede
@ -14,6 +14,9 @@
|
||||
* src/EditPerson.py (on_event_update_clicked): Pass callback.
|
||||
* src/EventEdit.py (__init__): Typo.
|
||||
|
||||
* src/Sources.py (SourceEditor.draw): Do not discard reference
|
||||
data when adding new source.
|
||||
|
||||
2005-02-24 Alex Roitman <shura@alex.neuro.umn.edu>
|
||||
* src/MediaView.py (on_select_row): Add garbage collection call.
|
||||
|
||||
|
@ -368,7 +368,7 @@ class SourceEditor:
|
||||
date_stat,
|
||||
self.sourceDisplay)
|
||||
|
||||
self.draw(self.active_source)
|
||||
self.draw(self.active_source,fresh=True)
|
||||
self.set_button()
|
||||
if self.parent:
|
||||
self.sourceDisplay.set_transient_for(self.parent.window)
|
||||
@ -431,8 +431,8 @@ class SourceEditor:
|
||||
"""returns the widget associated with the specified name"""
|
||||
return self.showSource.get_widget(name)
|
||||
|
||||
def draw(self,sel = None):
|
||||
if self.source_ref:
|
||||
def draw(self,sel=None,fresh=False):
|
||||
if self.source_ref and fresh:
|
||||
spage = self.get_widget("spage")
|
||||
spage.get_buffer().set_text(self.source_ref.get_page())
|
||||
|
||||
@ -517,7 +517,7 @@ class SourceEditor:
|
||||
self.set_button()
|
||||
|
||||
def update_display(self,source):
|
||||
self.draw(source)
|
||||
self.draw(source,fresh=False)
|
||||
|
||||
def add_src_clicked(self,obj):
|
||||
import EditSource
|
||||
|
Loading…
Reference in New Issue
Block a user