Commit graph

339 commits

Author SHA1 Message Date
Lucas Rocha c5f0f831e7 make F9 key only cancel slide show and F11 only cancel fullscreen mode.
2005-11-01  Lucas Rocha  <lucasr@cvs.gnome.org>

        * libeog/eog-full-screen.c: make F9 key only cancel slide
        show and F11 only cancel fullscreen mode.
        * shell/eog-window.c (verb_FullScreen_cb): string comparison
        with g_ascii_strcasecmp().
2005-11-01 17:24:19 +00:00
Lucas Rocha c6917306d4 on single image view, default focus on scroll-view. On collection view,
2005-11-01  Lucas Rocha  <lucasr@cvs.gnome.org>

        * libeog/eog-scroll-view.c, shell/eog-window.c: on single
        image view, default focus on scroll-view. On collection view,
        default focus on wrap-list (Fixes bug #169836).
2005-11-01 15:44:12 +00:00
Lucas Rocha 7b8d715845 make it possible to use '=' or '+' for zooming in (Fixes bug #320367).
2005-11-01  Lucas Rocha  <lucasr@cvs.gnome.org>

        * libeog/eog-scroll-view.c: make it possible to use '='
        or '+' for zooming in (Fixes bug #320367).
2005-11-01 05:41:18 +00:00
Lucas Rocha c6e0d2b4ce implement a more consistent fullscreen/slide show behavior. Checkbox that
2005-10-29  Lucas Rocha  <lucasr@cvs.gnome.org>

        * eog.glade, eog.schemas.in, libeog/eog-config-keys.h,
        libeog/eog-full-screen.c, libeog/eog-full-screen.h,
        shell/eog-preferences.c, shell/eog-window.c: implement
        a more consistent fullscreen/slide show behavior. Checkbox
        that activate/deactivate the automatic image switching removed
        from preferences (and from gconf schema) because slide show
        always do that. After starting a slide show (F9), the only keys
        the user can use are those that stop the show. Fullscreen (F11)
        can be activated in a single image or collections. On fullscreen
        mode, the user can use keys to switch to next, previous, first
        and last images and exiting fullscreen (Fixes bug #317392).
2005-10-30 02:52:23 +00:00
Lucas Rocha 2fa32f978e fix width of the information pane that was too small (Fixes bug #313674).
2005-10-27  Lucas Rocha  <lucasr@cvs.gnome.org>

        * libeog/eog-info-view.c: fix width of the information
        pane that was too small (Fixes bug #313674). Patch
        from Ed Catmur <ed@catmur.co.uk>.
2005-10-28 02:47:13 +00:00
Lucas Rocha fec97be5b5 fix crash when adding new non-image files to a directory eog watches
2005-10-24  Lucas Rocha  <lucasr@cvs.gnome.org>

        * libeog/eog-thumbnail.c: fix crash when adding new
        non-image files to a directory eog watches (Fixes bug
        #311925) and when trying to view a PNG image with a
        JPEG extension (Fixes bug #316808). Patch from
        Callum McKenzie <callum@physics.otago.ac.nz>
2005-10-25 01:40:19 +00:00
Lucas Rocha 30d301873e fix RGBA->RGB conversion when saving PNG images to JPEG (Fixes bug
2005-10-22  Lucas Rocha  <lucasr@cvs.gnome.org>

        * libeog/eog-image-jpeg.c: fix RGBA->RGB conversion when saving
        PNG images to JPEG (Fixes bug #314742). Patch from Felix Riemann
        <felix@hsgheli.de>.
2005-10-23 02:04:03 +00:00
Lucas Rocha ff3d43c1ec Update window title when saving in another location (Fixes bug #318318).
2005-10-12  Lucas Rocha  <lucasr@cvs.gnome.org>

        * libeog/eog-image.c, libeog/eog-wrap-list.c, shell/eog-window.c:
        Update window title when saving in another location (Fixes bug #318318).
        Asks to overwrite target file instead of source when 'Saving
        as' (Fixes bug #162627). Don't crash when removing images from a
        collection (Fixes bug #313003).
        * shell/eog-file-chooser.c: no "Open in new window" option on
        save action. Fixes bug #318734.
2005-10-13 03:18:10 +00:00
Tim P. Gerla 0eec320a58 Update for 2.12.1 Fix a couple of crashing bugs. Fixes bugs #313892 and
* configure.in, NEWS: Update for 2.12.1
* libeog/eog-image.c, libeog/eog-thumbnail.c: Fix
  a couple of crashing bugs. Fixes bugs #313892 and
  #313397. Patches from lucasr.at.mundo@gmail.com.
* shell/eog-window.c: Update the statusbar correctly.
  Fixes bug #317757, patch from lucasr.at.mundo@gmail.com.
2005-10-04 02:26:17 +00:00
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
Jens Finke 2025ca2937 NULL image variable.
2004-08-26  Jens Finke  <jens@triq.net>

	* libeog/eog-collection-item.c (eog_collection_item_destroy): NULL image variable.

	* libeog/eog-image.c (load_emit_signal_done):
	* libeog/eog-wrap-list.c (eog_wrap_list_drag_data): Unref image.

	* shell/eog-window.c (eog_window_destroy): Free all image objects.
	(handle_image_selection_changed): Don't add ref to image.
2004-08-26 15:57:44 +00:00
Jens Finke 8f40b67e8c Make it compile with gcc 2.95 - #150399.
2004-08-18  Jens Finke  <jens@triq.net>

	* libeog/eog-uri-converter.c: Make it compile with gcc 2.95 - #150399.
2004-08-18 18:11:43 +00:00
Jens Finke 8ac702065b Consider antialiasing setting.
2004-08-17  Jens Finke  <jens@triq.net>

	* libeog/eog-full-screen.c (eog_full_screen_new): Consider antialiasing setting.

	* shell/eog-window.c (interp_type_changed_cb),
	  (transparency_changed_cb),
	  (trans_color_changed_cb): New functions.
	  (eog_window_destroy): Remove gconf listeners.
	  (eog_window_init): Add gconf listeners.
	  (eog_window_update_properties): Read current gconf settings.
2004-08-17 06:04:41 +00:00
Jens Finke 39287e1e60 removed server in file 2004-08-16 06:27:41 +00:00
Jens Finke b2a919aa1c New window parameter. Other files adapted to new signature.
2004-07-26  Jens Finke  <jens@triq.net>

	* libeog/eog-hig-dialog.c (eog_hig_dialog_new): New window parameter.
	Other files adapted to new signature.
2004-07-26 17:21:08 +00:00
Jens Finke 2bf64c437d New function. (save_as_single_image): Assert that we can always determine
2004-07-26  Jens Finke  <jens@triq.net>

	* shell/eog-window.c (save_as_file_selection_dialog): New function.
	(save_as_single_image): Assert that we can always determine
	the image format - #148190.

	* libeog/eog-pixbuf-util.[ch] (eog_pixbuf_get_format_by_vfs_uri),
	(eog_pixbuf_get_format_by_uri): New functions.
2004-07-26 16:48:38 +00:00
Jens Finke 5a59ba333c Force canvas update before deleting GnomeCanvasItem.
2004-07-25  Jens Finke  <jens@triq.net>

	* libeog/eog-wrap-list.c (model_image_removed): Force canvas update
	before deleting GnomeCanvasItem.
2004-07-25 20:32:36 +00:00
Grzegorz Golawski 1234fc7e98 Check for libexif = 0.5.12 and newer versions.
2004-07-24  Grzegorz Golawski <grzegol@pld-linux.org>

	* configure.in: Check for libexif = 0.5.12 and newer versions.

	* libeog/eog-info-view-exif.c: Consider API changes with new libexif.
2004-07-23 06:02:53 +00:00
Jens Finke 8d51676b2d Removed bonobo related checks.
2004-07-23  Jens Finke  <jens@triq.net>

	* configure.in: Removed bonobo related checks.

	* libeog/accessible-image-view.c
	* shell/eog-window.c
	* shell/main.c: Removed bonobo includes and remaining
	source references.

	* shell/recent-files/Makefile.am,
	* shell/recent-files/egg-recent.h: Removed eog-recent-view-bonobo.[ch]
2004-07-23 05:47:18 +00:00
Jens Finke ccf2e2cb84 Check for libexif = 0.5.12. Don't create Makefiles in libgpi, collection,
2004-07-20  Jens Finke  <jens@triq.net>

	* configure.in: Check for libexif = 0.5.12. Don't create Makefiles in
	libgpi, collection, viewer and idl directories.

	* Makefile.am: Removed libgpi, collection, viewer and idl
	from SUBDIRS.

	* libeog/Makefile.am: Removed CORBA/Bonobo stuff.

	* NEWS: Updated.
2004-07-20 20:32:09 +00:00
Jens Finke 5e8b38f172 Create new list if list argument is NULL.
2004-07-20  Jens Finke  <jens@triq.net>

	* libeog/eog-image-list.c (list_insert_sorted_private): Create new list
	if list argument is NULL.
2004-07-20 20:28:03 +00:00
Jens Finke 9593f2baa8 Implemented delete function.
2004-07-13  Jens Finke  <jens@triq.net>

	Implemented delete function.

	* libeog/eog-image-list.c (list_insert_sorted_private),
	(eog_image_list_remove_image),
	(remove_image_private): New function.
	(add_image_private): Return inserted position.

	* libeog/eog-wrap-list.c (model_image_removed): Implemented.
	(do_update): Handle N_ITEMS_CHANGED hint.

	* shell/eog-window.c (show_delete_confirm_dialog),
	(delete_image_real),
	(verb_Delete_cb): New functions.

	* shell/gtk-shell-ui.xml: Delete item added.
2004-07-13 19:56:21 +00:00
Jens Finke a916a562f2 'Save As' for single and multiple files.
2004-07-11  Jens Finke  <jens@triq.net>

	'Save As' for single and multiple files.

	* eog.glade: New "Save As" dialog.

	* libeog/Makefile.am: Build eog-uri-converter and eog-save-as-dialog-helper.

	* libeog/eog-file-selection.c: Removed 'overwrite file'-checks.
      Now better handled by EogImage.

	* liboeg/eog-image-save-info.c (get_save_file_type_by_uri):
	simplified
	(eog_image_save_info_from_vfs_uri): New function.

	* libeog/eog-image.c (eog-image_copy_file),
	(tmp_file_move_to_uri): Do file-exists-check ourselves.
	(eog_image_save_as_by_info): Don't emit changed signal.

	* libeog/eog-pixbuf-util.[ch] (eog_pixbuf_get_format_by_suffix),
	(eog_pixbuf_get_common_suffix): New method.

	* libeog/eog-save-as-dialog-helper.c: Code cleanups, some fixes.

	* libeog/eog-save-dialog-helper.c: Display target filename if available.

	* libeog/eog-uri-converter.c (eog_uri_converter_parse_string):
	Don't loose last string chars.
	(eog_uri_converter_check): Set error message.

	* shell/eog-window.c: Implemented 'Save As' function.
2004-07-11 15:40:59 +00:00
Jens Finke c4123f8079 libeog/eog-uri-converter.[ch], New files for upcoming "Save As" rework.
2004-07-04  Jens Finke  <jens@triq.net>

	* libeog/eog-uri-converter.[ch],
	* libeog/eog-save-as-dialog-helper.[ch]:
	  New files for upcoming "Save As" rework.
2004-07-04 20:31:31 +00:00
Jens Finke 8929ee61ef Fix compiler warning.
2004-06-21  Jens Finke  <jens@triq.net>

	* eog-collection-item.c (ensure_max_string_width): Fix compiler
  	  warning.
2004-06-21 17:38:27 +00:00
Jens Finke 17e73e20ae Build without libexif. (#144591)
2004-06-18  Jens Finke  <jens@triq.net>

	* eog-image-jpeg.[ch]: Build without libexif. (#144591)
2004-06-18 15:22:58 +00:00
Jens Finke 9fb0936efc Remove every source file but transupp.[ch].
2004-06-17  Jens Finke  <jens@triq.net>

    * jpegutils/: Remove every source file but transupp.[ch].

	* libeog/eog-image-save-info.[ch]
    * libeog/eog-save-dialog-helper.[ch]: New files.

    * eog.glade: New save file dialog.

	* libeog/eog-metadata-reader.[ch]: Handle duplicated EXIF markers.

	* libeog/eog-image-jpeg.[ch],
    * libeog/eog-image.[ch],
	* shell/eog-window.c: Huge patch, reworked "Save" function
      completely.
2004-06-17 18:58:27 +00:00
Jens Finke 2cc77bd87b This is a fairly large patch, which makes fundamental changes. It is a
2004-05-25  Jens Finke  <jens@triq.net>

	This is a fairly large patch, which makes fundamental changes. It
	is a work in progress and is not fully functional yet again. Use
	the BEFORE_GTK_UI_MANAGER_SWITCH tag to checkout the latest
	working version.

	* libeog/Makefile.am: Moved eog-wrap-list.[ch],
	eog-canvas-pixbuf.[ch], eog-collection-item.[ch] here.

	* collection/Makefile.am: Removed above files from here. Killed
	eog-collection-marshal.list.

	* shell/Makefile.am: Link with jpegutils.

	* shell/eog-window.c: Made this a GtkWindow, using GtkUIManager
	and related stuff.

	* shell/gtk-shell-ui.xml: New file.
2004-05-25 05:55:24 +00:00
Jens Finke 15710ddea6 New files.
2004-05-07  Jens Finke  <jens@triq.net>

	* libeog/eog-metdata-reader.[ch]: New files.

	* libeog/Makefile.am (SOURCES): Added new files.

	* libeog/eog-image-private.h: Added attributes for exif/iptc raw data.

	* libeog/eog-image.c (real_image_load): Use EogMetadataReader object for
	obtaining image metadata.
	(check_for_metadata_img_format): New function.
	(load_emit_signal_info_done): Removed InfoDone signal emission.
	(eog_image_load): Always use EOG_IMAGE_LOAD_COMPLETE method
	(significantly faster).
	(image_changed_cb): Do explicit ExifData* cast.
	(eog_image_free_mem_private): Free exif raw data if used.

	* collection/eog-collection-view.c (create_user_interface):
	Create always info view.
2004-05-07 06:07:35 +00:00
Jens Finke 1521da5343 Build even without libexif. #141114
2004-04-26  Jens Finke  <jens@triq.net>

	* libeog/eog-info-view-exif.c: Build even without libexif. #141114
2004-04-26 17:01:03 +00:00
Jens Finke e97ce6d6b8 Reworked this completely. Derived from GtkNotebook now with separate pages
2004-04-25  Jens Finke  <jens@triq.net>

	* libeog/eog-info-view.c: Reworked this completely. Derived from
	GtkNotebook now with separate pages for file and exif data.

	* libeog/eog-ifo-view-detail.[ch],
	libeog/eog-info-view-file.[ch],
	libeog/eog-info-view-exif.[ch]:
	EogInfoViewDetail is the base class derived from a
	GtkTreeView. EogInfoViewFile and EogInfoViewExif implement the
	code for viewing file properties resp. EXIF tag information.

	* collection/eog-collection-view.c (create_user_interface): Don't add
	notebook with viewport.
2004-04-25 15:14:51 +00:00
Jens Finke 2c72d7cc10 Synchron image loading.
2004-04-23  Jens Finke  <jens@triq.net>

	Synchron image loading.

	* eog-image.[ch] (eog_image_load_sync): New.
	  (real_image_load): Broadcast thread finished msg

 	* eog-image-private.h: Added load_finished condition
2004-04-23 16:41:41 +00:00
Jens Finke 6fe1f82879 Faster image loading.
2004-04-23  Jens Finke  <jens@triq.net>

	Faster image loading.

	* eog-image-private.h: Removed deprecated loading status fields.

	* eog-image.c (check_load_status): Removed.
	  (load_emit_signal_progress),
	  (load_emit_signal_info_done),
	  (load_emit_signal_size_prepared),
	  (load_size_prepared),
	  (load_emit_signal_done): New.
	  (real_image_load): Initiate signal emits where appropriate.
	  (eog_image_load): No more need for check_load_status idle func.

	* configure.in: Bumped version to 2.7.0

===== 2.7.0 =====
2004-04-23 15:54:20 +00:00
Jens Finke a558ce2bad Check actual monitor/screen size. Fixes xinerama problems in #137137
2004-04-21  Jens Finke  <jens@triq.net>

	* libeog/eog-full-screen.c (eog_full_screen_instance_init):
	Check actual monitor/screen size. Fixes xinerama problems
	in #137137 partially.
2004-04-21 17:25:35 +00:00
Seth Nickell bbfccd7f27 If using VFS, allow the file chooser to return non-local URIs. Fixes a
2004-03-19  Seth Nickell  <seth@gnome.org>

 	* libeog/eog-file-selection.c: (eog_file_selection_new):

	If using VFS, allow the file chooser to return non-local
 	URIs. Fixes a regression caused by GTK+ API change.
2004-03-22 18:01:26 +00:00
Jens Finke c57b343e95 Removed this function, incorporated the functionality into
2004-03-05  Jens Finke  <jens@triq.net>

	* libeog/eog-file-selection.c (eog_folder_selection_new): Removed
	this function, incorporated the functionality into eog_file_selection_new.

2004-03-05  Jonathan Blandford  <jrb@gnome.org>

	* libeog/eog-file-selection.c: There are now 4 actions. - Fixes #135816
2004-03-05 08:38:04 +00:00
Jens Finke 4a71f67caf Don't set 'folder-mode' property, allow multiple selections.
2004-03-01  Jens Finke  <jens@triq.net>

	* libeog/eog-file-selection.c: (eog_file_selection_new): Don't set
	'folder-mode' property, allow multiple selections.
	(eog_folder_selection_new): Set chooser action to
	GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER.

2004-03-01  Jan Arne Petersen  <jpetersen@uni-bonn.de>

	* libeog/eog-file-selection.c: (eog_file_selection_add_filter),
	(eog_file_selection_new):
	Fix FileFilter (see #128396).
2004-03-01 07:00:58 +00:00
Jens Finke 9bac45cd77 Fix AIX compilation problems - #134866.
2004-02-19  Jens Finke  <jens@triq.net>

	Fix AIX compilation problems - #134866.

	* libeog/eog-image.h
	* shell/eog-window.h: No trailing comma after last enum constant.

	* libeog/eog-scroll-view.c: No C++ comments in C source files.
2004-02-19 20:53:28 +00:00
Jens Finke ff1f43cd7d Don't force specific window size.
2004-02-15  Jens Finke  <jens@triq.net>

	* libeog/eog-file-selection.c (eog_folder_selection_new),
	(eog_file_selection_new): Don't force specific window size.
2004-02-15 16:55:45 +00:00
Jens Finke 716884eae1 Don't lost exif data scroll position when switching to a new image in
2004-02-15  Jens Finke  <jens@triq.net>

	Don't lost exif data scroll position when switching to a new image
	in collection view. Fixes #123463.

	* libeog/eog-info-view.c (clear_single_row), (clear_values): New
	functions.
	(set_row_data): New function. Set data for a given treeview path
	or appends a new row if it doesn't exist.
	(append_row): Removed.
	(add_image_size_attribute): Use set_row_data.
	(exif_entry_cb): Use hashtable to determine the row for a given
	exif attribute.
	(eog_info_view_set_image),
	(image_changed_cb): Clear list, but don't use new model.
2004-02-15 15:22:15 +00:00
Jens Finke 0a0dbae2fa Fixes #132263.
2004-02-02  Jens Finke   <jens@triq.net>

	Fixes #132263.

	* collection/eog-collection-view.c (have_broken_filenames),
	(get_title_from_uri): New function.
	(eog_collection_view_get_prop): Obtain title from base_uri.
	(get_collection_model): Connect to list-prepared signal.

	* collection/eog-save-dialog.c (eg_save_dialog_update): Removed
	debug output.

	* libeog/eog-image-list.[ch] (eog_image_list_dispose),
	(eog_image_list_instance_init): Init/free new attributes.
	(real_dir_loading),
	(real_file_loading): Determine base uri.
	(prepare_loading_context): Don't leak info object on error.
	(eog_image_list_get_base_uri): New function.

	* libeog/eog-image.c (eog_image_get_caption): Copy static string
	in error case.
2004-02-02 18:29:50 +00:00
Balamurali Viswanathan e8db19c640 Check for the existence of the file only if "Save" button is clicked on
2004-01-27  Balamurali Viswanathan  <balamurali.viswanathan@wipro.com>

        * libeog/eog-file-selection.c (response_cb): Check for the
        existence of the file only if "Save" button  is clicked on the
        save image dialog. Solves bug #131654
2004-01-27 11:24:13 +00:00
Jens Finke 020e3a7886 Fixed logic typo. Patch by Telsa Gwynne, fixes - #130924.
2004-01-11  Jens Finke  <jens@triq.net>

	* libeog/uta.c (uta_find_first_glom_rect): Fixed logic typo. Patch by
	Telsa Gwynne, fixes - #130924.
2004-01-11 12:28:31 +00:00
Jens Finke 40c9401d94 Check for successful tmp file creation. (eog_image_jpeg_save_lossless):
2004-01-06  Jens Finke  <jens@triq.net>

	* libeog/eog-image-jpeg.c (eog_image_jpeg_save): Check for
	successful tmp file creation.
	(eog_image_jpeg_save_lossless): Use
	gnome_vfs_get_local_path_from_uri.

	* libeog/eog-image-view.c (save_uri): Deal with text_uri == NULL.
2004-01-06 19:32:29 +00:00
Jens Finke 61b5bdef13 Allow loading of multiple single images into a collection view. [Got
2004-01-03  Jens Finke  <jens@triq.net>

	Allow loading of multiple single images into a collection
	view. [Got broken when switching to EogImageList.]

	* collection/Makefile.am (SOURCES): Added
	eog-collection-view-iface.[ch].

	* collection/eog-collection-view-iface.[ch]: New files.

	* idl/Eog.idl: Removed old cruft. New GNOME::EOG::CollectionView
	interface.

	* collection/eog-collection-view.c (get_collection_model): New func.
	(load_uri_cb): Reworked
	(load_uri_list_cb): New func.
	(eog_collection_view_construct): Add EOG::CollectionView interface.

	* collection/GNOME_EOG_Collection.server.in.in: Added
	IDL:GNOME/EOG/CollectionView:1.0 to list of repo_ids.

	* libeog/eog-image-list.c (real_file_loading),
	(eog_image_list_add_files): New func.
	(eog_image_list_add_directory): Clean up.

	* shell/eog-window.c (add_control_to_ui): New func.
	(eog_window_open_list),
	(eog_window_open): Reworked functions. *_open_list uses the
	CollectionView::loadURIList interface, while *_open uses
	BonobPersistFile::load.
2004-01-03 16:04:18 +00:00
Jens Finke d360825424 Preview for the file selector.
2003-12-31  Jens Finke  <jens@triq.net>

	Preview for the file selector.

	* libeog/eog-file-selection.c (eog_file_selection_dispose),
	(eog_file_selection_finalize), (eog_file_selection_class_init),
	(eog_file_selection_instance_init),
	(set_preview_label),
	(set_preview_pixbuf),
	(update_preview_cb),
	(eog_file_selection_add_preview): New functions.
	(eog_file_selection_new): Add preview widget.

	* libeog/eog-file-selection.h: Added pointer to private struct.
2003-12-31 14:01:52 +00:00
Jens Finke ccd15be6f8 New functions. (directory_visit_cb): Put only images into the list, which
2003-12-21  Jens Finke  <jens@triq.net>

	* libeog/eog-image-list.c (compare_quarks),
	(get_supported_mime_types), (is_supported_mime_type): New
	functions.
	(directory_visit_cb): Put only images into the list, which are
	actually supported by GdkPixbuf.
2003-12-21 11:54:49 +00:00
Jens Finke 4fae38312b Added filter which displays 'All Files'.
2003-12-21  Jens Finke  <jens@triq.net>

	* libeog/eog-file-selection.c (eog_file_selection_add_filter):
	Added filter which displays 'All Files'.
2003-12-21 11:00:47 +00:00
Jens Finke 7096d37abd Adapted to new eog_image_save signature.
2003-12-21  Jens Finke  <jens@triq.net>

	* collection/eog-collection-view.c (save_image_loading_finished):
	Adapted to new eog_image_save signature.

	* libeog/eog-file-selection.[ch] (eog_file_selection_add_filter):
	Attach GdkPixbufFormat to filter for further reference.
	(eog_file_selection_get_format): New function.

	* libeog/eog-image-jpeg.[ch] (get_tmp_filepath),
	(move_file_to_uri): New functions.
	(eog_image_jpeg_save),
	(eog_image_jpeg_save_lossless): Dump data to temporary file first
	and move it to final destination afterwards.

	* libeog/eog-image.[ch] (real_image_load): Set image status to failed
	if we read 0 bytes.
	(eog_image_save): Added GdkPixbufFormat parameter, better
	retrieving of target filetype.

	* viewer/eog-image-view.c (verb_SaveAs_cb): Get image format from
	file chooser.
	(save_uri): New function, which takes an additional
	GdkPixbufFormat parameter.
2003-12-21 10:35:11 +00:00
Jens Finke 1b8a9b3968 Update URI and clear caption strings after save.
2003-12-19  Jens Finke  <jens@triq.net>

	* libeog/eog-image.c (eog_image_save): Update URI and clear
	caption strings after save.

	* libeog/eog-image.h (eog_image_save): non-const target URI.

	* viewer/eog-image-view.c (eog_image_view_get_prop): View caption
	of modified images with appended asterisk.
	(image_changed_cb): Notify listerns about title change, too.
2003-12-19 18:04:40 +00:00
Jens Finke b73eaaaed5 Disable automatic image switching for single images always.
2003-12-14  Jens Finke  <jens@triq.net>

	* libeog/eog-full-screen.c (prepare_data): Disable automatic image
	switching for single images always.
2003-12-14 18:45:50 +00:00