Commit Graph

10583 Commits

Author SHA1 Message Date
Christian Rose
d055df81c8 Added "hy" to ALL_LINGUAS. Added Armenian translation by Lilit Azizbekyan
2005-07-21  Christian Rose  <menthos@menthos.com>

	* configure.in: Added "hy" to ALL_LINGUAS.
	* po/hy.po, po-properties/hy.po: Added
	Armenian translation by
	Lilit Azizbekyan <lilita@support17> and
	Lilit Sargsyan <magicliliac@yahoo.co.uk>.
2005-07-21 21:47:16 +00:00
Tor Lillqvist
4b75d6ed24 Use wide-char API when available. (#311079, Peter Zelezny)
2005-07-21  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkwindow-win32.c (gdk_window_set_title): Use
	wide-char API when available. (#311079, Peter Zelezny)
2005-07-21 07:23:02 +00:00
Matthias Clasen
24d63ffe74 Don't fail if we can't get a keyboard grab. (#168351)
2005-07-20  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkdnd.c (gtk_drag_begin_internal): Don't fail if we
	can't get a keyboard grab.  (#168351)
2005-07-20 20:03:34 +00:00
Kristian Rietveld
91f2fb2d4d don't iterate past the end of the string, so pango_layout_get_cursor_pos()
2005-07-19  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtkentry.c (gtk_entry_move_forward_word): don't iterate
	past the end of the string, so pango_layout_get_cursor_pos() won't
	complain. (#309211, Tommi Komulainen).
2005-07-19 21:06:50 +00:00
Matthias Clasen
410e79f22f Call gettext_initialization before checking gtk_initialized, otherwise
2005-07-18  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkmain.c (gtk_parse_args, gtk_init_with_args): Call
	gettext_initialization before checking gtk_initialized, otherwise
	there are scenarios where it is not called at all. For an
	example, see tests/testfilechooserbutton.c.  (#310323,
	Arkady L. Shane)
2005-07-18 19:21:08 +00:00
Christophe Merlet
8be6d7347b Updated French translation. 2005-07-17 14:09:19 +00:00
Christian Rose
fba7e04606 Updated Swedish translation.
2005-07-16  Christian Rose  <menthos@menthos.com>

	* sv.po: Updated Swedish translation.
2005-07-16 10:53:16 +00:00
Laurent Dhima
ab58021f56 Updated Albanian translation.
2005-07-16  Laurent Dhima  <laurenti@alblinux.net>

	* sq.po: Updated Albanian translation.
2005-07-16 08:55:03 +00:00
Hendrik Brandt
d5bb2a8c21 Updated German translation.
2005-07-15  Hendrik Brandt  <heb@gnome-de.org>

        * de.po: Updated German translation.
2005-07-15 16:07:56 +00:00
Laurent Dhima
355e7bd90d Updated Albanian translation.
2005-07-15  Laurent Dhima  <laurenti@alblinux.net>

	* sq.po: Updated Albanian translation.
2005-07-15 13:47:58 +00:00
Tor Lillqvist
58e89ebd95 Implement getting the MIME type of a file. Look it up in the Registry. Bug
2005-07-14  Tor Lillqvist  <tml@novell.com>

	* gtk/gtkfilesystemwin32.c (filename_get_info): Implement getting
	the MIME type of a file. Look it up in the Registry. Bug reported
	by Hans Oesterholt.
2005-07-14 19:05:29 +00:00
Miloslav Trmac
636cff35f5 Updated Czech translation.
2005-07-14  Miloslav Trmac  <mitr@volny.cz>

	* cs.po: Updated Czech translation.
2005-07-14 09:03:18 +00:00
Matthias Clasen
524da41329 Don't keep the caches for unthemed directories in a separate list, instead
2005-07-13  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkicontheme.c (load_themes): Don't keep the caches
	for unthemed directories in a separate list, instead append
	them at the end of the dir_mtimes list, so that we can check
	them for staleness like the other caches.  (#310221, Mark
	McLoughlin)
2005-07-13 14:11:55 +00:00
Robert gren
5454441a83 Fix handling of Aiptek and Aiptek-like graphical tablets such as Trust on
2005-07-13  Robert gren  <gtk@roboros.com>

	Fix handling of Aiptek and Aiptek-like graphical tablets such as Trust
	on Windows. (#167004, thanks to	"pnohant" for testing)

	Code cleanup: Remove the unused and unmaintained code for using a
	non-system tablet context (USE_SYSCONTEXT ifdef:s), suggested
	by Tor Lillqvist.

	* gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Handle
	tablet drivers that don't support WTI_DDCTXS/WTI_DSCTXS gracefully.
	Sligthly reorganize and simplify the code to support this.
	(_gdk_input_wintab_init_check, _gdk_input_other_event): Remove
	USE_SYSCONTEXT ifdef:s and the code for the case it was not defined.
	(gdk_input_window_find_within): Removed.
2005-07-13 12:44:22 +00:00
Gabor Kelemen
81154a9654 Hungarian translation updated.
2005-07-12  Gabor Kelemen  <kelemeng@gnome.hu>

	* hu.po: Hungarian translation updated.
2005-07-12 16:52:39 +00:00
Priit Laes
d831a54991 Translation updated by Ivar Smolin.
2005-07-12  Priit Laes  <plaes@cvs.gnome.org>

	* et.po: Translation updated by Ivar Smolin.
2005-07-12 11:17:31 +00:00
Vincent van Adrighem
8a81d34cc5 Translation updated by Tino Meinen.
2005-07-09  Vincent van Adrighem  <adrighem@gnome.org>

	* nl.po: Translation updated by Tino Meinen.
2005-07-09 13:26:10 +00:00
Amanpreet Singh Alam
0bd7295689 update by amanpreetalam@yahoo.com 2005-07-08 03:59:53 +00:00
Matthias Clasen
5489f552dc Add -DHPPEX -DSHMLINK to CFLAGS for HP-UX. (#162979, Paul Cornett)
2005-07-07  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Add -DHPPEX -DSHMLINK to CFLAGS for HP-UX.
	(#162979, Paul Cornett)
2005-07-08 03:58:36 +00:00
Matthias Clasen
98874312c0 Add some additional docs on precision here too. (#309238, Steve Chaplin)
2005-07-07  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkhscale.c (gtk_hscale_new_with_range):
	(gtk_vscale_new_with_range): Add some additional docs on
	precision here too.  (#309238, Steve Chaplin)
2005-07-08 03:22:57 +00:00
Adam Weinberger
06b33ab9e3 Updated Canadian English translation.
2005-07-07  Adam Weinberger  <adamw@gnome.org>

	* en_CA.po: Updated Canadian English translation.
2005-07-08 00:03:07 +00:00
Matthias Clasen
31ee48c198 Implement Drag-and-Drop to the file list. (#145121, Sven Neumann)
2005-07-07  Matthias Clasen  <mclasen@redhat.com>

	Implement Drag-and-Drop to the file list.  (#145121, Sven Neumann)

	* gtk/gtkfilechooserdefault.c (file_list_drag_data_received_cb)
	(file_list_drag_drop_cb, file_list_drag_motion_cb): New functions
	to handle drag-and-drop on the file list.
	(create_file_list): Set up drag-and-drop handlers on the file list.
2005-07-07 17:14:09 +00:00
Matthias Clasen
b36a1e8243 Fix #157787, reported by Jonathan Blandford:
2005-07-07  Matthias Clasen  <mclasen@redhat.com>

	Fix #157787, reported by Jonathan Blandford:

	* gtk/gtkfilechooserdefault.c
	(gtk_file_chooser_default_set_current_folder): Don't leave a
	"trail" behind when set_current_folder is called explicitly.
	(gtk_file_chooser_default_update_current_folder): New function
	that is called to update the current folder in response to
	user actions.

	* gtk/gtkpathbar.c (_gtk_path_bar_set_path): Add a boolean
	keep_trail argument, and don't leave a "trail" behind unless
	it is set.
2005-07-07 12:46:50 +00:00
Priit Laes
9c7db72ab0 Translation updated by Ivar Smolin.
2005-07-07  Priit Laes  <plaes@cvs.gnome.org>

	* et.po: Translation updated by Ivar Smolin.
2005-07-07 06:09:50 +00:00
Priit Laes
97e8ace959 Translation updated by Ivar Smolin.
2005-07-06  Priit Laes  <plaes@cvs.gnome.org>

	* et.po: Translation updated by Ivar Smolin.
2005-07-06 12:28:03 +00:00
Matthias Clasen
b85f379e37 Add some additional docs on precision. (#309238, Steve Chaplin)
2005-07-05  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkspinbutton.c (gtk_spin_button_new_with_range): Add some
	additional docs on precision.  (#309238, Steve Chaplin)
2005-07-06 03:46:20 +00:00
Matthias Clasen
150e3a4adf Fix includes 2005-07-06 00:33:09 +00:00
Matthias Clasen
5fd52d65ee Update the file-button image 2005-07-05 22:56:36 +00:00
Manish Singh
84e1d2c232 remove stray debugging g_prints.
2005-07-03  Manish Singh  <yosh@gimp.org>

        * gtk/gtktreeview.c (gtk_tree_view_vertical_autoscroll): remove
        stray debugging g_prints.
2005-07-03 17:42:06 +00:00
Vincent van Adrighem
7b5a53121c Translation updated by Tino Meinen.
2005-07-02  Vincent van Adrighem  <adrighem@gnome.org>

	* nl.po: Translation updated by Tino Meinen.
2005-07-02 15:52:08 +00:00
Matthias Clasen
a3c694b6cd Prevent an infinite loop when G_FILENAME_ENCODING is invalid. (#309280,
2005-07-01  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilesel.c (cmpl_init_state): Prevent an infinite
	loop when G_FILENAME_ENCODING is invalid.  (#309280, Padraig Brady)
2005-07-01 15:32:55 +00:00
Kwok-Koon Cheung
0cc592f510 Updated traditional Chinese translation from GNOME HK Team
* zh_TW.po: Updated traditional Chinese translation from GNOME HK Team
2005-07-01 11:06:26 +00:00
Matthias Clasen
4c6b69a782 Avoid infinite loop if a mask is zero. (#309222, David Saxton)
2005-06-30  Matthias Clasen  <mclasen@redhat.com>

	* gdk/x11/gdkvisual-x11.c (gdk_visual_decompose_mask): Avoid
	infinite loop if a mask is zero.  (#309222, David Saxton)
2005-06-30 19:13:18 +00:00
Matthias Clasen
549ded61f2 Clarify the code, gcc 4 complains about predecrement in MAX().
2005-06-30  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_fetch_child):
	Clarify the code, gcc 4 complains about predecrement in  MAX().
2005-06-30 19:06:12 +00:00
Matthias Clasen
abffbfb994 Don't prematurely unregister callbacks.
2005-06-30  Matthias Clasen  <mclasen@redhat.com>

	* modules/input/gtkimcontextxim.c (gtk_im_context_xim_finalize):
	Don't prematurely unregister callbacks.
2005-06-30 18:45:27 +00:00
Matthias Clasen
67fceb5cf9 Avoid a segfault. (#309054)
2005-06-27  Matthias Clasen  <mclasen@redhat.com>

	* modules/input/gtkimcontextxim.c (gtk_im_context_xim_finalize):
	Avoid a segfault.  (#309054)
2005-06-27 18:34:03 +00:00
Matthias Clasen
31c4472548 Cancel menus when they are grab-shadowed by something thats not a submenu.
2005-06-27  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkmenu.c (gtk_menu_grab_notify): Cancel menus when
        they are grab-shadowed by something thats not a
        submenu.  (#145416, Euan MacGregor)
2005-06-27 17:39:34 +00:00
Matthias Clasen
d426fcb4d0 Unregister XIM callbacks here. (#309054)
2005-06-26  Matthias Clasen  <mclasen@redhat.com>

	* modules/input/gtkimcontextxim.c (gtk_im_context_xim_finalize):
	Unregister XIM callbacks here.  (#309054)
2005-06-27 02:29:29 +00:00
Matthias Clasen
504ee67c2e Make movement by paragraphs up/down symmetric. (#307055, Behnam Esfahbod)
2005-06-24  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktextview.c
	(gtk_text_view_move_cursor_internal): Make movement by
	paragraphs up/down symmetric.  (#307055, Behnam Esfahbod)
2005-06-24 17:40:17 +00:00
Matthias Clasen
8fe7ec4ede Don't jump to the next line if we are at the end of the line.
2005-06-24  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktextview.c (gtk_text_view_scroll_hpages): Don't
	jump to the next line if we are at the end of the line.
2005-06-24 13:50:53 +00:00
Tor Lillqvist
98e53e0e13 Mention also bug #308413. 2005-06-24 13:05:59 +00:00
Tor Lillqvist
f5db01dc23 Improve and simplify line segment rendering on Win32, especially the
2005-06-23  Tor Lillqvist  <tml@novell.com>

	Improve and simplify line segment rendering on Win32, especially
	the implementation of GDK_CAP_NOT_LAST, and dashed lines. Fixes
	bug #306396.

	* gdk/win32/gdkprivate-win32.h (GdkGCWin32): Save the GdkGC's
	line_style, cap_style and join_style as such in the
	GdkGCWin32. Don't need to keep the pen_double_dash flag, we can
	check the line_style.

	* gdk/win32/gdkgc-win32.c (fixup_pen): New internal function. Sets
	up the GDI pen type, style, end cap and join attributes to use
	based on the pen width, GDK line style, end cap style, and join
	style.

	For a narrow (zero-width) GDK pen with the GDK_CAP_NOT_LAST end
	cap style, which typically are used for XOR drawing where it is
	essential that the last pixel is not drawn, use a GDI cosmetic
	pen. Only for a cosmetic pen does GDI not draw the last pixel. I
	deduced this by experimetation, the documentation is rather vague.

	For other GDK pens use a geometric GDI pen. If the width is 0 or 1
	and the GDK end cap style is GDK_CAP_BUTT, and the line style is
	GDK_LINE_SOLID, use PS_ENDCAP_ROUND. This ensures that also
	single-pixel length lines are drawn. (For sngle-pixel width lines
	roundness as such is of course irrelevant.) For dashed lines, use
	PS_ENDCAP_FLAT.

	For wide lines use PS_ENDCAP_FLAT, _ROUND or _SQUARE,
	respectively, for GDK_CAP_BUTT, GDK_CAP_ROUND and GDK_CAP_PROJECTING.

	For one pixel on-off dashed lines, use PS_ALTERNATE, it seems to
	work better than PS_USERSTYLE. For other dashed lines, use
	PS_USERSTYLE and the dashes as set by the user (or the default
	four-pixel on-off style).

	(gdk_win32_gc_values_to_win32values, gdk_win32_gc_set_dashes):
	Call fixup_pen() to do the pen settings after modifying some of
	the GDK GC attributes that affect pens.

	* gdk/win32/gdkdrawable-win32.c (render_line_horizontal,
	render_line_vertical, draw_segments): Check GdkGCWin32::line_style
	instead of the the removed pen_double_dash member. Don't use
	PATCOPY unconditionally in the PatBlt() call, use a raster ope
	code that depends on the GC function in use.

	(draw_rectangle, draw_segments, draw_lines): Be more careful in
	deciding when to do the manual dash rendering.

	(draw_segments): Don't do any manual "last point" drawing at
	all. The above changes takes care of narrow line segments being
	drawn correctly in most cases, at least on NT-based Windows.
2005-06-24 12:42:53 +00:00
Rhys Jones
586cf9ad5c Updated Welsh translation.
2005-06-23  Rhys Jones  <rhys@sucs.org>

	* cy.po: Updated Welsh translation.
2005-06-23 22:29:29 +00:00
Matthias Clasen
b4a5e493dc Fix an error in the cache timeout logic. (#166601, Morten Welinder)
2005-06-23  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_folder):
	Fix an error in the cache timeout logic.  (#166601, Morten
	Welinder)
2005-06-23 20:46:58 +00:00
Matthias Clasen
3187d490ad Remove a leftover debugging envvar.
2005-06-23  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkiconcache.c (_gtk_icon_cache_new_for_path): Remove
	a leftover debugging envvar.

2005-06-22  Matthias Clasen  <mclasen@redhat.com>

	* gdk/x11/gdkdnd-x11.c (xdnd_finished_filter): Set the
	time field in the event.  (#308573, Morten Welinder)
2005-06-23 17:06:52 +00:00
Matthias Clasen
81560a213a Don't trigger warnings if there are extra references to the hbox.
2005-06-23  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkbutton.c (gtk_button_construct_child): Don't
	trigger warnings if there are extra references to the
	hbox.  (#308677, Dan Winship)
2005-06-23 04:25:37 +00:00
Matthias Clasen
4e4f41ef4f Define ngettext() in the non-NLS case. (#308717, Peter S. Mazinger)
2005-06-22  Matthias Clasen  <mclasen@redhat.com>

	* gdk-pixbuf-i18n.h: Define ngettext() in the non-NLS
	case.  (#308717, Peter S. Mazinger)
2005-06-23 03:16:48 +00:00
Kwok-Koon Cheung
0c6e1e2969 fix language team reference 2005-06-23 01:27:21 +00:00
Kwok-Koon Cheung
9f9777cbc1 Fix language team reference 2005-06-22 23:51:03 +00:00
Matthias Clasen
44321354b1 Ignore everything after the first space in lines from the .gtk-bookmarks
2005-06-22  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilesystemunix.c: Ignore everything after the
	first space in lines from the .gtk-bookmarks file.
2005-06-22 15:18:44 +00:00