]> www.fi.muni.cz Git - evince.git/log
evince.git
19 years agoforgot this
Marco Pesenti Gritti [Thu, 20 Jan 2005 18:05:47 +0000 (18:05 +0000)]
forgot this

19 years agoKeep offset in consideration in a few places
Marco Pesenti Gritti [Thu, 20 Jan 2005 18:05:09 +0000 (18:05 +0000)]
Keep offset in consideration in a few places

2005-01-20  Marco Pesenti Gritti  <marco@gnome.org>

        * pdf/xpdf/pdf-document.cc:

        Keep offset in consideration in a few places

        * shell/ev-view.c: (expose_bin_window):

        Set the offsets so that the document is ever centered

19 years agoAdded TODO items and finished off the first todo item
Bryan Clark [Thu, 20 Jan 2005 14:11:25 +0000 (14:11 +0000)]
Added TODO items and finished off the first todo item

2005-01-20  Bryan Clark  <clarkbw@cvs.gnome.org>

        * TODO: Added TODO items and finished off the first todo item

        * AUTHORS: Updated AUTHORS section with piece from gpdf file and
        reflect current authors

19 years agoShow a wait cursor while the page is rendering
Marco Pesenti Gritti [Thu, 20 Jan 2005 12:16:53 +0000 (12:16 +0000)]
Show a wait cursor while the page is rendering

2005-01-20  Marco Pesenti Gritti  <marco@gnome.org>

        * pdf/xpdf/pdf-document.cc:
        * shell/ev-view.c: (ev_view_set_cursor),
        (ev_view_motion_notify_event), (document_changed_callback),
        (set_document_page):

        Show a wait cursor while the page is rendering

19 years agoEnsure thumbnails selection, toolbar page control and current page are in
Marco Pesenti Gritti [Thu, 20 Jan 2005 11:35:19 +0000 (11:35 +0000)]
Ensure thumbnails selection, toolbar page control and current page are in

2005-01-20  Marco Pesenti Gritti  <marco@gnome.org>

        * shell/ev-sidebar-thumbnails.c:
        (ev_sidebar_tree_selection_changed),
        (ev_sidebar_thumbnails_select_page):
        * shell/ev-sidebar-thumbnails.h:
        * shell/ev-view.c: (ev_view_set_document), (ev_view_can_go_back),
        (ev_view_can_go_forward):
        * shell/ev-window.c: (ev_window_open_page),
        (ev_window_setup_document), (update_current_page),
        (view_page_changed_cb), (ev_window_init):
        * shell/ev-window.h:

        Ensure thumbnails selection, toolbar page control and
        current page are in sync.

19 years agoUpdated Canadian English translation.
Adam Weinberger [Wed, 19 Jan 2005 22:48:25 +0000 (22:48 +0000)]
Updated Canadian English translation.

* en_CA.po: Updated Canadian English translation.

19 years agoFix CAN-2005-0064
Marco Pesenti Gritti [Wed, 19 Jan 2005 19:32:44 +0000 (19:32 +0000)]
Fix CAN-2005-0064

2005-01-19  Marco Pesenti Gritti  <marco@gnome.org>

        * pdf/xpdf/XRef.cc:

        Fix CAN-2005-0064

19 years agoUpdated Norwegian translation.
Kjartan Maraas [Wed, 19 Jan 2005 11:31:43 +0000 (11:31 +0000)]
Updated Norwegian translation.

2005-01-19  Kjartan Maraas  <kmaraas@gnome.org>

* nb.po: Updated Norwegian translation.

19 years agoAdd initial support for password-supported dialogs. This could be a lot
Jonathan Blandford [Wed, 19 Jan 2005 06:12:27 +0000 (06:12 +0000)]
Add initial support for password-supported dialogs. This could be a lot

Wed Jan 19 01:10:57 2005  Jonathan Blandford  <jrb@redhat.com>

        * backend/Makefile.am:
        * backend/ev-document-links.h:
        * backend/ev-document-security.c: (ev_document_security_get_type),
        (ev_document_security_has_document_security),
        (ev_document_security_set_password):
        * backend/ev-document-security.h:
        * backend/ev-document.c: (ev_document_error_quark):
        * backend/ev-document.h:
        * data/Makefile.am:
        * data/evince-password.glade:
        * pdf/xpdf/pdf-document.cc:
        * shell/Makefile.am:
        * shell/ev-password.c: (ev_password_set_bad_password_label),
        (ev_window_password_entry_changed_cb), (ev_password_dialog_new),
        (ev_password_dialog_get_password),
        (ev_password_dialog_set_bad_pass):
        * shell/ev-password.h:
        * shell/ev-window.c: (ev_window_get_attribute),
        (ev_window_set_property), (update_action_sensitivity),
        (ev_window_is_empty), (mime_type_supported_by_gdk_pixbuf),
        (ev_window_setup_document), (ev_window_get_password),
        (ev_window_open), (ev_window_cmd_save_as),
        (using_postscript_printer), (ev_window_print),
        (find_not_supported_dialog), (ev_window_cmd_edit_find),
        (update_fullscreen_popup), (ev_window_fullscreen),
        (ev_window_unfullscreen), (ev_window_cmd_view_fullscreen),
        (ev_window_focus_out_cb), (ev_window_cmd_help_about),
        (menu_item_select_cb), (find_bar_search_changed_cb),
        (ev_window_dispose), (ev_window_init):

        Add initial support for password-supported dialogs.  This could be
        a lot cooler, but it'll do for now.

19 years agoUpdated German translation.
Frank Arnold [Wed, 19 Jan 2005 00:17:31 +0000 (00:17 +0000)]
Updated German translation.

2005-01-19  Frank Arnold  <farnold@cvs.gnome.org>

* de.po: Updated German translation.

19 years agoFix bugs in the links implementation and change cursor when hovering a
Marco Pesenti Gritti [Tue, 18 Jan 2005 12:45:49 +0000 (12:45 +0000)]
Fix bugs in the links implementation and change cursor when hovering a

2005-01-18  Marco Pesenti Gritti  <marco@gnome.org>

        * pdf/xpdf/pdf-document.cc:
        * shell/ev-view.c: (status_message_from_link),
        (ev_view_set_status), (ev_view_set_cursor),
        (ev_view_motion_notify_event), (ev_view_init):
        * shell/ev-window.c: (view_status_changed_cb), (ev_window_init):

        Fix bugs in the links implementation and change cursor
        when hovering a link.

