1 From 9e672e82e01f0bbe11869a4b67bd0a26c9494c50 Mon Sep 17 00:00:00 2001
2 From: Xiao-Long Chen <chenxiaolong@cxl.epac.to>
3 Date: Wed, 29 Oct 2014 00:36:15 -0400
4 Subject: [PATCH] Temporarily disable previous-button drop-shadow drawing
5
6 When indicator-sound is connected to a media player through mpris,
7 a bug in either cairo or ido causes unity-panel-service to segfault
8 ---
9 src/idoplaybackmenuitem.c | 2 ++
10 1 file changed, 2 insertions(+)
11
12 diff --git a/src/idoplaybackmenuitem.c b/src/idoplaybackmenuitem.c
13 index 11af9bb..5fb66da 100644
14 --- a/src/idoplaybackmenuitem.c
15 +++ b/src/idoplaybackmenuitem.c
16 @@ -1443,6 +1443,7 @@ ido_playback_menu_item_draw (GtkWidget* button, cairo_t *cr)
17 MIDDLE_END);
18 }
19
20 +#if 0
21 // draw previous-button drop-shadow
22 if ((item->cur_pushed_button == BUTTON_PREVIOUS && item->keyboard_activated) ||
23 item->cur_hover_button == BUTTON_PREVIOUS)
24 @@ -1485,6 +1486,7 @@ ido_playback_menu_item_draw (GtkWidget* button, cairo_t *cr)
25 _surface_blur (surf, 1);
26 _finalize (cr, &cr_surf, &surf, abs_prev_x, PREV_Y + 1.0f);
27 }
28 +#endif
29
30 // draw previous-button
31 _setup (&cr_surf, &surf, PREV_WIDTH, PREV_HEIGHT);
32 --
33 2.1.2
|