# HG changeset patch # User William Pitcock # Date 1186647205 18000 # Node ID 065ae09902471e9b3dce7b20585a97d607239889 # Parent 04df6bd984ad7eff6445d47ea68f73a607bfee93# Parent 949480cc9d980ef203efe13a257255c12b8a8066 Automated merge with ssh://hg.atheme.org//hg/audacious diff -r 04df6bd984ad -r 065ae0990247 src/audacious/ui_main.c --- a/src/audacious/ui_main.c Thu Aug 09 03:13:01 2007 -0500 +++ b/src/audacious/ui_main.c Thu Aug 09 03:13:25 2007 -0500 @@ -523,7 +523,7 @@ static void mainwin_refresh_visible(void) { - if (!bmp_active_skin) + if (!bmp_active_skin || !cfg.player_visible) return; gtk_widget_show_all(mainwin); diff -r 04df6bd984ad -r 065ae0990247 src/audacious/ui_skinned_playlist.c --- a/src/audacious/ui_skinned_playlist.c Thu Aug 09 03:13:01 2007 -0500 +++ b/src/audacious/ui_skinned_playlist.c Thu Aug 09 03:13:25 2007 -0500 @@ -160,7 +160,6 @@ playlist->prev_selected = -1; playlist->prev_min = -1; playlist->prev_max = -1; - playlist->tooltips = TRUE; g_object_set_data(G_OBJECT(playlist), "timer_id", GINT_TO_POINTER(0)); g_object_set_data(G_OBJECT(playlist), "timer_active", GINT_TO_POINTER(0)); @@ -812,7 +811,6 @@ if (nr == -1) return FALSE; - pl->tooltips = FALSE; if (event->button == 3) { GList* selection = playlist_get_selected(playlist); if (g_list_find(selection, GINT_TO_POINTER(nr)) == NULL) { @@ -862,6 +860,8 @@ priv->dragging = TRUE; } playlistwin_update_list(playlist); + ui_skinned_playlist_popup_hide(widget); + ui_skinned_playlist_popup_timer_stop(widget); return TRUE; } @@ -873,9 +873,11 @@ priv->dragging = FALSE; priv->auto_drag_down = FALSE; priv->auto_drag_up = FALSE; - UI_SKINNED_PLAYLIST(widget)->tooltips = TRUE; gtk_widget_queue_draw(widget); } + + ui_skinned_playlist_popup_hide(widget); + ui_skinned_playlist_popup_timer_stop(widget); return TRUE; } diff -r 04df6bd984ad -r 065ae0990247 src/audacious/ui_skinned_playlist.h --- a/src/audacious/ui_skinned_playlist.h Thu Aug 09 03:13:01 2007 -0500 +++ b/src/audacious/ui_skinned_playlist.h Thu Aug 09 03:13:25 2007 -0500 @@ -48,7 +48,6 @@ gint first; gint num_visible; gint prev_selected, prev_min, prev_max; - gboolean tooltips; gboolean drag_motion; gint drag_motion_x, drag_motion_y; gint fheight;