19 years agoadded cvsignore file for viewer directory
Bryan Clark [Mon, 17 Jan 2005 19:20:08 +0000 (19:20 +0000)]
added cvsignore file for viewer directory

2005-01-17  Bryan Clark  <clarkbw@cvs.gnome.org>

        * viewer/.cvsignore: added cvsignore file for viewer directory

        * TODO: created TODO document

Actually do the adding this time (see 'Case of the Mundays')

19 years agoadded cvsignore file for viewer directory
Bryan Clark [Mon, 17 Jan 2005 19:19:13 +0000 (19:19 +0000)]
added cvsignore file for viewer directory

2005-01-17  Bryan Clark  <clarkbw@cvs.gnome.org>

        * viewer/.cvsignore: added cvsignore file for viewer directory

        * TODO: created TODO document

19 years agoUpdated German translation.
Frank Arnold [Sun, 16 Jan 2005 21:32:07 +0000 (21:32 +0000)]
Updated German translation.

2005-01-16  Frank Arnold  <farnold@cvs.gnome.org>

* de.po: Updated German translation.

19 years agoUpdated Czech translation.
Miloslav Trmac [Sun, 16 Jan 2005 15:57:15 +0000 (15:57 +0000)]
Updated Czech translation.

2005-01-16  Miloslav Trmac  <mitr@volny.cz>

* cs.po: Updated Czech translation.

19 years agoAdd shell/ev-history.c Update
Kjartan Maraas [Sat, 15 Jan 2005 21:11:29 +0000 (21:11 +0000)]
Add shell/ev-history.c Update

2005-01-15  Kjartan Maraas  <kmaraas@gnome.org>

* POTFILES.in: Add shell/ev-history.c
* nb.po: Update

19 years agonew functions to help with implementation of sensitivity code Fix
Dave Malcolm [Fri, 14 Jan 2005 05:26:54 +0000 (05:26 +0000)]
new functions to help with implementation of sensitivity code Fix

2005-01-14  Dave Malcolm  <dmalcolm@redhat.com>

* shell/ev-view.h:
* shell/ev-view.c (ev_view_can_go_back), (ev_view_can_go_forward):
new functions to help with implementation of sensitivity code
* shell/ev-window.c (update_action_sensitivity): Fix sensitivity
of all actions that might require it.  Fixes a crash when you
click on the Zoom actions in a window lacking a document.

19 years agoUpdated Canadian English translation.
Adam Weinberger [Fri, 14 Jan 2005 04:54:01 +0000 (04:54 +0000)]
Updated Canadian English translation.

* en_CA.po: Updated Canadian English translation.

19 years agoFix sensitivity of the Find action
Dave Malcolm [Fri, 14 Jan 2005 00:10:12 +0000 (00:10 +0000)]
Fix sensitivity of the Find action

2005-01-13  Dave Malcolm  <dmalcolm@redhat.com>

* shell/ev-window.c (Module): Fix sensitivity of the Find action

19 years agoView status message support, use it to show the links. Needs work...
Marco Pesenti Gritti [Thu, 13 Jan 2005 19:11:28 +0000 (19:11 +0000)]
View status message support, use it to show the links. Needs work...

2005-01-13  Marco Pesenti Gritti  <marco@gnome.org>

        * pixbuf/pixbuf-document.c: (pixbuf_document_get_link),
        (pixbuf_document_document_iface_init):
        * ps/ps-document.c: (ps_document_get_link),
        (ps_document_document_iface_init):
        * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event),
        (status_message_from_link), (ev_view_set_status),
        (ev_view_set_find_status), (ev_view_motion_notify_event),
        (ev_view_button_release_event), (ev_view_set_property),
        (ev_view_get_property), (ev_view_class_init), (ev_view_init),
        (ev_view_get_find_status_message), (update_find_results),
        (ev_view_get_status), (ev_view_get_find_status):
        * shell/ev-view.h:
        * shell/ev-window.c: (view_status_changed_cb),
        (view_find_status_changed_cb), (ev_window_init):

        View status message support, use it to show the links.
        Needs work...

19 years agoAdd support for document links
Marco Pesenti Gritti [Thu, 13 Jan 2005 17:49:01 +0000 (17:49 +0000)]
Add support for document links

2005-01-13  Marco Pesenti Gritti  <marco@gnome.org>

        * backend/ev-document.c: (ev_document_get_link):
        * backend/ev-document.h:
        * pdf/xpdf/pdf-document.cc:
        * shell/ev-application.c: (ev_application_open):
        * shell/ev-application.h:
        * shell/ev-sidebar-links.c: (selection_changed_cb):
        * shell/ev-view.c: (ev_view_button_release_event), (go_to_link),
        (ev_view_go_to_link):

        Add support for document links

19 years agoSet the spin button limits correctly.
Anders Carlsson [Thu, 13 Jan 2005 16:23:29 +0000 (16:23 +0000)]
Set the spin button limits correctly.

2005-01-13  Anders Carlsson  <andersca@gnome.org>

* shell/ev-page-action.c: (update_spin), (total_pages_changed_cb),
(create_tool_item):
Set the spin button limits correctly.

* shell/ev-sidebar-thumbnails.c:
(ev_sidebar_tree_selection_changed), (ev_sidebar_thumbnails_init):
Support changing pages by clicking on the thumbnails.

19 years agoimplement get_dimensions
Jeff Muizelaar [Thu, 13 Jan 2005 16:19:22 +0000 (16:19 +0000)]
implement get_dimensions

2005-01-13  Jeff Muizelaar  <jeff@nit.ca>

        * pixbuf/pixbuf-document.c:
        (pixbuf_document_thumbnails_get_dimensions),
        (pixbuf_document_document_thumbnails_iface_init):

        implement get_dimensions

19 years agoFix page switching on multipage documents
Marco Pesenti Gritti [Thu, 13 Jan 2005 16:15:29 +0000 (16:15 +0000)]
Fix page switching on multipage documents

