]> Pileus Git - ~andy/gtk/log
~andy/gtk
19 years agoUpdate for GdkPangoRenderer
Owen Taylor [Sun, 21 Nov 2004 16:24:58 +0000 (16:24 +0000)]
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)

19 years agoCommit the ChangeLog entry
Owen Taylor [Sun, 21 Nov 2004 16:24:43 +0000 (16:24 +0000)]
Commit the ChangeLog entry

19 years agoAdd GdkPangoRenderer, a subclass of PangoRenderer targeting GDK drawables.
Owen Taylor [Sun, 21 Nov 2004 16:24:01 +0000 (16:24 +0000)]
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)

19 years agoHungarian translation updated.
Laszlo Dvornik [Sun, 21 Nov 2004 14:36:45 +0000 (14:36 +0000)]
Hungarian translation updated.

2004-11-21  Laszlo Dvornik  <dvornik@gnome.hu>

* hu.po: Hungarian translation updated.

19 years agotalk about TIFF loader, not TIFF plug-in.
Sven Neumann [Sun, 21 Nov 2004 12:37:11 +0000 (12:37 +0000)]
talk about TIFF loader, not TIFF plug-in.

2004-11-21  Sven Neumann  <sven@gimp.org>

* configure.in: talk about TIFF loader, not TIFF plug-in.

19 years agoProvide a non-varargs variant of gtk_dialog_set_alternative_button_order()
Matthias Clasen [Sun, 21 Nov 2004 04:57:23 +0000 (04:57 +0000)]
Provide a non-varargs variant of gtk_dialog_set_alternative_button_order()

