Commit graph

280 commits

Author SHA1 Message Date
Lucas Rocha 93b5adbea6 fixes bug #311086.
2005-08-23  Lucas Rocha  <lucasr@cvs.gnome.org>

        * libeog/eog-image.c: fixes bug #311086.
2005-08-23 20:14:57 +00:00
Tim P. Gerla 955ea2c1ef libeog/eog-job-manager.c: Apply patch from Ross Burton
<ross@burtonini.com> which stops creating joinable threads
when the threads are never joined. This saves 8M from the
virtual address space for every thread created, and never
returned.
2005-08-09 15:20:26 +00:00
Philip Van Hoof e4ec5cc018 Temporary fix until gnome-print has support for margins 2005-08-03 10:13:34 +00:00
Ross Burton c036f1aa3b Re-implement error handler, thanks Fer 2005-07-25 15:14:38 +00:00
Ross Burton 2fdaebd516 Register an error handler so lcms doesn't abort on error 2005-07-25 14:52:32 +00:00
Ross Burton 7310d26432 Only extract profile if there is a metadata reader 2005-07-25 13:49:48 +00:00
Tim P. Gerla ed69d73a90 Patch from Davyd Madeley <davyd@madeley.id.au> to fix some dual-screen
* libeog/eog-full-screen.[ch], shell/eog-window.c:
Patch from Davyd Madeley <davyd@madeley.id.au> to
fix some dual-screen bugs. Fixes bug #309100.
2005-07-25 13:41:25 +00:00
Philip Van Hoof 4748f2bc07 Renamed "Preview" to "Print Preview" fixes Bug 310470
2005-07-14  Philip Van Hoof  <pvanhoof@gnome.org>
        * shell/eog-window.c: Renamed "Preview" to "Print Preview"
        fixes Bug 310470
2005-07-15 11:34:08 +00:00
Paolo Borelli 614f5ed1b3 move the file chooser helpers to the shell where they belong. Rename
eog-file-selctor to eog-file-chooser while at it and update the other
files for this change.
2005-07-15 11:13:25 +00:00
Philip Van Hoof bbec18ea2d Printing support Bugfix for Bug #310351
2005-07-14  Philip Van Hoof  <pvanhoof@gnome.org>

        * configure.in, libeog/eog-image.c, libeog/eog-image.h,
        shell/eog-gtk-ui.xml, shell/eog-window.c: Printing support
        * libeog/eog-image.c: Bugfix for Bug #310351
2005-07-14 20:30:30 +00:00
Ross Burton 7e95c34999 More wrapping 2005-07-14 18:58:10 +00:00
Ross Burton 85a6d438ed More lcms wrapping 2005-07-14 18:27:43 +00:00
Tim P. Gerla 108e01fecd More patches from Ross Burton improving the ICC profile support and make linking against -llcms optional. 2005-07-14 00:35:37 +00:00
Tim P. Gerla d66242aa15 Apply patches from Ross Burton <ross@burtonini.com> to add ICC color profile support. 2005-07-12 01:23:22 +00:00
Tim P. Gerla e320433824 Apply patches from Philip Van Hoof <pvanhoof@gnome.org> to update the
* Apply patches from Philip Van Hoof <pvanhoof@gnome.org> to
update the folder of viewed images on filesystem changes.
Closes bug #308634.
2005-07-10 19:48:35 +00:00
Tim P. Gerla 3046ba9305 Apply patch from Jaap A. Haitsma <jaap@haitsma.org> to use Ctrl-= to zoom
* shell/eog-gtk-ui.xml, shell/eog-window.c: Apply patch from
        Jaap A. Haitsma <jaap@haitsma.org> to use Ctrl-= to zoom in and Ctrl-0
        to go to "Normal Size". Closes bug #109412.
