]> Pileus Git - ~andy/gtk/log
~andy/gtk
18 years agodist all changelogs
Matthias Clasen [Thu, 9 Mar 2006 05:30:30 +0000 (05:30 +0000)]
dist all changelogs

18 years agoNo gtk_tray_icon_get_type on Win32.
Tor Lillqvist [Thu, 9 Mar 2006 01:44:19 +0000 (01:44 +0000)]
No gtk_tray_icon_get_type on Win32.

2006-03-09  Tor Lillqvist  <tml@novell.com>

* gtk/gtk.symbols: No gtk_tray_icon_get_type on Win32.

18 years agoUpdated Spanish translation.
Francisco Javier F. Serrador [Wed, 8 Mar 2006 22:32:59 +0000 (22:32 +0000)]
Updated Spanish translation.

2006-03-08  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

* es.po: Updated Spanish translation.

18 years agoupdated Breton po file
Pablo Saratxaga [Wed, 8 Mar 2006 20:56:58 +0000 (20:56 +0000)]
updated Breton po file

18 years agoupdated Breton translation
Pablo Saratxaga [Wed, 8 Mar 2006 20:51:17 +0000 (20:51 +0000)]
updated Breton translation

18 years agoRename ::tab-added and ::tab-removed signals to ::page-added and
Carlos Garnacho [Wed, 8 Mar 2006 17:22:14 +0000 (17:22 +0000)]
Rename ::tab-added and ::tab-removed signals to ::page-added and

2006-03-08  Carlos Garnacho  <carlosg@gnome.org>

        Rename ::tab-added and ::tab-removed signals to ::page-added and
        ::page-removed for not conflicting with other tab reordering
        implementations. Fixes bug #333743.

        Also rename ::tab-reordered to ::page-reordered, and emit it in
        gtk_notebook_reorder_child () to make it behave consistently with the
        other two signals.

        * gtk/gtknotebook.c (gtk_notebook_class_init): rename signals.
        (gtk_notebook_reorder_tab)
        (gtk_notebook_button_release)
        (gtk_notebook_remove)
        (gtk_notebook_real_insert_page): emit respectively renamed signals
        (gtk_notebook_reorder_child): also emit ::page-reordered here

        * tests/testnotebookdnd.c: use renamed signals

18 years agoadded gdk_screen_get_active_window() and gdk_screen_get_window_stack()
Michael Natterer [Wed, 8 Mar 2006 17:09:53 +0000 (17:09 +0000)]
added gdk_screen_get_active_window() and gdk_screen_get_window_stack()

2006-03-08  Michael Natterer  <mitch@imendio.com>

* gdk/gdk-sections.txt: added gdk_screen_get_active_window()
and gdk_screen_get_window_stack()

18 years agogdk/gdkscreen.h gdk/x11/gdkscreen-x11.c added
Michael Natterer [Wed, 8 Mar 2006 17:02:34 +0000 (17:02 +0000)]
gdk/gdkscreen.h gdk/x11/gdkscreen-x11.c added

2006-03-08  Michael Natterer  <mitch@imendio.com>

* gdk/gdkscreen.h
* gdk/x11/gdkscreen-x11.c
* gdk/gdk.symbols: added gdk_screen_get_active_window() and
gdk_screen_get_window_stack() (patch from maemo-gtk).
Fixes bug #320881.

* gdk/directfb/gdkscreen-directfb.c
* gdk/quartz/gdkscreen-quartz.c
* gdk/win32/gdkscreen-win32.c: added the functions as stubs.

18 years agozero-initialize the GValue before calling g_value_init().
Michael Natterer [Wed, 8 Mar 2006 15:37:07 +0000 (15:37 +0000)]
zero-initialize the GValue before calling g_value_init().

2006-03-08  Michael Natterer  <mitch@imendio.com>

* tests/prop-editor.c (unichar_changed): zero-initialize the
GValue before calling g_value_init().

18 years agomake sure that the text_area_width is always >= 0. Fixes bug #316712 (Dan
Michael Natterer [Wed, 8 Mar 2006 14:04:53 +0000 (14:04 +0000)]
make sure that the text_area_width is always >= 0. Fixes bug #316712 (Dan

2006-03-08  Michael Natterer  <mitch@imendio.com>

* gtk/gtkentry.c (gtk_entry_adjust_scroll): make sure that the
text_area_width is always >= 0. Fixes bug #316712 (Dan Winship).

18 years agoUpdated Spanish translation.
Francisco Javier F. Serrador [Tue, 7 Mar 2006 22:44:32 +0000 (22:44 +0000)]
Updated Spanish translation.

2006-03-07  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

* es.po: Updated Spanish translation.

18 years agoCancel drags when the grabs get broken. Fixes bug #333056:
Federico Mena Quintero [Tue, 7 Mar 2006 17:48:07 +0000 (17:48 +0000)]
Cancel drags when the grabs get broken. Fixes bug #333056:

2006-03-07  Federico Mena Quintero  <federico@novell.com>

Cancel drags when the grabs get broken.  Fixes bug #333056:

* gtk/gtkdnd.c (gtk_drag_selection_received): The time argument is
a guint, not guint32.
(gtk_drag_source_event_cb): Return gboolean, not gint.
(gtk_drag_anim_timeout): Likewise.
(gtk_drag_motion_cb): Likewise.
(gtk_drag_key_cb): Likewise.
(gtk_drag_button_release_cb): Likewise.
(gtk_drag_abort_timeout): Likewise.
(gtk_drag_begin_internal): Connect to "grab-broken-event" on the
ipc_widget.
(gtk_drag_source_info_destroy): Disconnect from the
"grab-broken-event" callback.
(gtk_drag_end): Likewise.
(gtk_drag_grab_broken_event_cb): New callback.  We cancel the drag
if the grab was broken and not regrabbed by the DnD code.

