changeset 3998:351dc6ef07b9

I think it should work this way
author Tomasz Mon <desowin@gmail.com>
date Sat, 24 Nov 2007 17:51:18 +0100
parents 6dd4727647d3
children fa3d61ea0a6e
files src/audacious/ui_playlist.c src/audacious/ui_skinned_playlist.c
diffstat 2 files changed, 4 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/ui_playlist.c	Sat Nov 24 17:40:43 2007 +0100
+++ b/src/audacious/ui_playlist.c	Sat Nov 24 17:51:18 2007 +0100
@@ -408,9 +408,6 @@
                     GdkEventButton * event,
                     gpointer callback_data)
 {
-    if (event->button == 3)
-        return;
-
     playlistwin_resizing = FALSE;
 
     if (dock_is_moving(GTK_WINDOW(playlistwin)))
--- a/src/audacious/ui_skinned_playlist.c	Sat Nov 24 17:40:43 2007 +0100
+++ b/src/audacious/ui_skinned_playlist.c	Sat Nov 24 17:51:18 2007 +0100
@@ -868,12 +868,10 @@
 static gboolean ui_skinned_playlist_button_release(GtkWidget *widget, GdkEventButton *event) {
     UiSkinnedPlaylistPrivate *priv = UI_SKINNED_PLAYLIST_GET_PRIVATE(widget);
 
-    if (event->button == 1) {
-        priv->dragging = FALSE;
-        priv->auto_drag_down = FALSE;
-        priv->auto_drag_up = FALSE;
-        gtk_widget_queue_draw(widget);
-    }
+    priv->dragging = FALSE;
+    priv->auto_drag_down = FALSE;
+    priv->auto_drag_up = FALSE;
+    gtk_widget_queue_draw(widget);
 
     ui_skinned_playlist_popup_hide(widget);
     ui_skinned_playlist_popup_timer_stop(widget);