2005-07-09 18:43:33 +00:00
Tim P. Gerla cbfbc4bad6 Apply patch from Paolo Borelli <pborelli@katamail.com> to remove
* Apply patch from Paolo Borelli <pborelli@katamail.com> to remove
eog-hig-dialog.[ch] and replace with gtk 2.6 calls. Closes bug #309376.
2005-07-09 18:32:59 +00:00
Tim P. Gerla 5633f091de remove support for very old libexif version 0.5.12. Apply patch from Paolo
* configure.in, eog-info-view-exif.c: remove support for very old
        libexif version 0.5.12.
        * Apply patch from Paolo Borelli <pborelli@katamail.com> to rework
        the statusbar to new Gtk API. Closes bug #309118.
        * Update NEWS for 2.11.0
2005-07-02 00:29:48 +00:00
Tim P. Gerla 3184edc73d Apply patch from Paolo Borelli <pborelli@katamail.com> to make preferences
* eog.glade, shell/eog-preferences.c, shell/eog-preferences.h:
        Apply patch from Paolo Borelli <pborelli@katamail.com> to
        make preferences and help dialog launch in the center of the
        parent window. Closes bug #144631.
        * shell/eog-window.c: Patch from Paolo Borelli to fix miscalculated
        zoom amount. Closes bug #308910.
        * libeog/eog-scroll-view.c, libeog/eog-scroll-view.h,
        shell/eog-window.c: Another patch from Paolo Borelli to
        desensitize zoom in/out buttons at max/min zoom levels.
2005-06-25 02:12:03 +00:00
Tim P. Gerla 24668119e7 Apply patches from kmaraas@gnome.org (Kjartan Maraas):
* libeog/test-eog-job.c: (test_jobs):
        * shell/eog-window.c: (eog_window_drag_data_received),
        (obtain_desired_size): #if 0 some unused code and fix
        compiler warnings.

Fixes bug #308918.
2005-06-24 11:29:09 +00:00
Tim P. Gerla 302c1880b6 Add patch to fix building with --without-jpeg flag from foser@gentoo.org.
* libeog/eog-image.c: Add patch to fix building with
          --without-jpeg flag from foser@gentoo.org. Closes bug #158067.
