Commit graph

1301 commits

Author SHA1 Message Date
Jens Finke 6fe0cc8c43 Released version 2.3.1.
2003-05-04  Jens Finke  <jens@triq.net>

	Released version 2.3.1.
2003-05-04 15:08:42 +00:00
Changwoo Ryu 390f246305 Updated Korean translation.
2003-05-04  Changwoo Ryu  <cwryu@debian.org>

	* ko.po: Updated Korean translation.
2003-05-03 16:39:30 +00:00
Laurent Dhima c81e9519e7 Updated 2003-04-29 22:02:36 +00:00
Miloslav Trmac d99d9b270e Update Czech translation 2003-04-29 17:56:47 +00:00
Laurent Dhima cd4ad9013e Updated Albanian translation.
* sq.po: Updated Albanian translation.
2003-04-29 10:57:18 +00:00
Laurent Dhima 9b5c3c41d9 Updated 2003-04-29 10:54:38 +00:00
Jens Finke 3457074189 Free images only if we have more than three.
2003-04-28  Jens Finke  <jens@triq.net>

	* libeog/eog-full-screen.c (show_next_image): Free images only if
	we have more than three.
	(eog_full_screen_instance_init): Actually, do fullscreen again
	(erm, forgot my testing code :)
	(check_advance_loading): Initiate image loading only, if it hasn't
	been loaded yet.

	* libeog/eog-image.[ch] (real_image_load): Removed assert for now
	so that we don't crash eventually with exif support enabled. Spew
	out a warning only. Should be fixed though.
	(eog_image_is_loaded): New function.
2003-04-28 19:14:29 +00:00
Jens Finke e250bd1011 Queue the images to load and load one by one. Simplified the code.
2003-04-27  Jens Finke  <jens@triq.net>

	* libeog/eog-full-screen.c: Queue the images to load and load one
	by one. Simplified the code.

	* libeog/eog-image.[ch] (eog_image_new_uri),
	(eog_image_new): Removed load mode parameter.
	(eog_image_load): Removed return parameter. Instead, emit load
	finished signal if the image is already loaded.
	(eog_image_free_mem): Set load status to none.

	* libeog/eog-info-view.c (eog_info_view_set_image):
	* viewer/eog-image-view.c (load_uri_cb):
	* collection/eog-collection-model.c (directory_visit_cb):
	(real_file_loading): Removed load mode paramter for eog_image_new.

	* libeog/eog-scroll-view.c (eog_scroll_view_set_image): Removed
	the special case when an image is already loaded. Submit
	LOAD_DEFAULT to eog_image_load.
2003-04-27 10:43:01 +00:00
Jens Finke 2504aa4d44 Remove cursor hide timeout handler.
2003-04-27  Jens Finke  <jens@triq.net>

	* libeog/eog-full-screen.c (eog_full_screen_destroy): Remove
	cursor hide timeout handler.
2003-04-27 09:26:02 +00:00
Fatih Demir a3bb79000f Updated ta.po 2003-04-23 07:33:35 +00:00
Jens Finke 0cf10b6e0d Don't call canvas item construct function, use the 'parent' property
2003-04-21  Jens Finke  <jens@triq.net>

	* collection/eog-collection-item.c (eog_collection_item_new):
	Don't call canvas item construct function, use the 'parent'
	property instead.
2003-04-21 09:47:49 +00:00
Jens Finke 7938189390 Fixed schemas installation based on a patch by Bobby Kashani
2003-04-17  Jens Finke  <jens@triq.net>

	* Makefile.am: Fixed schemas installation based on a patch by
	 Bobby Kashani <bobk@ocf.berkeley.edu>.
2003-04-17 05:38:12 +00:00
Mike Lei 6f9026be27 add .cvsignore to help dir 2003-04-14 05:34:42 +00:00
Mike Lei 6b0926a876 add .cvsignore to L10N help dirs 2003-04-14 05:33:26 +00:00
Jens Finke a674992fca Updated German translation.
2003-04-12  Jens Finke  <jens@triq.net>

	* de.po: Updated German translation.
2003-04-12 17:18:48 +00:00
Jens Finke bc93a45fde Removed debug messages. (eog_window_construct): Limit list of recent files
2003-04-12  Jens Finke  <jens@triq.net>

	* shell/eog-window.c (open_uri_list_cleanup),
	(eog_window_drag_data_received),
	(adapt_window_size),
	(eog_window_open_list): Removed debug messages.
	(eog_window_construct): Limit list of recent files to 5.

	* shell/main.c (open_window),
	(open_uri_list_cb): Removed debug messages.