2004-11-20  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtk.symbols:
* gtk/gtkdialog.h:
* gtk/gtkdialog.c (gtk_dialog_set_alternative_button_order_from_array):
Provide a non-varargs variant of gtk_dialog_set_alternative_button_order()
for language bindings.  (#158798, John Finlay)

19 years agoProvide a non-varargs variant of gtk_dialog_set_alternative_button_order()
Matthias Clasen [Sun, 21 Nov 2004 04:55:37 +0000 (04:55 +0000)]
Provide a non-varargs variant of gtk_dialog_set_alternative_button_order()

2004-11-20  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkdialog.h:
* gtk/gtkdialog.c (gtk_dialog_set_alternative_button_order_from_array):
Provide a non-varargs variant of gtk_dialog_set_alternative_button_order()
for language bindings.  (#158798, John Finlay)

19 years agoUpdated Bulgarian translation by Vladimir Petkov <vpetkov@i-space.org>
Alexander Shopov [Sat, 20 Nov 2004 16:07:48 +0000 (16:07 +0000)]
Updated Bulgarian translation by Vladimir Petkov <vpetkov@i-space.org>

2004-11-20  Alexander Shopov  <ash@contact.bg>

        * bg.po: Updated Bulgarian translation by
        Vladimir Petkov <vpetkov@i-space.org>

19 years agoUpdated Albanian translation.
Laurent Dhima [Sat, 20 Nov 2004 15:32:42 +0000 (15:32 +0000)]
Updated Albanian translation.

2004-11-20  Laurent Dhima  <laurenti@alblinux.net>

* sq.po: Updated Albanian translation.

19 years agoMerged from gtk-2-4:
Federico Mena Quintero [Sat, 20 Nov 2004 06:21:30 +0000 (06:21 +0000)]
Merged from gtk-2-4:

2004-11-20  Federico Mena Quintero  <federico@ximian.com>

Merged from gtk-2-4:

* gtk/gtkfilechooserdefault.c (list_icon_data_func): Set an empty
icon if we are on the editable row:  if we don't set the cell
renderer at all, it will reuse the last thing it painted.

19 years agoMerged from gtk-2-4:
Federico Mena Quintero [Sat, 20 Nov 2004 04:52:57 +0000 (04:52 +0000)]
Merged from gtk-2-4:

2004-11-19  Federico Mena Quintero  <federico@ximian.com>

Merged from gtk-2-4:

Fix #158475:

* gtk/gtkpathbar.c (make_directory_button): Make the button a drag
source.
(button_drag_data_get_cb): New callback to let us drag the
button's path as a text/uri-list.

19 years agoMerged from gtk-2-4:
Federico Mena Quintero [Sat, 20 Nov 2004 02:00:45 +0000 (02:00 +0000)]
Merged from gtk-2-4:

2004-11-19  Federico Mena Quintero  <federico@ximian.com>

Merged from gtk-2-4:

Fix #141077.  Based on a patch by Christian Neumair <chris@gnome-de.org>:

* gtk/gtkfilechooserdefault.c (new_folder_button_clicked):
Desensitize the "new folder" button.
(edited_idle_cb): Sensitize the button back.

19 years agoMerged from gtk-2-4:
Federico Mena Quintero [Sat, 20 Nov 2004 01:39:26 +0000 (01:39 +0000)]
Merged from gtk-2-4:

2004-11-19  Federico Mena Quintero  <federico@ximian.com>

Merged from gtk-2-4:

Fix #158477:

* gtk/gtkfilechooserdefault.c (struct _GtkFileChooserDefault):
Remove the "save_extra_align" and "browse_extra_align" fields; use
a single "extra_align" field.
(save_widgets_create): Don't create the save_extra_align.
(browse_widgets_create): Don't create the browse_extra_align.
(gtk_file_chooser_default_constructor): Create the extra_align
here.
(set_extra_widget): Add the extra widget to the alignment here,
and remove the old one if necessary.
(update_appearance): No need to frob the extra widget's alignments
anymore.
(gtk_file_chooser_default_set_property): No need to call
update_appearance() anymore when we set the extra widget.

2004-11-19  Federico Mena Quintero  <federico@ximian.com>

Merged from gtk-2-4:

* gtk/gtkfilechooserdefault.c
(gtk_file_chooser_default_initial_focus): Don't set the cursor if
we are still loading.

19 years agoMerged from gtk-2-4:
Federico Mena Quintero [Sat, 20 Nov 2004 00:17:30 +0000 (00:17 +0000)]
Merged from gtk-2-4:

2004-11-18  Federico Mena Quintero  <federico@ximian.com>

Merged from gtk-2-4:

Fixes #155744:

Try to load the whole file system model within a specified time.

* gtk/gtkfilechooserdefault.c (set_list_model): Don't create and
set the sort model here.  Instead, set up a timer in which we'll
try to load the file system model.
(load_set_model): Create and set the sort model here.
(load_setup_timer): New function to set up a timer and switch to
the LOAD_LOADING state.
(load_remove_timer): New function to unset the timer and switch to
the LOAD_FINISHED state.
(browse_files_model_finished_loading_cb): Remove the timer if
needed and set the file system and sort model; switch to the
LOAD_FINISHED state.
(gtk_file_chooser_default_finalize): Remove the load timer.
(gtk_file_chooser_default_init): Start in the LOAD_FINISHED state.

19 years agomodules/engines/ms-windows/msw_rc_style.c
Manish Singh [Fri, 19 Nov 2004 23:30:47 +0000 (23:30 +0000)]
modules/engines/ms-windows/msw_rc_style.c

Fri Nov 19 15:18:51 2004  Manish Singh  <yosh@gimp.org>

        * modules/engines/ms-windows/msw_rc_style.c
        * modules/engines/ms-windows/msw_style.c
        * modules/engines/ms-windows/msw_theme_main.c
        * modules/engines/pixbuf/pixbuf-main.c
        * modules/engines/pixbuf/pixbuf-rc-style.c
        * modules/input/gtkimcontextime.c
        * modules/input/gtkimcontextxim.c
        * modules/input/imam-et.c
        * modules/input/imcedilla.c
        * modules/input/imcyrillic-translit.c
        * modules/input/iminuktitut.c
        * modules/input/imipa.c
        * modules/input/imthai-broken.c
        * modules/input/imti-er.c
        * modules/input/imti-et.c
        * modules/input/imviqr.c
        * tests/prop-editor.c
        * tests/testentrycompletion.c
        * tests/testfilechooser.c
        * tests/testmerge.c
        * tests/testtoolbar.c
        * tests/testtreecolumns.c
        * tests/testtreeview.c: get rid of unnecessary casts.

        * tests/testgtk.c (create_labels): add GTK_LABEL() casts for
        gtk_label_set_ellipsize() calls.

        * tests/testicontheme.c (main): remove unused pixbuf variable.

19 years agogdk/linux-fb/gdkgc-fb.c gdk/win32/gdkgc-win32.c
Manish Singh [Fri, 19 Nov 2004 23:18:38 +0000 (23:18 +0000)]
gdk/linux-fb/gdkgc-fb.c gdk/win32/gdkgc-win32.c

Fri Nov 19 14:54:09 2004  Manish Singh  <yosh@gimp.org>

        * gdk/linux-fb/gdkgc-fb.c
        * gdk/win32/gdkgc-win32.c
        * gdk/win32/gdkwindow-win32.c
        * gtk/gtkaboutdialog.c
        * gtk/gtkaction.c
        * gtk/gtkactiongroup.c
        * gtk/gtkcellrendererprogress.c
        * gtk/gtkcellview.c
        * gtk/gtkcolorbutton.c
        * gtk/gtkcombobox.c
        * gtk/gtkcomboboxentry.c
        * gtk/gtkentrycompletion.c
        * gtk/gtkfilechooserbutton.c
        * gtk/gtkmenutoolbutton.c
        * gtk/gtkrc.c
        * gtk/gtksettings.c
        * gtk/gtkstyle.c
        * gtk/gtktoggletoolbutton.c
        * gtk/gtktoolbutton.c
        * gtk/gtktoolitem.c
        * gtk/gtktreemodelfilter.c
        * gtk/gtktreeselection.c
        * gtk/gtktreeviewcolumn.c
        * gtk/gtkuimanager.c: get rid of unnecessary casts.

        * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_set_property):
        cast away the const for g_value_set_enum. This is after the g_warning,
        so this is a hack to begin with.

        * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_set_property):
        add a cast to GTK_FILE_CHOOSER for impl here.

19 years agoDon't put /* within a comment.
Manish Singh [Fri, 19 Nov 2004 23:16:14 +0000 (23:16 +0000)]
Don't put /* within a comment.

Fri Nov 19 15:10:32 2004  Manish Singh  <yosh@gimp.org>

        * xdgmime.c: Don't put /* within a comment.

19 years agorm autom4te.cache, since it might interfere with differing autoconf
Manish Singh [Fri, 19 Nov 2004 22:53:46 +0000 (22:53 +0000)]
rm autom4te.cache, since it might interfere with differing autoconf

