diff options
author | Alexander Larsson <alexl@redhat.com> | 2012-01-20 11:07:58 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2012-01-20 11:07:58 +0100 |
commit | 909b8d5b604be51a2b5a2f4155908f16e28cef9c (patch) | |
tree | 85269b05f30dc4cef6af99348ad3c5c4161c842e /vapi/custom.vapi | |
parent | be4a26feb9b8e4f94c7f8d541660e2d4179af2df (diff) | |
download | gnome-contacts-909b8d5b604be51a2b5a2f4155908f16e28cef9c.tar.gz |
Clean up notification and makes it animate
We use two windows in GtkViewport style to animate the drop down.
Also fixes some issues:
* Don't use first draw to trigger, instead use visibility
events which seems cleaner
* Rename timeout signal to dismissed, because we need to
actually delete the contact both on timeout and if
manually dismissed
* Also dismiss on destroy, as we want to delete if the window
is closed while a notification is showing.
* Use gdk_thread_add_timeout for correct threadsafety handling
Diffstat (limited to 'vapi/custom.vapi')
-rw-r--r-- | vapi/custom.vapi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vapi/custom.vapi b/vapi/custom.vapi index abb83c5..b1f4c66 100644 --- a/vapi/custom.vapi +++ b/vapi/custom.vapi @@ -46,5 +46,5 @@ namespace Gtk { public Notification (); public void set_timeout (uint timeout_msec); public void dismiss (); - public virtual signal void timed_out (); + public virtual signal void dismissed (); }} |