diff options
| author | Ray Strode <rstrode@redhat.com> | 2008-05-19 17:23:20 -0400 |
|---|---|---|
| committer | Ray Strode <rstrode@redhat.com> | 2008-05-19 17:24:28 -0400 |
| commit | 5d7fe0d274a0fd1d98d45f4247fbe2a6c3dfc4e1 (patch) | |
| tree | 2b4044c2c8cd458802209fcdcb8c683a63aaec7d /src/splash-plugins | |
| parent | 040161f8eacb3cedc698af6b2583db03a963cffc (diff) | |
| download | plymouth-5d7fe0d274a0fd1d98d45f4247fbe2a6c3dfc4e1.tar.gz plymouth-5d7fe0d274a0fd1d98d45f4247fbe2a6c3dfc4e1.tar.xz plymouth-5d7fe0d274a0fd1d98d45f4247fbe2a6c3dfc4e1.zip | |
disable fedora-fade-in plugin animaton timeout when animation is stopped
Diffstat (limited to 'src/splash-plugins')
| -rw-r--r-- | src/splash-plugins/fedora-fade-in/fedora-fade-in.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/splash-plugins/fedora-fade-in/fedora-fade-in.c b/src/splash-plugins/fedora-fade-in/fedora-fade-in.c index 7d45700..1e01461 100644 --- a/src/splash-plugins/fedora-fade-in/fedora-fade-in.c +++ b/src/splash-plugins/fedora-fade-in/fedora-fade-in.c @@ -303,6 +303,13 @@ stop_animation (ply_boot_splash_plugin_t *plugin) 0.0, 0.0, 0.0, 1.0); ply_window_set_mode (plugin->window, PLY_WINDOW_MODE_TEXT); + + if (plugin->loop != NULL) + { + ply_event_loop_stop_watching_for_timeout (plugin->loop, + (ply_event_loop_timeout_handler_t) + on_timeout, plugin); + } } static void |