2003-04-12 16:36:45 +00:00
Jens Finke 114261db64 Support for list of recent files.
2003-04-12  Jens Finke  <jens@triq.net>

	Support for list of recent files.

	* configure.in (AC_OUTPUT): Added shell/recent-files/Makefile

	* shell/Makefile.am: Build and link against recent files helper
	library.

	* shell/eog-shell-ui.xml: Placeholder for list of recent files.

	* shell/eog-window.c (open_recent_cb): New function.
	(eog_window_destroy): Free recent model/view.
	(eog_window_construct): Setup recent file objects.
	(eog_window_open_list): Add file to the list of recently opened
	files.
2003-04-12 16:10:23 +00:00
Jens Finke 3ca59b5af9 initial import of recent files support lib 2003-04-12 16:02:20 +00:00
Jens Finke 443803faa9 Initial revision 2003-04-12 16:02:20 +00:00
Jens Finke b1eb468832 Added BonoboZoomable interface.
2003-04-08  Jens Finke  <jens@triq.net>

	* collection/GNOME_EOG_Collection.server.in.in: Added
	BonoboZoomable interface.

	* collection/eog-collection-view.c (verb_ZoomIn_cb),
	(verb_ZoomOut_cb), (verb_ZoomToDefault_cb), (verb_ZoomToFit_cb),
	(zoomable_set_frame_cb),
	(zoomable_set_zoom_level_cb),
	(zoomable_zoom_in_cb),
	(zoomable_zoom_out_cb),
	(zoomable_zoom_to_fit_cb),
	(zoomable_zoom_to_default_cb),
	(view_zoom_changed_cb): New functions.
	(create_user_interface): Connect to zoom_changed signal of scroll
	view.
	(eog_collection_view_construct): Add BonoboZoomable interface.
	(eog_collection_view_create_ui): Merge zoom verbs to user
	interface if neccessary.
2003-04-08 18:03:51 +00:00
Mike Lei f3680ae519 deliver SUN's L10N docs to community 2003-04-07 09:09:30 +00:00
Jens Finke 8a01b2e27e Use simple counter to determine when the pointer should be hidden.
2003-04-06  Jens Finke  <jens@triq.net>

	* viewer/eog-full-screen.c (check_cursor_hide),
	(eog_full_screen_motion): Use simple counter to determine when the
	pointer should be hidden.
2003-04-06 19:14:27 +00:00
Jens Finke f1fa3d9ae5 Added mnemonics for all menu items.
2003-04-06  Jens Finke  <jens@triq.net>

	* viewer/eog-image-view-ui.xml: Added mnemonics for all menu
	items.
2003-04-06 10:04:44 +00:00
Jens Finke a2083a183d Added invisible cursor data. (cursor_get): Made it a non public function.
2003-04-06  Jens Finke  <jens@triq.net>

	* libeog/cursors.c: Added invisible cursor data.
	(cursor_get): Made it a non public function.
	(cursor_set): New function, which directly set the desired cursor
	for the widget.

	* libeog/cursors.h: New cursor types: CURSOR_INVISBLE and
	CURSOR_DEFAULT.

	* libeog/eog-full-screen.c: Implemented automatic cursor
	hiding. Fixes #92184.
	(check_cursor_hide),
	(eog_full_screen_motion): New functions.
	(eog_full_screen_show): Init cursor hiding stuff.
	(eog_full_screen_class_init): Register mouse motion event
	callback.

	* libeog/eog-scroll-view.c (check_scrollbar_visibility): Set
	cursor type according to the state of the scrollbars.
	(is_image_movable): New function.
	(eog_scroll_view_button_press_event): Use cursor_set, set it only
	if the image is movable.
	(eog_scroll_view_button_release_event): Use cursor_set.
2003-04-06 09:51:46 +00:00
Federico Mena Quintero a9f03dc6d1 Use a macro rather than a hardcoded value for the buffer size. Also,
2003-04-02  Federico Mena Quintero  <federico@ximian.com>

	* libeog/eog-image.c (real_image_load): Use a macro rather than a
	hardcoded value for the buffer size.  Also, increased it to 64 KB
	so that we don't do so many system calls.
