aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2000-10-03 11:44:04 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2000-10-03 11:44:04 +0800
commit1c1638efa621c06cfc0ba0d592a4dfe555fc7eb1 (patch)
treecc03f94eca996d44db9b3b2c3f3be194d4893281
parent6ca5ab655eb56cab1cbffee98c3edb4da55e11be (diff)
downloadgsoc2013-evolution-1c1638efa621c06cfc0ba0d592a4dfe555fc7eb1.tar.gz
gsoc2013-evolution-1c1638efa621c06cfc0ba0d592a4dfe555fc7eb1.tar.zst
gsoc2013-evolution-1c1638efa621c06cfc0ba0d592a4dfe555fc7eb1.zip
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
-rw-r--r--shell/ChangeLog5
-rw-r--r--shell/e-shortcuts-view.c2
2 files changed, 7 insertions, 0 deletions
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 <ettore@helixcode.com>
+
+ * 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 <toshok@helixcode.com>
* 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);
}