From b352ae1f19ca558ba8fd61e0a277a2a9020406bf Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Thu, 8 May 2003 19:36:47 +0000 Subject: [#36956] Remove the version number from the window title. [#36956] * e-shell-view.c (update_for_current_uri): Remove the version number from the window title. [#42518] * e-shell-view.c (handle_current_folder_removed): Casefold the Inbox name only once, instead of once per iteration. Removed the spurious slash that was being passed in the path in the Inbox case and prevented it from working. Added missing slash in the path for the storage case. Casefold the path including the slash, since we compare against a string that does include the slash. (storage_set_removed_folder_callback): Remove the notebook page before calling handle_current_folder_removed(), instead of after; otherwise, the notebook page number we have might not be valid anymore. * e-shell-folder-creation-dialog.c (setup_dialog): Set the default response for the dialog to GTK_RESPONSE_OK. svn path=/trunk/; revision=21134 --- shell/e-shell-folder-creation-dialog.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'shell/e-shell-folder-creation-dialog.c') diff --git a/shell/e-shell-folder-creation-dialog.c b/shell/e-shell-folder-creation-dialog.c index 8390423850..4f2afc819e 100644 --- a/shell/e-shell-folder-creation-dialog.c +++ b/shell/e-shell-folder-creation-dialog.c @@ -307,6 +307,8 @@ setup_dialog (GtkWidget *dialog, gtk_window_set_modal (GTK_WINDOW (dialog), TRUE); gtk_window_set_title (GTK_WINDOW (dialog), _("Create New Folder")); + gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK); + gtk_dialog_set_response_sensitive (GTK_DIALOG (dialog), GTK_RESPONSE_OK, FALSE); gtk_widget_show (dialog); -- cgit v1.2.3