2006-03-07  Federico Mena Quintero  <federico@novell.com>

* gtk/gtkfilechooserdefault.c (shortcuts_button_press_event_cb):
Hack to let the treeview's button-press-event handler run before
ours.  This lets the selection be updated before we pop up a
context menu.

18 years agodepend on glib-2.10.1.
Tim Janik [Tue, 7 Mar 2006 16:18:25 +0000 (16:18 +0000)]
depend on glib-2.10.1.

Tue Mar  7 17:16:34 2006  Tim Janik  <timj@gtk.org>

        * configure.in: depend on glib-2.10.1.

        * gtk/gtkobject.c: fixed up messing with non-GtkObject floating flags.
        this requires glib-2.10.1.

18 years agoAdd infrastructure for copy/paste and DND of rich text for GtkTextBuffer.
Michael Natterer [Tue, 7 Mar 2006 13:46:11 +0000 (13:46 +0000)]
Add infrastructure for copy/paste and DND of rich text for GtkTextBuffer.

2006-03-07  Michael Natterer  <mitch@imendio.com>

Add infrastructure for copy/paste and DND of rich text for
GtkTextBuffer. Fixes bug #324177.

* gtk/gtktextbufferrichtext.[ch]: new files implementing a
per-buffer registry of rich text formats.

* gtk/gtk.h: #include gtktextbufferrichtext.h

* gtk/gtktextbufferserialize.[ch]: new files implementing an
internal serialization format that can handle all of a text
buffer's tags and pixbufs. It's not useful for anything except
tranfer between instances of GtkTextBuffer (Anders Carlsson).

* gtk/Makefile.am: build the new files.

* gtk/gtkclipboard.[ch]: added convenience APIs for rich text,
just as they exist for plain text and pixbufs.

* gtk/gtkselection.[ch]: added rich text convenience APIs here
too.  Return the target list from gtk_target_list_ref(). Register
GtkTargetList as boxed type. Added
gtk_target_table_new_from_list() and gtk_target_table_free(),
which make converting between GtkTargetList and arrays of
GtkTargetEntry considerably easier.

* gtk/gtktextutil.[ch]: added _gtk_text_util_create_rich_drag_icon()
which creates a fancy rich text icon (Matthias Clasen).

* gtk/gtktextbuffer.[ch]: use all the new stuff above and
implement copy and paste of rich text. Added APIs for getting the
target lists used for copy and paste. Added public enum
GtkTextBufferTargetInfo which contains the "info" IDs associated
with the entries of the target lists.

* gtk/gtktextview.c: use the new rich text APIs and
GtkTextBuffer's new target list API to enable DND of rich text
chunks.

* gtk/gtk.symbols: export all the new symbols added.

* tests/testtext.c: added rich text testing stuff.

18 years agoTake cursor width into account when calculating the area to be
Matthias Clasen [Tue, 7 Mar 2006 02:05:02 +0000 (02:05 +0000)]
Take cursor width into account when calculating the area to be

