aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shortcuts-view-model.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2000-09-27 03:01:28 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2000-09-27 03:01:28 +0800
commita03e2e75297c4d1b99890cdc90c3443088eb7ce8 (patch)
treeffbd588e7ebf1708235bc06900b40ebe6b6e1324 /shell/e-shortcuts-view-model.c
parentd9f93b90ee08a8576e5ff447b66e0281e49287bf (diff)
downloadgsoc2013-evolution-a03e2e75297c4d1b99890cdc90c3443088eb7ce8.tar.gz
gsoc2013-evolution-a03e2e75297c4d1b99890cdc90c3443088eb7ce8.tar.zst
gsoc2013-evolution-a03e2e75297c4d1b99890cdc90c3443088eb7ce8.zip
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
Diffstat (limited to 'shell/e-shortcuts-view-model.c')
-rw-r--r--shell/e-shortcuts-view-model.c3
1 files changed, 2 insertions, 1 deletions
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 ());
}