2005-01-13  Marco Pesenti Gritti  <marco@gnome.org>

        * ps/ps-document.c: (ps_document_goto_page):

        Fix page switching on multipage documents

19 years agocheck for NULL before assigning to width and height parameters
Jeff Muizelaar [Thu, 13 Jan 2005 15:27:03 +0000 (15:27 +0000)]
check for NULL before assigning to width and height parameters

2005-01-12  Jeff Muizelaar  <jrmuizel@nit.ca>

        * pixbuf/pixbuf-document.c: (pixbuf_document_get_page_size):

        check for NULL before assigning to width and height parameters

19 years ago*** empty log message ***
Marco Pesenti Gritti [Thu, 13 Jan 2005 09:33:09 +0000 (09:33 +0000)]
*** empty log message ***

19 years agoimplement get/set properties
Jeff Muizelaar [Thu, 13 Jan 2005 09:32:55 +0000 (09:32 +0000)]
implement get/set properties

2005-01-12  Jeff Muizelaar  <jeff@nit.ca>

        * pixbuf/pixbuf-document.c: (pixbuf_document_class_init),
        (pixbuf_document_set_property), (pixbuf_document_get_property):

        implement get/set properties

19 years agoUpdated German translation.
Frank Arnold [Tue, 11 Jan 2005 13:58:46 +0000 (13:58 +0000)]
Updated German translation.

2005-01-11  Frank Arnold  <farnold@cvs.gnome.org>

* de.po: Updated German translation.

19 years agoImplement history dropdowns
Marco Pesenti Gritti [Tue, 11 Jan 2005 11:21:52 +0000 (11:21 +0000)]
Implement history dropdowns

2005-01-11  Marco Pesenti Gritti  <marco@gnome.org>

        * shell/ev-history.c: (ev_history_get_property),
        (ev_history_set_property), (ev_history_class_init),
        (ev_history_add_page), (ev_history_set_current_index):
        * shell/ev-navigation-action.c: (ev_navigation_action_set_history),
        (activate_menu_item_cb), (new_history_menu_item), (build_menu),
        (ev_navigation_action_finalize):
        * shell/ev-navigation-action.h:
        * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
        (ev_view_go_forward), (ev_view_get_find_status_message),
        (history_index_changed_cb), (ev_view_set_history):
        * shell/ev-view.h:
        * shell/ev-window.c: (update_total_pages), (ev_window_open),
        (update_current_page), (register_custom_actions):

        Implement history dropdowns

19 years agoUpdated Canadian English translation.
Adam Weinberger [Tue, 11 Jan 2005 05:54:03 +0000 (05:54 +0000)]
Updated Canadian English translation.

* en_CA.po: Updated Canadian English translation.

19 years agoFix several history bugs
Marco Pesenti Gritti [Tue, 11 Jan 2005 00:39:16 +0000 (00:39 +0000)]
Fix several history bugs

2005-01-11  Marco Pesenti Gritti  <marco@gnome.org>

        * shell/ev-history.c: (ev_history_init), (ev_history_add_link):
        * shell/ev-view.c: (ev_view_set_document), (ev_view_go_back),
        (ev_view_go_forward):
        * shell/ev-window.c: (register_custom_actions):

        Fix several history bugs

19 years agoAdd «nb» to ALL_LINGUAS.
Kjartan Maraas [Tue, 11 Jan 2005 00:22:18 +0000 (00:22 +0000)]
Add «nb» to ALL_LINGUAS.

2005-01-11  Kjartan Maraas  <kmaraas@gnome.org>

* configure.ac: Add «nb» to ALL_LINGUAS.

19 years agoAdd this.
Kjartan Maraas [Tue, 11 Jan 2005 00:21:18 +0000 (00:21 +0000)]
Add this.

2005-01-11  Kjartan Maraas  <kmaraas@gnome.org>

* nb.po: Add this.

19 years agoRename bookmark to link, and use "Index" for the sidebar panel.
Marco Pesenti Gritti [Mon, 10 Jan 2005 19:08:15 +0000 (19:08 +0000)]
Rename bookmark to link, and use "Index" for the sidebar panel.

19 years agoMerged translations from ggv and gpdf, minor updates.
Frank Arnold [Mon, 10 Jan 2005 09:03:02 +0000 (09:03 +0000)]
Merged translations from ggv and gpdf, minor updates.

2005-01-10  Frank Arnold  <farnold@cvs.gnome.org>

* de.po: Merged translations from ggv and gpdf, minor updates.

19 years agoInitial history implementation. Needs work.
Marco Pesenti Gritti [Sun, 9 Jan 2005 19:30:55 +0000 (19:30 +0000)]
Initial history implementation. Needs work.

2005-01-09  Marco Pesenti Gritti  <marco@gnome.org>

        * shell/Makefile.am:
        * shell/ev-application.c: (ev_application_open_bookmark):
        * shell/ev-application.h:
        * shell/ev-history.c: (ev_history_init), (free_links_list),
        (ev_history_finalize), (ev_history_class_init),
        (ev_history_add_link), (ev_history_add_page),
        (ev_history_get_link_nth), (ev_history_get_n_links),
        (ev_history_get_current_index), (ev_history_set_current_index),
        (ev_history_new):
        * shell/ev-history.h:
        * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):
        * shell/ev-view.c: (ev_view_finalize), (ev_view_set_document),
        (set_document_page), (go_to_bookmark), (ev_view_go_to_bookmark),
        (go_to_index), (ev_view_go_back), (ev_view_go_forward),
        (ev_view_set_page):
        * shell/ev-view.h:
        * shell/ev-window.c: (ev_window_open_bookmark),
        (ev_window_cmd_go_back), (ev_window_cmd_go_forward),
        (goto_page_cb), (register_custom_actions):
        * shell/ev-window.h:

        Initial history implementation. Needs work.

19 years ago(redraw): fix pixbuf data offset.
Martin Kretzschmar [Sun, 9 Jan 2005 18:24:37 +0000 (18:24 +0000)]
(redraw): fix pixbuf data offset.

19 years agoUpdated Czech translation.
Miloslav Trmac [Sun, 9 Jan 2005 14:33:27 +0000 (14:33 +0000)]
Updated Czech translation.

2005-01-09  Miloslav Trmac  <mitr@volny.cz>

* cs.po: Updated Czech translation.

