pitivi r1356 - in trunk/pitivi: . ui
- From: edwardrv svn gnome org
- To: svn-commits-list gnome org
- Subject: pitivi r1356 - in trunk/pitivi: . ui
- Date: Mon, 3 Nov 2008 12:28:55 +0000 (UTC)
Author: edwardrv
Date: Mon Nov 3 12:28:55 2008
New Revision: 1356
URL: http://svn.gnome.org/viewvc/pitivi?rev=1356&view=rev
Log:
Make the error dialogbox for failed project loads a bit nicer
Modified:
trunk/pitivi/pitivi.py
trunk/pitivi/ui/mainwindow.py
Modified: trunk/pitivi/pitivi.py
==============================================================================
--- trunk/pitivi/pitivi.py (original)
+++ trunk/pitivi/pitivi.py Mon Nov 3 12:28:55 2008
@@ -152,7 +152,7 @@
if filepath:
if not os.path.exists(filepath):
self.emit("new-project-failed",
- _("File '%s' does not exist"), filepath)
+ _("File does not exist"), filepath)
return
uri = "file://" + filepath
# is the given filepath a valid pitivi project
Modified: trunk/pitivi/ui/mainwindow.py
==============================================================================
--- trunk/pitivi/ui/mainwindow.py (original)
+++ trunk/pitivi/ui/mainwindow.py Mon Nov 3 12:28:55 2008
@@ -476,9 +476,10 @@
gtk.DIALOG_MODAL,
gtk.MESSAGE_ERROR,
gtk.BUTTONS_OK,
- _("PiTiVi is unable to load file \"%s\": %s") %
- (uri, reason))
+ _("PiTiVi is unable to load file \"%s\"") %
+ uri)
dialog.set_title(_("Error Loading File"))
+ dialog.set_property("secondary-text", reason)
dialog.run()
dialog.destroy()
self.set_sensitive(True)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]