Re: [gnome-love] Gnome Message Tray



Hi!

Message tray code is in gnome-shell/js/ui/messageTray.js

Message tray is implemented as part of the gnome-shell module and libnotify is a separate module. libnotify 
is basically a convenience library for applications that want to send notifications. 
gnome-shell/js/ui/notificationDaemon.js implements the notification server and takes care of displaying the 
notifications to the user.

You can browse the code for all GNOME modules on the web here:
http://git.gnome.org/browse

You can access different components defined in the message tray code when writing an extension. Text hiding 
in the message tray is done in _setExpandedSummaryItem() function in gnome-shell/js/ui/messageTray.js by 
setting the value of _expandedSummaryItemTitleWidth .

Hope this helps!

Marina

Hi

i'm searching for the source code of Message Tray in gnome 3

also i have some questions:

1. is Message Tray and libnotify the same project

2. how can i import text hiding from "Message Tray" project to an extension?


Regards
Bijan Binaee



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]