2005-06-24 10:38:56 +00:00
Tim Gerla 268d4afc02 Apply patch from Kjartan Maraas <kmaraas@gnome.org>: config.h has to be
2005-06-23  Tim Gerla  <tim@gerla.net>

        * libeog/*.c, shell/*.c:
        Apply patch from Kjartan Maraas <kmaraas@gnome.org>:
        config.h has to be the first file included in a .c file and
        it must not be included more than once else you get undefined
        behaviour and broken translations etc. This patch fixes this up,
        along with a couple of other minor memory-management bugs.

CVl: ----------------------------------------------------------------------
2005-06-23 23:15:17 +00:00
Kjartan Maraas 212a1fe88f Patch to fix C99ism. Closes bug #308466. Patch from Behdad Esfahbod.
2005-06-22  Kjartan Maraas  <kmaraas@gnome.org>

	* libeog/eog-job-manager.c: (eog_job_manager_add): Patch to fix
	C99ism. Closes bug #308466. Patch from Behdad Esfahbod.
2005-06-22 12:49:55 +00:00
Tor Lillqvist 644141838c [Win32] New functions, used to implement run-time lookup of DATADIR,
2005-06-18  Tor Lillqvist  <tml@novell.com>

	* shell/main.c (get_installation_subdir, eog_get_datadir,
	eog_get_icondir, eog_get_localedir): [Win32] New functions, used
	to implement run-time lookup of DATADIR, ICONDIR and LOCALEDIR,
	instead of using configure-time paths. Use them by redefining the
	macros.

	* shell/util.h: [Win32] Declare eog_get_datadir() and
	eog_get_icondir().

	* shell/eog-preferences.c
	* shell/eog-window.c: Use them here, too.

	* shell/Makefile.am (INCLUDES): Pass also $prefix to the
	compilation.

	* libeog/Makefile.am (INCLUDES): Remove unused GNOMELOCALEDIR and
	EOG_DATADIR definitions.
2005-06-17 21:31:03 +00:00
Tor Lillqvist 46f46d6899 Don't check for sigsetjmp, it's a macro on Linux, and AC_CHECK_FUNCS won't
2005-06-17  Tor Lillqvist  <tml@novell.com>

	* configure.in: Don't check for sigsetjmp, it's a macro on
	Linux, and AC_CHECK_FUNCS won't find it.

	* libeog/eog-image-jpeg.c: So instead, conditionalize its use
	directly on G_OS_WIN32.
2005-06-17 20:21:28 +00:00
Tor Lillqvist 06e846ef93 Port to Windows, not because there wouldn't be enough good image viewers
2005-06-17  Tor Lillqvist  <tml@novell.com>

	Port to Windows, not because there wouldn't be enough good image
	viewers on Windows already, but mostly to have a relatively simple
	testbed for the libraries that eog uses.

	* configure.in: Don't do the X11 checks unless GTK target is
	X11. Check for fsync() and sigsetjmp().

	* Makefile.am (install-data-local): Workaround MSYS feature.

	* shell/Makefile.am
	* libeog/Makefile.am
	* shell/main.c: Rename DATADIR to EOG_DATADIR as the
	mindbogglingly wildly namespace-stomping Windows headers that
	gnome-vfs-address.h drags in clash with DATADIR.

	* */Makefile.am: Link with LIBJPEG.

	* libeog/eog-full-screen.c
	* shell/eog-window.c: Conditionalize use of X11 and Unix API. No
	attempt to do the corresponding things on Win32 yet, so the
	behaviour might not be similar.

	* libeog/eog-image-jpeg.c: Unless HAVE_SIGSETJMP, use plain setjmp
	and longjmp.

	* libeog/test-eog-job.c: Use g_usleep() instead of sleep().

	* shell/main.c: Don't call gnome_authentication_manager_init() on
	Windows, hasn't been ported yet, if ever.

	* shell/recent-files/egg-recent-model.c: Bypass use of lockf() on
	Windows.

	* shell/recent-files/egg-recent-util.c: Use GetComputerName()
	instead of gethostname() on Windows. (There is a gethostname() in
	WinSock, but it seems unnecessary to drag in WinSock just for
	that.)
2005-06-17 20:11:00 +00:00
Jens Finke 639f09005a Check gdk_pixbuf_writer_close for errors. Part of the fix for #155553.
2005-05-10  Jens Finke <jens@triq.net>

	* libeog/eog-image.c (eog_image_real_load): Check gdk_pixbuf_writer_close
	for errors. Part of the fix for #155553.
2005-05-10 19:04:44 +00:00
Jens Finke 7560f58cd3 Added checkbox to disable auto switching of images in slideshow.
2005-04-11  Jens Finke  <jens@triq.net>

	* eog.glade: Added checkbox to disable auto switching of images in slideshow.

	* eog.schemas.in: New key full_screen/auto_advance

	* shell/eog-preferences.c (check_auto_advance_toggle_cb): Disable spin button
	when unchecked, otherwise enable it.

	* libeog/eog-fullscreen.c (eog_full_screen_new): Auto advance of images depend
	on auto_advance gconf key, not whether seconds are greater zero.
2005-04-11 06:11:59 +00:00
Jens Finke 55c3b1ece8 Escape caption before setting as markup string in text item. Fixes
2005-04-05  Jens Finke  <jens@triq.net>

	* libeog/eog-collection-item.c (get_item_image_caption): Escape caption before
	setting as markup string in text item. Fixes #164163.
2005-04-05 19:24:29 +00:00
Jens Finke 54e2724d8b libeog/eog-file-selection.c (set_preview_pixbuf), shell/eog-window.c
2005-04-05  Jens Finke  <jens@triq.net>

	* libeog/eog-file-selection.c (set_preview_pixbuf),
	* shell/eog-window.c (update_status_bar),
	* shell/main.c (user_wants_collection): Use ngettext where useful.
	Fixes #149525, #150636.
