2002-08-25 Alex Graveley <alex@ximian.com>
* libeog/GNOME_EOG.server.in.in: Add image/bmp as a supported
mime-type, as it now exists in addition to image/x-bmp (don't ask
me).
2002-08-21 Federico Mena Quintero <federico@ximian.com>
* viewer/eog-image-view.c (image_view_popup_menu_cb): New
callback; we now support the standard Shift-F10 binding for popup
menus.
* libeog/image-view.c (image_view_key_press_event): Call the
parent class handler so that bindings work.
2002-08-20 Jens Finke <jens@triq.net>
Allow nautilus to use the collection as directory view.
* collection/GNOME_EOG_Collection.server.in.in: Added PersistFile
interface to list of repo_ids. Reformatted file.
* collection/eog-collection-view.c
(load_uri_cb): New function.
(eog_collection_view_construct): Merge persist file interface to
object.
2002-08-20 Federico Mena Quintero <federico@ximian.com>
Fixes the EOG part of #90133. Thanks to JeyaSudha Duraipandy for
figuring it out.
* shell/session.c (session_save): Do save information for windows
that do not have a URI set.
(load_uri_with_role): Only call eog_window_open() if the URI is
not empty.
2002-08-19 Jens Finke <jens@triq.net>
* collection/eog-image-loader-preview.c: Manage a reference to a
PreviewCacheAsync object. Removed USE_ASYNC flag.
* collection/eog-item-factory-clean.c (update_item_image): Handle
the case where the thumbnail is NULL properly.
2002-08-18 Jens Finke <jens@triq.net>
Fixes bug #89513.
* viewer/eog-image-view-ui.xml: Added F11 as accel for fullscreen
mode.
* viewer/eog-full-screen.c (eog_full_screen_show): Fixed compiler
warning.
(eog_full_screen_key_press): Added F11 to the list of valid keys
to quit the fullscreen view.
2002-08-13 Jens Finke <jens@triq.net>
* libeog/Makefile.am: Set HAVE_COLLECTION flag, if collection is
enabled.
* libeog/eog-file-selector.c (is_filename_valid): Check if
filename is a directory.
(eog_file_selection_new): Allow directories on load if we have the
collection component.
2002-08-13 Jens Finke <jens@triq.net>
* collection/cimage.[ch] (get_unique_id): Removed.
(cimage_instance_init): Set id = 0.
(cimage_new_uri): Use quark from text uri as id. Set caption.
(cimage_set_caption): Make utf8 validation check.
* collection/eog-collection-model.c: Use consistent name scheme
for the signals. Signals submit only the id of a _single_ modified
image. This required some straight forward changes in the code.
(add_image_to_selection_list): New function.
(select_all_images),
(unselect_all_images): New functions, which support
mass-selecting/-unselecting images.
* collection/eog-collection-model.h: Use G_TYPE checks in
macros. Changed signal declarations. s/guint unique_id/GQuark id.
* collection/eog-collection-view.c: (delete_item),
(model_selection_changed): Adaptions to model signal changes.
* collection/eog-item-factory-clean.c (update_item_caption): Don't
create caption string, just use the one from the cimage object.
* collection/eog-wrap-list.c: Misc code cleanups.
(model_selection_changed),
(model_selected_all),
(model_selected_none),
(add_item_update): New function.
(model_image_changed),
(model_image_added),
(model_image_removed): Simplified code.
(eog_wrap_list_set_model): Adaptions to model signal changes.
(get_next_unique_id): Removed.
(do_item_changed_update),
(do_item_added_update),
(do_item_removed_update): Handle only a single image id, no lists
anymore.
(do_item_selection_changed_update),
(item_selection_update_single),
(do_item_selection_update_all): New function.
(do_update): Check for selection updates.
2002-08-04 Jens Finke <jens@triq.net>
* collection/eog-collection-control.c:
(eog_collection_control_set_ui_container),
(eog_collection_control_unset_ui_container),
(eog_collection_control_construct): Don't hold a BonoboUIComponent
reference per object, this isn't neccessary.
(eog_collection_control_activate): Use the first BonoboControl
parameter to access collection control reference.
* collection/eog-collection-view.c: Don't hold private reference
to the factory object. Removed property control stuff.
(prop_control_get_prop),
(prop_control_get_cb): Removed.
* collection/eog-wrap-list.c (eog_wrap_list_set_factory): Ref the
factory object.
2002-08-04 Jens Finke <jens@triq.net>
Fixes#85927.
* shell/eog-window.c (eog_window_init): ctrl_widget = NULL.
(eog_window_construct): Don't add widget from
bonobo_control_frame.
(add_control_to_ui): Add control widget to shell container if not
done yet.
(activate_uri_cb): eog_window_open can handle uri's so don't
extract the path first.
2002-08-04 Jens Finke <jens@triq.net>
Drags into an empty window will reuse it instead of opening a
new one.
* shell/eog-window.c (eog_window_has_contents): Determine empty
windows through availabilty of a control not a widget.
2002-08-02 Jens Finke <jens@triq.net>
* collection/eog-collection-model.c (directory_visit_cb): Fixed
mime type based check, which files we display (only images).
* collection/eog-collection-view.c (eog_collection_view_get_prop):
Display only the filename of the selected image not the whole path.
* collection/eog-item-factory-simple.c (ensure_max_caption_width):
Pango aware rewrite of previous shrink_to_width function.
(update_item_image),
(update_item_caption),
(update_item_selection): New functions.
(ii_factory_update_item): Split functionality across the three new
functions. Added hint parameter to decide which parts of the icon
needs an update.
* collection/eog-item-factory.[ch]
(eog_item_factory_update_item),
(eog_item_factory_class_init): Added hint parameter to abstract
item update function.
* collection/eog-wrap-list.c
(do_item_changed_update),
(do_item_added_update): Set update hint parameter.
* collection/eog-collection-marshal.list: Changed paramter list
for factory update item marshaller.
2002-07-29 Federico Mena Quintero <federico@ximian.com>
Fixes#89372.
* shell/main.c (show_nonexistent_files): Oops,
gtk_message_dialog_new() takes a printf() format, so use it - if
our filenames contained percent characters, we would screw up.
(make_canonical_uri): Escape the filename before passing it to
gnome-vfs.
* shell/eog-window.c (eog_window_open_dialog): Likewise.
* shell/util.c (open_failure_dialog): Unescape the URI.
2002-07-29 Federico Mena Quintero <federico@ximian.com>
* libeog/image-view.c (image_view_scroll_event): Reverted
scrollwheel change. No modifiers means zoom, shift+wheel means
scroll, shift+control+wheel means scroll in the other direction.
Rationale: you can already scroll around the image by simply
dragging it around. Zooming is more useful, I think, so that you
can completely navigate around the image without ever touching the
keyboard.
2002-07-29 Jens Finke <jens@triq.net>
* libeog/image-view.c (image_view_button_press_event): Don't
handle the mouse buttons 4/5, this is handled by
image_view_scroll_event.
(image_view_scroll_event): Made the scroll wheel and modifier
behaviour more consistent with other applications: scroll wheel =
scroll vertical, shift + scroll wheel = zoom in/out, ctrl + scroll
wheel = scroll horizontal.
2002-07-28 Christian Rose <menthos@menthos.com>
* configure.in: Added "sq" to ALL_LINGUAS.
* po/sq.po: Added Albanian translation by
Laurent Dhima <laurenti@alblinux.net>.
2002-07-25 Jens Finke <jens@triq.net>
We have a real fullscreen again.
* viewer/eog-fullscreen-view.c (eog_full_screen_show): Call zoom
to fit.
(eog_full_screen_instance_init): Removed unneccessary window
calls, move window at position 0,0.
(eog_full_screen_new): Set window type at object creation time.
2002-07-24 Federico Mena Quintero <federico@ximian.com>
* configure.in: Bumped version number to 1.0.2.
* collection/Makefile.am: Added the marshal files to
BUILT_SOURCES. Also, they should be named
eog-collection-marshal.[ch], not eog-collection-view-marshal.[ch].
2002-07-24 Federico Mena Quintero <federico@ximian.com>
* configure.in: Bumped version number to 1.0.2.
* collection/Makefile.am: Added the marshal files to
BUILT_SOURCES.
2002-07-20 Jens Finke <jens@triq.net>
* collection/.cvsignore: Updated.
* collection/Makefile.am: use .server.in.in file instead, and
do libexec sed job on it.
* collection/GNOME_EOG_Collection.server.in: Renamed to
*.server.in.in and added libexec prefix dummy.
2002-07-19 Jens Finke <jens@triq.net>
* Makefile.am (SUBDIRS): Compile collection if desired.
* configure.in: Added compile option stuff, wether to enable the
collection view or not (off by default).
* collection/Makefile.am: Renamed program to eog-collection-view
and moved it to libexec dir.
* collection/eog-collection-control.c
* collection/eog-collection-model.c
* collection/eog-collection-preferences.c
* collection/eog-collection-view.c
* collection/eog-warp-list.c: Ported remaining GtkObject stuff to
GObject.
* collection/eog-item-factory-simple (ii_factory_update_item): Get
correct pango_context.
* shell/Makefile.am: Enable collection support if desired.
* shell/eog-window.c (get_collection_control): Load collection
component by iid.
(get_collection_control):
(get_collection_control_list): Define dummy functions of these if
we compile without collection support.
2002-07-17 Michael Meeks <michael@ximian.com>
* libeog/Makefile.am: use .server.in.in file instead, and
do libexec sed job on it.
* viewer/Makefile.am: install eog-image-view into libexec,
as per seeing the light finally.