* src/EditPlace (__init__,on_switch_page): Call
display_references using idle_add; (display_references): set cursor when done. svn: r4771
This commit is contained in:
parent
97900a087d
commit
7115f24e54
@ -4,6 +4,9 @@
|
|||||||
* src/EditSource.py (__init__,on_switch_page): Call
|
* src/EditSource.py (__init__,on_switch_page): Call
|
||||||
display_references using idle_add; (display_references): set
|
display_references using idle_add; (display_references): set
|
||||||
cursor when done.
|
cursor when done.
|
||||||
|
* src/EditPlace (__init__,on_switch_page): Call
|
||||||
|
display_references using idle_add; (display_references): set
|
||||||
|
cursor when done.
|
||||||
|
|
||||||
2005-06-03 Jens Arvidsson <jya@sverige.nu>
|
2005-06-03 Jens Arvidsson <jya@sverige.nu>
|
||||||
* src/po/sv.po: Minor fixes found via pochkpyvar.pl.
|
* src/po/sv.po: Minor fixes found via pochkpyvar.pl.
|
||||||
|
@ -237,12 +237,13 @@ class EditPlace:
|
|||||||
|
|
||||||
self.redraw_url_list()
|
self.redraw_url_list()
|
||||||
self.redraw_location_list()
|
self.redraw_location_list()
|
||||||
self.display_references()
|
|
||||||
if parent_window:
|
if parent_window:
|
||||||
self.top.set_transient_for(parent_window)
|
self.top.set_transient_for(parent_window)
|
||||||
self.add_itself_to_menu()
|
self.add_itself_to_menu()
|
||||||
self.top_window.get_widget('ok').set_sensitive(not self.db.readonly)
|
self.top_window.get_widget('ok').set_sensitive(not self.db.readonly)
|
||||||
|
Utils.temp_label(self.refs_label,self.top)
|
||||||
self.top.show()
|
self.top.show()
|
||||||
|
gobject.idle_add(self.display_references)
|
||||||
|
|
||||||
def on_delete_event(self,obj,b):
|
def on_delete_event(self,obj,b):
|
||||||
self.glry.close()
|
self.glry.close()
|
||||||
@ -407,7 +408,8 @@ class EditPlace:
|
|||||||
self.glry.load_images()
|
self.glry.load_images()
|
||||||
elif page == 6 and self.ref_not_loaded:
|
elif page == 6 and self.ref_not_loaded:
|
||||||
self.ref_not_loaded = 0
|
self.ref_not_loaded = 0
|
||||||
self.display_references()
|
Utils.temp_label(self.refs_label,self.top)
|
||||||
|
gobject.idle_add(self.display_references)
|
||||||
text = unicode(self.note_buffer.get_text(self.note_buffer.get_start_iter(),
|
text = unicode(self.note_buffer.get_text(self.note_buffer.get_start_iter(),
|
||||||
self.note_buffer.get_end_iter(),False))
|
self.note_buffer.get_end_iter(),False))
|
||||||
if text:
|
if text:
|
||||||
@ -544,7 +546,9 @@ class EditPlace:
|
|||||||
|
|
||||||
self.refinfo.get_buffer().set_text(msg)
|
self.refinfo.get_buffer().set_text(msg)
|
||||||
if any:
|
if any:
|
||||||
Utils.bold_label(self.refs_label)
|
Utils.bold_label(self.refs_label,self.top)
|
||||||
|
else:
|
||||||
|
Utils.unbold_label(self.refs_label,self.top)
|
||||||
|
|
||||||
self.ref_not_loaded = 0
|
self.ref_not_loaded = 0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user