19 years agoUpdate
Marco Pesenti Gritti [Sat, 8 Jan 2005 23:33:58 +0000 (23:33 +0000)]
Update

2005-01-09  Marco Pesenti Gritti  <marco@gnome.org>

        * cut-n-paste/recent-files/egg-recent-item.c:
        * cut-n-paste/recent-files/egg-recent-item.h:
        * cut-n-paste/recent-files/egg-recent-model.c:
        * cut-n-paste/recent-files/egg-recent-util.c:
        * cut-n-paste/recent-files/egg-recent-view-gtk.c:
        * cut-n-paste/recent-files/egg-recent-view.c:

        Update

19 years agopdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
Martin Kretzschmar [Sat, 8 Jan 2005 21:59:23 +0000 (21:59 +0000)]
pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):

* pdf/splash/Splash.cc (clear, drawPixel, drawSpan, xorSpan, getPixel)
(fillGlyph, fillImageMask, drawImage):
pdf/splash/SplashBitmap.cc (SplashBitmap, ~SplashBitmap, writePNMFile):
pdf/splash/SplashTypes.h:
pdf/xpdf/SplashOutputDev (startPage, getColor, imageSrc): implement RGB8
packed mode for Splash.

* pdf/xpdf/GDKSplashOutputDev.cc (GDKSplashOutputDev, redraw): use
RGB8 packed mode, eliminates the pixbuf data creation loop.

19 years agoAdded ev-print-job.c.
Martin Kretzschmar [Sat, 8 Jan 2005 19:02:48 +0000 (19:02 +0000)]
Added ev-print-job.c.

* POTFILES.in: Added ev-print-job.c.

* shell/ev-print-job.c (ev_print_job_finalize)
(ev_print_job_set_property, ev_print_job_get_property)
(ev_print_job_set_gnome_print_job, ev_print_job_set_document)
(ev_print_job_use_print_dialog_settings, idle_print_handler)
(print_closure_finalize, ev_print_job_print): implement
printing (for backends with EvPsExporter)

* shell/ev-window.c (ev_window_print): unref print job after
printing.

19 years ago(ev_view_set_document): don't connect to "found" unless the document
Martin Kretzschmar [Sat, 8 Jan 2005 18:44:07 +0000 (18:44 +0000)]
(ev_view_set_document): don't connect to "found" unless the document
implements the EvDocumentFind interface.

19 years agoAdded Japanese translation. EVINCE_0_1_0
Satoru Satoh [Sat, 8 Jan 2005 05:45:28 +0000 (05:45 +0000)]
Added Japanese translation.

19 years agoUpdated Canadian English translation.
Adam Weinberger [Fri, 7 Jan 2005 21:18:32 +0000 (21:18 +0000)]
Updated Canadian English translation.

* en_CA.po: Updated Canadian English translation.

19 years agoAdded missing files reported by 'intltool-update --maintain". Updated
Christian Rose [Fri, 7 Jan 2005 15:11:57 +0000 (15:11 +0000)]
Added missing files reported by 'intltool-update --maintain". Updated

2005-01-07  Christian Rose  <menthos@menthos.com>

* POTFILES.in: Added missing files reported by
'intltool-update --maintain".
* sv.po: Updated Swedish translation.

19 years agoadd a FIXME. We should probably not allocate a bookmark object every time
Marco Pesenti Gritti [Fri, 7 Jan 2005 15:05:52 +0000 (15:05 +0000)]
add a FIXME. We should probably not allocate a bookmark object every time

2005-01-07  Marco Pesenti Gritti  <marco@gnome.org>

        * pdf/xpdf/pdf-document.cc:

        add a FIXME. We should probably not allocate
        a bookmark object every time

19 years agoRemove .cvsignore from empty directory. Again. Hi jrb ;-).
Martin Kretzschmar [Fri, 7 Jan 2005 13:41:42 +0000 (13:41 +0000)]
Remove .cvsignore from empty directory. Again. Hi jrb ;-).

19 years agoAdd a way to open bookmarks
Marco Pesenti Gritti [Fri, 7 Jan 2005 13:35:18 +0000 (13:35 +0000)]
Add a way to open bookmarks

2005-01-07  Marco Pesenti Gritti  <marco@gnome.org>

        * shell/ev-application.c: (ev_application_open),
        (ev_application_open_bookmark):
        * shell/ev-application.h:

        Add a way to open bookmarks

        * backend/ev-bookmark.c: (ev_bookmark_get_uri),
        (ev_bookmark_set_uri), (ev_bookmark_get_property),
        (ev_bookmark_set_property), (ev_bookmark_class_init),
        (ev_bookmark_new_title), (ev_bookmark_new_link),
        (ev_bookmark_new_external):

        Support for external uris, better constructors.

        * backend/ev-bookmark.h:
        * pdf/xpdf/pdf-document.cc:
        * shell/ev-sidebar-bookmarks.c: (selection_changed_cb):

        Handle external uris

19 years agoHook up bookmarks navigation
Marco Pesenti Gritti [Fri, 7 Jan 2005 12:44:17 +0000 (12:44 +0000)]
Hook up bookmarks navigation

2005-01-07  Marco Pesenti Gritti  <marco@gnome.org>

        * shell/ev-sidebar-bookmarks.c: (selection_changed_cb),
        (ev_sidebar_bookmarks_construct), (do_one_iteration):

        Hook up bookmarks navigation

19 years agoAdd a bookmark object to the backend and use it instead of get_values
Marco Pesenti Gritti [Fri, 7 Jan 2005 12:16:43 +0000 (12:16 +0000)]
Add a bookmark object to the backend and use it instead of get_values

2005-01-07  Marco Pesenti Gritti  <marco@gnome.org>

        * backend/Makefile.am:
        * backend/ev-bookmark.c: (ev_bookmark_type_get_type),
        (ev_bookmark_get_title), (ev_bookmark_set_title),
        (ev_bookmark_get_bookmark_type), (ev_bookmark_set_bookmark_type),
        (ev_bookmark_get_page), (ev_bookmark_set_page),
        (ev_bookmark_get_property), (ev_bookmark_set_property),
        (ev_window_dispose), (ev_bookmark_init), (ev_bookmark_class_init),
        (ev_bookmark_new):
        * backend/ev-bookmark.h:
        * backend/ev-document-bookmarks.c:
        (ev_document_bookmarks_get_bookmark):
        * backend/ev-document-bookmarks.h:
        * pdf/xpdf/pdf-document.cc:
        * shell/ev-sidebar-bookmarks.c: (do_one_iteration):

        Add a bookmark object to the backend and use it instead of get_values

