]> www.fi.muni.cz Git - evince.git/commit
Metadata manager from gedit but modified to use GValue, so that we dont
authorMarco Pesenti Gritti <mpg@redhat.com>
Thu, 30 Jun 2005 13:32:05 +0000 (13:32 +0000)
committerMarco Pesenti Gritti <marco@src.gnome.org>
Thu, 30 Jun 2005 13:32:05 +0000 (13:32 +0000)
commitd0e4d9279d7aa4be1ddec50c2a87c63638632712
treea4ae2c0a4f5318d73b8100215fd733d02410cac2
parent616f5c97013f1344caa6e899de6cc99664faa5e9
Metadata manager from gedit but modified to use GValue, so that we dont

2005-06-30  Marco Pesenti Gritti  <mpg@redhat.com>

        * shell/Makefile.am:
        * shell/ev-metadata-manager.c: (item_free),
        (ev_metadata_manager_init), (ev_metadata_manager_shutdown),
        (parse_value), (parseItem), (load_values),
        (ev_metadata_manager_get), (value_free), (ev_metadata_manager_set),
        (save_values), (save_item), (get_oldest), (resize_items),
        (ev_metadata_manager_save), (ev_metadata_manager_set_int):
        * shell/ev-metadata-manager.h:

        Metadata manager from gedit but modified to use GValue, so that
        we dont need to keep converting from strings.

        * configure.ac:

        ENABLE_METADATA conditional, on when dbus is on

        * shell/ev-application.c: (ev_application_open_uri):

        Show the window after load so that we can initialize
        window size before it's showed.

        * shell/ev-window.c: (ev_window_setup_from_metadata),
        (ev_window_open_uri), (window_configure_event_cb),
        (ev_window_init):

        Save and load metadata information about window size.
        Not yet keeping states in account.

        * shell/main.c: (main):

        Shutdown metadata manager.
ChangeLog
configure.ac
shell/.cvsignore
shell/Makefile.am
shell/ev-application.c
shell/ev-metadata-manager.c [new file with mode: 0644]
shell/ev-metadata-manager.h [new file with mode: 0644]
shell/ev-window.c
shell/main.c