Commit Graph

9776 Commits

Author SHA1 Message Date
Martin Willemoes Hansen
05ea39152c Updated Danish translation.
* da.po: Updated Danish translation.
2004-11-29 15:34:06 +00:00
Matthias Clasen
c61b0e4a07 Determine the direction of XKB groups from their content, not by looking
2004-11-29  Matthias Clasen  <mclasen@redhat.com>

	Determine the direction of XKB groups from their content,
	not by looking for hardcoded keymap names.  (#116626, patch by
	Behdad Esfahbod, based on an earlier patch by Ilya Konstantinov)

	* gdk/x11/gdkkeys-x11.c (struct _GdkKeymapX11): Cache directions
	for XKB groups.
	(get_direction): Determine direction of group by looking at
	directions of keysyms.
	(update_direction): Maintain the cache of group directions.
	(gdk_keymap_get_direction): Use update_direction().
2004-11-29 14:25:22 +00:00
Matthias Clasen
e08caa5bae Add dead_hook and dead_horn.
2004-11-29  Matthias Clasen  <mclasen@redhat.com>

	* gdk/gdkkeynames.c: Add dead_hook and dead_horn.

	* gdk/gdkkeysyms.h (GDK_dead_hook, GDK_dead_horn): Define
	these keysyms.  (#159739, Samuel Thibault)
2004-11-29 13:57:53 +00:00
Matthias Clasen
63d6202083 Mention subclassing, aliasing and supertypes.
2004-11-29  Matthias Clasen  <mclasen@redhat.com>

	* gtk/tmpl/gtkfilefilter.sgml: Mention subclassing, aliasing
	and supertypes.
2004-11-29 06:09:33 +00:00
Matthias Clasen
7346a00add Use the perl found by configure. (#149826, Morten Welinder)
2004-11-29  Matthias Clasen  <mclasen@redhat.com>

	* gtk/Makefile.am (gtkalias.h):
	* gdk/Makefile.am (gdkalias.h): Use the perl found by
	configure.  (#149826, Morten Welinder)
2004-11-29 05:45:38 +00:00
Manish Singh
b5096b15f1 ytpo fix, so attributes are really propagated.
Sun Nov 28 12:11:21 2004  Manish Singh  <yosh@gimp.org>

        * makegdkpixbufalias.pl: ytpo fix, so attributes are really
        propagated.
2004-11-28 20:12:46 +00:00
Adam Weinberger
e6aa305a0b Updated Canadian English translation.
* en_CA.po: Updated Canadian English translation.
2004-11-28 17:49:36 +00:00
Matthias Clasen
de33692b05 Add necessary libraries to make it compile with -no-undefined. (#159713,
2004-11-28  Matthias Clasen  <mclasen@redhat.com>

	* Makefile.am (LDADDS): Add necessary libraries to make
	it compile with -no-undefined.  (#159713, Robert Ögren)
2004-11-28 17:21:06 +00:00
Matthias Clasen
c50066b452 Mark as const.
2004-11-28  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkwidget.h (gtk_requisition_get_type):
	* gtk/gtktypeutils.h (gtk_identifier_get_type):
	* gtk/gtktexttag.h (gtk_text_attributes_get_type):
	* gtk/gtkstyle.h (gtk_border_get_type):
	* gtk/gtkfilesystemmodel.h (_gtk_file_system_model_get_type):
	* gtk/gtkfilechooserentry.h (_gtk_file_chooser_entry_get_type):
	* gtk/gtkfilechooserembed.h (_gtk_file_chooser_embed_get_type):
	* gtk/gtkfilechooserdefault.h (_gtk_file_chooser_default_get_type):
	* gtk/gtkaccelmap.h (gtk_accel_map_get_type): Mark as const.

	* gtk/gtk.symbols:
	* gtk/Makefile.am: Mark get_type() functions
	generated by glib-mkenums as const.
2004-11-28 07:02:27 +00:00
Matthias Clasen
fdec871410 Mark as const.
2004-11-28  Matthias Clasen  <mclasen@redhat.com>

	* gdk/gdkvisual.h (gdk_visual_get_type):
	* gdk/gdkscreen.h (gdk_screen_get_type):
	* gdk/gdkinput.h (gdk_device_get_type):
	* gdk/gdk.h (gdk_rectangle_get_type):
	* gdk/gdkfont.h (gdk_font_get_type):
	* gdk/gdkevents.h (gdk_event_get_type):
	* gdk/gdkdrawable.h (gdk_drawable_get_type):
	* gdk/gdkdisplay.h (gdk_display_get_type):
	* gdk/gdkcursor.h (gdk_cursor_get_type):
	* gdk/gdkcolor.h (gdk_color_get_type): Mark as const.

	* gdk/gdk.symbols:
	* gdk/Makefile.am (stamp-gdkenumtypes.h): Mark get_type() functions
	generated by glib-mkenums as const.
2004-11-28 06:45:52 +00:00
Matthias Clasen
29e9a7183a Mark get_type() functions generated by glib-mkenums as const.
2004-11-28  Matthias Clasen  <mclasen@redhat.com>

	* gdk-pixbuf.symbols:
	* Makefile.am: Mark get_type() functions generated by glib-mkenums
	as const.
2004-11-28 06:30:15 +00:00
Matthias Clasen
22ff56c753 Return a boolean indicating whether we could do the requested move.
2004-11-28  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktextview.c (gtk_text_view_move_iter_by_lines): Return
	a boolean indicating whether we could do the requested move.
	(gtk_text_view_move_cursor_internal): For GTK_MOVEMENT_DISPLAY_LINES,
	move to the beginning/end of the line if we're on the first/last
	line.  (#155891, Paolo Borelli)
2004-11-28 06:06:57 +00:00
Matthias Clasen
f22bb95581 Don't claim to have handled the accelerator if the action is insensitive.
2004-11-28  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkaction.c (closure_accel_activate): Don't claim to have
	handled the accelerator if the action is insensitive.  (#151541,
	Jody Goldberg)
2004-11-28 05:13:00 +00:00
Matthias Clasen
5e3426947f New image
2004-11-28  Matthias Clasen  <mclasen@redhat.com>

	* gtk/images/combo-box.png: New image

	* gtk/visual_index.xml:
	* gtk/Makefile.am (HTML_IMAGES): Add combo-box.png
2004-11-28 05:09:55 +00:00
Matthias Clasen
2925aee8be Implement keynav for the color picker (only on X11 currently, since GDK
2004-11-27  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcolorsel.c (key_press): Implement keynav for the color
	picker (only on X11 currently, since GDK doesn't support pointer
	warping). Space and Return pick a color, Esc cancels the picking,
	arrow keys move the pointer by single pixels, Alt-arrow combinations
	move the pointer by 20 pixels.  (#135385, Frances Keenan)
2004-11-28 04:38:18 +00:00
Matthias Clasen
f2cc776cc0 Add gdk/gdkpango.c. (pointed out by Marcel Telka)
2004-11-27  Matthias Clasen  <mclasen@redhat.com>

	* POTFILES.in: Add gdk/gdkpango.c.  (pointed out by
	Marcel Telka)
2004-11-28 04:03:29 +00:00
Manish Singh
79a042ab38 make proper casts in big endian cases.
Sat Nov 27 15:18:14 2004  Manish Singh  <yosh@gimp.org>

        * contrib/gdk-pixbuf-xlib/gdk-pixbuf-xlib-drawable.c
        (rgb565amsb, rgb555msb): make proper casts in big endian cases.
2004-11-27 23:19:03 +00:00
Matthias Clasen
19463a9409 Queue a layout. (#159436, Olivier Andrieu)
2004-11-26  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkiconview.c (gtk_icon_view_set_model):
	Queue a layout. (#159436, Olivier Andrieu)
2004-11-26 06:17:49 +00:00
Matthias Clasen
5b29d3d55e Check column types on the new model, and check them all. (#159389, Olivier
2004-11-26  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkiconview.c (gtk_icon_view_set_model): Check column types on the
	new model, and check them all.  (#159389, Olivier Andrieu)
2004-11-26 05:51:32 +00:00
Matthias Clasen
54c6743787 Don't crash if Xlib fails to return UTF-8. (#159373, Kristian Høgsberg)
2004-11-26  Matthias Clasen  <mclasen@redhat.com>

	* gdk/x11/gdkselection-x11.c (gdk_text_property_to_utf8_list_for_display):
	Don't crash if Xlib fails to return UTF-8. (#159373, Kristian Høgsberg)
2004-11-26 05:43:38 +00:00
Manish Singh
1d99ca890a gdk/abicheck.sh filter out G_GNUC stuff when doing the compare.
Thu Nov 25 14:32:35 2004  Manish Singh  <yosh@gimp.org>

        * gdk/abicheck.sh
        * gtk/abicheck.sh: filter out G_GNUC stuff when doing the compare.

        * gtk/gtkmenuitem.c (gtk_menu_shell_button_release): add
        GTK_MENU_ITEM() cast.
2004-11-25 22:35:52 +00:00
Manish Singh
3a666542f3 filter out G_GNUC stuff when doing the compare.
Thu Nov 25 14:21:37 2004  Manish Singh  <yosh@gi,p.org>

        * abicheck.sh: filter out G_GNUC stuff when doing the compare.
2004-11-25 22:22:10 +00:00
Kjartan Maraas
3ab0c4fc7b Add forgotten «nb» to ALL_LINGUAS. Update
2004-11-25  Kjartan Maraas  <kmaraas@gnome.org>

	* configure.in: Add forgotten «nb» to ALL_LINGUAS.
	* po-properties/nb.po: Update
2004-11-25 21:01:42 +00:00
Martin Willemoes Hansen
6f5d501c21 Updated Danish translation.
* da.po: Updated Danish translation.
2004-11-25 14:55:52 +00:00
Matthias Clasen
d54dedd752 Make it compile. 2004-11-24 18:01:21 +00:00
Matthias Clasen
56552a9d57 Initialize the parent field of the newly allocate list entry. (#159330,
2004-11-24  Matthias Clasen  <mclasen@redhat.com>

	* xdgmimeparent.c (_xdg_mime_parent_read_from_file):
	Initialize the parent field of the newly allocate list
	entry.  (#159330, Alex Larsson)
2004-11-24 16:04:07 +00:00
Miloslav Trmac
ec69f80e23 Updated Czech translation.
2004-11-24  Miloslav Trmac  <mitr@volny.cz>

	* cs.po: Updated Czech translation.
2004-11-24 12:10:28 +00:00
Martin Willemoes Hansen
7a3b117adc Updated Danish translation.
* da.po: Updated Danish translation.
2004-11-24 11:04:35 +00:00
Matthias Clasen
6be4d66566 Open submenus on click. (#128968, Martin Jeppesen)
2004-11-24  Matthias Clasen  <mclasen@redhat.com>

	Open submenus on click.  (#128968, Martin Jeppesen)

	* gtk/gtkmenushell.c (gtk_menu_shell_button_release): Don't
	activate items with submenus after the timeout, just select
	them.

	* gtk/gtkmenuitem.c (gtk_real_menu_item_select): Make
	submenus popup immediately on click, regardless of popup
	delay.
2004-11-24 05:32:40 +00:00
Matthias Clasen
25ee10fe5a Rework confusing error message. (#151742, Stepan Kasal)
2004-11-23  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Rework confusing error message.  (#151742,
	Stepan Kasal)
2004-11-24 04:49:01 +00:00
Matthias Clasen
b69987f217 Mark as const.
2004-11-23  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkuimanager.h (gtk_ui_manager_get_type):
	* gtk/gtktreeview.h (gtk_tree_view_get_type):
	* gtk/gtktreeviewcolumn.h (gtk_tree_view_column_get_type):
	* gtk/gtktreestore.h (gtk_tree_store_get_type):
	* gtk/gtktreeselection.h (gtk_tree_selection_get_type):
	* gtk/gtktreemodelfilter.h (gtk_tree_model_filter_get_type):
	* gtk/gtktreemodel.h (gtk_tree_iter_get_type):
	(gtk_tree_path_get_type):
	(gtk_tree_row_reference_get_type):
	* gtk/gtktoolitem.h (gtk_tool_item_get_type):
	* gtk/gtktoolbutton.h (gtk_tool_button_get_type):
	* gtk/gtktoggleaction.h (gtk_toggle_action_get_type):
	* gtk/gtkthemes.h (gtk_theme_engine_get_type):
	* gtk/gtktextiter.h (gtk_text_iter_get_type):
	* gtk/gtksettings.h (gtk_settings_get_type):
	* gtk/gtkselection.h (gtk_selection_data_get_type):
	* gtk/gtkradioaction.h (gtk_radio_action_get_type):
	* gtk/gtkmenutoolbutton.h (gtk_menu_tool_button_get_type):
	* gtk/gtkliststore.h (gtk_list_store_get_type):
	* gtk/gtkiconview.h (gtk_icon_view_get_type):
	* gtk/gtkicontheme.h (gtk_icon_info_get_type):
	* gtk/gtkiconfactory.h (gtk_icon_factory_get_type):
	(gtk_icon_set_get_type):
	(gtk_icon_source_get_type):
	* gtk/gtkfilesystemwin32.h (gtk_file_system_win32_get_type):
	* gtk/gtkfilesystemunix.h (gtk_file_system_unix_get_type):
	* gtk/gtkfilesystem.h (gtk_file_folder_get_type):
	(gtk_file_info_get_type, gtk_file_path_get_type):
	(gtk_file_system_get_type):
	* gtk/gtkfilefilter.h (gtk_file_filter_get_type):
	* gtk/gtkfilechooserwidget.h (gtk_file_chooser_widget_get_type):
	* gtk/gtkfilechooser.h (gtk_file_chooser_get_type):
	* gtk/gtkfilechooserdialog.h (gtk_file_chooser_dialog_get_type):
	* gtk/gtkexpander.h (gtk_expander_get_type):
	* gtk/gtkentrycompletion.h (gtk_entry_completion_get_type):
	* gtk/gtkcombobox.h (gtk_combo_box_get_type):
	* gtk/gtkcomboboxentry.h (gtk_combo_box_entry_get_type):
	* gtk/gtkclipboard.h (gtk_clipboard_get_type):
	* gtk/gtkcellview.h (gtk_cell_view_get_type):
	* gtk/gtkcellrenderertoggle.h (gtk_cell_renderer_toggle_get_type):
	* gtk/gtkcellrenderertext.h (gtk_cell_renderer_text_get_type):
	* gtk/gtkcellrendererprogress.h (gtk_cell_renderer_progress_get_type):
	* gtk/gtkcellrendererpixbuf.h (gtk_cell_renderer_pixbuf_get_type):
	* gtk/gtkcellrenderercombo.h (gtk_cell_renderer_combo_get_type):
	* gtk/gtkcelllayout.h (gtk_cell_layout_get_type):
	* gtk/gtkactiongroup.h (gtk_action_group_get_type):
	* gtk/gtkaction.h (gtk_action_get_type):
	* gtk/gtkaccessible.h (gtk_accessible_get_type):
	* gtk/gtkaccelmap.h (gtk_accel_map_get_type):
	* gtk/gtkaccelgroup.h (gtk_accel_group_get_type):
	* gtk/gtkmessagedialog.h (gtk_message_dialog_get_type): Mark as const.

	* gtk/gtkicontheme.h:  Don't mark gtk_icon_theme_error_quark()
	as const, to be consistent with all the other error_quark
	functions. (technically they are const, but since these are
	called only in error paths, giving the compiler better
	optimization opportunities doesn't matter much)

	* gtk/gtk.symbols:
	* gdk/gdk.symbols: Add attribute annotations.

	* gtk/makegtkalias.pl:
	* gdk/makegdkalias.pl: Keep attribute annotations, but strip PRIVATE.

	* gtk/Makefile.am (gtk.def):
	* gdk/Makefile.am (gdk.def): Strip attribute annotations, but keep
	PRIVATE.
2004-11-23 20:02:15 +00:00
Matthias Clasen
eeb0f9bcd3 Don't mark gdk_pixbuf_error_quark() as const, to be consistent with all
2004-11-23  Matthias Clasen  <mclasen@redhat.com>

	* gdk-pixbuf-core.h: Don't mark gdk_pixbuf_error_quark() as const,
	to be consistent with all the other error_quark functions.
	(technically they are const, but since these are called only
	in error paths, giving the compiler better optimization
	opportunities doesn't matter much)

	* gdk-pixbuf.symbols: Add attribute annotations.
	* makegdkpixbufalias.pl: Keep attribute annotations, but strip PRIVATE.
	* Makefile.am (gdk_pixbuf.def): Strip attribute annotations, but keep
	PRIVATE.
2004-11-23 19:54:41 +00:00
Matthias Clasen
5c47de587a Add a deprecation note.
2004-11-22  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktoolbar.c (gtk_toolbar_set_icon_size): Add a deprecation
	note.
2004-11-23 04:11:15 +00:00
Matthias Clasen
4448389cc7 Handle scroll events. (#159098, Felipe Heidrich)
2004-11-22  Matthias Clasen  <mclasen@redhat.com>

	* gdk/gdkevents.c (gdk_event_get_root_coords): Handle scroll
	events.  (#159098, Felipe Heidrich)
2004-11-23 03:58:59 +00:00
Francisco Javier F. Serrador
72411cdcc0 Updated Spanish translation.
2004-11-22  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* es.po: Updated Spanish translation.
2004-11-22 22:04:42 +00:00
Matthias Clasen
5ffa85e1f0 Make the size of the arrow depend only on the font size, not on the child
2004-11-22  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkmenuitem.c (gtk_menu_item_paint): Make the size of
	the arrow depend only on the font size, not on the child
	allocation.  (#131345, Morten Welinder)
2004-11-22 17:07:41 +00:00
Matthias Clasen
c77a880be9 Add bug reference 2004-11-22 16:35:06 +00:00
Matthias Clasen
3174808654 Require Pango 1.7.0 for PangoRenderer.
2004-11-22  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Require Pango 1.7.0 for PangoRenderer.
2004-11-22 16:25:29 +00:00
Martin Willemoes Hansen
df7ec3c194 Updated Danish translation.
* da.po: Updated Danish translation.
2004-11-22 14:44:41 +00:00
Funda Wang
df47d38564 Updated Simplified Chinese translation 2004-11-22 00:55:22 +00:00
Jordi Mallach
ed6b86f8bb Updated Catalan translation. 2004-11-22 00:47:31 +00:00
Funda Wang
55fd578bea Updated Simplified Chinese translation 2004-11-22 00:42:10 +00:00
Adam Weinberger
d802658794 Updated Canadian English translation.
* en_CA.po: Updated Canadian English translation.
2004-11-21 23:17:56 +00:00
Sven Neumann
edf273a2a5 removed call to gdk_pango_context_set_colormap() which isn't needed any
2004-11-21  Sven Neumann  <sven@gimp.org>

	* gtk/gtkwidget.c (gtk_widget_create_pango_context): removed call
	to gdk_pango_context_set_colormap() which isn't needed any longer.
2004-11-21 22:19:48 +00:00
David Lodge
6988f58c47 Updated British translation.
2004-11-21  David Lodge <dave@cirt.net>

        * en_GB.po: Updated British translation.
2004-11-21 21:43:07 +00:00
Hans Breuer
6a3a2cd344 updated
2004-11-21  Hans Breuer  <hans@breuer.org>

	* gdk/makefile.msc.in gtk/stock-icons/makefile.msc
	  gtk/makefile.msc.in demos/gtk-demo/makefile.msc.in : updated

	* gdk/win32/gdkdrawable-win32.c : implement gdk_win32_draw_glyphs_transformed()
	* gdk/win32/gdkgc-win32.c : implement _gdk_windowing_gc_get_foreground()

	* demos/gtk-demo/rotated_text.c : use G_PI
2004-11-21 21:01:28 +00:00
Ole Laursen
506b6c642e Fixed a couple of strings in the Danish translation.
2004-11-21  Ole Laursen  <olau@hardworking.dk>

	* da.po: Fixed a couple of strings in the Danish translation.
2004-11-21 16:58:28 +00:00
Owen Taylor
438e3e1ca1 Update for GdkPangoRenderer
Sat Nov 20 16:01:51 2004  Owen Taylor  <otaylor@redhat.com>

        * gdk/gdk-sections.txt gdk/gdk.types : Update for GdkPangoRenderer
        * gdk/Makefile.am gdk/images/rotated-text.png:

        * gdk/tmpl/pango_interaction.sgml: Add a long
        description and an extensive example (more or less the same as
        demos/gtk-demo/rotated_text.c)
2004-11-21 16:24:58 +00:00
Owen Taylor
9cdd597f09 Commit the ChangeLog entry 2004-11-21 16:24:43 +00:00
Owen Taylor
3d737ee8ba Add GdkPangoRenderer, a subclass of PangoRenderer targeting GDK drawables.
Sat Nov 20 15:13:51 2004  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkpango.[ch]: Add GdkPangoRenderer, a subclass of
	PangoRenderer targeting GDK drawables. Use to implement the old
	gdk_draw_layout() and friends.

	* gdk/gdkdraw.c gdk/gdkdrawable.h gdk/gdkwindow.c gdk/gdkpixmap.c:
	Add gdk_draw_glyphs_transformed() gdk_draw_trapezoids() and
	the corresponding members of GdkDrawableClass. Add a fallback
	implementation of gdk_draw_trapezoids() in terms of pixbufs.

	* gdk/gdkwindowing.h gdk/x11/gdkg-x11.h: Add
	_gdk_windowing_gc_get_foreground() to enable the fallback
	trapezoid implementation.

	* gdk/x11/gdkdrawable-x11.c gdk/x11/gdkdisplay-x11.h: Implement
	draw_glyph_transformed,	draw_trapezoids.

	* gdk/x11/gdkdrawable-x11.[ch]: Add
	_gdk_x11_drawable_draw_xtrapezoids, _gdk_x11_drawable_draw_xft_glyphs
	for use of GdkX11Renderer.

	* gdk/x11/gdkgc-x11.c gdk/x11/gdkprivate-x11.h: Implement
	GDK_TILED, GDK_STIPPLED, GDK_OPAQUE_STIPPLED in the RENDER codepath.

	* gdk/gdkpango-x11.c: Add GdkX11Renderer... a subclass of
	PangoXftRenderer that does tiles/stipples and fallback rendering
	of trapezoids without the RENDER extension.

	* gdk/gdkpango-x11.c gdk/x11/gdkscreen-x11.[ch] _gdk_x11_renderer_get:
	Add _gdk_x11_renderer_get() to get a singleton GdkX11Renderer
	for the screen.

	* gdk/x11/gdkdrawable-x11.c (get_impl_drawable): Fix a None/NULL
	confusion.

	* gtk/gtklabel.[ch] gtk/gtk.symbols: Add gtk_label_set/get_angle(),
	and an ::angle property.

	* gtk/gtklabel.c: Remove #if 0'd dead code gtk_label_paint_word().

	* gtk/gtktextdisplay.c: Switch to using a GtkTextRenderer subclass
	of GdkPangoRenderer for drawing.

	* gtk/gtktextlayout.[ch] gtk/gtktextdisplay.c: Switch to using
	gtk_attr_shape_new_with_data() to store backreferences to
	embedded pixmaps and widgets. Leave line_display->shaped_objects
	around for backwords compatibility.

	* gdk/gdkpango.[ch] (gdk_pango_context_set_colormap): Describe
	as deprecated, remove implementation.

	* gtk/gtkwidget.c (gtk_widget_create_pango_context): Remove
	call to gdk_pango_context_set_colormap.

	* demos/gtk-demo/Makefile.am demos/gtk-demo/rotated_text.c: Add
	a demo showing drawing rotated text.

	* tests/testgtk.c: Add a rotated-label test, and also a rotated
	drawing test (differs from demos/gtk-demo/rotated_text by also
	using a tile)
2004-11-21 16:24:01 +00:00