diff options
author | Nickolay V. Shmyrev <nshmyrev@yandex.ru> | 2006-12-03 20:54:44 (GMT) |
---|---|---|
committer | Nickolay V. Shmyrev <nshmyrev@src.gnome.org> | 2006-12-03 20:54:44 (GMT) |
commit | 8ac50cf59cc976bd26bcb5575a4443d0319463ba (patch) | |
tree | d787ffcfb6f70d73c714e02433d08e8b44b70c1e /shell/ev-application.h | |
parent | 4094f85bec2a1f27274e42411555fc1ede846775 (diff) |
Move screensaver handling to application. No more message on startup.
2006-12-03 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* cut-n-paste/totem-screensaver/totem-scrsaver.c:
(screensaver_init_dbus), (totem_scrsaver_new),
(totem_scrsaver_init):
* cut-n-paste/totem-screensaver/totem-scrsaver.h:
* shell/ev-application.c: (ev_application_register_service),
(ev_application_screensaver_enable),
(ev_application_screensaver_disable):
* shell/ev-application.h:
* shell/ev-window.c: (ev_window_run_presentation),
(ev_window_stop_presentation), (build_comments_string),
(ev_window_init):
Move screensaver handling to application. No more
message on startup.
Diffstat (limited to 'shell/ev-application.h')
-rw-r--r-- | shell/ev-application.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/shell/ev-application.h b/shell/ev-application.h index 4f3ce7e..53e97c2 100644 --- a/shell/ev-application.h +++ b/shell/ev-application.h @@ -32,6 +32,7 @@ #ifndef HAVE_GTK_RECENT #include "egg-recent-model.h" #endif +#include "totem-scrsaver.h" G_BEGIN_DECLS @@ -58,6 +59,8 @@ struct _EvApplication { #ifndef HAVE_GTK_RECENT EggRecentModel *recent_model; #endif + + TotemScrsaver *scr_saver; gchar *last_chooser_uri; }; @@ -103,7 +106,8 @@ EggRecentModel *ev_application_get_recent_model (EvApplication *applicati void ev_application_set_chooser_uri (EvApplication *application, const gchar *uri); const gchar *ev_application_get_chooser_uri (EvApplication *application); - +void ev_application_screensaver_enable (EvApplication *application); +void ev_application_screensaver_disable (EvApplication *application); G_END_DECLS #endif /* !EV_APPLICATION_H */ |