Commit Graph

113 Commits

Author SHA1 Message Date
Christian Hammond fd53ececa2 Fixed the coding style. 2006-01-20 05:55:30 +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 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 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 6017d6af7b First import of the next generation libnotify API 2005-11-10 19:18:10 +00:00