Commit graph

821 commits

Author SHA1 Message Date
Lutz Müller 5c94e3b92b New file (resurrected from eog/src). Add above files. Separate menus and
2001-06-29  Lutz Müller <urc8@rz.uni-karlsruhe.de>

        * eog-full-screen.[c,h]: New file (resurrected from eog/src).
        * Makefile.am: Add above files.
        * eog-image-view-ui.xml: Separate menus and commands. Add entry for
        full screen.
        * eog-image-view.c: Callback for full screen. Formatting.
2001-06-29 15:05:09 +00:00
Lutz Müller b688ab847e Remove debugging message which got checked in.
2001-06-29  Lutz Müller  <urc8@rz.uni-karlsruhe.de>

        * eog-window.c: Remove debugging message which got checked in.
2001-06-29 07:56:02 +00:00
Lutz Müller c73f31de91 Oops, I forgot to commit the ChangeLog... 2001-06-29 07:42:09 +00:00
Lutz Müller 58a43fd83c Removed.
2001-06-29  Lutz Müller  <urc8@rz.uni-karlsruhe.de>

        * e-dialog-widgets.[c,h]:
        * preferences.[c,h]:
        * preferences-dialog.glade: Removed.
        * eog-window.c:
        * Makefile.am: Reflect above changes.
        * eog-preferences.c: Plug leaks (i.e. unref the property bag so that
        our eog-image-viewer can exit).
2001-06-29 07:40:18 +00:00
Lutz Müller 4464e3f9a1 Unref the property control on destroy. Now, the eog-image-viewer shuts
2001-06-27  Lutz Müller  <urc8@rz.uni-karlsruhe.de>

        * eog-window.c: Unref the property control on destroy. Now, the
        eog-image-viewer shuts down after exiting eog. Don't ref the control
        widget - it'll get unref'd automatically on container_remove or exit.
        All other changes to improve readability (I needed them in order to
        discover above problem).
2001-06-28 14:24:36 +00:00
Lutz Müller 6318e628c4 Ok, I got it. eog-image-viewer now exits when unused [1]. It basically
2001-06-27  Lutz Müller <urc8@rz.uni-karlsruhe.de>

        Ok, I got it. eog-image-viewer now exits when unused [1]. It basically
        boils down to adding stuff with bonobo_object_add_interface only when
        ref_count == 1 _and_ not touching it afterwards
        (i.e. _not_ bonobo_object_unref). God knows why...

        [1] Using "moniker-test -c file:/path/to/file". When using eog, the
        eog-image-viewer will still be alive after exiting eog. This has yet
        to be investigated.

        * eog-control.c: Small changes (see above).
        * eog-image-view.c Small changes (see above).
2001-06-27 21:58:50 +00:00
Lutz Müller 1ad4148f92 $(BUILT_SOURCES) got added to CLEANFILES two times? I guess one time is
2001-06-27  Lutz Müller <urc8@rz.uni-karlsruhe.de>

        * Makefile.am: $(BUILT_SOURCES) got added to CLEANFILES two times? I
        guess one time is enough...
2001-06-27 12:28:52 +00:00
Lutz Müller 7b84ae8d03 Don't keep references to the widget (displayed by the control) and the
2001-06-27  Lutz Müller <urc8@rz.uni-karlsruhe.de>

        * eog-control.c: Don't keep references to the widget (displayed by the
        control) and the image - we simply don't need them. Unref the
        image-view on destroy - we created it during construction.
2001-06-27 12:20:23 +00:00
Lutz Müller 12de179658 Kill 50% of all lines by using BONOBO_OAF_FACTORY_MULTI. Initialize
2001-06-27  Lutz Müller <urc8@rz.uni-karlsruhe.de>

        * main.c: Kill 50% of all lines by using BONOBO_OAF_FACTORY_MULTI.
        * eog-image.c: Initialize gnome-vfs here (if needed).
2001-06-27 11:44:43 +00:00
Lutz Müller a1ff905b9f In an attempt to clean up in order to be able to find the ref-leaks,
2001-06-27  Lutz Müller <urc8@rz.uni-karlsruhe.de>

        * eog-image-view.c: In an attempt to clean up in order to be able
        to find the ref-leaks, remove the (unused) BonoboItemContainer.
