Yes, please use libnotify or dbus On Dec 8, 2011 7:36 AM, "Christian Dywan" <christ...@twotoasts.de> wrote:
> Am 08.12.2011 12:14, schrieb David Gomes: > >> I've been working on notifications for Pantheon Terminal, and I've >> been using this code: >> >> GLib.Process.spawn_command_**line_async ("notify-send >> --icon=\"utilities-terminal\" \"" + t.get_window_title () + "\" \"Task >> finished.\"") >> >> Should I use libnotify or something like that? The above code works >> fine in Unity, Pantheon and even Awesome WM. >> > notify-send is usually not installed on most distributions. > It is slower than using libnotify or DBus. > It is an invitation to sublte escaping issues. > > -- > Mailing list: > https://launchpad.net/~**elementary-dev-community<https://launchpad.net/~elementary-dev-community> > Post to : > elementary-dev-community@**lists.launchpad.net<elementary-dev-community@lists.launchpad.net> > Unsubscribe : > https://launchpad.net/~**elementary-dev-community<https://launchpad.net/~elementary-dev-community> > More help : > https://help.launchpad.net/**ListHelp<https://help.launchpad.net/ListHelp> >
-- Mailing list: https://launchpad.net/~elementary-dev-community Post to : elementary-dev-community@lists.launchpad.net Unsubscribe : https://launchpad.net/~elementary-dev-community More help : https://help.launchpad.net/ListHelp