Commit Graph

294 Commits

Author SHA1 Message Date
Christian Hammond 28e0463e75 Remove the config.h include from notifynotification.h. 2006-01-19 06:25:16 +00:00
Christian Hammond 85981b247c Add back notify_get_server_info() and notify_get_server_caps(). 2006-01-16 01:53:06 +00:00
John (J5) Palmieri 29b5c2b8ea Thu Jan 12 2006 John (J5) Palmieri <johnp@redhat.com>
* libnotify/notifynotification.c (notify_notification_set_user_data):
	fix free function addition
	(notify_notification_get_user_data): added method for actually
	getting the user data (fd.o bug# 5418)
	- patches provided by Duarte Henriques 
	<duarte.henriques at gmail dot com>
2006-01-12 22:29:16 +00:00
Christian Hammond f74c4465ce Move libnotify-ng to libnotify. 2006-01-11 07:48:56 +00:00
Christian Hammond 39f0b92be1 Require D-BUS 0.36+. 2006-01-11 07:33:55 +00:00
Christian Hammond 959eeb5bcd Fix some C99 usage. 2006-01-11 06:56:38 +00:00
Christian Hammond 9e586d627d Shush, SVN. 2006-01-11 06:49:50 +00:00
Christian Hammond 4ddb4eff82 Makefile.in should never have been in the repository. 2006-01-11 06:48:15 +00:00
Christian Hammond 8757fda576 Patch by David Trowbridge to make sure that marshal files actually get built. 2006-01-11 06:47:39 +00:00
Christian Hammond 1ea5eae50a Generate the marshal files automatically. We shouldn't be doing it by hand. 2006-01-09 19:14:10 +00:00
Christian Hammond fb513c854d Clean up lots of warnings. 2006-01-09 18:16:48 +00:00
John (J5) Palmieri 83f6529c18 - Add content to teh NEWS file 2005-12-14 23:10:41 +00:00
John (J5) Palmieri 5cd10607b1 * Release 0.3.0
* tests/Makefile.am, tools/Makefile.am: patch from Rodney
  Dawes <dobey at novell.com> fixing make distcheck

* tools/notify-send.c: use show_and_forget
2005-12-13 22:42:48 +00:00
John (J5) Palmieri 9c670744bd - must have just checked in the src directory
here is the rest
2005-12-13 22:16:51 +00:00
John (J5) Palmieri aaf003b590 * libnotify/notifymarshal.[c|h]: new files where GLib callback
marshalers are added

* libnotify/notifynotification.ci (notify_notifiaction_init): Add a
  marshaller for signals with uint, string parameters
  (_gslist_to_string_array): new internal method that coverts
  a GSList to a NULL terminated array of strings
  (_notify_notification_show_internal): send the actions list as an
  array of strings, not a GSList which does not work with the bindings

* libnotify/Makefile.am: notifymarshal.[c|h] added

* tests/test-multi-actions.c: working example of using actions
2005-12-09 19:35:13 +00:00
John (J5) Palmieri 0e3f35c15e * libnotify/notifynotification.c (notify_notification_add_action):
implement adding actions 	
  (_action_signal_handler): handle actions coming from the server
  (notify_notifcation_clear_actions): new method for clearning out
  the actions list and hash
2005-12-02 22:46:52 +00:00
John (J5) Palmieri 4a3be1113e * libnotify/notifynotification.c (notify_notification_show_and_forget):
new method that shows and then unrefs the NotifyNotification object.
use this if you just want to fire off a quick notification.

* various compiler warning cleanups
2005-12-02 21:03:40 +00:00
John (J5) Palmieri 38c83b0ef5 * libnotify/notifynotification.c (SIGNAL_TYPE_CLOSED): "closed" glib
signal added
  (notify_notification_clear_hints): New API for clearing out the 
  hints hash
  (notify_notification_ref, notify_notification_unref): removed - use
  g_object_ref/unref

* tests/*: Various changes to the test binaries
2005-12-02 20:36:46 +00:00
John (J5) Palmieri 941757b593 Bump version to not conflict with the older libnotify packages 2005-11-15 18:43:13 +00:00
John (J5) Palmieri 23a10eccbf changed version to 0.0.2 2005-11-15 15:07:35 +00:00
Christian Hammond 2a094f4efe Reference the bug number for the notify-send fix. 2005-11-12 03:52:11 +00:00
John (J5) Palmieri 6017d6af7b First import of the next generation libnotify API 2005-11-10 19:18:10 +00:00
Christian Hammond 68998f6250 - Call notify_icon_new_from_uri() and not notify_icon_new(), since notify_icon_new() doesn't actually take parameters.
- Fix the help for --type.
2005-11-09 08:52:25 +00:00
Christian Hammond 02b010b0bb Add applet-critical.png to EXTRA_DIST. 2005-11-07 00:33:52 +00:00
Christian Hammond d151e4116a Bump to version 0.2.2 and prepare for release. 2005-08-10 09:01:29 +00:00
Christian Hammond 1536cf6201 Hopefully properly grab hint values from the D-BUS message iter in a way that will work on AMD64 and PPC. 2005-08-10 08:38:13 +00:00
Christian Hammond 341489c738 Simplify notify-send a little, and nuke tools/test-replace. It doesn't belong there. 2005-08-10 08:16:16 +00:00
Christian Hammond a0273b6c37 Bump to version 0.2.1.90. 2005-08-10 08:15:16 +00:00
Christian Hammond e6b8d754ae Bump to version 0.2.1. 2005-07-28 18:27:34 +00:00
Christian Hammond c0b423d9ec Talk about variants as the dictionary values for hints. 2005-07-28 18:25:25 +00:00
Christian Hammond e09f929373 Use a variant type for the hint dictionary values. This let's us actually use various data types in D-BUS 0.3x. 2005-07-28 18:22:09 +00:00
Christian Hammond bf6d0d7d0b Tyop. 2005-07-28 08:57:57 +00:00
Christian Hammond 47b4f8bfb5 Forgot this ChangeLog entry.. Basically, we're releasing. 2005-07-28 08:57:15 +00:00
Christian Hammond 07e112a7ee Don't send all hint values as strings. Send as integers, booleans, or strings, depending on what the user set. 2005-07-28 08:54:18 +00:00
Christian Hammond b2b4e09eb6 Support setting boolean hints. 2005-07-28 06:10:32 +00:00
Christian Hammond f40ef57aae Disable animation support on D-BUS 0.3x, since arrays of arrays of a type seems broken. 2005-07-28 05:57:47 +00:00
Christian Hammond ca4d385fa6 - Flush the D-BUS connection queue on uninit so that messages go through and so we don't trigger this ugly little warning on D-BUS 0.3x.
- Fix a compiler warning on gcc4.
2005-07-28 05:53:37 +00:00
Christian Hammond a6949ef276 Actually set the expires flag in the notification handle so we don't just kill off all notifications as soon as we create them and exit. 2005-07-27 09:14:42 +00:00
Christian Hammond bd4f01f033 Handle SIGINT and SIGTERM When raised, we call notify_uninit. notify_uninit now checks if there are any non-expiring notifications and closes them. This is a best-effort to preventing stale notifications from a dead process from displaying on the screen. Of course, we can't handle SIGKILL, so we're stuck there. 2005-07-27 08:50:35 +00:00
Christian Hammond be828ca9ce Patch (bug #3050) by Duarte Henriques to prevent closing notifications we don't own. 2005-07-27 08:15:33 +00:00
Christian Hammond 12f74a149c Patch (bug #3734) by Duarte Henriques to provide a convenient way of integrating libnotify with the glib mainloop. Modifications by me to make it even easier. 2005-07-27 08:11:33 +00:00
Christian Hammond 56cdbb7087 Actually support our own spec and use the number of seconds until expiration instead of current time + number of seconds. That was creating all kinds of problems. 2005-07-27 07:54:15 +00:00
Christian Hammond 430eb532df Compile under D-BUS 0.2x again. 2005-07-27 07:33:37 +00:00
Christian Hammond 7fdc36d00e If the handle given in ActionInvoked is not found in the local table of handles, return from the ActionInvoked handler. Otherwise, every program using libnotify will crash when a notification is clicked. Oops! 2005-07-27 07:22:32 +00:00
Christian Hammond 057751cc69 Fix the key type for the dictionary for hints on D-BUS 0.3x. The notification-daemon side is still broken in this regard. 2005-07-17 01:29:30 +00:00
Christian Hammond 55d6f9dfcc Fixed a couple of D-BUS 0.3x bugs. Several remain though. 2005-07-17 01:25:52 +00:00
Christian Hammond 621266fc7b Update the AUTHORs file with our current contributors. 2005-07-12 19:30:49 +00:00
Christian Hammond edccbd1f40 Patch by Richard Hughes to fix make distcheck, and to provide a Fedora Core 4 RPM spec file. 2005-07-12 19:29:55 +00:00
Christian Hammond 711ba22be4 Decrease the wait time for the replacement notification. 2005-07-10 23:48:15 +00:00
Mike Hearn a2f80feafb Fill in handle->user_data in notify_send_notification_varg 2005-07-09 17:30:55 +00:00