2005-04-05 19:03:08 +00:00
Jens Finke f9875e33a4 Replacing 'disjunct' by 'not all equal'. Fixes #148912.
2005-04-05  Jens Finke  <jens@triq.net>

	* libeog/eog-uri-converter.c (eog_uri_converter_check): Replacing 'disjunct' by
    'not all equal'. Fixes #148912.
2005-04-05 16:29:03 +00:00
Paolo Borelli ea0b355ee5 Fix memory leak. Fixex bug #159575.
2005-03-21  Paolo Borelli <pborelli@katamail.com>

	* libeog/eog-image.c (eog_image_real_load): Fix memory leak.
	Fixex bug #159575.
2005-03-21 21:11:26 +00:00
Danilo Šegan 7863ef2ab5 s/MARSHAL_SOURCES/MARSHAL_OUTPUT/.
2005-03-21  Danilo Šegan  <dsegan@gmx.net>

	* libeog/Makefile.am: s/MARSHAL_SOURCES/MARSHAL_OUTPUT/.
2005-03-21 20:59:37 +00:00
Jens Finke fccf4f6fa5 Use translation for exif categorie labels.
2005-03-21  Jens Finke  <jens@triq.net>

	* libeog/eog-info-view-exif.c (eog_info_view_exif_instance_init):
	Use translation for exif categorie labels.
2005-03-21 20:41:54 +00:00
Jens Finke db2782b4b7 Use translation for attribute names.
2005-03-21  Jens Finke  <jens@triq.net>

	* libeog/eog-info-view-file.c (eog_info_view_file_instance_init):
	Use translation for attribute names.
2005-03-21 20:36:32 +00:00
Jens Finke 58968a20c7 Place item outside visible area until its final position is determined.
2005-03-18  Jens Finke  <jens@triq.net>

	* libeog/eog-wrap-list.c (add_image): Place item outside visible area until
	its final position is determined.
2005-03-18 16:33:14 +00:00
Jens Finke 827d74b453 Disable xscreensaver during auto advance slideshows.
2005-03-18  Jens Finke  <jens@triq.net>

	* libeog/eog-full-screen.c (disable_screen_saver),
	(eog_full_screen_show), (eog_full_screen_hide): Disable xscreensaver during
	auto advance slideshows.
2005-03-18 16:32:19 +00:00
Jens Finke bdaa44a847 Merged the experimental-job-mgr branch back to head.
2005-03-14  Jens Finke  <jens@triq.net>

	* Merged the experimental-job-mgr branch back to head.
2005-03-14 20:35:13 +00:00
Vincent Noel 7872fa5c76 Replace gnome-i18n.h by gi18n.h. Fixes #166849. Patch from Kristof
2005-02-11  Vincent Noel  <vnoel@cox.net>

	* libeog/eog-file-selection.c:
	* libeog/eog-image-jpeg.c:
	* libeog/eog-image-list.c:
	* libeog/eog-image.c:
	* libeog/eog-info-view-exif.c:
	* libeog/eog-info-view-file.c:
	* libeog/eog-info-view.c:
	* libeog/eog-save-as-dialog-helper.c:
	* libeog/eog-save-dialog-helper.c:
	* libeog/eog-uri-converter.h: Replace gnome-i18n.h by
	gi18n.h. Fixes #166849. Patch from Kristof Vansant.
2005-02-11 15:02:19 +00:00
Jens Finke af8523c9df New functions.
2004-12-04  Jens Finke  <jens@triq.net>

	* libeog/eog-file-selection.c: (eog_file_selection_toggle_button_cb),
	(eog_file_selection_add_open_new_window): New functions.

	Add check box to let user decide to open an URI in the same window
	or open a new one.
2004-12-04 17:47:24 +00:00
Jens Finke 2af4eb4a9e AIX compilation fixes. Patch by Sandie Vanderme
2004-12-01  Jens Finke  <jens@triq.net>

	* libeog/eog-metadata-reader.c: AIX compilation fixes.
	Patch by Sandie Vanderme <sandie.vanderme@bull.net>. #159863
