From a03e2e75297c4d1b99890cdc90c3443088eb7ce8 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Tue, 26 Sep 2000 19:01:28 +0000 Subject: Fix a bunch of EShortcutView problems. It's still buggy, but at least it's usable now. Also, implemented a "new group" command (which doesn't quite work right yet for some reason) and a "remove group" one. svn path=/trunk/; revision=5595 --- shell/e-shortcuts-view-model.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'shell/e-shortcuts-view-model.c') diff --git a/shell/e-shortcuts-view-model.c b/shell/e-shortcuts-view-model.c index c37e45092c..384144508b 100644 --- a/shell/e-shortcuts-view-model.c +++ b/shell/e-shortcuts-view-model.c @@ -145,7 +145,7 @@ shortcuts_new_group_cb (EShortcuts *shortcuts, EShortcutsViewModelPrivate *priv; const char *title; - shortcuts_view_model = E_SHORTCUTS_VIEW_MODEL (shortcuts); + shortcuts_view_model = E_SHORTCUTS_VIEW_MODEL (data); priv = shortcuts_view_model->priv; title = e_shortcuts_get_group_title (priv->shortcuts, group_num); @@ -229,6 +229,7 @@ class_init (EShortcutsViewModelClass *klass) GtkObjectClass *object_class; object_class = GTK_OBJECT_CLASS (klass); + object_class->destroy = impl_destroy; parent_class = gtk_type_class (e_shortcut_model_get_type ()); } -- cgit v1.2.3