# HG changeset patch # User Tomasz Mon # Date 1183803433 -7200 # Node ID 0adc8c00fc57c74cb540e6601e4b19c74b4413a1 # Parent a2eb970ca66952123c966f69eb894d19fd31c5e5 correct right-clicked signal diff -r a2eb970ca669 -r 0adc8c00fc57 src/audacious/ui_skinned_textbox.c --- a/src/audacious/ui_skinned_textbox.c Fri Jul 06 13:19:16 2007 +0200 +++ b/src/audacious/ui_skinned_textbox.c Sat Jul 07 12:17:13 2007 +0200 @@ -383,8 +383,6 @@ } else g_signal_emit(widget, textbox_signals[CLICKED], 0); - } else if (event->button == 3) { - g_signal_emit(widget, textbox_signals[RIGHT_CLICKED], 0); } } else if (event->type == GDK_2BUTTON_PRESS) { if (event->button == 1) { @@ -400,9 +398,11 @@ if (event->button == 1) { priv->is_dragging = FALSE; + } else if (event->button == 3) { + g_signal_emit(widget, textbox_signals[RIGHT_CLICKED], 0); } - return FALSE; + return TRUE; } static gboolean ui_skinned_textbox_motion_notify(GtkWidget *widget, GdkEventMotion *event) { @@ -428,7 +428,7 @@ } } - return FALSE; + return TRUE; } static void ui_skinned_textbox_toggle_doublesize(UiSkinnedTextbox *textbox) {