From 79a384cbbe3d4f28308c29c410003913d3217ec7 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Fri, 9 Dec 2005 14:35:33 +0000 Subject: Remove title from alerts. (#323134) 2005-12-09 Alexander Larsson * libnautilus-private/nautilus-emblem-utils.c: * libnautilus-private/nautilus-file-operations.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-properties-window.c: * src/file-manager/fm-tree-view.c: * src/nautilus-application.c: * src/nautilus-connect-server-dialog-main.c: * src/nautilus-connect-server-dialog.c: * src/nautilus-emblem-sidebar.c: * src/nautilus-information-panel.c: * src/nautilus-navigation-window-menus.c: * src/nautilus-property-browser.c: * src/nautilus-window-bookmarks.c: * src/nautilus-window-manage-views.c: Remove title from alerts. (#323134) Patch from jaap@haitsma.org * libnautilus-private/nautilus-file-queue.c (nautilus_file_queue_enqueue): Fix warning from ignoring g_list_append return value --- src/nautilus-emblem-sidebar.c | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'src/nautilus-emblem-sidebar.c') diff --git a/src/nautilus-emblem-sidebar.c b/src/nautilus-emblem-sidebar.c index 5f55a647e..6339b5fd2 100644 --- a/src/nautilus-emblem-sidebar.c +++ b/src/nautilus-emblem-sidebar.c @@ -240,7 +240,6 @@ nautilus_emblem_sidebar_delete_cb (GtkWidget *menu_item, } else { error = g_strdup_printf (_("Couldn't remove emblem with name '%s'."), emblem_sidebar->details->popup_emblem_display_name); eel_show_error_dialog (error, _("This is probably because the emblem is a permanent one, and not one that you added yourself."), - _("Couldn't Remove Emblem"), NULL); g_free (error); } @@ -275,7 +274,6 @@ rename_dialog_response_cb (GtkWidget *dialog, int response, } else { error = g_strdup_printf (_("Couldn't rename emblem with name '%s'."), name); eel_show_error_dialog (error, _("This is probably because the emblem is a permanent one, and not one that you added yourself."), - _("Couldn't Rename Emblem"), NULL); g_free (error); } @@ -776,9 +774,9 @@ nautilus_emblem_sidebar_drag_received_cb (GtkWidget *widget, nautilus_icon_dnd_uri_list_free_strings (uris); if (had_failure && emblems != NULL) { - eel_show_error_dialog (_("Some of the files could not be added as emblems."), _("The emblems do not appear to be valid images."), _("Couldn't Add Emblems"), NULL); + eel_show_error_dialog (_("Some of the files could not be added as emblems."), _("The emblems do not appear to be valid images."), NULL); } else if (had_failure && emblems == NULL) { - eel_show_error_dialog (_("None of the files could be added as emblems."), _("The emblems do not appear to be valid images."), _("Couldn't Add Emblems"), NULL); + eel_show_error_dialog (_("None of the files could be added as emblems."), _("The emblems do not appear to be valid images."), NULL); } @@ -799,7 +797,7 @@ nautilus_emblem_sidebar_drag_received_cb (GtkWidget *widget, uri = g_strndup (data->data, data->length); if (!eel_is_valid_uri (uri)) { - eel_show_error_dialog (_("The emblem cannot be added."), _("The dragged text was not a valid file location."), _("Couldn't Add Emblem"), NULL); + eel_show_error_dialog (_("The emblem cannot be added."), _("The dragged text was not a valid file location."), NULL); break; } @@ -824,8 +822,7 @@ nautilus_emblem_sidebar_drag_received_cb (GtkWidget *widget, } else { error = g_strdup (_("The dragged file does not appear to be a valid image.")); } - eel_show_error_dialog (_("The emblem cannot be added."), error, _("Couldn't Add Emblem"), - NULL); + eel_show_error_dialog (_("The emblem cannot be added."), error, NULL); g_free (error); g_free (uri_utf8); } @@ -874,8 +871,7 @@ nautilus_emblem_sidebar_drag_received_cb (GtkWidget *widget, g_warning ("Tried to load '%s', but failed.\n", uri); error = g_strdup_printf (_("The file '%s' does not appear to be a valid image."), uri); - eel_show_error_dialog (_("The emblem cannot be added."), error, _("Couldn't Add Emblem"), - NULL); + eel_show_error_dialog (_("The emblem cannot be added."), error, NULL); g_free (error); } break; -- cgit v1.2.1