* src/MediaView.py (on_select_row): Mark translatable string;

(popup_convert_to_private): Call self.load before returning.
* src/ImageSelect.py (LocalMediaProperties.__init__,
GlobalMediaProperties.update_info): Mark translatable string.


svn: r2995
This commit is contained in:
Alex Roitman
2004-03-10 02:29:29 +00:00
parent 9f2f222809
commit 5007cbc0a8
3 changed files with 9 additions and 3 deletions

View File

@ -172,7 +172,7 @@ class MediaView:
elif path[0] == "/":
self.mpath.set_text(path)
else:
self.mpath.set_text("<local>")
self.mpath.set_text(_("<local>"))
self.mdetails.set_text(Utils.get_detail_text(mobj,0))
def on_button_press_event(self,obj,event):
@ -241,6 +241,7 @@ class MediaView:
if name:
self.obj.set_path(name)
self.obj.setLocal(1)
self.load_media()
def popup_change_description(self, obj):
ImageSelect.GlobalMediaProperties(self.db,self.obj,self.load_media)