]> Pileus Git - ~andy/gtk/log
~andy/gtk
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.

18 years agoFix a typo.
Matthias Clasen [Tue, 27 Dec 2005 07:39:19 +0000 (07:39 +0000)]
Fix a typo.

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

* gdk/x11/gdkevents-x11.c (check_transform): Fix a typo.

18 years agoAvoid relocations for the list of standard atoms.
Matthias Clasen [Tue, 27 Dec 2005 07:36:58 +0000 (07:36 +0000)]
Avoid relocations for the list of standard atoms.

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

* gdk/x11/gdkproperty-x11.c: Avoid relocations for the list
of standard atoms.

18 years agoAvoid copying the set_name by interning it.
Matthias Clasen [Tue, 27 Dec 2005 06:10:20 +0000 (06:10 +0000)]
Avoid copying the set_name by interning it.

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

* gtk/gtkbindings.c (gtk_binding_set_new): Avoid copying
the set_name by interning it.

18 years agoPrecache atoms before calling gdk_window_new().
Matthias Clasen [Tue, 27 Dec 2005 04:38:31 +0000 (04:38 +0000)]
Precache atoms before calling gdk_window_new().

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

* gdk/x11/gdkdisplay-x11.c (gdk_display_open): Precache atoms
before calling gdk_window_new().

18 years agosome more slice allocation
Matthias Clasen [Tue, 27 Dec 2005 00:59:53 +0000 (00:59 +0000)]
some more slice allocation

18 years agoSome more slice allocation
Matthias Clasen [Tue, 27 Dec 2005 00:54:39 +0000 (00:54 +0000)]
Some more slice allocation

18 years agoUse the slice allocator for some other small auxiliary structures as well.
Matthias Clasen [Tue, 27 Dec 2005 00:49:24 +0000 (00:49 +0000)]
Use the slice allocator for some other small auxiliary structures as well.

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

* gtk/gtktextbtree.c: Use the slice allocator for some other small
auxiliary structures as well.

18 years agoForgotten file
Matthias Clasen [Tue, 27 Dec 2005 00:41:43 +0000 (00:41 +0000)]
Forgotten file

18 years agoClarify docs. (#324996)
Matthias Clasen [Tue, 27 Dec 2005 00:11:26 +0000 (00:11 +0000)]
Clarify docs. (#324996)

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

* gtk/gtkimcontext.c (gtk_im_context_filter_keypress): Clarify
docs.  (#324996)

18 years agoUpdated Canadian English translation.
Adam Weinberger [Mon, 26 Dec 2005 22:25:56 +0000 (22:25 +0000)]
Updated Canadian English translation.

2005-12-26  Adam Weinberger  <adamw@gnome.org>

* en_CA.po: Updated Canadian English translation.

18 years agoAlso strip (_F) without a space
Matthias Clasen [Mon, 26 Dec 2005 07:54:32 +0000 (07:54 +0000)]
Also strip (_F) without a space

18 years agoMention the stripping of (_F) suffixes.
Matthias Clasen [Mon, 26 Dec 2005 07:52:43 +0000 (07:52 +0000)]
Mention the stripping of (_F) suffixes.

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

* README.in: Mention the stripping of (_F) suffixes.

* gtk/gtktoolbar.c (_gtk_toolbar_elide_underscores): Strip a suffix of
the form " (_<single character>)", since this is the preferred way
for some languages to indicate accelerators.  (#323956, Yang Hong)

18 years agoAdd a gtk-label-select-on-focus setting. (gtk_label_grab_focus): And use
Matthias Clasen [Mon, 26 Dec 2005 07:02:51 +0000 (07:02 +0000)]
Add a gtk-label-select-on-focus setting. (gtk_label_grab_focus): And use

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

* gtk/gtklabel.c (gtk_label_class_init): Add a gtk-label-select-on-focus
setting.
(gtk_label_grab_focus): And use it here to select the contents of
the label when appropriate.
(gtk_label_class_init): Use the same keybindings for select all/
unselect all as GtkEntry and GtkTextView.

* gtk/gtkdialog.c (gtk_dialog_map): When looking for the initial
focus, avoid leaving a selection in a label.

18 years agoDocumentation fixes. (#324815, Ross Burton)
Matthias Clasen [Mon, 26 Dec 2005 05:07:53 +0000 (05:07 +0000)]
Documentation fixes. (#324815, Ross Burton)

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

        * gtk/gtkwindow.c: Documentation fixes.  (#324815,
        Ross Burton)

18 years agoRequire GLib 2.9.2
Matthias Clasen [Mon, 26 Dec 2005 04:56:36 +0000 (04:56 +0000)]
Require GLib 2.9.2

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

        * configure.in: Require GLib 2.9.2

18 years agoUpdated Canadian English translation.
Adam Weinberger [Sun, 25 Dec 2005 06:38:23 +0000 (06:38 +0000)]
Updated Canadian English translation.

2005-12-25  Adam Weinberger  <adamw@gnome.org>

* en_CA.po: Updated Canadian English translation.

18 years agoInline docs, use g_assert(), avoid extra allocation for rectangular
Matthias Clasen [Sat, 24 Dec 2005 07:29:00 +0000 (07:29 +0000)]
Inline docs, use g_assert(), avoid extra allocation for rectangular

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

* gdk/gdkregion-generic.c:
* gdk/gdkpolyreg-generic.c:
* gdk/gdkregion.h:
* gdk/gdkrectangle.c: Inline docs, use g_assert(), avoid
extra allocation for rectangular regions.

18 years agoInline docs.
Matthias Clasen [Sat, 24 Dec 2005 07:00:47 +0000 (07:00 +0000)]
Inline docs.

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

* gdk/gdkrectangle.c: Inline docs.

18 years agofixup line i swallowed earlier ;)
Tim Janik [Thu, 22 Dec 2005 18:14:58 +0000 (18:14 +0000)]
fixup line i swallowed earlier ;)

18 years agorenamed GUnowned to GInitiallyUnowned.
Tim Janik [Thu, 22 Dec 2005 17:58:40 +0000 (17:58 +0000)]
renamed GUnowned to GInitiallyUnowned.

Thu Dec 22 18:53:14 2005  Tim Janik  <timj@gtk.org>

        * gtk/gtkobject.[hc]: renamed GUnowned to GInitiallyUnowned.