* 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:
parent
17077b01b3
commit
1833c28063
@ -6,6 +6,11 @@
|
||||
* src/plugins/AncestorChart.py: Add prefix (AC-) to styles.
|
||||
* src/plugins/AncestorChart2.py: Add prefix (AC2-) to styles.
|
||||
|
||||
* 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.
|
||||
|
||||
2004-03-08 Don Allingham <dallingham@users.sourceforge.net>
|
||||
* src/EditPerson.py: TreeView enhancements
|
||||
* src/PeopleModel.py: TreeView enhancements
|
||||
|
@ -718,7 +718,7 @@ class LocalMediaProperties:
|
||||
self.change_dialog.get_widget("gid").set_text(self.object.get_id())
|
||||
|
||||
if self.object.get_local():
|
||||
self.change_dialog.get_widget("path").set_text("<local>")
|
||||
self.change_dialog.get_widget("path").set_text(_("<local>"))
|
||||
else:
|
||||
self.change_dialog.get_widget("path").set_text(fname)
|
||||
|
||||
@ -965,7 +965,7 @@ class GlobalMediaProperties:
|
||||
def update_info(self):
|
||||
fname = self.object.get_path()
|
||||
if self.object.get_local():
|
||||
self.change_dialog.get_widget("path").set_text("<local>")
|
||||
self.change_dialog.get_widget("path").set_text(_("<local>"))
|
||||
self.makelocal.set_sensitive(0)
|
||||
else:
|
||||
self.change_dialog.get_widget("path").set_text(fname)
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user