diff -rc ../notify-osd-0.9.24/src/display.c notify-osd-0.9.24/src/display.c *** ../notify-osd-0.9.24/src/display.c 2009-10-20 04:43:17.000000000 -0400 --- notify-osd-0.9.24/src/display.c 2009-11-23 15:52:12.000000000 -0500 *************** *** 310,317 **** --- 310,319 ---- return; } + /* bubble_set_timeout (bubble, defaults_get_on_screen_timeout (self->defaults)); + */ defaults_get_top_corner (self->defaults, &x, &y); diff -rc ../notify-osd-0.9.24/src/stack.c notify-osd-0.9.24/src/stack.c *** ../notify-osd-0.9.24/src/stack.c 2009-10-20 04:43:54.000000000 -0400 --- notify-osd-0.9.24/src/stack.c 2009-11-23 15:52:12.000000000 -0500 *************** *** 44,49 **** --- 44,50 ---- G_DEFINE_TYPE (Stack, stack, G_TYPE_OBJECT); #define FORCED_SHUTDOWN_THRESHOLD 500 + #define NOTIFY_EXPIRES_DEFAULT -1 /* fwd declaration */ void close_handler (GObject* n, Stack* stack); *************** *** 650,655 **** --- 651,665 ---- if (body) bubble_set_message_body (bubble, body); + if (timeout == NOTIFY_EXPIRES_DEFAULT) { + bubble_set_timeout (bubble, + defaults_get_on_screen_timeout (self->defaults)); + } + else { + bubble_set_timeout (bubble, timeout); + } + + if (new_bubble && bubble_is_append_allowed(bubble)) { app_bubble = find_bubble_for_append(self, bubble); Only in ../notify-osd-0.9.24/src: stack-glue.h