Commit graph

647 commits

Author SHA1 Message Date
Arturo Espinosa ea5eab0a88 More work - Federico 1999-10-11 23:45:10 +00:00
Arturo Espinosa bfd3af2884 More work! Wheee! - Federico 1999-10-07 01:18:29 +00:00
Arturo Espinosa 330dee209e Sync to laptop - Federico 1999-10-06 00:15:30 +00:00
Arturo Espinosa b19c66ef1f More work - Federico 1999-10-05 01:33:02 +00:00
Yukihiro Nakai 3c4fd9f174 ja.po: Initial Japanese translation from Kusano Takayuki
ja.po: Initial Japanese translation from Kusano Takayuki
1999-10-04 06:08:27 +00:00
Arturo Espinosa cd08cb5988 More work - Federico 1999-10-02 22:43:07 +00:00
Nam SungHyun 04c8c2b36e updated header(?) info 1999-10-02 05:35:51 +00:00
Nam SungHyun dddc1a3302 Added ko to ALL_LINGUAS. New Korean translation.
* configure.in: Added ko to ALL_LINGUAS.
* po/ko.po: New Korean translation.
1999-10-02 05:31:12 +00:00
Arturo Espinosa 126057a150 More work - Federico 1999-10-01 23:28:16 +00:00
Arturo Espinosa 5b851db13e Spanish translation - Federico 1999-09-28 23:48:02 +00:00
Federico Mena Quintero e4976540da Improve the appearance of the icon's numbers.
1999-09-28  Federico Mena Quintero  <federico@redhat.com>

	* stock/stock-zoom-1.xpm: Improve the appearance of the icon's
	numbers.
1999-09-28 23:30:17 +00:00
Kjartan Maraas b02cd7bf9f Added "da" to ALL_LINGUAS.
1999-09-28  Kjartan Maraas  <kmaraas@online.no>

	* configure.in: Added "da" to ALL_LINGUAS.
1999-09-28 23:25:44 +00:00
Kjartan Maraas bc19982204 Really..... 1999-09-28 23:24:59 +00:00
Kjartan Maraas 2d1b52c495 Added Danish translation from Kenneth Christiansen <kenneth@ripen.dk>
1999-09-28  Kjartan Maraas  <kmaraas@online.no>

	* da.po: Added Danish translation from Kenneth
	Christiansen <kenneth@ripen.dk>
1999-09-28 23:24:41 +00:00
Arturo Espinosa d62827f42f Removed unused variable - Federico 1999-09-28 23:13:24 +00:00
Federico Mena Quintero aa9cf05bca Set the cursor to a hand. (UIImagePrivate): Added fields for the anchor
1999-09-28  Federico Mena Quintero  <federico@redhat.com>

	* ui-image.c (canvas_realized): Set the cursor to a hand.
	(UIImagePrivate): Added fields for the anchor point for dragging.
	(drag_to): New function to allow dragging of the canvas.  It will
	perform badly for diagonal movement; see the comment in this
	source file to see why.

	* cursors.c (cursor_get): New file and new function to create
	mouse cursors.

	* Makefile.am: Added the cursors directory.  Added cursors.[ch] to
	the list of sources.

	* cursors/Makefile.am: Added the cursor data files.
1999-09-28 23:08:06 +00:00
Tristan Tarrant a22f0aa50a Italian translation 1999-09-28 15:40:34 +00:00
Arturo Espinosa ac3d3f68de 0.1 - Federico 1999-09-28 00:17:01 +00:00
Arturo Espinosa b04f01a844 Sync to laptop, more work - Federico 1999-09-27 23:39:10 +00:00
Arturo Espinosa 6262b1c285 Sync to desktop - Federico 1999-09-27 19:14:06 +00:00
Federico Mena Quintero 2a6a6325fb This is the start of the new icon list / column list / tree widgets.
1999-09-24  Federico Mena Quintero  <federico@redhat.com>

	This is the start of the new icon list / column list / tree
	widgets.

	* gnome-list-model.[ch]: New files that define an abstract list
	model.

	* gnome-list-model.c (gnome_list_model_class_init): Made
	get_length a signal.
	Implemented the signal marshallers.
1999-09-24 23:41:48 +00:00
Arturo Espinosa 370c679b86 Start of the Ultimate(tm) list widgets; abstract list model for now.
Sync to laptop.

  - Federico
1999-09-24 01:19:29 +00:00
Kjartan Maraas c85a911d14 Added "no" to ALL_LINGUAS.
1999-09-23  Kjartan Maraas  <kmaraas@online.no>

	* no.po: Added "no" to ALL_LINGUAS.
1999-09-23 20:24:39 +00:00
Kjartan Maraas 80289ec552 Added Norwegian translation.
1999-09-23  Kjartan Maraas  <kmaraas@online.no>

	* no.po: Added Norwegian translation.
