[postr/postr-0-12: 276/282] Update maximum file size
- From: Germán Poó Caamaño <gpoo src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [postr/postr-0-12: 276/282] Update maximum file size
- Date: Wed, 4 Nov 2009 21:14:25 +0000 (UTC)
commit 5e50a3e8a5edff48c63ae6395f13c3e30cb4bc3d
Author: Ross Burton <ross burtonini com>
Date: Sun Jun 15 14:06:33 2008 +0100
Update maximum file size
src/postr.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/postr.py b/src/postr.py
index 37ee6a4..f37b56a 100644
--- a/src/postr.py
+++ b/src/postr.py
@@ -574,9 +574,9 @@ class Postr (UniqueApp):
# Check the file size
filesize = os.path.getsize(filename)
- if filesize > 10 * 1024 * 1024:
+ if filesize > 20 * 1024 * 1024:
d = ErrorDialog(self.window)
- d.set_from_string("Image %s is too large, images must be no larger than 10MB in size." % filename)
+ d.set_from_string("Image %s is too large, images must be no larger than 20MB in size." % filename)
d.show_all()
return
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]