19 years agoCleanup and add select all.
Marco Pesenti Gritti [Fri, 7 Jan 2005 10:30:52 +0000 (10:30 +0000)]
Cleanup and add select all.

2005-01-07  Marco Pesenti Gritti  <marco@gnome.org>

        * data/evince-ui.xml:

        Cleanup and add select all.

        * shell/ev-view.c: (ev_view_select_all),
        (ev_view_button_press_event):
        * shell/ev-view.h:
        * shell/ev-window.c: (ev_window_cmd_edit_select_all):

        Add select all.
        Clear selection on click.

19 years agoforgot to unref the loading_icon.
Jonathan Blandford [Fri, 7 Jan 2005 06:31:35 +0000 (06:31 +0000)]
forgot to unref the loading_icon.

Fri Jan  7 01:28:58 2005  Jonathan Blandford  <jrb@redhat.com>

        * shell/ev-sidebar-thumbnails.c
        (ev_sidebar_thumbnails_set_document): forgot to unref the
        loading_icon.

19 years agofill in the thumbnails starting at the visible page, not just linearly.
Jonathan Blandford [Fri, 7 Jan 2005 06:23:53 +0000 (06:23 +0000)]
fill in the thumbnails starting at the visible page, not just linearly.

Fri Jan  7 01:22:48 2005  Jonathan Blandford  <jrb@redhat.com>

        * shell/ev-sidebar-thumbnails.c: fill in the thumbnails starting
        at the visible page, not just linearly.  This makes it look fast.

19 years agofill in the thumbnail with white. New interface to get the size of a page.
Jonathan Blandford [Thu, 6 Jan 2005 23:56:14 +0000 (23:56 +0000)]
fill in the thumbnail with white. New interface to get the size of a page.

Thu Jan  6 18:48:11 2005  Jonathan Blandford  <jrb@redhat.com>

        * backend/ev-document-misc.c
        (ev_document_misc_get_thumbnail_frame): fill in the thumbnail with
        white.
        * backend/ev-document-thumbnails.h: New interface to get the size
        of a page.

19 years agoUpdated Czech translation.
Miloslav Trmac [Thu, 6 Jan 2005 19:52:21 +0000 (19:52 +0000)]
Updated Czech translation.

2005-01-06  Miloslav Trmac  <mitr@volny.cz>

* cs.po: Updated Czech translation.

19 years agoAdd ev-utils.[ch] so that make dist works
Jeremy Katz [Thu, 6 Jan 2005 15:08:39 +0000 (15:08 +0000)]
Add ev-utils.[ch] so that make dist works

2005-01-06  Jeremy Katz  <katzj@redhat.com>

        * shell/Makefile.am (evince_SOURCES): Add ev-utils.[ch] so that
        make dist works

19 years agoUpdated Canadian English translation.
Adam Weinberger [Thu, 6 Jan 2005 03:41:44 +0000 (03:41 +0000)]
Updated Canadian English translation.

* en_CA.po: Updated Canadian English translation.

19 years agobypass GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds
Jonathan Blandford [Wed, 5 Jan 2005 20:47:12 +0000 (20:47 +0000)]
bypass GDKSplashOutputDev and just use a normal SplashOutputDev. Speeds

Wed Jan  5 15:38:28 2005  Jonathan Blandford  <jrb@redhat.com>

        * pdf/xpdf/pdf-document.cc (bitmap_to_pixbuf): bypass
        GDKSplashOutputDev and just use a normal SplashOutputDev.  Speeds
        things up a bit.

        * shell/ev-sidebar-thumbnail.c: start of some profiling code.

19 years ago(displayFontTabFc): match only outline fonts. Should fix font problems
Martin Kretzschmar [Wed, 5 Jan 2005 20:18:06 +0000 (20:18 +0000)]
(displayFontTabFc): match only outline fonts. Should fix font problems
on systems that have the base fonts in bitmap format. Reported by
James Henstridge <james@jamesh.id.au>.

19 years agoFix for CAN-2004-1125
Marco Pesenti Gritti [Wed, 5 Jan 2005 16:52:28 +0000 (16:52 +0000)]
Fix for CAN-2004-1125

2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>

        * pdf/xpdf/Gfx.cc:
        * pdf/xpdf/GfxState.cc:

        Fix for CAN-2004-1125

19 years agoImplement Edit->Copy
Marco Pesenti Gritti [Wed, 5 Jan 2005 16:18:13 +0000 (16:18 +0000)]
Implement Edit->Copy

2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>

        * shell/ev-view.c: (ev_view_copy):
        * shell/ev-view.h:
        * shell/ev-window.c: (ev_window_cmd_edit_copy):

        Implement Edit->Copy

19 years agoBeginnings of clipboard support. Incomplete but primary sort of work.
Marco Pesenti Gritti [Wed, 5 Jan 2005 15:10:04 +0000 (15:10 +0000)]
Beginnings of clipboard support. Incomplete but primary sort of work.

2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>

        * backend/ev-document.c: (ev_document_get_text):
        * backend/ev-document.h:
        * pdf/xpdf/pdf-document.cc:
        * shell/ev-view.c: (ev_view_realize), (expose_bin_window),
        (ev_view_primary_get_cb), (ev_view_primary_clear_cb),
        (ev_view_update_primary_selection), (ev_view_button_press_event),
        (ev_view_motion_notify_event), (ev_view_button_release_event):

        Beginnings of clipboard support. Incomplete but primary sort
        of work.

19 years agoNicer rubberband drawing, from GtkIconView.
Marco Pesenti Gritti [Wed, 5 Jan 2005 12:47:10 +0000 (12:47 +0000)]
Nicer rubberband drawing, from GtkIconView.

2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>

        * shell/ev-view.c: (ev_gdk_color_to_rgb), (draw_rubberband),
        (expose_bin_window):

        Nicer rubberband drawing, from GtkIconView.