1999-09-23 20:22:49 +00:00
Federico Mena Quintero f876eba7c3 Renamed from set_menu_sensitivity. Also sensitize the toolbar widgets.
1999-09-23  Federico Mena Quintero  <federico@redhat.com>

	* window.c (set_menu_tb_sensitivity): Renamed from
	set_menu_sensitivity.  Also sensitize the toolbar widgets.
	(WindowPrivate): Added a field to keep the zoom toolbar items.
	(window_destroy): Free said array.

	* tb-image.c (tb_image_new): Also return an array with the widgets
	for the zoom buttons.

	* stock.c (stock_init): New function to initialize the stock
	pixmaps.

	* tb-image.c (toolbar): Use the stock pixmaps.

	* main.c (main): Initialize the stock pixmaps.

	* Makefile.am (SUBDIRS): Process the stock directory.
1999-09-23 04:43:44 +00:00
Federico Mena Quintero 3910cc3228 Use gtk_widget_show_now(). This will be better when we have progressive
1999-09-22  Federico Mena Quintero  <federico@redhat.com>

	* main.c (main): Use gtk_widget_show_now().  This will be better
	when we have progressive image loading in place.
1999-09-23 02:45:45 +00:00
Arturo Espinosa 70e5f1a024 Add the files - Federico 1999-09-23 02:35:32 +00:00
Federico Mena Quintero b9fab94dd6 These changes are based on a patch by Michael Meeks (mmeeks@gnu.org).
1999-09-22  Federico Mena Quintero  <federico@redhat.com>

	These changes are based on a patch by Michael Meeks (mmeeks@gnu.org).

	* Makefile.am (eog_SOURCES): Added util.[ch] to the list of sources.

	* util.c (open_failure_dialog): New function to run a failure
	message box.

	* window.c (window_open_image): Return a status value.
	(open_ok_clicked): Use open_failure_dialog() if the image could
	not be loaded.  Also, hide the file selector before we attempt to
	load the image.

	* main.c (main): Use open_failure_dialog() if the image could not
	be loaded.  Exit with an error value if no image could be opened.

	* image-item.c (recompute_bounding_box): Fetch the image
	dimensions only if the pixbuf exists.
	(image_item_draw): Likewise.
1999-09-23 02:35:22 +00:00
Federico Mena Quintero 24d3b78474 Set the width/height of the image item.
1999-09-22  Federico Mena Quintero  <federico@redhat.com>

	* ui-image.c (ui_image_set_image): Set the width/height of the
	image item.

	* image-item.c (ImageItemPrivate): Added user width and height
	values.  Removed the single zoom value.
	(image_item_class_init): Register the width/ height arguments.
	(image_item_init): Initialize the width/height values.
	(image_item_set_arg): Handle the width/height arguments.
	(image_item_get_arg): Likewise.
	(recompute_bounding_box): Use width/height instead of zoom.
	(image_item_update): Likewise.
	(image_item_draw): Likewise.
	(image_item_point): Likewise.
	(image_item_bounds): Likewise.

	* render.c (render_image): Changed so that it takes in a GdkPixbuf
	instead of an Image.  Added support for anamorphic scaling.
1999-09-23 00:38:53 +00:00
Michael Meeks 4be302c453 cleans + use new GdkPixBuf API. 1999-09-22 22:56:03 +00:00
Kjartan Maraas 91670526a2 Hush now little baby 1999-09-22 22:17:41 +00:00
Federico Mena Quintero cf4dbc6b46 Added a zoom factor menu.
1999-09-18  Federico Mena Quintero  <federico@redhat.com>

	* window.c (zoom_menu): Added a zoom factor menu.

	* ui-image.c (ui_image_construct): Set the step_increment for the
	scrolling adjustments.
1999-09-19 21:13:13 +00:00
Arturo Espinosa e4c0da7b2c Add the files - Federico 1999-09-18 18:22:54 +00:00
Federico Mena Quintero f23ac3bbe5 New function to get the current zoom factor. (ui_image_zoom_fit): New
1999-09-18  Federico Mena Quintero  <federico@redhat.com>

	* ui-image.c (ui_image_get_zoom): New function to get the current
	zoom factor.
	(ui_image_zoom_fit): New function to zoom to fit the size of the
	image view.

	* window.c (window_construct): Create the toolbar.
	(view_menu): Added the View menu.
	(window_zoom_in): Zoom in by 5%.
	(window_zoom_out): Zoom out by 5%.
	(window_zoom_1): Zoom to 1:1 scale.
	(window_zoom_fit): Zoom to fit the window.
	(window_construct): Keep a pointer to the view menu and call
	set_mode().
	(set_menu_sensitivity): New function to set the sensitivity of
	menu items according to the window mode.
	(set_mode): Call set_menu_sensitivity().

	* tb-image.[ch]: New files with the definition of a toolbar for
	image windows.

	* commands.[ch]: New files with command callbacks for menus and
	toolbars.
