Don't pass the button index to popup() for the GtkMenu to avoid strange GTK behaviour in newer versions. Identified by coling

git-svn-id: file:///home/lennart/svn/public/pavucontrol/trunk@58 c17c95f2-f111-0410-90bf-f30a9569010c
This commit is contained in:
Lennart Poettering 2007-08-24 14:43:36 +00:00
parent 1ce58dcf98
commit 4de2617bcd
1 changed files with 1 additions and 1 deletions

View File

@ -478,7 +478,7 @@ bool SinkInputWidget::on_button_press_event(GdkEventButton* event) {
if (event->type == GDK_BUTTON_PRESS && event->button == 3) { if (event->type == GDK_BUTTON_PRESS && event->button == 3) {
clearMenu(); clearMenu();
buildMenu(); buildMenu();
menu.popup(event->button, event->time); menu.popup(0, event->time);
return TRUE; return TRUE;
} }