2001-06-27 06:57:45 +00:00
Lutz Müller 819b972294 2001-06-27 Lutz Müller <urc8@rz.uni-karlsruhe.de
* Makefile.am: Compile sample-container again (noinst)
        * sample-container.c: Rewrite to properly clean up behind. The
        eog-image-viewer is still alive after sample-container is done,
        therefore the ref-leaks seem to be in the eog-image-viewer and not
        in the shell.
2001-06-27 06:25:56 +00:00
Lutz Müller bf440ec5fc While searching why eog-image-viewer is still alive even after exiting
2001-06-26  Lutz Müller  <urc8@rz.uni-karlsruhe.de>

        While searching why eog-image-viewer is still alive even after exiting
        eog...

        * eog-window.c: Fix two compile warnings (ENABLE_BONOBO_FILESEL),
        use BONOBO_EX and bonobo_object_release_unref (makes code more
        readable)
2001-06-26 20:16:59 +00:00
Ole Laursen 680c7e5ec4 Updated Danish translation.
2001-06-26  Ole Laursen  <olau@hardworking.dk>

	* da.po: Updated Danish translation.
2001-06-26 18:28:41 +00:00
Lutz Müller 79bb3ec56f Ignore eog (formerly eog-shell)
2001-06-26  Lutz Müller  <urc8@rz.uni-karlsruhe.de>

        * .cvsignore: Ignore eog (formerly eog-shell)
2001-06-26 10:01:07 +00:00
Lutz Müller bab7aaa5f1 Ignore generated Evolution* files
2001-06-26  Lutz Müller <urc8@rz.uni-karlsruhe.de>

        * .cvsignore: Ignore generated Evolution* files
2001-06-26 10:00:21 +00:00
Lutz Müller cc2b1f39a6 *configure.in: Check if evolution is there, but let the user override this
2001-06-25  Lutz Müller  <urc8@rz.uni-karlsruhe.de>

        *configure.in: Check if evolution is there, but let the user override
        this check with --without-evolution.
2001-06-25 18:46:01 +00:00
Lutz Müller b666d3b430 Add menu entry "Send" for sending images via email new. Starts a composer
2001-06-25  Lutz Müller <urc8@rz.uni-karlsruhe.de>

        * eog-image-view-ui.xml: Add menu entry "Send" for sending images
        via email
        * eog-image-view.c: (verb_Send_cb): new. Starts a composer and attaches
        the current image.
        (eog_image_view_create_ui): Connect signal to above function.