1999-09-18 18:22:17 +00:00
Federico Mena Quintero acec53b2c9 Open the images specified in the command line.
1999-09-18  Federico Mena Quintero  <federico@redhat.com>

	* main.c (main): Open the images specified in the command line.

	* window.c (window_open_image): Renamed from open_image() and made
	public.

	* ui-image.c (ui_image_set_zoom): New function to set the zoom
	factor of an image view.
1999-09-18 05:08:14 +00:00
Federico Mena Quintero c8613a2e7f Implemented File/New Window. (open_cmd): Oops. Patch from Tom Gilbert to
1999-09-17  Federico Mena Quintero  <federico@redhat.com>

	* window.c (new_window_cmd): Implemented File/New Window.
	(open_cmd): Oops.  Patch from Tom Gilbert to fix the cancel
	button.
1999-09-18 01:51:40 +00:00
Michael Meeks 957e195843 Start of generic image component. 1999-09-17 23:32:22 +00:00
Federico Mena Quintero d1656cffee Doh. Unref the correct image (typo fix).
1999-09-17  Federico Mena Quintero  <federico@redhat.com>

	* ui-image.c (ui_image_set_image): Doh.  Unref the correct image
	(typo fix).
1999-09-17 19:21:42 +00:00
Federico Mena Quintero 2dd33b3bba Set the default size of windows to something resonable. (open_cmd): Keep
1999-09-17  Federico Mena Quintero  <federico@redhat.com>

	* window.c (window_construct): Set the default size of windows to
	something resonable.
	(open_cmd): Keep the file selection dialog around so that it
	preserves its cwd.  Added a field to WindowPrivate to hold it.
	(open_ok_clicked): Just hide, don't destroy the dialog.
	(open_cancel_clicked): Likewise.
	(open_delete_event): Likewise.
	(window_destroy): Destroy the file selection dialog.

	* ui-image.c (ui_image_set_image): Set the canvas scroll region
	based on the image size.
1999-09-17 19:16:45 +00:00
Federico Mena Quintero 5673c8f06f Set the canvas scroll region based on the image size.
1999-09-17  Federico Mena Quintero  <federico@redhat.com>

	* ui-image.c (ui_image_set_image): Set the canvas scroll region
	based on the image size.

	* zoom.[ch]: New files with utilitiy functions for computing zoom
	factors.

	* Makefile.am (eog_SOURCES): Added zoom.[ch] to the sources.

	* window.c (WindowPrivate): Added a bin field.  Now we put the
	contents in a simple bin because GnomeApp does not like its
	contents to be removed and added again.
	(window_construct): Create the bin.
	(set_mode): Put the real contents in the bin.
1999-09-17 18:51:05 +00:00
Federico Mena Quintero 6844390535 Removed old test cruft.
1999-09-17  Federico Mena Quintero  <federico@redhat.com>

	* main.c: Removed old test cruft.

	* window.c (confirm_save): Renamed from confirm_close().
	(open_image): Implemented File/Open.

	* ui-image.c: For now the image view is simply derived from
	GtkScrollFrame.  Implemented basic image setting functionality.

	* image-item.c (image_item_set_arg): Refcount the image.
	(image_item_destroy): Unref the image.

	* image.c (image_new): New function.
	(image_load): New function.  Do simplistic loading of images.
	(image_ref image_unref): Implemented refcounting of images.
1999-09-17 08:33:54 +00:00
Federico Mena Quintero e82206abf5 Change of plans. Do not confirm for unsaved files using the Emacs way of
1999-09-16  Federico Mena Quintero  <federico@redhat.com>

	* window.c (exit_cmd): Change of plans.  Do not confirm for
	unsaved files using the Emacs way of doing it, but rather present
	a save/don't save/don't exit dialog.
	(confirm_close): Present a confirmation dialog.
1999-09-16 21:07:34 +00:00
Arturo Espinosa 5ca6532920 Sync to laptop for shutdown - Federico 1999-09-15 16:12:42 +00:00
Arturo Espinosa ceffd956d5 More work - Federico 1999-09-15 07:21:31 +00:00
Arturo Espinosa 7b495112aa This should not be here - Federico 1999-09-15 05:25:44 +00:00
Arturo Espinosa c1a8412d55 Initial import of the Eye of Gnome - Federico 1999-09-15 05:19:29 +00:00
Arturo Espinosa 948a56b383 Initial revision 1999-09-15 05:19:29 +00:00