diff options
author | Tomeu Vizoso <tomeu@tomeuvizoso.net> | 2007-03-23 14:35:20 (GMT) |
---|---|---|
committer | Tomeu Vizoso <tomeu@tomeuvizoso.net> | 2007-03-23 14:35:20 (GMT) |
commit | 8a9e503db59df67c729a4122995e7826983bebac (patch) | |
tree | e62c41f459605a374cc76cbb7c39927204cb368b /webview.py | |
parent | 0718ea05d39083e2546bf04399d11f107084f943 (diff) |
Add localization for spanish and portuguese.
Diffstat (limited to 'webview.py')
-rwxr-xr-x | webview.py | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -14,13 +14,13 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA import os -from gettext import gettext as _ import gobject import gtk import logging from sugar.graphics.filechooser import FileChooserDialog +from sugar.activity.locale import _ from _sugar import Browser from _sugar import PushScroller @@ -121,7 +121,6 @@ class _ImageMenu(gtk.Menu): file_filter.set_name(_("All files")) file_filter.add_pattern("*") chooser.add_filter(file_filter) - response = chooser.run() if response == gtk.RESPONSE_OK: |