Fri Nov 19 14:52:42 2004  Manish Singh  <yosh@gimp.org>

        * autogen.sh: rm autom4te.cache, since it might interfere with
        differing autoconf versions.

19 years agoAdded "rw" to ALL_LINGUAS. Added Kinyarwanda translation by Steve Murphy
Christian Rose [Fri, 19 Nov 2004 16:08:17 +0000 (16:08 +0000)]
Added "rw" to ALL_LINGUAS. Added Kinyarwanda translation by Steve Murphy

2004-11-19  Christian Rose  <menthos@menthos.com>

* configure.in: Added "rw" to ALL_LINGUAS.
* po/rw.po, po-properties/rw.po: Added Kinyarwanda
translation by Steve Murphy <murf@e-tools.com>.

19 years agoRe-add the #include
Matthias Clasen [Fri, 19 Nov 2004 04:23:08 +0000 (04:23 +0000)]
Re-add the #include

19 years agoSort alphabetically, add gtk_clipboard_get_type
Matthias Clasen [Fri, 19 Nov 2004 02:04:46 +0000 (02:04 +0000)]
Sort alphabetically, add gtk_clipboard_get_type

2004-11-18  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtk.types: Sort alphabetically, add gtk_clipboard_get_type

19 years agoUpdated Canadian English translation.
Adam Weinberger [Thu, 18 Nov 2004 23:47:06 +0000 (23:47 +0000)]
Updated Canadian English translation.

* en_CA.po: Updated Canadian English translation.