2004-12-01 19:49:25 +00:00
Jens Finke cd764bc9f3 Respect allowed min/max zoom factors.
2004-11-29  Jens Finke  <jens@triq.net>

	* libeog/eog-scroll-view.c (set_zoom_fit): Respect allowed
	min/max zoom factors.

	* shell/eog-window.c (eog_window_construct_ui): Set min widget size
	for scroll_view.
2004-11-29 20:53:13 +00:00
James Henstridge ded8d39d5b fix a bug setting the fill colour for the item's caption that was causing
2004-11-15  James Henstridge  <james@jamesh.id.au>

	* libeog/eog-collection-item.c (eog_collection_item_construct):
	fix a bug setting the fill colour for the item's caption that was
	causing a crash on startup.  Fixes bug #155241.
2004-11-15 14:21:22 +00:00
Jens Finke 20fb1ad6eb eog.glade, doc/C/eog.sgml, libeog/eog-save-as-dialog.c,
2004-10-24  Jens Finke  <jens@triq.net>

	* eog.glade,
	* doc/C/eog.sgml,
	* libeog/eog-save-as-dialog.c,
	* shell/eog-preferences.c,
	* shell/eog-window.c,
	* shell/main.c: s/Eye of Gnome/Eye of GNOME
	Fixes #122544.
2004-10-24 12:02:03 +00:00
Jens Finke 5bcaf19518 eog.schemas.in, Added keys for visibility of info view. Added info view
2004-10-24  Jens Finke  <jens@triq.net>

	* eog.schemas.in,
	* eog-config-keys.h:  Added keys for visibility of
	info view.
	* eog-gtk-ui.xml: Added info view toggle.
	* eog-window.c (verb_ShowHideAnyBar_cb)
	(update_ui_visiblity): Consider info view updates.
	Partially fixes #154859.
2004-10-24 11:50:41 +00:00
Paolo Borelli 74b6705bd6 New files, copy&pasted code from eel. configure.in, libeog/eog-image.c,
2004-10-21 Paolo Borelli <pborelli@katamail.com>

	* libeog/eog-util.[ch]: New files, copy&pasted code from eel.
	* configure.in,
	* libeog/eog-image.c,
	* libeog/eog-save-dialog-helper.c: Removed eel library dependency.
2004-10-21 18:53:35 +00:00
Jens Finke 4e365711bb New function. (prepare_data): Set first_iter always to the first iter of
2004-09-26  Jens Finke  <jens@triq.net>

	* libeog/eog-full-screen.c (show_nth_image): New function.
	(prepare_data): Set first_iter always to the first iter of the
	image list.
	(eog_full_screen_key_press): Enable Pos1 and End keys to switch
	 to start/end of the slideshow. Enable PageDown and PageUp keys
	for browsing to next/previous image.
2004-09-26 19:12:31 +00:00
Jens Finke efef799932 libeog/eog-image.h, New function.
2004-09-26  Jens Finke  <jens@triq.net>

	* libeog/eog-image.h,
	* libeog/eog-image.c (eog_image_get_uri_for_display): New function.

	* shell/eog-window.c (save_error): Use eog_image_get_uri_for_display.
2004-09-26 19:06:46 +00:00
Jens Finke 84057d793e Use gtk_file_chooser_get_uri.
2004-09-18  Jens Finke  <jens@triq.net>

	* libeog/eog-save-as-dialog-helper.c (on_browse_button_clicked):
	Use gtk_file_chooser_get_uri.
2004-09-18 16:01:14 +00:00
Jens Finke ebc1695a9b libeog/eog-image.c, libeog/eog-metadata-reader.c, #ifdef'ed debug
2004-08-29  Jens Finke  <jens@triq.net>

	* libeog/eog-image.c,
	* libeog/eog-metadata-reader.c,
	* shell/eog-window.c: #ifdef'ed debug messages.
	(eog_window_has_contents): Check for image_list == NULL.
2004-08-29 19:48:12 +00:00