Mercurial > projects > package-update-indicator
comparison pui-backend.c @ 32:b9c65915cc54
Reduce delay before checking for updates after an "updates-changed" signal
author | Guido Berhoerster <guido+pui@berhoerster.name> |
---|---|
date | Thu, 29 Aug 2019 17:41:06 +0200 |
parents | 9905d4ae351c |
children | 4a859595eabd |
comparison
equal
deleted
inserted
replaced
31:9905d4ae351c | 32:b9c65915cc54 |
---|---|
555 */ | 555 */ |
556 if (!self->inhibited) { | 556 if (!self->inhibited) { |
557 if (self->check_id != 0) { | 557 if (self->check_id != 0) { |
558 g_source_remove(self->check_id); | 558 g_source_remove(self->check_id); |
559 } | 559 } |
560 self->check_id = g_timeout_add_seconds(PUI_STARTUP_DELAY, | 560 self->check_id = |
561 g_timeout_add_seconds(PUI_UPDATES_CHANGED_DELAY, | |
561 irregular_check, self); | 562 irregular_check, self); |
562 } | 563 } |
563 } | 564 } |
564 | 565 |
565 static void | 566 static void |