[pitivi] Make the missing files dialog a bit more space-efficient
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] Make the missing files dialog a bit more space-efficient
- Date: Mon, 23 May 2011 00:56:14 +0000 (UTC)
commit 501a88599ee49b7007b0af39c00c7a88f0a6e629
Author: Jean-François Fortin Tam <nekohayo gmail com>
Date: Sun Nov 28 12:37:43 2010 -0500
Make the missing files dialog a bit more space-efficient
pitivi/ui/mainwindow.py | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/pitivi/ui/mainwindow.py b/pitivi/ui/mainwindow.py
index b12f0d4..1225d77 100644
--- a/pitivi/ui/mainwindow.py
+++ b/pitivi/ui/mainwindow.py
@@ -63,6 +63,7 @@ from pitivi.ui.effectlist import EffectList
from pitivi.ui.clipproperties import ClipProperties
from pitivi.ui.common import beautify_factory
from pitivi.ui.common import SPACING
+from pitivi.ui.common import factory_name
from pitivi.utils import beautify_length
from pitivi.ui.zoominterface import Zoomable
@@ -947,9 +948,10 @@ class PitiviMainWindow(gtk.Window, Loggable):
dialog.set_border_width(SPACING*2)
dialog.get_content_area().set_spacing(SPACING)
- text = _("The following file has moved, please tell PiTiVi where to find it.") + \
- "\n\n" + beautify_factory(factory) + "\n" + \
- "<b>%s</b>" % _("Duration:") + beautify_length(factory.duration)
+ text = _('The following file has moved: "<b>%s</b>" (duration: %s)\
+ \nPlease specify its new location:' \
+ % (factory_name(factory), beautify_length(factory.duration)))
+ # TODO: display the filesize to help the user identify the file
label = gtk.Label()
label.set_markup(text)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]