19 years agoImplement "Save a copy..." menu item
Marco Pesenti Gritti [Wed, 5 Jan 2005 10:48:33 +0000 (10:48 +0000)]
Implement "Save a copy..." menu item

2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>

        * backend/ev-document.c: (ev_document_save):
        * backend/ev-document.h:
        * data/evince-ui.xml:
        * pdf/xpdf/pdf-document.cc:
        * shell/ev-window.c: (save_error_dialog), (ev_window_cmd_save_as):

        Implement "Save a copy..." menu item

19 years agoQueue a resize when zoom changes
Marco Pesenti Gritti [Wed, 5 Jan 2005 09:53:16 +0000 (09:53 +0000)]
Queue a resize when zoom changes

2005-01-05  Marco Pesenti Gritti  <marco@gnome.org>

        * shell/ev-view.c: (ev_view_zoom):

        Queue a resize when zoom changes

19 years agoNew misc file to do simple drop shadows.
Jonathan Blandford [Wed, 5 Jan 2005 07:35:14 +0000 (07:35 +0000)]
New misc file to do simple drop shadows.

Wed Jan  5 02:33:06 2005  Jonathan Blandford  <jrb@redhat.com>

        * backend/ev-document-misc.[ch]: New misc file to do simple drop
        shadows.

        * pdf/xpdf/pdf-document.cc: use the drop shadows in both types of
        thumbnails..

19 years agopoor man's dropshadow.
Jonathan Blandford [Wed, 5 Jan 2005 03:33:16 +0000 (03:33 +0000)]
poor man's dropshadow.

Tue Jan  4 22:32:32 2005  Jonathan Blandford  <jrb@redhat.com>

        * pdf/xpdf/pdf-document.cc
        (pdf_document_thumbnails_get_page_pixbuf): poor man's dropshadow.

19 years agoDo real thumbnailing of PDF files. It's slow, but I'll speed it up next!
Jonathan Blandford [Wed, 5 Jan 2005 02:42:04 +0000 (02:42 +0000)]
Do real thumbnailing of PDF files. It's slow, but I'll speed it up next!

Tue Jan  4 21:25:05 2005  Jonathan Blandford  <jrb@redhat.com>

        * pdf/xpdf/pdf-document.cc: Do real thumbnailing of PDF files.
        It's slow, but I'll speed it up next!

19 years agouse gnome_vfs_make_uri_from_shell_arg so that relative paths work from the
Jeff Muizelaar [Tue, 4 Jan 2005 15:53:49 +0000 (15:53 +0000)]
use gnome_vfs_make_uri_from_shell_arg so that relative paths work from the

2005-01-04  Jeff Muizelaar  <jrmuizel@nit.ca>

        * shell/main.c (load_files):

        use gnome_vfs_make_uri_from_shell_arg so that relative paths work
        from the command line and because it seems more appropriate.

19 years agos/next page/page down s/previous page/page up
Marco Pesenti Gritti [Tue, 4 Jan 2005 11:52:27 +0000 (11:52 +0000)]
s/next page/page down s/previous page/page up

2005-01-04  Marco Pesenti Gritti  <marco@gnome.org>

        * data/evince-ui.xml:
        * shell/ev-window.c: (update_action_sensitivity),
        (ev_window_cmd_go_page_up), (ev_window_cmd_go_page_down):

        s/next page/page down
        s/previous page/page up

19 years agoChange the layout to match clarkbw design.
Marco Pesenti Gritti [Tue, 4 Jan 2005 11:39:08 +0000 (11:39 +0000)]
Change the layout to match clarkbw design.

2005-01-04  Marco Pesenti Gritti  <marco@gnome.org>

        * data/evince-ui.xml:

        Change the layout to match clarkbw design.

        * shell/Makefile.am:
        * shell/ev-navigation-action.c: (build_menu), (menu_activated_cb),
        (set_tooltip_cb), (connect_proxy), (ev_navigation_action_init),
        (ev_navigation_action_finalize),
        (ev_navigation_action_set_property),
        (ev_navigation_action_get_property),
        (ev_navigation_action_class_init):
        * shell/ev-navigation-action.h:

        Implement clarkbw toolbar navigation controls (incomplete)

        * shell/ev-page-action.c: (update_label), (update_spin),
        (value_changed_cb), (create_tool_item), (connect_proxy),
        (ev_page_action_init), (ev_page_action_finalize),
        (ev_page_action_set_property), (ev_page_action_get_property),
        (ev_page_action_set_current_page),
        (ev_page_action_set_total_pages), (ev_page_action_class_init):
        * shell/ev-page-action.h:

        Implement a page switcher in the toolbar

        * shell/ev-view.c: (ev_view_scroll_view):
        * shell/ev-window.c: (update_total_pages), (ev_window_open),
        (update_current_page), (view_page_changed_cb), (goto_page_cb),
        (register_custom_actions), (ev_window_init):

        Change page on PageUp/Down.

19 years agoinitial stab at implementing thumbnail support for pdfs. It only does
Jonathan Blandford [Tue, 4 Jan 2005 08:30:06 +0000 (08:30 +0000)]
initial stab at implementing thumbnail support for pdfs. It only does

Tue Jan  4 03:22:56 2005  Jonathan Blandford  <jrb@redhat.com>

        * pdf/xpdf/pdf-document.cc
        (pdf_document_thumbnails_get_thumbnail): initial stab at
        implementing thumbnail support for pdfs.  It only does documents
        with precached pdfs now.

19 years agomove the thumbnail code into a time-based idle as well. Also, turn off the
Jonathan Blandford [Mon, 3 Jan 2005 22:25:25 +0000 (22:25 +0000)]
move the thumbnail code into a time-based idle as well. Also, turn off the

Mon Jan  3 17:22:25 2005  Jonathan Blandford  <jrb@redhat.com>

        * shell/ev-sidebar-thumbnails.c (do_one_iteration): move the
        thumbnail code into a time-based idle as well.  Also, turn off the
        shadow temporarily as it's really slow.

19 years agoshut up cvs
Jonathan Blandford [Mon, 3 Jan 2005 20:01:07 +0000 (20:01 +0000)]
shut up cvs

