diff options
author | Alexander Larsson <alexl@redhat.com> | 2003-12-11 10:38:17 +0000 |
---|---|---|
committer | Alexander Larsson <alexl@src.gnome.org> | 2003-12-11 10:38:17 +0000 |
commit | 0b04cb7f9009429fe6a02020375dfab626b2ae6f (patch) | |
tree | adc0fbe3144acd6d3d663bca26da2b86b36b929e /src/file-manager/fm-properties-window.c | |
parent | 2088def1a33b679225b50afefe9abe49286458a1 (diff) | |
download | nautilus-0b04cb7f9009429fe6a02020375dfab626b2ae6f.tar.gz |
Update error dialogs to be HIGy, and use the new eel message dialog api.
2003-12-11 Alexander Larsson <alexl@redhat.com>
* components/emblem/nautilus-emblem-view.c:
* components/music/nautilus-music-view.c:
* components/news/nautilus-news.c:
* libnautilus-private/nautilus-desktop-link-monitor.c:
* libnautilus-private/nautilus-emblem-utils.c:
* libnautilus-private/nautilus-file-operations.c:
* libnautilus-private/nautilus-icon-dnd.c:
* libnautilus-private/nautilus-program-chooser.c:
* libnautilus-private/nautilus-program-choosing.c:
* src/file-manager/fm-directory-view.c:
* src/file-manager/fm-error-reporting.c:
* src/file-manager/fm-icon-view.c:
* src/file-manager/fm-properties-window.c:
* src/file-manager/fm-search-list-view.c:
* src/file-manager/nautilus-indexing-info.c:
* src/nautilus-application.c:
* src/nautilus-connect-server-dialog.c:
* src/nautilus-information-panel.c:
* src/nautilus-location-bar.c:
* src/nautilus-navigation-window-menus.c:
* src/nautilus-navigation-window.c:
* src/nautilus-property-browser.c:
* src/nautilus-window-manage-views.c:
* src/nautilus-window.c:
Update error dialogs to be HIGy, and use the new
eel message dialog api.
Based on patch from dennis_cranston@yahoo.com
Diffstat (limited to 'src/file-manager/fm-properties-window.c')
-rw-r--r-- | src/file-manager/fm-properties-window.c | 24 |
1 files changed, 10 insertions, 14 deletions
diff --git a/src/file-manager/fm-properties-window.c b/src/file-manager/fm-properties-window.c index 51849cd19..b77b791f2 100644 --- a/src/file-manager/fm-properties-window.c +++ b/src/file-manager/fm-properties-window.c @@ -479,8 +479,8 @@ fm_properties_window_drag_data_received (GtkWidget *widget, GdkDragContext *cont if (!exactly_one) { eel_show_error_dialog - (_("You can't assign more than one custom icon at a time! " - "Please drag just one image to set a custom icon."), + (_("You can't assign more than one custom icon at a time!"), + _("Please drag just one image to set a custom icon."), _("More Than One Image"), window); } else { @@ -490,15 +490,15 @@ fm_properties_window_drag_data_received (GtkWidget *widget, GdkDragContext *cont } else { if (eel_is_remote_uri (uris[0])) { eel_show_error_dialog - (_("The file that you dropped is not local. " - "You can only use local images as custom icons."), + (_("The file that you dropped is not local."), + _("You can only use local images as custom icons."), _("Local Images Only"), window); } else { eel_show_error_dialog - (_("The file that you dropped is not an image. " - "You can only use local images as custom icons."), + (_("The file that you dropped is not an image."), + _("You can only use local images as custom icons."), _("Images Only"), window); } @@ -1381,7 +1381,7 @@ activate_group_callback (GtkMenuItem *menu_item, FileNamePair *pair) (cancel_group_change_callback, pair->file, _("Cancel Group Change?"), - _("Changing group"), + _("Changing group."), NULL); /* FIXME bugzilla.gnome.org 42397: Parent this? */ nautilus_file_set_group (pair->file, pair->name, @@ -1543,7 +1543,7 @@ activate_owner_callback (GtkMenuItem *menu_item, FileNamePair *pair) (cancel_owner_change_callback, pair->file, _("Cancel Owner Change?"), - _("Changing owner"), + _("Changing owner."), NULL); /* FIXME bugzilla.gnome.org 42397: Parent this? */ nautilus_file_set_owner (pair->file, pair->name, @@ -3339,19 +3339,15 @@ static void help_button_callback (GtkWidget *widget, GtkWidget *property_window) { GError *error = NULL; - char *message; egg_help_display_desktop_on_screen (NULL, "user-guide", "wgosnautilus.xml", "gosnautilus-51", gtk_window_get_screen (GTK_WINDOW (property_window)), &error); if (error) { - message = g_strdup_printf (_("There was an error displaying help: \n%s"), - error->message); - eel_show_error_dialog (message, _("Couldn't show help"), + eel_show_error_dialog (_("There was an error displaying help."), error->message, _("Couldn't Show Help"), GTK_WINDOW (property_window)); g_error_free (error); - g_free (message); } } @@ -3686,7 +3682,7 @@ fm_properties_window_present (GList *original_files, (cancel_create_properties_window_callback, startup_data, _("Cancel Showing Properties Window?"), - _("Creating Properties window"), + _("Creating Properties window."), parent_window == NULL ? NULL : GTK_WINDOW (parent_window)); |