Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-sidebar-attachments.c
Commit message (Collapse)AuthorAgeFilesLines
* shell/ev-sidebar-links.cHiroyuki Ikezoe2009-01-201-3/+3
| | | | | | | | | | | | | | | | | | | 2009-01-21 Hiroyuki Ikezoe <poincare@ikezoe.net> * shell/ev-sidebar-links.c * shell/ev-print-operation.c: * shell/ev-history.c: * shell/ev-file-monitor.c: * shell/ev-window.c: * shell/ev-password-view.c: * shell/ev-sidebar-thumbnails.c: * shell/ev-sidebar-attachments.c: * libview/ev-pixbuf-cache.c: * libview/ev-view.c: Remove needless G_OBJECT from g_signal_connect. Bug #568386. svn path=/trunk/; revision=3370
* Bug 558084 – simplify drag data handlingChristian Persch2009-01-181-19/+23
| | | | svn path=/trunk/; revision=3351
* Use GdkAppLaunchContext when available to open attachments.Carlos Garcia Campos2008-09-051-1/+4
| | | | | | | | | | | | | | 2008-09-05 Carlos Garcia Campos <carlosgc@gnome.org> * libdocument/ev-attachment.[ch]: (ev_attachment_launch_app), (ev_attachment_open): * shell/ev-sidebar-attachments.c: (ev_sidebar_attachments_button_press): * shell/ev-window.c: (ev_attachment_popup_cmd_open_attachment): Use GdkAppLaunchContext when available to open attachments. svn path=/trunk/; revision=3152
* Add a new job to get the attachments in a thread with the document lockCarlos Garcia Campos2008-08-221-25/+39
| | | | | | | | | | | | | | | 2008-08-22 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-jobs.[ch]: (ev_job_attachments_init), (ev_job_attachments_dispose), (ev_job_attachments_run), (ev_job_attachments_class_init), (ev_job_attachments_new): * shell/ev-sidebar-attachments.c: (ev_sidebar_attachments_set_document): Add a new job to get the attachments in a thread with the document lock held. Fixes bug #548653. svn path=/trunk/; revision=3116
* More #include cleanups. Again: reordering, single gtk.h includes and otherWouter Bolsterlee2008-08-031-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-08-03 Wouter Bolsterlee <wbolster@svn.gnome.org> * backend/impress/impress-document.c: * backend/impress/render.h: * libdocument/ev-document-factory.c: * libdocument/ev-document-factory.h: * libdocument/ev-document-links.h: * libdocument/ev-document-misc.c: * libdocument/ev-document-misc.h: * properties/ev-properties-main.c: * properties/ev-properties-view.c: * properties/ev-properties-view.h: * shell/eggfindbar.c: * shell/eggfindbar.h: * shell/ev-application.c: * shell/ev-application.h: * shell/ev-jobs.h: * shell/ev-message-area.h: * shell/ev-navigation-action.c: * shell/ev-navigation-action.h: * shell/ev-open-recent-action.c: * shell/ev-open-recent-action.h: * shell/ev-page-action-widget.c: * shell/ev-page-action.c: * shell/ev-page-action.h: * shell/ev-page-cache.h: * shell/ev-password-view.h: * shell/ev-password.h: * shell/ev-pixbuf-cache.h: * shell/ev-properties-fonts.c: * shell/ev-sidebar-attachments.c: * shell/ev-sidebar-links.c: * shell/ev-sidebar-links.h: * shell/ev-sidebar-thumbnails.c: * shell/ev-sidebar-thumbnails.h: * shell/ev-sidebar.c: * shell/ev-sidebar.h: * shell/ev-stock-icons.c: * shell/ev-tooltip.h: * shell/ev-view.c: * shell/ev-view.h: * shell/ev-window.c: * shell/ev-window.h: * shell/main.c: More #include cleanups. Again: reordering, single gtk.h includes and other stuff. svn path=/trunk/; revision=3095
* Cleanup many #include statements: reorder so that a generic-to-specificWouter Bolsterlee2008-08-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-08-03 Wouter Bolsterlee <wbolster@svn.gnome.org> * shell/eggfindbar.c: * shell/ev-application.c: * shell/ev-message-area.c: * shell/ev-navigation-action.c: * shell/ev-open-recent-action.c: * shell/ev-page-action-widget.c: * shell/ev-page-action.c: * shell/ev-password-view.c: * shell/ev-properties-dialog.c: * shell/ev-properties-fonts.c: * shell/ev-sidebar-attachments.c: * shell/ev-sidebar-page.c: * shell/ev-sidebar-thumbnails.c: * shell/ev-stock-icons.c: * shell/ev-tooltip.c: * shell/ev-view.c: * shell/ev-window.c: * shell/main.c: Cleanup many #include statements: reorder so that a generic-to-specific order is used, use single gtk.h includes, and some other cleanups. svn path=/trunk/; revision=3094
* Fix some build warnings under GCC 4.3.0. (#537535).Cosimo Cecchi2008-06-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | 2008-06-10 Cosimo Cecchi <cosimoc@gnome.org> * libdocument/ev-backends-manager.c: (ev_backends_manager_load): * libdocument/ev-image.c: (ev_image_save_tmp): * libdocument/ev-module.c: (ev_module_load): * shell/ev-application.c: (ev_application_shutdown), (ev_application_get_print_settings): * shell/ev-sidebar-attachments.c: (ev_sidebar_attachments_button_press), (ev_sidebar_attachments_drag_data_get): * shell/ev-window.c: (window_save_file_copy_ready_cb), (ev_window_print_finished), (ev_window_print_send), (ev_window_print_job_cb), (ev_window_cmd_help_contents), (ev_window_preview_print_finished), (ev_window_do_preview_print), (ev_window_cmd_preview_print): * shell/main.c: (load_files_remote): Fix some build warnings under GCC 4.3.0. (#537535). svn path=/trunk/; revision=3049
* Port to gio and drop gnome-vfs dependency. Fixes bug #510401. Based onCarlos Garcia Campos2008-01-251-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-01-25 Carlos Garcia Campos <carlosgc@gnome.org> * configure.ac: * backend/comics/comics-document.c: (comics_document_load): * libdocument/ev-attachment.[ch]: (ev_attachment_finalize), (ev_attachment_set_property), (ev_attachment_init), (ev_attachment_save), (ev_attachment_launch_app), (ev_attachment_open): * libdocument/ev-document-factory.c: (get_document_from_uri): * libdocument/ev-file-helpers.[ch]: (ev_tmp_file_get), (ev_tmp_file_unlink), (ev_tmp_uri_unlink), (ev_xfer_uri_simple),: * shell/ev-jobs.c: * shell/ev-password.c: (ev_password_dialog_set_property), (ev_password_dialog_save_password): * shell/ev-sidebar-attachments.c: (ev_sidebar_attachments_drag_data_get): * shell/ev-window-title.c: (get_filename_from_uri): * shell/ev-window.c: (ev_window_clear_temp_file), (ev_window_load_job_cb), (window_open_file_copy_ready_cb), (ev_window_open_uri), (window_save_file_copy_ready_cb), (ev_window_save_remote), (ev_window_cmd_save_as), (launch_action), (launch_external_uri), (image_save_dialog_response_cb), (attachment_save_dialog_response_cb): * shell/main.c: (load_files), (load_files_remote), (main): * thumbnailer/evince-thumbnailer.c: (main): Port to gio and drop gnome-vfs dependency. Fixes bug #510401. Based on patch by Cosimo Cecchi. svn path=/trunk/; revision=2858
* Don't use libgnome to lookup icons for MIME types, instead copy code fromRoss Burton2007-05-041-15/+22
| | | | | | | | | | 2007-05-04 Ross Burton <ross@openedhand.com> * shell/ev-sidebar-attachments.c: Don't use libgnome to lookup icons for MIME types, instead copy code from GTK+ to do it manually. svn path=/trunk/; revision=2434
* Use always ev_tmp_dir instead of g_get_tmp_dir. Fix a race condition inCarlos Garcia Campos2006-11-151-1/+2
| | | | | | | | | | | | | | 2006-11-15 Carlos Garcia Campos <carlosgc@gnome.org> * backend/Makefile.am: * backend/ev-attachment.c: (ev_attachment_open): * lib/ev-file-helpers.[ch]: (ensure_dir_exists), (ev_dot_dir), (ev_tmp_dir), (ev_tmp_filename): * shell/ev-sidebar-attachments.c: (ev_sidebar_attachments_drag_data_get): * shell/ev-window.c: (ev_window_clear_temp_file): Use always ev_tmp_dir instead of g_get_tmp_dir. Fix a race condition in ensure_dir_exists. Abort without crashing when we can't create user's directory.
* GtkIconTheme is now screen safe too. Fixes bug #350878Carlos Garcia Campos2006-08-131-71/+118
| | | | | | 2006-08-13 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-sidebar-attachments.c: GtkIconTheme is now screen safe too. Fixes bug #350878
* Bump requirements to gtk 2.8 and drop all idfefs used.Nickolay V. Shmyrev2006-05-131-2/+1
| | | | | | | | | | | | | | | | * configure.ac: * properties/ev-properties-main.c: (ev_properties_get_pages): * shell/ev-application.c: (ev_application_open_window), (ev_application_open_uri_at_dest): * shell/ev-sidebar-attachments.c: (ev_sidebar_attachments_init): * shell/ev-sidebar-thumbnails.c: (adjustment_changed_cb), (ev_sidebar_thumbnails_use_icon_view), (page_changed_cb): * shell/ev-utils.c: (save_print_config_to_file): * shell/ev-window.c: (ev_window_cmd_save_as), (ev_attachment_popup_cmd_save_attachment_as): * shell/main.c: (load_files_remote): Bump requirements to gtk 2.8 and drop all idfefs used.
* Show attachments page.Nickolay V. Shmyrev2006-05-111-3/+1
| | | | | | | * shell/ev-sidebar-attachments.c: (ev_sidebar_attachments_init): * shell/ev-window.c: (ev_window_init): Show attachments page.
* Move attachments bar to sidebar.Nickolay V. Shmyrev2006-05-101-0/+628
* po/POTFILES.in: * properties/Makefile.am: * shell/Makefile.am: * shell/ev-attachment-bar.c: * shell/ev-attachment-bar.h: * shell/ev-sidebar-attachments.c: (ev_sidebar_attachments_icon_cache_add), (icon_theme_get_pixbuf_from_mime_type), (ev_sidebar_attachments_icon_cache_get), (icon_cache_update_icon), (ev_sidebar_attachments_icon_cache_refresh), (ev_sidebar_attachments_get_attachment_at_pos), (ev_sidebar_attachments_popup_menu_show), (ev_sidebar_attachments_popup_menu), (ev_sidebar_attachments_button_press), (ev_sidebar_attachments_update_icons), (ev_sidebar_attachments_drag_data_get), (ev_sidebar_attachments_get_property), (ev_sidebar_attachments_destroy), (ev_sidebar_attachments_class_init), (ev_sidebar_attachments_init), (ev_sidebar_attachments_new), (ev_sidebar_attachments_set_document), (ev_sidebar_attachments_support_document), (ev_sidebar_attachments_get_label), (ev_sidebar_attachments_page_iface_init): * shell/ev-sidebar-attachments.h: * shell/ev-window.c: (update_chrome_visibility), (setup_sidebar_from_metadata), (ev_window_setup_document), (ev_window_sidebar_current_page_changed_cb), (attachment_bar_menu_popup_cb), (ev_window_init): * thumbnailer/Makefile.am: Move attachments bar to sidebar.