2003-04-03 03:20:07 +00:00
Federico Mena Quintero b19c48ae36 "*width = *height = 0", not "width = height = 0". (NUM_IMAGE_CALLBACKS):
2003-04-02  Federico Mena Quintero  <federico@ximian.com>

	* libeog/eog-scroll-view.c (eog_scroll_view_get_image_size):
	"*width = *height = 0", not "width = height = 0".
	(NUM_IMAGE_CALLBACKS): Use a macro rather than a hardcoded value
	for the number of signals we connect to.
	(ZoomMode): Use an enum rather than ints.
	(ProgressiveState): Likewise.
	(update_scrollbar_values): Use gtk_adjustment_changed() rather
	than emitting signals for the adjustments directly.
	(set_zoom): Use NULL, not 0, when calling
	check_scrollbar_visibility().
	(display_key_press_event): Likewise.
	(display_map_event): Likewise.
	(image_loading_update_cb): Likewise.
	(image_loading_finished_cb): Likewise.
	(image_changed_cb): Likewise.
	(eog_scroll_view_zoom_fit): Likewise.
	(eog_scroll_view_set_image): Likewise.
	(check_scrollbar_visibility): We don't use the return value
	anywhere, so make it return void.
	(is_unity_zoom): Take in an EogScrollView, not a private
	structure.
	(pack_pixbuf): Removed.
	(paint_rectangle): Compute the background color correctly for the
	TRASNP_BACKGROUND case.
	(scroll_to): Use gtk_adjustment_value_changed() rather than
	emitting signals for the adjustments directly.
	(compute_center_zoom_offsets): Do not allow negative offsets so
	the image doesn't creep to the right when we zoom down at the
	upper left corner.
	(set_zoom_fit): Set the new offsets before emitting the signal.
	(display_map_cb): Removed.
	(eog_scroll_view_new): Do not make the whole table non-double-buffered.

	* libeog/eog-scroll-view.h (TransparencyStyle): Rename
	TRANSP_CHECKEDPATTERN to TRANSP_CHECKED.
2003-04-03 03:01:19 +00:00
Alexander Larsson 8098710cab Add nautilus:required_directory_content_mime_types keyword.
2003-03-31  Alexander Larsson  <alexl@redhat.com>

	* collection/GNOME_EOG_Collection.server.in.in:
	Add nautilus:required_directory_content_mime_types keyword.
2003-03-31 08:21:52 +00:00
Jens Finke 1d9aba0a77 Removed free_pixbuf flag; calculate image position more simple.
2003-03-30  Jens Finke  <jens@triq.net>

	* collection/eog-collection-item.c (set_pixbuf): Removed
	free_pixbuf flag; calculate image position more simple.
	(eog_collection_item_construct): Add invisble frame around an
	pixbuf to ensure same size for all items.
2003-03-30 17:21:11 +00:00
Jens Finke f3084fd13c Enable 'As background' radio button.
2003-03-30  Jens Finke  <jens@triq.net>

	* eog.glade: Enable 'As background' radio button.

	* eog.schemas.in: Updated transparency indicator description.

	* libeog/eog-full-screen.c (eog_full_screen_new): Set black
	background style for scroll view widget.

	* libeog/eog-image.c (real_image_load): Use GError with
	GdkPixbufLoader.

	* libeog/eog-scroll-view.c (paint_background): Use
	gdk_window_clear_area.
	(paint_rectangle): Calculate background color correctly for
	transparent parts.
	(eog_scroll_view_style_set): New function.
	(style_set_event): Removed.

	* shell/eog-preferences.c (eog_preferences_show): Connect
	background_radio button.
2003-03-30 16:09:08 +00:00
Jens Finke 62a2be2fa4 Close the gdk_pixbuf_loader before we access the pixbuf. Fixes #109139.
2003-03-25  Jens Finke  <jens@triq.net>

	* libeog/eog-image.c (real_image_load): Close the
	gdk_pixbuf_loader before we access the pixbuf. Fixes #109139.
2003-03-25 20:33:14 +00:00
Jens Finke 95f9e9a521 Released version 2.3.0.
2003-03-24  Jens Finke  <jens@triq.net>

	Released version 2.3.0.
2003-03-24 06:59:38 +00:00
Jens Finke 8bca2e6ca0 Updated.
2003-03-24  Jens Finke  <jens@triq.net>

	* NEWS: Updated.

	Released version 2.3.0.
2003-03-24 06:58:13 +00:00
Jens Finke b8c6503d27 Check if the factory is already registered, before registering a new one.
2003-03-23  Jens Finke  <jens@triq.net>

	* collection/main.c (main): Check if the factory is already registered,
 	before registering a new one.

	* shell/eog-window.c (eog_window_open_list): Save first loaded
	uri, for session recovery (this works in most common cases, but
	needs some fixing in case we load multiple uris in one window,
	eg. collection view).

