Merge lp:~muktupavels/ido/ido into lp:ido

Proposed by Alberts Muktupāvels
Status: Merged
Approved by: Dmitry Shachnev
Approved revision: 199
Merged at revision: 201
Proposed branch: lp:~muktupavels/ido/ido
Merge into: lp:ido
Diff against target: 12 lines (+1/-1)
1 file modified
src/idomediaplayermenuitem.c (+1/-1)
To merge this branch: bzr merge lp:~muktupavels/ido/ido
Reviewer Review Type Date Requested Status
Indicator Applet Developers Pending
Review via email: mp+431199@code.launchpad.net

Commit message

mediaplayermenuitem: do not try to open empty url

Description of the change

Fixes following spam from gnome-panel:
unable to fetch album art: Operation not supported

To post a comment you must log in.
lp:~muktupavels/ido/ido updated
199. By Alberts Muktupāvels

mediaplayermenuitem: do not try to open empty url

Fixes following spam from gnome-panel:
unable to fetch album art: Operation not supported

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/idomediaplayermenuitem.c'
2--- src/idomediaplayermenuitem.c 2014-04-23 10:01:33 +0000
3+++ src/idomediaplayermenuitem.c 2022-10-07 09:47:35 +0000
4@@ -263,7 +263,7 @@
5
6 gtk_image_clear (GTK_IMAGE (self->album_art));
7
8- if (url == NULL)
9+ if (url == NULL || *url == '\0')
10 return;
11
12 file = g_file_new_for_uri (url);

Subscribers

People subscribed via source and target branches