From 1c1638efa621c06cfc0ba0d592a4dfe555fc7eb1 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Tue, 3 Oct 2000 03:44:04 +0000 Subject: Fixed a bug that caused the "Create new shortcut group" dialog not to disappear when clicking on OK or Cancel. svn path=/trunk/; revision=5689 --- shell/ChangeLog | 5 +++++ shell/e-shortcuts-view.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/shell/ChangeLog b/shell/ChangeLog index 530d74037f..9d0aa514c3 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,8 @@ +2000-10-02 Ettore Perazzoli + + * e-shortcuts-view.c (show_new_group_dialog): Destroy the dialog + if the user has clicked on "OK" or "Cancel". + 2000-10-02 Chris Toshok * e-storage-set-view.c (e_storage_set_view_get_current_folder): if diff --git a/shell/e-shortcuts-view.c b/shell/e-shortcuts-view.c index 105d96b496..a4b60eee56 100644 --- a/shell/e-shortcuts-view.c +++ b/shell/e-shortcuts-view.c @@ -154,6 +154,8 @@ show_new_group_dialog (EShortcutsView *view) group_name = gtk_entry_get_text (GTK_ENTRY (entry)); e_shortcuts_add_group (view->priv->shortcuts, -1, group_name); + + gtk_widget_destroy (dialog); } -- cgit v1.2.3