Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-properties.c
Commit message (Collapse)AuthorAgeFilesLines
* Split the properties pages in two different objects, depend only on theMarco Pesenti Gritti2005-07-041-386/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-07-04 Marco Pesenti Gritti <mpg@redhat.com> * Makefile.am: * configure.ac: * data/evince-properties.glade: * properties/.cvsignore: * properties/Makefile.am: * properties/ev-properties-view.c: (ev_properties_view_dispose), (ev_properties_view_class_init), (ev_properties_view_format_date), (make_valid_utf8), (set_property), (ev_properties_view_set_info), (ev_properties_view_init), (ev_properties_view_new): * properties/ev-properties-view.h: * shell/Makefile.am: * shell/ev-properties-dialog.c: (ev_properties_dialog_class_init), (ev_properties_dialog_init), (ev_properties_dialog_set_document), (ev_properties_dialog_new): * shell/ev-properties-dialog.h: * shell/ev-properties-fonts.c: (ev_properties_fonts_dispose), (ev_properties_fonts_class_init), (ev_properties_fonts_init), (update_progress_label), (job_fonts_finished_cb), (ev_properties_fonts_set_document), (ev_properties_fonts_new): * shell/ev-properties-fonts.h: * shell/ev-properties.c: * shell/ev-properties.h: * shell/ev-window.c: (ev_window_setup_document), (ev_window_cmd_file_properties): Split the properties pages in two different objects, depend only on the backend where possible, use widgets instead of gobject for the glade part, reimplement the dialog itself with gtk. I need this to implement nautilus properties page.
* escape the text correctly. Handles non-UTF-8 properties and escapedJonathan Blandford2005-06-191-1/+58
| | | | | | | | | | | Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com> * shell/ev-properties.c (set_property): escape the text correctly. Handles non-UTF-8 properties and escaped properties. Also, sets the text to "<i>None</i>" if the property isn't set. * data/evince-properties.glade: Change the label to be ellipsized, and give it a minimum size.
* s/PDF Version/FormatMarco Pesenti Gritti2005-06-171-6/+1
| | | | | | | | | 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com> * data/evince-properties.glade: * shell/ev-properties.c: (ev_properties_set_document): s/PDF Version/Format
* Remove unnecessary translationsMarco Pesenti Gritti2005-06-171-2/+2
| | | | | | | | 2005-06-17 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-properties.c: (ev_properties_set_document): Remove unnecessary translations
* Hide the progress label when finished; bug #307697.Christian Persch2005-06-151-1/+2
| | | | | | | | 2005-06-15 Christian Persch <chpe@cvs.gnome.org> * shell/ev-properties.c: (update_progress_label): Hide the progress label when finished; bug #307697.
* Enable is_open for links, you will need poppler cvsMarco Pesenti Gritti2005-06-151-0/+2
| | | | | | | | | | | | 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com> * pdf/ev-poppler.cc: Enable is_open for links, you will need poppler cvs * shell/ev-properties.c: (job_fonts_finished_cb): Get a lock on the document when filling the tree view
* Make it an object, cleanup the code, api to show it as transient and toMarco Pesenti Gritti2005-06-151-47/+123
| | | | | | | | | | | | | | | | | | | | 2005-06-15 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-properties.c: (ev_properties_dispose), (ev_properties_class_init), (dialog_destroy_cb), (ev_properties_init), (job_fonts_finished_cb), (setup_fonts_view), (ev_properties_set_document), (ev_properties_new), (ev_properties_show): * shell/ev-properties.h: Make it an object, cleanup the code, api to show it as transient and to set the document. * shell/ev-window.c: (ev_window_setup_document), (ev_window_cmd_file_properties): Adapt to EvProperties changes, do not show multiple times, update it when document changes.
* Implement orientation here tooMarco Pesenti Gritti2005-06-141-1/+5
| | | | | | | | | | | | | | | | | 2005-06-14 Marco Pesenti Gritti <mpg@redhat.com> * ps/gstypes.h: * ps/ps-document.c: (ps_document_init), (get_page_orientation), (ps_document_set_orientation), (ps_document_document_iface_init): * ps/ps-document.h: Implement orientation here too * shell/ev-properties.c: (ev_properties_new): * data/evince-properties.glade: Hide the fonts page for backends that doesnt support it.
* Separate scan and fill so that we can incrementally fill from the mainMarco Pesenti Gritti2005-06-131-34/+44
| | | | | | | | | | | | | | | | | | | | | 2005-06-13 Marco Pesenti Gritti <mpg@redhat.com> * backend/ev-document-fonts.c: (ev_document_fonts_get_progress), (ev_document_fonts_scan), (ev_document_fonts_fill_model): * backend/ev-document-fonts.h: Separate scan and fill so that we can incrementally fill from the main thread. Add a progress api. * data/evince-properties.glade: * pdf/ev-poppler.cc: * shell/ev-jobs.c: (ev_job_fonts_new), (ev_job_fonts_run): * shell/ev-jobs.h: * shell/ev-properties.c: (update_progress_label), (job_fonts_finished_cb), (setup_fonts_view): Incrementally feel the list and show the progress percentage in a label like acrobat does.
* Make fonts model fill incrementally.Marco Pesenti Gritti2005-06-111-6/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-06-11 Marco Pesenti Gritti <mpg@redhat.com> * backend/ev-document-fonts.c: (ev_document_fonts_fill_model): * backend/ev-document-fonts.h: * pdf/ev-poppler.cc: Make fonts model fill incrementally. * shell/ev-job-queue.c: (handle_job), (search_for_jobs_unlocked), (no_jobs_available_unlocked), (ev_job_queue_init), (find_queue), (ev_job_queue_remove_job): * shell/ev-jobs.c: (ev_job_fonts_init), (ev_job_fonts_class_init), (ev_job_fonts_new), (ev_job_fonts_run): * shell/ev-jobs.h: New job for fonts scanning * shell/ev-properties.c: (job_fonts_finished_cb), (fill_fonts_treeview), (setup_fonts_view), (ev_properties_new): * shell/ev-properties.h: * shell/ev-window.c: (ev_window_cmd_file_properties): Incrementally feel the treeview using the new job. Show Loading... message until scanning is completed. Hopefully I didnt break the build without the poppler patch.
* s/GTime*/GTime. Not sure why we was using a pointer at all there!Marco Pesenti Gritti2005-06-101-2/+2
| | | | | | | | | | 2005-06-10 Marco Pesenti Gritti <mpg@redhat.com> * backend/ev-document-info.h: * shell/ev-properties.c: (ev_properties_new): s/GTime*/GTime. Not sure why we was using a pointer at all there!
* Use document info from page cache instead of document itself. fix for crashNickolay V. Shmyrev2005-06-071-1/+1
| | | | 306545
* Set the column title. Show the dialog only once everything is setup.Marco Pesenti Gritti2005-06-041-0/+1
| | | | | | | | | | | | | 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com> * data/evince-properties.glade: * pdf/ev-poppler.cc: * shell/ev-properties.c: (setup_fonts_view): Set the column title. Show the dialog only once everything is setup. Getting font info can be very slow... will prolly need to make this threaded too.
* Implement fonts list. Defined out for now, since it depends on a not yetMarco Pesenti Gritti2005-06-041-1/+27
| | | | | | | | | | | | | | | | | 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com> * backend/Makefile.am: * backend/ev-document-fonts.c: (ev_document_fonts_get_type), (ev_document_fonts_get_fonts_model): * backend/ev-document-fonts.h: * data/evince-properties.glade: * pdf/ev-poppler.cc: * shell/ev-properties.c: (setup_fonts_view), (ev_properties_new): * shell/ev-properties.h: * shell/ev-window.c: (ev_window_cmd_file_properties): Implement fonts list. Defined out for now, since it depends on a not yet committed poppler patch.
* Labels don't expand when the dialogue is resizedNickolay V. Shmyrev2005-06-041-11/+15
| | | | strftime result needs to be converted to UTF-8. Thanks to chpe.
* Rework properties code to take only EvPropertyInfo in the constructor soMarco Pesenti Gritti2005-06-041-91/+110
| | | | | | | | | | | | | | | | | | | | | 2005-06-04 Marco Pesenti Gritti <mpg@redhat.com> * backend/ev-document-info.h: * backend/ev-document.c: (ev_document_info_free): * data/evince-properties.glade: * pdf/ev-poppler.cc: * ps/ps-document.c: (ps_document_get_info): * shell/ev-properties.c: (ev_properties_format_date), (set_property), (ev_properties_new): * shell/ev-properties.h: * shell/ev-window.c: (ev_window_cmd_file_properties): Rework properties code to take only EvPropertyInfo in the constructor so that it can be useful for nautilus plugin too. Deal with backends that doesnt support some properties. Make set property code generic.
* Initial go at file properties. Patch by Emil Soleyman-ZomalanMarco Pesenti Gritti2005-06-031-0/+140
2005-06-03 Marco Pesenti Gritti <mpg@redhat.com> * backend/ev-document-info.h: * data/Makefile.am: * data/evince-ui.xml: * pdf/ev-poppler.cc: * shell/Makefile.am: * shell/ev-window.c: (update_action_sensitivity), (ev_window_cmd_file_properties): Initial go at file properties. Patch by Emil Soleyman-Zomalan <emil@soleyman.com>. Needs love see #169583