Mercurial > audlegacy
diff src/audacious/ui_skinned_textbox.c @ 3957:fed07be6b708
every other menu shows on button press..
| author | Tomasz Mon <desowin@gmail.com> |
|---|---|
| date | Fri, 16 Nov 2007 15:20:07 +0100 |
| parents | 8be86c0b040e |
| children | 1112f53ecc18 |
line wrap: on
line diff
--- a/src/audacious/ui_skinned_textbox.c Fri Nov 16 13:28:52 2007 +0100 +++ b/src/audacious/ui_skinned_textbox.c Fri Nov 16 15:20:07 2007 +0100 @@ -363,6 +363,8 @@ } else g_signal_emit(widget, textbox_signals[CLICKED], 0); + } else if (event->button == 3) { + g_signal_emit(widget, textbox_signals[RIGHT_CLICKED], 0); } else priv->is_dragging = FALSE; } else if (event->type == GDK_2BUTTON_PRESS) { @@ -382,8 +384,6 @@ if (event->button == 1) { priv->is_dragging = FALSE; - } else if (event->button == 3) { - g_signal_emit(widget, textbox_signals[RIGHT_CLICKED], 0); } return TRUE;
