]> Pileus Git - ~andy/gtk/log
~andy/gtk
18 years agoAdd a current-value property and a setter for it. (#322735, Jorn Baayen)
Matthias Clasen [Mon, 16 Jan 2006 19:07:13 +0000 (19:07 +0000)]
Add a current-value property and a setter for it. (#322735, Jorn Baayen)

2006-01-16  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtk.symbols:
* gtk/gtkradioaction.[hc]: Add a current-value property and a
setter for it.  (#322735, Jorn Baayen)

18 years agoku.po: Updated Kurdish translations
Erdal Ronahi [Mon, 16 Jan 2006 18:18:20 +0000 (18:18 +0000)]
ku.po: Updated Kurdish translations

18 years agoapplied patch from maemo-gtk which adds a child-spacing style property.
Michael Natterer [Mon, 16 Jan 2006 14:49:36 +0000 (14:49 +0000)]
applied patch from maemo-gtk which adds a child-spacing style property.

2006-01-16  Michael Natterer  <mitch@imendio.com>

* gtk/gtkbutton.c: applied patch from maemo-gtk which adds a
child-spacing style property. Fixes bug #327202.

18 years agoSilence the compiler.
Matthias Clasen [Mon, 16 Jan 2006 13:18:16 +0000 (13:18 +0000)]
Silence the compiler.

2006-01-16  Matthias Clasen  <mclasen@redhat.com>

* pixbuf-draw.c (draw_gap_image): Silence the
compiler.

18 years agoFix ChangeLog entry
Anders Carlsson [Mon, 16 Jan 2006 11:11:20 +0000 (11:11 +0000)]
Fix ChangeLog entry

18 years agoImplement keyboard grabs.
Anders Carlsson [Mon, 16 Jan 2006 10:52:40 +0000 (10:52 +0000)]
Implement keyboard grabs.

2006-01-16  Anders Carlsson  <andersca@mac.com>

        * gdk/quartz/gdkdisplay-quartz.c:
        * gdk/quartz/gdkevents-quartz.c:
        (gdk_keyboard_grab):
        (gdk_display_keyboard_ungrab):
        (gdk_keyboard_grab_info_libgtk_only):
        (find_window_for_event):
        Implement keyboard grabs.

        (_gdk_quartz_send_map_events):
        * gdk/quartz/gdkmain-quartz.c:
        * gdk/quartz/gdkprivate-quartz.h:
        New function that synthesizes map events.

        * gdk/quartz/gdkwindow-quartz.c:
        (_gdk_windowing_window_init):
        The root window is always visible.

        (all_parents_shown):
        (show_window_internal):
        Send map events.

        (gdk_window_hide):
        Ungrab keyboard and pointer

18 years agogrrr... the pipe did b0rk b0rk b0rk
Kristian Rietveld [Sun, 15 Jan 2006 20:13:25 +0000 (20:13 +0000)]
grrr... the pipe did b0rk b0rk b0rk

18 years agoFixes #324099, Tommi Komulainen.
Kristian Rietveld [Sun, 15 Jan 2006 20:12:49 +0000 (20:12 +0000)]
Fixes #324099, Tommi Komulainen.

2006-01-15  Kristian Rietveld  <kris@gtk.org>

Fixes #324099, Tommi Komulainen.

* gtk/gtktreestore.[ch] (gtk_tree_store_insert_with_values),
(gtk_tree_store_insert_with_valuesv): new functions, analog to
those found in GtkListStore.

* gtk/gtktreestore.c (gtk_tree_store_real_set_value),
(gtk_tree_store_set_valist), (gtk_tree_store_set_valist_internal),
(gtk_tree_store_sort_iter_changed): refactored.

* gtk/gtk.symbols: updated.

* tests/treestoretest.c: added a test for this new functionality.

18 years agoRemove an unused variable.
Matthias Clasen [Sun, 15 Jan 2006 04:44:26 +0000 (04:44 +0000)]
Remove an unused variable.

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

* gtk/gtkentry.c (gtk_entry_drag_data_received): Remove
an unused variable.

18 years agoRegister RTL versions of the indent and unindent icons. (#326857, Itai
Matthias Clasen [Sun, 15 Jan 2006 04:33:30 +0000 (04:33 +0000)]
Register RTL versions of the indent and unindent icons. (#326857, Itai

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

* gtk/gtkiconfactory.c (get_default_icons): Register RTL
versions of the indent and unindent icons.  (#326857,
Itai Bar-Haim)

* gtk/Makefile.am (STOCK_ICONS): And add them here.

18 years agoFix a crash with combo boxes in RESIZE_IMMEDIATE containers. (#326806,
Matthias Clasen [Sun, 15 Jan 2006 04:08:31 +0000 (04:08 +0000)]
Fix a crash with combo boxes in RESIZE_IMMEDIATE containers. (#326806,

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

Fix a crash with combo boxes in RESIZE_IMMEDIATE
containers.  (#326806, Sebastian Bacher)

* gtk/gtkcombobox.c (gtk_combo_box_size_allocate)
(gtk_combo_box_size_request): Don't call
gtk_combo_box_check_appearance() from here, as that
can lead to recursion.
(gtk_combo_box_init): Instead, call it here.

18 years agofix a typo which caused this whole thing to not function ...
Kristian Rietveld [Sat, 14 Jan 2006 19:58:04 +0000 (19:58 +0000)]
fix a typo which caused this whole thing to not function ...

2006-01-14  Kristian Rietveld  <kris@gtk.org>

* gtk/gtktreemodelsort.c (gtk_tree_model_sort_iter_children): fix
a typo which caused this whole thing to not function ...

18 years agofixup adjustments and top_row if the current dy + page_size exceeds the
Kristian Rietveld [Sat, 14 Jan 2006 19:41:07 +0000 (19:41 +0000)]
fixup adjustments and top_row if the current dy + page_size exceeds the

2006-01-14  Kristian Rietveld  <kris@gtk.org>

* gtk/gtktreeview.c (gtk_tree_view_size_allocate),
(validate_visible_area): fixup adjustments and top_row if the
current dy + page_size exceeds the new tree view height. (Fixes
#316689, reported by Chris Lord).

18 years agoMake this work on more platforms.
Matthias Clasen [Sat, 14 Jan 2006 04:45:22 +0000 (04:45 +0000)]
Make this work on more platforms.

2006-01-13  Matthias Clasen  <mclasen@redhat.com>

* */abicheck.sh: Make this work on more platforms.

18 years agoadd a little test for the newly introduced indicator-size property.
Kristian Rietveld [Fri, 13 Jan 2006 13:28:22 +0000 (13:28 +0000)]
add a little test for the newly introduced indicator-size property.

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

* tests/testtreefocus.c (set_indicator_size), (main): add a little
test for the newly introduced indicator-size property.

18 years agoinitialize the inconsistent field in the private structure,
Kristian Rietveld [Fri, 13 Jan 2006 13:09:14 +0000 (13:09 +0000)]
initialize the inconsistent field in the private structure,

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

* gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_init):
initialize the inconsistent field in the private structure,
(gtk_cell_renderer_toggle_class_init),
(gtk_cell_renderer_toggle_{set,get}_property),
(gtk_cell_renderer_toggle_get_size): introduce a indicator-size
property.

18 years agodon't animate the expander arrows if gtk-enable-animations is FALSE (bug
Michael Natterer [Fri, 13 Jan 2006 10:03:31 +0000 (10:03 +0000)]
don't animate the expander arrows if gtk-enable-animations is FALSE (bug

2006-01-13  Michael Natterer  <mitch@imendio.com>

* gtk/gtktreeview.c (gtk_tree_view_real_expand_row)
(gtk_tree_view_real_collapse_row): don't animate the expander
arrows if gtk-enable-animations is FALSE (bug #142582).

18 years agoReplace hardcoded values for tab-overlap and tab-curvature with style
Matthias Clasen [Thu, 12 Jan 2006 21:31:55 +0000 (21:31 +0000)]
Replace hardcoded values for tab-overlap and tab-curvature with style

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

* gtk/gtknotebook.c: Replace hardcoded values for tab-overlap and
tab-curvature with style properties.  (#325282, Alexander Nedotsukov)

18 years agoReset the virtual cursor position. (#326003, Evert Verhellen)
Matthias Clasen [Thu, 12 Jan 2006 21:14:30 +0000 (21:14 +0000)]
Reset the virtual cursor position. (#326003, Evert Verhellen)

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

* gtk/gtktextview.c (gtk_text_view_commit_text)
(gtk_text_view_delete_from_cursor, gtk_text_view_backspace):
Reset the virtual cursor position.  (#326003, Evert Verhellen)

18 years agoClarify the docs ("darkened/brightened" is not "saturation").
Federico Mena Quintero [Thu, 12 Jan 2006 20:19:06 +0000 (20:19 +0000)]
Clarify the docs ("darkened/brightened" is not "saturation").

2006-01-12  Federico Mena Quintero  <federico@ximian.com>

* gdk-pixbuf-util.c (gdk_pixbuf_saturate_and_pixelate): Clarify
the docs ("darkened/brightened" is not "saturation").

18 years agoAdd some docs about RGBA windows. (#326486, Benjamin Otte)
Matthias Clasen [Thu, 12 Jan 2006 18:43:35 +0000 (18:43 +0000)]
Add some docs about RGBA windows. (#326486, Benjamin Otte)

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

* gtk/gtkwidget.c (gtk_widget_set_app_paintable): Add some docs
about RGBA windows. (#326486, Benjamin Otte)

18 years agoconnect to the display's "closed" signal and free the cached scratch
Michael Natterer [Thu, 12 Jan 2006 13:50:51 +0000 (13:50 +0000)]
connect to the display's "closed" signal and free the cached scratch

2006-01-12  Michael Natterer  <mitch@imendio.com>

* gdk/gdkimage.c (scratch_image_info_for_depth): connect to the
display's "closed" signal and free the cached scratch images upon
display closing (bug #85715).

18 years agoskip the animation if the gtk-enable-animations setting is FALSE (bug
Michael Natterer [Thu, 12 Jan 2006 09:54:54 +0000 (09:54 +0000)]
skip the animation if the gtk-enable-animations setting is FALSE (bug

2006-01-12  Michael Natterer  <mitch@imendio.com>

* gtk/gtkexpander.c (gtk_expander_set_expanded): skip the
animation if the gtk-enable-animations setting is FALSE
(bug #142582).

18 years agoFix a C99ism
Matthias Clasen [Thu, 12 Jan 2006 04:33:33 +0000 (04:33 +0000)]
Fix a C99ism

18 years agoUpdated Canadian English translation.
Adam Weinberger [Wed, 11 Jan 2006 17:37:24 +0000 (17:37 +0000)]
Updated Canadian English translation.

2006-01-11  Adam Weinberger  <adamw@gnome.org>

* en_CA.po: Updated Canadian English translation.

18 years agoAdd some notify batching, always emit notify after setting the new value.
Matthias Clasen [Wed, 11 Jan 2006 16:13:23 +0000 (16:13 +0000)]
Add some notify batching, always emit notify after setting the new value.

2006-01-11  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtklabel.c: Add some notify batching, always
emit notify after setting the new value.

18 years agoAdd properties. (#311254, Johan Dahlin) (gtk_message_dialog_new): Remove
Matthias Clasen [Wed, 11 Jan 2006 15:23:05 +0000 (15:23 +0000)]
Add properties. (#311254, Johan Dahlin) (gtk_message_dialog_new): Remove

* gtk/gtkmessagedialog.c: Add properties.  (#311254,
Johan Dahlin)
(gtk_message_dialog_new): Remove some redundant code, pointed
out by Gustavo Carneiro.

18 years agoClean up properly if the grab fails. (finish_drag): Don't leak a reference
Matthias Clasen [Wed, 11 Jan 2006 14:54:05 +0000 (14:54 +0000)]
Clean up properly if the grab fails. (finish_drag): Don't leak a reference

2006-01-11  Matthias Clasen  <mclasen@redhat.com>

* gdk/x11/gdkwindow-x11.c (create_moveresize_window): Clean
up properly if the grab fails.
(finish_drag): Don't leak a reference to moveresize_window
here.

18 years agoFix string offsets.
Matthias Clasen [Wed, 11 Jan 2006 06:26:30 +0000 (06:26 +0000)]
Fix string offsets.

2006-01-11  Matthias Clasen  <mclasen@redhat.com>

* gdk/x11/gdkevents-x11.c: Fix string offsets.

18 years agoAllow falling back to another icon theme before hicolor. (#325546, Rodney
Matthias Clasen [Wed, 11 Jan 2006 06:20:17 +0000 (06:20 +0000)]
Allow falling back to another icon theme before hicolor. (#325546, Rodney

2006-01-11  Matthias Clasen  <mclasen@redhat.com>

Allow falling back to another icon theme before
hicolor.   (#325546, Rodney Dawes)

* gtk/gtksettings.c: Add a gtk-fallback-icon-theme setting.

* gdk/x11/gdkevents-x11.c: Map it to the XSetting Net/FallbackIconTheme.

* gtk/gtkicontheme.c: Consult the fallback icon theme before
looking in hicolor.

18 years agoAdd an expander example.
Matthias Clasen [Wed, 11 Jan 2006 04:18:19 +0000 (04:18 +0000)]
Add an expander example.

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

* tests/testgtk.c: Add an expander example.

18 years agoQueue a draw when losing the focus. (#326064, Andrew Conkling)
Matthias Clasen [Wed, 11 Jan 2006 03:48:27 +0000 (03:48 +0000)]
Queue a draw when losing the focus. (#326064, Andrew Conkling)

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

* gtk/gtkcalendar.c (gtk_calendar_focus_out): Queue a draw
when losing the focus.  (#326064, Andrew Conkling)

18 years agoConvert to use instance private data.
Matthias Clasen [Wed, 11 Jan 2006 03:36:12 +0000 (03:36 +0000)]
Convert to use instance private data.

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

* gtk/gtkimmulticontext.c:
* gtk/gtkhsv.c:
* gtk/gtkhandlebox.c: Convert to use instance private data.

18 years agoRemove duplicate include. (#326429, Benoît Carpentier)
Matthias Clasen [Tue, 10 Jan 2006 19:55:11 +0000 (19:55 +0000)]
Remove duplicate include. (#326429, Benoît Carpentier)

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

* gtk/gtk.h: Remove duplicate include.  (#326429,
Benoît Carpentier)

18 years agoConvert to use instance private data.
Matthias Clasen [Tue, 10 Jan 2006 17:56:27 +0000 (17:56 +0000)]
Convert to use instance private data.

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

* gtk/gtkpaned.c: Convert to use instance private data.

18 years agodisconnect from the right object ("closed" is emitted by the display, not
Michael Natterer [Tue, 10 Jan 2006 16:47:37 +0000 (16:47 +0000)]
disconnect from the right object ("closed" is emitted by the display, not

2006-01-10  Michael Natterer  <mitch@imendio.com>

* gdk/gdkpango.c (on_renderer_display_closed): disconnect from the
right object ("closed" is emitted by the display, not the screen).
(bug #85715)

18 years agoImplement local-only atoms.
Anders Carlsson [Tue, 10 Jan 2006 16:38:26 +0000 (16:38 +0000)]
Implement local-only atoms.

2006-01-10  Anders Carlsson  <andersca@imendio.com>

        * gdk/quartz/gdkproperty-quartz.c:
        (ensure_atom_tables):
        (intern_atom_internal):
        (gdk_atom_intern):
        (gdk_atom_intern_static_string):
        (gdk_atom_name):
        Implement local-only atoms.

18 years agoCorrect a warning. (#326341, Benoît Carpentier)
Matthias Clasen [Tue, 10 Jan 2006 04:42:18 +0000 (04:42 +0000)]
Correct a warning. (#326341, Benoît Carpentier)

2006-01-09  Matthias Clasen  <mclasen@redhat.com>

* gdk/gdkgc.c (gc_get_foreground): Correct a warning.
(#326341, Benoît Carpentier)

18 years agoMake this function public API. (#307099, Todd Berman)
Matthias Clasen [Tue, 10 Jan 2006 04:33:30 +0000 (04:33 +0000)]
Make this function public API. (#307099, Todd Berman)

2006-01-09  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtk.symbols:
* gtk/gtkwindow.h:
* gtk/gtkwindow.c (gtk_window_get_group): Make this function
public API.  (#307099, Todd Berman)

* gtk/gtkmenu.c:
* gtk/gtkmain.c:
* gtk/gtkentrycompletion.c:
* gtk/gtkcombo.c:
* gtk/gtkcombobox.c: Update all callers.

18 years agoMake GtkEntryCompletion complete on pastes at the end. (#165714, Christian
Matthias Clasen [Tue, 10 Jan 2006 04:07:32 +0000 (04:07 +0000)]
Make GtkEntryCompletion complete on pastes at the end. (#165714, Christian

2006-01-09  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkentry.c (paste_received):  Make GtkEntryCompletion
complete on pastes at the end.  (#165714, Christian Neumair)

18 years agoAdd cvsignore
Johan Dahlin [Mon, 9 Jan 2006 19:25:35 +0000 (19:25 +0000)]
Add cvsignore

18 years agoPrevent the first row being focused on map. (#137351, Niklas Knutsson)
Matthias Clasen [Mon, 9 Jan 2006 19:22:33 +0000 (19:22 +0000)]
Prevent the first row being focused on map. (#137351, Niklas Knutsson)

2006-01-09  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkentrycompletion.c (_gtk_entry_completion_popup):
Prevent the first row being focused on map.  (#137351,
Niklas Knutsson)

18 years agoAdd gtk_size_group_get_widgets, fixes #326324. Also mark all fields of
Johan Dahlin [Mon, 9 Jan 2006 19:18:14 +0000 (19:18 +0000)]
Add gtk_size_group_get_widgets, fixes #326324. Also mark all fields of

    * gtk/gtk.symbols:
    * gtk/gtkeditable.h:
    * gtk/gtksizegroup.c: (gtk_size_group_get_widgets):
    * gtk/gtksizegroup.h:
    (struct _GtkSizeGroup):

    Add gtk_size_group_get_widgets, fixes #326324.
    Also mark all fields of GtkSizeGroup as private

18 years agoDon't leak preedit_string and preedit_attrs. (#322332, Paolo Borelli)
Matthias Clasen [Mon, 9 Jan 2006 18:20:23 +0000 (18:20 +0000)]
Don't leak preedit_string and preedit_attrs. (#322332, Paolo Borelli)

2006-01-09  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktextlayout.c (gtk_text_layout_finalize): Don't
leak preedit_string and preedit_attrs.  (#322332, Paolo
Borelli)

18 years agoMake it build
Matthias Clasen [Mon, 9 Jan 2006 18:12:59 +0000 (18:12 +0000)]
Make it build

18 years agoNew function to get the action for a proxy. (#326288)
Matthias Clasen [Mon, 9 Jan 2006 18:07:14 +0000 (18:07 +0000)]
New function to get the action for a proxy. (#326288)

2006-01-09  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtk.symbols:
* gtk/gtkaction.h:
* gtk/gtkaction.c (gtk_widget_get_action): New function to
get the action for a proxy.  (#326288)

18 years agoGo back to the old key for attaching the action to the proxy. (#326288,
Matthias Clasen [Mon, 9 Jan 2006 16:54:04 +0000 (16:54 +0000)]
Go back to the old key for attaching the action to the proxy. (#326288,

2006-01-09  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkaction.c: Go back to the old key for attaching the
action to the proxy.  (#326288, Diego González)

18 years agoDon't translate empty strings. (#326200, Christian Stimming)
Matthias Clasen [Sun, 8 Jan 2006 23:25:14 +0000 (23:25 +0000)]
Don't translate empty strings. (#326200, Christian Stimming)

2006-01-08  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkactiongroup.c (dgettext_swapped): Don't translate
        empty strings.  (#326200, Christian Stimming)

18 years agoShrink the private structs of these a bit.
Matthias Clasen [Sun, 8 Jan 2006 07:54:43 +0000 (07:54 +0000)]
Shrink the private structs of these a bit.

2006-01-08  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkentry.[hc]:
* gtk/gtklabel.[hc]: Shrink the private structs of these a bit.

18 years agoFix label alignment when width-chars is set. (#326098, Benjamin Otte)
Matthias Clasen [Sun, 8 Jan 2006 06:44:11 +0000 (06:44 +0000)]
Fix label alignment when width-chars is set. (#326098, Benjamin Otte)

2006-01-08  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtklabel.c (get_layout_location): Fix label alignment
when width-chars is set.  (#326098, Benjamin Otte)

18 years agoFix this for the single-rectangle case. (#326127, Benjamin Berg)
Matthias Clasen [Sun, 8 Jan 2006 06:11:18 +0000 (06:11 +0000)]
Fix this for the single-rectangle case. (#326127, Benjamin Berg)

2006-01-08  Matthias Clasen  <mclasen@redhat.com>

* gdk/gdkregion-generic.c (miRegionCopy): Fix this for the
single-rectangle case.  (#326127, Benjamin Berg)
(gdk_region_copy): Use miRegionCopy() here.

18 years agoUpdated Catalan translation.
Josep Puigdemont i Casamajó [Sat, 7 Jan 2006 12:10:22 +0000 (12:10 +0000)]
Updated Catalan translation.

18 years agoFix actiongroup-action interaction that relied on actions connecting to
Matthias Clasen [Sat, 7 Jan 2006 06:08:07 +0000 (06:08 +0000)]
Fix actiongroup-action interaction that relied on actions connecting to

2006-01-07  Matthias Clasen  <mclasen@redhat.com>

Fix actiongroup-action interaction that relied on
actions connecting to notify on themselves:

* gtk/gtkaction.[hc]: Factor out the code updating the
visibility/sensitivity of proxies into _gtk_action_sync_visible()
and _gtk_action_sync_sensible().

* gtk/gtkactiongroup.c: Call the new functions when the
group visibility/sensitivity changes.

18 years agoAdd missing property change notification.
Matthias Clasen [Sat, 7 Jan 2006 04:18:40 +0000 (04:18 +0000)]
Add missing property change notification.

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

* gtk/gtkactiongroup.c (gtk_action_group_set_sensitive)
(gtk_action_group_set_visible): Add missing property change
notification.

18 years agoAnd free the string...
Matthias Clasen [Fri, 6 Jan 2006 21:54:09 +0000 (21:54 +0000)]
And free the string...

18 years agoJust use the directory name for the home dir. (#325817, Federico Mena
Matthias Clasen [Fri, 6 Jan 2006 21:49:59 +0000 (21:49 +0000)]
Just use the directory name for the home dir. (#325817, Federico Mena

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

* gtk/gtkfilechooserbutton.c (model_add_special): Just use the
directory name for the home dir.  (#325817, Federico Mena Quintero)

18 years agoInitialize editable to TRUE. (gtk_text_tag_class_init): The default value
Matthias Clasen [Fri, 6 Jan 2006 17:53:53 +0000 (17:53 +0000)]
Initialize editable to TRUE. (gtk_text_tag_class_init): The default value

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

* gtk/gtktexttag.c (gtk_text_attributes_new): Initialize editable to
TRUE.
(gtk_text_tag_class_init): The default value for the direction property
is GTK_TEXT_DIR_NONE. Add notes about the initial values of the
font and language properties.

18 years agoMake clicked an action signal. (#325782, Martyn Russell)
Matthias Clasen [Fri, 6 Jan 2006 15:21:32 +0000 (15:21 +0000)]
Make clicked an action signal. (#325782, Martyn Russell)

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

* gtk/gtktoolbutton.c (gtk_tool_button_class_init): Make clicked
an action signal.  (#325782, Martyn Russell)

18 years agoDisconnect from the old adjustments signals. (#325869, Jorn Baayen)
Matthias Clasen [Fri, 6 Jan 2006 14:07:24 +0000 (14:07 +0000)]
Disconnect from the old adjustments signals. (#325869, Jorn Baayen)

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

* gtk/gtkviewport.c (viewport_set_adjustment): Disconnect from
the old adjustments signals.  (#325869, Jorn Baayen)

18 years agoadded a bunch of tests use g_snprintf() don't include unistd.h twice.
Hans Breuer [Fri, 6 Jan 2006 12:05:28 +0000 (12:05 +0000)]
added a bunch of tests use g_snprintf() don't include unistd.h twice.

2006-01-06  Hans Breuer  <hans@breuer.org>

* tests/makefile.msc : added a bunch of tests
* tests/testcellrenderertext.c : use g_snprintf()
* tests/testfilechooserbutton.c : don't include unistd.h twice.
Removed the unconditional one and added direct.h for G_OS_WIN32

18 years agoupdated hindi
Rajesh Ranjan [Fri, 6 Jan 2006 05:05:00 +0000 (05:05 +0000)]
updated hindi

18 years agoalso recurse into win32 for ::clean create gtkbuiltincache.h (most code to
Hans Breuer [Thu, 5 Jan 2006 23:55:08 +0000 (23:55 +0000)]
also recurse into win32 for ::clean create gtkbuiltincache.h (most code to

2006-01-05  Hans Breuer  <hans@breuer.org>

* gdk/makefile.msc : also recurse into win32 for ::clean
* gtk/makefile.msc.in : create gtkbuiltincache.h (most code
to simulate links) and file renames

18 years agoSet minimum for activity-step property to 0 instead of -G_MAXUINT.
Johan Dahlin [Thu, 5 Jan 2006 19:59:18 +0000 (19:59 +0000)]
Set minimum for activity-step property to 0 instead of -G_MAXUINT.

* gtk/gtkprogressbar.c: Set minimum for activity-step property to 0
  instead of -G_MAXUINT.

18 years agoOnly connect to the event if we have a frame, since the handler is only
Matthias Clasen [Thu, 5 Jan 2006 19:15:45 +0000 (19:15 +0000)]
Only connect to the event if we have a frame, since the handler is only

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

* gtk/gtkwindow.c: Only connect to the event if we have
a frame, since the handler is only relevant in that case.

18 years agoSome more
Matthias Clasen [Thu, 5 Jan 2006 17:39:17 +0000 (17:39 +0000)]
Some more

18 years agoUse a weak reference rather than the destroy signal to track proxies going
Matthias Clasen [Thu, 5 Jan 2006 17:30:44 +0000 (17:30 +0000)]
Use a weak reference rather than the destroy signal to track proxies going

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

* gtk/gtkaction.c (connect_proxy): Use a weak reference rather
than the destroy signal to track proxies going away.

18 years agoRevert the last change.
Matthias Clasen [Thu, 5 Jan 2006 15:56:14 +0000 (15:56 +0000)]
Revert the last change.

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

* gtk/gtkbindings.c (binding_signal_new): Revert the last change.

18 years agoRemoved.
Matthias Clasen [Thu, 5 Jan 2006 14:40:27 +0000 (14:40 +0000)]
Removed.

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

* gtk/gtkaction.c: (gtk_action_sync_property): Removed.

18 years agoallocate correct amount for signal and arguments.
Rodrigo Moya [Thu, 5 Jan 2006 11:26:59 +0000 (11:26 +0000)]
allocate correct amount for signal and arguments.

2006-01-05  Rodrigo Moya <rodrigo@novell.com>

* gtk/gtkbindings.c (binding_signal_new): allocate correct amount for
signal and arguments.

18 years agoDon't return a value from a void function.
Matthias Clasen [Thu, 5 Jan 2006 06:28:58 +0000 (06:28 +0000)]
Don't return a value from a void function.

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

* gtk/gtklabel.c (gtk_label_grab_focus): Don't return a value from
a void function.

18 years agoRevert questionable changes.
Matthias Clasen [Thu, 5 Jan 2006 04:21:09 +0000 (04:21 +0000)]
Revert questionable changes.

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

* gtk/gtkbindings.h (struct _GtkBindingSignal): Revert questionable
changes.

* gtk/gtkbindings.c: Use the slice allocator and allocate signal
and arguments in one block.

18 years agoDon't return a list of NULLs. (#325723, Steve Chaplin)
Matthias Clasen [Wed, 4 Jan 2006 15:32:05 +0000 (15:32 +0000)]
Don't return a list of NULLs. (#325723, Steve Chaplin)

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

* gtk/gtkuimanager.c (gtk_ui_manager_get_toplevels): Don't return
a list of NULLs.  (#325723, Steve Chaplin)

18 years agoguard against multiplying by -1 (when n_args is 0).
Rodrigo Moya [Wed, 4 Jan 2006 12:38:06 +0000 (12:38 +0000)]
guard against multiplying by -1 (when n_args is 0).

2006-01-04  Rodrigo Moya <rodrigo@novell.com>

* gtk/gtkbindings.c (binding_signal_new): guard against multiplying
by -1 (when n_args is 0).

18 years agouse gtk_menu_attach_to_widget() and gtk_menu_detach() instead of
Michael Natterer [Wed, 4 Jan 2006 11:25:19 +0000 (11:25 +0000)]
use gtk_menu_attach_to_widget() and gtk_menu_detach() instead of

2006-01-04  Michael Natterer  <mitch@imendio.com>

* gtk/gtkmenutoolbutton.c
(gtk_menu_tool_button_set_menu)
(gtk_menu_tool_button_destroy): use gtk_menu_attach_to_widget()
and gtk_menu_detach() instead of reffing/unreffing the menu
manually. Also fixes brokenness on screen change (bug #85715).

18 years agoUse the slice allocator for many small allocations.
Matthias Clasen [Wed, 4 Jan 2006 07:06:12 +0000 (07:06 +0000)]
Use the slice allocator for many small allocations.

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

* gtk/gtkaccelmap.c:
* gtk/gtkactiongroup.c:
* gtk/gtkdialog.c:
* gtk/gtkfilesystemunix.c:
* gtk/gtkgc.c:
* gtk/gtkkeyhash.c:
* gtk/gtkplug.c:
* gtk/gtktextiter.c:
* gtk/gtktextlayout.c:
* gtk/gtkuimanager.c:
* gtk/gtkwidget.c:
* gtk/gtkwindow.c:
* gtk/gtkxembed.c: Use the slice allocator for many small
allocations.

* gtk/gtkcolorsel.c:
* gtk/gtktreeview.c: Use IPN.

* gtk/gtkwidget.c: Remove an unused field from the AccelPath
struct.

18 years agoInclude also the gtk20-properties message catalogs.
Tor Lillqvist [Wed, 4 Jan 2006 01:46:13 +0000 (01:46 +0000)]
Include also the gtk20-properties message catalogs.

2006-01-04  Tor Lillqvist  <tml@novell.com>

* gtk-zip.sh.in: Include also the gtk20-properties message catalogs.

18 years agoUpdated Spanish translation.
Francisco Javier F. Serrador [Tue, 3 Jan 2006 22:02:52 +0000 (22:02 +0000)]
Updated Spanish translation.

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

* es.po: Updated Spanish translation.

18 years agoFix the build
Matthias Clasen [Tue, 3 Jan 2006 15:38:31 +0000 (15:38 +0000)]
Fix the build

18 years agoRemove pointless cast
Matthias Clasen [Tue, 3 Jan 2006 13:50:59 +0000 (13:50 +0000)]
Remove pointless cast

18 years agoCall gtk_drag_update for non-motion events. (#325443, Peter Harvey)
Matthias Clasen [Tue, 3 Jan 2006 13:50:02 +0000 (13:50 +0000)]
Call gtk_drag_update for non-motion events. (#325443, Peter Harvey)

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

* gtk/gtkdnd.c (gtk_drag_begin_internal): Call gtk_drag_update
for non-motion events.  (#325443, Peter Harvey)

18 years agoAvoid connecting to notify on our own properties.
Matthias Clasen [Tue, 3 Jan 2006 06:19:00 +0000 (06:19 +0000)]
Avoid connecting to notify on our own properties.

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

* gtk/gtkaction.c: Avoid connecting to notify on our own
properties.

18 years agoWhen deleting words, delete preceding whitespace as well. (#325358, Akkana
Matthias Clasen [Tue, 3 Jan 2006 03:56:44 +0000 (03:56 +0000)]
When deleting words, delete preceding whitespace as well. (#325358, Akkana

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

* gtk/gtkentry.c (gtk_entry_delete_from_cursor): When deleting
words, delete preceding whitespace as well.  (#325358,  Akkana Peck)

18 years agoHave these return TRUE
Anders Carlsson [Mon, 2 Jan 2006 16:34:21 +0000 (16:34 +0000)]
Have these return TRUE

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

        * gdk/quartz/GdkQuartzWindow.c:
        (-[GdkQuartzWindow canBecomeMainWindow]):
        (-[GdkQuartzWindow canBecomeKeyWindow]):
        Have these return TRUE

        * gdk/quartz/gdkevents-quartz.c:
        (pointer_grab_internal):
        Remove FIXME

        (find_child_window_by_point_helper):
        Fix bug in offset calculation

        (find_window_for_event):
        Use grab window toplevel when a grab is in effect

        (gdk_event_translate):
        Don't call _gdk_event_button_generate on mouse up

        * gdk/quartz/gdkgc-quartz.c:
        (_gdk_quartz_gc_new):
        Fix indentation

        * gdk/quartz/gdkwindow-quartz.c:
        (gdk_window_new):
        Make TEMP windows borderless

        (gdk_window_hide):
        Hide window

        (gdk_window_get_origin):
        Implement

18 years agoMake identical to the X11 implementation. (#322264, John Ehresman)
Tor Lillqvist [Mon, 2 Jan 2006 09:32:56 +0000 (09:32 +0000)]
Make identical to the X11 implementation. (#322264, John Ehresman)

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

* gdk/win32/gdkwindow-win32.c
(gdk_window_impl_win32_get_visible_region): Make identical to the
X11 implementation. (#322264, John Ehresman)

18 years agoRevert stuff that was accidentally committed.
Tor Lillqvist [Mon, 2 Jan 2006 00:48:39 +0000 (00:48 +0000)]
Revert stuff that was accidentally committed.

18 years agoGet the invalidated region from ScrollWindowEx() instead of an incorrect
Tor Lillqvist [Mon, 2 Jan 2006 00:45:39 +0000 (00:45 +0000)]
Get the invalidated region from ScrollWindowEx() instead of an incorrect

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

* gdk/win32/gdkgeometry-win32.c (gdk_window_scroll): Get the
invalidated region from ScrollWindowEx() instead of an incorrect
attempt to calculate it ourselves. Fix by John Ehresman. (#323666)

* gdkevents-win32.c: Make _gdk_win32_hrgn_to_region() non-static.

* gdkprivate-win32.h: Declare it.

18 years agoConnect to notify instead of multiple detailed signals.
Matthias Clasen [Sat, 31 Dec 2005 07:06:31 +0000 (07:06 +0000)]
Connect to notify instead of multiple detailed signals.

2005-12-31  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkaction.c:
        * gtk/gtkentry.c: Connect to notify instead of multiple
        detailed signals.

18 years agoAdd gdk_cairo_set_source_pixmap. (#318805, Alexander Larsson)
Matthias Clasen [Fri, 30 Dec 2005 07:16:35 +0000 (07:16 +0000)]
Add gdk_cairo_set_source_pixmap. (#318805, Alexander Larsson)

2005-12-30  Matthias Clasen  <mclasen@redhat.com>

* gdk/gdk.symbols:
* gdk/gdkcairo.h:
* gdk/gdkcairo.c: Add gdk_cairo_set_source_pixmap.  (#318805,
Alexander Larsson)

18 years agoCall gdk_display_manager_set_default_display() to change the default
Matthias Clasen [Fri, 30 Dec 2005 06:32:30 +0000 (06:32 +0000)]
Call gdk_display_manager_set_default_display() to change the default

2005-12-30  Matthias Clasen  <mclasen@redhat.com>

* gdk/gdkdisplaymanager.c (gdk_display_manager_set_property): Call
gdk_display_manager_set_default_display() to change the default
display.  (#153623, Stefan Kost)

18 years agominor doc edit
Jonathan Blandford [Fri, 30 Dec 2005 06:02:04 +0000 (06:02 +0000)]
minor doc edit

18 years agoAlert dialogs should not have titles and should not be displayed in the
Matthias Clasen [Fri, 30 Dec 2005 05:37:44 +0000 (05:37 +0000)]
Alert dialogs should not have titles and should not be displayed in the

2005-12-30  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkmessagedialog.c (gtk_message_dialog_init):
         (setup_type): Alert dialogs should not have titles and should
        not be displayed in the taskbar.  (#310443, Carlos Garnacho Parro,
        Dennis Cranston)

18 years agoAdd deprecation note to gtk_exit() (#325199, Ævar Arnfjörð Bjarmason)
Matthias Clasen [Fri, 30 Dec 2005 04:58:41 +0000 (04:58 +0000)]
Add deprecation note to gtk_exit() (#325199, Ævar Arnfjörð Bjarmason)

2005-12-29  Matthias Clasen  <mclasen@redhat.com>

* gtk/tmpl/gtkmain.sgml: Add deprecation note to
gtk_exit()  (#325199, Ævar Arnfjörð Bjarmason)

18 years agoAlways call the get_path and get_iter implementations directly, rather
Matthias Clasen [Fri, 30 Dec 2005 03:29:36 +0000 (03:29 +0000)]
Always call the get_path and get_iter implementations directly, rather

2005-12-29  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkliststore.c:
* gtk/gtktreestore.c: Always call the get_path and get_iter
implementations directly, rather than the current mixture whith
some calls going through the GtkTreeModel interface.

18 years agoMore of the same
Matthias Clasen [Thu, 29 Dec 2005 07:47:02 +0000 (07:47 +0000)]
More of the same

18 years agoRemove excessive g_return_if_fail() checks in static functions.
Matthias Clasen [Thu, 29 Dec 2005 07:14:19 +0000 (07:14 +0000)]
Remove excessive g_return_if_fail() checks in static functions.

2005-12-29  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkliststore.c:
* gtk/gtktreestore.c: Remove excessive g_return_if_fail() checks
in static functions.

18 years agoUse the slice allocater for GtkTreeDataSortHeader.
Matthias Clasen [Thu, 29 Dec 2005 05:26:09 +0000 (05:26 +0000)]
Use the slice allocater for GtkTreeDataSortHeader.

2005-12-29  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktreedatalist.c: Use the slice allocater for
GtkTreeDataSortHeader.

* gtk/gtktreedatalist.h:
* gtk/gtktreedatalist.c (_gtk_tree_data_list_set_header): New function.

* gtk/gtktreemodelsort.c (gtk_tree_model_sort_set_sort_func):
* gtk/gtkliststore.c (gtk_list_store_set_sort_func):
* gtk/gtktreestore.c (gtk_tree_store_set_sort_func): Use it here.

18 years agoMake the args a flexible array inside the struct, and allocate them
Matthias Clasen [Wed, 28 Dec 2005 04:09:18 +0000 (04:09 +0000)]
Make the args a flexible array inside the struct, and allocate them

2005-12-27  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkbindings.h (GtkBindingSignal):
* gtk/gtkbindings.c (binding_signal_new): Make the
args a flexible array inside the struct, and allocate them
together.

18 years agodelete GtkCTreeRow as GtkCTreeRow, not clist rows which crashes in gslice
Tim Janik [Tue, 27 Dec 2005 23:46:28 +0000 (23:46 +0000)]
delete GtkCTreeRow as GtkCTreeRow, not clist rows which crashes in gslice

Wed Dec 28 00:45:46 2005  Tim Janik  <timj@gtk.org>

        * gtk/gtkctree.c (row_delete): delete GtkCTreeRow as GtkCTreeRow, not
        clist rows which crashes in gslice later on.

18 years agoIn the case for FILTER_RULE_PIXBUF_FORMATS, check that
Federico Mena Quintero [Tue, 27 Dec 2005 18:38:52 +0000 (18:38 +0000)]
In the case for FILTER_RULE_PIXBUF_FORMATS, check that

2005-12-27  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkfilefilter.c (gtk_file_filter_filter): In the case for
FILTER_RULE_PIXBUF_FORMATS, check that filter_info->mime_type is
not NULL.  Fixes bug #317687.

18 years agoFix a typo. (gdk_screen_get_setting): Avoid relocations for the settings
Matthias Clasen [Tue, 27 Dec 2005 07:57:52 +0000 (07:57 +0000)]
Fix a typo. (gdk_screen_get_setting): Avoid relocations for the settings

2005-12-27  Matthias Clasen  <mclasen@redhat.com>

* gdk/x11/gdkevents-x11.c (check_transform): Fix a typo.
(gdk_screen_get_setting): Avoid relocations for the settings
map.