2001-06-25 14:46:10 +00:00
Lutz Müller 358918bc8e #undef ENABLE_EVOLUTION Give the user the option to compile with evolution
2001-06-25  Lutz Müller  <urc8@rz.uni-karlsruhe.de>

        * acconfig.h: #undef ENABLE_EVOLUTION
        * configure.in: Give the user the option to compile with evolution
        support (sending images via evolution's composer).
2001-06-25 14:43:32 +00:00
Pablo Saratxaga c5943c1d1b updated Azeri and Catalan files 2001-06-25 03:26:36 +00:00
Pablo Saratxaga 8dedf2899e updated Azeri file 2001-06-21 19:52:46 +00:00
Ole Laursen d39ca7e852 Updated Danish translation.
2001-06-20  Ole Laursen  <olau@hardworking.dk>

	* da.po: Updated Danish translation.
2001-06-20 15:00:15 +00:00
Christopher R. Gabriel 1138a5287a small updated 2001-06-18 00:13:33 +00:00
Matthias Warkus 9307fc3f9b Updates, fixes 2001-06-15 22:13:58 +00:00
Jens Finke f1f0914e86 This patch adds gconf support to the collection preferences dialog.
2001-06-14  Jens Finke <jens@gnome.org>

	* eog-collection-preferences.c:
	(ecp_create_view_page): Merged code from
	ecp_create_(layout|color)_page into this new function, so we have
	all properties on one page. Also added gconf support for storing
	the settings and beautified the dialog.
	(ecp_create_color_page), (ecp_create_layout_page): Removed.
	(ecp_activate_layout_cb), (ecp_activate_color_cb): Use gconf for
	storing settings.
	(eog_collection_preferences_create_page): Create only one page
	through ecp_create_view_page.

	* eog-collection-view.[ch]:
	(prop_control_get_prop): Handle only one property page.
	(layout_changed_cb), (color_changed_cb): New functions, callbacks
	for changes in the gconf database.
	(set_configuration_values): New function, obtain values from gconf
	database and install listeners to key changes.
	(eog_collection_view_construct): Init gconf, use
	set_configuration_values.
	(eog_collection_view_set_layout_mode),
	(eog_collection_view_set_background_color): Removed.
2001-06-14 07:29:27 +00:00
Stanislav Brabec 2671d5346e Undef HAVE_STDDEF_H and HAVE_STDLIB_H in jpeglib.h test, otherwise file is
2001-06-13  Stanislav Brabec  <utx@penguin.cz>

	* configure.in: Undef HAVE_STDDEF_H and HAVE_STDLIB_H in
	jpeglib.h test, otherwise file is not sometimes detected.
	Still causes warning while compiling in such case.
2001-06-12 22:07:24 +00:00
jacob berkman 5a147ebc8a fix to use new event names, and handle when cancel is clicked
2001-06-12  jacob berkman  <jacob@ximian.com>

	* eog-window.c (listener_cb): fix to use new event names, and
	handle when cancel is clicked
2001-06-12 18:44:26 +00:00
Ole Laursen d1afa65579 Updated Danish translation.
2001-06-10  Ole Laursen  <olau@hardworking.dk>

	* da.po: Updated Danish translation.
2001-06-10 17:32:00 +00:00
Christian Rose 16eddd99a2 Updated Swedish translation.
2001-06-08  Christian Rose  <menthos@menthos.com>

	* sv.po: Updated Swedish translation.
2001-06-07 23:52:40 +00:00
Jacob Berkman 2a422f5262 *** empty log message *** 2001-06-07 14:53:01 +00:00
jacob berkman 2575229b6e callback for events emitted by the file selector (create_bonobo_file_sel):
2001-06-07  jacob berkman  <jacob@ximian.com>

	* eog-window.c (listener_cb): callback for events emitted by the
	file selector
	(create_bonobo_file_sel): creates a bonobo file selector.  if the
	control creation fails (due to the file selector seg faulting or
	not being present) a normal gtk one is created
	(eog_window_open_dialog): if bonobo filesel is enabled, try to
	create one instead of the gtk one

	please note that this stuff leaks bonobo references probably
2001-06-07 14:52:40 +00:00
Federico Mena Quintero 04cfc9ba7d Removed schemadir and schema_DATA since the schemas are *NOT* to be
2001-06-05  Federico Mena Quintero  <federico@ximian.com>

	* Makefile.am: Removed schemadir and schema_DATA since the schemas
	are *NOT* to be installed manually; they need to be installed with
	GConf's tools.
2001-06-06 00:14:20 +00:00
Jens Finke 65de8fafd7 Please note: The src/ and bonobo/ directories are dead. I've removed
2001-06-05  Jens Finke <jens@gnome.org>

	* POTFILES.in: Please note: The src/ and bonobo/ directories are
	dead. I've removed references to files in these dirs again, which
	will save you much translation work :-).
2001-06-05 16:46:57 +00:00
Jens Finke db5905bdf8 Declared this directory as dead by adding the THIS_DIRECTORY_IS_DEAD file.
2001-06-05  Jens Finke <jens@gnome.org>

	Declared this directory as dead  by adding the
	THIS_DIRECTORY_IS_DEAD file.
2001-06-05 16:36:49 +00:00
Jens Finke 4d207a9c0f Declared this directory as dead finally by adding the
2001-06-05  Jens Finke <jens@gnome.org>

	Declared this directory as dead finally by adding the
	THIS_DIRECTORY_IS_DEAD file.
2001-06-05 16:27:59 +00:00
Jens Finke 69111e5119 Updated URLs, dependencies and authors list.
2001-06-05  Jens Finke <jens@gnome.org>

	* README: Updated URLs, dependencies and authors list.