2006-03-06  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktextview.c (text_window_invalidate_cursors): Take
cursor width into account when calculating the area to
be invalidated.  (#333377, #323401 Steve Frécinaux)

18 years agoSet error when returning FALSE. (#333268, Paolo Maggi, Christian Persch)
Matthias Clasen [Mon, 6 Mar 2006 17:34:35 +0000 (17:34 +0000)]
Set error when returning FALSE. (#333268, Paolo Maggi, Christian Persch)

2006-03-06  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkmain.c (post_parse_hook): Set error when returning
FALSE.  (#333268, Paolo Maggi, Christian Persch)

18 years agoCheck that the pixmap has the right depth. (#333363, Ed Catmur)
Matthias Clasen [Mon, 6 Mar 2006 17:17:50 +0000 (17:17 +0000)]
Check that the pixmap has the right depth. (#333363, Ed Catmur)

2006-03-06  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkpixmap.c (gtk_pixmap_set): Check that the pixmap
has the right depth.  (#333363, Ed Catmur)

18 years agoRemove superfluous extern errno declaration. (#333605, Tommi Komulainen)
Matthias Clasen [Mon, 6 Mar 2006 14:08:35 +0000 (14:08 +0000)]
Remove superfluous extern errno declaration. (#333605, Tommi Komulainen)

2006-03-06  Matthias Clasen  <mclasen@redhat.com>

* xdgmimemagic.c: Remove superfluous extern errno
declaration.  (#333605, Tommi Komulainen)

18 years agoApply some arbitrary lower limit for the guessed wrap width. (#332466,
Matthias Clasen [Mon, 6 Mar 2006 04:55:53 +0000 (04:55 +0000)]
Apply some arbitrary lower limit for the guessed wrap width. (#332466,

2006-03-05  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkiconview.c (adjust_wrap_width): Apply some
arbitrary lower limit for the guessed wrap width. (#332466,
Donald Straney)

18 years agoFix handling of image-only buttons. (#332985, Kalle Vahlmann, #333555)
Matthias Clasen [Mon, 6 Mar 2006 03:47:06 +0000 (03:47 +0000)]
Fix handling of image-only buttons. (#332985, Kalle Vahlmann, #333555)

2006-03-05  Matthias Clasen  <mclasen@redhat.com>

Fix handling of image-only buttons.  (#332985, Kalle
Vahlmann, #333555)

* gtk/gtkbutton.c (gtk_button_construct_child): Don't
return early if there an image to show.
(show_image): Always return TRUE if there is no text.

18 years agoTranslation updated by Ivar Smolin.
Priit Laes [Sun, 5 Mar 2006 22:25:42 +0000 (22:25 +0000)]
Translation updated by Ivar Smolin.

2006-03-06  Priit Laes  <amd@store20.com>

* et.po: Translation updated by Ivar Smolin.

18 years agoRemove progress bar label translation before "|".
Dafydd Harries [Sun, 5 Mar 2006 20:26:06 +0000 (20:26 +0000)]
Remove progress bar label translation before "|".

2006-03-05  Dafydd Harries  <daf@muse.19inch.net>

* cy.po: Remove progress bar label translation before "|".

18 years agoAdjust the handling of min values for the x and y axes of extended input
Matthias Clasen [Sat, 4 Mar 2006 05:26:29 +0000 (05:26 +0000)]
Adjust the handling of min values for the x and y axes of extended input

2006-03-04  Matthias Clasen  <mclasen@redhat.com>

* gdk/x11/gdkinput-x11 (gdk_input_translate_coordinates):
Adjust the handling of min values for the x and y axes of
extended input devices  (#324562, #142536, Denis Auroux and
Robert Ögren)

18 years agoPosition the focus rectangle correctly in RTL mode. (#333291, Benjamin
Matthias Clasen [Sat, 4 Mar 2006 05:17:40 +0000 (05:17 +0000)]
Position the focus rectangle correctly in RTL mode. (#333291, Benjamin

2006-03-04  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkexpander.c (gtk_expander_paint_focus): Position
the focus rectangle correctly in RTL mode.  (#333291,
Benjamin Berg)

18 years agoSupport 16bit pnms
Matthias Clasen [Fri, 3 Mar 2006 17:19:27 +0000 (17:19 +0000)]
Support 16bit pnms

18 years agoAvoid emitting superfluous preedit_changed signals. Thanks to Matthias.
Tor Lillqvist [Fri, 3 Mar 2006 14:16:45 +0000 (14:16 +0000)]
Avoid emitting superfluous preedit_changed signals. Thanks to Matthias.

2006-03-03  Tor Lillqvist  <tml@novell.com>

* gtk/gtkimcontextsimple.c (gtk_im_context_simple_commit_char)
(gtk_im_context_simple_reset): Avoid emitting superfluous
preedit_changed signals. Thanks to Matthias. (#319407)

18 years agoApplied modified patch from maemo-gtk which makes separators more
Michael Natterer [Fri, 3 Mar 2006 12:38:42 +0000 (12:38 +0000)]
Applied modified patch from maemo-gtk which makes separators more

2006-03-03  Michael Natterer  <mitch@imendio.com>

Applied modified patch from maemo-gtk which makes separators more
themeable. Fixes bug #332022.

* gtk/gtkwidget.c: added style properties "wide-separators",
"separator-width" and "separator-height".

* gtk/gtkhseparator.c
* gtk/gtkvseparator.c
* gtk/gtkmenuitem.c
* gtk/gtktoolbar.c: honor the new settings and paint separators
using gtk_paint_box() if wide-separators is true.

18 years agoUpdated Polish translation by GNOME PL Team.
Artur Flinta [Fri, 3 Mar 2006 09:03:52 +0000 (09:03 +0000)]
Updated Polish translation by GNOME PL Team.

2006-03-03  Artur Flinta  <aflinta@cvs.gnome.org>

* pl.po: Updated Polish translation by GNOME PL Team.

18 years agoFix incremental loading of 8-bit pcx files. (#148518, Magnus Bergmann)
Matthias Clasen [Fri, 3 Mar 2006 05:42:06 +0000 (05:42 +0000)]
Fix incremental loading of 8-bit pcx files. (#148518, Magnus Bergmann)

2006-03-03  Matthias Clasen  <mclasen@redhat.com>

* io-pcx.c (pcx_load_palette_8): Fix incremental loading
of 8-bit pcx files.  (#148518, Magnus Bergmann)

18 years agoFix combobox theming regression noted in bug 321301 Ditto
Dom Lachowicz [Fri, 3 Mar 2006 03:32:39 +0000 (03:32 +0000)]
Fix combobox theming regression noted in bug 321301 Ditto

* modules/engines/ms-windows/msw_style.c: Fix combobox theming
regression noted in bug 321301
* modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: Ditto

18 years agoMake scroll_to_path work for newly inserted items, by delaying the scroll
Matthias Clasen [Thu, 2 Mar 2006 19:52:26 +0000 (19:52 +0000)]
Make scroll_to_path work for newly inserted items, by delaying the scroll

2006-03-02  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkiconview.c (gtk_icon_view_layout)
(gtk_icon_view_row_inserted, gtk_icon_view_scroll_to_path):
Make scroll_to_path work for newly inserted items, by delaying
the scroll until layout is done.  (#332923, Cory Dodt)

18 years agoUse GTK_WIDGET_IS_SENSITIVE, not GTK_WIDGET_SENSITIVE. (#333133, Christian
Matthias Clasen [Thu, 2 Mar 2006 15:46:10 +0000 (15:46 +0000)]
Use GTK_WIDGET_IS_SENSITIVE, not GTK_WIDGET_SENSITIVE. (#333133, Christian

2006-03-02  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkcolorbutton.c (render): Use GTK_WIDGET_IS_SENSITIVE,
not GTK_WIDGET_SENSITIVE.  (#333133, Christian Persch)

18 years agoUpdated Macedonian Translation <arangela@cvs.gnome.org>
Arangel Angov [Thu, 2 Mar 2006 14:57:16 +0000 (14:57 +0000)]
Updated Macedonian Translation <arangela@cvs.gnome.org>

18 years agoDisable tooltips if gtk-touchscreen-mode is activated (#315112).
Ross Burton [Thu, 2 Mar 2006 14:24:54 +0000 (14:24 +0000)]
Disable tooltips if gtk-touchscreen-mode is activated (#315112).

2006-03-02  Ross Burton  <ross@openedhand.com>

* gtk/gtktooltips.c:
Disable tooltips if gtk-touchscreen-mode is activated (#315112).

18 years agoForgot to commit this the other day - Federico
Federico Mena Quintero [Wed, 1 Mar 2006 23:42:07 +0000 (23:42 +0000)]
Forgot to commit this the other day - Federico

18 years agoUpdated German translation.
Hendrik Richter [Wed, 1 Mar 2006 17:32:31 +0000 (17:32 +0000)]
Updated German translation.

2006-03-01  Hendrik Richter  <hendrikr@gnome.org>

* de.po: Updated German translation.

18 years agorename to _gtk_tree_selection_row_is_selectable and export internally,
Kristian Rietveld [Wed, 1 Mar 2006 12:18:57 +0000 (12:18 +0000)]
rename to _gtk_tree_selection_row_is_selectable and export internally,

2006-03-01  Kristian Rietveld  <kris@imendio.com>

* gtk/gtktreeselection.c (row_is_selectable): rename to
_gtk_tree_selection_row_is_selectable and export internally,
(gtk_tree_selection_real_select_node): changed so it is always
possible to unselect insensitive nodes, changed the logic a bit to
be more clear.

* gtk/gtktreeprivate.h: add _gtk_tree_selection_row_is_selectable.

* gtk/gtktreeview.c (gtk_tree_view_row_changed): Unselect a row if
it became insensitive.

18 years agoupdate for problem of pipe (|) in translation
Amanpreet Singh Alam [Wed, 1 Mar 2006 03:35:44 +0000 (03:35 +0000)]
update for problem of pipe (|) in translation

18 years agoUpdated Greek translation
Simos Xenitellis [Tue, 28 Feb 2006 15:05:44 +0000 (15:05 +0000)]
Updated Greek translation

18 years agoUpdate documentation now that tiff supports saving.
Anders Carlsson [Tue, 28 Feb 2006 09:48:49 +0000 (09:48 +0000)]
Update documentation now that tiff supports saving.

2006-02-28  Anders Carlsson  <andersca@imendio.com>

        * gdk-pixbuf-io.c:
        Update documentation now that tiff supports saving.

        * io-tiff.c:
        (tiff_load_read):
        (tiff_load_write):
        (tiff_load_seek):
        (tiff_load_close):
        (tiff_load_size):
        (tiff_load_map_file):
        (tiff_load_unmap_file):
        (gdk_pixbuf__tiff_image_stop_load):
        Rename callback functions that are used during loading.

        (tiff_save_read):
        (tiff_save_write):
        (tiff_save_seek):
        (tiff_save_close):
        (tiff_save_size):
        (create_save_context):
        (free_save_context):
        New callback functions which operate on a memory buffer.

        (gdk_pixbuf__tiff_image_save_to_callback):
        Implement saving of pixbufs to tiffs.

        (save_to_file_cb):
        (gdk_pixbuf__tiff_image_save):
        New function that saves a pixbuf to a FILE handle. Uses
        save_to_callback.

        (fill_vtable):
        Add new functions.

        (fill_info):
        Change flags since this module supports writing now.

18 years agoCheck that the fontsel has a screen assigned before doing anything. This
Federico Mena Quintero [Mon, 27 Feb 2006 18:18:57 +0000 (18:18 +0000)]
Check that the fontsel has a screen assigned before doing anything. This

2006-02-27  Federico Mena Quintero  <federico@novell.com>

* gtk/gtkfontsel.c (gtk_font_selection_set_font_name): Check that
the fontsel has a screen assigned before doing anything.  This
will at least warn the caller of what is wrong, since we only
populate the family_list until we get a screen.  Also, put the
reference docs here.  Fixes bug #332756.
(gtk_font_selection_dialog_get_font_name): Document this here.
(gtk_font_selection_get_font_name): Document this here; mention
that the font names get normalized, so the result of this function
may not be the same as what you set with
gtk_font_selection_set_font_name().

18 years agoFix symbol lists for make check.
Matthias Clasen [Mon, 27 Feb 2006 16:48:34 +0000 (16:48 +0000)]
Fix symbol lists for make check.

2006-02-27  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtk.symbols:
* gtk/gtktrayicon-x11.c: Fix symbol lists for make check.

18 years agomap "gtk-touchscreen-mode" to the "Gtk/TouchscreenMode" XSettings
Michael Natterer [Mon, 27 Feb 2006 14:08:06 +0000 (14:08 +0000)]
map "gtk-touchscreen-mode" to the "Gtk/TouchscreenMode" XSettings

2006-02-27  Michael Natterer  <mitch@imendio.com>

* gdk/x11/gdksettings.c: map "gtk-touchscreen-mode" to the
"Gtk/TouchscreenMode" XSettings property, remove trailing
whitespace.

* gdk/x11/checksettings.c: #include <string.h> and sprinkled some
newlines.

18 years agomoved and renamed the gdk_settings_names and gdk_settings_map.
Tim Janik [Mon, 27 Feb 2006 13:56:30 +0000 (13:56 +0000)]
moved and renamed the gdk_settings_names and gdk_settings_map.

Mon Feb 27 14:52:50 2006  Tim Janik  <timj@imendio.com>

        * gdkevents-x11.c:
        * gdksettings.c: moved and renamed the gdk_settings_names and
        gdk_settings_map.

        * gdk/x11/checksettings.c: test program for the gdk_settings_map array.

        * gdk/x11/Makefile.am: run checksettings as part of make check.

18 years agoslight cleanup
Matthias Clasen [Mon, 27 Feb 2006 06:44:33 +0000 (06:44 +0000)]
slight cleanup

18 years agoComment out some unused code, and fix the reference point of composited
Matthias Clasen [Mon, 27 Feb 2006 06:42:20 +0000 (06:42 +0000)]
Comment out some unused code, and fix the reference point of composited

2006-02-27  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkdnd.c (gtk_drag_get_cursor): Comment out some unused
code, and fix the reference point of composited drag cursors.
(#320132, Christian Neumair)

18 years agoRemoved old build instructions
Michael David Emmel [Sun, 26 Feb 2006 18:24:53 +0000 (18:24 +0000)]
Removed old build instructions

18 years ago*gdk/directfb/gdkdisplay-directfb.c *gdk/directfb/gdkwindow-directfb.c
PST 2006 Michael Emmel [Sat, 25 Feb 2006 18:37:53 +0000 (18:37 +0000)]
*gdk/directfb/gdkdisplay-directfb.c *gdk/directfb/gdkwindow-directfb.c

Sat Feb 25 10:35:23 PST 2006  Michael Emmel  <mike.emmel@gmail.com>
    *gdk/directfb/gdkdisplay-directfb.c
    *gdk/directfb/gdkwindow-directfb.c
    Added stubs for shape window functions to fix compile problems

18 years agoMake the column header visible, and make it be "_Places". Changed the
Federico Mena Quintero [Sat, 25 Feb 2006 02:45:57 +0000 (02:45 +0000)]
Make the column header visible, and make it be "_Places". Changed the

2006-02-24  Federico Mena Quintero  <federico@novell.com>

* gtk/gtkfilechooserdefault.c (shortcuts_list_create): Make the
column header visible, and make it be "_Places".  Changed the
accessible object name to Places as well.  Fixes bug #331306.
(file_pane_create): Do not create the path bar and "create folder"
button here...
(browse_widgets_create): ... but create them here instead.  This
moves the path bar to be above both the hpaned, giving it the full
width of the dialog.  Fixes bug #327733.

18 years agoremove unconditional warnings about missing X locale support. Gdk properly
Tim Janik [Fri, 24 Feb 2006 12:28:33 +0000 (12:28 +0000)]
remove unconditional warnings about missing X locale support. Gdk properly

Thu Feb 23 13:28:21 2006  Tim Janik  <timj@imendio.com>

        * gdk/x11/gdkim-x11.c (_gdk_x11_initialize_locale): remove unconditional
        warnings about missing X locale support. Gdk properly handles this
        situation anyway.

18 years agoadded G_GNUC_WARN_UNUSED_RESULT warnings for iterator functions, to avoid
Tim Janik [Fri, 24 Feb 2006 11:02:25 +0000 (11:02 +0000)]
added G_GNUC_WARN_UNUSED_RESULT warnings for iterator functions, to avoid

Fri Feb 17 14:20:29 2006  Tim Janik  <timj@imendio.com>

        * gtk/gtktreemodel.h:
        * gtk/gtktextbtree.h: added G_GNUC_WARN_UNUSED_RESULT warnings for
        iterator functions, to avoid invalid iterators go unnoticed,
        suggested by Markku Vire <markku.vire@movial.fi>.

18 years agoAdd tests
Matthias Clasen [Thu, 23 Feb 2006 18:43:15 +0000 (18:43 +0000)]
Add tests

18 years agoAdd a reorder_tab keynav signal and an insert_page vfunc to GtkNotebook.
Matthias Clasen [Thu, 23 Feb 2006 17:59:33 +0000 (17:59 +0000)]
Add a reorder_tab keynav signal and an insert_page vfunc to GtkNotebook.

2006-02-23  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtknotebook.h: Add a reorder_tab keynav signal and an
insert_page vfunc to GtkNotebook.

* gtk/gtk.symbols:
* gtk/gtknotebook.c: Support notebook DND. New API includes
gtk_notebook_set_window_creation_hook,
gtk_notebook_[gs]et_group_id,
gtk_notebook_[gs]et_tab_reorderable,
gtk_notebook_[gs]et_tab_detachable (#73240, Carlos Garnacho)

18 years agoFix macro declaration
Matthias Clasen [Thu, 23 Feb 2006 14:02:54 +0000 (14:02 +0000)]
Fix macro declaration

2006-02-23  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktextiter.c: Fix macro declaration

* gtk/gtkaboutdialog.c: Remove an accidentally included function.

18 years agoFix the build
Matthias Clasen [Wed, 22 Feb 2006 20:05:17 +0000 (20:05 +0000)]
Fix the build

18 years agoMinor optimizations. (#332059, Arnaud Charlet)
Matthias Clasen [Wed, 22 Feb 2006 17:52:29 +0000 (17:52 +0000)]
Minor optimizations. (#332059, Arnaud Charlet)

2006-02-22  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktextbtree.c:
* gtk/gtktextiter.c: Minor optimizations.  (#332059, Arnaud Charlet)

18 years agoEmit notify::active here, when changing the value of this property.
Matthias Clasen [Wed, 22 Feb 2006 17:29:07 +0000 (17:29 +0000)]
Emit notify::active here, when changing the value of this property.

2006-02-22  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkradiobutton.c (gtk_radio_button_clicked): Emit notify::active
here, when changing the value of this property.  (#331651)

18 years agoApply a patch by Paolo Borelli to make the tab menu keynavigatable.
Matthias Clasen [Wed, 22 Feb 2006 16:35:09 +0000 (16:35 +0000)]
Apply a patch by Paolo Borelli to make the tab menu keynavigatable.

2006-02-22  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtknotebook.c: Apply a patch by Paolo Borelli to
        make the tab menu keynavigatable.  (#331440)

18 years agoChange Close buttons to GTK_RESPONSE_CANCEL so Escape works. (#331940,
Matthias Clasen [Wed, 22 Feb 2006 16:10:47 +0000 (16:10 +0000)]
Change Close buttons to GTK_RESPONSE_CANCEL so Escape works. (#331940,

2006-02-22  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkaboutdialog.c: Change Close buttons to GTK_RESPONSE_CANCEL
so Escape works. (#331940, Daniel Drake)

18 years agoadded boolean property gtk-touchscreen-mode, which essentially means
Michael Natterer [Wed, 22 Feb 2006 10:10:23 +0000 (10:10 +0000)]
added boolean property gtk-touchscreen-mode, which essentially means

2006-02-22  Michael Natterer  <mitch@imendio.com>

* gtk/gtksettings.c: added boolean property gtk-touchscreen-mode,
which essentially means "there are no motion notify events", so
widgets can't use the pointer hovering them for anything.

* gtk/gtkmenu.c: if gtk-touchscreen-mode is TRUE, scroll menus
when clicking the scroll arrows, since hovering goes undetected.
Fixes bug #323028.

Added boolean style property "double-arrows" which always makes
both scroll arrows visible when the menu is too long.
For pushed-in popup menus, both arrows are always shown
(regardless of double-arrows), in order to fix user confusion
about the blank area. Fixes bug #129463.

18 years agoUpdated Basque translation.
Inaki Larranaga [Tue, 21 Feb 2006 12:24:23 +0000 (12:24 +0000)]
Updated Basque translation.

2006-02-21  Inaki Larranaga  <dooteo@euskalgnu.org>

* eu.po: Updated Basque translation.

18 years agoMake sure we always update the virtual root, also when ->priv->root is
Kristian Rietveld [Tue, 21 Feb 2006 09:06:09 +0000 (09:06 +0000)]
Make sure we always update the virtual root, also when ->priv->root is

2006-02-21  Kristian Rietveld  <kris@imendio.com>

* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_rows_reordered):
Make sure we always update the virtual root, also when ->priv->root
is still NULL.  (Markku Vire)

18 years agoremoved leftover CVS conflict markers
Sven Neumann [Tue, 21 Feb 2006 08:49:47 +0000 (08:49 +0000)]
removed leftover CVS conflict markers

18 years agoAdd these from the win32 backend.
Anders Carlsson [Tue, 21 Feb 2006 08:32:28 +0000 (08:32 +0000)]
Add these from the win32 backend.

2006-02-21  Anders Carlsson  <andersca@imendio.com>

        * gdk/quartz/gdkselection-quartz.c:
        (make_list):
        (gdk_text_property_to_utf8_list_for_display):
        Add these from the win32 backend.

18 years agoProperly update internal state when child visibility changes. (#331785,
Matthias Clasen [Mon, 20 Feb 2006 23:11:55 +0000 (23:11 +0000)]
Properly update internal state when child visibility changes. (#331785,

2006-02-20  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtknotebook.c: Properly update internal state
        when child visibility changes.  (#331785, Sebastien Bacher)

18 years agoObtain the background color from the gc when it is needed. (#331820)
Matthias Clasen [Mon, 20 Feb 2006 17:57:09 +0000 (17:57 +0000)]
Obtain the background color from the gc when it is needed. (#331820)

2006-02-20  Matthias Clasen  <mclasen@redhat.com>

* gdk/gdkgc.c (_gdk_gc_update_context): Obtain the
background color from the gc when it is needed.  (#331820)

18 years agoForgotten file
Matthias Clasen [Mon, 20 Feb 2006 17:20:09 +0000 (17:20 +0000)]
Forgotten file

18 years agoAdd a gc_changed argument, and avoid setting the clip region if the gc has
Matthias Clasen [Mon, 20 Feb 2006 17:17:09 +0000 (17:17 +0000)]
Add a gc_changed argument, and avoid setting the clip region if the gc has

2006-02-19  Matthias Clasen  <mclasen@redhat.com>

* gdk/gdkgc.c (_gdk_gc_update_context): Add a gc_changed
argument, and avoid setting the clip region if the gc
has not changed.

* gdk/gdkgc.c: Update all callers.

* gdk/gdkpango.c (get_cairo_context): Avoid updating the
context if nothing changed.

18 years agoAdd stubs for input shape functions.
Anders Carlsson [Mon, 20 Feb 2006 11:57:12 +0000 (11:57 +0000)]
Add stubs for input shape functions.

2006-02-20  Anders Carlsson  <andersca@imendio.com>

        * gdk/quartz/gdkdisplay-quartz.c:
        (gdk_display_supports_shapes):
        (gdk_display_supports_input_shapes):
        * gdk/quartz/gdkwindow-quartz.c:
        (gdk_display_warp_pointer):
        (gdk_window_input_shape_combine_mask):
        (gdk_window_input_shape_combine_region):
        (gdk_window_set_child_input_shapes):
        (gdk_window_set_accept_focus):
        (gdk_window_merge_child_input_shapes):
        Add stubs for input shape functions.

18 years agoFix typo so ctrl gets passed on to the gdk event.
Anders Carlsson [Mon, 20 Feb 2006 11:07:25 +0000 (11:07 +0000)]
Fix typo so ctrl gets passed on to the gdk event.

2006-02-20  Anders Carlsson  <andersca@mac.com>

        * gdk/quartz/gdkevents-quartz.c:
        (get_keyboard_modifiers_from_nsevent):
        Fix typo so ctrl gets passed on to the gdk event.

        * gdk/quartz/gdkproperty-quartz.c:
        (gdk_atom_name):
        g_strdup the atom name.

18 years agoNew function, return TRUE. (gdk_display_supports_input_shapes): New
Tor Lillqvist [Mon, 20 Feb 2006 10:10:27 +0000 (10:10 +0000)]
New function, return TRUE. (gdk_display_supports_input_shapes): New

2006-02-20  Tor Lillqvist  <tml@novell.com>

* gdk/win32/gdkdisplay-win32.c (gdk_display_supports_shapes):
New function, return TRUE.
(gdk_display_supports_input_shapes): New function, return FALSE.

18 years agoNew function. Factor out code from gdk_window_shape_combine_mask().
Tor Lillqvist [Mon, 20 Feb 2006 10:08:37 +0000 (10:08 +0000)]
New function. Factor out code from gdk_window_shape_combine_mask().

2006-02-20  Tor Lillqvist  <tml@novell.com>

* gdk/win32/gdkwindow-win32.c (do_shape_combine_region): New
function. Factor out code from gdk_window_shape_combine_mask().
(gdk_window_shape_combine_region): Actually do something. Convert
region to a HRGN and call do_shape_combine_region().
(gdk_window_input_shape_combine_mask)
(gdk_window_input_shape_combine_region)
(gdk_window_set_child_input_shapes)
(gdk_window_merge_child_input_shapes): New functions, dummy
implementations.

18 years agoadding boolean have_shapes and have_input_shapes members fixes the build.
Michael Natterer [Mon, 20 Feb 2006 09:49:49 +0000 (09:49 +0000)]
adding boolean have_shapes and have_input_shapes members fixes the build.

2006-02-20  Michael Natterer  <mitch@imendio.com>

* gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): adding boolean
have_shapes and have_input_shapes members fixes the build.

18 years agoReplace all calls to g_strcasecmp() with g_ascii_strcasecmp().
Tor Lillqvist [Mon, 20 Feb 2006 08:52:19 +0000 (08:52 +0000)]
Replace all calls to g_strcasecmp() with g_ascii_strcasecmp().

2006-02-20  Tor Lillqvist  <tml@novell.com>

* gdk/win32/gdkfont-win32.c: Replace all calls to g_strcasecmp()
with g_ascii_strcasecmp().

18 years agoAdditions.
Matthias Clasen [Mon, 20 Feb 2006 01:41:16 +0000 (01:41 +0000)]
Additions.

2006-02-19  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtk-sections.txt: Additions.

* gdk/gdk-sections.txt: Additions.

18 years agoSupport input shapes: (#331070)
Matthias Clasen [Mon, 20 Feb 2006 01:36:50 +0000 (01:36 +0000)]
Support input shapes: (#331070)

2006-02-19  Matthias Clasen  <mclasen@redhat.com>

Support input shapes:  (#331070)

* gdk/gdk.symbols:
* gdk/gdkdisplay.h:
* gdk/gdkwindow.h:
* gdk/x11/gdkdisplay-x11.c (gdk_display_supports_shapes)
(gdk_display_supports_input_shapes): Functions to determine
if a display supports shaped windows or input shapes.

* gdk/x11/gdkwindow-x11.c (gdk_window_input_shape_combine_region):
(gdk_window_input_shape_combine_mask):
(gdk_window_set_child_input_shapes):
(gdk_window_merge_child_input_shapes): Input shape versions
of the window shape API.

* gtk/gtk.symbols:
* gtk/gtkwidget.h:
* gtk/gtkwidget.c (gtk_widget_input_shape_combine_mask):
New function to set an input shape on a widget.

18 years agoFix a cast.
Matthias Clasen [Mon, 20 Feb 2006 00:42:39 +0000 (00:42 +0000)]
Fix a cast.

2006-02-19  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtklinkbutton.c (gtk_link_button_class_init): Fix
a cast.

18 years agoUpdated French translation.
Benoît Dejean [Sat, 18 Feb 2006 12:49:36 +0000 (12:49 +0000)]
Updated French translation.

* fr.po: Updated French translation.

18 years agoDND keynav support:
Matthias Clasen [Fri, 17 Feb 2006 16:47:29 +0000 (16:47 +0000)]
DND keynav support:

2006-02-17  Matthias Clasen  <mclasen@redhat.com>

        DND keynav support:

        * gtk/gtkdnd.c (gtk_drag_update_idle): Protect against
        info->last_event being NULL.
        (gtk_drag_key_cb): Handle arrow keys to move the drag icon
        and space or enter to drop.

18 years agoBe robust and reject rectangles with negative width or height. (#331467,
Matthias Clasen [Fri, 17 Feb 2006 15:41:27 +0000 (15:41 +0000)]
Be robust and reject rectangles with negative width or height. (#331467,

2006-02-17  Matthias Clasen  <mclasen@redhat.com>

        * gdk/gdkregion-generic.c (gdk_region_union_with_rect):
        Be robust and reject rectangles with negative width or
        height.  (#331467, Benjamin Berg)

18 years agoOnly update the virtual root if the child path is an ancestor of the
Kristian Rietveld [Fri, 17 Feb 2006 15:00:47 +0000 (15:00 +0000)]
Only update the virtual root if the child path is an ancestor of the

2006-02-17  Kristian Rietveld  <kris@imendio.com>

* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_rows_reordered):
Only update the virtual root if the child path is an ancestor
of the virtual root.  (Patch from Markku Vire).

18 years agoCall ::initial_focus() on the child before calling ::map() on our parent
Federico Mena Quintero [Thu, 16 Feb 2006 18:34:10 +0000 (18:34 +0000)]
Call ::initial_focus() on the child before calling ::map() on our parent

2006-02-16  Federico Mena Quintero  <federico@novell.com>

* gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_map): Call
::initial_focus() on the child before calling ::map() on our
parent class.  This will prevent the shortcuts treeview from
highlighting its first row as a result of getting assigned focus
by gtk_dialog_map().

18 years agoRemove redundant check. Pointed out by Bodo-Merle Sandor.
Matthias Clasen [Tue, 14 Feb 2006 14:35:07 +0000 (14:35 +0000)]
Remove redundant check. Pointed out by Bodo-Merle Sandor.

2006-02-14  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkwidget.c (gtk_widget_send_expose): Remove redundant
check.  Pointed out by Bodo-Merle Sandor.

18 years agoRemove some unnecessary checks
Matthias Clasen [Tue, 14 Feb 2006 13:50:03 +0000 (13:50 +0000)]
Remove some unnecessary checks

18 years agoGive working examples in the docs. (#330944, John Spray)
Matthias Clasen [Mon, 13 Feb 2006 02:31:28 +0000 (02:31 +0000)]
Give working examples in the docs. (#330944, John Spray)

2006-02-12  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkicontheme.c (gtk_icon_theme_list_icons): Give working
examples in the docs.  (#330944, John Spray)

18 years agoMore updates
Matthias Clasen [Sun, 12 Feb 2006 06:14:35 +0000 (06:14 +0000)]
More updates

18 years agoUpdates
Matthias Clasen [Sun, 12 Feb 2006 06:11:02 +0000 (06:11 +0000)]
Updates

18 years agoFix row_spacing/column_spacing confusion. (#330732, Donald Straney)
Matthias Clasen [Sat, 11 Feb 2006 23:25:25 +0000 (23:25 +0000)]
Fix row_spacing/column_spacing confusion. (#330732, Donald Straney)

2006-02-10  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkiconview.c (gtk_icon_view_get_item_at_coords): Fix
        row_spacing/column_spacing confusion.  (#330732, Donald Straney)

18 years agoTypo fixes
Matthias Clasen [Sat, 11 Feb 2006 15:09:10 +0000 (15:09 +0000)]
Typo fixes

18 years agoAdd some docs. (#330073, Mart Rautsepp)
Matthias Clasen [Fri, 10 Feb 2006 19:45:14 +0000 (19:45 +0000)]
Add some docs. (#330073, Mart Rautsepp)

2006-02-10  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkstyle.c: Add some docs. (#330073, Mart Rautsepp)

18 years agoimprove liststore docs
Matthias Clasen [Fri, 10 Feb 2006 19:33:17 +0000 (19:33 +0000)]
improve liststore docs

18 years agoGuard against NULL. (#330177, Raphael Slinckx)
Matthias Clasen [Fri, 10 Feb 2006 19:19:54 +0000 (19:19 +0000)]
Guard against NULL. (#330177, Raphael Slinckx)

2006-02-10  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkentrycompletion.c (gtk_entry_completion_match_selected):
Guard against NULL.  (#330177, Raphael Slinckx)

18 years agoAlways check for NULL when using callbacks. (#330563, Benjamin Otte)
Matthias Clasen [Fri, 10 Feb 2006 19:02:38 +0000 (19:02 +0000)]
Always check for NULL when using callbacks. (#330563, Benjamin Otte)

2006-02-10  Matthias Clasen  <mclasen@redhat.com>

        * io-jpeg.c:
        * io-png.c:
        * io-pnm.c:
        * io-tiff.c:
        * io-xbm.c:
        * io-xpm.c: Always check for NULL when using callbacks.
        (#330563, Benjamin Otte)

18 years agoApply a patch by Murray to improve comboboxentry docs
Matthias Clasen [Fri, 10 Feb 2006 18:53:35 +0000 (18:53 +0000)]
Apply a patch by Murray to improve comboboxentry docs

18 years ago2006-02-10 Murray Cumming <murrayc@murrayc.com
Murray Cumming [Fri, 10 Feb 2006 12:59:19 +0000 (12:59 +0000)]
2006-02-10  Murray Cumming  <murrayc@murrayc.com

        * gtk/gtkassistant.h: Correct the declaration of the prepare
        default signal handler to match its registration and use.

18 years agoWork out the font size in floating point, and display the font size with
Ross Burton [Thu, 9 Feb 2006 17:53:46 +0000 (17:53 +0000)]
Work out the font size in floating point, and display the font size with

2006-02-09  Ross Burton  <ross@burtonini.com>

* gtk/gtkfontbutton.c:
Work out the font size in floating point, and display the font
size with %g instead of %d (#317590)

18 years agoadded .cvsignore file to shut up CVS
Sven Neumann [Thu, 9 Feb 2006 11:39:48 +0000 (11:39 +0000)]
added .cvsignore file to shut up CVS

18 years agoIf we don't know where we went, and have generated a leave event, set
Tor Lillqvist [Thu, 9 Feb 2006 05:49:55 +0000 (05:49 +0000)]
If we don't know where we went, and have generated a leave event, set

2006-02-09  Tor Lillqvist  <tml@novell.com>

* gdk/win32/gdkevents-win32.c (gdk_event_translate)
<WM_MOUSELEAVE>: If we don't know where we went, and have
generated a leave event, set current_window to the root
window. This assures we will generate proper enter and leave
events for popup windows. (#325521)

18 years agogdk/win32/gdkevents-win32.c (gdk_event_translate) <WM_MOUSEACTIVATE> Call
John Ehresman [Thu, 9 Feb 2006 03:20:56 +0000 (03:20 +0000)]
gdk/win32/gdkevents-win32.c (gdk_event_translate) <WM_MOUSEACTIVATE> Call

2006-02-08  John Ehresman  <jpe@wingware.com>

* gdk/win32/gdkevents-win32.c (gdk_event_translate)
<WM_MOUSEACTIVATE>
* gdk/win32/gdkwindow-win32.c (show_window_internal)
(gdk_window_raise): Call SetWindowPos() instead of
SetForegroundWindow() or BringWindowToTop() if the window
shouldn't accept focus. (#327375)

18 years agoLet gdk_window_set_decorations() take precedence over anything derived
John Ehresman [Thu, 9 Feb 2006 02:58:45 +0000 (02:58 +0000)]
Let gdk_window_set_decorations() take precedence over anything derived

2006-02-08  John Ehresman  <jpe@wingware.com>

* gdk/win32/gdkwindow-win32.c: Let gdk_window_set_decorations()
take precedence over anything derived from hints. Restructure
related code and logic, add some new helper functions. (#327217)