aboutsummaryrefslogtreecommitdiff
path: root/src/title-widget.c
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-08-19 18:20:27 +0100
committerConor Curran <conor.curran@canonical.com>2010-08-19 18:20:27 +0100
commite6fc3937fd425dfed550884bf9852e16f1cb7401 (patch)
treeb4c5a09abeba6ef8f4af682d18646ebec7c0364c /src/title-widget.c
parent6c2b00b21e60c5b667bb3d82639190af58d3c847 (diff)
downloadayatana-indicator-sound-e6fc3937fd425dfed550884bf9852e16f1cb7401.tar.gz
ayatana-indicator-sound-e6fc3937fd425dfed550884bf9852e16f1cb7401.tar.bz2
ayatana-indicator-sound-e6fc3937fd425dfed550884bf9852e16f1cb7401.zip
set position works without a jumping slider, correct button press behaviour of the title and metadata menuitems clipboard functionality in place
Diffstat (limited to 'src/title-widget.c')
-rw-r--r--src/title-widget.c25
1 files changed, 1 insertions, 24 deletions
diff --git a/src/title-widget.c b/src/title-widget.c
index 8037eb7..7e73f7e 100644
--- a/src/title-widget.c
+++ b/src/title-widget.c
@@ -49,10 +49,6 @@ static void title_widget_finalize (GObject *object);
// keyevent consumers
static gboolean title_widget_button_press_event (GtkWidget *menuitem,
GdkEventButton *event);
-static gboolean title_widget_button_release_event (GtkWidget *menuitem,
- GdkEventButton *event);
-static gboolean title_widget_expose_event(GtkWidget* widget,
- GdkEventExpose* event);
// Dbusmenuitem properties update callback
static void title_widget_property_update(DbusmenuMenuitem* item, gchar* property,
@@ -72,8 +68,6 @@ title_widget_class_init (TitleWidgetClass *klass)
GtkWidgetClass *widget_class = GTK_WIDGET_CLASS (klass);
widget_class->button_press_event = title_widget_button_press_event;
- widget_class->button_release_event = title_widget_button_release_event;
- widget_class->expose_event = title_widget_expose_event;
g_type_class_add_private (klass, sizeof (TitleWidgetPrivate));
@@ -124,24 +118,7 @@ title_widget_button_press_event (GtkWidget *menuitem,
g_value_set_boolean(&value, TRUE);
dbusmenu_menuitem_handle_event (priv->twin_item, "Title menu event", &value, 0);
- return TRUE;
-}
-
-static gboolean
-title_widget_button_release_event (GtkWidget *menuitem,
- GdkEventButton *event)
-{
- g_debug("TitleWidget::menu_release_event");
- return TRUE;
-}
-
-static gboolean
-title_widget_expose_event(GtkWidget* widget, GdkEventExpose* event)
-{
- TitleWidgetPrivate * priv = TITLE_WIDGET_GET_PRIVATE(widget);
-
- gtk_container_propagate_expose(GTK_CONTAINER(widget), priv->hbox, event);
- return TRUE;
+ return FALSE;
}
static void