Mercurial > audlegacy
diff src/audacious/ui_skinned_playlist.c @ 3370:dbca6c49bdff trunk
fix playlist right click behaviour
| author | Tomasz Mon <desowin@gmail.com> |
|---|---|
| date | Sun, 19 Aug 2007 14:10:50 +0200 |
| parents | b4ff4ef0211f |
| children | 440877c9360e 602ec8c40d0d |
line wrap: on
line diff
--- a/src/audacious/ui_skinned_playlist.c Sun Aug 19 13:57:53 2007 +0200 +++ b/src/audacious/ui_skinned_playlist.c Sun Aug 19 14:10:50 2007 +0200 @@ -799,11 +799,6 @@ UiSkinnedPlaylist *pl = UI_SKINNED_PLAYLIST (widget); UiSkinnedPlaylistPrivate *priv = UI_SKINNED_PLAYLIST_GET_PRIVATE(widget); - if (event->button == 3) { - ui_manager_popup_menu_show(GTK_MENU(playlistwin_popup_menu), - event->x_root, event->y_root + 5, - event->button, event->time); - } gint nr; Playlist *playlist = playlist_get_active(); @@ -812,6 +807,9 @@ return FALSE; if (event->button == 3) { + ui_manager_popup_menu_show(GTK_MENU(playlistwin_popup_menu), + event->x_root, event->y_root + 5, + event->button, event->time); GList* selection = playlist_get_selected(playlist); if (g_list_find(selection, GINT_TO_POINTER(nr)) == NULL) { playlist_select_all(playlist, FALSE);