2001-06-05 16:21:20 +00:00
Pablo Saratxaga fec459ecad updated Azeri and catalan files 2001-06-05 15:58:05 +00:00
Jens Finke 673d169f72 To see the effect of these changes go into a directory with a lot of
2001-06-05  Jens Finke <jens@gnome.org>

	To see the effect of these changes go into a directory with a lot
	of .png's and type: eog *.png.

	* eog-window.c (get_file_control): Renamed to get_viewer_control.
	(get_directory_control): Renamed to get_collection_control.
	(get_collection_control_list): New function, creates a collection
	with a list of multiple URIs.
	(add_control_to_ui): New helper function.
	(eog_window_open): Use add_control_to_ui helper function.
	(eog_window_open_list): New function, opens multiple URIs within a
	collection.

	* eog-window.h (eog_window_open_list): New function.

	* main.c (create_app): Free text uri.
	(create_app_list): Opens a new window with a list of URIs.
	(make_canonical_uri),
	(sort_startup_files),
	(open_in_single_windows),
	(user_wants_collection),
	(handle_cmdline_args): New helper functions.
	(main): Improved poptContext handling use handle_cmdline_args.
2001-06-05 07:41:26 +00:00
Christian Rose 4f67341ff7 Updated Swedish translation. Btw, thanks Stric for fixing my previous
2001-06-03  Christian Rose  <menthos@menthos.com>

	* sv.po: Updated Swedish translation. Btw, thanks Stric for fixing
	my previous stupid typo.
2001-06-03 06:55:23 +00:00
Tomas Ögren 261dda9f94 Fixed minor typo
2001-06-03  Tomas Ögren  <stric@ing.umu.se>

* sv.po: Fixed minor typo
2001-06-03 00:57:52 +00:00
Jens Finke 0886f3f32a Added gnome-vfs flags.
2001-06-01  Jens Finke <jens@gnome.org>

	* Makefile.am (INCLUDES), (eog_collection_LDADD): Added gnome-vfs
	flags.

	* cimage.[ch] (cimage_new): Create GnomeVFSURI from text uri and
	use cimage_new_uri.
	(cimage_new_uri): New function, creates an cimage from
	GnomeVFSURI.
	(cimage_get_uri): Return GnomeVFSURI object.
	(cimage_is_directory): Use GnomeVFS functions to determine file
	type.

	* eog-collection-model.c (loading_context_free): New helper
	function.
	(directory_visit_cb): New function, opens a single file contained
	in a directory.
	(real_storage_loading): Renamed to real_dir_loading, uses GnomeVFS
	functions now, removed all the BonoboStorage/Stream stuff.
	(directory_filter_cb): New function, determines what kind of files
	we can handle within a directory.
	(real_stream_loading): Renamed to real_file_loading, uses GnomeVFS
	functions now, removed all the BonoboStorage/Stream stuff.
	(eog_collection_model_set_uri),
	(eog_collection_model_set_uri_list),
	(prepare_context): Use GnomeVFS functions, removed all the
	BonoboStorage/Stream stuff.

	* eog-collection-view.c (eog_collection_view_get_prop): Adapted to
	cimage changes.

	* eog-image-loader.c (load_uri): Use GnomeVFS functions, removed
	all the BonoboStorage/Stream stuff.

	* eog-item-factory-simple.c (ii_factory_update_item): Adapted to
	cimage changes.

	* main.c (init_server_factory): Call gnome-vfs-init.
