Re: Gnome Message Tray

Marina Zhurakhinskaya <[email protected]>
Newsgroups gmane.comp.gnome.love
Message-ID <ec52fbb8-6164-434f-b58a-52aceb1216d9@zmail13.collab.prod.int.phx2.redhat.com>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.