Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/pdf/xpdf/GNOME_PDF.oafinfo
Commit message (Collapse)AuthorAgeFilesLines
* factory file name is gnome-pdf-viewer,Martin Kretzschmar2002-10-021-10/+31
| | | | | | | | | | | | | | | | | | | | | | | | | * xpdf/Makefile.am: factory file name is gnome-pdf-viewer, s/GNOME_XPDF.oafinfo/GNOME_PDF.oafinfo/ * xpdf/GNOME_PDF.oafinfo: s/XPDF/PDF/g, the factory file name is now gnome-pdf-viewer, add oaf_server entry for the control * xpdf/bonobo-application-x-pdf.cc (gpdf_factory): multi factory function, replaces embeddable_factory, creates controls, too * xpdf/gpdf-control.cc, xpdf/gpdf-control.h: new files, first code for PDF viewer bonobo control. * shell/gpdf.c: handle priv field in GPdfWindow, add code for using a control instead of an embeddable (use it when USE_CONTROL != 0) * shell/gpdf-window.h (GPdfWindow): add priv field, kill app field (struct _Component) is private, moved back to gpdf.c * configure.in: PACKAGE and VERSION are set by AM_INIT_AUTOMAKE, kill explicit assignments * xpdf/GNOME_XPDF.oafinfo: remove
* Kill mutex / thread init code, it screws gtk.Michael Meeks2000-12-211-3/+3
| | | | | | | | | | | | | | 2000-12-21 Michael Meeks <michael@helixcode.com> * bonobo-application-x-pdf.cc: Kill mutex / thread init code, it screws gtk. * gpdf.cc: update the IID naming scheme. * bonobo-application-x-pdf.cc (init_bonobo_application_x_pdf_factory): ditto. (init_server_factory): setup ORB properly. * Makefile.am: De-goadize; update oafinfo fnames.
* Fixed spelling of componet in IID.Darin Adler2000-06-011-1/+1
|
* Work with OAF and fix various bugs:Maciej Stachowiak2000-05-071-0/+45
* configure.in, aclocal.m4: Detect when Bonobo is built with OAF support, and if so use OAF. * xpdf/Makefile.am: When using OAF, link against OAF and install oafinfo file. * xpdf/gpdf.cc: Include oaf headers when using OAF. (openpdf): Use OAFIID to activate the component when using OAF. (container_set_view), (container_launch_component), (container_new): Put the view in an EventBox, not a ScrolledWindow; the component now handles scrolling itself. (key_press_event_cb): Removed; key press handling moved to component. (main): Initialize OAF instead of GOAD when using OAF. * xpdf/bonobo-application-x-pdf.cc: Include OAF headers when using OAF. (redraw_view): Handle the case where we are loading before the view is realized by connecting to the "realize" signal handler and deferring redrawing until then in that case. (real_redraw_view): Function to do the real redrawing. (load_pdf_from_stream): Don't call `realize_mainbox' directly, let `real_redraw_view' do it. (key_press_event_cb): In response to various key bindings, scroll the view, navigate pages, or zoom in/out. (button_press_event_cb): Grab the keyboard focus on a press of button 1. (view_create_menus): Rename menus to be more standard, and provide accelerators for menus and items. (realize_mainbox): Get window ourselves if we have to. (view_factory): Put the view in a scrolled window so scrolling can be handled by the component itself. Connect to "key_press" and "button_press" for keyboard and focus handling. Set the GTK_CAN_FOCUS flag for the main view widget. (init_bonobo_application_x_pdf_factory, init_server_factory): Use OAF when appropriate. * xpdf/application-x-pdf.oafinfo: New file, OAF activation record.