~ubuntu-branches/ubuntu/feisty/libgnome/feisty

« back to all changes in this revision

Viewing changes to libgnome/gnome-url.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2006-11-15 15:52:31 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20061115155231-gbp2xt8ns20vf1vh
Tags: 2.17.0-0ubuntu1
* New upstream version:
  - Enable a11y by default in devel releases 
  - Don't check for null before calling g_free/g_strdup
  - Improve strings in error messages and other places
  - GThread initialization fix 
* debian/patches/08_dont_force_a11y_activation.patch:
  - don't force a11y activation
* debian/patches/09_run_app_message_fix.patch:
  - fixed with the new version

Show diffs side-by-side

added added

removed removed

Lines of Context:
150
150
                break;
151
151
 
152
152
        case GNOME_VFS_ERROR_INVALID_URI:
 
153
        case GNOME_VFS_ERROR_NOT_FOUND:
153
154
                g_set_error (error,
154
155
                             GNOME_URL_ERROR,
155
156
                             GNOME_URL_ERROR_VFS,
156
157
                             _("The location or file could not be found."));
157
158
                break;
158
159
 
 
160
        case GNOME_VFS_ERROR_LOGIN_FAILED:
 
161
                g_set_error (error,
 
162
                             GNOME_URL_ERROR,
 
163
                             GNOME_URL_ERROR_VFS,
 
164
                             _("The login has failed."));
 
165
                break;
159
166
        default:
160
167
                g_set_error (error,
161
168
                             GNOME_URL_ERROR,
162
169
                             GNOME_URL_ERROR_VFS,
163
 
                             _("Unknown error code: %u"), result);
 
170
                             gnome_vfs_result_to_string (result));
164
171
        }
165
172
 
166
173
        return FALSE;