19 years agoFix document title bugs and fallback to filename when not available.
Marco Pesenti Gritti [Mon, 3 Jan 2005 18:18:57 +0000 (18:18 +0000)]
Fix document title bugs and fallback to filename when not available.

2005-01-03  Marco Pesenti Gritti  <marco@gnome.org>

        * backend/ev-document.c: (ev_document_class_init):
        * pdf/xpdf/pdf-document.cc:
        * shell/ev-window.c: (ev_window_open):

        Fix document title bugs and fallback to
        filename when not available.

19 years agoInitial support for document title. Not working yet.
Marco Pesenti Gritti [Mon, 3 Jan 2005 13:43:31 +0000 (13:43 +0000)]
Initial support for document title. Not working yet.

2005-01-03  Marco Pesenti Gritti  <marco@gnome.org>

        * backend/ev-document.c: (ev_document_get_type),
        (ev_document_class_init), (ev_document_load),
        (ev_document_get_title):
        * backend/ev-document.h:
        * pdf/xpdf/pdf-document.cc:
        * ps/ps-document.c: (ps_document_set_property),
        (ps_document_get_property), (ps_document_class_init),
        (document_load):
        * ps/ps-document.h:
        * ps/ps.h:
        * shell/ev-window.c: (update_window_title), (ev_window_open),
        (ev_window_init):

        Initial support for document title. Not working yet.

19 years agoUpdated pt_BR translation
Raphael Higino [Mon, 3 Jan 2005 01:17:08 +0000 (01:17 +0000)]
Updated pt_BR translation

19 years agoAdded cs to ALL_LINGUAS.
Miloslav Trmac [Sun, 2 Jan 2005 17:05:51 +0000 (17:05 +0000)]
Added cs to ALL_LINGUAS.

2005-01-02  Miloslav Trmac  <mitr@volny.cz>

* configure.ac: Added cs to ALL_LINGUAS.

19 years agoAdded Czech translation.
Miloslav Trmac [Sun, 2 Jan 2005 17:05:50 +0000 (17:05 +0000)]
Added Czech translation.

2005-01-02  Miloslav Trmac  <mitr@volny.cz>

* cs.po: Added Czech translation.

19 years agoGrab focus on the view when clicking it
Marco Pesenti Gritti [Sun, 2 Jan 2005 15:27:31 +0000 (15:27 +0000)]
Grab focus on the view when clicking it

2005-01-02  Marco Pesenti Gritti  <marco@gnome.org>

        * shell/ev-view.c: (ev_view_realize), (ev_view_button_press_event):

        Grab focus on the view when clicking it

19 years agoAdd key bindings to the view. Now if the focus would work right...
Marco Pesenti Gritti [Sun, 2 Jan 2005 15:07:30 +0000 (15:07 +0000)]
Add key bindings to the view. Now if the focus would work right...

2005-01-02  Marco Pesenti Gritti  <marco@gnome.org>

        * shell/ev-marshal.list:
        * shell/ev-view.c: (ev_view_realize), (add_scroll_binding),
        (ev_view_scroll_view), (ev_view_class_init), (ev_view_init):

        Add key bindings to the view. Now if the focus would work
        right...

19 years ago*** empty log message ***
Marco Pesenti Gritti [Sun, 2 Jan 2005 12:27:16 +0000 (12:27 +0000)]
*** empty log message ***

19 years agoFix distcheck
Marco Pesenti Gritti [Sun, 2 Jan 2005 12:27:03 +0000 (12:27 +0000)]
Fix distcheck

2005-01-02  Marco Pesenti Gritti  <marco@gnome.org>

        * Makefile.am:
        * backend/Makefile.am:
        * data/Makefile.am:
        * dvi/Makefile.am:
        * dvi/dvilib/Makefile.am:
        * pdf/xpdf/Makefile.am:
        * po/POTFILES.in:
        * ps/Makefile.am:

        Fix distcheck

19 years agoFix mouse wheel scrolling
Marco Pesenti Gritti [Sat, 1 Jan 2005 19:20:26 +0000 (19:20 +0000)]
Fix mouse wheel scrolling

2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>

        * shell/ev-view.c: (ev_view_realize):

        Fix mouse wheel scrolling

19 years ago*** empty log message ***
Marco Pesenti Gritti [Sat, 1 Jan 2005 12:28:28 +0000 (12:28 +0000)]
*** empty log message ***

19 years agoRename GtkGS to PSDocument
Marco Pesenti Gritti [Sat, 1 Jan 2005 12:28:12 +0000 (12:28 +0000)]
Rename GtkGS to PSDocument

2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>

        * ps/Makefile.am:
        * ps/gstypes.h:
        * ps/gtkgs.c:
        * ps/gtkgs.h:
        * ps/ps-document.c: (catchPipe), (ps_document_init),
        (ps_document_class_init), (ps_document_cleanup),
        (ps_document_finalize), (send_ps), (ps_document_get_orientation),
        (set_up_page), (close_pipe), (is_interpreter_ready),
        (interpreter_failed), (output), (input), (start_interpreter),
        (stop_interpreter), (file_length), (file_readable),
        (check_filecompressed), (check_pdf), (compute_xdpi),
        (compute_ydpi), (compute_size), (ps_document_enable_interpreter),
        (ps_document_get_type), (ps_document_emit_error_msg),
        (document_load), (ps_document_next_page),
        (ps_document_get_current_page), (ps_document_get_page_count),
        (ps_document_goto_page), (ps_document_set_page_size),
        (ps_document_zoom_to_fit), (ps_document_set_zoom),
        (ps_document_load), (ps_document_get_n_pages),
        (ps_document_set_page), (ps_document_get_page),
        (ps_document_widget_event), (ps_document_set_target),
        (ps_document_set_scale), (ps_document_set_page_offset),
        (ps_document_get_page_size), (ps_document_render),
        (ps_document_document_iface_init):
        * ps/ps-document.h:
        * ps/ps.c:
        * shell/ev-window.c: (ev_window_open):

        Rename GtkGS to PSDocument

19 years agoSome more leftover...
Marco Pesenti Gritti [Sat, 1 Jan 2005 12:15:46 +0000 (12:15 +0000)]
Some more leftover...

2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>

        * ps/gtkgs.c: (gtk_gs_class_init):
        * ps/gtkgs.h:

        Some more leftover...

