notificationDaemon: Fix style
https://bugzilla.gnome.org/show_bug.cgi?id=680414
This commit is contained in:
parent
75d44dca6b
commit
fbc629266f
@ -139,9 +139,9 @@ const NotificationDaemon = new Lang.Class({
|
|||||||
if (icon) {
|
if (icon) {
|
||||||
if (icon.substr(0, 7) == 'file://')
|
if (icon.substr(0, 7) == 'file://')
|
||||||
return new Gio.FileIcon({ file: Gio.File.new_for_uri(icon) });
|
return new Gio.FileIcon({ file: Gio.File.new_for_uri(icon) });
|
||||||
else if (icon[0] == '/') {
|
else if (icon[0] == '/')
|
||||||
return new Gio.FileIcon({ file: Gio.File.new_for_path(icon) });
|
return new Gio.FileIcon({ file: Gio.File.new_for_path(icon) });
|
||||||
} else
|
else
|
||||||
return new Gio.ThemedIcon({ name: icon });
|
return new Gio.ThemedIcon({ name: icon });
|
||||||
} else if (hints['image-data']) {
|
} else if (hints['image-data']) {
|
||||||
let [width, height, rowStride, hasAlpha,
|
let [width, height, rowStride, hasAlpha,
|
||||||
|
Loading…
Reference in New Issue
Block a user