diff options
author | Conor Curran <conor.curran@canonical.com> | 2010-08-24 17:59:15 +0100 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2010-08-24 17:59:15 +0100 |
commit | 5c225cc9608267ce25d599c279271eb5b7ee7a19 (patch) | |
tree | 547bd11cfb363a8b4f4ff68d986c425fd348ae40 /src/title-widget.c | |
parent | 6c2b00b21e60c5b667bb3d82639190af58d3c847 (diff) | |
parent | feed9f62a8779febde16e4f4461967a2b2a33e72 (diff) | |
download | ayatana-indicator-sound-5c225cc9608267ce25d599c279271eb5b7ee7a19.tar.gz ayatana-indicator-sound-5c225cc9608267ce25d599c279271eb5b7ee7a19.tar.bz2 ayatana-indicator-sound-5c225cc9608267ce25d599c279271eb5b7ee7a19.zip |
merged the UI polishes, more to follow ...
Diffstat (limited to 'src/title-widget.c')
-rw-r--r-- | src/title-widget.c | 25 |
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 |