19 years agoRemove unused code and make a lot of stuff private
Marco Pesenti Gritti [Sat, 1 Jan 2005 12:09:40 +0000 (12:09 +0000)]
Remove unused code and make a lot of stuff private

2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>

        * ps/gtkgs.c: (gtk_gs_class_init), (gtk_gs_get_orientation),
        (output), (stop_interpreter), (gtk_gs_emit_error_msg),
        (gtk_gs_zoom_to_fit), (gtk_gs_set_zoom):
        * ps/gtkgs.h:

        Remove unused code and make a lot of stuff private

19 years ago*** empty log message ***
Marco Pesenti Gritti [Sat, 1 Jan 2005 11:21:55 +0000 (11:21 +0000)]
*** empty log message ***

19 years agoCleanup headers dependencies
Marco Pesenti Gritti [Sat, 1 Jan 2005 11:21:33 +0000 (11:21 +0000)]
Cleanup headers dependencies

2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>

        * ps/gsdefaults.c: (gtk_gs_defaults_gconf_client),
        (gtk_gs_defaults_changed):
        * ps/gsdefaults.h:
        * ps/gtkgs.c:
        * ps/gtkgs.h:
        * ps/ps.h:

        Cleanup headers dependencies

19 years agoGet rid of ggvutils
Marco Pesenti Gritti [Sat, 1 Jan 2005 11:09:50 +0000 (11:09 +0000)]
Get rid of ggvutils

2005-01-01  Marco Pesenti Gritti  <marco@gnome.org>

        * ps/Makefile.am:
        * ps/ggvutils.c:
        * ps/ggvutils.h:
        * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes):
        * ps/gsdefaults.h:
        * ps/gtkgs.c: (file_length), (file_readable),
        (check_filecompressed), (check_pdf), (gtk_gs_load),
        (gtk_gs_get_postscript):

        Get rid of ggvutils

19 years agoCleanups
Marco Pesenti Gritti [Fri, 31 Dec 2004 17:41:57 +0000 (17:41 +0000)]
Cleanups

2004-12-31  Marco Pesenti Gritti  <marco@gnome.org>

        * ps/ggvutils.c:
        * ps/ggvutils.h:
        * ps/gsio.h:
        * ps/gtkgs.c: (gtk_gs_set_zoom):

        Cleanups

19 years agoEnsure the page is rerendered when changing zoom
Marco Pesenti Gritti [Fri, 31 Dec 2004 17:17:56 +0000 (17:17 +0000)]
Ensure the page is rerendered when changing zoom

2004-12-31  Marco Pesenti Gritti  <marco@gnome.org>

        * ps/gtkgs.c: (gtk_gs_set_zoom), (gtk_gs_set_zoom_mode):

        Ensure the page is rerendered when changing zoom

19 years agoAdd a changed event that is emitted when the page content changes. This is
Marco Pesenti Gritti [Fri, 31 Dec 2004 17:10:25 +0000 (17:10 +0000)]
Add a changed event that is emitted when the page content changes. This is

2004-12-31  Marco Pesenti Gritti  <marco@gnome.org>

        * backend/ev-document.c: (ev_document_base_init),
        (ev_document_changed):
        * backend/ev-document.h:

        Add a changed event that is emitted when the page content
        changes. This is necessary to deal with the fact that
        in ps backend rendering happen asycrounously.
        This makes the ps backend mostly work.

        * pdf/xpdf/pdf-document.cc:

        Emit changed event

        * ps/gtkgs.c: (set_up_page), (gtk_gs_widget_event),
        (ps_document_set_target):

        Emit changed event

        * shell/ev-view.c: (document_changed_callback),
        (ev_view_set_document), (ev_view_set_page):

        Redraw on the changed signal

19 years agoAdded nl to ALL_LINGUAS.
Vincent van Adrighem [Tue, 28 Dec 2004 14:07:16 +0000 (14:07 +0000)]
Added nl to ALL_LINGUAS.

2004-12-28  Vincent van Adrighem  <adrighem@gnome.org>

* configure.ac: Added nl to ALL_LINGUAS.

19 years agoTranslation added by Tino Meinen.
Vincent van Adrighem [Tue, 28 Dec 2004 14:07:14 +0000 (14:07 +0000)]
Translation added by Tino Meinen.

2004-12-28  Vincent van Adrighem  <adrighem@gnome.org>

* nl.po: Translation added by Tino Meinen.

20 years agoAdded pt_BR translation
Raphael Higino [Sat, 25 Dec 2004 13:09:57 +0000 (13:09 +0000)]
Added pt_BR translation

20 years agoAdded Simplified Chinese translation
Funda Wang [Fri, 24 Dec 2004 13:59:07 +0000 (13:59 +0000)]
Added Simplified Chinese translation

20 years ago* backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
Jonathan Blandford [Fri, 24 Dec 2004 05:50:50 +0000 (05:50 +0000)]
* backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *

Fri Dec 24 00:48:44 2004  Jonathan Blandford  <jrb@redhat.com>

        * backend/ev-document-bookmarks.c:
        (ev_document_bookmarks_get_child): *
        backend/ev-document-bookmarks.h: * pdf/xpdf/Makefile.am: *
        pdf/xpdf/pdf-document.cc: * pdf/xpdf/pdf-document.h: *
        shell/Makefile.am: * shell/ev-sidebar-bookmarks.c:
        (ev_sidebar_bookmarks_destroy),
        (ev_sidebar_bookmarks_class_init),
        (ev_sidebar_bookmarks_construct), (stack_data_free),
        (do_one_iteration), (populate_bookmarks_idle),
        (ev_sidebar_bookmarks_clear_document),
        (ev_sidebar_bookmarks_set_document): *
        shell/ev-sidebar-bookmarks.h: * shell/ev-sidebar.c:
        (ev_sidebar_add_page),
        (ev_sidebar_set_document): * shell/ev-window.c: (ev_window_open):
        Initial stab at a bookmarks sidebar.  It doesn't navigate yet, but
        it displays both the topics and the page numbers.

20 years agoSet sidebar default value to visible.
Kristian Høgsberg [Thu, 23 Dec 2004 17:10:52 +0000 (17:10 +0000)]
Set sidebar default value to visible.