Commit Graph

368 Commits

Author SHA1 Message Date
Christian Hammond 626c43f126 More Doxygen happiness. Still no NotifyNotification docs yet though. 2006-01-29 21:26:57 +00:00
Christian Hammond ea9f0bc684 Make Doxygen happy. 2006-01-29 21:17:56 +00:00
Christian Hammond 47cde24c15 Fixed to actually be valid docbook. 2006-01-26 07:45:24 +00:00
Christian Hammond 2aabd35c72 This file shouldn't be here. 2006-01-26 07:22:59 +00:00
Christian Hammond 0d9ce313ef Forgot the release date :) 2006-01-23 09:39:29 +00:00
Christian Hammond 5fb96a7f24 Okay, release time. 2006-01-23 09:33:39 +00:00
Christian Hammond 58fb79f1bc Removed notify_notification_{ref,unref} from notification.h. 2006-01-23 09:33:21 +00:00
Christian Hammond 9fb6f33824 Make distcheck happy. 2006-01-23 09:31:05 +00:00
Christian Hammond 99048cde1a - Bumped the version to 0.3.2.
- Added news.
2006-01-23 09:20:57 +00:00
Christian Hammond 18d8f305d0 Make a best attempt at clearing away notifications that require actions or that exist until clicked when the calling application exits. This doesn't always work. 2006-01-23 09:10:55 +00:00
Christian Hammond df803f9d01 Fix some errors in the spec file. Some pieces were not updated when the specification was changed, and some pieces were invalid XML. 2006-01-23 07:47:03 +00:00
Christian Hammond 85d5df3cbd Raw images are broken in D-BUS versions less than 0.60. Don't crash under this case, and warn the user. 2006-01-22 21:22:27 +00:00
Christian Hammond c587295cdd Use one D-BUS connection, one GProxy, total. This is better than the one per notification, and fixes a few bugs. 2006-01-21 08:38:35 +00:00
Christian Hammond 9b1b095caf Some small code cleanups. 2006-01-21 04:49:43 +00:00
Christian Hammond 2676d3aa8b I have no clue what this function is. 2006-01-20 10:23:55 +00:00
Christian Hammond ab651643eb Remove notify_notification_show_and_forget(). It's less confusing to have one show function, and require that the user unref. It also simplifies the code quite a bit. 2006-01-20 10:19:44 +00:00
Christian Hammond 8297e321bf Implement per-action user data. 2006-01-20 10:11:23 +00:00
Christian Hammond 85342c8619 - Fix some weird argument ordering in the calls to dbus_g_proxy_call_*().
- Re-order the arguments as per the spec.
- Change NOTIFY_TIMEOUT_* to NOTIFY_EXPIRES_*.
- Update the spec to 0.9.
2006-01-20 10:00:32 +00:00
Christian Hammond a834c839fc - Clean up a lot of the API. Several functions returned gboolean when there was very little point in doing so.
- Add assertions to all the functions.
- Remove the notify_notification_{set,get}_user_data() functions. These are useless, since this is a GObject, and we get it for free.
2006-01-20 09:39:25 +00:00
Christian Hammond 78db57f7f2 Rename notify_notification_set_icon_data_from_pixbuf to notify_notification_set_icon_from_pixbuf. 2006-01-20 06:11:53 +00:00
Christian Hammond 3dac8b3d66 Do some rearranging of the files in libnotify, and include things properly so people can actually use the library without fudging with include paths. 2006-01-20 06:08:58 +00:00
Christian Hammond f351f656e5 Get rid of dbus-compat.h. 2006-01-20 05:56:49 +00:00
Christian Hammond fd53ececa2 Fixed the coding style. 2006-01-20 05:55:30 +00:00
Christian Hammond 3b0e8d2986 Make notify-send work again when a body isn't specified. 2006-01-19 09:35:17 +00:00
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