Initialize error to NULL before calling g_set_error(). Should fix #473954,
2007-09-06 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserdefault.c (shortcuts_drop_uris): Initialize
error to NULL before calling g_set_error(). Should fix #473954,
reported by Sebastien Bacher.
removed code that forced range repaints upon every motion event, because
2007-09-06 13:37:28 Tim Janik <timj@imendio.com>
* gtk/gtkrange.c (gtk_range_adjustment_value_changed): removed code
that forced range repaints upon every motion event, because these tend
to stall other repaints on busy CPUs.
added a timer to still force repaints every once in a while (roughly
5Hz atm) to avoid leaving the user without feedback on the range.
fixes bug #460534.
Richard Hult [Thu, 6 Sep 2007 08:16:40 +0000 (08:16 +0000)]
Patch from William Pitcock: Ungrab windows if necessary when they are
2007-09-06 Richard Hult <richard@imendio.com>
* gdk/quartz/gdkwindow-quartz.c (_gdk_windowing_window_destroy):
Patch from William Pitcock: Ungrab windows if necessary when they
are destroyed, fixes bug #473441.
copy filename to builder->priv instead of holding a reference to it. Bug
2007-09-04 Fernando Herrera <fherrera@onirica.com>
* gtk/gtkbuilder.c: (gtk_builder_finalize),
(gtk_builder_add_from_file): copy filename to builder->priv instead of
holding a reference to it. Bug #472643
Johan Dahlin [Tue, 4 Sep 2007 12:19:37 +0000 (12:19 +0000)]
Do not iterate recursively over all child nodes.
2007-09-04 Johan Dahlin <jdahlin@async.com.br>
* gtk/gtk-builder-convert (GtkBuilder._packing_prop_to_child_attr):
Do not iterate recursively over all child nodes.
(GtkBuilderConverter._default_widget_converter): Use a more efficient
way of iterating over all property nodes
#472974 (Carlos Garnacho)
Johan Dahlin [Tue, 4 Sep 2007 11:53:18 +0000 (11:53 +0000)]
Do not remove empty properties, since we do not know the default
2007-09-04 Johan Dahlin <jdahlin@async.com.br>
* gtk/gtk-builder-convert (GtkBuilderConverter._parse): Do not remove
empty properties, since we do not know the default GParamSpec values.
#472981 (Carlos Garnacho)
Remove the stat() time barrier, as it seems to cause bug #463907 (thanks
2007-09-03 Emmanuele Bassi <ebassi@gnome.org>
* gtk/gtkrecentmanager.c
(gtk_recent_manager_poll_timeout): Remove the stat() time barrier,
as it seems to cause bug #463907 (thanks to Sebastien Bacher).
Richard Hult [Thu, 30 Aug 2007 09:01:12 +0000 (09:01 +0000)]
Implement those. Based on patch from Stefan Gehn, bug #459459.
2007-08-30 Richard Hult <richard@imendio.com>
* gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations,
gdk_window_get_decorations): Implement those. Based on patch from
Stefan Gehn, bug #459459.
Tim Janik [Tue, 28 Aug 2007 15:26:23 +0000 (15:26 +0000)]
fix X serial handling to cope with wraparounds and maintain referential
Thu Aug 23 15:32:09 2007 Tim Janik <timj@imendio.com>
* gdk/x11/gdkgeometry-x11.c (_gdk_window_process_expose): fix
X serial handling to cope with wraparounds and maintain referential
integrity when removing list nodes. based on a patch by Hui Wang,
fixes #461648.
Cody Russell [Mon, 27 Aug 2007 16:27:38 +0000 (16:27 +0000)]
Correct draw_box() function to check detail for "notebook". This fixes a
2007-08-27 Cody Russell <bratsche@gnome.org>
* modules/engines/ms-windows/msw_style.c: Correct draw_box()
function to check detail for "notebook". This fixes a problem
where notebooks without visible headers were not styling
correctly. (#470033, Daniel Atallah and Cody Russell)
Cody Russell [Thu, 23 Aug 2007 16:00:10 +0000 (16:00 +0000)]
Use the correct type check on `window'. We now check GTK_IS_WINDOW rather
2007-08-23 Cody Russell <bratsche@gnome.org>
* gtk/gtkwindow.c (gtk_window_group_remove_window: Use the
correct type check on `window'. We now check GTK_IS_WINDOW
rather than GTK_IS_WIDGET. (#461483, Josselin Mouette)
Emmanuele Bassi [Thu, 23 Aug 2007 10:48:28 +0000 (10:48 +0000)]
Check if we are still holding the model before updating it; removes a set
2007-08-23 Emmanuele Bassi <ebassi@gnome.org>
* gtkfilechooserdefault.c:
(search_hit_get_info_cb), (recent_item_get_info_cb): Check if
we are still holding the model before updating it; removes a
set of critical warnings when switching to the browse mode from
a loading search or recent files list.
(recent_clear_model), (recent_sort_model),
(recent_idle_cleanup): When in recent files mode, set the
model for the files list view when we have completed the loading
of the recently used files list. This makes switching between
modes fast again and reduces the amount of redraws needed
to display the list. (#469214)
Do not allow the cursor to go to a separator row. Fixes #441219, modified
2007-08-22 Kristian Rietveld <kris@imendio.com>
Do not allow the cursor to go to a separator row. Fixes #441219,
modified patch by Carlos Garnacho.
* gtk/gtktreeview.c (row_is_separator): new inline function
for calling the row-separator-func, made all of gtktreeview.c use
this function instead of calling the func themselves,
(gtk_tree_view_button_press): treat a click on a separator like
a click on empty space,
(gtk_tree_view_update_rubber_band_selection_rage): skip
non-selectable rows,
(search_first_focusable_path),
(gtk_tree_view_focus_to_cursor),
(gtk_tree_view_move_cursor_up_down),
(gtk_tree_view_move_cursor_page_up_down),
(gtk_tree_view_move_cursor_start_end): skip separators,
(gtk_tree_view_real_set_cursor): do not allow setting the cursor
on a separator.
always set hide_tooltip to TRUE if we are handling a leave notify event.
2007-08-21 Kristian Rietveld <kris@imendio.com>
* gtk/gtktooltip.c (_gtk_tooltip_handle_event): always set
hide_tooltip to TRUE if we are handling a leave notify event. (Fixes
#468245, reported by Dennis Jacobfeuerborn).
* gtk/gtktooltip.c: added debugging output which can be compiled
in with a #define, annotated all coordinate translations in the
source code,
(find_widget_under_pointer): remove the "no-window correction";
always convert the coordinates from window relative to allocation
relative; after recursing through a container, translate the
coordinates from container allocation relative to child widget
allocation relative;
(find_topmost_widget_from_event): now we get allocation relative
coordinates here we do not have to distinguish no-window and window
widgets.