2003-03-20  Shivram U  <shivaram.upadhyayula@wipro.com>

	* viewer/main.c (main): Check if the factory is already registered,
 	before registering a new one.
2003-03-23 17:52:07 +00:00
Jens Finke bbb412dd1b Added libeog-marshal.list.
2003-03-21  Jens Finke  <jens@triq.net>

	* libeog/Makefile.am (EXTRA_DIST): Added libeog-marshal.list.

	* Makefile.am (EXTRA_DIST): Removed eog-glade.h.
2003-03-21 06:42:00 +00:00
Jens Finke e6494780ae Set untranslated title for color picker dialog.
2003-03-20  Jens Finke  <jens@triq.net>

	* eog.glade: Set untranslated title for color picker dialog.

	* eog.gladep: Don't output translatable strings in extra file.

	* po/POTIFLES.in: Added eog-info-view.c, removed
	eog-collection-control.c, eog-collection-preferences.c,
	eog-image-helper.c

	* po/POTFILES.skip: Removed most of the files in the collection
	dir, added GNOME_EOG_Collection.server.in, viewer/eog-image-io.c
2003-03-20 20:24:41 +00:00
Jens Finke a571d42bab Higified the preferences dialog and added a preliminary page for the
2003-03-20  Jens Finke  <jens@triq.net>

	* eog.glade: Higified the preferences dialog and added a
	preliminary page for the slideshow component.

	* eog-glade.h: Removed from cvs (we list the glade file in
	POTFILES.in directly).

	* eog-preferences.c (key_press_cb): Removed. Ignore ESC key,
	fixes #105720.
	(eog_preferences_show): Open HIGified glade dialog.
2003-03-20 20:05:14 +00:00
Federico Mena Quintero 812cfce418 Require eel 2.2.0 or higher.
2003-03-18  Federico Mena Quintero  <federico@ximian.com>

	* configure.in: Require eel 2.2.0 or higher.

	* shell/main.c (make_canonical_uri): Use
	eel_make_uri_from_shell_arg().
2003-03-19 03:28:15 +00:00
Roozbeh Pournader 163bd71193 Updated Persian translation.
2003-03-17  Roozbeh Pournader  <roozbeh@sharif.edu>

	* fa.po: Updated Persian translation.
2003-03-17 12:35:12 +00:00
Jens Finke 83e08b2753 Removed librsvg compile dependency. If you want svg support you need
2003-03-16  Jens Finke  <jens@triq.net>

	* configure.in: Removed librsvg compile dependency. If you want
	svg support you need librsvg anyway, but gdk-pixbuf queries for
	available loader modules on runtime.
2003-03-16 11:45:04 +00:00
Jens Finke a156576a4d Added toolbar buttons for selecting next/previous image.
2003-03-16  Jens Finke  <jens@triq.net>

	* collection/eog-collection-view-ui.xml: Added toolbar buttons for
	selecting next/previous image.

	* collection/eog-collection-view.c (verb_ImagePrev_cb),
	(verb_ImageNext_cb): New functions.

	* collection/eog-wrap-list.c (model_prepared): Set last_item_clicked.

	* collection/eog-wrap-list.h (eog_wrap_list_select_left),
	(eog_wrap_list_select_right): Made them public.

	* shell/eog-shell-ui-xml: Added placholder for toolbar items.
2003-03-16 11:23:28 +00:00
Jens Finke 132a833bb9 Updated.
2003-03-14  Jens Finke  <jens@triq.net>

	* README: Updated.
2003-03-14 10:46:12 +00:00
Jens Finke 4a082ba3c3 Guard the exif assertion with HAVE_EXIF.
2003-03-14  Jens Finke  <jens@triq.net>

	* libeog/eog-image.c (real_image_load): Guard the exif assertion
	with HAVE_EXIF.
2003-03-14 08:53:56 +00:00
Jens Finke 22157c552a Assert that exif attribute is NULL on load. (eog_image_free_mem): Free
2003-03-13  Jens Finke  <jens@triq.net>

	* libeog/eog-image.c (real_image_load): Assert that exif attribute
	is NULL on load.
	(eog_image_free_mem): Free exif info too.
