After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 612018 - notificationDaemon.js is missing import
notificationDaemon.js is missing import
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
: 612027 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2010-03-06 18:02 UTC by Florian Scandella
Modified: 2010-03-08 21:02 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
add missing import to notificationDaemon.js (710 bytes, patch)
2010-03-08 13:15 UTC, Florian Scandella
committed Details | Review

Description Florian Scandella 2010-03-06 18:02:47 UTC
diff --git a/js/ui/notificationDaemon.js b/js/ui/notificationDaemon.js
index 0183962..c3cb270 100644
--- a/js/ui/notificationDaemon.js
+++ b/js/ui/notificationDaemon.js
@@ -5,6 +5,7 @@ const GLib = imports.gi.GLib;
 const Lang = imports.lang;
 const Shell = imports.gi.Shell;
 const Mainloop = imports.mainloop;
+const St = imports.gi.St;
 
 const Main = imports.ui.main;
 const MessageTray = imports.ui.messageTray
Comment 1 lexual 2010-03-07 23:19:13 UTC
I can confirm this is a bug and that the above patch fixes the problem.

I was getting errors about St not being defined.
Comment 2 lexual 2010-03-07 23:21:13 UTC
*** Bug 612027 has been marked as a duplicate of this bug. ***
Comment 3 Florian Müllner 2010-03-08 11:55:47 UTC
Thanks for the catch - can you create a proper attachment with "git format-patch"? That's a lot easier to handle than an inlined diff, and it will make sure that you keep the credits!
Comment 4 drago01 2010-03-08 12:04:10 UTC
(In reply to comment #3)
> Thanks for the catch - can you create a proper attachment with "git
> format-patch"? That's a lot easier to handle than an inlined diff, and it will
> make sure that you keep the credits!

And it will make sure that others find it easier and not create a new patch (duplicate work).

(Didn't find yours while searching for patches).
Comment 5 Florian Scandella 2010-03-08 13:15:17 UTC
Created attachment 155558 [details] [review]
add missing import to notificationDaemon.js

well, it's such a simple fix that applying a patch is more work than looking up the file and fixing this.

anyway, here you go ..
Comment 6 Florian Müllner 2010-03-08 14:27:39 UTC
(In reply to comment #5)
> well, it's such a simple fix that applying a patch is more work than looking up
> the file and fixing this.

You should have a look at git-bz ;)
Comment 7 Florian Scandella 2010-03-08 21:02:25 UTC
(In reply to comment #6)
> You should have a look at git-bz ;)

wow, nice .. thx