19 years agoDestroy the correct data. (#158522, John Finlay)
Matthias Clasen [Wed, 17 Nov 2004 22:38:38 +0000 (22:38 +0000)]
Destroy the correct data. (#158522, John Finlay)

2004-11-17  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkaboutdialog.c (gtk_about_dialog_set_email_hook)
(gtk_about_dialog_set_url_hook): Destroy the correct
data.  (#158522, John Finlay)

19 years agoUpdated Czech translation.
Miloslav Trmac [Wed, 17 Nov 2004 10:32:10 +0000 (10:32 +0000)]
Updated Czech translation.

2004-11-17  Miloslav Trmac  <mitr@volny.cz>

* cs.po: Updated Czech translation.

19 years agoUse gmodule-no-export-2.0.pc, require glib 2.5.7 (#125627, Owen Taylor)
Matthias Clasen [Wed, 17 Nov 2004 04:54:32 +0000 (04:54 +0000)]
Use gmodule-no-export-2.0.pc, require glib 2.5.7 (#125627, Owen Taylor)

2004-11-16  Matthias Clasen  <mclasen@redhat.com>

* configure.in: Use gmodule-no-export-2.0.pc, require glib 2.5.7
(#125627, Owen Taylor)

19 years agoFix a stupid oversight.
Matthias Clasen [Wed, 17 Nov 2004 01:21:16 +0000 (01:21 +0000)]
Fix a stupid oversight.

19 years agoSquash strict aliasing warnings.
Owen Taylor [Wed, 17 Nov 2004 00:55:10 +0000 (00:55 +0000)]
Squash strict aliasing warnings.

Tue Nov 16 19:26:30 2004  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkdnd-x11.c (_gdk_drag_get_protocol_for_display):
        Squash strict aliasing warnings.

19 years agoSquash strict aliasing warnings.
Owen Taylor [Wed, 17 Nov 2004 00:32:45 +0000 (00:32 +0000)]
Squash strict aliasing warnings.

Tue Nov 16 19:26:30 2004  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkdnd-x11.c (_gdk_drag_get_protocol_for_display):
        Squash strict aliasing warnings.

19 years agoFix a copy-and-paste error. (#158459)
Matthias Clasen [Tue, 16 Nov 2004 17:32:15 +0000 (17:32 +0000)]
Fix a copy-and-paste error. (#158459)

2004-11-16  Matthias Clasen  <mclasen@redhat.com>

* gdk/win32/gdkevents-win32.c (gdk_event_translate): Fix a
copy-and-paste error.  (#158459)

19 years agoAllow backspace to move up the FileChooser tree to make it consistent with
Davyd Madeley [Tue, 16 Nov 2004 16:52:17 +0000 (16:52 +0000)]
Allow backspace to move up the FileChooser tree to make it consistent with

2004-11-17  Davyd Madeley  <davyd@madeley.id.au>

        * gtk/gtkfilechooserdefault.c: Allow backspace to move up the
        FileChooser tree to make it consistent with Nautilus and others.

19 years agoUpdated Danish translation.
Martin Willemoes Hansen [Tue, 16 Nov 2004 16:46:13 +0000 (16:46 +0000)]
Updated Danish translation.

        * da.po: Updated Danish translation.

19 years agoDon't include config.h in the examples.
Matthias Clasen [Tue, 16 Nov 2004 15:49:17 +0000 (15:49 +0000)]
Don't include config.h in the examples.

2004-11-16  Matthias Clasen  <mclasen@redhat.com>

* demos/gtk-demo/*.c: Don't include config.h in the examples.

19 years agoforgot this
Jonathan Blandford [Tue, 16 Nov 2004 06:54:19 +0000 (06:54 +0000)]
forgot this

19 years agoDon't use the foreground color for selected cells, Don't use the
Matthias Clasen [Tue, 16 Nov 2004 05:19:21 +0000 (05:19 +0000)]
Don't use the foreground color for selected cells, Don't use the

2004-11-16  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkcellrenderertext.c (get_layout): Don't use the foreground
color for selected cells, Don't use the background color
in unfocused selected cells. Also avoid creating two PangoLayouts
per render call.  (#154615, #154611, Billy Biggs)

19 years agoUpdate so that toplevel windows accomodate for the titlebar when sizing.
Jonathan Blandford [Tue, 16 Nov 2004 05:10:18 +0000 (05:10 +0000)]
Update so that toplevel windows accomodate for the titlebar when sizing.

Tue Nov 16 00:08:07 2004  Jonathan Blandford  <jrb@redhat.com>

        * docs/tools/widgets.c: Update so that toplevel windows accomodate
        for the titlebar when sizing.  Also clean up statusbar

        * docs/reference/gtk/images/*png: update

19 years agoReduce the clipboard timeout from 300 seconds to 30 seconds. (#155428,
Matthias Clasen [Tue, 16 Nov 2004 04:24:57 +0000 (04:24 +0000)]
Reduce the clipboard timeout from 300 seconds to 30 seconds. (#155428,

2004-11-15  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkselection.c: Reduce the clipboard timeout from 300
seconds to 30 seconds.  (#155428, Billy Biggs)

19 years agoSort alphabetically.
Matthias Clasen [Tue, 16 Nov 2004 04:08:28 +0000 (04:08 +0000)]
Sort alphabetically.

2004-11-15  Matthias Clasen  <mclasen@redhat.com>

* gtk/visual_index.xml: Sort alphabetically.

19 years agogdk/abicheck.sh don't hardcode lengths for cut, instead split on the third
Manish Singh [Tue, 16 Nov 2004 03:03:49 +0000 (03:03 +0000)]
gdk/abicheck.sh don't hardcode lengths for cut, instead split on the third

Mon Nov 15 19:02:07 2004  Manish Singh  <yosh@gimp.org>

        * gdk/abicheck.sh
        * gtk/abicheck.sh: don't hardcode lengths for cut, instead split on
        the third field.

19 years ago_gdk_pixbuf_lock now returns a gboolean.
Manish Singh [Tue, 16 Nov 2004 03:01:57 +0000 (03:01 +0000)]
_gdk_pixbuf_lock now returns a gboolean.

Mon Nov 15 18:58:22 2004  Manish Singh  <yosh@gimp.org>

        * gdk-pixbuf-private.h: _gdk_pixbuf_lock now returns a gboolean.

        * abicheck.sh: don't hardcode lengths for cut, instead split on
        the third field.

19 years agoBe extra careful when locking and handle the case that the module may
Matthias Clasen [Tue, 16 Nov 2004 02:51:19 +0000 (02:51 +0000)]
Be extra careful when locking and handle the case that the module may

2004-11-15  Matthias Clasen  <mclasen@redhat.com>

* gdk-pixbuf-animation.c:
* gdk-pixbuf-loader.c:
* gdk-pixbuf-io.c: Be extra careful when locking and handle
the case that the module may initialize the thread system.

* gdk-pixbuf-io.[hc] (_gdk_pixbuf_lock): Return whether the
lock was actually taken.

19 years agoReally free the list. (#158422, Morten Welinder)
Matthias Clasen [Tue, 16 Nov 2004 02:06:20 +0000 (02:06 +0000)]
Really free the list. (#158422, Morten Welinder)

2004-11-15  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkimagemenuitem.c (gtk_image_menu_item_setting_changed):
* gtk/gtkbutton.c (gtk_button_setting_changed): Really free the
list.  (#158422, Morten Welinder)

19 years agoUse GPOINTER_TO_UINT()/GUINT_TO_POINTER() for guints. (#158420, Morten
Matthias Clasen [Tue, 16 Nov 2004 02:01:41 +0000 (02:01 +0000)]
Use GPOINTER_TO_UINT()/GUINT_TO_POINTER() for guints. (#158420, Morten

2004-11-15  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkimagemenuitem.c (gtk_image_menu_item_screen_changed):
* gtk/gtkbutton.c (gtk_button_screen_changed): Use
GPOINTER_TO_UINT()/GUINT_TO_POINTER() for guints.  (#158420,
Morten Welinder)

19 years agoOutput Makefile for the pixbuf engine directory.
Manish Singh [Tue, 16 Nov 2004 01:20:47 +0000 (01:20 +0000)]
Output Makefile for the pixbuf engine directory.

Mon Nov 15 17:17:17 2004  Manish Singh  <yosh@gimp.org>

        * configure.in: Output Makefile for the pixbuf engine directory.

        * gtk/gtk.symbols: Add gtk_button_{get,set}_image.

        * modules/engines/pixbuf/pixbuf-render.c: Replace usage of deprecated
        functions.

        * modules/engines/pixbuf/pixbuf-draw.c: undef GDK_DISABLE_DEPRECATED
        for gdk_draw_string (ick).

19 years agoShut up CVS
Manish Singh [Tue, 16 Nov 2004 01:16:19 +0000 (01:16 +0000)]
Shut up CVS

19 years ago*** empty log message ***
Matthias Clasen [Mon, 15 Nov 2004 20:56:28 +0000 (20:56 +0000)]
*** empty log message ***

19 years agoAdd some more docs.
Matthias Clasen [Mon, 15 Nov 2004 20:07:26 +0000 (20:07 +0000)]
Add some more docs.

2004-11-15  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkimagemenuitem.c (gtk_image_menu_item_set_image): Add
some more docs.

19 years agosomehow this got missed mid-commit
Jonathan Blandford [Mon, 15 Nov 2004 19:55:07 +0000 (19:55 +0000)]
somehow this got missed mid-commit

19 years agoPatch from Gavin Romig-Koch <gavin@redhat.com> to no longer reset the
Jonathan Blandford [Mon, 15 Nov 2004 19:37:13 +0000 (19:37 +0000)]
Patch from Gavin Romig-Koch <gavin@redhat.com> to no longer reset the

Mon Nov 15 14:25:21 2004  Jonathan Blandford  <jrb@redhat.com>

        * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_cell_set_dirty):
        Patch from Gavin Romig-Koch <gavin@redhat.com> to no longer reset
        the resized_width when marking a column dirty.

19 years agoAdd pixbuf.
Matthias Clasen [Mon, 15 Nov 2004 19:26:53 +0000 (19:26 +0000)]
Add pixbuf.

2004-11-15  Matthias Clasen  <mclasen@redhat.com>

* modules/engines/Makefile.am (SUBDIRS): Add pixbuf.

19 years agoRemove uses of deprecated symbols.
Matthias Clasen [Mon, 15 Nov 2004 18:42:12 +0000 (18:42 +0000)]
Remove uses of deprecated symbols.

2004-11-15  Matthias Clasen  <mclasen@redhat.com>

* pixbuf-render.c:
* pixbuf-draw.c:
* pixbuf-rc-style.c: Remove uses of deprecated symbols.

19 years agoRemove examples, adjust Makefile.am
Matthias Clasen [Mon, 15 Nov 2004 18:25:11 +0000 (18:25 +0000)]
Remove examples, adjust Makefile.am

19 years ago*** empty log message ***
Matthias Clasen [Mon, 15 Nov 2004 18:07:22 +0000 (18:07 +0000)]
*** empty log message ***

19 years agoUpdated German translation.
Hendrik Richter [Mon, 15 Nov 2004 16:28:45 +0000 (16:28 +0000)]
Updated German translation.

19 years agoUpdated German translation.
Hendrik Richter [Mon, 15 Nov 2004 16:26:16 +0000 (16:26 +0000)]
Updated German translation.

Updated German translation.

19 years ago*** empty log message ***
Matthias Clasen [Mon, 15 Nov 2004 16:22:49 +0000 (16:22 +0000)]
*** empty log message ***

19 years agoFix conflicting mnemonics.
Kjartan Maraas [Mon, 15 Nov 2004 16:22:30 +0000 (16:22 +0000)]
Fix conflicting mnemonics.

2004-11-15  Kjartan Maraas  <kmaraas@gnome.org>

* nb.po: Fix conflicting mnemonics.

19 years agoUpdated German translation.
Hendrik Richter [Mon, 15 Nov 2004 15:25:00 +0000 (15:25 +0000)]
Updated German translation.

Updated German translation.

19 years agofix unselect in multiple selection (#156805)
Erwann Chenede - [Mon, 15 Nov 2004 13:48:52 +0000 (13:48 +0000)]
fix unselect in multiple selection (#156805)

2004-11-15 Erwann Chenede - <erwann.chenede@sun.com>

      * gtk/gtkfilesel.c: fix unselect in multiple selection (#156805)

19 years agoInclude gtkdnd.h (#158243, Kazuki IWAMOTO)
Matthias Clasen [Mon, 15 Nov 2004 13:40:06 +0000 (13:40 +0000)]
Include gtkdnd.h (#158243, Kazuki IWAMOTO)

2004-11-15  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtklabel.c: Include gtkdnd.h  (#158243, Kazuki IWAMOTO)

19 years agoUpdated British translation.
David Lodge [Sun, 14 Nov 2004 20:34:44 +0000 (20:34 +0000)]
Updated British translation.

2004-11-14  David Lodge <dave@cirt.net>

        * en_GB.po: Updated British translation.

19 years agoUpdated Bulgarian translation by Vladimir Petkov <vpetkov@i-space.org>
Alexander Shopov [Sun, 14 Nov 2004 15:05:33 +0000 (15:05 +0000)]
Updated Bulgarian translation by Vladimir Petkov <vpetkov@i-space.org>

2004-11-14  Alexander Shopov  <ash@contact.bg>

* bg.po: Updated Bulgarian translation by
Vladimir Petkov <vpetkov@i-space.org>

19 years agoUpdated Lithuanian translation.
Žygimantas Beručka [Sun, 14 Nov 2004 13:00:11 +0000 (13:00 +0000)]
Updated Lithuanian translation.

2004-11-14  Žygimantas Beručka  <uid0@akl.lt>

* lt.po: Updated Lithuanian translation.

19 years agoAllow min == max. (#158225, Vasco Alexandre da Silva Costa)
Matthias Clasen [Sun, 14 Nov 2004 01:25:35 +0000 (01:25 +0000)]
Allow min == max. (#158225, Vasco Alexandre da Silva Costa)

2004-11-13  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkspinbutton.c (gtk_spin_button_new_with_range): Allow
min == max.  (#158225, Vasco Alexandre da Silva Costa)

19 years ago2004-11-13 Updated ja.po. T.Aihana <aihana@gnome.gr.jp>
Updated ja.po. T.Aihana [Fri, 12 Nov 2004 23:14:44 +0000 (23:14 +0000)]
2004-11-13 Updated ja.po. T.Aihana <aihana@gnome.gr.jp>

19 years agoAdd more docs.
Matthias Clasen [Fri, 12 Nov 2004 22:57:09 +0000 (22:57 +0000)]
Add more docs.

2004-11-12  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkcombobox.c (gtk_combo_box_class_init): Add more docs.

19 years agoUpdates
Matthias Clasen [Fri, 12 Nov 2004 22:35:30 +0000 (22:35 +0000)]
Updates

19 years agoFix typo in docs.
Matthias Clasen [Fri, 12 Nov 2004 22:18:04 +0000 (22:18 +0000)]
Fix typo in docs.

2004-11-12  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkfilefilter.c (gtk_file_filter_filter): Fix typo in
docs.

19 years agoImplement DND for selectable labels.
Matthias Clasen [Fri, 12 Nov 2004 21:52:04 +0000 (21:52 +0000)]
Implement DND for selectable labels.

2004-11-12  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtklabel.c (gtk_label_button_press, gtk_label_button_release)
(gtk_label_drag_data_get): Implement DND for selectable labels.

19 years agoDon't use _gdk_pixbuf_load_module_unlocked() in the !USE_GMODULE case.
Matthias Clasen [Fri, 12 Nov 2004 20:43:08 +0000 (20:43 +0000)]
Don't use _gdk_pixbuf_load_module_unlocked() in the !USE_GMODULE case.

2004-11-12  Matthias Clasen  <mclasen@redhat.com>

* gdk-pixbuf-io.c (gdk_pixbuf_io_init): Don't use
_gdk_pixbuf_load_module_unlocked() in the !USE_GMODULE case.

19 years agoAdjust to the current entry popup menu.
Matthias Clasen [Fri, 12 Nov 2004 20:20:29 +0000 (20:20 +0000)]
Adjust to the current entry popup menu.

2004-11-12  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtklabel.c (gtk_label_do_popup): Adjust to the current
entry popup menu.

19 years agoMake GDK+ compile with X11R5 (#148032)
Matthias Clasen [Fri, 12 Nov 2004 19:48:43 +0000 (19:48 +0000)]
Make GDK+ compile with X11R5 (#148032)

2004-11-12  Matthias Clasen  <mclasen@redhat.com>

Make GDK+ compile with X11R5 (#148032)

* gdk/x11/xsettings-client.c (xsettings_client_new):
* gdk/x11/gdkproperty-x11.c (_gdk_x11_precache_atoms): Only
use XInternAtoms if it is available.

* gdk/x11/gdkasync.c: Include XIproto.h if necessary.

* configure.in: Check for XInternAtoms and X headers needed for
xReply.

19 years agoBump version.
Matthias Clasen [Fri, 12 Nov 2004 18:15:23 +0000 (18:15 +0000)]
Bump version.

2004-11-12  Matthias Clasen  <mclasen@redhat.com>

* configure.in: Bump version.

19 years ago2.5.5
Matthias Clasen [Fri, 12 Nov 2004 17:52:08 +0000 (17:52 +0000)]
2.5.5

19 years ago*** empty log message ***
Matthias Clasen [Fri, 12 Nov 2004 15:26:07 +0000 (15:26 +0000)]
*** empty log message ***

19 years agoUpdates
Matthias Clasen [Fri, 12 Nov 2004 06:33:48 +0000 (06:33 +0000)]
Updates

19 years ago*** empty log message ***
Matthias Clasen [Fri, 12 Nov 2004 05:42:49 +0000 (05:42 +0000)]
*** empty log message ***

19 years agoChanges to make gdk-pixbuf threadsafe (#157310, #157306, Colin Walters):
Matthias Clasen [Fri, 12 Nov 2004 05:34:31 +0000 (05:34 +0000)]
Changes to make gdk-pixbuf threadsafe (#157310, #157306, Colin Walters):

2004-11-12  Matthias Clasen  <mclasen@redhat.com>

Changes to make gdk-pixbuf threadsafe  (#157310, #157306,
Colin Walters):

* gdk-pixbuf-io.h (enum GdkPixbufFormatFlags): Add
GDK_PIXBUF_FORMAT_THREADSAFE to indicate that an image loader
is threadsafe.

* gdk-pixbuf-io.c (get_file_formats, _gdk_pixbuf_load_module):
Use a lock to make initialization of global data structures
threadsafe.
* gdk-pixbuf-private.h:
* gdk-pixbuf-io.c (_gdk_pixbuf_lock, _gdk_pixbuf_unlock):
Auxiliary functions which use another lock to protect
threadunsafe image loaders.

* gdk-pixbuf-io.c (gdk_pixbuf_real_save):
(save_to_callback_with_tmp_file):
(gdk_pixbuf_real_save_to_callback):
(gdk_pixbuf_new_from_xpm_data):
(_gdk_pixbuf_generic_image_load):
* gdk-pixbuf-animation.c (gdk_pixbuf_animation_new_from_file):
* gdk-pixbuf-loader.c (gdk_pixbuf_loader_load_module):
(gdk_pixbuf_loader_close):
(gdk_pixbuf_loader_finalize):
Use _gdk_pixbuf_lock() and _gdk_pixbuf_unlock().

* io-ani.c, io-bmp.c, io-gif.c, io-ico.c:
* io-jpeg.c, io-pcx.c, io-png.c, io-pnm.c:
* io-ras.c, io-tga.c, io-wbmp.c, io-xbm.c:
* io-xpm.c: Mark as threadsafe.

* io-tiff.c: Remove pointless locking, mark as
threadunsafe.

19 years agoCheck for uxtheme.h (#157967, J. Ali Harlow)
Matthias Clasen [Fri, 12 Nov 2004 03:51:40 +0000 (03:51 +0000)]
Check for uxtheme.h (#157967, J. Ali Harlow)

2004-11-11  Matthias Clasen  <mclasen@redhat.com>

* configure.in: Check for uxtheme.h  (#157967, J. Ali Harlow)

19 years agoDon't try to build doc-shooter on Windows. (#157979, J. Ali Harlow)
Matthias Clasen [Fri, 12 Nov 2004 03:44:01 +0000 (03:44 +0000)]
Don't try to build doc-shooter on Windows. (#157979, J. Ali Harlow)

2004-11-11  Matthias Clasen  <mclasen@redhat.com>

* docs/tools/Makefile.am: Don't try to build doc-shooter on
Windows.  (#157979, J. Ali Harlow)

19 years agoDon't try to use xdgmime on Windows where we don't build it. (#157944, J.
Matthias Clasen [Fri, 12 Nov 2004 03:39:02 +0000 (03:39 +0000)]
Don't try to use xdgmime on Windows where we don't build it. (#157944, J.

2004-11-11  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkfilefilter.c: Don't try to use xdgmime on
Windows where we don't build it.   (#157944, J. Ali Harlow)

19 years agoAlso reserve space for the resize grip if the grip_window is not realized
Matthias Clasen [Fri, 12 Nov 2004 03:36:35 +0000 (03:36 +0000)]
Also reserve space for the resize grip if the grip_window is not realized

2004-11-11  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkstatusbar.c (gtk_statusbar_size_allocate): Also
reserve space for the resize grip if the grip_window is not
realized yet.  (#158010, Christian Persch)
(gtk_statusbar_button_press): Only start a resize if the
button press comes from the grip_window.  (#158011, Christian Persch)

19 years agoFix for #137551, by Robert Ögren:
Tor Lillqvist [Thu, 11 Nov 2004 22:00:11 +0000 (22:00 +0000)]
Fix for #137551, by Robert Ögren:

2004-11-11  Tor Lillqvist  <tml@iki.fi>

Fix for #137551, by Robert Ögren:

* gdk/win32/gdkevents-win32.c (generate_focus_event): New function.

(gdk_keyboard_grab, gdk_keyboard_ungrab): Generate focus change
events.

(gdk_event_translate): Check for keyboard grabs and not pointer
grabs when handling WM_{SET,KILL}FOCUS. Use generate_focus_event().

19 years agoFix some C99isms.
Matthias Clasen [Thu, 11 Nov 2004 21:18:18 +0000 (21:18 +0000)]
Fix some C99isms.

2004-11-11  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkuimanager.c (update_node): Fix some C99isms.

19 years agoRemove two more places where we were unconditionally setting "visible",
Matthias Clasen [Thu, 11 Nov 2004 19:57:41 +0000 (19:57 +0000)]
Remove two more places where we were unconditionally setting "visible",

2004-11-11  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkuimanager.c (update_node): Remove two more places
where we were unconditionally setting "visible", causing
unnecessary notifications.

* gtk/gtkclipboard.c (gtk_clipboard_get_for_display):
(gtk_clipboard_get): Clarify the docs.  (#156638, Torsten
Schoenfeld)
(gtk_clipboard_finalize): Warn if the clipboard is still in
its displays clipboard list.

19 years agoConsiderably speed up GtkUIManager, by changing the semantics of the dirty
Matthias Clasen [Thu, 11 Nov 2004 18:13:19 +0000 (18:13 +0000)]
Considerably speed up GtkUIManager, by changing the semantics of the dirty

2004-11-11  Matthias Clasen  <mclasen@redhat.com>

Considerably speed up GtkUIManager, by changing the semantics
of the dirty flag. It is now propagated up the tree, and
update_node() doesn't descend into clean subtrees.  (#143668,
Dave Neary, Michael Natterer, Sven Neumann, fix proposed
by Soeren Sandmann)

* gtk/gtkuimanager.c (node_prepend_ui_reference): Only prepend
a new node reference if the merge_id is different. Take a GNode,
so we can walk up the tree, adjust all callers.
(node_remove_ui_reference): Only mark a node dirty if the first
ui reference is removed. Take a GNode here as well for
consistency.
(update_node): Don't descend into clean subtrees.
(mark_node_dirty): New function to mark a node and its
predecessors dirty.

19 years agoreturn FALSE instead of TRUE. This is just a quick fix to prevent the idle
Jonathan Blandford [Thu, 11 Nov 2004 16:46:14 +0000 (16:46 +0000)]
return FALSE instead of TRUE. This is just a quick fix to prevent the idle

Thu Nov 11 11:34:32 2004  Jonathan Blandford  <jrb@redhat.com>

        * gtk/gtkfilechooserbutton.c (update_idler): return FALSE instead
        of TRUE.  This is just a quick fix to prevent the idle from
        looping indefinitely.

19 years agoUse embedded tab rather than '\t' escape sequence. (#157949)
J. Ali Harlow [Thu, 11 Nov 2004 14:22:51 +0000 (14:22 +0000)]
Use embedded tab rather than '\t' escape sequence. (#157949)

2004-11-11  J. Ali Harlow  <ali@juiblex.co.uk>

  * gdk/Makefile.am:
  * gdk-pixbuf/Makefile.am:
  * gtk/Makefile.am (gtk.def): Use embedded tab rather than '\t'
  escape sequence. (#157949)

19 years agoUpdated Albanian translation.
Laurent Dhima [Thu, 11 Nov 2004 10:27:11 +0000 (10:27 +0000)]
Updated Albanian translation.

2004-11-11  Laurent Dhima  <laurenti@alblinux.net>

* sq.po: Updated Albanian translation.

19 years agoUse g_filename_display_name() instead of g_filename_to_utf8() when putting
Matthias Clasen [Thu, 11 Nov 2004 03:12:25 +0000 (03:12 +0000)]
Use g_filename_display_name() instead of g_filename_to_utf8() when putting

2004-11-10  Matthias Clasen  <mclasen@redhat.com>

* gdk-pixbuf-animation.c:
* gdk-pixbuf-io.c: Use g_filename_display_name() instead of
g_filename_to_utf8() when putting filenames in error messages.

19 years agoEvent timestamps don't have to be unique. As long as they are
Tor Lillqvist [Wed, 10 Nov 2004 22:04:47 +0000 (22:04 +0000)]
Event timestamps don't have to be unique. As long as they are

2004-11-10  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkevents-win32.c (_gdk_win32_get_next_tick):
Event timestamps don't have to be unique. As long as they are
nondecreasing we should be fine. Solves problems with for instance
long menus not staying up on first click. (#152035, Robert Ögren)

19 years agoOnly shorten the label if it actually overlaps the resize grip.
Matthias Clasen [Wed, 10 Nov 2004 16:33:33 +0000 (16:33 +0000)]
Only shorten the label if it actually overlaps the resize grip.

2004-11-10  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkstatusbar.c (gtk_statusbar_size_allocate): Only
shorten the label if it actually overlaps the resize grip.
(gtk_statusbar_size_allocate): Handle extra children
by leaving room for the resize grip.  (#157778, Christian Persch)

19 years agoOnly shorten the label if it actually overlaps the resize grip.
Matthias Clasen [Wed, 10 Nov 2004 15:32:19 +0000 (15:32 +0000)]
Only shorten the label if it actually overlaps the resize grip.

2004-11-10  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkstatusbar.c (gtk_statusbar_size_allocate): Only
shorten the label if it actually overlaps the resize grip.

19 years agoFix many sparse warnings. (#157253, Kjartan Maraas.
Matthias Clasen [Wed, 10 Nov 2004 13:30:55 +0000 (13:30 +0000)]
Fix many sparse warnings. (#157253, Kjartan Maraas.

2004-11-10  Matthias Clasen  <mclasen@redhat.com>

* gdk/linux-fb/*: Fix many sparse warnings.  (#157253,
Kjartan Maraas.

19 years agoUpdates
Matthias Clasen [Wed, 10 Nov 2004 06:27:26 +0000 (06:27 +0000)]
Updates

19 years agoMake power a double. (gtk_range_class_init): s/digits/decimal digits/ in
Matthias Clasen [Wed, 10 Nov 2004 03:20:11 +0000 (03:20 +0000)]
Make power a double. (gtk_range_class_init): s/digits/decimal digits/ in

2004-11-09  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkrange.c (gtk_range_real_change_value): Make
power a double.
(gtk_range_class_init): s/digits/decimal digits/ in doc
comment.

19 years agoRemove debugging printfs.
Matthias Clasen [Wed, 10 Nov 2004 03:13:43 +0000 (03:13 +0000)]
Remove debugging printfs.

2004-11-09  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkfilechooserbutton.c (update_idler): Remove debugging
printfs.

19 years agoImprove the docs. (#157785, Torsten Schoenfeld)
Matthias Clasen [Wed, 10 Nov 2004 02:03:36 +0000 (02:03 +0000)]
Improve the docs. (#157785, Torsten Schoenfeld)

2004-11-09  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkicontheme.[ch]: Improve the docs.  (#157785,
Torsten Schoenfeld)

19 years agoUpdated Canadian English translation.
Adam Weinberger [Tue, 9 Nov 2004 22:39:55 +0000 (22:39 +0000)]
Updated Canadian English translation.

* en_CA.po: Updated Canadian English translation.

19 years agoAdd a hint about using gdk_drawable_get_size() instead.
Matthias Clasen [Tue, 9 Nov 2004 20:10:23 +0000 (20:10 +0000)]
Add a hint about using gdk_drawable_get_size() instead.

2004-11-09  Matthias Clasen  <mclasen@redhat.com>

* gdk/x11/gdkwindow-x11.c (gdk_window_get_geometry): Add
a hint about using gdk_drawable_get_size() instead.

19 years agoAdd new symbols.
Matthias Clasen [Tue, 9 Nov 2004 20:02:08 +0000 (20:02 +0000)]
Add new symbols.

2004-11-09  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtk.symbols: Add new symbols.

* xdgmime.h: Prefix all symbols.