[gnome-shell] notificationDaemon: Fix style
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] notificationDaemon: Fix style
- Date: Wed, 2 Jan 2013 17:33:07 +0000 (UTC)
commit fbc629266f2152e9ba7eec9d33742e27a6342291
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Sun Dec 30 11:25:28 2012 -0500
notificationDaemon: Fix style
https://bugzilla.gnome.org/show_bug.cgi?id=680414
js/ui/notificationDaemon.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/notificationDaemon.js b/js/ui/notificationDaemon.js
index ff421f6..ff6c25f 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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]