Adds half of the support for the menu on the profile.

This adds the menu, it just doesn't do anything, yet.

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Enable the 'Remove Event' callback.

Based on the code in the Gtk branch.

[Dirk Hohndel: whitespace cleanup and changed the message text]

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Hooked up 'Hide Events'

With this commit one can hide all events of the selected type through a
context menu on the profile.

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Small whitespace cleanup

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Hiding events doesn't change the dive_table

So let's not mark it as changed.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Use the correct dive to create the gas list

If we are adding a dive, it's the stagingDive, otherwise it's the
current_dive that we need to look at.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>