From fbc629266f2152e9ba7eec9d33742e27a6342291 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Sun, 30 Dec 2012 11:25:28 -0500 Subject: [PATCH] notificationDaemon: Fix style https://bugzilla.gnome.org/show_bug.cgi?id=680414 --- js/ui/notificationDaemon.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/ui/notificationDaemon.js b/js/ui/notificationDaemon.js index ff421f6b5..ff6c25f06 100644 --- a/js/ui/notificationDaemon.js +++ b/js/ui/notificationDaemon.js @@ -139,9 +139,9 @@ const NotificationDaemon = new Lang.Class({ if (icon) { if (icon.substr(0, 7) == 'file://') 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) }); - } else + else return new Gio.ThemedIcon({ name: icon }); } else if (hints['image-data']) { let [width, height, rowStride, hasAlpha,