2001-06-01 09:19:40 +00:00
Jens Finke 5f45958c01 Added $(EXTRA_GNOME_CFLAGS) [all these extra flags are really a mess,
2001-05-31  Jens Finke <jens@gnome.org>

	* Makefile.am (INCLUDES): Added $(EXTRA_GNOME_CFLAGS) [all these
	extra flags are really a mess, maybe its time for a cleanup].
	(eog_collection_LDADD): Added $(EXTAR_GNOME_LIBS).
2001-05-31 19:23:30 +00:00
Jens Finke 7de6560aa7 Added vfs flags.
2001-05-31  Jens Finke <jens@gnome.org>

	* Makefile.am (INCLUDES), (eog_LDADD): Added vfs flags.

	* eog-window.c (get_file_control),
	(get_directory_control),
	(eog_window_open): We now use GnomeVFSURI for file handling here.

	* main.c (main): Added gnome_vfs_init () call.
2001-05-31 19:22:50 +00:00
Jens Finke 3a74fea636 Stop building the sample-container program. (INCLUDES),
2001-05-31  Jens Finke <jens@gnome.org>

	* Makefile.am: Stop building the sample-container program.
	(INCLUDES), (eog_image_viewer_LDADD): Added GnomeVFS flags.

	* eog-image-view.c (load_image_from_file): The filename will be
	interpreted as an URI now, using gdk_pixbuf_loader system to load
	the image.

	* main.c (init_server_factory): Added gnome_vfs_init call.
2001-05-31 19:22:09 +00:00
Jens Finke 93caa36370 Added check for gnome-vfs >= 1.0.0 and set appropriate variables.
2001-05-31  Jens Finke <jens@gnome.org>

	* configure.in: Added check for gnome-vfs >= 1.0.0 and set
	appropriate variables.
2001-05-31 19:21:31 +00:00
Jens Finke 3d35a80b3f Renamed binary from eog-shell to eog.
2001-05-31  Jens Finke <jens@gnome.org>

	* Makefile.am: Renamed binary from eog-shell to eog.
2001-05-31 13:19:00 +00:00
Jens Finke 3613b97c62 New functions.
2001-05-30  Jens Finke <jens@gnome.org>

	* cimage.[ch]: (cimage_set_dimensions),
	(cimage_get_width), (cimage_get_height): New functions.

	* eog-collection-model.[ch]:
	(eog_collection_model_get_selected_image): New function, which
	returns the single selected image.

	* eog-collection-view.c:
	(eog_collection_view_get_prop): If only a single image is
	selected, provide detailed informations about it in the
	'window/status' text.

	* eog-image-loader.c (loading_finished): Set image dimensions.
2001-05-30 16:45:28 +00:00
Jens Finke 29ac26765a Added new 'zoom_changed' signal. (image_view_key_pres): Use GDK_plus key
2001-05-29  Jens Finke <jens@gnome.org>

	* image-view.[ch]: Added new 'zoom_changed' signal.
	(image_view_key_pres): Use GDK_plus key as shortcut for zooming
	into an image (enables this also for non-american keyboards).
	(image_view_set_zoom): Emit 'zoom_changed' signal.
2001-05-29 20:33:51 +00:00
Jens Finke 8069aa29b4 Set only image filename as window title, add handler for 'window/status'
2001-05-29  Jens Finke <jens@gnome.org>

	* eog-image-view.c:
	(eog_image_view_get_prop): Set only image filename as window
	title, add handler for 'window/status' property.
	(image_view_zoom_changed_cb): New function, informs listeners to
	'window/status' about changed zoom factor.
	(eog_image_view_construct): Connect to 'zoom_changed' signal, add
	bonobo property 'window/status'.
2001-05-29 20:33:16 +00:00
Jens Finke d0a291c7c3 Changed properties to 'image/width', 'image/height' and 'window/title'.
2001-05-29  Jens Finke <jens@gnome.org>

	* eog-image-view.c (eog_image_view_construct): Changed properties
	to 'image/width', 'image/height' and 'window/title'. This is more
	consistent with the rest of the bonobo property naming scheme.
2001-05-29 17:47:48 +00:00
Jens Finke 44a97ea5ee Add 'base_uri_changed' signal. (eog_collection_model_set_uri),
2001-05-29  Jens Finke <jens@gnome.org>

	* eog-collection-model.[ch]:
	(eog_collection_model_class_init): Add 'base_uri_changed' signal.
	(eog_collection_model_set_uri),
	(eog_collection_model_set_uri_list): Emit 'base_uri_changed' if
	neccessary.
	(eog_collection_model_toggle_select_status),
	(select_all_images),
	(unselect_all_images): Emit 'selection_changed' signal.
	(eog_collection_model_get_selected_length): New function, which
	returns the number of selected images.

	* eog-collection-view.c: Renamed properties to 'window/title' and
	'window/status', which is more consistent with the rest of the
	bonobo property naming scheme.
	(eog_collection_view_get_prop): View only the base_uri of this
	collection, new handler for the PROP_WINDOW_STATUS property.
	(update_properties),
	(update_status_text),
	(update_title_text),
	(model_size_changed),
	(model_selection_changed),
	(model_base_uri_changed): New functions (or slightly renamed),
	which introduce a nice async property change client notification.
	(eog_collection_view_construct): Connect to new model signals.
2001-05-29 17:32:38 +00:00