Commit Graph

8663 Commits

Author SHA1 Message Date
Matthias Clasen
0baea96ec6 Make sure the static string is long enough. (#136323, Morten Welinder)
Fri Apr 30 00:19:11 2004  Matthias Clasen  <maclas@gmx.de>

	* xdgmimemagic.c (_xdg_mime_magic_read_a_number): Make sure
	the static string is long enough.  (#136323, Morten Welinder)
2004-04-30 04:21:42 +00:00
Federico Mena Quintero
6631943388 Fixes #140412.
2004-04-29  Federico Mena Quintero  <federico@ximian.com>

	Fixes #140412.

	* gtk/gtkfilechooserdefault.c (remove_selected_bookmarks): New
	function; moved the code over from
	remove_bookmark_button_clicked_cb().
	(remove_selected_bookmarks): Now, getting a non-removable bookmark
	is not an error, as we may be called as a result of hitting the
	Delete key.
	(shortcuts_key_press_event_cb): New handler; delete the bookmark
	if the user presses Backspace, Delete, or KP_Delete.
2004-04-29 23:13:50 +00:00
Matthias Clasen
40532b0d45 Use _gtk_action_emit_activate() instead of directly emitting the activate
2004-04-29  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkaction.c (closure_accel_activate): Use
	_gtk_action_emit_activate() instead of directly
	emitting the activate signal.  (#141429, Jody Goldberg)

	* gtk/gtkactiongroup.c (gtk_action_group_add_action_with_accel):
	Warn people when the accelerator can not be
	parsed.  (#141429, Jody Goldberg)
2004-04-29 21:36:30 +00:00
Federico Mena Quintero
e28adbacc7 Added an .gtkrc-2.0 example of how to actually change the key bindings.
2004-04-29  Federico Mena Quintero  <federico@ximian.com>

	* gtk/tmpl/gtkfilechooser.sgml: Added an .gtkrc-2.0 example of how
	to actually change the key bindings.
2004-04-29 21:13:12 +00:00
Matthias Clasen
3f571c18e4 Add a missing cat. (#141070, Chris Sherlock)
2004-04-29  Matthias Clasen  <mclasen@redhat.com>

	* tests/testentrycompletion.c (main): Add a missing
	cat.  (#141070, Chris Sherlock)

	* gtk/gtkrc.c (gtk_rc_check_pixmap_dir): Remove unused
	variable.  (#141022, Chris Sherlock)

	* gtk/gtkcombo.c (gtk_combo_popup_list): Add a missing
	cast.  (#141013, Chris Sherlock)

	* gtk/gtkcellview.c (gtk_cell_view_cell_layout_clear): Remove
	unused variable.  (#141011, Chris Sherlock)
2004-04-29 14:12:20 +00:00
Tor Lillqvist
f215db2b12 Plug memory leak. (#140775, John Ehresman)
2004-04-29  Tor Lillqvist  <tml@iki.fi>

	* gdk/win32/gdkgc-win32.c (gdk_win32_gc_set_dashes): Plug memory
	leak. (#140775, John Ehresman)
2004-04-29 10:06:12 +00:00
Matthias Clasen
08580edf16 Use depth - 1 to index the cached gcs, not depth. (#139494)
Thu Apr 29 01:09:50 2004  Matthias Clasen  <maclas@gmx.de>

	* gdk/gdkdraw.c (_gdk_drawable_get_scratch_gc): Use depth - 1
	to index the cached gcs, not depth.  (#139494)
2004-04-29 05:14:52 +00:00
Matthias Clasen
65c0f1460a Docs typo fix.
2004-04-28  Matthias Clasen  <mclasen@redhat.com>

	* gdk/gdkdraw.c (_gdk_drawable_get_scratch_gc): Docs typo fix.
2004-04-28 20:02:13 +00:00
Andras Timar
8f0ef1b00e Updated Hungarian translation.
2004-04-27  Andras Timar  <timar@gnome.hu>

	* hu.po: Updated Hungarian translation.
2004-04-27 15:19:06 +00:00
Jordi Mallach
24cd813ef3 Updated Catalan translation. 2004-04-27 11:24:56 +00:00
Christian Neumair
d4bbe8978e Updated German translation. 2004-04-25 15:34:43 +00:00
Soeren Sandmann
d20ae319fd Fix cut'n'paste-o from previous commit. (#141046, Torsten Schoenfeld).
Sun Apr 25 15:36:02 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

	* gtk/gtktoolbutton.c (gtk_tool_button_set_label_widget): Fix
	cut'n'paste-o from previous commit. (#141046, Torsten Schoenfeld).
2004-04-25 13:42:59 +00:00
Kostas Papadimas
3054d1d8c3 Updated the Greek translation 2004-04-25 08:59:12 +00:00
Christophe Merlet
b9204f0109 Updated French translation. 2004-04-24 19:44:59 +00:00
Francisco Javier F. Serrador
40a6f419a9 Updated Spanish translation.
2004-04-24  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* es.po: Updated Spanish translation.
2004-04-24 12:06:47 +00:00
Theppitak Karoonboonyanan
a80780e78f Minor typo in previous commit. 2004-04-24 10:04:12 +00:00
Theppitak Karoonboonyanan
eecb33d6b0 Patch to add support for string conversion callbacks to
GtkIMContextXIM (#101814)
2004-04-24 09:58:48 +00:00
Updated ja.po. T.Aihana
d517de5f91 2004-04-24 Updated ja.po. T.Aihana <aihana@gnome.gr.jp> 2004-04-24 01:36:28 +00:00
Matthias Clasen
475c0e74f8 Correctly initialize targets. (#139883, John Finlay)
2004-04-23  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkclipboard.c (gtk_clipboard_wait_for_targets): Correctly
	initialize targets.  (#139883, John Finlay)
2004-04-23 20:01:53 +00:00
Matthias Clasen
34265f4f09 Remove excessive casts from examples. (#139387, Olexiy Avramchenko)
2004-04-23  Matthias Clasen  <mclasen@redhat.com>

	* gtk/tmpl/gtkdialog.sgml:
	* gtk/tmpl/gtkeditable.sgml:
	* gtk/tmpl/gtkfilesel.sgml:
	* gtk/tmpl/gtkmain.sgml:
	* gtk/tmpl/gtkmenu.sgml:
	* gtk/tmpl/gtkmessagedialog.sgml:
	* gtk/tmpl/gtktogglebutton.sgml: Remove excessive
	casts from examples.  (#139387, Olexiy Avramchenko)
2004-04-23 19:48:08 +00:00
Matthias Clasen
93853344ce Small doc improvement.
2004-04-23  Matthias Clasen  <mclasen@redhat.com>

	* gdk/gdkdraw.c (gdk_draw_drawable): Small doc improvement.
2004-04-23 19:39:34 +00:00
Matthias Clasen
2dc2629c07 Don't recommend gtk_tree_row_reference_new_proxy(). (#138309, Tim-Philipp
2004-04-23  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeselection.c (gtk_tree_selection_get_selected_rows):
	Don't recommend gtk_tree_row_reference_new_proxy().  (#138309,
	Tim-Philipp Müller)
2004-04-23 19:06:02 +00:00
Matthias Clasen
3d942d7d16 Remove an excessive g_return_if_fail().
2004-04-23  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_set_cell_data):
	Remove an excessive g_return_if_fail().
2004-04-23 18:40:08 +00:00
Matthias Clasen
5ba2af8b10 Fix an example. (#138966, Tim-Philipp Müller)
2004-04-23  Matthias Clasen  <mclasen@redhat.com>

	* gtk/migrating-GtkAction.sgml: Fix an example.
	(#138966, Tim-Philipp Müller)
2004-04-23 18:04:38 +00:00
Matthias Clasen
f6fbb36d3b Document the only_if_exists argument to gdk_atom_intern() as ignored.
2004-04-23  Matthias Clasen  <mclasen@redhat.com>

	* gdk/tmpl/properties.sgml: Document the only_if_exists argument
	to gdk_atom_intern() as ignored.
2004-04-23 15:44:04 +00:00
Matthias Clasen
b139a59978 Make set_user_time() static. _-prefix calls of
2004-04-23  Matthias Clasen  <mclasen@redhat.com>

	* gdk/x11/gdkevents-x11.c (set_user_time): Make set_user_time()
	static.
	* gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event):
	_-prefix calls of gdk_x11_window_set_user_time().
2004-04-23 13:03:56 +00:00
Matthias Clasen
3b79c66136 Make sure the separators used to demarkate placeholder ends don't show up
2004-04-22  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkuimanager.c (update_node): Make sure the separators
	used to demarkate placeholder ends don't show up on
	show_all().  (#140496, Murray Cumming)
2004-04-22 18:04:05 +00:00
Matthias Clasen
171d43b206 Make spinbuttons work with negative increments. (#137975, Tim Gerla)
2004-04-22  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkspinbutton.c (spin_button_at_limit): Make spinbuttons
	work with negative increments.  (#137975, Tim Gerla)
2004-04-22 13:49:27 +00:00
Soeren Sandmann
a92c54108e Remove the old widget from the tool button before overwriting it with the
Wed Apr 21 21:38:03 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

	* gtk/gtktoolbutton.c (gtk_tool_button_set_label_widget,
	gtk_tool_button_set_icon_widget): Remove the old widget from the
	tool button before overwriting it with the new widget.

	(#140508, Todd Goyen)
2004-04-22 10:52:32 +00:00
Tor Lillqvist
215cabd938 Fix the file chooser on Windows. I can't make it misbehave or crash any
2004-04-22  Tor Lillqvist  <tml@iki.fi>

	Fix the file chooser on Windows. I can't make it misbehave or
	crash any more now. But presumably there are still corner cases
	not handled. I haven't really checked behaviour of UNC paths, for
	instance.

	* gtk/gtkfilesystemwin32.c: Accept both backslash and slash in
	several places. Use G_IS_DIR_SEPARATOR macro (which could be added
	to GLib in 2.6).

	(gtk_file_system_win32_get_parent): Like the Unix version, assert
	filename is absolute, and avoid one unnecessary string allocation
	and freeing.

	(canonicalize_filename,gtk_file_system_win32_parse): Handle drive
	letters more correctly.

	(gtk_file_system_win32_render_icon): Assure correct syntax is used
	for root folder of a drive. (#137962, Morten Welinder)

	(filename_is_some_root): New function that accepts also root
	without any drive specified.

	(filename_is_drive_root): Rename from filename_is_root.

	* gtk/gtkfilechooserentry.c (completion_match_func): Casefold on
	Windows.
2004-04-22 05:08:19 +00:00
Matthias Clasen
5a8701523c Pop down the completion window if there are no completions anymore.
2004-04-21  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkentry.c (gtk_entry_completion_timeout): Pop down the
	completion window if there are no completions anymore.
2004-04-21 22:08:08 +00:00
Matthias Clasen
c4ed9dc78c Don't call gtk_tree_view_scroll_to_cell() on an empty tree view. It
2004-04-21  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
	Don't call gtk_tree_view_scroll_to_cell() on an empty tree view.
	It doesn't like that.  (#140642, Christian Persch)
2004-04-21 21:47:53 +00:00
Matthias Clasen
8d30ad2838 A new demo.
2004-04-21  Matthias Clasen  <mclasen@redhat.com>

	* demos/gtk-demo/expander.c (do_expander): A new demo.

	* demos/gtk-demo/Makefile.am (demos): Add expander.c.
2004-04-21 17:52:33 +00:00
Matthias Clasen
4d74836ad0 Add GtkFileChooserEmbed to a Private section, so gtk-doc can strip it out
2004-04-21  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk-sections.txt: Add GtkFileChooserEmbed to a
	Private section, so gtk-doc can strip it out of the hierarchy.
2004-04-21 14:13:34 +00:00
Dmitry Mastrukov
c32a55a182 ru.po: Updated Russian translation from Russian team <gnome-cyr@gnome.org>. 2004-04-21 13:15:39 +00:00
Matthias Clasen
ea54ff623e Don't scroll to cursor position if we already have pending scrolls.
2004-04-20  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktextview.c (gtk_text_view_scroll_pages):
	(gtk_text_view_scroll_hpages): Don't scroll to cursor position
	if we already have pending scrolls. Bandaid fix for #78513.
2004-04-20 13:56:45 +00:00
Matthias Clasen
2f49fbd6cd Make sure anchored children get size allocated, even if the layout is
2004-04-20  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktextview.c (gtk_text_view_allocate_children): Make
	sure anchored children get size allocated, even if the layout
	is valid.  (#122323, Andrew E. Makeev)
2004-04-20 13:50:19 +00:00
John C Barstow
ca5188c4f2 mi.po: Updated Maori translation 2004-04-20 08:20:32 +00:00
Owen Taylor
5db67b8ba2 Update libpng and libjpeg URLs, remove note about building without since
Mon Apr 19 17:59:17 2004  Owen Taylor  <otaylor@redhat.com>

        * INSTALL.in: Update libpng and libjpeg URLs, remove
        note about building without since that's not the normal
        case.

Sun Apr 11 09:45:11 2004  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkicontheme.c (load_themes): Fix a couple of typos in
        handling of SVG/non-SVG unthemed icons.
2004-04-19 22:01:57 +00:00
Morten Welinder
cfe7b384bc Don't leak list of children. (#140523)
2004-04-19  Morten Welinder  <terra@gnome.org>

	* gtk/gtktoolbar.c (gtk_toolbar_focus): Don't leak list of
	children.  (#140523)
2004-04-19 19:52:45 +00:00
Matthias Clasen
0dc58fb24d Don't stop the iteration up to the tag_root too early. (#109945, Dongho
2004-04-19  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktextbtree.c (_gtk_text_line_previous_could_contain_tag):
	Don't stop the iteration up to the tag_root too
	early.  (#109945, Dongho Shin)
2004-04-19 16:17:01 +00:00
Zygimantas Berucka
0ad220842b Updated Lithuanian translation.
2004-04-19  Zygimantas Berucka  <uid0@akl.lt>

* lt.po: Updated Lithuanian translation.
2004-04-19 13:37:00 +00:00
Sami Pesonen
c326b1174a Finnish translation updated by Sami Pesonen <sampeson@iki.fi> 2004-04-18 21:02:34 +00:00
Soeren Sandmann
8340991b7d Make gdk_keymap_translate_keyboard_state() handle NULL keymaps. (#139715,
Sun Apr 18 17:06:03 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

	* gdk/x11/gdkkeys-x11.c (get_effective_keymap): Make
	gdk_keymap_translate_keyboard_state() handle NULL
	keymaps. (#139715, Torsten Schoenfeld).
2004-04-18 15:10:59 +00:00
Soeren Sandmann
79bc80feab Don't erase GDK_EXTRA_CFLAGS. Fixes bug 139586, reported by Pedro
Sun Apr 18 16:59:21 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

	* configure.in: Don't erase GDK_EXTRA_CFLAGS. Fixes bug 139586,
	reported by Pedro RODRIGUEZ, about compilation problems when
	Xcursor is installed in a non-standard location.
2004-04-18 15:04:17 +00:00
Soeren Sandmann
730da6f84c Support for _NET_WM_USER_TIME (bug 115650). Patch by Elijah Newren.
Sun Apr 18 16:15:15 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

	Support for _NET_WM_USER_TIME (bug 115650). Patch by Elijah
	Newren.

	* gdk/x11/gdkwindow-x11.[ch]: Add new internal function
	_gdk_x11_set_user_time() to set the _NET_WM_USER_TIME property.

	* gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): Add user_time field

	* gdk/x11/gdkdisplay-x11.c: Add _NET_WM_USER_TIME to list of
	precached atoms.

	* gdk/x11/gdkinput-x11.c, gdk/x11/gdkevents-x11.c: Set the
	property on user interaction.
2004-04-18 14:33:07 +00:00
Vincent van Adrighem
401b88b210 Translation updated by Tino Meinen.
2004-04-18  Vincent van Adrighem  <adrighem@gnome.org>

	* nl.po: Translation updated by Tino Meinen.
2004-04-18 14:24:16 +00:00
Evandro Fernandes Giovanini
faa6b6bdc9 Updated Brazilian Portuguese translation from Raphael Higino
2004-04-18  Evandro Fernandes Giovanini  <evandrofg@ig.com.br>

        * pt_BR.po: Updated Brazilian Portuguese translation
        from Raphael Higino <raphaelh@uai.com.br>.
2004-04-18 04:09:01 +00:00
Mətin Əmirov
e13e3eb56c Translation updated.
2004-04-17  Mətin Əmirov  <metin@karegen.com>

	* az.po: Translation updated.
2004-04-17 19:46:22 +00:00
Danilo Šegan
a1851e33db Commit the Latin version as well, you schmuck\! 2004-04-17 17:15:17 +00:00