Commit Graph

10322 Commits

Author SHA1 Message Date
Duarte Loreto
97e388da8d Updated Portuguese translation.
2005-04-04  Duarte Loreto <happyguy_pt@hotmail.com>

	* pt.po: Updated Portuguese translation.
2005-04-04 19:27:27 +00:00
Søren Sandmann
2b52c63bd8 Translate x, y into widget coordinates instead of root coordinates. Patch
Mon Apr  4 12:14:35 2005  Søren Sandmann  <sandmann@redhat.com>

	* gtk/gtkmenu.c (gtk_menu_handle_scrolling): Translate x, y into
	widget coordinates instead of root coordinates. Patch from Jorn
	Baayen. (#172236)
2005-04-04 16:18:01 +00:00
Matthias Clasen
c57ce40bc0 Add forgotten files 2005-04-04 13:19:12 +00:00
Funda Wang
a0985bc4bd Updated Simplified Chinese translation 2005-04-04 06:51:11 +00:00
Matthias Clasen
4fa0bab9fe Take padding into account when calculating max_layout_width.
2005-04-04  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkiconview.c (gtk_icon_view_calculate_item_size): Take
	padding into account when calculating max_layout_width.
2005-04-04 05:48:31 +00:00
Matthias Clasen
4df377100a Use gtk_accel_map_change_entry(), so that reusing the same action name
2005-04-04  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkactiongroup.c (gtk_action_group_add_action_with_accel):
	Use gtk_accel_map_change_entry(), so that reusing the same
	action name works.  (#170727, Paolo Borelli)
2005-04-04 04:38:52 +00:00
Tor Lillqvist
a5ebf737b3 New debugging function, to log a clipboard format name symbolically.
2005-04-04  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkmain.c (_gdk_win32_cf_to_string): New debugging
	function, to log a clipboard format name symbolically.
	(_gdk_win32_data_to_string): Also new, to log random data bytes.

	Merge from HEAD:

	* gdk/win32/gdkdisplay-win32.c (_win32_on_clipboard_change): Print
	debugging output only if asked for, not always.

	* gdk/win32/gdkmain-win32.c (_gdk_win32_key_to_string): New
	debugging function. As GetKeyNameText() returns a localized key
	name we need to convert it to UTF-8.

	* gdk/win32/gdkprivate-win32.h
	* gdk/win32/gdkevents-win32.c: : Declare new functions, use them.

	Implement delayed rendering on Win32, specifically for transfering
	images through the clipboard from GTK+ apps to other
	apps (#168173, implementation by Ivan Wong):

	* gdk/win32/gdkevents-win32.c (gdk_event_translate):
	Handle WM_RENDERFORMAT.

	* gdk/win32/gdkprivate-win32.h
	* gdk/win32/gdkglobals-win32.c: Add _format_atom_table,
	_delayed_rendering_data and _image_bmp.

	* gdk/win32/gdkmain-win32.c: Initialize _image_bmp.

	* gdk/win32/gdkproperty-win32.c (gdk_property_change):
	Accept formats other than GDK_TARGET_STRING or _utf8_string, and
	assume they are handled through delayed rendering.

	* gdk/win32/gdkselection-win32.c (gdk_selection_convert):
	Return all available formats (including those registered by GTK+
	apps) on request_targets.
	(gdk_selection_property_get): We should append a zero byte like
	X11 does.
	(gdk_win32_selection_add_targets): New function, for
	gtkselection's use. Win32 requires that the clipboard owner
	registers all valid formats even if the owner wants delayed
	rendering.
	(_gdk_win32_selection_convert_to_dib): New function. Convert
	images to DIB using gdk-pixbuf.

	* gdk/win32/gdkwin32.h: Declare gdk_win32_selection_add_targets().

	* gtk/gtkselection.c (gtk_selection_add_target,
	gtk_selection_add_targets): Call gdk_win32_selection_add_targets()
	to register target formats.

	* gdk/gdk.symbols: Add gdk_win32_selection_add_targets().
2005-04-03 23:40:42 +00:00
Raphael Higino
534b078bd0 Updated pt_BR translation 2005-04-03 22:55:46 +00:00
Alessio Frusciante
2e619741f9 Updated Italian translation. 2005-04-03 21:28:50 +00:00
Hans Breuer
6d300612ea let dash_offset shift the start of the line pattern not the start of the
2005-04-03  Hans Breuer  <hans@breuer.org>

	* gdk/win32/gdkdrawable-win32.c : let dash_offset shift the start of
	the line pattern not the start of the line. Fixes bug #171641.

	* gtk/makefile.msc.in : follow .symbols changes
2005-04-03 20:36:39 +00:00
Hans Breuer
11dbe5a336 follow .symbols changes
2005-04-03  Hans Breuer  <hans@breuer.org>

	* makefile.msc : follow .symbols changes
2005-04-03 20:31:16 +00:00
Gabor Kelemen
e3c1c3ebc7 Hungarian translation updated.
2005-04-03  Gabor Kelemen  <kelemeng@gnome.hu>

	* hu.po: Hungarian translation updated.
2005-04-03 14:15:22 +00:00
Matthias Clasen
3cbf65b150 Sync to latest upstream, support mmapped mime.cache:
2005-04-02  Matthias Clasen  <mclasen@redhat.com>

        Sync to latest upstream, support mmapped
        mime.cache:

        * xdgmimecache.[hc]: Implement the xgdmime
        api on top of the mmapped cache.

        * xdgmime.c: Load caches, and use the cache-based
        implementation of the api, if cache files are
        present.
2005-04-03 03:56:50 +00:00
Matthias Clasen
999ac79a9d Move documentation inline, document if add_target functions append or
2005-04-01  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkselection.c: Move documentation inline, document
	if add_target functions append or prepend.  (#172350,
	Jon-Kare Hellan)
2005-04-01 21:19:16 +00:00
Matthias Clasen
070daa3e8b Make gtk_combo_box_get_active_text do the right thing for GtkComboBoxEntry
2005-04-01  Matthias Clasen  <mclasen@redhat.com>

	Make gtk_combo_box_get_active_text do the right thing for
	GtkComboBoxEntry (#171373, Robert Staudinger)

	* gtk/gtkcombobox.h: Add a get_active_text vfunc.

	* gtk/gtkcombobox.c (gtk_combo_box_real_get_active_text): And
	implement it here.

	* gtk/gtkcomboboxentry.c (gtk_combo_box_entry_get_active_text):
	Implement get_active_text by always returning the content of
	the entry.
2005-04-01 20:57:20 +00:00
Steven Michael Murphy
eb2860ed5b Added new Language, Kinyarwanda (rw), to this package 2005-04-01 03:22:22 +00:00
Francisco Javier F. Serrador
795f188167 Updated Spanish translation.
2005-04-01  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* es.po: Updated Spanish translation.
2005-03-31 22:38:58 +00:00
Laurent Dhima
225b6c68ca Updated Albanian translation.
2005-03-31  Laurent Dhima  <laurenti@alblinux.net>

	* sq.po: Updated Albanian translation.
2005-03-31 17:27:04 +00:00
Sven Neumann
edc976e701 gtk/gtkbutton.c fixed gtk-doc comments.
2005-03-31  Sven Neumann  <sven@gimp.org>

	* gtk/gtkbutton.c
	* gtk/gtkiconview.c: fixed gtk-doc comments.
2005-03-31 17:03:22 +00:00
Josep Puigdemont i Casamajó
666cb48b66 Updated Catalan translation. 2005-03-31 09:45:35 +00:00
Christian Rose
fe1c586aac Updated Swedish translation.
2005-03-31  Christian Rose  <menthos@menthos.com>

	* sv.po: Updated Swedish translation.
2005-03-31 09:41:59 +00:00
Miloslav Trmac
edb60ee90f Updated Czech translation.
2005-03-31  Miloslav Trmac  <mitr@volny.cz>

	* cs.po: Updated Czech translation.
2005-03-31 09:10:39 +00:00
Ankitkumar Rameshchandra Patel
481affcd1b ankit@redhat.com * Updated Gujarati Translation 2005-03-31 04:42:09 +00:00
Adam Weinberger
2ade88a005 Updated Canadian English translation.
2005-03-30  Adam Weinberger  <adamw@gnome.org>

	* en_CA.po: Updated Canadian English translation.
2005-03-31 04:34:06 +00:00
Federico Mena Quintero
273f24071c Fix #170755:
2005-03-30  Federico Mena Quintero  <federico@ximian.com>

	Fix #170755:

	* gtk/gtktreeview.c (gtk_tree_view_row_changed): Only stop editing
	if the row which changed is the same as the row being edited.
2005-03-30 21:46:01 +00:00
Matthias Clasen
a39beed503 Document BMP saving support.
2005-03-30  Matthias Clasen  <mclasen@redhat.com>

	* gdk-pixbuf-io.c: Document BMP saving support.

	* io-bmp.c: Support saving as BMP. (168173, Ivan Wong)
2005-03-30 19:42:30 +00:00
Matthias Clasen
86655ab0af Make enable_search control only typeahead, not C-f. (#170435, Sven
2005-03-30  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_real_start_interactive_search):
	Make enable_search control only typeahead, not C-f.  (#170435,
	Sven Neumann)
	(gtk_tree_view_start_interactive_search): Pass keybinding == TRUE.

VS: ----------------------------------------------------------------------
2005-03-30 18:23:23 +00:00
Matthias Clasen
86505b733a Don't accept n_targets == -1. (clipboard_unset): unref the old_data, not
2005-03-30  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkclipboard.c (gtk_clipboard_set_can_store):
	Don't accept n_targets == -1.
	(clipboard_unset): unref the old_data, not the
	user_data which we have just cleared.  (#172038, Sven
	Neumann)
2005-03-30 17:35:42 +00:00
Matthias Clasen
b3cdfe0c19 Don't segfault if somebody tries to popup an unrealized combo box.
2005-03-30  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcombobox.c (gtk_combo_box_popup): Don't
	segfault if somebody tries to popup an unrealized
	combo box.  (#172031, Felipe Heidrich)
2005-03-30 17:10:47 +00:00
Tor Lillqvist
84f00317a8 Merge from HEAD:
2005-03-30  Tor Lillqvist  <tml@novell.com>

	Merge from HEAD:

	* gdk/win32/gdkevents-win32.c (gdk_event_translate): On
	WM_MOUSEMOVE, don't check if this process owns the active
	window. This makes cross-application widget embedding work better.
	On WM_MOVE, don't bother checking for window visibility.
2005-03-30 08:38:28 +00:00
Tor Lillqvist
68c63c6b81 Fix event filter handling. If an event filter (global, client message
2005-03-30  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkevents-win32.c (gdk_event_translate): Fix event
	filter handling. If an event filter (global, client message
	filter, of window-specific) returns GDK_FILTER_CONTINUE,
	continue as if nothing happened. If it returns
	GDK_FILTER_REMOVE or GDK_FILTER_TRANSLATE, return TRUE from
	gdk_event_translate() which means that DefWindowProc() will
	not be called.
	(gdk_event_translate): Fix client message handling. Append a
	GDK_CLIENT_EVENT unless there is a filter that matches and returns
	something other than GDK_FILTER_CONTINUE. (#135552)
2005-03-30 08:33:53 +00:00
Tor Lillqvist
f10b6fac17 Typo. 2005-03-30 08:26:14 +00:00
Tor Lillqvist
c93e7115ab The state field should represent the state before the event, like on X11.
2005-03-30  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkevents-win32.c (build_pointer_event_state): The
	state field should represent the state before the event, like on
	X11. (#169753)
2005-03-30 08:01:04 +00:00
Kwok-Koon Cheung
e7e0df5b40 Updated traditional Chinese translation from GNOME HK Team
* zh_TW.po: Updated traditional Chinese translation from GNOME HK Team
2005-03-30 03:48:55 +00:00
Matthias Clasen
fc87b10947 Document the need to refilter if parameters of the visibility function
2005-03-29  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_set_visible_func):
	Document the need to refilter if parameters of the visibility function
	change.  (#169516, Olivier Sessink)
2005-03-29 06:02:49 +00:00
Matthias Clasen
294abe80a2 Fix the update areas for incremental loading of compressed tgas. (#171883,
2005-03-29  Matthias Clasen  <mclasen@redhat.com>

	* io-tga.c (parse_rle_data): Fix the update areas for incremental
	loading of compressed tgas.  (#171883, David Costanzo)
2005-03-29 05:19:13 +00:00
Matthias Clasen
06821e8278 Sync to latest upstream 2005-03-28 19:29:21 +00:00
Jeroen Zwartepoorte
155158a187 Make the preview label ellipsize so the dialog layout stays constant.
2005-03-28  Jeroen Zwartepoorte  <jeroen.zwartepoorte@gmail.com>

	* gtk/gtkfilechooserdefault.c: (update_preview_widget_visibility): Make
	the preview label ellipsize so the dialog layout stays constant.
	(#171398)
2005-03-28 17:14:59 +00:00
Alessio Frusciante
5145e72a09 Updated Italian translation. 2005-03-28 17:07:38 +00:00
Matthias Clasen
5c07391273 Don't pop up the context menu of the search entry if it is not visible.
2005-03-28  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_key_press): Don't pop up
	the context menu of the search entry if it is not visible.
	(#169534, Billy Biggs)
2005-03-28 06:01:32 +00:00
Matthias Clasen
c54b18c2c8 Use the correct update regions for compressed bmps. (#150664, Owen Taylor,
2005-03-27  Matthias Clasen  <mclasen@redhat.com>

	* io-bmp.c (DoCompressed): Use the correct update regions for
	compressed bmps.  (#150664, Owen Taylor, test images provided
	by David Costanzo)
2005-03-28 04:12:32 +00:00
Manish Singh
66adc460b2 reject 0-sized buffers as corrupt header data. Fixes bug #171707.
Sun Mar 27 19:59:52 2005  Manish Singh  <yosh@gimp.org>

        * io-bmp.c (grow_buffer): reject 0-sized buffers as corrupt header
        data. Fixes bug #171707.
2005-03-28 04:02:12 +00:00
Raphael Higino
a9356c684e Updated pt_BR translation 2005-03-27 21:17:43 +00:00
Tor Lillqvist
86c7bd9518 The state should be the pre-event state. (#169753)
* gdk/win32/gdkevents-win32.c (build_pointer_event_state): The
	state should be the pre-event state. (#169753)
2005-03-27 19:23:27 +00:00
Matthias Clasen
24ee0dcce1 Remove a call whose result was unused and leaked. (#170776, Kjartan
2005-03-23  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilechooserbutton.c (update_combo_box): Remove
	a call whose result was unused and leaked.  (#170776,
	Kjartan Maraas)
2005-03-23 14:07:39 +00:00
Matthias Clasen
53534897cf Some cleanups to the GtkDialog code: (#170746, Morten Welinder) Simplify,
2005-03-23  Matthias Clasen  <mclasen@redhat.com>

	Some cleanups to the GtkDialog code:  (#170746,
	Morten Welinder)
	* gtk/gtkdialog.c (action_widget_activated): Simplify,
	use _gtk_dialog_get_response_for_widget.
	(gtk_dialog_add_action_widget): Use the correct signal
	id for non-buttons.
	(gtk_dialog_set_response_sensitive):
	(gtk_dialog_set_default_response): Use get_response_data.
	(gtk_dialog_run): Don't disconnect the signals if the
	dialog was destroyed while running.
:
2005-03-23 13:59:32 +00:00
Matthias Clasen
b219b86532 Stop scrolling when the widget is unmapped. (#168791, Ryan Lortie)
2005-03-22  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkpathbar.c (gtk_path_bar_unmap):
	* gtk/gtkspinbutton.c (gtk_spin_button_unmap):
	* gtk/gtknotebook.c (gtk_notebook_unmap):
	* gtk/gtkrange.c (gtk_range_unmap): Stop scrolling when
	the widget is unmapped.  (#168791, Ryan Lortie)
2005-03-22 17:35:08 +00:00
Matthias Clasen
7c2434166a Forgotten commit 2005-03-22 17:32:23 +00:00
Matthias Clasen
c79d740327 Fix a typo 2005-03-21 15:33:26 +00:00
Manish Singh
b32108ebe2 Shut up CVS 2005-03-21 02:42:52 +00:00