summaryrefslogtreecommitdiff
path: root/src/notification.c
AgeCommit message (Collapse)Author
2013-02-25Allow to specify notification's hintsNuno Araujo
Desktop Notifications Specification [1] specifies that hints can be used to provide extra data to a notification server. A new command line option --hint allows to add a hint to the notification to display. This option can be used multiple times, one for each hint to add. --hint option format is name:value. The new 'hints' command allow to specify hints in 'listen' mode. Same format that in the command line option is used. Several hints can be passed by separating them by '\n'. Hints of value type '(iiibiiay)' are not supported. This value type is used to pass a raw data image as a hint value. This new change is useful for implementing the NotificationSource [2] GNOME Goal. A application using zenity and having a desktop file, can now specify that it is a notification emitter and it's notifications can be filtered in the new Notifications GNOME control panel pane. [1] http://people.gnome.org/~mccann/docs/notification-spec/notification-spec-latest.html#hints [2] https://live.gnome.org/GnomeGoals/NotificationSource https://bugzilla.gnome.org/show_bug.cgi?id=693751
2012-11-22Replaced string 'could' to start with an Uppercase.Marc Ruiz - radykal -
BUG ID: 687180
2011-06-07Fix bug 651723, don't look for libnotify.h if not requestedNirbheek Chauhan
2011-01-25Reset errors after freeing themMatthias Clasen
This was causing segfaults: https://bugzilla.redhat.com/show_bug.cgi?id=670895
2010-11-09Add libnotify as optional in zenity instalationArx Cruz
2010-10-20Require libnotify 0.6.1William Jon McCann
https://bugzilla.gnome.org/show_bug.cgi?id=631737
2010-05-27Use g_timeout_add_seconds instead g_timeout_addPhilippe Gauthier
The calls to g_timeout_add are replaced with g_timeout_add_seconds to reduce the number or program wake ups. See the GNOME Goal description: http://live.gnome.org/GnomeGoals/UseTimeoutAddSeconds
2009-08-10Bug 573802 - Support notification summaryAurélio A. Heckert
You can now define title and summary on notifications. The first line of the provided text will be considered the title and the following lines are the summary.
2009-07-20Bug 578393 – convert from libglade to GtkBuilderFelix Riemann
2009-03-08replace deprecated GTK+ calls (fixes bug #571869). Patch from FelixLucas Rocha
2009-03-08 Lucas Rocha <lucasr@gnome.org> * configure.in, src/notification.c: replace deprecated GTK+ calls (fixes bug #571869). Patch from Felix Riemann <friemann@svn.gnome.org>. svn path=/trunk/; revision=1488
2007-08-13added timeout option to all dialogs (Fixes bug #160654). Based on patchLucas Rocha
2007-08-13 Lucas Rocha <lucasr@gnome.org> * src/*.c: added timeout option to all dialogs (Fixes bug #160654). Based on patch from Muthiah Annamalai <gnumuthu@users.sf.net>. svn path=/trunk/; revision=1231
2007-05-27initialize GTK+ before parsing command line options to better handleLucas Rocha
2007-05-27 Lucas Rocha <lucasr@gnome.org> * src/main.c: initialize GTK+ before parsing command line options to better handle errors on display setting (Fixes bug #410055). svn path=/trunk/; revision=1217
2007-05-14general cleanups for build warnings (Fixes bug #416196). Patch fromLucas Rocha
2007-05-14 Lucas Rocha <lucasr@gnome.org> * src/progress.c (zenity_progress_handle_stdin), src/option.c (zenity_create_context), src/about.c, src/notification.c (zenity_notification_handle_stdin): general cleanups for build warnings (Fixes bug #416196). Patch from Kjartan Maraas <kmaraas@gnome.org>. svn path=/trunk/; revision=1208
2006-08-09Release 2.15.91 Update.Lucas Rocha
2006-07-28 Lucas Rocha <lucasr@gnome.org> * configure.in: Release 2.15.91 * NEWS: Update.
2006-07-28src/notification.c (-set_scaled_pixbuf, +zenity_notification_icon_update,Lucas Rocha
2006-07-27 Lucas Rocha <lucasr@gnome.org> * src/notification.c (-set_scaled_pixbuf, +zenity_notification_icon_update, -zenity_notification_icon_press_callback, +zenity_notification_icon_size_changed_cb, -zenity_notification_icon_expose_callback, -zenity_notification_icon_destroy_callback, +zenity_notification_icon_activate_cb, zenity_notification_handle_stdin, zenity_notification), src/util.[ch] (+zenity_util_stock_from_filename, zenity_util_pixbuf_new_from_file), Makefile.am, configure.in: Migration to gtk_status_icon (Fixes bug #341451). Patch from Christian Persch <chpe@gnome.org>. * src/eggtrayicon.[ch]: removed.
2006-03-23Implement the "message" command on notification icon with libnotifyLucas Rocha
2006-03-22 Lucas Rocha <lucasr@gnome.org> Implement the "message" command on notification icon with libnotify bubbles. Patch from Davyd Madeley <davyd@madeley.id.au>. * configure.in: add libnotify checking. * src/notification.c (zenity_notification_handle_stdin, zenity_notification): initialize libnotify and implement "message" command.
2005-07-06Include cleanups (config.h)Lucas Almeida Rocha
2005-06-17Don't use the parent widget for hiding tray iconLucas Almeida Rocha
2005-04-25COPYING, src/about.c, src/calendar.c, src/eggtrayicon.c, src/entry.c,Glynn Foster
2005-04-25 Glynn Foster <glynn.foster@sun.com> * COPYING, src/about.c, src/calendar.c, src/eggtrayicon.c, * src/entry.c, src/fileselection.c, src/main.c, src/msg.c, * src/notification.c, src/option.c, src/progress.c, * src/text.c, src/tree.c, src/util.c: Update the FSF address to point to 51 Franklin Street, Fifth Floor as per forwarded mail from Alvaro Lopez Ortega.
2005-01-31Patch from Chris Lahey for #165456. Updated.Glynn Foster
2005-02-01 Glynn Foster <glynn.foster@sun.com> * src/notification.c, src/option.c: Patch from Chris Lahey for #165456. * src/about.c, THANKS: Updated.
2005-01-09Correct error message for notification icon. Fixes #163462.Glynn Foster
2005-01-07 Glynn Foster <glynn.foster@sun.com> * src/notification.c: Correct error message for notification icon. Fixes #163462.
2004-12-19Fix #161539, and try and hide the parent widget, rather than the trayGlynn Foster
2004-12-20 Glynn Foster <glynn.foster@sun.com> * src/notification.c: Fix #161539, and try and hide the parent widget, rather than the tray icon, since it saves space.
2004-09-30function to set a GtkImage to a scaled pixbuf.James Henstridge
2004-09-30 James Henstridge <james@jamesh.id.au> * src/notification.c (set_scaled_pixbuf): function to set a GtkImage to a scaled pixbuf. (zenity_notification_handle_stdin): set the image to a GTK_ICON_SIZE_BUTTON sized image. (zenity_notification): same here.
2004-09-16add code to listen for commands on stdin when in listen mode.James Henstridge
2004-09-16 James Henstridge <james@jamesh.id.au> * src/notification.c: add code to listen for commands on stdin when in listen mode. * src/main.c: parse the --listen argument for --notification mode. * src/zenity.h (ZenityNotificationData): add a field for the "listen" argument.
2004-09-13Add new notification icon. Update for new files. Restructure code a littleGlynn Foster
2004-09-13 Glynn Foster <glynn.foster@sun.com> * data/Makefile.am, data/zenity-notification.png: Add new notification icon. * src/Makefile.am: Update for new files. * src/about.c, src/calendar.c, src/entry.c, src/fileselection.c, src/progress.c, src/text.c, src/tree.c, src/msg.c: Restructure code a little bit for new utility functions for setting window icons. * src/eggtrayicon.c, src/eggtrayicon.h: New files for notification area support. * src/main.c, src/notification.c, src/util.c, src/util.h, src/zenity.h: Add support for notification area. * data/zenity.1, help/*: Update docs for notification and new file selection changes.