Commit Graph

6886 Commits

Author SHA1 Message Date
Jonathan Blandford
91e53e9dda Patch from David Hampton to fix sorting on booleans.
Thu Nov 20 15:11:18 2003  Jonathan Blandford  <jrb@redhat.com>

        * gtk/gtktreedatalist.c (gtk_tree_data_list_compare_func): Patch
        from David Hampton to fix sorting on booleans.
2003-11-20 20:13:16 +00:00
Soeren Sandmann
1331607e5b Use gtk_widget_is_focus() instead of GTK_WIDGET_HAS_FOCUS. (#122327, Owen
Thu Nov 20 15:48:03 2003  Soeren Sandmann  <sandmann@daimi.au.dk>

	* gtk/gtksocket.c (gtk_socket_focus): Use gtk_widget_is_focus()
	instead of GTK_WIDGET_HAS_FOCUS. (#122327, Owen Taylor. Reported
	by Frederic Crozat).
2003-11-20 14:53:30 +00:00
Zygimantas Berucka
6fd2c6099a Updated Lithuanian translation by Tomas Kuliavas.
2003-11-20  Zygimantas Berucka  <uid0@tuxfamily.org>

* lt.po: Updated Lithuanian translation by Tomas Kuliavas.
2003-11-20 09:54:05 +00:00
Dafydd Harries
f2562d2e72 Fix mistakes I made with CVS. 2003-11-19 17:24:21 +00:00
Matthias Clasen
c086cf2b95 Call gtk_widget_hide(menu) when reattaching the menu. (#126057)
Wed Nov 19 02:18:37 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkmenu.c (gtk_menu_set_tearoff_state): Call
	gtk_widget_hide(menu) when reattaching the menu.  (#126057)
2003-11-19 01:32:17 +00:00
Noah Levitt
44e9eee7c1 Check for freetype headers the way freetype wants us to.
2003-11-17  Noah Levitt  <nlevitt@columbia.edu>

	* configure.in: Check for freetype headers the way freetype
	wants us to.
2003-11-17 21:03:36 +00:00
Tor Lillqvist
0cb2f6c9dd If the window is maximized, use SW_SHOWMAXIMIZED. (#126986, John Ehresman)
2003-11-15  Tor Lillqvist  <tml@iki.fi>

	* gdk/win32/gdkwindow-win32.c (gdk_window_focus): If the window is
	maximized, use SW_SHOWMAXIMIZED. (#126986, John Ehresman)
2003-11-15 04:18:40 +00:00
Jordi Mallach
8ebd2941cb Typo fixes by Jordi Mas <jmas@softcatala.org>. 2003-11-13 14:11:33 +00:00
Matthias Clasen
359df1d0f6 Add a const to get rid of a compiler warning. (#122712, Kjartan Maraas)
Wed Nov 12 21:05:30 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkstyle.c (make_cursor_gc): Add a const to get rid of
	a compiler warning.  (#122712, Kjartan Maraas)
2003-11-12 20:06:28 +00:00
Matthias Clasen
b33de86552 Map KP_Separator to ','. (#122941, Egmont Koblinger)
Wed Nov 12 20:54:02 2003  Matthias Clasen  <maclas@gmx.de>

	* gdk/gdkkeyuni.c: Map KP_Separator to ','.
	(#122941, Egmont Koblinger)
2003-11-12 19:56:00 +00:00
Padraig O'Briain
0b492e1844 *gtk/gtkcolorsel.c (gtk_color_selection_init): Add tooltip for opacitiy
2003-11-12  Padraig O'Briain  <padraig.obriain@sun.com>

	*gtk/gtkcolorsel.c (gtk_color_selection_init): Add tooltip for
	opacitiy entry widget. (#126426)
2003-11-12 09:20:12 +00:00
Padraig O'Briain
3c187a359e Do not let pointer position affect window menu position when popped from
2003-11-12  Padraig O'Briain  <padraig.obriain@sun.com>

	* gtk/gtkmenu.c (gtk_menu_popup): Do not let pointer position
	affect window menu position when popped from keyboard. (#102660)
2003-11-12 09:06:35 +00:00
Matthias Clasen
2c348afe8d Fix doc comment. (#126369, Olexiy Avramchenko)
Thu Nov  6 20:41:40 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkstyle.c (gtk_style_attach): Fix doc comment.
	(#126369, Olexiy Avramchenko)
2003-11-06 19:46:15 +00:00
Tony Gale
25d4a360f0 ed Nov 5 08:58:34 GMT 2003 Tony Gale <gale@gtk.org>
* docs/faq/gtk-faq.sgml: Bring across changes from HEAD:
          - Update info on compiling GTK+
          - mirrors,compiling,g_main_context_iteration
          - fix pkg-config command error, update copyright.
          - More 2.x updates
2003-11-05 09:00:38 +00:00
Dafydd Harries
dae66a8e4a Translation ported from gnome-2-4 branch. 2003-11-04 19:01:30 +00:00
Åsmund Skjæveland
1fef918a01 Updated Norwegian Nynorsk translation.
2003-11-02  Åsmund Skjæveland  <aasmunds@fys.uio.no>

	* nn.po: Updated Norwegian Nynorsk translation.
2003-11-02 12:10:53 +00:00
Åsmund Skjæveland
5f959c7082 Updated Norwegian Nynorsk translation.
2003-10-30  Åsmund Skjæveland  <aasmunds@fys.uio.no>

	* nn.po: Updated Norwegian Nynorsk translation.
2003-10-30 12:44:39 +00:00
Owen Taylor
3efb99c850 Move the call to gdk_error_trap_pop() to the right place, fixing a problem
Wed Oct 29 15:01:32 2003  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkimage-x11.c (_gdk_x11_copy_to_image): Move
        the call to gdk_error_trap_pop() to the right place,
        fixing a problem where we'd pop() too many times
        when bailing out. (#123302, Thomas Leonard)
2003-10-29 20:05:52 +00:00
Owen Taylor
a3051d3c8e #include <X11/extensions/Xrandr.h> if we have RandR support, for
Tue Oct 28 09:50:25 2003  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkscreen-x11.c: #include <X11/extensions/Xrandr.h> if
        we have RandR support, for XRRUpdateConfiguration declaration.
        (Change by Manish Singh from head; fixes #122711,
        Kjartan Maraas)
2003-10-28 14:53:20 +00:00
Owen Taylor
9aeb3b8036 Silently do nothing when recipient is NULL, as described in the doc
Tue Oct 28 09:44:16 2003  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkxembed.c (_gtk_xembed_send_focus_message): Silently
        do nothing when recipient is NULL, as described in the
        doc comment. (#123107, Thomas Leonard)
2003-10-28 14:47:35 +00:00
Tor Lillqvist
3652de5c5d Add a missing entry.
2003-10-25  Tor Lillqvist  <tml@iki.fi>

	* gdk/gdk.def: Add a missing entry.

	* gdk/gdkdisplaymanager.c: Mark default_display static.

	* gdk/win32/gdkdnd-win32.c: Mark current_dest_drag static.

	* gdk/win32/gdkkeys-win32.c: Disable some overly verbose debugging
	output.

	* gdk/win32/gdkevents-win32.c: Clean up the debugging output from
	--gdk-debug=events. In general, output just one line of debugging
	output for each Windows message, plus one line for each GDK event
	generated. Indent all lines according to window procedure nesting
	level.

	(inner_window_procedure): Rename from real_window_procedure.

	(find_real_window_for_grabbed_mouse_event): Don't get misled when
	the point is in the non-client (decoration) area of the window
	returned by WindowFromPoint(). Return the root window in that
	case.

	(build_pointer_event_state): Test also MK_XBUTTON1 and
	MK_XBUTTON2 (buttons 4 and 5).

	(synthesize_enter_event): Track the mouse leaving the window in
	the event being generated, not the one mentioned in the Windows
	message.

	(propagate): Test for NULL parent earlier. Improves event
	generation from a grabbed pointer. Part of fix for #107320.

	(handle_stuff_while_moving_or_resizing): New function, to
	dispatch the main loop (once).

	(resize_timer_proc): New function, set to be called by an inerval
	timer during resizes/moves. Calls handle_stuff_while_moving_or_resizing().

	(gdk_event_translate): Drop unused return_exposes parameter.

	Handle WM_XBUTTONDOWN and UP messages (buttons 4 and 5).

	On WM_SYSKEYUP, generate a key release event also for just the Alt
	key.

	On WM_CANCELMODE, if the pointer and keyboard are grabbed, fake a
	mouse click on the root window. This is an awful hack to get menus
	to pop down properly when switching to another top-level window
	using the task switcher (Alt-Tab). Using low-level hooks to
	implement pointer and keyboard grabbing would be cleaner, but
	low-level hooks sound a bit dangerous, and Owen say we should
	avoid using them if at all possible. Fix for #107320.

	On WM_MOUSELEAVE, generate a leave event of type
	GDK_NOTIFY_ANCESTOR (and not UNKNOWN) if the mouse left a
	top-level window, and left the app completely.

	On WM_ENTERSIZEMOVE, set a flag, and start an interval timer that
	calls resize_timer_proc() at regular intervals. On
	WM_EXITSIZEMOVE, kill the timer.

	On WM_WINDOWPOSCHANGED, generate a configure event if necessary,
	and dispatch the main loop (by calling
	handle_stuff_while_moving_or_resizing()). Fixes #99540, idea by
	Herman Bloggs.

	* gdk/win32/gdkmain-win32.c (_gdk_win32_message_to_string): Handle
	also wintab messages.

	* gdk/win32/gdkwindow-win32.c (gdk_window_set_skip_taskbar_hint):
	Instead of using WS_EX_TOOLBAR, implement by setting/unsetting the
	window's owner. Fixes #118093, reported by Maxime Romano.
2003-10-26 02:49:07 +00:00
Kristian Rietveld
7e90a8e83d Merge from HEAD.
Tue Oct 21 22:20:08 2003  Kristian Rietveld  <kris@gtk.org>

	Merge from HEAD.

	* gtk/gtktreeview.c (gtk_tree_view_real_move_cursor): set
	ctrl_pressed and shift_pressed according to the current event
	state (if there is one). (Fixes #125063, reported by Sebastien Bacher).
2003-10-21 20:24:01 +00:00
Miloslav Trmac
33d6ff4a43 Update Czech translation 2003-10-18 14:41:02 +00:00
Federico Mena Quintero
4ac136c6a5 Don't do operations on windows if the tree view is not mapped.
2003-10-13  Federico Mena Quintero  <federico@ximian.com>

	* gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): Don't do
	operations on windows if the tree view is not mapped.
	(gtk_tree_view_button_press): Compare equal types of pointers, not
	GtkWidget* vs. GtkTreeView*.
2003-10-13 21:54:55 +00:00
Richard Allen
f8dc189b67 Cleanups in is.po 2003-10-12 05:32:31 +00:00
Matthias Clasen
1dfd043b79 Add C++ guards. (123955, Harring Figueiredo)
Tue Oct  7 23:30:00 2003  Matthias Clasen  <maclas@gmx.de>

	* gdk-pixbuf-xlib.h: Add C++ guards. (123955, Harring Figueiredo)
2003-10-07 21:32:33 +00:00
Matthias Clasen
d4c387190e Put the supported protocol version in in the right field of the
Tue Oct  7 23:23:05 2003  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkplug.c (xembed_set_info): Put the supported protocol
	version in in the right field of the _XEMBED_INFO property.
	(#123885, Denis Mikhalkin)
2003-10-07 21:27:33 +00:00
Matthias Clasen
34b9f46cf7 Remove an extraneous unref. (#122336, Frederic Crozat)
Sun Oct  5 23:59:03 2003  Matthias Clasen  <maclas@gmx.de>

	* tests/testsocket.c (child_read_watch): Remove an
        extraneous unref.  (#122336, Frederic Crozat)
2003-10-05 22:06:26 +00:00
Nguyen Thai Ngoc Duy
2b10820c3b update vi.po 2003-10-02 04:15:05 +00:00
Gustavo Maciel Dias Vieira
4f61853858 Applied revision by Augusta Marques da Silva <augusta.marques@gmx.net>.
2003-09-30  Gustavo Maciel Dias Vieira  <gdvieira@zaz.com.br>

        * pt_BR.po: Applied revision by Augusta Marques da Silva
        <augusta.marques@gmx.net>.
2003-09-30 15:29:38 +00:00
Laurent Dhima
0f5bcb6acb Updated Albanian translation
* sq.po: Updated Albanian translation
2003-09-30 00:40:10 +00:00
Laurent Dhima
b9448dd5a8 Updated 2003-09-30 00:38:23 +00:00
Tor Lillqvist
ba2e44a4d1 Don't use hardcoded DEMOCODEDIR on Windows.
2003-09-25  Tor Lillqvist  <tml@iki.fi>

	* demos/gtk-demo/main.c: Don't use hardcoded DEMOCODEDIR on Windows.

2003-09-21  Tor Lillqvist  <tml@iki.fi>

	* gdk/win32/gdkevents-win32.c (handle_wm_paint): New
	function. Code split out from gdk_event_translate(). Needed
	because gdk_event_get_graphics_expose() couldn't do anything
	sensible otherwise. (Not that I think graphics exposes work anyway
	in gdk/win32, but at least now the code could work.)

	(gdk_event_get_graphics_expose): Call handle_wm_paint() instead of
	gdk_event_translate(), which couldn't have worked as it doesn't
	take any pre-allocated GdkEvent parameter any longer.

	(gdk_event_translate): Handle WM_MOUSEACTIVATE: Don't let
	GDK_WINDOW_TEMP windows be activated. (#122578, John Ehresman)
2003-09-25 18:42:15 +00:00
Changwoo Ryu
34eb02133c Updated Korean translation.
* ko.po: Updated Korean translation.
2003-09-22 18:27:23 +00:00
Tor Lillqvist
d295f815c3 Don't use zip -r on the etc directory, to avoid including editor backup
2003-09-20  Tor Lillqvist  <tml@iki.fi>

	* gtk-zip.sh.in: Don't use zip -r on the etc directory, to avoid
	including editor backup files. List files we want explicitly.

	* gtk/gtkmain.c (_gtk_get_lc_ctype): New function. On Unix, just
	calls setlocale (LC_CTYPE, NULL). On Windows, looks for the
	LC_ALL, LC_CTYPE and LANG environment variables, than calls
	g_win32_getlocale().

	(gtk_get_default_language): Code snippet moved to above function,
	call it.

	* gtk/gtkimmulticontext.c (gtk_im_multicontext_get_slave)
	* gtk/gtkrc.c (gtk_rc_context_parse_file): Call
	_gtk_get_lc_ctype() instead of setlocale().
2003-09-20 23:43:13 +00:00
Christophe Merlet
713a2082bc Updated French translation. 2003-09-19 08:47:50 +00:00
Tor Lillqvist
ebf1ba229c Handle dead keysyms present on the US-International keyboard. For clarity,
2003-09-19  Tor Lillqvist  <tml@iki.fi>

	* gdk/win32/gdkkeys-win32.c (update_keymap): Handle dead keysyms
	present on the US-International keyboard. For clarity, order
	keysyms in case statement according to numeric value.

	(gdk_keymap_translate_keyboard_state): Handle Caps Lock
	correctly. (#120176, Ken Rastatter and Owen Taylor)
2003-09-19 00:25:07 +00:00
Danilo Šegan
e06c0895d3 Updated Serbian translation.
2003-09-18  Danilo Šegan  <dsegan@gmx.net>

	* sr.po, sr@Latn.po: Updated Serbian translation.
2003-09-18 20:51:44 +00:00
Alessio Frusciante
7dc1febb5c Updated Italian translation. 2003-09-18 20:38:43 +00:00
Changwoo Ryu
059685103b Updated Korean translation.
* ko.po: Updated Korean translation.
2003-09-14 17:09:57 +00:00
Tor Lillqvist
a71701709e Remove special-case code for WS_EX_TRANSPARENT (GDK_INPUT_ONLY) windows,
2003-09-14  Tor Lillqvist  <tml@iki.fi>

	* gdk/win32/gdkwindow-win32.c (show_window_internal): Remove
	special-case code for WS_EX_TRANSPARENT (GDK_INPUT_ONLY) windows,
	the usefulness of which was already in doubt. Removing it fixes
	bugs #118575 and #121851.
2003-09-14 13:37:35 +00:00
Jonathan Blandford
133c2bb168 only save the pressed button (used to determine if we want to initiate a
Fri Sep 12 16:32:53 2003  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_button_press): only save the
	pressed button (used to determine if we want to initiate a drag later
	on) if the current grab widget is either NULL or tree_view (Reported
	by Jeroen Zwartepoorte).
2003-09-12 14:43:36 +00:00
Jordi Mallach
915a79dc9c Re-add lots of lost messages in the last update. Sigh.
2003-09-08  Jordi Mallach  <jordi@sindominio.net>

	* ca.po: Re-add lots of lost messages in the last update. Sigh.
2003-09-08 21:37:35 +00:00
Nikos Charonitakis
071b47b9ff One more review for Greek translation 2003-09-08 14:23:58 +00:00
Laurent Dhima
22ab31501a Updated Albanian translation
* sq.po: Updated Albanian translation
2003-09-08 10:37:12 +00:00
Laurent Dhima
13609d4459 Updated 2003-09-08 10:34:32 +00:00
Jordi Mallach
4f904adeec Updated Catalan translation by Mireia Farrs <mifarrus@hotmail.com>. 2003-09-08 01:03:45 +00:00
Mugurel Tudor
6d4f02c96c *** empty log message *** 2003-09-06 20:59:18 +00:00
Fixed mis-translations for ja.po. T.Aihana
39d405164a 2003-09-06 Fixed mis-translations for ja.po. T.Aihana <aihana@gnome.gr.jp> 2003-09-06 09:13:23 +00:00
Tor Lillqvist
7eecef7a81 Remove spurious 'a' at start of comment line.
2003-09-05  Tor Lillqvist  <tml@iki.fi>

	* configure.in: Remove spurious 'a' at start of comment line.
2003-09-05 23:45:33 +00:00