2003-03-13 15:59:32 +00:00
Jens Finke ff63f7d3b9 Added optional libexif support to read information stored in the images by
2003-03-13  Jens Finke  <jens@triq.net>

	Added optional libexif support to read information stored in the
	images by digital cameras.

	* acconfig.h, configure.in: Added check for optional libexif
	library.

	* libeog/eog-info-view.[ch]: New widget, displays image
	information.

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

	* libeog/eog-image.[ch] (eog_image_dipose): Free exif data.
	(eog_image_class_init): New signal loading_info_finished.
	(eog_image_instance_init): Init exif attribute.
	(check_load_status): Fire loading_info_finished signal, if flag is
	set.
	(exif_loader_write): New function, tries to read exif data from a
	stream of data chunks.
	(real_image_load): Take care for all the exif stuff and call
	exif_loader_write for every consumed data chunk.
	(eog_image_load): Make sure we only return TRUE if the image is
	really completely loaded.
	(eog_image_cancel_load): Don't join dead threads.
	(eog_image_get_exif_information): New public function. Returns
	exif data or NULL.

	* collection/eog-collection-view.c (handle_selection_changed):
	Feed info view with selected image.
	(create_user_interface): Add eog-info-view widget to the ui.
2003-03-13 15:26:04 +00:00
Christian Rose 162a1d99fa Added "ml" to ALL_LINGUAS. Added Malayalam translation by FSF-India
2003-03-13  Christian Rose  <menthos@menthos.com>

	* configure.in: Added "ml" to ALL_LINGUAS.
	* po/ml.po: Added Malayalam translation by
	FSF-India <locale@gnu.org.in>.
2003-03-13 11:53:37 +00:00
Jens Finke 49b7bfbaf8 Unref start image. (eog_collection_view_dispose): Unref displayed image.
2003-03-11  Jens Finke  <jens@triq.net>

	* collection/eog-collection-view.c (verb_SlideShow_cb): Unref
	start image.
	(eog_collection_view_dispose): Unref displayed image.
	(eog_collection_view_instance_init): Init new variable.
	(handle_selection_changed): Free ressources of the previously
	viewed image and store reference the the new one.
2003-03-11 17:07:30 +00:00
Jens Finke 7e21ea9c5e Switched to a thread based loading mechanism. (eog_image_dispose): Free
2003-03-11  Jens Finke  <jens@triq.net>

	* libeog/eog-image.[ch]: Switched to a thread based loading
	mechanism.
	(eog_image_dispose): Free mutex.
	(check_load_status): New function.
	(load_area_updated),
	(load_size_prepared),
	(real_image_load),
	(eog_image_load): Reworked, so that they use the thread based
	approach.
	(eog_image_get_pixbuf): Add mutex around pixbuf accessing.
	(eog_image_cancel_load): New function.

	* libeog/eog-scroll-view.c (free_image_resources): Cancel loading
	of the previous shown image.

	* shell/eog-window.c (property_changed_cb): Be quite.
2003-03-11 16:15:36 +00:00
Jens Finke ac8360af67 Free caption and caption_key. (eog_image_get_caption): Save caption string
2003-03-11  Jens Finke  <jens@triq.net>

	* libeog/eog-image.[ch] (eog_image_dispose): Free caption and
	caption_key.
	(eog_image_get_caption): Save caption string for further
	use. Assure that it's a proper UTF-8 string.
	(eog_image_get_collate_key): New function, returns a key for fast
	compare of UTF strings.

	* collection/eog-collection-item.c
	(eog_collection_item_construct): Don't free caption string.

	* collection/eog-collection-model.c (compare_filename_cb): New
	function.
	(real_dir_loading): Sort image list.
	(real_file_loading): Insert image into sorted list.
2003-03-11 12:05:46 +00:00
Jens Finke 79ac7da418 Removed debug output.
2003-03-10  Jens Finke  <jens@triq.net>

	* collection/eog-wrap-list.c (ensure_item_is_visible): Removed
	debug output.

	* collection/eog-collection-view.c (create_user_interface): Add
	frame around the image and wrap list areas.
2003-03-10 20:48:27 +00:00
Jens Finke f6038bb0d9 Consider padding on the left/upper edge. (handle_item_event): Make sure
2003-03-08  Jens Finke  <jens@triq.net>

	* collection/eog-wrap-list.c (get_item_view_position): Consider
	padding on the left/upper edge.
	(handle_item_event): Make sure selected item is completely
	visible.
	(ensure_item_is_visible),
	(eog_wrap_list_select_up),
	(eog_wrap_list_select_down),
	(eog_wrap_list_select_left),
	(eog_wrap_list_select_right): New functions.
	(eog_wrap_list_key_press_cb): Handle cursor keys.
	(calculate_item_position),
	(do_item_rearrangement): Add padding on the left/upper side.
2003-03-08 10:33:28 +00:00