1 2007-10-08 Cody Russell <bratsche@gnome.org>
2 * docs/reference/gdk/tmpl/event_structs.sgml:
3 Fix a typo in GdkEventGrabBroken where it said
4 "@grab_window id NULL" and should say
5 "@grab_window is NULL". (#484650, Chris Lord)
7 2007-10-08 Kristian Rietveld <kris@imendio.com>
9 * gtk/gtkfilesystemmodel.c (got_root_folder_cb),
10 (get_children_get_folder_cb): don't "corrupt" all iterators by
11 reversing the list after adding the items. Reversing the list isn't
12 needed anyway as the order of the items in the model does not matter.
13 (Fixes #327243, comment 10).
15 2007-10-08 Kristian Rietveld <kris@imendio.com>
17 Fix #482841, patch by Karl Tomlinson.
19 * gtk/gtktooltip.c (gtk_tooltip_display_closed): use g_object_set_data
20 instead of g_object_set ...
21 (_gtk_tooltip_toggle_keyboard_mode),
22 (_gtk_tooltip_handle_event): connect to GdkDisplay::closed after
25 2007-10-07 Matthias Clasen <mclasen@redhat.com>
27 * configure.in: Don't hardcode use of echo -n. (#484008)
29 2007-10-07 Matthias Clasen <mclasen@redhat.com>
31 * modules/input/gtkimcontextxim.c: Clean up issues around
32 with life cycle handling. (#483223, Karl Tomlinson)
34 2007-10-05 Murray Cumming <murrayc@murrayc.com>
36 * gtk/gtkprintoperation.c: (print_pages_idle):
37 Revert the change on 2007-04-29 ("Also check
38 the default handler when deciding whether to emit the
39 paginate signal. (#345345, Yevgen Muntyan)").
40 This stopped printing from working in gtkmm, and is apparently
41 not appropriate anyway. Bug #482089.
43 2007-10-05 Hiroyuki Ikezoe <poincare@ikezoe.net>
45 * gtk/gtkdnd.c: Use g_object_ref() instead of gtk_widget_ref().
48 2007-10-04 Emmanuele Bassi <ebassi@gnome.org>
50 * gtk/gtkrecentaction.c:
51 (gtk_recent_action_set_sort_func), (set_current_filter): Iterate
52 on the proxies we hold when we change the sorting function and
55 (gtk_recent_action_connect_proxy),
56 (gtk_recent_action_create_menu): Set the GtkRecentChooser:filter
57 property when we create/connect a proxy chooser. Thanks to
58 Jonh Wendell for pointing this bug out on gtk-list.
60 (gtk_recent_chooser_set_property): Bail out without iterating
61 over the proxies when there's no need to.
63 2007-10-04 Matthias Clasen <mclasen@redhat.com>
65 * tests/testvolumebutton.c: Add a second volume button.
67 * gtk/gtkscalebutton.c: Doh, don't release grabs we don't hold.
68 (#478371, reported by Bill Nottingham)
70 2007-10-04 Loïc Minier <lool@dooz.org>
72 * gtk/gtkfilechooserdefault.c: (list_mtime_data_func): Fix warnings
73 and display of modified date / time in filechooser for some locales as
74 it was missing a locale to UTF-8 conversion. Fixes #482504.
76 2007-10-03 Xan Lopez <xan@gnome.org>
78 * gtk/gtknotebook.c: remove duplicated declaration of
79 gtk_notebook_create_window. Patch by Hiroyuki Ikezoe (#482837)
81 2007-10-02 Richard Hult <richard@imendio.com>
83 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_move),
84 (gdk_window_resize): Don't do anything while in fullscreen mode.
85 (gdk_window_set_decorations): Update the size of the window after
86 showing/hiding the title bar so the size of the content area
88 (gdk_window_get_decorations): NSBorderlessWindowMask is 0, so
89 don't try to check it as a bit being set.
90 (gdk_window_fullscreen), (gdk_window_unfullscreen): Implement.
92 2007-10-02 Federico Mena Quintero <federico@novell.com>
94 Fix http://bugzilla.gnome.org/show_bug.cgi?id=455284 - In the file
95 chooser, Ctrl-L should switch to the location entry. If we are
96 already on the location entry, turn it off. Based on a patch by
97 Jaap A. Haitsma <jaap@haitsma.org> and an idea by Wouter
100 * gtk/gtkfilechooserdefault.c (location_button_toggled_cb): Call
101 location_mode_set() directly instead of using toggle_location_mode().
102 (toggle_location_mode): Removed.
103 (location_toggle_popup_handler): If the file entry is not visible,
104 show it. If it is visible, turn it off only if it is focused.
105 Otherwise, switch to the entry.
107 2007-10-01 Kristian Rietveld <kris@imendio.com>
109 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
110 fix up if-condition to only set the true arrow type if
111 show_sort_indicator is TRUE. (#448343, reported by Emil Nowak).
113 2007-09-25 Emmanuele Bassi <ebassi@gnome.org>
115 Fixes for bug #480123.
117 * gtk/gtksearchenginesimple.c:
118 (gtk_search_engine_simple_dispose), (search_thread_done_idle): Cancel
119 the file tree walking thread when disposing the search engine
122 * gtk/gtkfilechooserdefault.c (search_stop_searching): Forcibly
123 stop the search engine implementation when stopping the search,
124 instead of just unreffing the object.
126 2007-09-24 Kristian Rietveld <kris@imendio.com>
128 * gtk/gtktooltips.c (gtk_tooltips_set_tip): add extra NULL check
129 for tooltipsdata to avoid code fiddling with active_tips_data
130 from crashing. (Fixes #460194, Peter Wright, Matthijs De Smedt).
132 2007-09-24 Matthias Clasen <mclasen@redhat.com>
134 * modules/printbackends/file/gtkprintbackendfile.c: Correct a comment.
136 2007-09-24 Tor Lillqvist <tml@novell.com>
138 * gtk/gtkprintoperation-win32.c (pageDlgProc): Set the
139 GtkWin32EmbedWidget we create here as modal. Fixes #389358.
141 2007-09-21 Manish Singh <yosh@gimp.org>
143 * gtk/gtkstyle.c (option_menu_get_props)
144 * gtk/gtkoptionmenu.c (gtk_option_menu_get_props): use
145 gtk_requisition_free() instead of g_free() for freeing
148 2007-09-21 Matthias Clasen <mclasen@redhat.com>
150 * gtk/gtkprintoperation.c (print_pages_idle): Some more
151 fixed to prevent segfaults with missing or nonsensical ranges.
153 2007-09-21 Jean Brefort <jean.brefort@normalesup.org>
155 * gtk/gtkprintoperation.c: (print_pages_idle): abort printing
156 when the range is NULL. (#478803)
158 2007-09-21 Michael Natterer <mitch@imendio.com>
160 * gtk/gtktextview.c (gtk_text_view_move_cursor_internal)
161 (gtk_text_view_move_viewport): merged patch from maemo-gtk which
162 handles failed keynav correctly also when the cursor is invisible.
165 2007-09-21 Matthias Clasen <mclasen@redhat.com>
167 * gtk/gtktoolbar.c: Remove trailing commas from enumerations.
169 2007-09-20 Cody Russell <bratsche@gnome.org>
171 * modules/engines/ms-windows/msw_style.c: Override draw_layout
172 method in GtkStyle in order to adjust by 2 pixels any labels
173 that are in GtkNotebook tabs using XP theme, so that they appear
174 correctly centered. (#478637)
176 2007-09-18 Emmanuele Bassi <ebassi@gnome.org>
178 * gtk/gtksearchenginetracker.c: Search libtrackerclient.so.0
179 as libtracker changed the shared library name. (#478173,
182 2007-09-17 Hans Breuer <hans@breuer.org>
184 * gtk/makefile.msc.in : updated msvc build
185 * gtk/gtkbuilderparser.c : fixed gccism - stack allocated variable
188 * gtk/gtkselection.c(547) : error C4033: 'gtk_target_list_find'
191 * test/makefile.msc : added some more tests
192 * tests/autotestfilesystem.c : HAVE_UNISTD_H, _rmdir
194 2007-09-17 Amitakhya Phukan <amitakhya@svn.gnome.org>
196 * configure.in: Added as to ALL_LINGUAS.
198 2007-09-15 Michael Natterer <mitch@imendio.com>
200 * gtk/gtkselection.c (gtk_target_list_find): don't simply crash if
201 any of the pointer args are NULL. Instead, g_return_if_fail() on
202 "list != NULL" and allow to pass NULL as return location for "info".
204 2007-09-14 Emmanuele Bassi <ebassi@gnome.org>
206 * gtk/gtkrecentaction.c:
207 * gtk/gtkrecentchoosermenu.c: Remove the warning for the
208 "select-multiple" property getter. (#476686, Christian Persch)
210 2007-09-14 Michael Natterer <mitch@imendio.com>
212 * gtk/gtkmenubar.c (remove_from_window): no need to get the list
215 Some minor stylistic and indentation fixes.
217 2007-09-13 Matthias Clasen <mclasen@redhat.com>
219 * gtk/gtkiconcache.c: Turn off icon cache validation unless
220 icon theme debugging is turned on. (#476342, Federico Mena Quintero)
222 2007-09-13 Matthias Clasen <mclasen@redhat.com>
224 * configure.in: Bump version to 2.12.1
226 * === Released 2.12.0 ===
228 2007-09-14 Kristian Rietveld <kris@gtk.org>
230 * gtk/gtktreeview.c (gtk_tree_view_get_property): the tooltip-column
231 property getter needs to set an integer, not a boolean. (#476689,
232 spotted and patch by Christian Persch).
234 2007-09-14 Kristian Rietveld <kris@gtk.org>
236 * gtk/gtkcellrendereraccel.c (gtk_cell_renderer_accel_get_property):
237 implement getter for keycode property. (#476665, patch by
240 2007-09-13 Matthias Clasen <mclasen@redhat.com>
242 * gtk/gtkscalebutton.c: Use the right value type when setting
243 the value. (#476688, Christian Persch)
245 * configure.in: Bump version to 2.12.0
249 2007-09-13 Kristian Rietveld <kris@imendio.com>
251 * gtk/gtktreeview.c (gtk_tree_view_set_toooltip_cell): if cell
252 is set, always pass in path to gtk_tree_view_get_cell_area() whether
253 it is NULL or set. Added explanatory comment and added this
254 side case to the API documentation.
256 2007-09-12 Emmanuele Bassi <ebassi@gnome.org>
258 * gtk/gtkfilechooserdefault.c (render_recent_icon): Use the
259 "document-open-recent" icon for the the Recently Used shortcut
260 in the file chooser. (#306445)
263 * gtk/stock-icons/16/document-open-recent.png:
264 * gtk/stock-icons/16/document-open-recent.svg:
265 * gtk/stock-icons/24/document-open-recent.png:
266 * gtk/stock-icons/24/document-open-recent.svg: Add the
267 "document-open-recent" icon to the builtin theme we provide
270 2007-09-12 Kristian Rietveld <kris@imendio.com>
276 (gdk_window_freeze_toplevel_updates_libgtk_only),
277 (gdk_window_thaw_toplevel_updates_libgtk_only): new functions
278 to freeze a toplevel window and all its descendants. To be made
280 (gdk_window_schedule_update): return if toplevel is frozen,
281 (gdk_window_process_all_updates): defer processing updates if toplevel
284 * gtk/gtkwindow.c (gtk_window_configure_event): directly size
285 allocate for override redirect windows, freeze toplevel and
286 descendants otherwise and wait until resizing is done.
288 2007-09-11 Michael Natterer <mitch@imendio.com>
290 * gtk/gtkfilechooserbutton.c: remove useless member "has_title"
291 from the private struct and simply set the default title in
292 constructor() whenever we create a dialog or the supplied one has
293 no title. Also accept RESPONSE_ACCEPT *and* RESPONSE_OK as
294 affirmative responses and document that accordingly. Fixes bug
295 #436576. Fixed all compiler warnings in the file.
297 2007-09-11 Michael Natterer <mitch@imendio.com>
299 * gtk/gtkmenu.c (gtk_menu_button_release): Make sure
300 menu_shell->button gets reset to 0 when we bail out early here
301 instead of chaining up, so it is in a consistent state for the
302 next press/release in GtkMenuShell. Fixes bug #449371.
304 2007-09-10 Kjartan Maraas <kmaraas@gnome.org>
306 * gtk/gtkentry.c: Fix some typos. Closes bug #475400.
308 2007-09-10 Behdad Esfahbod <behdad@gnome.org>
310 * gdk/x11/gdkgeometry-x11.c (gdk_window_queue),
311 (_gdk_window_process_expose): Fix serial number comparison regression
312 introduced recently. (#474897)
314 2007-09-10 Matthias Clasen <mclasen@redhat.com>
318 2007-09-10 Richard Hult <richard@imendio.com>
320 * gtk/gtksearchenginesimple.h: Build fix, correct a typo in the
321 G_BEGIN_DECLS fix below.
323 2007-09-10 Matthias Clasen <mclasen@redhat.com>
325 * gtk/gtksearchenginesimple.h: Replace a duplicate G_END_DECLS by
326 G_BEGIN_DECLS. (#475439, Nigel Tao)
328 2007-09-10 Kristian Rietveld <kris@imendio.com>
330 * gtk/gtkmenutoolbutton.c (gtk_menu_tool_button_construct_contents):
331 when creating a new box, be sure to transfer a possible tooltip from
332 the old to the new box. (Fixes #458283, reported by Christian Persch).
334 2007-09-10 Kristian Rietveld <kris@imendio.com>
336 * gtk/gtktreeview.c (gtk_tree_view_key_press): only start
337 typeahead search if tree_view has focus (and not one of the column
340 2007-09-09 Matthias Clasen <mclasen@redhat.com>
342 * gtk/gtkdnd.c (gtk_drag_source_info_destroy): Remove
343 update_idle here. Might fix #383003.
345 2007-09-09 Matthias Clasen <mclasen@redhat.com>
347 * gtk/gtkiconview.c (gtk_icon_view_item_hit_test): Add a
348 bounding box test that will avoid getting the individual cell
349 boxes if they haven't been calculated yet. (#404541)
351 2007-09-09 Matthias Clasen <mclasen@redhat.com>
354 * gtk/gtkradioaction.c:
355 * gtk/gtkrecentaction.c:
356 * gtk/gtktoggleaction.c: Update the documentation to mark
357 the optional constructors parameters. The GtkAction::name
358 property is required, instead, as it is used by GtkUIManager
359 to find the action object from the XML. (#450032, Murray Cumming,
360 patch by Emmanuele Bassi)
362 2007-09-09 Matthias Clasen <mclasen@redhat.com>
364 * modules/printbackends/lpr/gtkprintbackendlpr.c:
365 * modules/printbackends/cups/gtkcupsutils.c:
366 * modules/printbackends/cups/gtkprintbackendcups.c: Include
367 config.h first. (#467719)
369 2007-09-09 Matthias Clasen <mclasen@redhat.com>
371 * gtk/gtklinkbutton.c:
372 * gtk/gtkrecentfilter.c:
373 * gtk/gtkprinteroptionwidget.c: Remove trailing commas from
374 enumerations, since some compilers don't like them. (#467717)
376 2007-09-09 Matthias Clasen <mclasen@redhat.com>
378 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_rows_reordered):
379 * gtk/gtktreemodelsort.c (gtk_tree_model_sort_rows_reordered): Don't
380 assume that a path of depth 0 has no indices. (#467324, Szilard
383 2007-09-09 18:22:28 Tim Janik <timj@gtk.org>
385 * gdk/x11/gdkgeometry-x11.c (_gdk_window_process_expose): fix invalid
386 list node accesses, spotted by Benjamin Berg, bug #475158.
388 2007-09-09 Kristian Rietveld <kris@gtk.org>
392 2006-10-30 Kristian Rietveld <kris@gtk.org>
394 * gtk/gtktreeview.c (gtk_tree_view_class_init): change left/right
395 keybindings to collapse/expand rows instead of moving the focus
396 cursor. (#105895, Brian Bober and others).
398 2007-09-09 Matthias Clasen <mclasen@redhat.com>
402 * README.in: Add a note about bug 463773.
404 2007-09-08 Matthias Clasen <mclasen@redhat.com>
406 * gtk/gtkstyle.c (draw_insertion_cursor): Revert the clamping
407 of cursor coordinates, since it causes really ugly drawing
408 artifacts with horizontal scrolling. (#471215, Yevgen Muntyan)
410 2007-09-08 Matthias Clasen <mclasen@redhat.com>
412 * gtk/gtkentrycompletion.c:
413 * gtk/gtkentry.c: Apply a number of patches by Xan Lopez
414 to improve the interaction between actions and inline
417 2007-09-07 Matthias Clasen <mclasen@redhat.com>
419 * gtk/gtktoolbar.c: Use g_slice for ToolbarContent.
420 (#474696, Christian Persch)
422 2007-09-07 Matthias Clasen <mclasen@redhat.com>
424 * gtk/gtkprintunixdialog.c: Add an internal child name for
425 the notebook, so that GtkBuilder can be used to add custom tabs.
426 (#472951, Christian Persch)
428 2007-09-07 Matthias Clasen <mclasen@redhat.com>
430 * gtk/updateiconcache.c (get_image_meta_data_size): Don't
431 use image->attach_points where image->n_attach_points was meant.
432 Pointed out by Albert Chin.
434 2007-09-07 Wouter Bolsterlee <wbolster@svn.gnome.org>
436 * modules/printbackends/cups/gtkcupsutils.c:
437 (_post_send): Fix typo that broke the build.
439 2007-09-07 Matthias Clasen <mclasen@redhat.com>
441 * configure.in: Check for the cups function httpGetAuthString().
443 * modules/printbackends/cups/gtkcupsutils.c: Use httpGetAuthString()
444 if available. (#467414, Claudio Saavedra)
446 2007-09-07 Kristian Rietveld <kris@gtk.org>
448 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_init),
449 (gtk_combo_box_cell_layout_get_cells): implement missing get_cells
450 method. (Spotted by Paolo Borelli).
452 2007-09-06 Matthias Clasen <mclasen@redhat.com>
454 * configure.in: Check for cups.h. (#459732, Guillaume Cottenceau)
456 2007-09-06 Matthias Clasen <mclasen@redhat.com>
458 * gdk/gdkrectangle.c (gdk_rectangle_intersect): Allow
459 dest to be NULL. (#464528, Xan Lopez)
461 2007-09-06 Matthias Clasen <mclasen@redhat.com>
463 * gtk/gtkmisc.c (gtk_misc_set_alignment, gtk_misc_set_padding):
464 Actually emit change notification here. (#474282, Thomas Rydzynski)
466 2007-09-06 Matthias Clasen <mclasen@redhat.com>
468 * gtk/gtkfilechooserdefault.c (shortcuts_drop_uris): Initialize
469 error to NULL before calling g_set_error(). Should fix #473954,
470 reported by Sebastien Bacher.
472 2007-09-06 13:37:28 Tim Janik <timj@imendio.com>
474 * gtk/gtkrange.c (gtk_range_adjustment_value_changed): removed code
475 that forced range repaints upon every motion event, because these tend
476 to stall other repaints on busy CPUs.
477 added a timer to still force repaints every once in a while (roughly
478 5Hz atm) to avoid leaving the user without feedback on the range.
481 2007-09-06 Michael Natterer <mitch@imendio.com>
483 * demos/gtk-demo/panes.c: s/gtk_widget_[un]ref/g_object_[un]ref/g
485 2007-09-06 Richard Hult <richard@imendio.com>
487 * gdk/quartz/gdkwindow-quartz.c (_gdk_windowing_window_destroy):
488 Patch from William Pitcock: Ungrab windows if necessary when they
489 are destroyed, fixes bug #473441.
491 Wed Sep 5 14:15:17 2007 Tim Janik <timj@imendio.com>
493 * gtk/gtknotebook.c (gtk_notebook_class_init): fix wrong default value
494 in ::tab-expand param spec constructor.
496 2007-09-04 Fernando Herrera <fherrera@onirica.com>
498 * gtk/gtkbuilder.c: (gtk_builder_finalize),
499 (gtk_builder_add_from_file): copy filename to builder->priv instead of
500 holding a reference to it. Bug #472643
502 2007-09-04 Michael Natterer <mitch@imendio.com>
504 * gtk/gtkmodules.c: added missing \n to g_print() in GTK_NOTE().
506 2007-09-04 Johan Dahlin <jdahlin@async.com.br>
508 * gtk/gtk-builder-convert (GtkBuilderConverter._parse): Do not remove
509 empty properties, since we do not know the default GParamSpec values.
510 #472981 (Carlos Garnacho)
512 * gtk/gtk-builder-convert (GtkBuilder._packing_prop_to_child_attr):
513 Do not iterate recursively over all child nodes.
514 (GtkBuilderConverter._default_widget_converter): Use a more efficient
515 way of iterating over all property nodes
516 #472974 (Carlos Garnacho)
518 2007-09-03 Emmanuele Bassi <ebassi@gnome.org>
520 * gtk/gtkrecentmanager.c
521 (gtk_recent_manager_poll_timeout): Remove the stat() time barrier,
522 as it seems to cause bug #463907 (thanks to Sebastien Bacher).
524 2007-08-31 Richard Hult <richard@imendio.com>
526 * configure.in: Revert the previous change as it broke the build
527 (missing po file in po-properties).
529 2007-08-31 Pramod Raghavendra <pramodleo@yahoo.co.uk>
531 * configure.in: Added kn to ALL_LINGUAS
533 2007-08-30 Richard Hult <richard@imendio.com>
535 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations,
536 gdk_window_get_decorations): Implement those. Based on patch from
537 Stefan Gehn, bug #459459.
539 2007-08-30 Richard Hult <richard@imendio.com>
541 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_keep_above,
542 gdk_window_set_keep_below): Patch from Stefan Gehn to implement
545 2007-08-30 Richard Hult <richard@imendio.com>
547 * gdk/quartz/gdkimage-quartz.c: (_gdk_quartz_image_copy_to_image):
548 Patch from Stefan Gehn to implement copying from a pixmap, bug
551 2007-08-29 Kristian Rietveld <kris@imendio.com>
553 * gtk/gtksettings.c: lower the default timeout values for
554 gtk-tooltip-timeout and gtk-tooltip-browse-timeout. (#451202,
557 Thu Aug 23 15:32:09 2007 Tim Janik <timj@imendio.com>
559 * gdk/x11/gdkgeometry-x11.c (_gdk_window_process_expose): fix
560 X serial handling to cope with wraparounds and maintain referential
561 integrity when removing list nodes. based on a patch by Hui Wang,
564 2007-08-27 Stefan Kost <ensonic@users.sf.net>
566 * gtk/gtkwindow.c: Update menu accelerators, when adding/removing
567 AccelGroups dynamically. (#469374)
569 2007-08-27 Cody Russell <bratsche@gnome.org>
571 * modules/engines/ms-windows/msw_style.c: Correct draw_box()
572 function to check detail for "notebook". This fixes a problem
573 where notebooks without visible headers were not styling
574 correctly. (#470033, Daniel Atallah and Cody Russell)
576 2007-08-23 Cody Russell <bratsche@gnome.org>
578 * gtk/gtkwindow.c (gtk_window_group_remove_window: Use the
579 correct type check on `window'. We now check GTK_IS_WINDOW
580 rather than GTK_IS_WIDGET. (#461483, Josselin Mouette)
582 2007-08-23 Cody Russell <bratsche@gnome.org>
584 * Makefile.am: Fix make dist failure by changing
585 README.cvs-commits to README.commits. (#469395, Frederic Peters)
587 2007-08-23 Cody Russell <bratsche@gnome.org>
589 * HACKING: Change references to README.cvs-commits so they say
592 2007-08-23 Jan Arne Petersen <jpetersen@jpetersen.org>
594 * gtk/gtkbuilderparser.c: (text): Duplicate the string returned by
595 d[n]gettext before it is potentially freed. (#461945)
597 2007-08-23 Emmanuele Bassi <ebassi@gnome.org>
599 * gtkfilechooserdefault.c:
600 (search_hit_get_info_cb), (recent_item_get_info_cb): Check if
601 we are still holding the model before updating it; removes a
602 set of critical warnings when switching to the browse mode from
603 a loading search or recent files list.
605 (recent_clear_model), (recent_sort_model),
606 (recent_idle_cleanup): When in recent files mode, set the
607 model for the files list view when we have completed the loading
608 of the recently used files list. This makes switching between
609 modes fast again and reduces the amount of redraws needed
610 to display the list. (#469214)
612 2007-08-22 Emmanuele Bassi <ebassi@gnome.org>
614 * configure.in: Remove oc (Occitane) from LINGUAS and unbreak
617 2007-08-22 Kristian Rietveld <kris@imendio.com>
619 Do not allow the cursor to go to a separator row. Fixes #441219,
620 modified patch by Carlos Garnacho.
622 * gtk/gtktreeview.c (row_is_separator): new inline function
623 for calling the row-separator-func, made all of gtktreeview.c use
624 this function instead of calling the func themselves,
625 (gtk_tree_view_button_press): treat a click on a separator like
626 a click on empty space,
627 (gtk_tree_view_update_rubber_band_selection_rage): skip
629 (search_first_focusable_path),
630 (gtk_tree_view_focus_to_cursor),
631 (gtk_tree_view_move_cursor_up_down),
632 (gtk_tree_view_move_cursor_page_up_down),
633 (gtk_tree_view_move_cursor_start_end): skip separators,
634 (gtk_tree_view_real_set_cursor): do not allow setting the cursor
637 2007-08-22 Tristan Van Berkom <tvb@gnome.org>
639 * gtk/gtkframe.c: Corrected the published default value of
640 GtkFrame::label-xalign (bug 460272).
642 2007-08-21 Kristian Rietveld <kris@imendio.com>
644 * gtk/gtktooltip.c (gtk_tooltip_init),
645 (gtk_tooltip_window_style_set): update alignment padding after
646 theme changes. (Fixes #467003, patch by Benjamin Berg).
648 2007-08-21 Kristian Rietveld <kris@imendio.com>
650 * gtk/gtktooltip.c (_gtk_tooltip_handle_event): always set
651 hide_tooltip to TRUE if we are handling a leave notify event. (Fixes
652 #468245, reported by Dennis Jacobfeuerborn).
654 2007-08-21 Michael Natterer <mitch@imendio.com>
656 * gtk/gtkpaned.c (gtk_paned_class_init): applied patch from Mikael
657 Hallendal which documents GtkPaned's keybinding signals (#467117).
659 2007-08-21 Kristian Rietveld <kris@imendio.com>
661 Fix #457642, reported by Christian Persch.
663 * gtk/gtktooltip.c: added debugging output which can be compiled
664 in with a #define, annotated all coordinate translations in the
666 (find_widget_under_pointer): remove the "no-window correction";
667 always convert the coordinates from window relative to allocation
668 relative; after recursing through a container, translate the
669 coordinates from container allocation relative to child widget
671 (find_topmost_widget_from_event): now we get allocation relative
672 coordinates here we do not have to distinguish no-window and window
675 2007-08-18 Cody Russell <bratsche@gnome.org>
677 * gtk/gtkimcontextsimple.c: Fixed incorrect compose mapping
678 for capital U with macron. (#468055, Aaron Crane)
680 2007-08-17 Cody Russell <bratsche@gnome.org>
682 * Renamed README.cvs-commits to README.commits
684 2007-08-17 Cody Russell <bratsche@gnome.org>
687 * README.cvs-commits: Updated documentation about SVN, and
688 updated dependency information. (#447883, Yesudeep Mangalapilly)
690 Fri Aug 17 11:36:29 2007 Tim Janik <timj@imendio.com>
692 * gtk/gtkmenu.c (gtk_menu_popup): Clarified activate_time docs.
694 2007-08-16 Cody Russell <bratsche@gnome.org>
696 * gdk/win32/cursor.bdf: Committing changes to the source
697 bdf font file that I forgot to commit yesterday for #458088.
699 2007-08-15 Cody Russell <bratsche@gnome.org>
701 * gdk/win32/xcursors.h: Modified the sb_h_double_arrow and
702 sb_v_double_arrow mouse cursors to match the ones that Windows
703 uses for split container controls. This allows our paned
704 widgets to be more easily identified as paned widgets on
705 Windows, since we don't have any prelighting on the draggable
708 2007-08-15 Cody Russell <bratsche@gnome.org>
710 * gtk/gtkcontainer.c: Another documentation fix that I forgot to
711 commit yesterday. (#459340, Guillaume Cottenceau)
713 2007-08-14 Cody Russell <bratsche@gnome.org>
716 * gtk/gtkscrolledwindow.c
717 * gtk/gtklabel.c: Correct documentation that refers to the
718 deprecated gtk_widget_set_usize() API. Refer instead to
719 gtk_widget_set_size_request(). (#459340, Guillaume Cottenceau)
721 2007-08-14 Kristian Rietveld <kris@imendio.com>
723 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): make
724 sure we fail keynav if the only item in the list is already selected.
725 (Fixes #465039, reported by Fernando Herrera).
727 2007-08-09 Sven Neumann <sven@gimp.org>
729 * modules/printbackends/file/gtkprintbackendfile.c: change the
730 file extension when the file format is changed in the Print dialog
733 2007-08-09 Stefan Kost <ensonic@users.sf.net>
735 * docs/reference/gtk/tmpl/gtkruler.sgml:
737 Move documentation of gtk_ruler_set_range() to source and fix nonsense.
739 2007-08-08 Mikael Hallendal <micke@imendio.com>
741 * gtk/gtkcombobox.c (gtk_combo_box_class_init):
742 Document the new signals popup, popdown and move-active.
744 2007-08-07 Matthias Clasen <mclasen@redhat.com>
746 * MAINTAINERS: Follow new format regulations.
748 2007-08-07 Johan Dahlin <jdahlin@async.com.br>
750 * gtk/gtkbuilderparser.c (text):
751 * gtk/gtkcelllayout.c (attributes_text_element):
752 * gtk/gtkliststore.c (list_store_text):
753 Do not assume that text is null-terminated as pointed out by
756 * gtk/gtkbuilderparser.c (text): Use g_strdup on the translated
757 string instead of g_strndup() + the length of the untranslated
758 string. (#461945, Claude Paroz)
760 2007-08-07 Kristian Rietveld <kris@imendio.com>
762 * gtk/gtktooltips.c (gtk_tooltips_init),
763 (gtk_tooltips_destroy), (gtk_tooltips_force_window): create a dummy
764 tip_window and tip_label, so old applications with code accessing
765 those fields won't crash.
767 2007-08-07 Kristian Rietveld <kris@imendio.com>
769 * gtk/gtktooltip.c (_gtk_tooltip_handle_event): Disable tooltips
772 2007-07-31 Richard Hult <richard@imendio.com>
774 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_get_geometry):
775 Implement, fixes bug #405868. Based on patch from metz81@web.de.
777 2007-07-31 Xan Lopez <xan@gnome.org>
779 * gtk/gtkentry.c (gtk_entry_completion_key_press): reset the
780 completion prefix on Enter too, plug potential leak.
783 2007-07-31 Matthias Clasen <mclasen@redhat.com>
785 * gtk/gtktooltip.c (gtk_tooltip_init): Make the label
786 wrap, for compatibility with the old tooltips code. This
787 fixes absurdly long tooltips in the color selector.
789 2007-07-30 Kristian Rietveld <kris@imendio.com>
791 * gtk/gtktreeview.c (gtk_tree_view_set_tooltip_cell): Fix
792 documentation. (#461225, Murray Cumming).
794 2007-07-29 Emmanuele Bassi <ebassi@gnome.org>
796 * gtk/gtkrecentchooser.c: Add documentation for properties
797 and fix the deprecation marker for the show-numbers
798 accessor functions (Murray Cumming).
800 * gtk/gtkrecentchooser.h: Add deprecation guards around
801 gtk_recent_chooser_set_show_numbers() and
802 gtk_recent_chooser_get_show_numbers(), as promised during
803 last development cycle.
805 2007-07-27 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
807 * gdk/directfb/gdkcursor-directfb.c: Attempts to load
808 stock X cursors no longer results in annoying error
809 messages under DirectFB
811 2007-07-27 Michael Natterer <mitch@imendio.com>
813 Fix check/radio indicator drawing mess (bug #452225):
815 * gtk/gtkstyle.c (gtk_default_draw_check): really decrease the
816 indicator size by one to ensure odd size (don't say -= -1).
818 * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render):
819 removed -1 adjustment from calls to gtk_paint_option(). Theme
820 engines now get the actually configured size passed, not one pixel
823 * gtk/gtkcellrenderertoggle.c
824 * gtk/gtkcheckmenuitem.c: changed default indicator size from 12
825 to 13 so all widgets which draw check/option indicators have the
826 same default size now (and render the same size after above
829 * README.in: mention above changes in the release notes.
831 2007-07-27 Wouter Bolsterlee <wbolster@svn.gnome.org>
833 * Makefile.am: Include ChangeLog.pre-2-10 in tarballs as
834 well (seems to be forgotten).
836 2007-07-25 Matthias Clasen <mclasen@redhat.com>
838 * gtk/gtktooltip.c (_gtk_tooltip_handle_event): Call
839 gtk_tooltip_hide_tooltip() even if the tooltip is not
840 visible yet. This fixes annoying dangling tooltips
843 2007-07-24 Matthias Clasen <mclasen@redhat.com>
845 * gtk/gtkiconcachevalidator.c: Silence the validator.
847 2007-07-24 Matthias Clasen <mclasen@redhat.com>
849 * gtk/gtkmenutoolbutton.c: Remove obsolete set-tooltip
850 handler. (#458280, Christian Persch)
852 2007-07-24 Matthias Clasen <mclasen@redhat.com>
855 * gtk/gtkfilechooserdefault.c:
856 * gtk/gtkpagesetupunixdialog.c:
857 * gtk/gtkprintunixdialog.c: Port to use new tooltips API.
858 (#451397, Jan Arne Petersen)
860 2007-07-24 Tor Lillqvist <tml@novell.com>
862 * gdk/win32/gdkkeys-win32.c (update_keymap): Cosmetic changes.
864 2007-07-24 Matthias Clasen <mclasen@redhat.com>
866 * gtk/gtkmenubar.c (window_key_press_handler):
867 * gtk/gtkmenu.c (gtk_menu_key_press): Restructure the code
868 to make sense, and don't leak an empty accel. (#459515, Owen Taylor)
870 2007-07-23 Matthias Clasen <mclasen@redhat.com>
872 * gtk/gtktooltip.c (gtk_tooltip_set_custom): Protect against
873 recursion via gtk_container_remove(). (#459561, Christian Persch)
874 (gtk_tooltip_window_hide): Simplify.
876 * tests/testtooltips.c: Add code to test gtk_tooltip_set_custom()
878 2007-07-23 Christian Persch <chpe@gnome.org>
880 * tests/testtooltips.c: (query_tooltip_tree_view_cb): Remove obsolete
883 2007-07-23 Matthias Clasen <mclasen@redhat.com>
887 * gtk/gtkscalebutton.c: Fix some doc formatting errors.
888 (#459313, Gian Mario Tagliaretti)
890 2007-07-23 Matthias Clasen <mclasen@redhat.com>
892 * configure.in: Dectect if cups allows access to the http_t
895 * modules/printbackends/cups/gtkcupsutils.c: Rely on the
896 HAVE_HTTP_AUTHSTRING define done by configure.
898 2007-07-23 Emmanuele Bassi <ebassi@gnome.org>
900 * gtk/gtkrecentchooserdefault.c: Port the GtkRecentChooser default
901 implementation widget to the new tooltips API, and make it look
902 like the GtkFileChooser widget in recent files mode (move the
903 full path from the widget to a tooltip on the row) to improve
906 * gtk/gtkrecentchoosermenu.c: Port the GtkRecentChooserMenu widget
907 to the new tooltips API.
909 * tests/testrecentchooser.c:
910 * tests/testrecentchoosermenu.c: Exercise the tooltips code paths.
912 2007-07-22 Ross Burton <ross@openedhand.com>
914 * gtk/gtkscrolledwindow.c:
915 Correctly redraw when gtk-scrolled-window-placement is changed
916 after the widget is realised (#458102)
918 2007-07-22 Matthias Clasen <mclasen@redhat.com>
920 * gdk/x11/gdkkeys-x11.c: Some documentation fixes.
922 2007-07-21 Matthias Clasen <mclasen@redhat.com>
924 * gtk/gtktooltips.[hc]: Rename the tips_data_list field
927 2007-07-21 Matthias Clasen <mclasen@redhat.com>
929 * configure.in: Bump version
931 * === Released 2.11.6 ===
933 2007-07-20 Matthias Clasen <mclasen@redhat.com>
935 * gtk/gtktooltip.c (gtk_tooltip_position): Don't pop up
936 under the cursor. This fixes tooltip-induced flickering
937 in the tasklist in a bottom panel.
939 2007-07-20 Matthias Clasen <mclasen@redhat.com>
941 * gtk/gtkpathbar.c (make_directory_button): Don't leak
942 a label. (#455901, Christian Persch, Vincent Geddes)
944 2007-07-20 Matthias Clasen <mclasen@redhat.com>
946 Apply a patch by Emmanuele Bassi to limit the number
947 of shown recent files. (#439715)
949 * gtk/gtksettings.c: Add a setting for the number
950 of recent files to display by default.
952 * gtk/gtkrecentchooserdefault.c:
953 * gtk/gtkfilechooserdefault.c: Respect the limit.
955 * gtk/gtkrecentmanager.c: Remove the poll timeout in
956 dispose, and do not stat more often than every 5 seconds.
958 * gtk/gtkrecentchooserutils.c:
959 * gtk/gtkrecentchoosermenu.c: Cleanups
961 * tests/testrecentchoosermenu.c: Test limits.
963 2007-07-20 Matthias Clasen <mclasen@redhat.com>
965 * gtk/gtkfilechooserdefault.c: Apply a patch by Emmanuele
966 Bassi to add tooltips to the file lists in recent files and
969 2007-07-20 Ryan Lortie <desrt@desrt.ca>
971 * gtk/gtkwidget.c (gtk_widget_is_composited): add note that the
972 semantics of this call, when mixed with the new
973 gdk_window_set_composited(), will change in the future.
975 * gdk/x11/gdkevents-x11.c (gdk_event_translate): only grab Damage
976 events that belong to us.
978 2007-07-19 Matthias Clasen <mclasen@redhat.com>
980 * gtk/gtkentry.c (gtk_entry_completion_key_press): Handle
981 keypresses better when there is no completion. (#458298,
982 Christian Persch, patch by Xan Lopez)
984 * gtk/gtkentrycompletion.c
985 (gtk_entry_completion_insert_completion_text): Small cleanup.
987 2007-07-19 Matthias Clasen <mclasen@redhat.com>
989 * gtk/gtksettings.c (apply_queued_setting): Merge color
990 scheme before sending notification.
992 2007-07-19 Matthias Clasen <mclasen@redhat.com>
994 * gtk/gtktreeview.c (gtk_tree_view_set_tooltip_column):
995 Only connect/disconnect signals when necessary, emit
998 2007-07-19 Kristian Rietveld <kris@imendio.com>
1000 * gtk/gtktooltip.c (find_topmost_widget_coords_from_event): handle
1001 no-window and regular widgets seperately.
1003 * gtk/gtktreeview.c (gkt_tree_view_set_tooltip_cell): rect.x should
1006 2007-07-19 Matthias Clasen <mclasen@redhat.com>
1009 * gtk/gtkiconview.h:
1010 * gtk/gtkiconview.c (gtk_icon_view_get_tooltip_context):
1011 (gtk_icon_view_[sg]et_tooltip_column: Add more convenience
1012 API parallel to the treeview convenience API.
1014 2007-07-19 Matthias Clasen <mclasen@redhat.com>
1016 * gtk/gtktextview.c (gtk_text_view_compat_move_focus):
1017 Initialized GValues before unsetting them. (#457720)
1019 2007-07-19 Kristian Rietveld <kris@imendio.com>
1022 * gtk/gtktreeprivate.h:
1023 * gtk/gtktreeview.[ch] (gtk_tree_view_get_tooltip_context),
1024 (gtk_tree_view_[sg]et_tooltip_column): add more convenience API.
1026 * tests/testtooltip.c (query_tooltip_tree_view_cb): use
1027 gtk_tree_view_get_tooltip_context().
1029 * demos/gtk-demo/demo.ui: add a tooltip column to the list store,
1030 set tooltip-column on the tree view.
1032 2007-07-18 Richard Hult <richard@imendio.com>
1034 * gdk/quartz/gdkcursor-quartz.c (gdk_cursor_new_for_display): Ref
1035 the cursor in the cached case.
1037 2007-07-18 Matthias Clasen <mclasen@redhat.com>
1039 * gtk/gtktreeview.c: Correct some mistakes in the
1040 documentation of the test-expand/collapse-row signals.
1041 (#457774, Olivier Andrieu)
1043 2007-07-18 Matthias Clasen <mclasen@redhat.com>
1045 * gtk/gtkicontheme.c: Small cleanups
1047 2007-07-17 Kristian Rietveld <kris@imendio.com>
1049 * gtk/gtktooltip.c (find_widget_under_pointer): only do the
1050 coordinate check if tmp is not NULL.
1052 2007-07-16 Kristian Rietveld <kris@imendio.com>
1054 * gtk/gtktooltip.c (find_topmost_widget_coords_from_event): check
1055 if the pointer is really over the returned widget, since the
1056 coordinate check may not always be hit in find_widget_under_pointer().
1058 2007-07-16 Matthias Clasen <mclasen@redhat.com>
1060 Fix some issues with some combinations of inline-selection
1061 and inline-completion. (#457384, Christian Persch)
1063 * gtk/gtkentry.c (gtk_entry_completion_key_press): Don't store
1064 the completion_prefix here, and be careful when using
1065 completion_prefix, because it may be NULL.
1066 * gtk/gtkentrycompletion.c (gtk_entry_completion_finalize):
1067 Free completion_prefix here.
1068 * gtk/gtkentrycompletion.c (gtk_entry_completion_real_insert_prefix):
1069 (gtk_entry_completion_insert_completion_text): Store the
1070 completion_prefix here.
1072 2007-07-16 Matthias Clasen <mclasen@redhat.com>
1074 * gtk/gtkfilechooserbutton.c (model_add_special_get_info_cb):
1075 Plug a memleak. (#455721, Christian Persch)
1077 2007-07-16 Matthias Clasen <mclasen@redhat.com>
1079 * gtk/gtkscalebutton.c: Apply a patch by Guillaume Cottenceau
1080 to improve the signal docs. (#456258)
1082 2007-07-16 Matthias Clasen <mclasen@redhat.com>
1084 * gtk/gtkwidget.c: Apply a patch by Xan Lopez to document
1085 a lot of GtkWidget signals. (#172424)
1087 2007-07-16 Matthias Clasen <mclasen@redhat.com>
1090 * gtk/gtkiconview.h:
1091 * gtk/gtkiconview.c (gtk_icon_view_set_tooltip_item):
1092 (gtk_icon_view_set_tooltip_cell): Convenience functions to
1093 position tooltips on icon view items or cells.
1095 2007-07-14 Richard Hult <richard@imendio.com>
1097 * gdk/quartz/gdkevents-quartz.c:
1098 (_gdk_quartz_events_update_cursor): Plug leak.
1100 2007-07-13 Richard Hult <richard@imendio.com>
1102 * gdk/quartz/gdkprivate-quartz.h:
1103 * gdk/quartz/gdkevents-quartz.c: (gdk_window_is_ancestor): Move
1105 * gdk/quartz/gdkwindow-quartz.c: (_gdk_quartz_window_is_ancestor):
1107 (_gdk_windowing_window_destroy): Update the mouse window if the
1108 destroyed window is an ancestor of the current one, not only if
1110 (gdk_window_hide): Update the mouse window here too.
1112 2007-07-13 Richard Hult <richard@imendio.com>
1114 * gdk/quartz/gdkcolor-quartz.c: (gdk_colors_alloc),
1115 (gdk_colors_free): Add stubs.
1117 2007-07-13 Matthias Clasen <mclasen@redhat.com>
1119 * gtk/gtkrecentmanager.c (get_uri_shortname_for_display): Avoid
1120 gratitious use of g_strdup_printf().
1122 * gtk/gtkrecentchooserdefault.c:
1123 * gtk/gtkrecentchoosermenu.c: Mark some strings for
1124 translation. (#439480, Murray Cumming)
1126 2007-07-13 Kristian Rietveld <kris@imendio.com>
1128 #408327, improve tooltip positioning.
1130 * gtk/gtk.symbols: updated.
1132 * gtk/gtktooltip.[ch] (gtk_tooltip_position): factor out
1133 positioning code in here,
1134 (gtk_tooltip_set_tip_area): new function to set the tooltip
1136 (gtk_tooltip_reset), (_gtk_tooltip_handle_event): hide tooltip
1137 once the pointer leaves the tip area.
1139 * gtk/gtktreeview.[ch] (gtk_tree_view_set_tooltip_row),
1140 (gtk_tree_view_set_tooltip_cell): convenience functions to set
1141 tip area for row/column/cell.
1143 * tests/testtooltips.c (query_tooltip_tree_view_cb): use
1144 gtk_tree_view_set_tooltip_row.
1146 2007-07-12 Cody Russell <bratsche@gnome.org>
1148 * gdk/win32/gdkevents-win32.c
1149 * gdk/win32/gdkwindow-win32.[ch]: Fix transient windows on Win32
1150 so that when a transient child window is closed (particularly when
1151 there are 3 or more levels of transient windows), the correct window
1152 receives focus rather than a seemingly random window. (#112404)
1154 2007-07-12 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1156 * gdk/directfb/gdkevents-directfb.c:
1157 * gdk/directfb/gdkwindow-directfb.c:
1158 * gdk/directfb/gdkprivate-directfb.h: Fixed memory leak at window closing,
1159 patch provided by Simon Lanzmich
1161 Thu Jul 12 18:03:02 2007 Tim Janik <timj@gtk.org>
1163 * gdk/gdk.c (gdk_threads_add_idle_full): clarified documentation example.
1165 2007-07-12 Matthias Clasen <mclasen@redhat.com>
1167 * gtk/gtktextivew.c:
1168 * gtk/gtkclipboard.c: Add documentation.
1170 2007-07-11 Matthias Clasen <mclasen@redhat.com>
1172 * gtk/gtkcelleditable.c:
1173 * gtk/gtkcellrenderer.c:
1174 * gtk/gtkcellrenderercombo.c:
1175 * gtk/gtkcellrenderertext.c: Add more documentation.
1177 2007-07-11 Matthias Clasen <mclasen@redhat.com>
1179 * gtk/gtktreeview.c:
1180 * gtk/gtktoolitem.[hc]: Make parameter naming consistent.
1182 2007-07-11 Matthias Clasen <mclasen@redhat.com>
1185 * gtk/gtkbindings.c:
1186 * gtk/gtkscalebutton.c: Small doc fixes.
1188 2007-07-11 Matthias Clasen <mclasen@redhat.com>
1191 * gtk/gtksocket.c: Move docs inline, and add some missing
1194 2007-07-11 Kristian Rietveld <kris@imendio.com>
1196 * gtk/gtktreeview.c (gtk_tree_view_*_to_*_coords): x should be
1197 changed when converting widget <=> bin_window coordinates, not
1198 when bin_window <=> tree_window.
1200 2007-07-11 Matthias Clasen <mclasen@redhat.com>
1203 * gtk/gtkiconview.[hc]
1204 (gtk_icon_view_convert_widget_to_bin_window_coords): New
1205 function to convert widget coords to what is expected by
1206 the at_pos functions. (#455984)
1208 2007-07-11 Matthias Clasen <mclasen@redhat.com>
1210 * gtk/gtkwiget.c: Don't include gtktooltips.h, it is
1213 2007-07-11 Christian Persch <chpe@gnome.org>
1215 * gtk/gtkaction.c: (gtk_action_buildable_set_name),
1216 (gtk_action_finalize), (gtk_action_set_property),
1217 (gtk_action_get_property):
1218 * gtk/gtkactiongroup.c: (gtk_action_group_init),
1219 (gtk_action_group_add_action),
1220 (gtk_action_group_add_action_with_accel),
1221 (gtk_action_group_remove_action): Intern the action's name. Saves two
1222 string duplicates of it per action; bug #455645.
1224 2007-07-10 Richard Hult <richard@imendio.com>
1226 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_new),
1227 (show_window_internal), (gdk_window_show), (gdk_window_hide): Add
1228 hack to workaround the broken tracking rect implementation in
1229 quartz, that doesn't seem to produce events if the window shows up
1232 2007-07-10 Kristian Rietveld <kris@imendio.com>
1235 * gtk/gtkwidget.[ch] (gtk_widget_{get,set}_has_tooltip): add
1236 getter/setter pair, slight addition to has-tooltip property
1238 (gtk_widget_real_set_has_tooltip): renamed internal function.
1240 2007-07-10 Christian Persch <chpe@gnome.org>
1242 * gtk/gtkaction.c: (gtk_action_sync_tooltip),
1243 (gtk_action_set_tooltip):
1244 * gtk/gtkuimanager.c: (update_node): Remove work-around for the old
1245 tooltips code, and just set the action tooltip immediately on the
1246 proxy widget. Bug #455482.
1248 2007-07-10 Kristian Rietveld <kris@imendio.com>
1250 * gtk/gtktooltip.c (find_widget_under_pointer),
1251 (child_location_foreach): use gtk_container_forall, instead of
1252 gtk_container_foreach(). Makes tooltips on notebook tabs work. (Fixes
1253 bug reported by Christian Persch).
1255 2007-07-10 Kristian Rietveld <kris@imendio.com>
1257 * gtk/gtktooltip.c (child_location_foreach): ignore invisible
1258 (!drawable) widgets. (Fixes bug reported by Paolo Borelli).
1260 2007-07-10 Matthias Clasen <mclasen@redhat.com>
1262 * README.in: Make sure all deprecations are mentioned.
1264 2007-07-10 Matthias Clasen <mclasen@redhat.com>
1266 * gtk/gtkrecentmanager.c: Fix some doc formatting
1268 2007-07-10 Matthias Clasen <mclasen@redhat.com>
1270 * gtk/gtk-builder-convert: Fix a typo
1272 2007-07-10 Matthias Clasen <mclasen@redhat.com>
1276 2007-07-09 Matthias Clasen <mclasen@redhat.com>
1278 * gtklabel.[ch]: Use a bit of the GtkLabel structure to
1279 remember that a pattern has been set.
1280 (gtk_label_set_pattern_internal): Don't do anything if
1281 a specific pattern has been set.
1282 (gtk_label_set_pattern): set the new bit to TRUE when
1283 setting a pattern, and recalculate everything if the
1284 pattern is unset. Fix gtk_label_set_pattern() not working
1285 anymore. (#452861, Vincent Untz)
1287 2007-07-09 Claude Paroz <claude@2xlibre.net>
1289 * configure.in: Changed uz to uz@cyrillic and uz@Latn to uz.
1292 2007-07-09 Matthias Clasen <mclasen@redhat.com>
1294 * gtk/gtkvolumebutton.c: Remove deprecated tooltips,
1295 use new tooltips API. (#449311, Jan Arne Petersen)
1297 2007-07-09 Matthias Clasen <mclasen@redhat.com>
1299 * gtk/gtkselection.c (normalize_to_crlf): Don't ignore
1300 the passed-in len parameter. (#430049, Yevgen Muntyan)
1302 2007-07-09 Matthias Clasen <mclasen@redhat.com>
1304 * gtk/gtkframe.c (gtk_frame_size_allocate): Improve the
1305 handling of broken situations. (#427899, Francesco Montorsi)
1307 2007-07-09 Matthias Clasen <mclasen@redhat.com>
1309 * gtk/gtkviewport.c (gtk_viewport_size_request): Changed size
1310 requisition so the viewport does not add the border thickness
1311 if it has GTK_SHADOW_NONE selected. (#361781, Miguel Gomez)
1313 2007-07-09 Matthias Clasen <mclasen@redhat.com>
1315 * gtk/gtktooltip.c (gtk_tooltip_trigger_tooltip_query):
1316 Fix a typo in the docs. (#453930, Guillaume Cottenceau)
1318 2007-07-09 Kristian Rietveld <kris@imendio.com>
1320 Replace non-deprecated API using old tooltips API, deprecate
1321 old tooltips API for real. (#451575).
1323 * gtk/gtk.symbols: updated.
1325 * gtk/gtkwidget.c (gtk_widget_real_show_help): don't call
1326 _gtk_tooltips_toggle_keyboard_mode() anymore.
1328 * gtk/gtkmenutoolbutton.[ch] (gtk_menu_tool_button_set_arrow_tooltip):
1330 (gtk_menu_tool_button_set_arrow_tooltip_{text,markup}): replacements.
1332 * gtk/gtktoolitem.[ch] (gtk_tool_item_real_set_tooltip): use
1334 (gtk_tool_item_set_tooltip): deprecated,
1335 (gtk_tool_item_set_tooltip_{text,markup): replacements.
1336 (GtkToolItemClass:set_tooltip): deprecated.
1338 * gtk/gtktooltips.[ch]: strip out all unused parts, made
1339 gtk_tooltips_set_tip() call gtk_widget_set_tooltip_text(),
1340 deprecate all of gtk_tooltips_*.
1342 * gtk/gtktoolbar.[ch] (gtk_toolbar_get_tooltips): always return
1344 (GtkToolbar:tooltips): deprecated, renamed.
1346 * gtk/gtkaction.c (gtk_action_sync_tooltip): use new API to
1347 set the tooltip text.
1349 * tests/autotestfilechooser.c: #undef GTK_DISABLE_DEPRECATED for now,
1350 will be removed GtkFileChooserDefault has been converted.
1352 2007-07-09 Matthias Clasen <mclasen@redhat.com>
1355 (gtk_tree_view_convert_bin_window_to_widget_coords:
1356 Fix a typo in the docs. (#453673, Guillaume Cottenceau)
1358 2007-07-09 Matthias Clasen <mclasen@redhat.com>
1360 * gtk/gtkcombobox.c (gtk_combo_box_model_row_deleted): Emit
1361 ::changed when removing the active row. (#452056, Paul Pogonyshev)
1363 2007-07-09 Matthias Clasen <mclasen@redhat.com>
1365 * gtk/gtksearchenginesimple.c: Address some thread-safety
1368 2007-07-09 Matthias Clasen <mclasen@redhat.com>
1370 * modules/printbackends/*/Makefile.am: Fix build problems
1371 on Cygwin. (#448604)
1373 2007-07-09 Jaap Haitsma <jaap@haitsma.org>
1375 * gtk/gtkstatusicon.c: Remove usage of deprecated GtkTooltips API. Use
1376 gtk_widget_set_tooltip_text instead
1378 2007-07-09 Johan Dahlin <jdahlin@async.com.br>
1381 * gtk/gtktooltip.h: Make the GTK_TOOLTIP and GTK_IS_TOOLTIP macros public.
1383 2007-07-09 Johan Dahlin,,, <jdahlin@lozenge>
1385 * demos/gtk-demo/demo.ui:
1386 * gtk/gtk-builder-convert:
1387 * gtk/gtkactiongroup.c: (gtk_action_group_buildable_init),
1388 (gtk_action_group_buildable_add_child),
1389 (accelerator_start_element),
1390 (gtk_action_group_buildable_custom_tag_start),
1391 (gtk_action_group_buildable_custom_tag_end):
1392 * gtk/gtkuimanager.c: (child_hierarchy_changed_cb),
1393 (gtk_ui_manager_buildable_construct_child):
1394 * tests/buildertest.c: (test_uimanager_simple):
1396 Add actiongroup/action accelerator support for builder. #454654
1398 2007-07-08 Matthias Clasen <mclasen@redhat.com>
1400 * gtk/gtkbuilderparser.c (pgettext): Support old-style
1401 message contexts, too.
1403 2007-07-08 Johan Dahlin <jdahlin@async.com.br>
1405 * gtk/gtk-builder-convert: Improve the way properties
1406 are copied over from a menuitem to an action.
1408 2007-07-08 Johan Dahlin <jdahlin@async.com.br>
1410 * gtk/gtk-builder-convert (GtkBuilderConverter._convert_menuitem): Convert
1411 GtkMenus which are not part of a GtkMenuBar. Also move over activate signals
1412 when converting a GtkMenuItem subclass to an action.
1413 (#454830, Bastien Nocera)
1415 * gtk/gtkbuilderparser.c (parse_signal): Parse last_modification_time
1416 attribute in <signal> tag
1418 2007-07-07 Matthias Clasen <mclasen@redhat.com>
1420 * gtk/gtkbuilderprivate.h:
1421 * gtk/gtkbuilderparser.c: Support context and comments
1424 2007-07-07 Matthias Clasen <mclasen@redhat.com>
1426 * gtk/gtkwidget.c: Fix some typos, and a memory management bug.
1428 2007-07-08 Johan Dahlin <jdahlin@async.com.br>
1430 * gtk/gtkwidget.c (gtk_widget_buildable_custom_tag_start):
1431 Parse <accessibility> but don't do anything yet.
1432 * gtk/gtk-builder-convert (GtkBuilderConverter._parse):
1433 Do not strip atk/accessibility tags
1434 * tests/buildertest.c (test_widget):
1437 Sun Jul 8 01:33:45 2007 Tim Janik <timj@gtk.org>
1439 * gdk/gdkwindow.c: docu fixup by Bjoern Lindqvist, #454703.
1441 2007-07-07 Richard Hult <richard@imendio.com>
1443 * gdk/quartz/GdkQuartzWindow.c ([GdkQuartzWindow -windowDidResignMain:])
1444 ([GdkQuartzWindow -windowDidBecomeMain:]):
1445 * gdk/quartz/gdkwindow-quartz.c (_gdk_quartz_window_did_resign_main)
1446 (_gdk_quartz_window_did_become_main, gdk_window_hide)
1447 (_gdk_windowing_window_destroy): Keep a stack of main windows and
1448 select the most recent one when hiding/closing the current one.
1450 2007-07-07 Johan Dahlin <jdahlin@async.com.br>
1452 * gtk/gtk-builder-convert (GtkBuilderConverter._convert_textview_text):
1453 Convert GtkTextView::text properties
1454 (GtkBuilderConverter): Refactor; Optimize widget lookups by not
1455 traversing the whole tree.
1456 Use a common api to create sizegroups, actiongroups and uimanagers
1457 to avoid name conflicts.
1458 Output newly created objects sorted by id before the old roots under
1460 (GtkBuilderConverter._parse): Remove unsupported atkrelation and atkproperty
1462 (GtkBuilderConverter._convert_menuitem): Add support for CheckMenuItems
1463 and do not set name and action on separators
1464 (GtkBuilderConverter._add_action_from_menuitem): Only set stock_id
1465 on the action if the menuitem had a stock or label property set
1467 2007-07-06 Richard Hult <richard@imendio.com>
1469 * gdk/quartz/gdkprivate-quartz.h:
1470 * gdk/quartz/gdkwindow-quartz.c:
1471 * gdk/quartz/GdkQuartzWindow.c: Fix (de)miniaturizing transient
1472 windows, by (un)setting the parent before and after miniaturizing.
1474 2007-07-06 Richard Hult <richard@imendio.com>
1476 * gdk/quartz/gdkkeys-quartz.c (gdk_keymap_have_bidi_layouts): Add
1479 2007-07-06 Johan Dahlin <jdahlin@async.com.br>
1481 * gtk/gtkbuilder.c (gtk_builder_get_type_from_name): Add a missing
1482 semi-colon in the doc string, spotted by Johannes Sasonko
1484 2007-07-05 Matthias Clasen <mclasen@redhat.com>
1486 * gtk/gtkbuilder.c: Support pixbuf properties by specifying
1487 a filename as the property value. (#447966)
1489 Wed Jul 4 12:20:23 2007 Tim Janik <timj@imendio.com>
1491 * gdk/gdkevents.c (gdk_event_request_motions): added usage example
1492 to gdk_event_request_motions() docs.
1494 2007-07-04 Tor Lillqvist <tml@novell.com>
1496 * gtk/gtkstatusicon.c: On Win32 call
1497 gtk_status_icon_button_press() in an idle callback and not
1498 directly from the window procedure to avoid "g_main_loop_run():
1499 called recursively from within a source's check() or prepare()
1500 member, iteration not possible" warnings.
1502 2007-07-04 Chris Wilson <chris@chris-wilson.co.uk>
1504 * gtk/gtkrecentchoosermenu.c (idle_populate_func),
1505 (idle_populate_clean_up), (gtk_recent_chooser_menu_populate):
1506 Remove a surplus GDK_THREADS_LEAVE() and avoid a potential use after
1507 free in the source destroy notify. (#453033)
1509 2007-07-04 Johan Dahlin <jdahlin@async.com.br>
1511 * gtk/gtkcelllayout.c (_gtk_cell_layout_buildable_add_child):
1512 pack children from the start instead of the end, this should
1513 probably be made configurable at some point.
1515 * gtk/gtk-builder-convert:
1516 Add support for converting GtkComboBox items, also make sure
1517 that we support more than one GtkAdjustment in a file
1519 2007-07-03 Richard Hult <richard@imendio.com>
1521 * gdk/quartz/gdkevents-quartz.c: Keep track of button state and
1522 include it in key events. Needed for gimp's selection tools and
1525 2007-07-03 Matthias Clasen <mclasen@redhat.com>
1527 * gtk/gtkbuilder.c: Fix some typos in docs. (#452278,
1530 2007-07-03 Richard Hult <richard@imendio.com>
1532 * gdk/quartz/gdkevents-quartz.c (create_key_event): Include
1533 modifier state in key release events. Fixes bug #453413.
1535 2007-07-03 Matthias Clasen <mclasen@redhat.com>
1537 * gtk/gtkcelllayout.c (attributes_text_element): Report
1538 errors about integer parsing back up. (#452988)
1540 * tests/buildertest.c: Add an extra check.
1542 2007-07-03 Matthias Clasen <mclasen@redhat.com>
1544 * gtk/gtkbutton.c (gtk_button_construct_child): Don't leave
1545 priv->image dangling when use-stock is set to FALSE. (#437281,
1548 2007-07-03 Tor Lillqvist <tml@novell.com>
1550 * configure.in: Handle GDK_PIXBUF_EXTRA_LIBS like GDK_EXTRA_LIBS,
1551 i.e. clear it if enable_explicit_deps isn't on. If we build with
1552 --with-included-loaders and --enable-explicit-deps=no we don't
1553 want -ltiff -ljpeg etc in the gdk-pixbuf-2.0.pc file.
1555 2007-07-03 Tor Lillqvist <tml@novell.com>
1557 * gdk/win32/gdkkeys-win32.c (gdk_keymap_have_bidi_layouts):
1558 Implement. Just return FALSE for now. What should this function
1559 actually do? Does keyboards layouts being "in use" mean that such
1560 layouts can be switched to on the fly using some extra-GTK+
1561 mechanism? If so we need to actually check that.
1563 2007-07-03 Tristan Van Berkom <tvb@gnome.org>
1565 * gtk/gtkwidget.c: Fixed assertions from setting "tooltip-text" to NULL
1568 2007-07-03 Johan Dahlin <jdahlin@async.com.br>
1570 * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root): Add a
1571 --root option. Filter empty properties. Convert GtkAdjustments.
1573 * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished): Mimic the behavior
1574 of gtk_dialog_add_action_widget closer, to make clicking on the buttons
1577 2007-07-02 Matthias Clasen <mclasen@redhat.com>
1579 * configure.in: Bump version
1581 * === Released 2.11.5 ===
1583 * tests/autotestkeywords.cc: Make platform includes
1586 * gtk/Makefile.am: File list fixes
1590 2007-07-02 Kristian Rietveld <kris@gtk.org>
1593 * gtk/gtktreeview.[ch] (gtk_tree_view_is_rubber_banding_active): new
1594 function to check whether a rubber banding operation is currently
1595 active. (#393579, Christian Neumair).
1597 2007-07-02 Matthias Clasen <mclasen@redhat.com>
1601 2007-07-02 Jan Arne Petersen <jpetersen@jpetersen.org>
1603 * gtk/gtkscalebutton.c: (gtk_scale_button_update_icon): Add
1604 parentheses to fix the operator order in the icon selection.
1606 2007-07-01 Johan Dahlin <jdahlin@async.com.br>
1608 * gtk/gtk-builder-convert (GtkBuilderConverter):
1609 Convert to getopt, improved documentation, change
1610 the script to require two arguments
1612 2007-06-30 Richard Hult <richard@imendio.com>
1614 Continue the event handling cleanup:
1616 * gdk/quartz/gdkevents-quartz.c: (synthesize_crossing_events):
1617 Don't do anything if the old and new windows are the same,
1618 simplifies the callers.
1619 (find_mouse_window_for_ns_event): Always return a window (root
1620 instead of NULL). Remove unneccessary check for the current mouse
1621 window being NULL, that was a workaround for a now fixed
1622 bug. Convert to root coordinates if we don't find a window.
1623 (synthesize_crossing_events_for_ns_event): Simplify and add
1626 2007-06-30 Richard Hult <richard@imendio.com>
1628 * gdk/quartz/gdkevents-quartz.c:
1629 (synthesize_crossing_events_for_ns_event): Simplify (get the
1630 origin directly from the window).
1632 2007-06-30 Richard Hult <richard@imendio.com>
1634 * gdk/quartz/gdkevents-quartz.c: (create_crossing_event),
1635 (synthesize_crossing_events), (find_mouse_window_for_ns_event),
1636 (synthesize_crossing_events_for_ns_event): No need to special case
1637 the root window now that it has the right size.
1639 2007-06-30 Richard Hult <richard@imendio.com>
1641 * gdk/quartz/gdkwindow-quartz.c:
1642 * gdk/quartz/gdkevents-quartz.c: Improve comments in those
1643 files. Add a debugging helper to print out information about a
1646 2007-06-30 Johan Dahlin <jdahlin@async.com.br>
1650 * gtk/gtkbuilderparser.c:
1651 * gtk/gtkbuilderprivate.h:
1653 * tests/buildertest.c:
1655 Improve error handling for enum/flags, rename the converter functions
1656 to be consistent. Add tests. Fixes #452465
1658 2007-06-30 Richard Hult <richard@imendio.com>
1660 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_get_origin): Make
1661 this work properly for the root window.
1663 2007-06-30 Richard Hult <richard@imendio.com>
1665 * gdk/quartz/GdkQuartzView.c: Improve the tracking rect updating:
1666 - No need to override setFrame.
1667 - Use our own size instead of the bounds from the view as it's not
1668 always updated before the tracking rect.
1669 - Only reset the tracking rect if the new window is nil).
1671 * gdk/quartz/GdkQuartzWindow.c: Update the bounds of the content
1672 view when the window size changes.
1674 2007-06-30 Matthias Clasen <mclasen@redhat.com>
1676 * gtk/gtkbuilderparser.c (_gtk_builder_parse_boolean):
1677 Use g_ascii_strdown() instead of a rolling our own.
1679 2007-06-30 Johan Dahlin <jdahlin@async.com.br>
1681 * gtk/gtkbuilderparser.c: (_get_type_by_symbol), (parse_object),
1683 * tests/buildertest.c: (test_types):
1684 Move type-func to <object> instead of <child>, add a test to
1685 make sure that it works as desired, #452463
1687 * gtk/gtkbuilder.c: (gtk_builder_value_from_string_type):
1688 * gtk/gtkbuilderparser.c: (_gtk_builder_parse_boolean),
1689 (parse_property), (parse_signal):
1690 * gtk/gtkbuilderprivate.h:
1691 * tests/buildertest.c: (test_value_from_string):
1692 Make boolean string parsing consistent, #452464
1694 2007-06-30 Matthias Clasen <mclasen@redhat.com>
1697 * gtk/gtkbuildable.c: Documentation updates.
1699 2007-06-29 Matthias Clasen <mclasen@redhat.com>
1703 * gdk/x11/gdkkeys-x11.c (gdk_keymap_have_bidi_layouts): New
1704 function to determine if keyboard layouts for both LTR and LTR
1705 languages are in use. Refactor the direction caching code to
1706 make this information available. (#353805, Behnam Esfahbod)
1708 2007-06-29 Matthias Clasen <mclasen@redhat.com>
1710 * modules/printbackend/cups/gtkcupsutils.c (_post_check):
1711 (_get_check): Enable SSL support. (#451070, Vince Busam)
1713 2007-06-29 Johan Dahlin <jdahlin@async.com.br>
1715 * gtk/gtkbuilder.c: (gtk_builder_finalize),
1716 (gtk_builder_get_parameters), (_gtk_builder_construct):
1717 * tests/buildertest.c:
1719 Improve reference counting, #447967
1721 2007-06-29 Ryan Lortie <desrt@desrt.ca>
1723 * tests/testgtk.c (create_composited_window): Connect the "destroy"
1724 signal so that the 'window' pointer is set back to NULL (like for the
1727 * gdk/x11/gdkwindow-x11.c (gdk_window_impl_x11_finalize): Don't
1728 destroy the Damage here. By finalize() XDestroyWindow has already
1729 been called (and took the Damage with it).
1733 2007-06-29 Emmanuele Bassi <ebassi@gnome.org>
1735 * gtk/gtkrecentchooserdefault.c (recent_meta_data_func): Escape
1736 markup entities in the name and URI before displaying them.
1738 2007-06-29 Emmanuele Bassi <ebassi@gnome.org>
1740 * gtk/gtkrecentmanager.c (get_icon_for_mime_type): Do not
1741 cache the icon pixbufs but rely on the GtkIconTheme not to
1742 hit the disk cache too much (should tentatively fix #426987).
1744 2007-06-28 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1746 * modules/engines/ms-windows/msw_style.c: Draw no bevel
1747 when "GtkToolbar::shadow-type" is "none" (#450469).
1749 2007-06-28 Johan Dahlin <jdahlin@async.com.br>
1751 * gtk/gtk-builder-convert (_indent): Prettify the output by
1752 running it through xmllint --format if xmllint is available
1753 which also requires the subprocess module only available
1754 in python 2.4 or later
1756 2007-06-28 Christian Persch <chpe@gnome.org>
1758 * gtk/gtkvolumebutton.c: (gtk_volume_button_class_init),
1759 (gtk_volume_button_init), (gtk_volume_button_dispose),
1760 (gtk_volume_button_update_tooltip): Make the volume button use range
1761 0.0 to 1.0 by default, and fix tooltips code to cope with different ranges.
1764 2007-06-28 Yevgen Muntyan <muntyan@tamu.edu>
1766 * gtk/gtktextutil.c (_gtk_text_util_get_block_cursor_location):
1767 do right thing in one-character lines and at paragraph end (#448313).
1769 * configure.in: require pango-1.17.3 to get fixed pango_layout_index_to_line_x()
1772 2007-06-27 Johan Dahlin <jdahlin@async.com.br>
1774 * gtk/gtkbuilderparser.c (parse_property): Use
1775 the attribute name in the error message instead of
1778 * demos/gtk-demo/demo.ui: Set name of Help menu
1781 * gtk/gtkbuilder.c (apply_delayed_properties):
1782 Print out the name of the right object in the warning
1783 (#451314, Philip Withnall)
1785 * gtk/gtk-builder-convert (GtkBuilderConverter._parse): Remove
1786 glade-interface doctype if found.
1787 (GtkBuilderConverter._convert):
1788 Make sure that we can convert Gazpacho files too.
1790 2007-06-27 Cody Russell <bratsche@gnome.org>
1792 * modules/engines/ms-windows/msw_style.c (draw_themed_tab_button):
1793 Fixed, very hackishly, a one pixel error that occurs using the
1794 XP theme engine only on the left-most tab, if it is active, when
1795 the notebook is bottom-oriented. (#392283)
1797 2007-06-27 Johan Dahlin <jdahlin@async.com.br>
1799 * tests/buildertest.c: (test_value_from_string):
1800 Check the code and domain of GErrors instead of the string values
1802 * gtk/gtkbuilder.c: (gtk_builder_get_parameters),
1803 (gtk_builder_value_from_string),
1804 (gtk_builder_value_from_string_type):
1806 * gtk/gtkcontainer.c: (gtk_container_buildable_set_child_property),
1807 (attributes_text_element):
1808 * gtk/gtkliststore.c: (list_store_text):
1809 * tests/buildertest.c: (test_value_from_string):
1811 Add GtkBuilder and GError arguments to gtk_builder_value_from_string
1812 and gtk_builder_value_from_string_type. (#451428)
1814 2007-06-27 Xan Lopez <xan@gnome.org>
1816 * gtk/gtkvbbox.c (gtk_vbutton_box_size_allocate):
1817 * gtk/gtkhbbox.c (gtk_hbutton_box_size_allocate):
1819 Do not add border_width to the first button initial
1820 coordinate, since it's already taken into account in
1821 the allocation value. (#451484)
1823 2007-06-27 Michael Natterer <mitch@imendio.com>
1825 Merged from maemo-gtk:
1827 * gtk/gtkmenu.c (gtk_menu_handle_scrolling): when updating the
1828 scroll arrows' state, make sure we don't overwrite the insensitive
1829 state that might have been set by the first scroll step hitting
1830 the top/bottom border of the menu.
1832 Wed Jun 27 13:27:21 2007 Tim Janik <timj@gtk.org>
1834 * gtk/gtkradiobutton.[hc]: applied patch to improve variable names,
1835 by Olivier Delhomme, #451527.
1837 Wed Jun 27 11:57:41 2007 Tim Janik <timj@imendio.com>
1839 * gtk/gtkstatusicon.c (gtk_status_icon_position_menu): fixed
1840 push_in description.
1842 2007-06-27 Johan Dahlin <jdahlin@async.com.br>
1844 * gtk/gtkbuilderparser.c: Plug leaks in error code paths
1846 2007-06-26 Johan Dahlin <jdahlin@async.com.br>
1848 * tests/buildertest.c (test_object_properties):
1849 Add a test to check object properties
1851 * gtk/gtkbuilder.h (enum):
1852 * gtk/gtkbuilderparser.c (end_element):
1853 * tests/buildertest.c (test_parser):
1854 Set an error if we encounter properties without values set
1855 (#451303, Philip Withnall)
1856 (test_object_properties): Add a test
1858 * demos/gtk-demo/builder.c (do_builder): Connect the
1859 destroy signal in the example instead of the ui file.
1860 Also set the screen and title of the window.
1861 (#451345, Thomas Rydzynski)
1863 2007-06-26 Richard Hult <richard@imendio.com>
1865 * gtk/gtkbuilder.c: (gtk_builder_value_from_string_type): Fix a
1866 bunch of small bugs when parsing property values
1867 (boolean/int/uint/long/ulong/float/double). Bug #451353.
1869 * tests/buildertest.c: Add tests for the above.
1871 2007-06-26 Emmanuele Bassi <ebassi@gnome.org>
1873 * gtk/gtkfilechooserdefault.c (list_mtime_data_func): Fix
1874 a typo in the previous commit.
1876 (shortcuts_append_desktop): Remove unused variable and
1877 hush the compiler warning.
1879 2007-06-26 Emmanuele Bassi <ebassi@gnome.org>
1881 * gtk/gtkfilechooserdefault.c (list_mtime_data_func): Show
1882 the time of last change in the file chooser, for files
1883 modified today or yesterday. (#324543)
1885 * configure.in: Check for localtime_r().
1887 2007-06-26 Cody Russell <bratsche@gnome.org>
1889 * modules/engines/ms-windows/xp_theme.[ch]
1890 * modules/engines/ms-windows/msw_style.c: Add support for
1891 drawing checkboxes with inconsistent states. (Tor, #164809)
1893 2007-06-26 Johan Dahlin <jdahlin@async.com.br>
1895 * gtk/gtk-builder-convert (GtkBuilderConverter.to_xml): Encode
1896 the output in utf-8 as suggested by Bogdan Nicula
1898 2007-06-22 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1900 * configure.in, tests/Makefile.am, tests/autotestkeywords.cc,
1901 tests/dummy-headers/*: Extend the C++ keyword test
1902 to include internal GDK headers (#449016).
1904 2007-06-26 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1906 * ChangeLog, configure.in, tests/Makefile.am,
1907 tests/autotestkeywords.cc: Create test for finding
1908 C++ keywords in public header files (#449016).
1910 2007-06-26 Kristian Rietveld <kris@imendio.com>
1912 * gtk/gtktooltips.h: remove the deprecation macros for now to fix
1913 the build and give us a chance to fix widgets which use GtkTooltips
1916 2007-06-26 Kristian Rietveld <kris@imendio.com>
1919 * gtk/gtktooltips.[ch]:
1920 * docs/reference/gtk/tmpl/gtktooltips.sgml: deprecate GtkTooltips.
1922 2007-06-25 Johan Dahlin <jdahlin@async.com.br>
1924 * gtk/gtk-builder-convert: Add a script to convert libglade files
1925 to something gtkbuilder can parse.
1928 2007-06-25 Richard Hult <richard@imendio.com>
1930 * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Don't steal
1931 menu events while the keyboard is grabbed.
1933 2007-06-25 Richard Hult <richard@imendio.com>
1935 * gdk/quartz/Makefile.am:
1936 * gdk/quartz/xcursors.h:
1937 * gdk/quartz/gdkcursor-quartz.c: Fallback to X cursors for the
1938 ones that OS X doesn't provide. Fixes bug #327912.
1940 2007-06-25 Emmanuele Bassi <ebassi@gnome.org>
1942 * gtk/gtkrecentmanager.c:
1943 (build_recent_info): building a GtkRecentInfo can never fail.
1945 (gtk_recent_manager_get_items): Clamp the list while building
1946 it so we don't need to traverse it more than once. (#446532,
1949 2007-06-25 Tor Lillqvist <tml@novell.com>
1951 * gdk/win32/gdkevents-win32.c (gdk_pointer_grab): Revert my
1952 attempted overly simple fix for #445284, as it causes a
1953 regression. (For instance, in GIMP the tool cursor gets used also
1954 for the right-click menu in image windows.) A more complex fix is
1955 needed to more completely emulate X11 behaviour.
1957 2007-06-24 Kristian Rietveld <kris@gtk.org>
1959 * Makefile.am: fix little mistake in my last commit ...
1961 2007-06-24 Kristian Rietveld <kris@gtk.org>
1963 * gtk/gtksearchenginequartz.[ch]: Add a search engine which queries
1964 the Spotlight database on MacOS X (only available in 10.4 and
1967 * gtk/gtksearchengine.c (_gtk_search_engine_new): try creating
1968 quartz search engine if we are on OS X.
1970 * Makefile.am: added use_quartz_sources section with new file.
1972 2007-06-22 Emmanuele Bassi <ebassi@gnome.org>
1974 * gtk/gtksearchenginebeagle.c:
1975 * gtk/gtksearchenginesimple.c:
1976 * gtk/gtksearchenginetracker.c: Remove the MIME type calls and
1977 queries from the search engine implementations, since we use our
1978 own GtkFileSystem to filter out basing on MIME types and we cannot
1979 query MIME types anyway. The GtkQuery private object still has
1980 MIME type, as well as location, support for future expansion.
1982 Fri Jun 22 12:13:39 2007 Tim Janik <timj@imendio.com>
1984 * gtk/gtkframe.c (gtk_frame_paint): applied patch from Xan Lopez
1985 to eliminate gap in painted frame for yaling=0.0 or yalign=1.0.
1987 * tests/testframe.c: added test application from Xan Lopez to
1988 test xalign/yalign interactions with xthickness/ythickness.
1990 Fri Jun 22 00:34:34 2007 Tim Janik <timj@gtk.org>
1992 * gdk/x11/gdkdisplay-x11.c (gdk_x11_display_get_xdisplay): applied
1993 patch from Mark Tiefenbruck to add missing return_if_fail, #449862.
1995 2007-06-21 Matthias Clasen <mclasen@redhat.com>
1997 * gtk/gtktoolbar.c: Remove debug spew. (#449492, Christian Persch)
1999 2007-06-21 Matthias Clasen <mclasen@redhat.com>
2001 * gtk/gtkmain.c (gtk_main_do_event): Remove faulty and irrelevant
2002 enter-leave compression code. (#449167, patch by Tim Janik)
2004 2007-06-19 Johan Dahlin <jdahlin@async.com.br>
2006 * gdk/quartz/GdkQuartzView.c ([GdkQuartzView -updateTrackingRect]): Fix a typo
2009 2007-06-20 Richard Hult <richard@imendio.com>
2011 * gdk/quartz/gdkwindow-quartz.c (gdk_window_new):
2012 * gdk/quartz/GdkQuartzWindow.c (windowDidResize): Don't create or
2013 update the tracking rect in the window, move it to the view where
2016 * gdk/quartz/GdkQuartzView.c (updateTrackingRect)
2017 (viewDidMoveToWindow, viewWillMoveToWindow)
2018 (setFrame, setBounds): Create and update the tracking rect here.
2020 2007-06-19 Mathias Hasselmann <mathias.hasselmann@gmx.de>
2022 * gdk/gdkinternals.h: Restore G_BEGIN_DECLS at the
2023 top of this file to make C++ compilers happy.
2025 2007-06-19 Matthias Clasen <mclasen@redhat.com>
2027 * configure.in: Bump version
2029 * === Released 2.11.4 ===
2033 2007-06-19 Sven Neumann <sven@gimp.org>
2035 * gtk/gtkicontheme.c (gtk_icon_info_copy): use g_slice_dup().
2037 2007-06-19 Sven Neumann <sven@gimp.org>
2039 * gtk/gtktooltips.[ch]: mark the GtkTooltips struct as private.
2040 Keep the tooltips in a hash table instead of a linked list.
2041 Improves performance when using large amounts of tooltips (#447214).
2043 * README.in: document the GtkTooltips changes.
2045 2007-06-19 Johan Dahlin <jdahlin@async.com.br>
2047 * gtk/*: Rename buildable methods to not clash with widget
2048 methods. (#448928, Torsten Schoenfeld)
2050 2007-06-19 Emmanuele Bassi <ebassi@gnome.org>
2052 * gtk/gtkrecentmanager.c: Use g_timeout_add_seconds_full() for
2053 the timed poll of the storage file, since we are using multiple
2054 seconds intervals and we don't actually care about millisecond
2057 (threads_dispatch), (threads_free), (gtk_recent_manager_init),
2058 (gtk_recent_manager_set_filename): Roll our own version of
2059 gdk_threads_add_timeout() using g_timeout_add_seconds_full()
2060 while holding the GDK main lock.
2062 * configure.in: Bump up the required GLib version, in order
2063 to use g_timeout_add_seconds_full().
2065 2007-06-19 Emmanuele Bassi <ebassi@gnome.org>
2067 * gtk/gtkrecentmanager.c: Use a static variable to hold the
2068 singleton and remove the code that binds a recent manager to
2071 (gtk_recent_manager_set_screen): Make it a NOOP.
2072 (gtk_recent_manager_get_for_screen): Proxy for
2073 gtk_recent_manager_get_default().
2076 * gtk/gtkrecentmanager.h: Deprecate gtk_recent_manager_set_screen()
2077 and gtk_recent_manager_get_for_screen().
2079 * gtk/gtkmain.c: Force a synchronisation of the GtkRecentManager
2080 singleton (if any) when reaching main loop depth of 0.
2082 * gtk/gtkrecentchooserdefault.c:
2083 (gtk_recent_chooser_default_dispose): Disconnect the changed
2084 signal only if we have a manager and we are connected to it.
2086 (set_recent_manager): Ditto.
2088 * README.in: Document the deprecations.
2090 2007-06-18 Matthias Clasen <mclasen@redhat.com>
2092 * gtk/gtkcellrendererspin.c: Fix some issues with refcounting
2093 of the adjustment. (#448544, Carlos Garnacho)
2095 2007-06-18 Gustavo J. A. M. Carneiro <gjc@gnome.org>
2097 reviewed by: Matthias Clasen
2099 * gtk/gtkaccelgroup.c (gtk_accel_group_finalize): Remove closure
2100 invalidate notifiers. (#448484)
2102 2007-06-17 Matthias Clasen <mclasen@redhat.com>
2104 * README.in: Updates
2106 * gtk/gtkmenushell.c: Make GtkMenuShell as an abstract type.
2107 It was already documented as such. (#412357, Vincent Geddes)
2109 2007-06-17 Matthias Clasen <mclasen@redhat.com>
2111 * gtk/gtkcontainer.c: Fix a doc typo.
2113 2007-06-17 Richard Hult <richard@imendio.com>
2115 * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Forward
2116 Mac OS menu shortcut events to the right menu.
2118 2007-06-17 Richard Hult <richard@imendio.com>
2120 * gdk/quartz/gdkevents-quartz.c (gdk_event_translate)
2121 (synthesize_crossing_events_for_ns_event)
2122 (find_window_for_ns_event): More refactoring of the event
2123 handling: Extract synthesizing of crossing events from
2124 find_window_for_ns_event so that it doesn't have any side effects,
2125 and call the new function from gdk_event_translate instead.
2127 2007-06-16 Richard Hult <richard@imendio.com>
2129 * gdk/quartz/gdkevents-quartz.c: (find_window_for_ns_event),
2130 (gdk_event_translate): Remove pointless logging for unhandled events.
2131 Activate the application on non-left clicks, since that is only done
2132 for left clicks and we depend on it to get events routed properly for
2133 context menus and other popup windows.
2135 2006-09-22 Dennis Cranston <dennis_cranston@yahoo.com>
2137 * gtk/gtkfilechooserbutton.c: (change_icon_theme),
2138 (model_add_bookmarks), (model_update_current_folder):
2139 * gtk/gtkfilechooserdefault.c: (shortcuts_reload_icons),
2140 (shortcuts_insert_path): Use the remote folder icon when
2143 Follow up to #354887
2145 2007-06-17 Christian Persch <chpe@gnome.org>
2147 * gtk/Makefile.am: Pass the print settings to the preview programme.
2148 Bug #403717, patch by Carlos Garcia Campos.
2150 2007-06-17 Xan Lopez <xan@gnome.org>
2152 * gdk/x11/gdkgeometry-x11.c: replace GDK_WINDOW calls by cast to
2153 GdkWindow. Patch by Tilman Sauerbeck from #63820.
2155 2007-06-17 Daniel Elstner <danielk@openismus.com>
2157 * modules/input/gtkimcontextmultipress.c (vfunc_filter_keypress):
2158 Change input method behavior to act on key presses instead of
2159 key releases, matching normal text input behavior. This change
2160 alleviates the need to take special action for control keys not
2161 handled by the input module itself.
2163 2007-06-17 Behdad Esfahbod <behdad@gnome.org>
2165 * gtk/gtkfontsel.c: List font sizes 6 and 7pt too. (#440450,
2166 Sebastien Bacher, Alex "weej" Jones)
2168 2007-06-16 Yevgen Muntyan <muntyan@tamu.edu>
2170 * gtk/gtktextdisplay.c (render_para): fixed couple of drawing
2171 problems with block cursor (#448321).
2173 2007-06-16 Richard Hult <richard@imendio.com>
2175 * gdk/quartz/gdkevents-quartz.c: (gdk_event_translate): Ignore
2176 events and break any grabs while the window is being dragged.
2178 2007-06-16 Richard Hult <richard@imendio.com>
2180 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_transient_for):
2181 Defer setting the parent until the window is shown, otherwise it
2182 gets unconditionally shown here.
2184 2007-06-16 Johan Dahlin <jdahlin@async.com.br>
2186 * gtk/gtkbuilderparser.c (text): Swap argument order to dgettext
2187 (#448299, Jan Arne Petersen)
2189 2007-06-16 Richard Hult <richard@imendio.com>
2191 * gdk/quartz/gdkevents-quartz.c (find_mouse_window_for_ns_event):
2192 Move the checks for no window or a non-GDK window from here...
2193 (gdk_event_translate): ...to here. Reorder the code so that we
2194 detect the cases where we need to break grabs before bailing
2197 2007-06-16 Richard Hult <richard@imendio.com>
2199 * gdk/quartz/gdkevents-quartz.c (gdk_event_translate)
2200 (break_all_grabs): Break out into a separate function.
2202 2007-06-16 Richard Hult <richard@imendio.com>
2204 * gdk/quartz/GdkQuartzWindow.c: (isInMove): Implement, to be used
2205 to detect if the window is currently being moved with the mouse.
2207 2007-06-16 Richard Hult <richard@imendio.com>
2209 * gdk/quartz/gdkwindow-quartz.c (gdk_window_set_transient_for):
2210 Don't set parent/child relationship for tooltip windows since that
2211 moves the parent window to the front, due to the tooltip having a
2214 2007-06-16 Christian Persch <chpe@gnome.org>
2216 * gtk/gtkbuilder.c: (gtk_builder_real_get_type_from_name),
2217 (gtk_builder_get_type_from_name):
2218 * gtk/gtkbuilder.h: Don't use "typename" C++ keyword as parameter
2221 2007-06-15 Matthias Clasen <mclasen@redhat.com>
2223 * configure.in: Bump version
2225 * === Released 2.11.3 ===
2227 2007-06-15 Johan Dahlin <jdahlin@async.com.br>
2229 * gtk/gtkuimanager.c: Base class should be GObject, not GtkObject.
2231 2007-06-15 Matthias Clasen <mclasen@redhat.com>
2233 * gtk/gtkbuildable.c:
2234 * gtk/gtkbuilder.c: Documentation fixes
2236 * gtk/gtktreeview.c: Fix up cross-references in docs.
2238 * gtk/Makefile.am: Don't install gtkbuilderprivate.h
2240 * gtk/gtk.h: Include gtkbuilder.h
2244 2007-06-15 Johan Dahlin <jdahlin@async.com.br>
2246 * gtk/gtkbuilder.c (gtk_builder_add_from_file):
2247 (gtk_builder_value_from_string_type):
2248 Use gsize instead of unsigned and gulong instead of long,
2249 fixes complation on OSX, fixes #447987
2251 2007-06-15 Matthias Clasen <mclasen@redhat.com>
2253 * gtk/gtkmenushell.[ch]: add move_selected signal to allow
2254 overriding the default internal behaviour. (#446833, Ryan Lortie)
2256 2007-06-15 Mathias Hasselmann <mathias.hasselmann@gmx.de>
2258 * gtk/gtkwidget.c: Forgot to free the unescaped tooltip text.
2260 2007-06-15 Mathias Hasselmann <mathias.hasselmann@gmx.de>
2262 * gtk/gtkwidget.c: Improving handling of tooltip-text property.
2263 * tests/testtooltips.c: Also check result of tooltip getters.
2265 2007-06-15 Mathias Hasselmann <mathias.hasselmann@gmx.de>
2267 * docs/reference/gtk/gtk-sections.txt, gtk/gtk.symbols,
2268 gtk/gtkwidget.c, gtk/gtkwidget.h, tests/testtooltips.c: Introduce
2269 convenience property "GtkWidget:tooltip-text" taking care of escaping
2270 it for unwanted markup entities. Add functions to set tooltip text:
2271 gtk_widget_set_tooltip_text(), gtk_widget_set_tooltip_markup(),
2272 gtk_widget_get_tooltip_text(), gtk_widget_get_tooltip_markup().
2274 * gtk/gtktooltip.c, gtk/gtktooltip.h: Add gtk_tooltip_set_text()
2275 to set the tooltip text without using markup.
2277 Patches from Emmanuele Bassi (#447643).
2279 2007-06-15 Johan Dahlin <jdahlin@async.com.br>
2281 reviewed by: Matthias Clasen
2283 * demos/gtk-demo/Makefile.am:
2284 * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
2286 * demos/gtk-demo/demo.ui:
2287 * docs/reference/gtk/gtk-docs.sgml:
2288 * docs/reference/gtk/gtk-sections.txt:
2289 * docs/reference/gtk/gtk.types:
2290 * docs/reference/gtk/tmpl/gtkbuildable.sgml:
2291 * docs/reference/gtk/tmpl/gtkbuilder.sgml:
2295 * gtk/gtkaction.c: (gtk_action_buildable_init),
2296 (gtk_action_buildable_set_name), (gtk_action_buildable_get_name):
2297 * gtk/gtkactiongroup.c: (gtk_action_group_get_type),
2298 (gtk_action_group_buildable_init),
2299 (gtk_action_group_buildable_add),
2300 (gtk_action_group_buildable_set_name),
2301 (gtk_action_group_buildable_get_name):
2302 * gtk/gtkbuildable.c: (gtk_buildable_get_type),
2303 (gtk_buildable_set_name), (gtk_buildable_get_name),
2304 (gtk_buildable_add), (gtk_buildable_set_property),
2305 (gtk_buildable_parser_finished), (gtk_buildable_construct_child),
2306 (gtk_buildable_custom_tag_start), (gtk_buildable_custom_tag_end),
2307 (gtk_buildable_custom_finished),
2308 (gtk_buildable_get_internal_child):
2309 * gtk/gtkbuildable.h:
2310 * gtk/gtkbuilder.c: (gtk_builder_class_init), (gtk_builder_init),
2311 (gtk_builder_finalize), (gtk_builder_set_property),
2312 (gtk_builder_get_property), (_gtk_builder_resolve_type_lazily),
2313 (gtk_builder_real_get_type_from_name),
2314 (gtk_builder_get_parameters), (gtk_builder_get_internal_child),
2315 (_gtk_builder_construct), (_gtk_builder_add),
2316 (apply_delayed_properties), (_gtk_builder_finish),
2317 (gtk_builder_new), (gtk_builder_add_from_file),
2318 (gtk_builder_add_from_string), (gtk_builder_get_object),
2319 (object_add_to_list), (gtk_builder_get_objects),
2320 (gtk_builder_set_translation_domain),
2321 (gtk_builder_get_translation_domain),
2322 (gtk_builder_connect_signals_default),
2323 (gtk_builder_connect_signals), (gtk_builder_connect_signals_full),
2324 (gtk_builder_value_from_string),
2325 (gtk_builder_value_from_string_type),
2326 (_gtk_builder_enum_from_string), (_gtk_builder_flags_from_string),
2327 (gtk_builder_get_type_from_name), (gtk_builder_error_quark):
2329 * gtk/gtkbuilderparser.c: (state_push), (state_peek), (state_pop),
2330 (error_missing_attribute), (error_invalid_attribute),
2331 (error_invalid_tag), (builder_construct), (parse_object),
2332 (free_object_info), (_get_type_by_symbol), (parse_child),
2333 (free_child_info), (parse_property), (free_property_info),
2334 (parse_signal), (_free_signal_info), (parse_interface),
2335 (create_subparser), (free_subparser), (subparser_start),
2336 (subparser_end), (parse_custom), (start_element), (end_element),
2337 (text), (_gtk_builder_parser_parse_buffer):
2338 * gtk/gtkbuilderprivate.h:
2339 * gtk/gtkcelllayout.c: (attributes_start_element),
2340 (attributes_text_element),
2341 (_gtk_cell_layout_buildable_custom_tag_start),
2342 (_gtk_cell_layout_buildable_custom_tag_end),
2343 (_gtk_cell_layout_buildable_add):
2344 * gtk/gtkcelllayout.h:
2345 * gtk/gtkcellview.c: (gtk_cell_view_buildable_init),
2346 (gtk_cell_view_buildable_custom_tag_start),
2347 (gtk_cell_view_buildable_custom_tag_end):
2348 * gtk/gtkcolorseldialog.c:
2349 (gtk_color_selection_dialog_buildable_interface_init),
2350 (gtk_color_selection_dialog_buildable_get_internal_child):
2351 * gtk/gtkcombobox.c: (gtk_combo_box_buildable_init),
2352 (gtk_combo_box_buildable_custom_tag_start),
2353 (gtk_combo_box_buildable_custom_tag_end):
2354 * gtk/gtkcomboboxentry.c:
2355 (gtk_combo_box_entry_buildable_interface_init),
2356 (gtk_combo_box_entry_buildable_get_internal_child):
2357 * gtk/gtkcontainer.c: (gtk_container_get_type),
2358 (gtk_container_buildable_init), (gtk_container_buildable_add),
2359 (gtk_container_buildable_set_child_property),
2360 (attributes_start_element), (attributes_text_element),
2361 (gtk_container_buildable_custom_tag_start),
2362 (gtk_container_buildable_custom_tag_end):
2364 * gtk/gtkdialog.c: (gtk_dialog_buildable_interface_init),
2365 (gtk_dialog_buildable_get_internal_child),
2366 (attributes_start_element), (attributes_text_element),
2367 (gtk_dialog_buildable_custom_tag_start),
2368 (gtk_dialog_buildable_custom_finished):
2369 * gtk/gtkentrycompletion.c: (gtk_entry_completion_buildable_init):
2370 * gtk/gtkexpander.c: (gtk_expander_buildable_add),
2371 (gtk_expander_buildable_init):
2373 (gtk_font_selection_dialog_buildable_interface_init),
2374 (gtk_font_selection_dialog_buildable_get_internal_child):
2375 * gtk/gtkframe.c: (gtk_frame_buildable_init),
2376 (gtk_frame_buildable_add):
2377 * gtk/gtkiconview.c: (gtk_icon_view_buildable_init),
2378 (gtk_icon_view_buildable_custom_tag_start),
2379 (gtk_icon_view_buildable_custom_tag_end):
2380 * gtk/gtkliststore.c: (gtk_list_store_buildable_init),
2381 (list_store_start_element), (list_store_end_element),
2382 (list_store_text), (gtk_list_store_buildable_custom_tag_start),
2383 (gtk_list_store_buildable_custom_tag_end):
2385 * gtk/gtknotebook.c: (gtk_notebook_buildable_init),
2386 (gtk_notebook_buildable_add):
2387 * gtk/gtksizegroup.c: (gtk_size_group_buildable_init),
2388 (size_group_start_element),
2389 (gtk_size_group_buildable_custom_tag_start),
2390 (gtk_size_group_buildable_custom_finished):
2391 * gtk/gtktreestore.c: (gtk_tree_store_buildable_init),
2392 (tree_model_start_element),
2393 (gtk_tree_store_buildable_custom_tag_start),
2394 (gtk_tree_store_buildable_custom_finished):
2395 * gtk/gtktreeview.c: (gtk_tree_view_buildable_init),
2396 (gtk_tree_view_buildable_add):
2397 * gtk/gtktreeviewcolumn.c: (gtk_tree_view_column_buildable_init):
2398 * gtk/gtkuimanager.c: (gtk_ui_manager_buildable_init),
2399 (gtk_ui_manager_buildable_add),
2400 (gtk_ui_manager_buildable_construct_child),
2401 (gtk_ui_manager_buildable_custom_tag_start),
2402 (gtk_ui_manager_buildable_custom_tag_end):
2403 * gtk/gtkwidget.c: (gtk_widget_get_type),
2404 (gtk_widget_buildable_interface_init),
2405 (gtk_widget_buildable_set_name), (gtk_widget_buildable_get_name),
2406 (gtk_widget_buildable_set_property),
2407 (gtk_widget_buildable_parser_finshed), (accel_group_start_element),
2408 (gtk_widget_buildable_custom_tag_start),
2409 (gtk_widget_buildable_custom_finshed):
2410 * gtk/gtkwindow.c: (gtk_window_buildable_interface_init),
2411 (gtk_window_buildable_set_property),
2412 (gtk_window_buildable_parser_finished):
2413 * tests/Makefile.am:
2414 * tests/buildertest.c: (builder_new_from_string), (test_parser),
2415 (signal_normal), (signal_after), (signal_object),
2416 (signal_object_after), (signal_first), (signal_second),
2417 (signal_extra), (signal_extra2), (test_connect_signals),
2418 (test_uimanager_simple), (test_domain), (test_translation),
2419 (test_sizegroup), (test_list_store), (test_tree_store),
2420 (test_types), (test_spin_button), (test_notebook),
2421 (test_construct_only_property), (test_children),
2422 (test_child_properties), (test_treeview_column), (test_icon_view),
2423 (test_combo_box), (test_combo_box_entry), (test_cell_view),
2424 (test_dialog), (test_accelerators), (test_widget), (main):
2426 Add GtkBuilder, fixes #172535
2428 2007-06-15 Hans Breuer <hans@breuer.org>
2430 * gtk/makefile.msc.in tests/makefile.msc : updated
2431 * gdk/win32/gdkwindow-win32.c : explicit usage of RegisterClassExW
2432 to match the WNDCLASSEXW.
2433 True dynamic linking of SetLayeredWindowAttributes
2434 * tests/testprint.c tests/testnouiprint.c : use G_PI
2436 2007-06-14 Johan Dahlin <jdahlin@async.com.br>
2438 * gtk/gtk.symbols: Add missing symbol
2439 gtk_text_layout_set_overwrite_mode
2441 2007-06-14 Behdad Esfahbod <behdad@gnome.org>
2443 * gtk/gtknotebook.c (gtk_notebook_get_group_id): Fix compiler
2444 warning. (#447586, Kazuki IWAMOTO)
2446 2007-06-14 Tor Lillqvist <tml@novell.com>
2448 * gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Use
2449 g_win32_get_windows_version() instead of _winver so that this
2450 compiles on Cygwin, too. Not that I know if it makes sense to
2451 build GTK+ with the Win32 backend for Cygwin, but some people want
2454 2007-06-13 Matthias Clasen <mclasen@redhat.com>
2458 * NEWS, README.in: Move the combobox note to the README,
2459 where it seems more appropriate.
2461 2007-06-13 Matthias Clasen <mclasen@redhat.com>
2463 * gtk/gtkwidget.c (gtk_widget_modify_cursor): Improve docs.
2464 (#447396, Masatake YAMATO)
2466 2007-06-14 Carlos Garnacho <carlos@imendio.com>
2468 * gtk/gtkcombobox.c: removed unused and hardly visible GtkFrame from
2469 the menu widget hierarchy when ::appears-as-list is TRUE. (#435471)
2470 * NEWS: add a note about repercussions of this change to RC files.
2472 2007-06-13 Behdad Esfahbod <behdad@gnome.org>
2474 * gdk/directfb/gdkgc-directfb.c: #undef GDK_DISABLE_DEPRECATED to
2475 get prototype for gdk_font_ref(). (#447163, Dann Frazier, Loïc Minier)
2477 2007-06-13 Michael Natterer <mitch@imendio.com>
2479 * gtk/gtkmenuitem.[ch]: add "submenu" property. Fix
2480 gtk_menu_item_set_submenu() to accept NULL submenus and deprecate
2481 gtk_menu_item_remove_submenu() because we have a properly working
2482 setter now (bug #447065).
2484 * gtk/gtk.symbols: deprecate gtk_menu_item_remove_submenu().
2486 * gtk/gtkcombobox.c: use gtk_menu_item_set_submenu() instead of
2487 gtk_menu_item_remove_submenu().
2489 2007-06-13 Cody Russell <bratsche@gnome.org>
2491 * gtk/gtkwidget.c: Fix inconsistency in GTK_WIDGET_SAVED_STATE
2492 (#435840, Xan Lopez)
2494 2007-06-13 Kristian Rietveld <kris@imendio.com>
2497 * gtk/gtkfilesystem.[ch]: rename _gtk_file_system_create to
2498 gtk_file_system_create to make it public and bring trunk back
2499 in sync with gtk-2-10.
2501 * gtk/gtkfilechooserdefault.c (set_file_system_backend): updated.
2503 2007-06-13 Michael Natterer <mitch@imendio.com>
2505 * gtk/gtklabel.c (gtk_label_set_label): added calls to
2506 g_object_freeze/thaw_notify() so gtk_label_get_text() doesn't
2507 return the old text when called from a "notify::label" callback.
2509 2007-06-13 Kristian Rietveld <kris@imendio.com>
2511 Audit of GtkTreeView coordinate system usage. (#142494).
2513 * gtk/gtktreeview.[ch]: general documentation updates,
2514 (gtk_tree_view_scroll_to_cell), (gtk_tree_view_get_dest_row_at_pos):
2515 update coordinate translations,
2516 (gtk_tree_view_tree_to_widget_coords),
2517 (gtk_tree_view_widget_to_tree_coords): Deprecated,
2518 (gtk_tree_view_convert_.*_coords): 6 new functions for doing
2519 transformations between coordinate systems.
2521 * gtk/gtk.symbols: updated.
2523 * tests/testtooltips.c (query_tooltip_tree_view_cb): fix testcase
2524 with new gtk_tree_view_convert_widget_to_bin_window_coords().
2526 * docs/reference/gtk/Makefile.am
2527 * docs/reference/gtk/images/tree-view-coordinates.png: add new image.
2529 * docs/reference/gtk/tmpl/gtktreeview.sgml: eloborate on the
2530 different coordinate systems.
2532 2007-06-13 Kristian Rietveld <kris@imendio.com>
2534 * gtk/gtkcellrendererprogress.c
2535 (gtk_cell_renderer_progress_class_init),
2536 (gtk_cell_renderer_progress_init),
2537 (gtk_cell_renderer_progress_[gs]et_property),
2538 (gtk_cell_renderer_progress_render): Add orientation property and some
2539 slight refactoring here and there. (Fixes #344836, reported by
2540 Benjamin Montgomery).
2542 2007-06-12 Matthias Clasen <mclasen@redhat.com>
2544 * gdk/Makefile.am: Remove linux-fb from DIST_SUBDIRS
2546 * configure.in: Remove linux-fb parts.
2548 2007-06-12 Michael Natterer <mitch@imendio.com>
2550 * gtk/gtkiconview.c (update_text_cell): use PANGO_BREAK_WORD_CHAR
2551 instead of PANGO_BREAK_WORD so the text cell doesn't overflow the
2552 wrap-width if there is no whitespace found to break at.
2555 2007-06-12 Kristian Rietveld <kris@imendio.com>
2557 Fix #410815, reported by Lucas Rocha.
2559 * gtk/gtkiconview.c (gtk_icon_view_layout): determine a suitable
2560 wrap-width with the first icon, if it exists,
2561 (adjust_wrap_width): try to use icon_view->priv->item_width
2563 (gtk_icon_view_set_cell_data): don't call adjust_wrap_width here,
2564 which caused changes in wrap-width during the layouting process and
2565 resulted in layouting artefacts,
2566 (update_text_cell): don't set the wrap-width property, this should
2567 be handled by adjust_wrap_width.
2569 2007-06-12 Behdad Esfahbod <behdad@gnome.org>
2571 * gdk/gdkwindow.c (gdk_window_get_pointer): Improve docs.
2572 (#446138, Björn Lindqvist)
2574 2007-06-12 Yevgen Muntyan <muntyan@tamu.edu>
2576 * gtk/gtkentry.c (gtk_entry_expose), (gtk_entry_toggle_overwrite),
2577 (gtk_entry_draw_cursor):
2578 * gtk/gtkstyle.c (_gtk_widget_get_cursor_gc),
2579 (_gtk_widget_get_cursor_color):
2581 * gtk/gtktextdisplay.c (gtk_text_renderer_prepare_run),
2582 (gtk_text_renderer_draw_shape), (text_renderer_set_state),
2584 * gtk/gtktextlayout.c (gtk_text_layout_set_overwrite_mode),
2585 (gtk_text_layout_invalidate_cache), (get_block_cursor),
2586 (add_cursor), (gtk_text_layout_get_line_display),
2587 (_gtk_text_layout_get_block_cursor):
2588 * gtk/gtktextlayout.h:
2589 * gtk/gtktextutil.c (layout_get_char_width),
2590 (_gtk_text_util_get_block_cursor_location):
2591 * gtk/gtktextutil.h:
2592 * gtk/gtktextview.c (gtk_text_view_set_editable),
2593 (gtk_text_view_toggle_overwrite), (gtk_text_view_set_overwrite),
2594 (gtk_text_view_ensure_layout), (text_window_invalidate_cursors):
2595 Implement block-cursor for overwrite mode. (#80378)
2597 2007-06-11 Matthias Clasen <mclasen@redhat.com>
2599 * configure.in: Bump GLib requirement to 2.13.3 (#446616, Behdad
2602 2007-06-11 Matthias Clasen <mclasen@redhat.com>
2604 * modules/printbackends/cups/gtkprintbackendfile.c:
2605 * modules/printbackends/cups/gtkprintbackendcups.c: Fix some
2606 locking issues. (#420249, Christian Persch)
2608 2007-06-11 Matthias Clasen <mclasen@redhat.com>
2610 * configure.in: When debugging is turned on, use error-checking
2613 2007-06-11 Emmanuele Bassi <ebassi@gnome.org>
2615 * gtk/gtknotebook.h: Fix declaration of the create_window()
2616 vfunc inside GtkNotebookClass. (#446513, Kazuki Iwamoto)
2618 2007-06-11 Matthias Clasen <mclasen@redhat.com>
2620 * tests/testiconview.c: Use icons of varying size.
2622 2007-06-10 Matthias Clasen <mclasen@redhat.com>
2624 * gtk/gtkrc.c (gtk_rc_parse_style): Accept class names starting
2625 with lowercase letters for style property assignments, since
2626 GType accepts these too, and gtkmm uses such class names. (#343012,
2627 Murray Cumming, Johannes Schmid)
2629 2007-06-10 Matthias Clasen <mclasen@redhat.com>
2631 * gtk/gtkentry.c (gtk_entry_finalize): Don't leak cursor_hadjustment.
2632 Store cursor_hadjustment as object data rather than in the private
2635 2007-06-10 Matthias Clasen <mclasen@redhat.com>
2637 * gdk/x11/gdkspawn-x11.c (set_environment): Handle child_setup
2638 being NULL. (#445691, Christopher Taylor)
2640 2007-06-10 Emmanuele Bassi <ebassi@gnome.org>
2642 * gtk/gtksearchenginesimple.c: Unconditionally define _GNU_SOURCE
2643 and XOPEN_SOURCE, in order to make the simple search engine backend
2644 build on really ancient GNU libc. (#444097)
2646 2007-06-10 Michael Natterer <mitch@imendio.com>
2648 * gdk/quartz/gdkdrawable-quartz.c (gdk_quartz_draw_arc): fix
2649 angles by flipping the coordinate system back to its original y
2650 direction. The implementation is still broken for ellipses, will
2651 have to simulate them using bezier curves.
2653 2007-06-10 Cody Russell <bratsche@gnome.org>
2655 * gdk/win32/gdkevents-win32.c (gdk_pointer_grab):
2656 Don't revert the mouse cursor to the built-in one when
2657 the user holds the mouse button down. (#445284, Tor Lillqvist)
2659 2007-06-10 Emmanuele Bassi <ebassi@gnome.org>
2661 * gtk/gtkscalebutton.[ch]: Fix some coding style bits.
2663 (gtk_scale_button_dispose), (gtk_scale_button_class_init),
2664 (gtk_scale_button_init): Use the GObject private data API instead
2665 of allocating the private structure ourselves.
2667 (gtk_scale_button_dispose), (gtk_scale_button_finalize): Free
2668 the icons string vector inside ::finalize and not in ::dispose.
2670 (gtk_scale_button_update_icon): Use g_strv_length() instead
2671 of an empty for loop.
2673 2007-06-09 Matthias Clasen <mclasen@redhat.com>
2676 * gtk/gtkscrolledwindow.c: Update docs
2677 * gtk/gtkwidget.h: Deprecate gtk_widget_{ref,unref}
2679 * gtk/gtkbox.c: Move docs inline.
2682 * gtk/gtkscale.c: Doc formatting improvements.
2684 2007-06-09 Matthias Clasen <mclasen@redhat.com>
2686 * gtk/gtkscalebutton.c: Add an icons property, make
2687 gtk_scale_button_new() a convenience function. (#445855,
2690 2007-06-09 Matthias Clasen <mclasen@redhat.com>
2692 * gtk/gtkhscale.c (gtk_hscale_new):
2693 * gtk/gtkvscale.c (gtk_vscale_new): Cosmetic change to make
2694 it more obvious that this is a convenience function.
2696 2007-06-09 Matthias Clasen <mclasen@redhat.com>
2698 * gtk/gtkcalendar.c (gtk_calendar_init): Handle return values
2699 from nl_langinfo() more correctly.
2701 2007-06-09 Carlos Garnacho <carlos@imendio.com>
2703 * gtk/gtkrc.c (gtk_rc_parse_engine): initialize rc_priv in the else
2704 branch too. (#445539)
2706 2007-06-08 Benjamin Berg <benjamin@sipsolutions.net>
2708 * gtk/gtkscrolledwindow.c: (gtk_scrolled_window_paint):
2709 Fix shadow painting if the scrollbars-within-bevel style property is
2710 set and border_width is nozero. (#445054)
2712 2007-06-08 Matthias Clasen <mclasen@redhat.com>
2714 Make it possible for theme engines to support symbolic
2715 colors. (#426192, Andrea Cimitan, patch by Olivier Samyn)
2719 * gtk/gtkrc.c (gtk_rc_parse_color_full): Export this function
2721 * gtk/gtkrc.c (gtk_rc_parse_engine): Copy color hashes
2722 to new style before parsing engine section.
2724 2007-06-08 Michael Natterer <mitch@imendio.com>
2726 * gdk/quartz/gdkdrawable-quartz.c: add utility function
2727 gdk_quartz_fix_cap_not_last_line() which fixes the coordinates for
2728 GDK_CAP_NOT_LAST lines at least for horizontal and vertical lines.
2730 (gdk_quartz_draw_segments)
2731 (gdk_quartz_draw_lines): use it here.
2733 2007-06-07 Michael Natterer <mitch@imendio.com>
2735 * gdk/quartz/gdkgc-quartz.c: add gdk_gc_quartz_init() and set
2736 some values to the defaults used by X11.
2738 (gdk_quartz_gc_set_values): really set cap_style when
2739 GDK_GC_CAP_STYLE is in the mask, not line_style.
2741 2007-06-07 Michael Natterer <mitch@imendio.com>
2743 * gdk/quartz/gdkgc-quartz.c (_gdk_quartz_gc_update_cg_context):
2744 use the same code for GDK_XOR as for GDK_INVERT. Xor with an
2745 arbitrary color is impossible to implement with quartz.
2747 2007-06-07 Matthias Clasen <mclasen@redhat.com>
2749 * gtk/gtksettings.c: Fix a typo in the docs.
2751 2007-06-07 Christian Neumair <cneumair@gnome.org>
2753 * gtk/gtkstock.[ch]: Add GTK_STOCK_DISCARD, #158008.
2755 2007-06-07 Matthias Clasen <mclasen@redhat.com>
2757 * gtk/gtktreeview.c: Documentation additions.
2759 * gtk/gtknotebook.c: Add a doc comment.
2761 2007-06-06 Matthias Clasen <mclasen@redhat.com>
2763 * gtk/gtkfilechooserbutton.c (model_add_special):
2764 * gtk/gtkfilechooserdefault.c (shortcuts_append_desktop):
2765 * gtk/gtkfilesystemunix.c (get_icon_name_for_directory):
2766 * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system):
2767 Use g_get_user_special_dir() to obtain the path for the
2770 2007-06-06 Matthias Clasen <mclasen@redhat.com>
2772 * gtk/Makefile.am: Add the 16x16 version of gtk-select-color.png
2773 to the list of stock icons. (#444786)
2775 2007-06-06 Kristian Rietveld <kris@imendio.com>
2777 * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_init),
2778 (gtk_cell_renderer_progress_class_init),
2779 (gtk_cell_renderer_progress_[gs]et_property),
2780 (gtk_cell_renderer_progress_render): add text-[xy]align properties
2781 for aligning the text label of the progress bar. (#334576,
2782 suggestion from Steven Sheehy).
2784 2007-06-06 Yevgen Muntyan <muntyan@tamu.edu>
2787 * gtk/gtkwidget.h: new method, gtk_widget_modify_cursor() (#79585).
2790 * gtkrc.h: new functions _gtk_rc_style_set_rc_property() and
2791 _gtk_rc_style_unset_rc_property().
2793 * gtk/gtk.symbols: added gtk_widget_modify_cursor.
2795 * tests/testtext.c (do_cursor_visible_changed):
2796 * tests/testgtk.c (create_styles): test it.
2798 2007-06-06 Richard Hult <richard@imendio.com>
2800 * gdk/quartz/gdkevents-quartz.c (find_mouse_window_for_ns_event)
2801 (find_window_for_ns_event): Rework how we get the event window:
2802 don't get the window from the NSEvent, always use the mouse window
2803 instead. Fix mouse window tracking by only using MouseExited for
2804 non-gdk windows, and to always use the NSEvent window to get the
2805 right gdk window in MouseEntered. Add comments to the code. Fixes bug
2808 2007-06-06 Richard Hult <richard@imendio.com>
2810 * gdk/quartz/gdkevents-quartz.c (get_converted_window_coordinates):
2811 Don't do anything if the two windows are the same.
2812 (find_window_for_ns_event): Translate coordinates to be relative
2813 the grab window when appropriate.
2815 2007-06-06 Emmanuele Bassi <ebassi@gnome.org>
2817 * gtk/gtkfilechooserdefault.c:
2818 (get_file_info_finished), (shortcuts_insert_path),
2819 (shortcuts_add_bookmarks), (shortcuts_add_current_folder): Factor
2820 out the search shortcut, the recently used shortcut and the separator
2821 from the shortcut selection combo. (#444734)
2823 (recent_idle_load): Remove the idle source that lazily loads the
2824 recently used files, if the GtkRecentManager returns an empty
2827 2007-06-06 Ross Burton <ross@openedhand.com>
2829 * gdk/x11/gdkspawn-x11.c:
2830 Set DISPLAY in the child process using g_setenv() instead of
2831 constructing a new envp, which lets callers use child setup
2832 functions which call putenv (#442617).
2834 2007-06-06 Johan Dahlin <jdahlin@async.com.br>
2836 reviewed by: Matthias Clasen <mclasen@redhat.com>
2838 * gtk/gtkassistant.c (gtk_assistant_update_buttons_state):
2839 Check if the wizard is empty before trying to access the first page.
2840 (#444310, Johan Dahlin)
2842 2007-06-06 Matthias Clasen <mclasen@redhat.com>
2844 * configure.in: Bump version
2846 * === Released 2.11.2 ===
2850 2007-06-06 Kristian Rietveld <kris@imendio.com>
2852 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_queue_resize): use
2853 GTK_IS_TREE_VIEW_COLUMN() in g_return_if_fail here.
2855 2007-06-06 Kristian Rietveld <kris@imendio.com>
2857 * gtk/gtktreeviewcolumn.[ch] (gtk_tree_view_column_get_tree_view): new
2858 function. (#342471, Lorenzo Gil Sanchez).
2860 * gtk/gtk.symbols: updated.
2862 2007-06-06 Kristian Rietveld <kris@imendio.com>
2864 * gtk/gtktooltip.c (gtk_tooltip_paint_window): remove unused
2865 call to gtk_widget_size_request(). (Reported by Carlos
2868 2007-06-06 Kristian Rietveld <kris@imendio.com>
2870 * gtk/gtktooltip.c (gtk_tooltip_show_tooltip): bail out if
2871 last_window is not a GdkWindow anymore. (Fixes #434021, several
2874 2007-06-06 Matthias Clasen <mclasen@redhat.com>
2876 * gdk/Makefile.am: Remove leftover reference to medialib_h_sources.
2878 2007-06-06 Brian Cameron <brian.cameron@sun.com>
2880 * gdk/Makefile.am: Add gdkmedialib.h to EXTRA_DIST so this header
2881 file gets included with the distribution, as needed. Fixes bug
2882 #442888. Reviewed by Matthias Clasen.
2884 2007-06-06 Richard Hult <richard@imendio.com>
2886 * gdk/quartz/gdkevents-quartz.c
2887 (_gdk_quartz_events_update_mouse_window): Ignore if the old and new
2888 windows are the same.
2890 2007-06-06 Kristian Rietveld <kris@imendio.com>
2892 * gtk/gtktreeview.c (gtk_tree_view_unrealize): also remove the
2893 auto expand timeout if it exists.
2895 2007-06-06 Richard Hult <richard@imendio.com>
2897 * gdk/quartz/gdkevents-quartz.c (synthesize_crossing_events):
2898 Update comment to be more clear and print a warning if we try to
2899 create a crossing event without knowing what the current mouse
2900 window is, to help track down focus bugs.
2902 * gdk/quartz/gdkevents-quartz.c
2903 (_gdk_quartz_events_update_focus_window): Fix indentation.
2905 2007-06-06 Richard Hult <richard@imendio.com>
2907 * gdk/quartz/GdkQuartzWindow.c: Don't let temp windows become key
2910 2007-06-06 Tor Lillqvist <tml@novell.com>
2912 * gdk/x11/gdkwindow-x11.c (gdk_window_set_opacity): Fix
2913 embarrassing crash. (#444457, Torsten Schoenfeld)
2915 2007-06-05 Yevgen Muntyan <muntyan@tamu.edu>
2917 * demos/gtk-demo/textview.c (insert_text): Drop the phrase
2918 saying invisible text doesn't work (#444236).
2920 2007-06-05 Matthias Clasen <mclasen@redhat.com>
2922 * gdk/x11/gdkevents-x11.c (gdk_event_translate): Check that
2923 window_private is not NULL before using it. (#444351, David Ronis)
2925 2007-06-05 Jakub Steiner <jimmac@ximian.com>
2927 * gtk/stock-icons/{16,24}/gtk-find*: drop the paper sheet.
2928 gtk-find is used for search, rather than find within a document
2931 2007-06-05 Kristian Rietveld <kris@gtk.org>
2933 Fix #399071, suggestion from Benoit Dejean.
2935 * gtk/gtkliststore.[ch] (gtk_list_store_set_vector_internal): new
2936 function, factored out code iterating (columns, values) vectors from
2937 gtk_list_store_new_with_valuesv to here,
2938 (gtk_list_store_set_valuesv): new public function to set list store
2939 values using (columns, values) vectors,
2940 (gtk_list_store_new_with_valuesv): call new _set_vector_internal
2943 * gtk/gtktreestore.[ch] (gtk_tree_store_set_vector_internal),
2944 (gtk_tree_store_set_valuesv), (gtk_tree_store_new_with_valuesv):
2947 * gtk/gtk.symbols: updated.
2949 2007-06-04 Richard Hult <richard@imendio.com>
2951 * gdk/quartz/gdkwindow-quartz.c:
2952 (show_window_internal): Don't try to make temp windows key
2953 windows, fixes problem introduced below.
2955 2007-06-04 Richard Hult <richard@imendio.com>
2957 * gdk/quartz/GdkQuartzWindow.c:
2958 * gdk/quartz/gdkwindow-quartz.c: Implement simple versions of
2959 gdk_window_set_accept_focus and gdk_window_set_focus_on_map.
2961 2007-06-04 Richard Hult <richard@imendio.com>
2963 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_raise),
2964 (gdk_window_lower): Implement.
2966 2007-06-04 Richard Hult <richard@imendio.com>
2968 * gdk/quartz/gdkwindow-quartz.c:
2969 * gdk/quartz/gdkwindow-quartz.h: Implement
2970 gdk_window_set_transient_for.
2972 2007-06-04 Cody Russell <bratsche@gnome.org>
2974 * gtk/gtklinkbutton.h
2975 * gtk/gtkaboutdialog.h: Change function argument "link"
2976 to "link_" to fix warnings for applications compiling
2977 with -Wshadow. (#379213)
2979 2007-06-04 Cody Russell <bratsche@gnome.org>
2981 * gtk/gtkpathbar.c (gtk_path_bar_scroll_down): Check
2982 if down_button is NULL. This happens when the pathbar button
2983 for the current directory is too large to fit in the
2984 space, e.g. on Windows for directories named something like
2985 "My Documents and Settings". (#389603)
2987 2007-06-04 Matthias Clasen <mclasen@redhat.com>
2989 * configure.in: Bump version
2991 * === Released 2.11.1 ===
2993 * gdk/gdkwindow.c (gdk_window_set_composited): Improve docs.
2996 * README.in: Updates
2998 2007-06-04 Michael Natterer <mitch@imendio.com>
3000 Move "move-focus" signals from several widgets to GtkWidget to
3001 enable more flexible costomization of keyboard navigation via
3002 bindings. Fixes bug #414947.
3004 * gtk/gtkwidget.c: add "move-focus" binding signal, default to
3005 calling the toplevel GtkWindow's "move-focus" vfunc.
3007 * gtk/gtktextview.[ch]
3008 * gtk/gtkwindow.[ch]: remove "move-focus" signals and add compat
3009 code that makes sure that both emitting the signal on the widget
3010 and overriding the virtual functions keeps working as before.
3012 * gtk/gtktoolbar.c: remove "move-focus" signal here too and use
3013 GtkWidget's signal. This change slightly changes keyboard
3014 navigation in toolbars. I'll fix the behavior if somebody can
3015 explain me if and how exactly the new behavior is broken.
3017 2007-06-04 Matthias Clasen <mclasen@redhat.com>
3019 * gtk/gtkmarshalers.list:
3020 * gtk/gtknotebook.[hc]: Add a create-window signal that allows
3021 to override the global create-window-hook on a per-notebook
3022 basis. The default handler falls back to the global hook.
3023 (#386935, Christian Hammond)
3025 2007-06-04 Emmanuele Bassi <ebassi@gnome.org>
3027 * gtk/gtkradiobutton.[ch]:
3029 * tests/testgtk.c: Revert previous commit; the API is not yet
3030 finalized - see bug #166995.
3032 2007-06-04 Emmanuele Bassi <ebassi@gnome.org>
3034 * gtk/gtkradiobutton.h:
3035 * gtk/gtkradiobutton.c:
3036 * gtk/gtk.symbols: Add gtk_radio_button_set_value(),
3037 gtk_radio_button_get_current_value() and gtk_radio_button_get_value().
3038 Use these functions to set and get an arbitrary integer associated to
3039 a GtkRadioButton in a group, like the value associated to a
3043 (create_radio_buttons), (radio_toggled_cb): Exercise the new API.
3045 2007-06-03 Torsten Schoenfeld <kaffeetisch@gmx.de>
3047 * gtk/gtkicontheme.c (choose_icon): Initialize unthemed_icon to NULL
3048 to avoid accessing uninitialized memory when
3049 gtk_icon_theme_choose_icon() is called with an empty names list.
3051 2007-06-03 Richard Hult <richard@imendio.com>
3053 * gdk/quartz/gdkevents-quartz.c: (create_crossing_event): Set the key
3056 2007-06-03 Richard Hult <richard@imendio.com>
3058 * gdk/quartz/gdkevents-quartz.c: Make pointer grab emulation work a bit
3060 (gdk_display_pointer_is_grabbed): Do what the docs say and don't
3061 consider implicit grabs here.
3062 (gdk_pointer_grab): Overriding a grab by the same app should always be
3064 (gdk_event_translate): Implicit grabs should not be owner events.
3066 2007-06-03 Matthias Clasen <mclasen@redhat.com>
3070 2007-06-03 Matthias Clasen <mclasen@redhat.com>
3072 * docs/tools/widgets.c: Add a volume button
3074 2007-06-03 Matthias Clasen <mclasen@redhat.com>
3076 * gtk/gtkradiobutton.c:
3077 * gtk/gtkradiomenuitem.c: Fix doc typos.
3079 2007-06-03 Matthias Clasen <mclasen@redhat.com>
3081 * configure.in: Allow to disable Xinerama. (#348065, Diego Pettenò)
3083 2007-06-03 Xan Lopez <xan@gnome.org>
3085 * gtk/gtknotebook.c: remove index parameter in gtk_notebook_switch_page
3086 and remove g_return_if checks in private functions. (#443247)
3088 2007-06-01 Richard Hult <richard@imendio.com>
3090 * gdk/quartz/gdkevents-quartz.c:
3091 (get_converted_window_coordinates), (create_crossing_event): Fix the
3092 coordinates in crossing events so they are relative to the right
3095 2007-06-01 Richard Hult <richard@imendio.com>
3097 * gdk/quartz/gdkevents-quartz.[ch]: Make function naming
3098 consistent for the various functions that retrieve data from an
3101 * gdk/quartz/gdkprivate-quartz.h:
3102 * gdk/quartz/gdkwindow-quartz.[ch]: Remove the now unused
3103 _gdk_quartz_window_find_child_by_point() function.
3105 2007-06-01 Matthias Clasen <mclasen@redhat.com>
3107 Add support for composited child windows. (#412882, Ryan Lortie)
3111 * gdk/gdkinternals.h:
3112 * gdk/gdkwindow.[hc]: Add gdk_display_supports_composite() and
3113 gdk_window_set_composited().
3115 * gdk/x11/gdkevents-x11.c:
3116 * gdk/x11/gdkdisplay-x11.[hc]:
3117 * gdk/x11/gdkwindow-x11.[hc]: X11 implementation.
3119 * gdk/win32/gdkdisplay-win32.c:
3120 * gdk/win32/gdkwindow-win32.c: Dummy win32 implementration.
3122 * gdk/quartz/gdkdisplay-quartz.c:
3123 * gdk/quartz/gdkwindow-quartz.c: Dummy Quartz implementation.
3125 * gdk/directfb/gdkdisplay-directfb.c:
3126 * gdk/directfb/gdkwindow-directfb.c: Dummy DirectFB implementation.
3128 * tests/testgtk.c: Add a "composited window" test.
3130 2007-06-01 Michael Natterer <mitch@imendio.com>
3132 * gtk/gtkmenuitem.c (gtk_menu_item_position_menu): don't switch
3133 submenu opening direction for overlapping reasons if there is even
3134 less space on the other side (bug #441863, Tommi Komulainen).
3136 2007-06-01 Michael Natterer <mitch@imendio.com>
3138 * gtk/gtkfilechooserdialog.c (response_cb): change fix for #347883
3139 to not obfuscate the code.
3141 2007-06-01 Yevgen Muntyan <muntyan@tamu.edu>
3143 Avoid recreating pangolayouts in GtkTextView on cursor movement
3144 (#435405, Behdad Esfahbod).
3146 * gtk/gtktextlayout.c:
3147 * gtk/gtktextlayout.h: new GtkTextLayout method invalidate_cursors(),
3148 and functions gtk_text_layout_invalidate_cursors() and
3149 gtk_text_layout_cursors_changed(), to use when invalidation is due
3150 to moved marks or changed selection.
3152 * gtk/gtktextbtree.c:
3153 * gtk/gtktextbtree.h: use what's appropriate when invalidating layout.
3155 * gtk/gtk.symbols: add new functions.
3157 * README.in: added a note about changed GtkTextLayout API.
3159 2007-06-01 Alp Toker <alp.toker@collabora.co.uk>
3161 * gdk/gdkcairo.c (gdk_cairo_set_source_pixmap): Fix doc typos.
3163 2007-05-31 Yevgen Muntyan <muntyan@tamu.edu>
3165 * gtk/gtkstyle.c (get_insertion_cursor_gc): use text colors from
3166 widget style to draw cursor instead of hardcoded black and grey
3167 (#79585, comment #30).
3169 2007-06-01 Kristian Rietveld <kris@gtk.org>
3171 * gtk/gtkcellrenderertext.c (get_size): transform the ink_rect using
3172 pango_extents_to_pixels to avoid rounding errors. (Fixes #430218,
3175 2007-05-31 Mathias Hasselmann <mathias.hasselmann@gmx.de>
3177 * tests/autotestfilechooser.c: Reactivate the other file-chooser
3178 tests. Forgot that before commiting revision 17994.
3180 2007-05-31 Mathias Hasselmann <mathias.hasselmann@gmx.de>
3182 * gtk/gtkfilechooserdialog.c, tests/autotestfilechooser.c: Reset
3183 the internal response_requested flag, once the response triggered by
3184 file_chooser_widget_response_requested has been processed (#347883).
3186 2007-05-30 Richard Hult <richard@imendio.com>
3188 * gdk/quartz/gdkselection-quartz.c (gdk_free_text_list): Add this
3189 function, bug #438440.
3191 2007-05-30 Tor Lillqvist <tml@novell.com>
3193 * gdk/win32/gdkevents-win32.c (gdk_pointer_grab): Subtract the
3194 multi-monitor offset from x and y before setting up the rectangle
3195 for ClipCursor(). Fixes #442326.
3197 2007-05-30 Matthias Clasen <mclasen@redhat.com>
3199 * gtk/gtkiconview.c (gtk_icon_view_layout): Queue a resize
3200 if the size changed. (#418047, Alex Graveley)
3202 2007-05-30 Simos Xenitellis <simos@gnome.org>
3204 * gdk/gdkkeysyms-update.pl: Updated script to new upstream
3205 location of keysymdef.h (#442183)
3207 2007-05-30 Emmanuele Bassi <ebassi@gnome.org>
3209 * gtk/gtkfilechooserdefault.c (update_chooser_entry): Return
3210 after setting the file chooser entry with the current selection.
3212 2007-05-30 Matthias Clasen <mclasen@redhat.com>
3214 * gtk/gtkiconcachevalidator.c: Correct the handling
3215 of display names. (#441767, Marcin Bachry)
3217 2007-05-30 Xan Lopez <xan@gnome.org>
3219 * gtk/gtknotebook.c (gtk_notebook_set_current_page): Small cleanup.
3222 2007-05-28 Cody Russell <bratsche@gnome.org>
3224 * gdk/win32/xcursors.h: Fix initialization of last item. (#440511)
3226 2007-05-28 Richard Hult <richard@imendio.com>
3228 * gdk/quartz/gdkevents-quartz.c (get_child_coordinates_from_ancestor)
3229 (get_ancestor_coordinates_from_child): Break out code that was
3230 repeated into separate functions and call them instead.
3231 (find_window_for_mouse_nsevent): Break out this from
3232 find_window_for_nsevent to make the code clearer.
3233 (find_window_for_nsevent): Use the above and fix the returned
3234 coordinates in the process so that they are always relative the
3235 found window, both for the normal case and during grabs. Still
3236 needs fixing for the case where we get nsevents for a window other
3237 than than grab window during grabs.
3239 2007-05-28 Richard Hult <richard@imendio.com>
3241 * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Fix typo,
3242 we need both press and release in the mask to trigger implicit
3245 2007-05-28 Richard Hult <richard@imendio.com>
3247 * gdk/quartz/gdkevents-quartz.c (pointer_ungrab_internal): Reset
3248 all the grab state, to help debugging.
3249 (gdk_event_translate): Use pointer_ungrab_internal instead of
3250 duplicating the code here.
3252 2007-05-28 Richard Hult <richard@imendio.com>
3254 * gdk/quartz/gdkprivate-quartz.h:
3255 * gdk/quartz/gdkwindow-quartz.c (find_child_window_helper)
3256 (_gdk_quartz_window_find_child): Refactored version of
3257 _gdk_quartz_window_find_child_by_point, that doesn't return any
3258 coordinates as the users of this function already have the
3259 coordinates and need to translate them differently.
3260 (_gdk_windowing_window_get_pointer): Fixup coordinate translation.
3261 (_gdk_windowing_window_at_pointer): Likewise.
3263 2007-05-28 Richard Hult <richard@imendio.com>
3265 * gdk/quartz/gdkevents-quartz.c
3266 (find_window_interested_in_event_mask): Don't traverse beyond the
3267 toplevel of the passed in window.
3269 2007-05-28 Richard Hult <richard@imendio.com>
3271 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init): Set
3272 a size for the root window.
3274 2007-05-28 Richard Hult <richard@imendio.com>
3276 * gdk/quartz/gdkwindow-quartz.c: Add comments about what various
3277 coordinates are relative to.
3279 2007-05-28 Carlos Garnacho <carlos@imendio.com>
3281 * gtk/gtkwidget.c (gtk_widget_propagate_hierarchy_changed_recurse):
3282 Add back variable declaration removed in r17958.
3284 2007-05-28 Carlos Garcia Campos <carlosgc@gnome.org>
3286 * gtk/gtkprinter.[ch]: Add new capability
3287 GTK_PRINT_CAPABILITY_NUMBER_UP.
3288 * docs/reference/gtk/tmpl/gtkprintunixdialog.sgml:
3289 * gtk/gtkprintunixdialog.c: (update_dialog_from_capabilities):
3290 * modules/printbackends/file/gtkprintbackendfile.c:
3291 (file_printer_get_options), (file_printer_get_settings_from_options):
3292 * modules/printbackends/cups/gtkprintbackendcups.c:
3293 (cups_printer_get_capabilities): Add a new print capability to specify
3294 whether print dialog will offer printing multiple pages per sheet. (#398414)
3296 2007-05-28 Matthias Clasen <mclasen@redhat.com>
3298 * gtk/gtktoolbar.h: Actually undeprecate
3299 gtk_toolbar_[un]set_icon_size. (#314172. Yevgen Muntyan)
3301 2007-05-28 Matthias Clasen <mclasen@redhat.com>
3303 * gtk/gtkwidget.c: Document some more signals
3305 * gtk/gtktextview.c: Improve docs
3307 2007-05-27 Tor Lillqvist <tml@novell.com>
3309 * configure.in (GDK_EXTRA_LISB): Drop bogus -user32 switch. Was
3310 supposed to be -luser32, but he "l" was missing. But nobody has
3311 noticed, so presumably unnecessary.
3313 2007-05-26 Matthias Clasen <mclasen@redhat.com>
3315 * gtk/gtkprintoperationpreview.c: Improve docs
3317 2007-05-26 Matthias Clasen <mclasen@redhat.com>
3319 * gtk/gtkentry.c: Move docs inline.
3321 2007-05-26 Matthias Clasen <mclasen@redhat.com>
3323 * gdk/directfb/gdkkeys-directfb.c: Remove duplicate doc comments
3324 that cause problems when building the docs.
3326 2007-05-26 Matthias Clasen <mclasen@redhat.com>
3328 * gdk/x11/gdkdisplay-x11.c: Update docs
3329 * gdk/gdk.c: Update docs
3330 * gdk/directfb/gdkwindow-directfb.c: Remove duplicate doc comments.
3331 * gdk/x11/gdkwindow-x11.c: Fix doc formatting
3333 2007-05-26 Matthias Clasen <mclasen@redhat.com>
3336 * gtk/gtkstatusicon.c:
3337 * gtk/gtkscalebutton.c:
3338 * gtk/gtkrecentaction.c:
3341 * gtk/gtkprintsettings.c:
3342 * gtk/gtkpapersize.c:
3343 * gtk/gtkpagesetup.c:
3344 * gtk/gtknotebook.c:
3345 * gtk/gtkentrycompletion.c: Document new api
3347 2007-05-26 Richard Hult <richard@imendio.com>
3349 * gtk/gtkprinter.c: (gtk_printer_set_location): Fix typo to get the
3352 2007-05-26 Matthias Clasen <mclasen@redhat.com>
3354 * configure.in: Require gtk-doc 1.6, for signal and property links.
3357 * gtk/gtkcontainer.c:
3363 * gtk/gtksettings.c:
3364 * gtk/gtkwidget.c: Documentation improvements, link signals
3365 and properties where it makes sense.
3367 2007-05-25 Matthias Clasen <mclasen@redhat.com>
3369 * gtk/gtktextmark.c:
3370 * gtk/gtktextbuffer.c: Formatting fixes.
3372 2007-05-25 Matthias Clasen <mclasen@redhat.com>
3374 Allow to separate GtkTextMark creation from buffer insertion.
3375 (#132818, Gustavo Giráldez, patch by Yevgen Muntyan)
3377 * gtk/gtktextmarkprivate.h:
3378 * gtk/gtktextmark.[hc] (gtk_text_mark_new): New function to
3379 create a GtkTextMark.
3381 * gtk/gtktextbuffer.[hc] (gtk_text_buffer_add_mark): New
3382 function to add an existing mark to a buffer.
3384 * gtk/gtktextbtree.c: Allow adding existing marks.
3386 * gtk/gtk.symbols: Add new functions.
3388 * tests/testtextbuffer.c: Add some tests for new mark
3391 2007-05-25 Xan Lopez <xan@gnome.org>
3393 * gtk/gtkaction.c: (gtk_action_set_short_label):
3394 Use private->data->short_label to update the proxies. (#440780)
3396 2007-05-25 Richard Hult <richard@imendio.com>
3398 * gdk/quartz/gdkimage-quartz.c: (_gdk_quartz_image_copy_to_image):
3399 Implement copying from a window, part of bug #348493.
3401 2007-05-25 Matthias Clasen <mclasen@redhat.com>
3403 * gtk/gtkprintoperation-unix.c (unix_end_run): Hold a
3404 refence on the print operation until gtk_print_job_send()
3405 is done. (#440040, Chris Vine)
3407 2007-05-25 Matthias Clasen <mclasen@redhat.com>
3409 * gtk/gtkiconview.c (gtk_icon_view_accessible_ref_child):
3410 Don't crash and don't leak. (#439565, Pedro Villavicencio)
3412 2007-05-25 Matthias Clasen <mclasen@redhat.com>
3414 * gtk/gtkiconfactory.c: Improve a warning
3415 * gtk/gtkicontheme.c (gtk_icon_info_load_icon): Always
3416 set the error when returning NULL. (#440982, Carlos Garcia
3419 2007-05-25 Michael Natterer <mitch@imendio.com>
3421 Merge fix from maemo-gtk:
3423 * gtk/gtkmenushell.c (gtk_menu_shell_enter_notify): open submenus
3424 also if the menu item we're entering is already selected. Also, it
3425 makes no sense to forward the event to the parent menu shell if we
3426 are entering a menu item of *this* menu shell.
3428 2007-05-24 Matthias Clasen <mclasen@redhat.com>
3430 * gtk/stock-icons/*: Make sure all svg icons are added
3433 2007-05-24 Matthias Clasen <mclasen@redhat.com>
3435 * modules/input/Makefile.am: Fix broken DESTDIR support
3437 2007-05-24 Michael Natterer <mitch@imendio.com>
3439 * gtk/gtktooltip.c (find_widget_under_pointer): apply patch from
3440 Bogdan Nicula which fixes a crash on GdkWindows which have no
3441 GtkWidget as user_data (bug #440890).
3443 2007-05-24 Matthias Clasen <mclasen@redhat.com>
3445 * configure.in: Bump version
3447 * === Released 2.11.0 ===
3451 2007-05-23 Matthias Clasen <mclasen@redhat.com>
3454 * gdk/x11/xsettings-common.h:
3455 * gdk/gdk.symbols: Add some missing symbols.
3457 * gtk/paper_names_offsets.c:
3458 * gtk/gen-paper-names.c: Make variables static.
3460 * gtk/gtktooltip.[hc]:
3461 * gtk/gtkvolumebutton.c:
3462 * gtk/gtkscalebutton.c: Fix up symbol aliasing.
3464 2007-05-23 Yevgen Muntyan <muntyan@tamu.edu>
3466 * gtk/gtkprintunixdialog.c: missing #include <ctype.h>.
3468 * gtk/gtkhandlebox.c (gtk_handle_box_paint):
3469 * gtk/gtkpagesetupunixdialog.c (_gtk_load_custom_papers):
3470 * gtk/gtkstatusbar.c (gtk_statusbar_get_context_id):
3471 * gtk/gtkiconcache.c (_gtk_icon_cache_new_for_path):
3472 * gtk/gtktrayicon-x11.c (gtk_tray_icon_send_dock_request):
3473 * gtk/gtkpreview.c (gtk_preview_finalize):
3474 * gtk/gtknotebook.c (gtk_notebook_set_group_id):
3475 * tests/testnotebookdnd.c (window_creation_function):
3476 * tests/testiconview.c (do_popup_menu):
3477 Fixed some compiler warnings (#440689).
3479 2007-05-23 Kristian Rietveld <kris@imendio.com>
3481 * gtk/gtktooltip.c (find_widget_under_pointer): translate coordinates
3482 from the window they were received on to the event widget's window;
3483 correct for no-window widgets after that, bail out on failure. This
3484 makes the coordinates given by GtkWidget::query-tooltip truly relative
3485 to widget->window. (#435188).
3487 * gtk/gtkwidget.c (gtk_widget_class_init): update docs for
3488 GtkWidget::query-tooltip.
3490 2007-05-22 Behdad Esfahbod <behdad@gnome.org>
3492 * gtk/gtkprintcontext.c (gtk_print_context_finalize),
3493 (_gtk_print_context_new), (_gtk_print_context_get_fontmap),
3494 (gtk_print_context_set_cairo_context),
3495 (gtk_print_context_get_pango_fontmap),
3496 (gtk_print_context_create_pango_context):
3497 Don't create new pango fontmaps. Use the default pangocairo
3498 fontmap and set resolution on PangoContext instead. (#417707)
3500 2007-05-21 Richard Hult <richard@imendio.com>
3502 * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Set the
3505 * gdk/quartz/gdkscreen-quartz.c: Use the autorelease pool macros.
3507 2007-05-21 Michael Natterer <mitch@imendio.com>
3509 * gtk/gtkcombobox.c (gtk_combo_box_set_model): revert last change.
3511 Mon May 21 13:58:32 2007 Tim Janik <timj@imendio.com>
3513 * gtk/gtkcombobox.c (gtk_combo_box_set_model): removed redundant check.
3515 2007-05-21 Tor Lillqvist <tml@novell.com>
3517 * gtk/gtkscalebutton.c (gtk_scale_popup): Make it work better with
3520 2007-05-20 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
3522 * gdk/directfb/gdkwindow-directfb.c:
3523 * gdk/directfb/gdkdirectfb.h: Updated minimum DirectFB version
3524 required to enable gdk_directfb_create_child_window.
3527 2007-05-20 Bastien Nocera <hadess@hadess.net>
3532 * gtk/gtkvolumebutton.[ch]: Add the GtkVolumeButton widget,
3533 a button that pops up a scale when clicked (Closes: #415775)
3534 * tests/Makefile.am:
3535 * tests/testvolumebutton.c: Add a test program for the
3538 2007-05-19 Bastien Nocera <hadess@hadess.net>
3540 reviewed by: Matthias Clasen <mclasen@redhat.com>
3545 * gtk/gtkscalebutton.[ch]: Add the GtkScaleButton widget,
3546 a button that pops up a scale when pressed
3548 2007-05-19 Matthias Clasen <mclasen@redhat.com>
3551 * gtk/gtknotebook.[hc]: Deprecate gtk_notebook_[gs]et_group_id
3552 in favour of new functions gtk_notebook_[gs]et_group, which
3553 takes a pointer as group identifier and makes it easier to
3554 avoid group id collisions. (#386930, Christian Hammond)
3556 * tests/testnotebookdnd.c: Use new grouping api.
3558 2007-05-18 Matthias Clasen <mclasen@redhat.com>
3560 * gtk/gtkactiongroup.c: Warn and refuse to add actions with
3561 duplicate names. (#150877, Tommi Komulainen, patch by Kalle
3564 2007-05-18 Matthias Clasen <mclasen@redhat.com>
3567 * gtk/gtkentry.[hc]: Add gtk_entry_[gs]et_cursor_hadjustment()
3568 to allow automatic scrolling in response to cursor movements
3569 in the entry. (#438651, Nate Nielsen)
3571 2007-05-18 Matthias Clasen <mclasen@redhat.com>
3573 * gtk/gtktextview.c: Add a toggle-cursor-visibility keybinding
3574 signal, and bind F7 to it. (#380048, Tim Miao)
3576 2007-05-18 Matthias Clasen <mclasen@redhat.com>
3579 * gtk/gtkicontheme.h:
3580 * gtk/gtkicontheme.c: Add a function to look up an icon from
3581 a list of icon names. (#396901, Luca Ferretti)
3583 2007-05-18 Emmanuele Bassi <ebassi@gnome.org>
3585 * gtk/gtkrecentchooserdefault.c:
3586 (gtk_recent_chooser_default_dispose): Reset the state on dispose.
3588 (cleanup_after_load): load_id != 0 && load_state == LOAD_EMPTY
3589 is a valid state, if the main loop never had the chance to
3590 properly spin at least once. (#438671)
3592 2007-05-18 Emmanuele Bassi <ebassi@gnome.org>
3594 * gtk/gtkrecentchooserdefault.c (recent_meta_data_func): Mark
3595 string for translation. (#439437)
3597 2007-05-18 Matthias Clasen <mclasen@redhat.com>
3599 * gtk/gtkwindow.c (gtk_window_set_transient_for): Fix
3600 doc typo. (#438100, Vincent Untz)
3602 2007-05-18 Michael J. Chudobiak <mjc@cvs.gnome.org>
3606 * configure.in: Bump libtiff requirement to 3.6.0, by requiring
3607 presence of TIFFReadRGBAImageOriented.
3609 * gdk-pixbuf-scaled-anim.c: (get_scaled_pixbuf):
3610 Preserve pixbuf options when generating a new scaled pixbuf.
3612 * io-jpeg.c: (get_orientation), (gdk_pixbuf__jpeg_image_load),
3613 (gdk_pixbuf__jpeg_image_load_increment): Read the exif
3614 orientation tag and associate it with the "orientation" pixbuf
3615 option. Renders libexif unnecessary in some applications.
3617 * io-tiff.c: (tiff_image_parse): Read the tiff orientation tag,
3618 compensate for the partial rotations performed by libtiff,
3619 and generate an "orientation" option for the pixbuf.
3621 2007-05-18 Carlos Garnacho <carlos@imendio.com>
3623 * gtk/gtkexpander.c: remove c++ style comment.
3625 2007-05-18 Carlos Garnacho <carlos@imendio.com>
3627 Make combobox menu popdown keybindable (#433593)
3629 * gtk/gtkcombobox.c (gtk_combo_box_class_init): Add "popdown" binding
3630 signal and keybindings.
3631 (gtk_combo_box_real_popdown): Added, "popdown" keybinding signal
3633 (gtk_combo_box_menu_key_press):
3634 (gtk_combo_box_list_key_press): forward the event to the combobox if
3635 it wasn't handled by the menu.
3637 2007-05-18 Carlos Garnacho <carlos@imendio.com>
3639 * gtk/gtknotebook.c (gtk_notebook_init) (gtk_notebook_drag_motion)
3640 (gtk_notebook_drag_drop): Allow widgets up in the hierarchy to run
3641 their DnD handlers if the target doesn't match with anything the
3642 notebook manages. (#350665, Joakim Lundborg).
3644 2007-05-18 Carlos Garnacho <carlos@imendio.com>
3646 Refactor GtkFileChooserDialog sizing.
3648 * gtkfilechooserembed.[ch] (delegate_get_resizable_hints)
3649 (_gtk_file_chooser_embed_get_resizable_hints):
3650 s/resizable_hints/resizable/, return just one boolean value to
3651 determine whether the filechooser should be resizable or not.
3653 * gtkfilechooserprivate.h (struct GtkFileChooserDialogPrivate): remove
3654 variables related to the GtkFileChooserEmbed get_default_size() and
3655 get_resizable() implementations.
3656 (struct GtkFileChooserDefault): Move default size management here.
3658 * gtkfilechooserdefault.c (gtk_file_chooser_default_size_allocate):
3659 Added, store currently allocated size to calculate default size later.
3660 (gtk_file_chooser_default_get_resizable_hints):
3661 s/resizable_hints/resizable/.
3662 (gtk_file_chooser_default_set_property): Reload settings if the file
3663 chooser action changes, this way the save expander state will be known
3664 before mapping the window, avoiding wrong window positioning and
3665 flickering. (#424299, #424309)
3666 (find_good_size_from_style): Only get size from style if it wasn't set
3668 (gtk_file_chooser_default_get_default_size): return default size based
3669 on stored default size and preview/extra widget sizes.
3671 * gtkfilechooserdialog.c (file_chooser_widget_update_hints)
3672 (file_chooser_widget_realized_size_changed)
3673 (file_chooser_widget_unrealized_size_changed): simplified to
3674 (file_chooser_widget_size_changed): set window size and resizability
3675 based on the GtkFileChooserEmbed interface implementation. (Bug
3676 #420285, Tomeu Vizoso)
3677 (gtk_file_chooser_dialog_map): force a dialog size change, so it's
3678 clamped for sure to the 75% of the screen size.
3680 2007-05-18 Carlos Garnacho <carlos@imendio.com>
3682 * gtk/gtknotebook.c (gtk_notebook_real_insert_page): Do not unset
3683 the brand new current page if there was none set previously. Fixes
3684 #425138 (Reported by Michail Crayson). Some code simplifications.
3685 (gtk_notebook_draw_arrow): code style fix.
3687 2007-05-16 Matthias Clasen <mclasen@redhat.com>
3689 * gtk/gtkpathbar.c: Add ATK names to the Up, Down, and Root
3690 buttons. Keep the focus from vanishing when Up or Down arrows
3691 become insensitive or invisible. (#357005, Patrick Wade)
3693 2007-05-16 Brian Cameron <brian.cameron@sun.com>
3695 * acconfig.h, configure.in, gdk/Makefile.am, gdkprivate.h, gdkrgb.c,
3696 gdkdraw.c, gdk-pixbuf/gdk-pixbuf-scale.c,
3697 gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/pixops/pixops.[ch],
3698 gdk-pixbuf/pixops/timescale.c: Add Sun mediaLib support so that
3699 hardware acceleration via mediaLib is enabled if mediaLib is
3700 detected via configure. Enhancement request #344813. I was given
3701 permission to commit in the bug report by Matthias Clasen.
3702 * gdk/medialib.[ch]: New files added for mediaLib support.
3703 * docs/reference/gdk-pixbuf/tmpl/scaling.sgml,
3704 docs/reference/gdk/tmpl/rgb.sgml, gdk/gdkdraw.c: Add docs for
3707 2007-05-15 Torsten Schoenfeld <kaffeetisch@gmx.de>
3709 * gtk/gtkprintoperation.c (pdf_end_run): Unset priv->platform_data and
3710 priv->free_platform_data to prevent gtk_print_operation_finalize()
3711 from freeing the cairo surface a second time.
3713 2007-05-14 Kristian Rietveld <kris@gtk.org>
3715 * gtk/gtkfilechooserdefault.c (recent_column_path_sort_func): remove
3716 dangling semicolon, fixes the segfault ebassi was seeing earlier today
3719 2007-05-14 Tristan Van Berkom <tvb@gnome.org>
3721 * gtk/gtkaboutdialog.c: Functions: gtk_about_dialog_get/set_name()
3722 were deprecated in favour of gtk_about_dialog_get/set_program_name(),
3723 the GtkAboutDialog now uses the "program-name" property instead of
3724 the conflicting "name" property (fixes bug 345822).
3726 2007-05-14 Emmanuele Bassi <ebassi@gnome.org>
3728 * configure.in: Add check for GNU extensions to ftw()/nftw().
3730 * gtk/gtksearchenginesimple.c: Fix compilation on systems with
3731 only POSIX-compliant ftw(). (#435797, based on a patch by
3734 2007-05-14 Emmanuele Bassi <ebassi@gnome.org>
3736 * gtk/gtkfilechooserdefault.c:
3737 Convert the GtkTreeIter inside the sorting functions for the
3738 search and recent modes. This doesn't yet fix the segfault when
3739 clicking the 'Name' column in recent mode, though.
3741 2007-05-14 Behdad Esfahbod <behdad@gnome.org>
3743 * modules/input/gtkimcontextthai.c
3744 (gtk_im_context_thai_filter_keypress):
3745 Fix check for modifier keys. (#438261, Theppitak Karoonboonyanan)
3747 2007-05-14 Matthias Clasen <mclasen@redhat.com>
3749 * gtk/gtkscrolledwindow.c: Document scrollbars-within-bevel
3750 as 2.12 addition. (#438131, Mart Raudsepp)
3752 2007-05-14 Matthias Clasen <mclasen@redhat.com>
3754 * gtk/gtkvseparator.c (gtk_vseparator_size_request): Fix
3755 size requisition for wide vertical separators. (#438113,
3758 2007-05-13 Emmanuele Bassi <ebassi@gnome.org>
3760 * gtk/gtksearchenginesimple.c: Include <ftw.h> and use nftw() and
3761 all the symbols defined in <ftw.h> conditionally.
3763 2007-05-13 Cody Russell <bratsche@gnome.org>
3765 * gdk/win32/gdkevents-win32.c: Only do the configure event context
3766 iteration under WM_WINDOWPOSCHANGED instead of inside
3767 handle_configure_event(). This fixes a bug that prevented window
3768 contents from being redrawn after gtk_window_resize(). (#436721)
3770 2007-05-12 Behdad Esfahbod <behdad@gnome.org>
3772 * gdk/gdkdraw.c (gdk_draw_trapezoids): Fix wrong cairo path
3773 generation. (#437879, Eddie C. Dost)
3775 2007-05-11 Emmanuele Bassi <ebassi@gnome.org>
3777 GtkFileChooser search fixes and recent files support. (#435342)
3779 * gtk/gtkfilechooserdefault.c: Support drag and drop for
3780 adding shortcuts of folders when in search or recent files
3783 2007-05-11 Emmanuele Bassi <ebassi@gnome.org>
3785 GtkFileChooser search fixes and recent files support. (#435342)
3787 * gtk/gtkfilechooserprivate.h:
3788 * gtk/gtkfilechooserdefault.c: Follow the sorting order of
3789 the GtkTreeView displaying the files list.
3791 (shortcuts_get_index), (shortcuts_insert_separator),
3792 (shortcuts_model_create), (shortcuts_combo_filter_func): Remove
3793 the separator between the Search and the Recently Used shortcuts.
3795 (list_select_func), (list_icon_data_func), (list_name_data_func),
3796 (list_mtime_data_func): Update the sensitivity of the row
3797 depending on the GtkFileChooserAction used.
3799 2007-05-11 Emmanuele Bassi <ebassi@gnome.org>
3801 GtkFileChooser search fixes and recent files support. (#435342)
3803 * gtk/gtkfilechooserprivate.h:
3804 * gtk/gtkfilechooserdefault.c: Update the contents of the
3805 files list when changing the filter of the GtkFileChooserDefault
3808 2007-05-11 Emmanuele Bassi <ebassi@gnome.org>
3810 GtkFileChooser search fixes and recent files support. (#435342)
3812 * gtk/gtkfilechooserdefault.c: Update the add bookmark button
3813 sensitivity when in search or recent files mode, and allow
3814 adding a bookmark for a folder.
3816 2007-05-11 Emmanuele Bassi <ebassi@gnome.org>
3818 GtkFileChooser search fixes and recent files support. (#435342)
3820 * gtk/gtkfilechooserdefault.c: UI fixes in the Search mode: add
3821 a mnemonic to the label, de-boldify the label's text and assign
3822 focus to the search entry when switching to the search mode.
3824 (list_name_data_func): Split the text in both search and recent
3825 files mode: on the first line use the short name and on the
3826 second line use the full path.
3828 2007-05-11 Emmanuele Bassi <ebassi@gnome.org>
3830 GtkFileChooser search fixes and recent files support. (#435342)
3832 * gtk/gtkfilechooserprivate.h:
3833 * gtk/gtkfilechooserdefault.c: Add support for showing the
3834 recently used files list as a special shortcut item.
3836 2007-05-11 Emmanuele Bassi <ebassi@gnome.org>
3838 GtkFileChooser search fixes and recent files support. (#435342)
3840 * gtk/gtkfilechooserdefault.c: Overall whitespace fixes and
3841 indentation style consistency.
3843 (list_row_activated): If the search hit is a folder, follow it
3844 when activating the row, and switch back to browse mode.
3846 (search_clear_model), (search_start_query),
3847 (search_entry_activate_cb), (search_setup_widgets): Remember
3848 the last query when switching between modes.
3850 2007-05-11 Emmanuele Bassi <ebassi@gnome.org>
3852 GtkFileChooser search fixes and recent files support. (#435342)
3854 * gtk/gtkfilechooserdefault.c:
3855 (_gtk_file_chooser_default_class_init): Add key binding for
3856 the Search shortcut; default to MOD1+S.
3858 (search_shortcut_handler): Handle the key binding.
3860 (search_hit_get_info_cb), (search_add_hit), (search_clear_model),
3861 (search_setup_model): Retrieve informations on the search hits
3862 when adding them to the model.
3864 (list_icon_data_func): Show the search hit icon.
3866 2007-05-11 Michael Natterer <mitch@imendio.com>
3868 * gtk/gtktextview.c (selection_motion_event_handler): call
3869 gdk_event_request_motions(event) so selecting works with
3870 XInput devices too. Spotted by Tommi Komulainen.
3872 2007-05-11 Emmanuele Bassi <ebassi@gnome.org>
3874 * gtk/gtksearchengine.c (_gtk_search_engine_new): Fall back
3875 to GtkSearchEngineSimple only if gthread has already been
3876 initialiased; otherwise, disable search support in the file
3877 chooser widget. (#435847)
3879 2007-05-10 Matthias Clasen <mclasen@redhat.com>
3881 * gtk/gtkbutton.c (gtk_button_set_image): Unparent the old
3882 image before overwriting priv->image. (#437281, Jochen Baier)
3884 2007-05-10 Matthias Clasen <mclasen@redhat.com>
3886 * gtk/gtkscrolledwindow.c (gtk_scrolled_window_scroll_child):
3887 Correct a confusing warning. (#437284, Björn Lindqvist)
3889 2007-05-10 Matthias Clasen <mclasen@redhat.com>
3891 * gdk/gdkdraw.c (gdk_draw_pixbuf): Don't call into
3892 the backend if the region is empty. (#437081, Sven Neumann)
3894 2007-05-10 Matthias Clasen <mclasen@redhat.com>
3896 * gtk/gtksearchenginesimple.c (search_visit_func);
3897 Assume Posix nftw behaviour.
3899 2007-05-09 Dom Lachowicz <domlachowicz@gmail.com>
3901 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: GtkTreeView doesn't
3902 expand/collapse with Right/Left cursor keys on Windows
3903 (#436269, Daniel Atallah)
3905 2007-05-09 Cody Russell <bratsche@gnome.org>
3908 (get_arrows_border): New function to calculate the border sizes needed
3909 for the scroll arrows.
3910 (get_arrows_visible_area): New function to calculate the arrows visible
3912 (get_arrows_sensitive_area): New function to calculate the arrows
3914 (gtk_menu_paint): Refactored code to calculate the border sizes needed
3915 for the scroll arrows into get_arrows_border and the code to calculate
3916 the visible area into get_arrows_visible_area.
3917 (gtk_menu_handle_scrolling): Refactored arrow sensitive calculations
3918 to get_arrows_sensitive_area.
3919 (gtk_menu_realize, gtk_menu_size_allocate, gtk_menu_scroll_by,
3920 gtk_menu_position, gtk_menu_scroll_to, gtk_menu_scroll_item_visible,
3921 get_visible_size, get_menu_height, gtk_menu_real_move_scroll): Update
3922 callers. (From #436533, Tommi Komulainen)
3924 2007-05-09 Kristian Rietveld <kris@imendio.com>
3926 * gtk/gtktreeview.c (gtk_tree_view_key_press),
3927 (gtk_tree_view_key_release):
3928 * gtk/gtkiconview.c (gtk_icon_view_class_init),
3929 (gtk_icon_view_key_press),
3930 (gtk_icon_view_key_release): Disable key bindings during rubber
3931 banding, make pressing Esc stop rubber banding. (#405027).
3933 2007-05-09 Emmanuele Bassi <ebassi@gnome.org>
3935 * gtk/gtkrecentmanager.c:
3936 (gtk_recent_info_get_icon): Return GTK_STOCK_DIRECTORY for entries
3937 with MIME type "x-directory/normal", instead of GTK_STOCK_FILE.
3939 2007-05-05 Richard Hult <richard@imendio.com>
3941 * gdk/quartz/gdkdrawable-quartz.c:
3942 (gdk_quartz_drawable_get_context),
3943 (gdk_quartz_drawable_release_context): Fix bugs #428733 and #433301.
3944 Turns out the lockFocus logic was flawed, now we only lock/unlock
3945 when called outside a real expose event and never flush manually.
3947 2007-05-03 Behdad Esfahbod <behdad@gnome.org>
3949 * gtk/gtklabel.c (gtk_label_ensure_layout):
3950 * gtk/gtktextlayout.c (set_para_values): Make GTK_JUSTIFY_FILL work,
3951 using pango_layout_set_justify() that works now. (#435675)
3953 2007-05-03 Emmanuele Bassi <ebassi@gnome.org>
3955 * gtk/gtksearchenginesimple.c (search_engine_simple_finalize): Remove
3956 spurious g_free() call.
3958 Thu May 3 16:27:34 2007 Tim Janik <timj@imendio.com>
3960 * tests/testgtk.c (create_handle_box): made handle box test non-modal,
3961 so other test can interact with handle boxes.
3963 2007-05-02 Emmanuele Bassi <ebassi@gnome.org>
3965 Add search file support in the GtkFileChooser. Original patch
3966 by Federico Mena Quintero; patch updated by Matthias Clasen.
3969 * gtk/gtksearchengine.[ch]: Private search engine abstraction
3972 * gtk/gtksearchenginebeagle.[ch]: Private search engine
3973 implementation using libbeagle (via g_module_open()).
3975 * gtk/gtksearchenginesimple.[ch]: Private search engine
3976 implementation using file tree walking.
3978 * gtk/gtksearchenginetracker.[ch]: Private earch engine
3979 implementation using libtracker (via g_module_open()).
3981 * gtk/gtkquery.[ch]: Private query object for the search
3984 * gtk/gtkfilechooserprivate.h:
3985 * gtk/gtkfilechooserdefault.c: Use the GtkSearchEngine to
3986 query a search engine backend using GtkQuery; create a new
3987 operating mode, OPERATION_MODE_SEARCH, and call the common
3988 operating mode OPERATION_MODE_BROWSE; add support for virtual
3989 shortcuts inside the shortcuts model and create a new "Search"
3992 * gtk/Makefile.am: Update the build with the new files
3994 2007-05-02 Armin Burgmeier <armin@openismus.com>
3996 * gtk/gtkcombobox.c: Destroy the menu in dispose instead of
3997 finalize, because the menu might unparent itself from its parent and
3998 cause a signal emission on a finalized object. (#430746)
4000 2007-05-02 Dom Lachowicz <domlachowicz@gmail.com>
4002 * modules/engines/ms-windows/msw_style.c: MS-Windows Theme top tabs
4003 rendered upside down for non-XP theme (#435053, Daniel Atallah)
4005 Wed May 2 11:35:45 2007 Tim Janik <timj@imendio.com>
4007 * docs/faq/gtkfaq.sgml: removed, since this file is long outdated
4008 and fully replaced by docs/faq/gtk-faq.sgml.
4010 2007-05-02 Kristian Rietveld <kris@imendio.com>
4012 * gtk/gtktreeview.c (gtk_tree_view_grab_notify): stop the rubber band
4015 2007-05-01 Matthias Clasen <mclasen@redhat.com>
4017 * gtk/gtkiconcachevalidator.c: Don't be too strict when checking
4018 icon flags. (#435062)
4020 2007-05-01 Matthias Clasen <mclasen@redhat.com>
4022 * gtk/Makefile.am: When generating gtkbuiltincache.h, only copy
4025 2007-05-01 Matthias Clasen <mclasen@redhat.com>
4027 * gtk/gtkfilesystemmodel.c (_gtk_file_system_model_path_do):
4028 Don't ignore the fact that gtk_file_system_get_parent()
4029 may return NULL. (#424042, Jan Martinek)
4031 2007-05-01 Dan Winship <danw@novell.com>
4033 * gdk/x11/gdkwindow-x11.c (setup_toplevel_window): Make sure the
4034 leader_window's WM_CLIENT_LEADER points to itself. #435028
4036 2007-05-02 Christian Persch <chpe@gnome.org>
4038 * gtk/gtktreemodel.c: (gtk_tree_iter_copy), (gtk_tree_iter_free): Use
4039 GSlice for gtk_tree_iter_copy. Bug #434863.
4041 2007-05-02 Christian Persch <chpe@gnome.org>
4043 * gtk/gtkpapersize.c: (gtk_paper_size_get_paper_sizes): Put only
4044 GtkPaperSizes into the list, don't mix it with GtkPageSetups. Bug
4047 2007-05-02 Christian Persch <chpe@gnome.org>
4049 * gtk/gtkpapersize.c: (gtk_paper_size_new_from_info),
4050 (gtk_paper_size_new), (gtk_paper_size_new_custom),
4051 (gtk_paper_size_copy), (gtk_paper_size_free): Use GSlice to allocate
4052 GtkPaperSize. Bug #434862.
4054 2007-05-02 Christian Persch <chpe@gnome.org>
4056 * gtk/gtkstatusbar.c: (gtk_statusbar_get_context_id),
4057 (gtk_statusbar_expose_event): No need to allocate a guint; just stuff
4058 the ID into the pointer directly. Bug #434865.
4060 2007-05-01 Matthias Clasen <mclasen@redhat.com>
4062 * gtk/gtkfilechooserdefault.c (struct UpdateCurrentFolderData),
4063 (update_current_folder_get_info_cb): add a new struct field to clear
4064 the file entry after the current folder has been updated.
4066 (gtk_file_chooser_default_update_current_folder),
4067 (change_folder_and_display_error): Add a new function parameter to
4068 trigger file entry clearing.
4070 (edited_idle_create_folder_cb),
4071 (file_list_drag_data_received_get_info_cb),
4072 (gtk_file_chooser_default_map),
4073 (gtk_file_chooser_default_set_current_folder),
4074 (switch_to_selected_folder), (save_entry_get_info_cb),
4075 (shortcuts_activate_volume_mount_cb), (shortcuts_activate_volume),
4076 (shortcuts_activate_get_info_cb), (list_row_activated),
4077 (path_bar_clicked): use new function parameter appropriately.
4079 (gtk_file_chooser_default_should_respond): trigger file entry clearing
4080 after the directory is updated instead of clearing it before, this way
4081 we avoid reloading the completion model with the soon to be old folder,
4082 causing a warning and a glitch in the folder where completion happens.
4083 (#379414, Carlos Garnacho)
4085 2007-05-01 Matthias Clasen <mclasen@redhat.com>
4087 * gtk/gtkiconcachevalidator.[hc]: Add an icon cache validator.
4089 * gtk/updateiconcache.c: Validate the generated cache before
4090 moving it in place. Also add a --validate option to validate
4091 an existing icon cache.
4093 * gtk/gtkiconcache.c: Validate icon caches before using them.
4095 * gtk/Makefile.am: Integrate it.
4097 2007-05-01 Michael Emmel <mike.emmel@gmail.com>
4099 * gdk/directfb/gdkdisplay-directfb.c:
4100 Added stub gdk_notify_startup_complete_with_id to compile
4101 * gdk/directfb/gdkwindow-directfb.c:
4102 Added gdk_window_set_opacity
4103 * gdk/directfb/gdkkeys-directfb.c:
4104 Fix menu key handling crash Bug #413328
4106 2007-05-01 Christian Persch <chpe@gnome.org>
4109 * gtk/gtkprintjob.h: Also move gtk_print_capabilities_get_type() to
4110 the new location. Bug #390437.
4112 2007-04-30 Matthias Clasen <mclasen@redhat.com>
4114 * gtk/gtksettings.c (settings_update_color_scheme):
4115 Make sure we always have a color_hash. (#423916, Jens Granseuer)
4117 2007-04-30 Christian Persch <chpe@gnome.org>
4119 * docs/reference/gtk/gtk-sections.txt:
4121 * gtk/gtkprinter-private.h:
4122 * gtk/gtkprinter.c: (gtk_printer_get_capabilities),
4123 (gtk_print_capabilities_get_type):
4125 * gtk/gtkprintjob.c:
4126 * gtk/gtkprintjob.h:
4127 * gtk/gtkprintunixdialog.c: (selected_printer_changed):
4128 Make gtk_printer_get_capabilities public, and move the
4129 GtkPrintCapabilities definition to gtkprinter.h. Bug #390437.
4131 2007-04-30 Matthias Clasen <mclasen@redhat.com>
4133 * gtk/gtkexpander.c (gtk_expander_realize): A NO_WINDOW widget
4134 must not set the background of its window. (#433972,
4137 2007-04-30 Richard Hult <richard@imendio.com>
4139 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_opacity):
4142 2007-04-30 Matthias Clasen <mclasen@redhat.com>
4144 * modules/printbackends/cups/gtkprintbackendcups.c: Get all
4145 the printer attributes when getting the list of printers,
4146 not via separate requests. (#387889, Krishan Purahoo)
4148 2007-04-30 Matthias Clasen <mclasen@redhat.com>
4150 Some more compiler warning fixes.
4152 * gdk/directfb/gdkscreen-directfb.c (gdk_screen_is_composited):
4153 Fix NULL/FALSE confusion.
4155 2007-04-30 Matthias Clasen <mclasen@redhat.com>
4157 Fix some compiler warnings. (#433642, Kjartan Maraas)
4159 * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_get_info):
4160 (gtk_file_system_win32_create_folder):
4161 * gtk/gtkaction.c (gtk_action_create_menu): Fix NULL/FALSE confusion.
4163 * gtk/gtklinkbutton.c (gtk_link_button_clicked): Pass
4164 the right type to uri_func.
4166 * gtk/gtktext.c (gtk_text_key_press):
4167 * gtk/gtkstatusicon.c (gtk_status_icon_get_property):
4168 * gtk/gtkxembed.c (_gtk_xembed_send_message): Add casts.
4170 * gtk/gtktrayicon-x11.c (gtk_tray_icon_manager_window_destroyed):
4171 (gtk_tray_icon_delete):
4172 * gtk/gtkprintunixdialog.c (create_main_page):
4173 * gtk/gtkhsv.c (gtk_hsv_motion): Remove unused variables.
4175 * gtk/gtkliststore.c: Adapt callbacks to GSequence types.
4177 2007-04-30 Cody Russell <bratsche@gnome.org>
4179 * gdk/win32/gdkwindow-win32.c: Reintroduced erase_background(),
4180 but now we're calling it from _gdk_windowing_window_clear_area()
4181 instead of from the WM_ERASEBKGND event. Also fixes the area
4182 that is cleared so that it is not an extra row and column too
4183 large. (Neil Roberts, #415681)
4185 2007-04-30 Matthias Clasen <mclasen@redhat.com>
4187 * gtk/gtktextview.c: Allow indents to be negative. (#Bug 434308)
4189 2007-04-30 Michael Natterer <mitch@imendio.com>
4191 * gtk/gtkmenushell.c (gtk_menu_shell_enter_notify): pop up the
4192 submenu explicitely only in touchscreen mode since otherwise
4193 selecting the item already pops up the submenu. Restores the
4194 drag-selection timeout (spotted by Søren Sandmann, #128968).
4196 2007-04-30 Michael Natterer <mitch@imendio.com>
4198 * gtk/gtkpapersize.h: really rename gtk_paper_size_get_builtins()
4199 to gtk_paper_size_get_paper_sizes().
4201 2007-04-30 Tor Lillqvist <tml@novell.com>
4203 * gtk/gtkpapersize.c (gtk_paper_size_get_paper_sizes):
4204 _gtk_load_custom_papers() exists only on Unix.
4206 2007-04-30 Tor Lillqvist <tml@novell.com>
4208 Add functionality to set overall opacity of a top-level
4211 * gdk/gdk.symbols: Add gdk_window_set_opacity.
4213 * gdk/x11/gdkwindow-x11.c
4214 * gdk/win32/gdkwindow-win32.c: Implement
4215 gdk_window_set_opacity(). On X11 use the _NET_WM_WINDOW_OPACITY
4216 property. On Win32 use SetLayeredWindowAttributes(LWA_ALPHA).
4218 * gdk/gdkwindow.h: Declare gdk_window_set_opacity().
4220 * gdk/x11/gdkscreen-x11.c (gdk_screen_get_rgba_colormap): Document
4221 that this is not implemented in the Windows backend. Add reference
4222 to gdk_window_set_opacity().
4224 * gtk/gtk.symbols: Add gtk_window_set_opacity and
4225 gtk_window_get_opacity.
4227 * gtk/gtkwindow.c (struct _GtkWindowPrivate)
4228 (gtk_window_class_init): Add opacity property, a double in the
4230 (gtk_window_set_opacity, gtk_window_get_opacity): Implement.
4231 (gtk_window_realize): If opacity is set, call
4232 gdk_window_set_opacity().
4234 * gtk/gtkwindow.h: Declare gtk_window_set_opacity() and
4235 gtk_window_get_opacity().
4237 2007-04-30 Matthias Clasen <mclasen@redhat.com>
4240 * gtk/gtkpapersize.[hc]: Rename gtk_paper_size_get_builtins()
4241 to gtk_paper_size_get_paper_sizes() and optionally include
4244 * gtk/gtkpagesetupunixdialog.c: Internally export a function
4245 to load custom paper sizes.
4247 * modules/printbackends/file/gtkprintbackendfile.c: Implement
4248 printer_list_papers, returning all paper sizes. (#434329,
4251 2007-04-30 Matthias Clasen <mclasen@redhat.com>
4253 * gtk/gtkprintoperation.c: Translate the default job
4254 name, and don't utf8-validate the job name in the
4255 setter. (#421993, Morten Welinder)
4257 2007-04-30 Matthias Clasen <mclasen@redhat.com>
4259 * gtk/gtkprintjob.c (gtk_print_job_get_surface): Use
4260 g_unlink. (#421990, Morten Welinder)
4262 2007-04-29 Matthias Clasen <mclasen@redhat.com>
4264 Fix some issues with reference handling in the printing
4265 code. (#429902, Mathias Hasselmann)
4267 * gtk/gtkprintoperation.c (gtk_print_operation_finalize):
4268 Unref the print context, if we have one.
4269 (gtk_print_operation_done): Add a default ::done handler
4270 that unrefs the print context.
4271 (preview_ready): Take a reference on the print operation
4273 (print_pages_idle): ...not here,
4274 (preview_print_idle_done): ...and release it here.
4276 * tests/print-editor.c (preview_cb): Take a reference
4277 on the print operation here.
4279 2007-04-29 Matthias Clasen <mclasen@redhat.com>
4281 * gtk/gtkprintoperation.c (print_pages_idle): Don't get
4282 stuck in a recursive mainloop if a synchronous preview
4285 2007-04-29 Matthias Clasen <mclasen@redhat.com>
4287 Make the emission of ::end-print and ::done consistent
4288 for previews. (#347567, Yevgen Muntyan)
4290 * gtk/gtkprintoperation.c (preview_iface_end_preview): Set
4291 the finished status here.
4292 (preview_end_run): ...and not here.
4293 (print_pages_idle_done): Emit ::done for a cancelled preview.
4294 (print_pages_idle): If a preview has been cancelled, don't
4295 emit ::ready, but emit ::end-print.
4297 * tests/print-editor.c: Use ::end-print to undo allocations
4300 2007-04-29 Matthias Clasen <mclasen@redhat.com>
4302 * gtk/gtkpapersize.c (gtk_paper_size_new): Mark paper sizes
4303 in the PWG "custom" namespace as custom. Add a link to
4304 the spec in the docs. (#426416, Andreas Guelzow)
4306 2007-04-29 Matthias Clasen <mclasen@redhat.com>
4308 * gtk/gtkprintoperation.c (gtk_print_operation_run): Document
4309 that a print operation can be run only once, and add a
4310 corresponding g_return_if_fail(). (#379399, Masao Mutoh)
4312 2007-04-29 Dan Winship <danw@novell.com>
4314 * gdk/x11/gdkdisplay-x11.c
4315 (gdk_x11_display_broadcast_startup_message): New method to
4316 marshall and send a Startup Notification message. (from #415070)
4317 (gdk_notify_startup_complete_with_id): Use that
4319 2007-04-29 Mattthias Clasen <mclasen@redhat.com>
4321 * gtk/gtkprintoperation-unix.c
4322 (_gtk_print_operation_platform_backend_launch_preview):
4323 Don't leak a file descriptor, and don't make the error
4324 dialog modal. (#421985, Morten Welinder, Christian Persch)
4326 2007-04-29 Xan Lopez <xan@gnome.org>
4328 * docs/faq/gtk-faq.sgml: Fix typo in FAQ (#373706,
4329 Diego Escalante Urrelo).
4331 I'm fixing gtk-faq.sgml as it seems this is the file
4334 2007-04-29 Matthias Clasen <mclasen@redhat.com>
4336 * gtk/gtktoolbar.c (_gtk_toolbar_elide_underscores):
4337 Only strip parentheses of the form (_x). (#434261,
4340 2007-04-29 Matthias Clasen <mclasen@redhat.com>
4342 * gtk/gtkprintoperation-unix.c
4343 (_gtk_print_operation_platform_backend_launch_preview):
4344 Support passing a print settings file to the preview
4345 command. (#403717, Christian Persch)
4347 * gtk/gtksettings.c: Document %s in the
4348 gtk-print-preview-command setting.
4350 2007-04-29 Matthias Clasen <mclasen@redhat.com>
4352 * gtk/gtkprintoperation.c (print_pages_idle): Also check
4353 the default handler when deciding whether to emit the
4354 paginate signal. (#345345, Yevgen Muntyan)
4356 2007-04-29 Matthias Clasen <mclasen@redhat.com>
4358 * gtk/gtkprintoperation.h: Add a new error code
4361 * gtk/gtkpagesetup.[hc]:
4362 * gtk/gtkpapersize.[hc]:
4363 * gtk/gtkprintsettings.[hc]: Add functions to serialize
4364 and deserialize page setups and print settings to files
4365 and key files. (#344515, Christian Persch)
4367 * gtk/gtkpagesetupunixdialog.c: Adapt to the new functions.
4369 * tests/print-editor.c: Use the new functions to persist
4370 page setup and print settings.
4372 2007-04-29 Matthias Clasen <mclasen@redhat.com>
4374 * gtk/gtkpagesetupunixdialog.c (gtk_page_setup_unix_dialog_finalize):
4375 Free the custom paper list. (#403267, Felix Riemann)
4377 2007-04-29 Matthias Clasen <mclasen@redhat.com>
4379 * gtk/gtkprintjob.c (gtk_print_job_get_surface): Fix a
4380 small memory leak. (#403251, Felix Riemann)
4382 2007-04-29 Matthias Clasen <mclasen@redhat.com>
4384 * modules/printbackends/cups/gtkprintbackendcups.c: Fix a
4385 typo. String change ! (#406160, Stephane Raimbault)
4387 2007-04-29 Matthias Clasen <mclasen@redhat.com>
4390 * gtk/gtkpapersize.[hc]: Add a function to list the
4391 builtin paper sizes. (#382355, Christian Persch)
4393 2007-04-29 Matthias Clasen <mclasen@redhat.com>
4396 * gtk/gtkprinter-private.h:
4397 * gtk/gtkprinter.[hc]: Make gtk_printer_has_details() and
4398 gtk_printer_request_details() public.
4400 * gtk/gtkpagesetupunixdialog.c:
4401 * gtk/gtkprintunixdialog.c: Update callers. (#389203,
4404 2007-04-28 Matthias Clasen <mclasen@redhat.com>
4406 * configure.in: Add --enable-test-print-backend, defaulting
4409 * modules/printbackends/Makefile.am: Make building the test
4410 print backend conditional.
4412 2007-04-28 Matthias Clasen <mclasen@redhat.com>
4414 * modules/printbackends/lpr/*:
4415 * modules/printbackends/cups/*: Correct some copyright lines.
4418 * modules/printbackends/Makefile.am:
4419 * modules/printbackends/test/*: Add a test print backend.
4420 (#409089, John Palmieri)
4422 2007-04-28 Matthias Clasen <mclasen@redhat.com>
4424 * gtk/gtktexttag.[hc]: Add a way to specify accumulative
4425 margins. (#344499, Nate Nielsen)
4427 2007-04-28 Matthias Clasen <mclasen@redhat.com>
4429 * gtk/gtkeventbox.c (gtk_event_box_realize): Fix the offsets
4430 of the input-only window if we also have a visible window.
4433 2007-04-28 Matthias Clasen <mclasen@redhat.com>
4435 * gtk/gtkliststore.c (gtk_list_store_set_valist_internal):
4436 * gtk/gtktreestore.c (gtk_tree_store_set_valist_internal):
4437 Recognize negative column indices as invalid. (#415260,
4440 2007-04-28 Ronald Bultje <rbultje@ronald.bitfreak.net>
4442 * gdk/quartz/gdkeventloop-quartz.c: (select_thread_func),
4443 (poll_func): fix two more potential races that could happen when
4444 an application is polling in the mainloop and a separate thread
4445 tries to wake it up using g_idle_add(). Fixes #425271 comment 5.
4447 2007-04-28 Matthias Clasen <mclasen@redhat.com>
4449 * gtk/gtkentry.c (gtk_entry_grab_focus):
4450 (gtk_entry_real_insert_text): Only call g_object_get()
4451 when necessary. (#373137, Morten Welinder, patch by Xan Lopez)
4453 2007-04-28 Matthias Clasen <mclasen@redhat.com>
4455 * gtk/gtkstatusicon.c (gtk_status_icon_get_size): Add
4456 a note about being embedded. (#340107, Christian Persch)
4458 2007-04-28 Matthias Clasen <mclasen@redhat.com>
4460 * gtk/gtkdnd.[hc]: Add GTK_TARGET_OTHER_{APP,WIDGET} to
4461 restrict drags within an application/widget. (#163141,
4464 2007-04-28 Matthias Clasen <mclasen@redhat.com>
4466 * docs/tools/Makefile.am:
4467 * gtk/Makefile.am: Make make clean clean. (#410160, Tommi
4470 2007-04-28 Matthias Clasen <mclasen@redhat.com>
4472 * gdk/win32/bdfcursor.c (compose_cursors_from_fonts):
4473 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_reorder):
4474 * gtk/gtkfilesystemmodel.c (got_root_folder_cb):
4475 (get_children_folder_cb): Plug memory leaks caused by wrong
4476 use of g_slist_remove_link(). (#405515, Nicolas Peninguy)
4478 2007-04-28 Matthias Clasen <mclasen@redhat.com>
4480 * demos/gtk-demo/printing.c: Fix the headers in the print
4481 demo. (#423722, Yevgen Muntyan)
4483 2007-04-28 Xan Lopez <xan@gnome.org>
4485 * gtk/gtkentrycompletion.c (gtk_entry_completion_insert_completion_text):
4486 Use strstr instead of g_strstr with -1 for length.
4488 2007-04-28 Xan Lopez <xan@gnome.org>
4491 * gtk/gtkentrycompletion.c:
4492 * gtk/gtkentrycompletion.h:
4493 * gtk/gtkentryprivate.h:
4495 Remember the user input that triggered the completion, add
4496 API to the retrieve it and reset the entry contents to it
4497 if the user cancels the tentative completion during
4498 the inline-selection.
4500 2007-04-27 Matthias Clasen <mclasen@redhat.com>
4502 * gdk/x11/gdkgeometry-x11.c: Factor out window movement
4503 functions. (#63820, Tilman Sauerbeck)
4505 2007-04-27 Matthias Clasen <mclasen@redhat.com>
4507 * gdk/x11/gdkgeometry-x11.c: Factor out translate_pos().
4508 (#63820, Tilman Sauerbeck)
4510 2007-04-27 Matthias Clasen <mclasen@redhat.com>
4512 * gdk/x11/gdkgeometry-x11.c: Factor out window mapping
4513 and unmapping functions. (#63820, Tilman Sauerbeck)
4515 2007-04-27 Matthias Clasen <mclasen@redhat.com>
4517 * gdk/x11/gdkgeometry-x11.c: Make list handling code
4518 easier to read. (#63820, Tilman Sauerbeck)
4520 2007-04-27 Matthias Clasen <mclasen@redhat.com>
4526 * gtkrecentmanager.c:
4527 * gtktextiter.c: Internalize some strings, pointed out
4530 2007-04-27 Xan Lopez <xan@gnome.org>
4532 Support inline-selection in entries (#318459)
4535 * gtk/gtkentrycompletion.c:
4536 * gtk/gtkentrycompletion.h:
4537 * gtk/gtkentryprivate.h:
4539 When enabled cursor-match is emited when the cursor is on
4540 a possible completion on the list. The default implementation
4541 will replace the contents on the entry with the contents of
4542 the text column in the completion model.
4544 Review and improvements by Matthias Clasen.
4546 2007-04-27 Michael Natterer <mitch@imendio.com>
4548 Merged heavily modified patch from maemo-gtk which enables opening
4549 and closing submenus on click, and introduces some usability
4550 changes when gtk-touchscreen-mode is enabled (bug #128968):
4552 * gtk/gtkmenushell.c (struct GtkMenuShellPrivate): added boolean
4553 "activated_submenu" to indicate that the current mouse operation
4554 (click or drag) has opened a submenu.
4556 (gtk_menu_shell_button_press): pop up submenus without delay
4557 and record the fact in "activated_submenu".
4559 (gtk_menu_shell_button_release): if a submenu was explicitely
4560 opened, or not opened by this release's button_press, or enough
4561 time has passed since timeout-opening it, close the submenu here.
4563 (gtk_menu_shell_enter_notify): when entering a menu item with
4564 any mouse button pressed, open its submenu.
4566 (gtk_real_menu_shell_move_current): in touchsreen mode, close the
4567 submenu when moving the focus away from it via keyboard-navigation.
4569 * gtk/gtkmenuitem.[ch] (_gtk_menu_item_popup_submenu): added
4570 parameter "gboolean with_delay" so GtkMenuShell can control this
4571 for the different scenarios of submenu showing.
4573 (_gtk_menu_item_popdown_submenu): new function. also needed by
4574 GtkMenuShell for closing submenus on click.
4576 Renamed internal function gtk_menu_item_select_timeout() to
4577 gtk_menu_item_popup_timeout().
4579 (gtk_menu_item_real_popup_submenu): new utility function which
4580 does the actual popup and records the exact time of the popup when
4581 the menu was timeout-opened (using g_get_current_time()).
4583 (gtk_real_menu_item_select): don't add the popup timeout when in
4586 * gtk/gtkmenu.c (gtk_menu_popup): in touchscreen mode, select the
4587 first item of every opened menu.
4589 2007-04-26 Matthias Clasen <mclasen@redhat.com>
4591 * gtk/gtkfilechooserentry.c: Append a '/' to directory names
4592 in the completion popup. (#431323, Maarten Maathuis)
4594 2007-04-26 Matthias Clasen <mclasen@redhat.com>
4596 * demo/gtk-demo/combobox.c: Add a simple validation demo.
4597 * gtk/gtkcomboboxentry.c: Make it possible to add arbitrary
4598 children to a GtkComboBoxEntry. (#426401, Paul Pogonyshev)
4600 2007-04-26 Tor Lillqvist <tml@novell.com>
4602 * gtk/gtkinputdialog.c (gtk_input_dialog_fill_axes)
4603 (gtk_input_dialog_fill_keys): Remove old child of scrolled window
4604 before adding a new one when switching what input device is being
4607 2007-04-26 Matthias Clasen <mclasen@redhat.com>
4609 * modules/printbackends/lpr/gtkprintbackendlpr.c
4610 (gtk_print_backend_lpr_init): Mark the printer list as done.
4611 (#428665, Bogdan Gheorghe)
4613 2007-04-26 Matthias Clasen <mclasen@redhat.com>
4616 * gtk/Makefile.am: Don't install UNIX-printing headers and
4617 support files on non-UNIX platforms. (#425655, Vincent Geddes)
4619 2007-04-26 Matthias Clasen <mclasen@redhat.com>
4621 * gtk/gtkuimanager.c (gtk_ui_manager_add_ui): Accept
4622 unnamed separators. (#369112, Christian Persch)
4624 2007-04-26 Matthias Clasen <mclasen@redhat.com>
4626 * gtk/gtkaccelgroup.c (gtk_accel_group_finalize): Don't access
4627 invalid memory. (#429732, Armin Burgmeier)
4629 2007-04-26 Cody Russell <bratsche@gnome.org>
4631 * gdk/win32/xcursors.h:
4632 * gdk/win32/gdkcursor-win32.c:
4634 Use Win32 native cursors instead of the ones built into GTK
4635 where it makes sense. (#128852, Tim Evans)
4637 2007-04-25 Cody Russell <bratsche@gnome.org>
4641 * gtk/gtkhandlebox.c:
4642 * gdk/directfb/gdkwindow-directfb.c:
4643 * gdk/linux-fb/gdkwindow-fb.c:
4644 * gdk/quartz/gdkwindow-quartz.c:
4645 * gdk/win32/gdkwindow-win32.c:
4646 * gdk/x11/gdkwindow-x11.c:
4647 Added window type hint and implement drop shadows on Win32
4648 for menus, tooltips, etc. (#148535, Tim Evans, Dom Lachowicz)
4650 2007-04-25 Jakub Steiner <jimmac@ximian.com>
4652 * gtk/stock-icons/16/gtk-close.{png,svg}: added 16x16 version of
4653 gtk-close as per discussion in bug #431740.
4655 2007-04-25 Matthias Clasen <mclasen@redhat.com>
4657 * gtk/gtktreeview.c (gtk_tree_view_style_set): Set the background
4658 of the header window again. (#431067, Benjamin Berg)
4660 2007-04-25 Matthias Clasen <mclasen@redhat.com>
4662 * gtk/gtkicontheme.c (theme_lookup_icon): Set the filename to
4663 NULL for builtin icons, sinc gtk_icon_info_get_builtin_pixbuf()
4666 * tests/testicontheme.c: Report builtin icons.
4668 2007-04-25 Matthias Clasen <mclasen@redhat.com>
4670 * gtk/gtkprintoperation.c (preview_iface_end_preview): Don't
4671 crash if end_run is not set. (#424168, Matthias Hasselmann)
4673 2007-04-25 Michael Natterer <mitch@imendio.com>
4675 * gtk/gtkmenu.c (gtk_menu_handle_scrolling): fix ACTIVE state of
4676 scroll buttons (we were setting the state to ACTIVE but
4677 immediately overwriting it with NORMAL or PRELIGHT). Also got rid
4678 of many separate calls to gdk_window_invalidate_rect() by
4679 remembering the old button state and only invalidating the area if
4680 the state has changed (addresses parts of bug #433242, Tommi
4683 (gtk_menu_scroll_to): change the arrow states only if changing
4684 from or to INSENSITIVE state, so we don't overwrite the ACTIVE
4685 state set by above function.
4687 2007-04-25 Michael Natterer <mitch@imendio.com>
4689 * gtk/gtkprintoperation.c (preview_iface_is_selected): fix the
4690 build. Dunno if the fix is right, but I think it is.
4692 2007-04-25 Kristian Rietveld <kris@imendio.com>
4694 * gtk/gtktooltip.c (find_topmost_widget_coords_from_event):
4695 cleanup/refactor some leftover code.
4697 2007-04-24 Matthias Clasen <mclasen@redhat.com>
4699 * gtk/gtkprintunixdialog.c (dialog_get_page_ranges): Parse
4700 half-open ranges like -2 or 3-, and be a bit more liberal
4702 (dialog_set_page_ranges): Support half-open ranges.
4704 * gtk/gtkprintoperation.c (print_pages_idle): Substitute the
4705 number of pages in half-open ranges.
4706 (preview_iface_is_selected): Support half-open ranges here, too.
4708 2007-04-24 Chris Wilson <chris@chris-wilson.co.uk>
4710 * gtk/gtkicontheme.c (scan_directory): Ensure the
4711 icon_theme->all_icons and dir->icons hash tables use the same string
4712 as their keys. (#418531)
4714 2007-04-23 Cody Russell <bratsche@gnome.org>
4715 * modules/engines/ms-windows/msw_style.c: Fixed one-pixel drawing error on
4716 left-most tab when notebooks are top-oriented. Also general cleanup of
4717 notebook tab related code. (Lieven van der Heide, Cody Russell)
4719 2007-04-23 Matthias Clasen <mclasen@redhat.com>
4721 * modules/printbackends/cups/gtkprintbackendcups.c: Reduce
4722 the amount of debug spew if we are not debugging.
4724 2007-04-23 Michael Natterer <mitch@imendio.com>
4726 * tests/Makefile.am (testtooltips_SOURCES): fix typo:
4727 testtoooltips_SOURCES -> testtooltips_SOURCES.
4729 2007-04-19 Cody Russell <bratsche@gnome.org>
4731 * modules/engines/ms-windows/msw_style.c: Fix menuitem rendering
4732 for Windows Vista. (#392015, Hiroyuki Yamamoto)
4734 2007-04-19 Dominic Lachowicz <domlachowicz@gmail.com>
4736 * modules/engines/ms-windows/msw_style.c: Fix pixbuf leaks in
4737 non-WinXP rendering paths. From Daniel Atallah (#403470)
4739 2007-04-19 Matthias Clasen <mclasen@redhat.com>
4741 * gtk/gtkicontheme.h:
4742 * gtk/gtkicontheme.c: Add GTK_ICON_LOOKUP_GENERIC_FALLBACK
4743 icon lookup flag and implement it. (#396901, Luca Ferreti)
4745 2007-04-18 Richard Hult <richard@imendio.com>
4747 * gdk/quartz/gdkwindow-quartz.c:
4748 (gdk_window_quartz_process_updates_internal),
4749 (gdk_window_quartz_process_all_updates),
4750 (gdk_window_impl_quartz_process_updates): Refactor the process
4751 updates functions to share code between them. Also fixes bug
4752 #427660 by not updating larger regions than necessary.
4754 2007-04-18 Matthias Clasen <mclasen@redhat.com>
4756 * gdk/gdkregion-generic.h (GROWREGION): Handle the case
4757 of nRects == 0 correctly.
4759 2007-04-18 Emmanuele Bassi <ebassi@gnome.org>
4761 * gtk/gtkrecentmanager.c (gtk_recent_manager_lookup_item): Fix
4762 a leak by not increasing the refcount of the GtkRecentInfo
4763 object when returning it (thanks to Matthias Clasen).
4765 2007-04-16 Alexander Larsson <alexl@redhat.com>
4767 * gtk/gtkprintoperation.c (gtk_print_operation_run):
4768 Make async print preview work by actually starting
4769 the print process in that case (#424168)
4771 2007-04-14 Yevgen Muntyan <muntyan@tamu.edu>
4773 * gtk/gtkselection.c (selection_get_text_plain): fixed
4774 wrong g_convert_with_fallback() call which caused
4775 gtk_selection_data_get_text() return invalid UTF-8 for
4776 non-ASCII text in text/plain selection (#382824).
4778 2007-04-12 Jakub Steiner <jimmac@ximian.com>
4780 * gtk/stock-icons/*: update the stock icons to follow the Tango
4783 2007-04-11 Chris Wilson <chris@chris-wilson.co.uk>
4785 * gtk/gtkiconfactory.c (_gtk_icon_factory_list_ids):
4786 * gtk/gtkstock.c (gtk_stock_list_ids):
4787 Switch over to use glib's new g_hash_table_get_keys() rather
4788 than our own static implementation.
4790 * gtk/gtkiconfactory.h: Update to return a GList.
4792 * configure.in: Bump required version to 2.13.1
4794 2007-04-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4796 * gdk/quartz/gdkeventloop-quartz.c: Protect the polling thread
4797 setup and shutdown function by mutexes and read the wakeup
4798 pipe unconditionally and unblocking. This should make the main
4799 loop always be woken up when using g_idle_add() from another
4800 thread in the Quartz backend (#425271).
4802 2007-04-10 Matthias Clasen <mclasen@redhat.com>
4804 * gdk/x11/xsettings-client.[hc]: Change the XSettingsWatchFunc
4805 to return a Bool to indicate success. Update callers and
4806 implementors. Based on a patch by Owen Taylor.
4808 * gdk/x11/gdkevents-x11.c (gdk_xsettings_watch_cb): Don't
4809 leak a reference to gdkwin.
4811 2007-04-07 Xan Lopez <xan@gnome.org>
4813 * gtk/gtknotebook.c (gtk_notebook_class_init):
4814 s/arrow-size/arrow-spacing in the arrow-spacing
4815 style property docs.
4817 2007-04-06 Richard Hult <richard@imendio.com>
4819 * gdk/quartz/: Clean up namespaces to make the code more
4822 * gdk/quartz/gdkdrawable-quartz.c:
4823 * gdk/quartz/gdkgc-quartz.c: Fix bug #418384, alignment of tiled
4824 images, by setting the pattern phase for the CG pattern.
4826 2007-04-04 Kristian Rietveld <kris@imendio.com>
4828 * gtk/gtktooltip.c (tooltip_browse_mode_expired),
4829 (gtk_tooltip_hide_tooltip), (tooltip_popup_timeout),
4830 (gtk_tooltip_start_delay): use new gdk_threads API.
4832 2007-04-03 Behdad Esfahbod <behdad@gnome.org>
4834 * gtk/gtksettings.c (settings_update_font_options): Don't set
4835 metrics-hinting font option. Rely on the default value which is
4836 on for all raster cairo surfaces. (#425985)
4838 2007-04-03 Loïc Minier <lool@dooz.org>
4840 * gdk/x11/gdkscreen-x11.c: (check_xfree_xinerama): Revert to
4841 non-xinerama mode when XineramaQueryScreens returns NULL; patch from
4842 Simon McVittie; #425786.
4844 2007-04-02 Michael Natterer <mitch@imendio.com>
4846 * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): remove
4847 artifact from the time when type checking casts warned on NULL,
4848 some whitespace cleanup.
4850 2007-04-01 Cody Russell <bratsche@gnome.org>
4852 * modules/engines/ms-windows/msw_style.c: Fix rendering of
4853 notebook tabs when they are bottom-oriented. Fixes #399253.
4855 2007-03-31 Elijah Newren <newren gmail com>
4857 * gdk/x11/gdkwindow-x11.c (setup_toplevel_window,
4858 gdk_x11_window_set_user_time):
4859 Patch from Matthias to add support for the
4860 _NET_WM_USER_TIME_WINDOW EWMH protocol; see #354213.
4862 WARNING: This patch will make metacity <= 2.18.0 freeze on
4863 workspace switch. This is due to a weird problem that should only
4864 affect window managers using gdk in-process for decoration drawing
4865 and which make an unsafe assumption relating to doing so (i.e. it
4866 should only affect metacity). Upgrade your version of metacity if
4869 2007-03-29 Michael Natterer <mitch@imendio.com>
4871 Don't close menus on clicks on their border area (bug #423761).
4872 (modified patch from maemo-gtk).
4874 * gtk/gtkmenu.c (gtk_menu_button_press)
4875 (gtk_menu_button_release): bail out early if the click was on the
4876 menu's border (not on any item and not outside the window).
4878 (pointer_in_menu_window): new utility function which checks if
4879 passed root coords are inside the menu_shell or one of its
4882 2007-03-29 Michael Natterer <mitch@imendio.com>
4884 * gtk/gtkmenu.c: get rid of local GtkSettings variables by moving
4885 gtk_widget_get_settings() into the g_object_get() call. Some small
4888 2007-03-28 Matthias Clasen <mclasen@redhat.com>
4890 * modules/printbackends/cups/gtkcupsutils.[hc]:
4891 * modules/printbackends/cups/gtkprintbackendcups.c: Apply
4892 a patch by John Palmieri to make the cups print backend support
4895 2007-03-28 Kristian Rietveld <kris@imendio.com>
4897 * gtk/gtkwidget.c (gtk_widget_set_tooltip_window): don't unref
4898 tooltip_window, since this is handled by set_qdata_full() already.
4899 (#412001, Torsten Schoenfeld).
4901 2007-03-27 Tor Lillqvist <tml@novell.com>
4903 * modules/input/Makefile.am: Use LDADDS for im-multipress.la, too:
4905 2007-03-26 Christian Persch <chpe@gnome.org>
4907 * gtk/gtkrc.c: (gtk_rc_context_get): Initialise variable. Bug #423064.
4909 2007-03-24 Kristian Rietveld <kris@gtk.org>
4911 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
4912 calculate the depth with the corrected real_cell_area and don't
4913 subtract horizontal_separator/2.
4915 2007-03-24 Andreas Nilsson <andreas@andreasn.se>
4918 * gtk-no: More Tango love.
4920 2007-03-23 Jakub Steiner <jimmac@ximian.com>
4922 * gtk-dialog-authentication.svg
4923 * gtk-dialog-error.svg
4924 * gtk-dialog-info.svg
4925 * gtk-dialog-question.svg
4926 * gtk-dialog-warning.svg: Start with a Tango face-lift.
4928 2007-03-23 Rodney Dawes <dobey@novell.com>
4930 * gtk/gtkicontheme.c: Fix a couple of comment typos (#421627)
4932 2007-03-23 Matthias Clasen <mclasen@redhat.com>
4934 * gtk/gtkfilechooserdefault.c: Add a keybinding (C-h) to
4935 toggle whether to show hidden files. (#344657,
4936 Wouter Bolsterlee, Priit Laes, et al)
4938 2007-03-23 Matthias Clasen <mclasen@redhat.com>
4940 * gtk/gtkfilechooserdefault.c: Add a keybinding (C-l) to
4941 toggle the visibility of the location entry. (#383354,
4942 John Pye, patch by Carlos Garnacho)
4944 2007-03-22 Matthias Clasen <mclasen@redhat.com>
4946 * gtk/gtksettings.c (merge_color_scheme): Freeze property
4948 * gtk/gtksettings.c (_gtk_settings_handle_event): Handle
4949 the gtk-color-scheme xsetting being unset.
4951 * gtk/gtkrc.c (gtk_rc_reparse_all_for_settings): Handle
4954 2007-03-21 Matthias Clasen <mclasen@redhat.com>
4956 * gtk/gtkprintoperation-unix.c: Remove leftover debug spew.
4958 2007-03-21 Rodney Dawes <dobey@novell.com>
4961 * gtk/gtkicontheme.[ch]:
4962 * docs/reference/gtk/gtk-sections.txt:
4963 * tests/testicontheme.c:
4964 Add a new API call gtk_icon_theme_list_contexts so that one can
4965 choose icons from a theme by context (#420719)
4967 2007-03-21 Ross Burton <ross@burtonini.com>
4970 Document the ::event signal (#420703).
4972 2007-03-20 Kristian Rietveld <kris@gtk.org>
4974 * gtk/gtktreeviewcolumn.c:
4975 * gtk/gtktreeprivate.h: add _gtk_tree_view_column_get_focus_area().
4977 * gtk/gtktreeview.c (gtk_tree_view_clamp_column_visible): add
4978 focus_to_cell parameter, rework to handle clamping columns which
4979 are bigger than the available page size better,
4980 (gtk_tree_view_key_press): remove code handling moving the focus
4981 to other column headers,
4982 (gtk_tree_view_header_focus): add clamp_column_visible parameter,
4983 fix RTL support, don't wrap around when moving focus to other
4984 column headers, call gtk_tree_view_clamp_column_visible() instead
4985 of duplicating code,
4986 (gtk_tree_view_focus): only clamp the column visible when we are
4987 explicitly moving to another column header (fixes #399555, Charles
4989 (gtk_tree_view_move_cursor_left_right): update call to
4990 gtk_tree_view_clamp_column_visible().
4992 2007-03-19 Matthias Clasen <mclasen@redhat.com>
4994 * demos/gtk-demo/appwindow.c: Explicitly set the title on the
4997 2007-03-18 Matthias Clasen <mclasen@redhat.com>
4999 * gtk/gtkentrycompletion.c (gtk_entry_completion_compute_prefix):
5000 Ensure that the prefix is valid UTF-8. (#419568, Nickolay V. Shmyrev)
5002 2007-03-18 Matthias Clasen <mclasen@redhat.com>
5004 * modules/input/gtkimcontextmultipress.[hc]:
5005 * modules/input/im-multipress.conf:
5006 * modules/input/immultipress.c:
5007 * modules/input/README.multipress: Add the multipress input
5008 method. (#417446, Johannes Schmid, Murray Cumming)
5010 * modules/input/Makefile.am: Glue
5012 2007-03-17 Chris Wilson <chris@chris-wilson.co.uk>
5014 * gdk/x11/gdkvisual-x11.c (_gdk_visual_init):
5015 Initialise nxvisuals to 0 in order to handle XGetVisualInfo()
5016 failures gracefully. (#419171)
5018 2007-03-17 Emmanuele Bassi <ebassi@gnome.org>
5020 * gtk/gtkrecentaction.c (recent_chooser_set_property),
5021 (gtk_recent_action_set_property): Remove useless inlined
5022 function and propagate the properties to the GtkRecentChooser
5023 objects we create, instead of all the proxies.
5025 (set_current_filter): Remove 'inline' marker.
5027 2007-03-16 Emmanuele Bassi <ebassi@gnome.org>
5029 Apply changes suggested by Michael Natterer. (#338843)
5032 * gtk/gtkaction.c: Rename get_submenu() to create_menu();
5033 rename gtk_action_get_submenu() to gtk_action_create_menu().
5035 * gtk/gtkrecentaction.c: Update for GtkAction change.
5037 * gtk/gtkuimanager.c (update_node): Update for GtkAction change;
5038 also, use the menu from the GtkAction for both menuitem and
5041 2007-03-16 Xan Lopez <xan@gnome.org>
5043 * gtk/gtkwidget.c: Fix documentation error in
5044 gtk_widget_set_redraw_on_allocate.
5046 2007-03-16 Matthias Clasen <mclasen@redhat.com>
5048 * gtk/gtkprintunixdialog.c (printer_added_cb): Scroll to
5049 make the selected printer visible. (#418403, Nickolay V. Shmyrev,
5050 patch by Christian Persch)
5052 2007-03-15 Federico Mena Quintero <federico@novell.com>
5054 Merged from gtk-2-10:
5056 * gtk/gtkfilechooserdefault.c (find_good_size_from_style):
5057 PANGO_PIXELS() gives us device units, which are *points* in
5058 pangocairo's parlance, but we want actual pixels. So, get the
5059 screen's resolution to compute the actual number of pixels.
5062 2007-03-15 Emmanuele Bassi <ebassi@gnome.org>
5064 * gtk/gtkrecentmanager.c (gtk_recent_manager_add_item): Remove
5065 unused GError; do not allocate GtkRecentData and use a variable
5066 on the stack. (#418673, Morten Welinder)
5068 2007-03-15 Emmanuele Bassi <ebassi@gnome.org>
5070 * gtk/gtkaction.[ch]: Add GtkActionClass::get_submenu() vfunc:
5071 actions providing a menu item or a menu tool button with already
5072 a submenu should return the GtkMenu widget.
5074 * gtk/gtkuimanager.c (update_node): If an action provides its
5075 own submenu, use it instead of adding an empty one
5077 * gtk/gtkrecentaction.[ch]: Add GtkRecentAction, an action
5078 implementing the GtkRecentChooser interface for displaying the
5079 list of recently used files into menus and toolbars generated
5080 using GtkUIManager. (#338843)
5084 * gtk/gtk.symbols: Add GtkRecentAction API to the build.
5086 * tests/testactions.c: Exercise the GtkRecentAction API.
5088 2007-03-15 Chris Wilson <chris@chris-wilson.co.uk>
5090 * gtk/gtkicontheme.c (ensure_valid_themes), (rescan_themes),
5091 (gtk_icon_theme_rescan_if_needed): Protect ensure_valid_themes()
5092 from recursion, which can happen for example if the app tries to
5093 reload an icon from within a theme-changed handler. (#418531)
5095 2007-03-15 Richard Hult <richard@imendio.com>
5097 * gdk/quartz/gdkmain-quartz.c: Add stubs for
5098 gdk_notify_startup_complete_with_id and gdk_window_set_startup_id
5101 2007-03-15 Emmanuele Bassi <ebassi@gnome.org>
5103 * gtk/gtkrecentmanager.c: Fix documentation errors. (Morten
5106 2007-03-15 Tor Lillqvist <tml@novell.com>
5108 * gdk/gdk.symbols: Add gdk_notify_startup_complete_with_id and
5109 gdk_window_set_startup_id.
5111 * gdk/win32/gdkmain-win32.c: Add dummy implementations of the above.
5113 2007-03-15 Emmanuele Bassi <ebassi@gnome.org>
5115 * gtk/gtkrecentchooserprivate.h:
5116 * gtk/gtkrecentchooserutils.c: Move filtering of the recent
5117 files list into the shared implementation; do the filtering
5118 before the sorting, so that we always clamp on the desired
5121 * gtk/gtkrecentchoosermenu.c: Remove the filtering of the
5122 list, as it's already been done.
5124 * gtk/gtkrecentchooserdefault.c: Ditto; also remove the
5125 GtkTreeModelFilter: just reload the view if the sorting and
5126 filtering properties change.
5128 * gtk/testrecentchoosermenu.c: Exercise the limit property.
5130 2007-03-14 Michael Natterer <mitch@imendio.com>
5132 Make gtk_widget_set_extension_events() work on already realized
5133 widgets (bug #379550, Tommi Komulainen)
5135 * gdk/x11/gdkinput.c (gdk_input_set_extension_events): allow to be
5136 called multiple times without leaking and work correctly when
5137 already realized (don't rely on a configure event following).
5139 * gtk/gtkwidget.c (gtk_widget_set_extension_events_internal): new
5140 internal function which walks the GdkWindow tree and sets the
5141 extension events on all windows that belong to the widget.
5143 (gtk_widget_realize)
5144 (gtk_widget_set_extension_events): use the new function.
5146 2007-03-14 Emmanuele Bassi <ebassi@gnome.org>
5148 Various clean ups in the GtkRecent code. (see #338843)
5150 * gtk/gtkrecentchooserdefault.c:
5151 * gtk/gtkrecentchoosermenu.c:
5152 * gtk/gtkrecentchooserprivate.h:
5153 * gtk/gtkrecentchooserutils.c: Move the recent chooser function
5154 for getting the sorted and clamped list of recent files from the
5155 manager outside the implementations.
5157 * gtk/gtkrecentchooserdefault.c (chooser_set_sort_type): Repopulate
5158 the list when the sorting order changes.
5160 (gtk_recent_chooser_default_dispose),
5161 (gtk_recent_chooser_default_finalize): Move object unref and
5162 source removal from finalize to dispose.
5164 * gtk/gtkrecentchooser.c (gtk_recent_chooser_type_init): Relax the
5165 prerequisite for the GtkRecentChooser interface implementations,
5166 from GtkObject to GObject.
5168 (gtk_recent_chooser_class_init): Use GTK_PARAM_* instead of
5171 2007-03-13 Emmanuele Bassi <ebassi@gnome.org>
5173 Apply patch by Vytautas Liuolia for changing the startup
5174 notification id on a window in the X11 backend. (#347375)
5178 * gdk/x11/gdkdisplay-x11.c: Add gdk_notify_startup_complete_with_id()
5179 and gdk_x11_display_get_startup_notification_id().
5182 * gdk/x11/gdkwindow-x11.c: Add gdk_window_set_startup_id().
5185 * gtk/gtkwindow.c: Add gtk_window_set_startup_id(), used to
5186 change the startup notification id.
5188 (gtk_window_class_init), (gtk_window_init),
5189 (gtk_window_set_property): Add write-only "startup-id" property
5192 (gtk_window_realize): Set the startup notification id
5193 on a GtkWindow if it's valid.
5195 (gtk_window_map): If we have another valid startup notification
5196 id then finish the notification process.
5198 2007-03-13 Matthias Clasen <mclasen@redhat.com>
5200 * gtk/gtknotebook.c (gtk_notebook_real_insert_page):
5201 Fix tabbed browsing in epiphany. (#413664, Christian Persch)
5203 2007-03-12 Matthias Clasen <mclasen@redhat.com>
5205 * gtk/gtksizegroup.c (gtk_size_group_add_widget): Clarify
5206 docs. (#345844, Torsten Schoenfeld)
5208 * gdk/x11/gdkevents-x11.c (gdk_display_add_client_message_filter):
5209 * gdk/gdkwindow.c (gdk_window_add_filter): Add
5210 cross-references. (#351252, Vincent Untz)
5212 * gtk/gtkprintoperation.c: Fix an oversight in an
5213 example. (#381083, Ian Puleston)
5215 * gtk/gtkcombobox.c: Clean up and clarify docs. (#412484)
5217 2007-03-12 Matthias Clasen <mclasen@redhat.com>
5219 * gtk/gtkspinbutton.c (gtk_spin_button_style_set): Set
5220 the background of the panel window on style changes. (#402144,
5223 2007-03-12 Matthias Clasen <mclasen@redhat.com>
5225 * gtk/gtkbindings.c (gtk_binding_entry_add_signal): Remove
5226 an obsolete comment. (#402169, Xan Lopez)
5228 2007-03-12 Matthias Clasen <mclasen@redhat.com>
5230 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_property):
5231 Don't copy PangoLanguage. (#340031, Morten Welinder)
5233 2007-03-12 Matthias Clasen <mclasen@redhat.com>
5235 * gtk/gtkfilechooserbutton.c (change_icon_theme_get_info_cb):
5236 Handle the row reference path being NULL. (#410565, Joe Markus
5237 Clarke, patch by Chris Wilson)
5239 2007-03-11 Matthias Clasen <mclasen@redhat.com>
5241 * tests/testiconview.c: Handle Menu key presses without
5242 crash. (#385637, Christian Persch)
5244 2007-03-11 Matthias Clasen <mclasen@redhat.com>
5246 * gtk/gtktooltips.c (gtk_tooltips_get_info_from_tip_window):
5247 Don't crash if active_tips_data is NULL. (#382904, Li Yuan)
5249 2007-03-11 Matthias Clasen <mclasen@redhat.com>
5251 * gtk/gtktextview.c (gtk_text_view_set_buffer): Set first_para_mark
5252 to NULL. (#396805, Colin Leroy, patch by Mariano Suárez-Alvarez)
5254 2007-03-12 Kristian Rietveld <kris@gtk.org>
5256 * gtk/gtkfilechooserdefault.c (check_save_entry): immediately
5257 bail out if current_folder is NULL. (#350988, lots of reporters,
5258 modified patch by Jan Darmochwal).
5260 2007-03-10 Kristian Rietveld <kris@gtk.org>
5262 * gtk/gtktreeview.c (gtk_tree_view_search_dialog_hide): only
5263 hide the search dialog and send focus events if the search dialog
5264 is currently visible.
5266 2007-03-10 Richard Hult <richard@imendio.com>
5268 * gdk/quartz/gdkdrawable-quartz.c:
5269 (gdk_quartz_ref_cairo_surface): Reuse the surface during its lifetime.
5270 (gdk_quartz_drawable_get_context): Update for the new quartz cairo
5271 surface API (#410442). Don't lock focus unless called outside of an
5273 (gdk_quartz_drawable_release_context): Only flush the CG context and
5274 unlock focus if called outside of expose.
5275 (_gdk_quartz_drawable_finish): New function, used to free the cached
5278 * gdk/quartz/gdkwindow-quartz.c:
5279 (gdk_window_impl_quartz_begin_paint_region): A few small style changes.
5280 (_gdk_window_impl_quartz_get_type): No need to make the type info
5282 (gdk_window_quartz_process_all_updates): Move the autorelease pool
5283 allocation and freeing outside the loop.
5284 (_gdk_windowing_window_destroy): Finish the drawable.
5285 (move_resize_window_internal): Small cleanup and remove comment.
5287 * gdk/quartz/gdkpixmap-quartz.c: Finish the drawable.
5289 2007-03-10 Richard Hult <richard@imendio.com>
5291 * gdk/quartz/gdkprivate-quartz.h: Add missing function signature to fix
5294 2007-03-10 Richard Hult <richard@imendio.com>
5296 * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_get_name): Plug a leak.
5298 2007-03-10 Richard Hult <richard@imendio.com>
5300 * gdk/quartz/GdkQuartzView.c: Remove unneccesary exposure mask check.
5302 2007-03-10 Richard Hult <richard@imendio.com>
5304 * gdk/quartz/gdkevents-quartz.c: (gdk_screen_get_setting): Don't set
5305 the font name here, leave that to themes, fixes #387508.
5307 2007-03-10 Kristian Rietveld <kris@gtk.org>
5309 * gtk/gtktreemodelsort.c (gtk_tree_model_sort_ref_node),
5310 (gtk_tree_model_sort_real_unref_node): when (un)reffing an
5311 element, also (un)ref its parent elements. (Fixes #364946,
5312 reported by many, testcase by Andreas Koehler).
5314 2007-03-10 Matthias Clasen <mclasen@redhat.com>
5316 * gtk/gtkprintoperation-unix.c: Initialize the do_preview
5317 field of PrintResponseData. (#396703, Christian Persch)
5319 * tests/print-editor.c: Plug some leaks.
5321 2007-03-09 Matthias Clasen <mclasen@redhat.com>
5323 * gtk/gtktextview.c (gtk_text_view_end_selection_drag):
5324 Get rid of the unused event argument. Update all callers.
5326 * gtk/gtktextview.c (gtk_text_view_focus_out): Call
5327 gtk_text_view_end_selection_drag. (#351671, Boyd Timothy)
5329 2007-03-09 Matthias Clasen <mclasen@redhat.com>
5331 * modules/input/gtkimcontextxim.c
5332 (gtk_im_context_xim_filter_keypress): Don't commit
5333 modifier-adorned characters. (#331369, #335796, Lin Ma
5336 2007-03-09 Matthias Clasen <mclasen@redhat.com>
5338 * Everywhere: Remove unnecessary NULL checks before
5339 g_free(). (#369666, Morten Welinder, Djihed Afifi)
5341 * configure.in: Check for ftw.h
5343 2007-03-09 Matthias Clasen <mclasen@redhat.com>
5345 * gtk/gtkfilesystemwin32.c (get_icon_path): Remove
5346 C99isms. (#416525, Kazuki Iwamoto)
5348 2007-03-09 Tor Lillqvist <tml@novell.com>
5350 * README.win32: Update.
5352 2007-03-08 Matthias Clasen <mclasen@redhat.com>
5354 * gdk/x11/gdkasync.c (send_event_handler): Defer the callbacks
5355 to an idle to avoid deadlock with xcb-ified libX11. (#413032,
5358 2007-03-08 Matthias Clasen <mclasen@redhat.com>
5360 * gtk/gtknotebook.c (gtk_notebook_real_insert_page):
5361 Set child visibility to FALSE here; it will be turned
5362 back on in switch_page. (#413664, Carlos Garnacho)
5364 2007-03-08 Mathias Hasselmann <mathias.hasselmann@gmx.de>
5366 * modules/engines/ms-windows/msw_style.c: Use proper border style
5367 when drawing shadow of scrolled windows on Windows XP (#168326)
5368 * modules/engines/ms-windows/xp_theme.c: Explicitly set size of
5369 element_part_map array to ensure it always is large enough.
5371 2007-03-08 Mathias Hasselmann <mathias.hasselmann@gmx.de>
5373 * gtk/gtkcombobox.c: Add shadow-type style property, set shadow-type
5374 property of GtkEntry accordingly, unify size-allocation of toggle
5375 button (#411123, patch from Mathias Hasselmann).
5376 * gtk/gtkentry.c: Add shadow-type property. Query style properties
5377 on style changes only (#411123, patch from Mathias Hasselmann).
5378 * modules/engines/ms-windows/msw_style.c: Drop combo_box_draw_box
5379 hack as GtkComboBox emits drawing requests now (#411123, patch
5380 from Mathias Hasselmann).
5382 2007-03-08 Mathias Hasselmann <mathias.hasselmann@gmx.de>
5384 * gtk/gtkscrolledindow.c: Improve look of GtkScrolledWindow on Windows
5385 by implementing a scrollbars-within-bevel style property. (#168326)
5387 2007-03-08 Mathias Hasselmann <mathias.hasselmann@gmx.de>
5389 * gtk/gtkfilesystemwin32.c: Use Windows shell icons. Icons are
5390 stored in the current theme with the name
5391 "gtk-win32-shell-icon;PATH;INDEX". PATH and INDEX reference shell
5392 icons as reported by SHGetFileInfoW. (#412221)
5394 2007-03-07 Matthias Clasen <mclasen@redhat.com>
5396 * gtk/gtkexpander.c (gtk_expander_paint_focus): Draw the
5397 focus around the arrow if there is no label widget.
5398 (#124045, Cody Russell)
5400 2007-03-07 Matthias Clasen <mclasen@redhat.com>
5402 * gtk/gtkcombo.c: (gtk_combo_init):
5403 * gtk/gtkcombobox.c: (gtk_combo_box_set_popup_widget),
5404 (gtk_combo_box_menu_setup):
5405 Set names on the popup widgets to make them themable. (#414975,
5408 2007-03-07 Michael Natterer <mitch@imendio.com>
5410 * gtk/gtkcellrendereraccel.c: use multihead safe ungrab functions
5411 instead of gdk_keyboard_ungrab() and gdk_pointer_ungrab(), remove
5412 empty finalize() implementation, some cosmetic cleanup
5415 2007-03-06 Chris Wilson <chris@chris-wilson.co.uk>
5417 * gtk/gtkicontheme.c (update_current_theme), (gtk_icon_theme_init),
5418 (do_theme_change), (gtk_icon_theme_set_custom_theme),
5420 Be careful not to trigger a style reset before we have loaded
5421 the icon theme. (#414875).
5423 2007-03-06 Tor Lillqvist <tml@novell.com>
5426 * gtk/Makefile.am: Further fixes for building on Win32 outside
5427 srcdir. (#413492, Mathias Hasselmann)
5429 2007-03-04 Ihar Hrachyshka <iharh@gnome.org>
5431 * configure.in: Added be@latin to ALL_LINGUAS. Problems seems to be
5434 2007-03-04 Claudio Saavedra <csaavedra@alumnos.utalca.cl>
5436 * configure.in: Removed be@latin from ALL_LINGUAS, as it's currently
5439 2007-03-04 Ihar Hrachyshka <iharh@gnome.org>
5441 * configure.in: Added be@latin to ALL_LINGUAS
5443 2007-03-03 Guillaume Savaton <llumeao@gmail.com>
5445 * configure.in: Added Esperanto (eo) to ALL_LINGUAS
5447 2007-03-01 Matthias Clasen <mclasen@redhat.com>
5449 * gtk/gtksettings.c: Always store gtk-color-scheme
5450 values from all sources in the ColorSchemeData struct
5451 and ignore the property_value for gtk-color-scheme.
5452 This fixes #412596, reported by Thomas Wood.
5454 2007-02-28 Matthias Clasen <mclasen@redhat.com>
5456 * gtk/gtksettings.c: Make color scheme update properly
5457 when changing themes. (#402131, Benjamin Berg)
5459 2007-02-28 Matthias Clasen <mclasen@redhat.com>
5461 * gtk/gtkrc.c: Don't leak references to the color-hash
5462 gotten from GtkSettings. (#409357, Benjamin Berg)
5464 2007-02-28 Tristan Van Berkom <tvb@gnome.org>
5466 * gtk/gtkradiobutton.c: Fixed a warning from
5467 g_object_set (radiobutton, "group", NULL, NULL).
5469 2007-02-26 Matthias Clasen <mclasen@redhat.com>
5471 Apply a patch by Carlos Garnacho to fix several problems
5472 with filechooser size handling (#325477, #151169, 143213,
5475 * gtk/gtkfilechooserdefault.c: Increase NUM_LINES slightly.
5476 (browse_widgets_create): Don't force the paned position to 200.
5477 (find_good_size_from_style): Take the size of the extra widget
5480 * gtk/gtkfilechooserdialog.c (file_chooser_widget_update_hints):
5481 Accept a minimal width parameter. Update all callers.
5483 2007-02-26 Matthias Clasen <mclasen@redhat.com>
5485 * gtk/gtkprintunixdialog.c: Change the label to "Pages per side",
5486 which is more accurate, suggested by Tim Waugh. String change!
5488 2007-02-26 Matthias Clasen <mclasen@redhat.com>
5490 * gtk/gtkprinteroptionwidget.c: Make the folder selection for
5491 print-to-file work. Reported by Ian Collier.
5493 2007-02-26 Chris Wilson <chris@chris-wilson.co.uk>
5495 Bug 409101 – invalid read to gtkicontheme.c insert_theme(), might cause gnome-panel crash
5497 * gtk/gtkicontheme.c: (scan_directory):
5498 Reorder the replacement of the shared base_name key, so that we
5499 avoid dereferencing the string in the icon_theme->all_icon
5500 hash table after freeing it from the dir->icons hash table.
5502 2007-02-26 Tor Lillqvist <tml@novell.com>
5504 * gdk/win32/gdkwindow-win32.c (gdk_window_set_icon_name): Add
5505 comment clarifying that "icon name" here is not related to the
5506 freedesktop.org icon naming stuff.
5508 2007-02-23 Dom Lachowicz <domlachowicz@gmail.com>
5510 * modules/engines/ms-windows/msw_style.c: Bug 411118 - bad bevel for
5511 progress bar on windows classic. Match from Mathias Hasselmann.
5513 2007-02-19 Tor Lillqvist <tml@novell.com>
5515 * gdk/win32/gdkinput.c
5516 (gdk_device_finalize, gdk_device_class_init): Remove.
5517 (gdk_device_get_type): Drop class init function. The X11 version
5518 doesn't have one either.
5519 (gdk_devices_list): Call gdk_display_list_devices() on _gdk_display.
5520 (gdk_display_list_devices): Check that the argument is
5523 * gdk/win32/gdkinput-win32.h (GdkAxisInfo, GdkDevicePrivate):
5524 Cleanup: remove unused fields.
5525 * gdk/win32/gdkinput-win32.c: Corresponding changes. Fix function
5526 names in a few debugging printouts.
5528 2007-02-18 Matthias Clasen <mclasen@redhat.com>
5530 * gtk/gtktextlayout.c (gtk_text_layout_move_iter_visually):
5531 Ignore invisible text when going to end of the previous line.
5534 2007-02-18 Richard Hult <richard@imendio.com>
5536 * gdk/quartz/gdkwindow-quartz.c:
5537 (gdk_window_quartz_process_all_updates),
5538 (_gdk_windowing_window_destroy): Setup release pools to plug two leaks,
5539 patch from Erik van Pienbroek, fixes bug #396649.
5541 2007-02-18 Richard Hult <richard@imendio.com>
5543 * gdk/quartz/gdkevents-quartz.c: Add stub for
5544 gdk_display_add_client_message_filter, patch from Taybin Rutkin. Fixes
5547 * gdk/quartz/gdkprivate-quartz.h: Add prototypes to fix build warnings.
5549 2007-02-18 Richard Hult <richard@imendio.com>
5551 * gdk/quartz/GdkQuartzView.h:
5552 * gdk/quartz/GdkQuartzWindow.h:
5553 * gdk/quartz/gdkquartz.h: Import AppKit.h instead of Quartz.h.
5554 * gdk/quartz/gdkscreen-quartz.c: (get_mm_from_pixels): Don't use
5555 userSpaceScaleFactor for 10.3. Those changes bring us closer to working
5556 on panther, patch from Mathias Hasselmann.
5558 * gdk/quartz/gdkeventloop-quartz.c: Add includes to fix build warnings.
5560 2007-02-16 Behdad Esfahbod <behdad@gnome.org>
5562 * gdk/gdkpango.c (gdk_pango_layout_get_clip_region): Use PANGO_PIXELS
5563 instead of division. (#334617)
5565 2007-02-16 Kristian Rietveld <kris@gtk.org>
5567 * gtk/gtktreeprivate.h: add cursor_offset field.
5569 * gtk/gtktreeview.c (gtk_tree_view_init),
5570 (gtk_tree_view_move_cursor_page_up_down): fix off by one error
5571 in page up/down handling by memorizing the offset into the cursor
5572 row. (Fixes #399809, reported by Bruce Bowler).
5574 2007-02-16 Kristian Rietveld <kris@gtk.org>
5576 * gtk/gtktreeview.c (gtk_tree_view_search_dialog_hide): send
5577 a focus-in event to the tree view after hiding the search dialog.
5578 (#356515, Rich Burridge, Peter Parente).
5580 2007-02-16 Kristian Rietveld <kris@imendio.com>
5582 * tests/testtooltips.c (query_tooltip_text_view_cb): also handle
5583 keyboard tooltips. (#408325, Matthias Clasen).
5585 2007-02-16 Xan Lopez <xan@gnome.org>
5587 * gtk/gtkcombobox.c (gtk_combo_box_expose_event): Cleanup the logic
5588 in expose event handler. Reviewed by Matthias Clasen, #406112
5590 2007-02-16 Matthias Clasen <mclasen@redhat.com>
5592 * gtk/gtkmain.c: Run pre_parse_hook only once. (#403139, Kjartan
5595 2007-02-15 Matthias Clasen <mclasen@redhat.com>
5597 * gdk/x11/gdmain-x11.c (_gdk_xgrab_check_button_event): Be more
5598 careful when checking for ButtonRelease events that end implicit
5599 grabs. (#386618, Christof Krüger)
5601 2007-02-15 Matthias Clasen <mclasen@redhat.com>
5603 * gtk/gtktextbtree.c (_gtk_text_btree_delete): Free the lines
5604 even if there are no views. (#408018, Albert Huang)
5606 2007-02-15 Cody Russell <bratsche@gnome.org>
5608 * gdk/win32/gdkevents-win32.c: Make sure we get enough main context
5609 iterations while we're resizing so that the window contents are resized
5610 more smoothly (#389765).
5612 * gdk/win32/gdkevents-win32.c: Fix flickering widgets when window contents
5613 are resized (#310522).
5615 2007-02-15 Matthias Clasen <mclasen@redhat.com>
5617 * gtk/updateiconcache.c: Handle symlinked .icon files
5618 intelligently; also avoid storing duplicate strings.
5620 2007-02-15 Michael Natterer <mitch@imendio.com>
5622 * gtk/gtkmenushell.c: remove two antique function typedefs that
5623 are probably obsolete for ages.
5625 2007-02-14 Stefan Kost <ensonic@users.sf.net>
5627 reviewed by: Matthias Clasen <mclasen@redhat.com>
5629 * configure.in: determine installation prefixes of dependent libs to
5630 crossreference docs (#407146).
5632 2007-02-14 Kristian Rietveld <kris@imendio.com>
5634 * gtk/gtktooltip.c (child_location_foreach): check return value
5635 of gtk_widget_translate_coordinates() so we cannot end up
5636 using uninitialized x, y values. (#407863, patch from Carlos
5639 2007-02-14 Kristian Rietveld <kris@imendio.com>
5641 * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_realize_button):
5642 use TREE_VIEW_DRAG_WIDTH/2 when calculating the drag window
5643 position instead of a hardcoded value. (Taken from maemo-gtk).
5645 2007-02-14 Michael Natterer <mitch@imendio.com>
5647 * gtk/gtkmenu.c (gtk_menu_motion_notify): don't forget to set the
5648 state of the synthesized GDK_ENTER_NOTIFY event. Fix taken from
5651 2007-02-13 Kristian Rietveld <kris@imendio.com>
5653 * gtk/gtktooltip.c (gtk_tooltip_hide_tooltip): stop any
5654 pending tooltip timeout. (Fixes #406110, Carlos Garnacho).
5656 2007-02-10 Emmanuele Bassi <ebassi@gnome.org>
5658 * gtk/gtkrecentchoosermenu.c: Fix the english of the comment;
5659 remove some type checking; use better variable naming for the
5660 internal menu item markers.
5662 2007-02-09 Emmanuele Bassi <ebassi@gnome.org>
5664 * gtk/gtkrecentchoosermenu.c: Add support for both prepending
5665 and appending custom menu items.
5667 (gtk_recent_chooser_menu_constructor): Add a placeholder menu
5668 item for the empty menu case, and for giving us a starting
5669 point for the recent items populating process.
5671 (gtk_recent_chooser_menu_insert_item),
5672 (gtk_recent_chooser_menu_dispose_items): Insert an item at
5673 the position following the placeholder (and find that position
5676 (idle_populate_func), (idle_populate_clean_up): Show the
5677 placeholder menu item, instead of creating one each time.
5679 (gtk_recent_chooser_menu_populate): Kill some indirections
5680 and hide the placeholder before populating the menu.
5682 (set_recent_manager): Remember to remove the idle population
5683 source if the manager changes.
5685 * tests/testrecentchoosermenu.c: Test the appending and
5686 prepending of the menu items to the recent chooser menu
5689 2007-02-08 Emmanuele Bassi <ebassi@gnome.org>
5691 * gtk/gtkrecentchoosermenu.c (idle_populate_func): Keep count
5692 of the displayed items to build the menu items mnemonic instead
5693 of the overall item count. (#377164)
5695 (idle_populate_clean_up): Append a menu item if all the items
5696 got filtered in the idle populate function. (#405696)
5698 * tests/Makefile.am:
5699 * tests/testrecentchoosermenu.c: Add a test for the
5700 GtkRecentChooserMenu widget.
5702 Thu Feb 8 13:07:08 2007 Tim Janik <timj@imendio.com>
5704 * applied patch from Xan Lopez which adds GTK_BUTTONBOX_CENTER to
5705 GtkButtonBox (bug #336159).
5708 * gtk/gtkvbbox.c, gtk/gtkhbbox.c, gtk/gtkbbox.c:
5709 support GTK_BUTTONBOX_CENTER.
5711 * tests/testbbox.c: new button box test, which allows testing of
5712 the various button box properties.
5714 * tests/testgtk.c: added GTK_BUTTONBOX_CENTER. to button box test.
5716 2007-02-07 Cody Russell <bratsche@gnome.org>
5718 * gdk/gdk.symbols: Add gdk_event_request_motions
5720 Wed Feb 7 19:03:28 2007 Tim Janik <timj@gtk.org>
5722 * gtk/gtkentry.c (gtk_entry_motion_notify): fixed motion request
5723 condition which was wrongly ported with my last commit.
5725 Tue Feb 6 15:53:59 2007 Tim Janik <timj@imendio.com>
5727 * gtk/gtktextview.c (gtk_text_view_motion_event):
5728 * gtk/gtkspinbutton.c (gtk_spin_button_motion_notify):
5729 * gtk/gtkaboutdialog.c (credits_motion_notify_event):
5730 * gtk/gtkhruler.c (gtk_hruler_motion_notify):
5731 * gtk/gtkvruler.c (gtk_vruler_motion_notify):
5732 * gtk/gtkentry.c (gtk_entry_motion_notify):
5733 * gtk/gtktooltip.c (_gtk_tooltip_handle_event):
5734 * gtk/gtkhsv.c (gtk_hsv_motion): call gdk_event_request_motions()
5735 for new motion events after receiving motion hints.
5737 * gdk/gdkevents.[hc]: added gdk_event_request_motions().
5739 2007-02-06 Kristian Rietveld <kris@imendio.com>
5741 * gtk/gtktooltip.c (find_topmost_widget_coords_from_event):
5742 remove unused get of has_tooltip.
5744 * tests/testtooltips.c (query_tooltip_tree_view_cb): use the
5745 portable g_snprintf instead of snprintf.
5747 2007-02-06 Michael Natterer <mitch@imendio.com>
5749 * gtk/gtktooltip.c (gtk_tooltip_finalize): chain up.
5751 (gtk_tooltip_show_tooltip): move variables and code to local
5752 scope. Fixes warnings about maybe uninitialized variables.
5754 2007-02-06 Kristian Rietveld <kris@imendio.com>
5760 * gtk/gtk.symbols: build system foo.
5762 * gtk/gtkmain.c (gtk_main_do_event): call tooltip event handler
5763 hook for appropriate events.
5765 * gtk/gtkmarshalers.list: add BOOLEAN:INT,INT,BOOLEAN,OBJECT.
5767 * gtk/gtkrc.c: add style for gtk-tooltip.
5769 * gtk/gtksettings.c (gtk_settings_class_init): make the
5770 different tooltip timeouts configurable.
5772 * gtk/gtkwidget.[ch]: add new properties, signals, make sure
5773 tooltips are hidden on unmap, destroy, update window event
5774 mask on realize, hook into focus change and show help
5777 * gtk/gtkwindow.h: move GtkWindow typdef to gtkwidget.h ...
5779 * gtk/gtktooltip.[ch]: new files.
5782 * tests/testtooltips.c: add test application.
5784 2007-02-05 Dom Lachowicz <domlachowicz@gmail.com>
5786 * modules/engines/ms-windows/msw_style.c: Fix bug 404506, caused
5787 by prematurely releasing a DC. By Hiroyuki Yamamoto
5788 * modules/engines/ms-windows/msw_style.c: Fix bug 403470 - leaking
5789 pixbufs when drawing rotated tabs. By Daniel Atallah
5791 2007-02-05 Michael Natterer <mitch@imendio.com>
5793 * gtk/gtksettings.c: add new boolean settings gtk-enable-accels
5794 and gtk-enable-mnemonics which enable/disable accelerators and
5795 mnemonics (bug #72375, based on a patch from Tommi Komulainen).
5797 * gtk/gtkwindow.c (gtk_window_activate_key)
5798 * gtk/gtkmenushell.c (gtk_menu_shell_key_press): don't invoke them
5799 if the resp. setting is FALSE.
5801 * gtk/gtkaccellabel.c (gtk_accel_label_refetch)
5802 * gtk/gtklabel.c (gtk_label_set_pattern_internal): don't display
5803 them if the setting is FALSE.
5805 * gtk/gtklabel.c: added signal connection to the screen's settings
5806 object and traverse all widgets on the screen when the setting
5807 changes. It's slightly ugly to also update GtkAccelLabels here,
5808 but less ugly than connecting and traversing all widgets twice.
5810 2007-02-05 Michael Natterer <mitch@imendio.com>
5812 * gtk/gtktextbuffer.h (enum GtkTextBufferTargetInfo): changed
5813 values from G_MAXUINT-0, -1, -2 to -1, -2, -3 so we stay within
5814 ansi C enum value limits. Fixes bug #46757.
5816 2007-02-03 Soren Sandmann <sandmann@daimi.au.dk>
5818 * gtk/gtksequence.[ch]: Remove these files since GSequence has
5819 been moved into GLib.
5821 * gtk/gtkliststore.c: Port to GSequence instead of GtkSequence.
5823 * configure.in: Require glib-2.13.0
5825 2007-02-04 Tor Lillqvist <tml@novell.com>
5827 * gdk/win32/gdkcursor-win32.c: Don't define BITMAPV5HEADER on
5828 mingw with w32api >= 3.8, which has it in wingdi.h. (#403896)
5830 2007-02-02 Kristian Rietveld <kris@gtk.org>
5832 * gtk/gtktreeview.c (gtk_tree_view_row_changed): remove unused
5833 style_get of vertical-separator. (#403165, Chris Wilson).
5835 2007-02-02 Christian Persch <chpe@svn.gnome.org>
5837 * gtk/gtkfilechoosersettings.c: (get_config_filename),
5838 (ensure_settings_read), (_gtk_file_chooser_settings_init),
5839 (_gtk_file_chooser_settings_set_show_hidden),
5840 (_gtk_file_chooser_settings_set_expand_folders),
5841 (_gtk_file_chooser_settings_save): Use a simple key file instead of a
5842 markup file. Bug #399592.
5844 2007-02-02 Mariano Suárez-Alvarez <mariano@gnome.org>
5846 * gtk/gtkcellrenderertext.c(gtk_cell_renderer_text_class_init):
5847 be a little more helpful with the docs on GtkCellRendererText:alignment.
5850 2007-02-01 Michael Natterer <mitch@imendio.com>
5852 * gtk/gtkmenu.c (gtk_menu_paint): pass &event->area to
5853 gtk_paint_box() calls.
5855 2007-02-01 Michael Natterer <mitch@imendio.com>
5857 * gtk/gtkmenu.c (gtk_menu_button_press)
5858 (gtk_menu_button_release)
5859 (gtk_menu_button_scroll): remove redundant and confusing
5860 if (GTK_IS_MENU (widget)) checks because "widget" is always a
5863 Thu Feb 1 12:22:06 2007 Tim Janik <timj@imendio.com>
5865 * gtk/gtkcombobox.c (gtk_combo_box_list_destroy): remove extra reference
5866 that gtkcombobox keeps on priv->popup_widget if it's a tree view.
5868 2007-01-31 Christian Persch <chpe@svn.gnome.org>
5870 * gtk/gtkaboutdialog.c: (update_credits_button_visibility),
5871 (gtk_about_dialog_set_authors), (gtk_about_dialog_set_documenters),
5872 (gtk_about_dialog_set_artists),
5873 (gtk_about_dialog_set_translator_credits): Hide the Credits button iff
5874 there are no credits to show. Bug #402806.
5876 2007-01-31 Tor Lillqvist <tml@novell.com>
5878 * gdk/win32/gdkinput-win32.c (print_cursor): New debugging
5880 (_gdk_input_wintab_init_check): Call it when debugging output is
5882 (_gdk_input_wintab_init_check): Skip duplicated cursors for Wacom
5883 tablets. The Wacom driver reports duplicated cursors with
5884 physid==0. Fix verified by Robert Ögren.
5886 2007-01-30 Felix Riemann <friemann@svn.gnome.org>
5888 * modules/printbackends/file/gtkprintbackendfile.c:
5889 (file_printer_get_options): Fix leaked string. Fixes bug #402565.
5891 2007-01-30 Matthias Clasen <mclasen@redhat.com>
5893 * gdk/x11/gdkwindow-x11.c (gdk_x11_window_move_to_current_desktop):
5894 (gdk_x11_window_set_user_time): Be more careful about toplevel
5895 possibly being NULL. (#402453, Sebastian Bacher)
5897 Tue Jan 30 12:09:56 2007 Tim Janik <timj@gtk.org>
5899 * gtk/gtksettings.c: cleaned up ::color-hash registration to not abuse
5900 class_n_properties and leave an uninitialized value array behind.
5902 2007-01-29 Michael Natterer <mitch@imendio.com>
5904 * gtk/gtkmenuitem.c (gtk_menu_item_select)
5905 (gtk_menu_item_deselect): queue a draw on the parent_menu_item of
5906 this menu item's menu, to enable themeing menu items depending on
5907 whether something is selected in their submenu (patch taken from
5910 2007-01-28 Matthias Clasen <mclasen@redhat.com>
5912 * gtk/gtktoolbar.c: Reinstate gtk_toolbar_content_new_compatibility()
5913 that was mistakenly "cleaned up" a while ago. Also
5914 revert a problematic change to the screen_changed
5915 handler. (#401598, Søren Sandmann)
5917 2007-01-28 Matthias Clasen <mclasen@redhat.com>
5919 * gtk/gtkframe.c (gtk_frame_size_allocation): Fix a
5920 problem with large y thickness. (#136592, Xan Lopez)
5922 2007-01-28 Matthias Clasen <mclasen@redhat.com>
5924 * gtk/gtkaction.c (gtk_action_new): Use canonical
5927 2007-01-27 Matthias Clasen <mclasen@redhat.com>
5929 * gtk/gtknotebook.c (gtk_notebook_draw_arrow):
5930 (gtk_notebook_draw_focus): Avoid some unnecessary
5931 gtk_widget_get_style() calls.
5933 2007-01-27 Matthias Clasen <mclasen@redhat.com>
5936 * gtk/gtktoolitem.c:
5937 * gtk/gtktoolbutton.c: Rearrange things so that setting
5938 multiple properties causes not more than a single
5939 reconstruction of the contents.
5941 * gtk/gtkaction.c (connect_proxy): Set all tool button
5942 properties in one go.
5944 2007-01-27 Matthias Clasen <mclasen@redhat.com>
5946 * gtk/gtkstatusicon.c:
5947 * gtk/gtktrayicon-x11.c: Fix GtkStatusIcon to not
5948 take up space on the panel if it is invisible. (340110, Christian
5951 * tests/teststatusicon.c:
5952 * tests/Makefile.am: Updates
5954 2007-01-27 Matthias Clasen <mclasen@redhat.com>
5958 * gtk/gtk.symbols: Add deprecation guards for gtk_rc_style_ref/unref
5959 and the old file selector. (#348256)
5961 2007-01-26 Matthias Clasen <mclasen@redhat.com>
5963 * gtk/gtkiconview.c: Documentation fixes (#400530, Anders Brander)
5965 2007-01-26 Matthias Clasen <mclasen@redhat.com>
5967 * gtk/updateiconcache.c: Check the mtime of all directories,
5968 not just the toplevel, if ftw() is available. (#331671, Behdad
5971 * configure.in: Check for ftw.h.
5973 2007-01-26 Michael Natterer <mitch@imendio.com>
5975 * modules/input/gtkimcontextxim.c (gtk_im_context_xim_finalize):
5976 destroy the XIM only if it exists. While the code does look safe
5977 in general, there can be corner cases where the "reconnecting"
5978 boolean being FALSE does not correspond to the XIM being
5979 allocated (fixes #329450, fix taken from maemo-gtk).
5981 Fri Jan 26 13:07:07 2007 Tim Janik <timj@imendio.com>
5983 * gtk/gtkstyle.c (draw_insertion_cursor): clamp cursor coordinates to
5984 window bounds (fix from Maemo Gtk).
5986 2007-01-26 Michael Natterer <mitch@imendio.com>
5988 * gtk/gtkentrycompletion.c (gtk_entry_completion_insert_prefix):
5989 only block/unblock completion->priv->insert_text_id if it is
5990 actually connected. While this can't happen the way GtkEntry
5991 itself uses the completion, it's still public API and should not
5992 blindly call functions that will spit warnings (fix taken from
5995 2007-01-25 Matthias Clasen <mclasen@redhat.com>
5997 * gdk/gdkwindow.c: Reduce locking overhead by not repeatedly getting
5998 the paintable iface.
6000 2007-01-24 Michael Natterer <mitch@imendio.com>
6002 * gtk/gtkwidget.c (gtk_widget_set_state): revert generic disabling
6003 of PRELIGHT state for the reasons given in bug #135666. Widget
6004 states are sometimes abused or otherwise used wrongly for historic
6005 reasons, causing this part of the patch to break e.g. menu items.
6007 2007-01-24 Roozbeh Pournader <roozbeh@farsiweb.info>
6009 * README: Remove mention of no-longer-existing PATCH
6010 keyword in bugzilla. (#396899)
6012 2007-01-23 Carlos Garcia Campos <carlosgc@gnome.org>
6014 * gtk/gtkpagesetup.c
6015 (gtk_page_setup_set_paper_size_and_default_margins): Fix memory leak.
6018 2007-01-22 Chris Wilson <chris@chris-wilson.co.uk>
6020 Bug 399314 – Add G_GNUC_WARN_UNUSED_RESULT to gtk_style_attach
6023 Cause gcc to issue a warning if the style returned from
6024 gtk_style_attach is not used. Failure to update
6025 widget->style causes some very difficult to reproduce bugs,
6026 eg Bug 353498 – crash in Terminal: changing icon theme.
6028 2007-01-19 Michael Emmel <mike.emmel@gmail.com>
6030 * gdk/directfb/gdkevents-directfb.c: added fixes for window
6031 crossing events frm Attilio Fiandrotti<attilio.fiandrotti@gmail.com>
6033 2007-01-19 Matthias Clasen <mclasen@redhat.com>
6035 * gtk/gtkcalendar.c: Fix build breakage.
6037 2007-01-19 Kristian Rietveld <kris@imendio.com>
6039 * gtk/gtktreeview.c (gtk_tree_view_motion_bin_window),
6040 (add_scroll_timeout), (gtk_tree_view_drag_motion): factor out
6041 add_scroll_timeout(). (taken from maemo-gtk).
6043 2007-01-18 Matthias Clasen <mclasen@redhat.com>
6045 * gtk/gtkcalendar.c: Fix problems with the initial
6046 focus in GtkCalendar. (#397783, Vincent Untz)
6048 2007-01-19 Robert Ögren <gtk@roboros.com>
6050 Fix for bug #143460 - missed tablet clicks on Windows
6052 * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check):
6053 Request absolute reporting of tablet button state, and cut down
6054 the packet queue size a bit.
6055 (_gdk_input_other_event): Change button state handling
6056 accordingly. Also drop the no longer necessary code that detects
6057 missed clicks/releases for button 1. The switch to absolute button
6058 state should prevent missed events for all buttons. Additionally,
6059 swap button 2 and 3.
6060 (_gdk_input_grab_pointer): Don't reset button_state, that will only
6061 cause a new press event as soon as the next tablet packet arrives.
6063 2007-01-19 Tor Lillqvist <tml@novell.com>
6065 Build Wintab support always on Windows. Don't require the Wintab
6068 * configure.in: Drop the --with-wintab option. Drop the
6069 HAVE_WINTAB feature test macro and Automake variable.
6072 * config.h.win32.in: Drop HAVE_WINTAB.
6074 * gdk/win32/gdkevents-win32.c
6075 * gdk/win32/gdkinput.c
6076 * gdk/win32/gdkinput-win32.h
6077 * gdk/win32/gdkinput-win32.c
6078 * gdk/win32/gdkmain-win32.c: Make HAVE_WINTAB ifdef blocks
6081 * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Try
6082 to load wintab32.dll dynamically here. If it is found look up the
6083 handful Wintab functions we use.
6084 (rest of file): Use these function pointers instead of calling the
6085 functions from wntab32x.lib. The code in wntab32x.lib did the same
6086 thing anyway: tried to load wintab32.dll, and looked up the
6087 addresses of the actual functions from it.
6090 * gdk/win32/Makefile.am: Drop the libwntab32x hacks.
6092 * gdk/win32/wintab.h
6093 * gdk/win32/pktdef.h: New files. Copied from the Wintab
6094 SDK. Copyright blurb says: "The text and information contained in
6095 this file may be freely used, copied, or distributed without
6096 compensation or licensing restrictions."
6098 * README.win32: Update a bit. Remove the text about the Wintab
6101 2007-01-18 Tor Lillqvist <tml@novell.com>
6103 * gdk-pixbuf/Makefile.am
6105 * gdk/win32/Makefile.am
6106 * gtk/Makefile.am: Fixes for building outside srcdir on
6107 Win32. (#336819, #340013) Drop distributing the handmade .la
6108 libtool wrapper for the wntab32x library. It's too much trouble
6109 making it work when building outside srcdir. Just link to the
6110 library direcly using -Wl,win32/libwntab32x.a.
6112 2007-01-18 Michael Natterer <mitch@imendio.com>
6114 * gtk/gtkcheckbutton.c
6119 * gtk/gtkviewport.c: pass more clip rectangles to gtk_paint_foo()
6120 functions. Based on a patch from maemo-gtk (bug #398023).
6122 2007-01-17 Tor Lillqvist <tml@novell.com>
6124 * gtk-zip.sh.in: Include also the COPYING file.
6126 2007-01-17 Matthias Clasen <mclasen@redhat.com>
6128 * modules/printbackends/cups/gtkprintbackendcups.c: Don't use
6129 httpGetFd() when building against cups 1.1
6131 2007-01-17 Tor Lillqvist <tml@novell.com>
6133 Proper fix for #396175:
6135 * gtk/gtkimmulticontext.c: Revert change by Hans Breuer below: Do
6136 include gtkprivate.h. On Win32 we do want to use the redefinition
6137 of GTK_LOCALEDIR as a call to the function _gtk_get_localedir().
6139 * gtk/gtkimmodule.c: Instead, correct the prefix also on
6140 simple_context_info.domain_dirname. Do the prefix corrections
6141 always on Win32, not just when GTK_LIBDIR is defined. i.e., until
6142 now they were done only in the autoconfiscated gcc builds. Hans
6143 needs to make sure GTK_LIBDIR and GTK_LOCALEDIR are defined also
6145 (correct_localedir_prefix): New function, like
6146 correct_libdir_prefix(), but for GTK_LOCALEDIR, in case
6147 GTK_LOCALEDIR is not a descendant of GTK_LIBDIR.
6148 (gtk_im_module_initialize): Thus call correct_localedir_prefix()
6149 on the domain_dirname instead of correct_libdir_prefix().
6150 (_gtk_im_module_list): Call correct_localedir_prefix() on
6151 simple_context_info.domain_dirname.
6153 2007-01-16 Matthias Clasen <mclasen@redhat.com>
6155 * gtk/gtkrange.c (range_grab_remove): Queue a redraw when the
6156 grab changes. (#396470, Benjamin Berg)
6158 2007-01-15 Emmanuele Bassi <ebassi@gnome.org>
6160 * gtk/gtkrecentchoosermenu.c: Ellipsize the menu items label
6161 if they grow too much. (#357303)
6163 2007-01-14 Matthias Clasen <mclasen@redhat.com>
6165 * gtk/gtkicontheme.c (theme_lookup_icon): When finding a matching
6166 non-scalable dir, keep going and look for a closer match.
6167 (#395830, Luca Ferretti)
6169 2007-01-14 Christian Persch <chpe@svn.gnome.org>
6171 * gtk/gtkclipboard.c: (gtk_clipboard_set_text),
6172 (gtk_clipboard_set_image): Use gtk_target_table_new_from_list and
6173 gtk_target_table_free instead of duplicating the code. Bug #396493.
6175 2007-01-13 Matthias Clasen <mclasen@redhat.com>
6177 * gtk/gtkuimanager.c: Don't crash if menu or toolbar
6178 positions can't be found. (#396161, Hans Breuer)
6180 2007-01-13 Matthias Clasen <mclasen@redhat.com>
6182 * gtk/gtkselection.c (_gtk_selection_request): Plug
6183 memory leaks. (#396160, Carlos Garcia Campos)
6185 2007-01-13 Matthias Clasen <mclasen@redhat.com>
6187 * configure.in: Link libgtk against Xfixes. (#396074,
6190 2007-01-13 Matthias Clasen <mclasen@redhat.com>
6192 * gtk/gtkradiobutton.c (gtk_radio_button_focus): Avoid
6193 a compiler warning. (#395045, Chris Wilson)
6195 2007-01-13 Hans Breuer <hans@breuer.org>
6197 * gtk/gtkprintoperation-win32.c : take the custom tab label from
6198 gtk_print_operation_set_custom_tab_label() into account (bug #390746).
6200 * gtk/gtkimmulticontext.c : don't include "gtkprivate.h" to avoid
6201 differing definitions of GTK_LOCALEDIR (bug #396175).
6203 * gtk/gtktreeview.c : use g_snprintf instead of snprintf, which is
6204 not available everywhere
6206 * gtk/makefile.msc.in : updated
6208 2007-01-12 Michael Natterer <mitch@imendio.com>
6210 * gtk/gtkentry.c (gtk_entry_button_press): don't add
6211 entry->scroll_offset to entry->drag_start_y. Fixes the entry
6212 starting drags after ridiculously small mouse movements.
6214 2007-01-11 Richard Hult <richard@imendio.com>
6216 * demos/gtk-demo/main.c: (load_file): Close the file after it's
6217 loaded (bug #395316).
6219 2007-01-11 Kjartan Maraas <kmaraas@gnome.org>
6221 * gtk/gtkfilesystemunix.c: (expand_tilde):
6222 Make a single tilde go to $HOME in the location entry.
6223 Patch from Yevgen Muntyan. Closes the gtk+ part of
6226 2007-01-10 Behdad Esfahbod <behdad@gnome.org>
6228 * gdk/gdkpango.c (gdk_draw_layout_with_colors):
6229 * gtk/gtklabel.c (gtk_label_size_request):
6230 Use pango_matrix_transform_rectangle(). (#340141)
6232 * configure.in: Bump pango requirement to 1.15.3.
6234 2007-01-10 Kristian Rietveld <kris@imendio.com>
6236 * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_init):
6237 refactor to initialize indicator_size to TOGGLE_WIDTH instead
6238 of the hardcoded value of 12.
6240 2007-01-09 Matthias Clasen <mclasen@redhat.com>
6242 * configure.in: Fix the directfb cairo test. (#394855,
6245 2007-01-09 Behdad Esfahbod <behdad@gnome.org>
6247 * configure.in: Fix comment for --with-included-loaders. That option
6248 affects builds with module loading enabled too.
6250 2006-01-08 Peter Teichman <peter@novell.com>
6252 * gtk/gtkfilechooserdefault.c:
6253 * gtk/gtkfilechooserprivate.h:
6254 * gtk/gtkfilechoosersettings.c:
6255 * gtk/gtkfilechoosersettings.h:
6256 Save the expanded state of the folder browser with the file
6257 chooser settings. Resolves the expander portions of (#153828,
6260 2007-01-08 Emmanuele Bassi <ebassi@gnome.org>
6262 * gtk/gtkrecentchoosermenu.c (gtk_recent_chooser_menu_create_item):
6263 Don't leak the icon pixbuf after setting it to the image menu
6264 item. Found by Paolo Borelli.
6266 2007-01-08 Matthias Clasen <mclasen@redhat.com>
6268 * gtk/gtktreemodel.c (gtk_tree_path_to_string): Don't
6269 corrupt memory when faced with paths with ridiculously
6270 large indices. Found by the GTKVTS test suite.
6272 2007-01-08 Matthias Clasen <mclasen@redhat.com>
6274 * gtk/gtkmodules.c (_gtk_modules_init): Set
6275 default_display_opened before loading modules. (#393102,
6278 2007-01-07 Matthias Clasen <mclasen@redhat.com>
6280 * gtk/gtktextview.c (gtk_text_view_set_border_window_size):
6281 Call text_window_realize() with the correct parameters.
6282 (#393813, Yevgen Muntyan)
6284 2007-01-07 Matthias Clasen <mclasen@redhat.com>
6286 * gtk/gtkstatusbar.c: Move docs inline, and expand them
6289 2007-01-06 Matthias Clasen <mclasen@redhat.com>
6291 * gtk/gtklabel.c: Make line wrapping work with width-chars
6292 and max-width-chars, and simplify the storage of wrap-width.
6293 (#322580, Itai Bar-Haim)
6295 2007-01-06 Tor Lillqvist <tml@novell.com>
6297 * gdk/win32/cursor.bdf: New file. Downloaded from
6298 freedesktop.org's webcvs. Slighly edited cursors "crosshair",
6299 "diamond_cross", "draft_large", "gobbler" and "target" to fix
6300 #392504. It is possible that the same end result could have been
6301 achieved by tweaking bdfcursor.c instead.
6303 * gdk/win32/bdfcursor.c: Add optional debugging output.
6305 * gdk/win32/xcursors.h: Regenerated.
6307 2007-01-05 Matthias Clasen <mclasen@redhat.com>
6309 * gtk/gtknotebook.c (gtk_notebook_set_menu_label_text): Left-align
6310 menu labels. (#393255, Michail Crayson)
6312 2007-01-05 Kristian Rietveld <kris@gtk.org>
6314 * gtk/gtktreeview.c (gtk_tree_view_dy_to_top_row): handle tree
6315 == NULL. (Fixes #392685, reported by Yevgen Muntyan).
6317 2007-01-05 Kristian Rietveld <kris@gtk.org>
6319 * gtk/gtktreeview.c (gtk_tree_view_row_changed): do allow to
6320 invalidate nodes if the tree view is not realized. (#363147,
6321 Carlos Garnacho, Miguel Cabrera).
6323 2007-01-05 Matthias Clasen <mclasen@redhat.com>
6325 * gtk/gtkmenu.c (gtk_menu_paint): Take the scroll arrow into
6326 account when drawing the background. (#393166, Benjamin Berg)
6328 2007-01-05 Behdad Esfahbod <behdad@gnome.org>
6330 * gtk/gtklabel.c (get_layout_location): Fix broken width computation,
6333 2007-01-05 Carlos Garnacho <carlosg@gnome.org>
6335 * gtk/gtknotebook.c (gtk_notebook_size_request): take into account
6336 both scroll arrows when calculating size request in GTK_POS_LEFT or
6337 GTK_POS_RIGHT notebooks. (#393124, reported by Christian Persch)
6339 2007-01-05 Michael Natterer <mitch@imendio.com>
6341 * gtk/gtkwindow.c (gtk_window_key_release_event): chain up to
6342 the right function (fix taken from maemo-gtk).
6344 2007-01-05 Behdad Esfahbod <behdad@gnome.org>
6347 * gdk/gdkpango.c (gdk_draw_layout_line_with_colors),
6348 (gdk_draw_layout_with_colors):
6349 * gdk/gdkwindow.c (gdk_window_draw_glyphs_transformed):
6350 Avoid overflow when converting coordinates to Pango units. (#332266,
6353 2007-01-04 Matthias Clasen <mclasen@redhat.com>
6355 * gtk/gtkcombobox.c (gtk_combo_box_popup): move set_cursor
6356 after realization of the popup window, so clamp node doesn't fail.
6357 (#346616, Tommi Komulainen, patch by Kristian Rietveld).
6359 2007-01-04 Behdad Esfahbod <behdad@gnome.org>
6361 * gtk/gtklabel.c (get_layout_location): Fix uninitialized width
6364 2007-01-04 Matthias Clasen <mclasen@redhat.com>
6367 * gdk-pixbuf/Makefile.am:
6369 * gdk/win32/rc/gdk.rc.in: Cross-compilation fixes.
6370 (#392646, Yevgen Muntyan)
6372 2007-01-04 Matthias Clasen <mclasen@redhat.com>
6374 * demos/gtk-demo/textscroll.c:
6375 * gtk/gtkhandlebox.c:
6376 * gtk/gtkcolorsel.c: Fix some compiler warnings.
6378 2007-01-03 Matthias Clasen <mclasen@redhat.com>
6380 * gtk/gtktextview.c: Rework the beep-on-uninserted-text
6381 by calling the input method regardless of editability,
6382 and beeping from the commit/preedit-changed handlers.
6383 (#390514, Yevgen Muntyan)
6385 2007-01-03 Matthias Clasen <mclasen@redhat.com>
6387 Fix #332604, reported by Joe Wreschnig, patch
6388 by Jan Arne Petersen and Behdad Esfahbod.
6390 * gtk/gtklabel.c (gtk_label_size_allocate): Only
6391 set the width of the layout when necessary.
6392 (get_layout_location): Use pango_layout_get_pixel_extents()
6393 instead of pango_layout_get_width().
6395 2007-01-03 Matthias Clasen <mclasen@redhat.com>
6397 * modules/printbackends/cups/gtkprintbackendcups.c
6398 (available_choices): Don't leak conflicts.
6400 * gtk/gtkprintoperation.c (gtk_print_operation_finalize):
6401 Don't leak the status string.
6403 2007-01-03 Matthias Clasen <mclasen@redhat.com>
6405 * gtk/gtkfilechooserdefault.c (update_chooser_entry):
6406 Exit early if we can't get file info - this happens
6407 if the iter points to the row where we are editing
6408 the name for a newly created folder. (#392191, Michael
6409 Partridge, patch by Kristian Rietveld)
6411 2007-01-03 Matthias Clasen <mclasen@redhat.com>
6414 * gdk/x11/*.c: Apply a patch by Chris Wilson to
6415 avoid spurious valgrind warnings from XSendEvent()
6418 * modules/printbackends/cups/gtkprintbackendcups.c: Close
6419 the http connection after getting the PPD.
6421 * gtk/gtkprinteroptionwidget.c (filesave_changed_cb):
6424 2007-01-03 Matthias Clasen <mclasen@redhat.com>
6426 * gtk/gtkassistant.c (remove_page): If the current page
6427 is removed, always pick a different one. (#392457,
6430 2007-01-03 Matthias Clasen <mclasen@redhat.com>
6432 * modules/printbackend/cups/*.c: Coding style cleanups.
6434 2007-01-03 Matthias Clasen <mclasen@redhat.com>
6436 * configure.in: Export SED to make sourcing of
6437 libtool work. Tighten up the directfb pkgconfig check.
6439 2007-01-03 Michael Natterer <mitch@imendio.com>
6441 * gtk/gtkstyle.c (option_menu_get_props)
6442 * gtk/gtkoptionmenu.c (gtk_option_menu_get_props): Use
6443 gtk_border_free when freeing borders.
6445 2007-01-03 Matthias Clasen <mclasen@redhat.com>
6447 * gtk/gtkentry.c (get_text_area_size): Work when the
6448 entry is not realized. (#392315, Yevgen Muntyan)
6450 * gtk/gtkentry.c (gtk_entry_queue_draw): Use
6451 GTK_WIDGET_DRAWABLE() here. (#392227, Chris Wilson)
6453 * gtk/gtkentry.c (cursor_blinks): Don't get settings
6454 unnecessarily. (#392227)
6456 2007-01-02 Matthias Clasen <mclasen@redhat.com>
6458 * gtk/gtkwindow.c (gtk_window_move_resize): Only process
6459 updates on the window at hand, not on all windows, to
6460 avoid violating resize/redraw ordering constraints.
6461 (#362406, Owen Taylor)
6463 2007-01-03 Kristian Rietveld <kris@gtk.org>
6465 * gtk/gtkcellrendererprogress.c
6466 (gtk_cell_renderer_progress_class_init): fix docs.
6468 2007-01-02 Matthias Clasen <mclasen@redhat.com>
6470 * gtk/updateiconcache.c: Include locale.h
6472 2007-01-02 Matthias Clasen <mclasen@redhat.com>
6474 * gtk/updateiconcache.c (main): Call setlocale().
6477 * gtk/gtkfilesystemunix.c:
6478 * gtk/gtkfilesystemwin32.c:
6479 * gtk/gtkfilechoosersettings.c:
6480 * gtk/updateiconcache.c: Consistently use folder instead of
6481 directory in translated messages. (#344584, Javier F. Serrador)
6483 2007-01-02 Matthias Clasen <mclasen@redhat.com>
6485 Try to fix #315732, reported by Luke Hutchinson:
6487 * gdk/x11/xsettings-client.[hc]:
6488 * gdk/x11/gdkdevents-x11.c: Don't assume that ref'ing a GdkWindow
6489 will guarantee that it can be looked up in the xid hash later.
6490 Also, use the nesting server grab function during the xsettings
6491 client initialization. Finally, make xsettings client not
6492 eat DestroyNotifys so that GDK can do its regular cleanup.
6494 2007-01-02 Michael Natterer <mitch@imendio.com>
6496 * gtk/gtkrange.c (gtk_range_scroll) (gtk_range_move_slider): beep
6497 when a keybinding didn't change adjustment->value.
6499 2007-01-02 Matthias Clasen <mclasen@redhat.com>
6501 * gtk/gtktextbuffer.c (gtk_text_view_key_press_event):
6502 Try harder not to beep on events which are not meant to
6503 insert stuff in the buffer. (#390514, Yevgen Muntyan)
6505 2007-01-02 Matthias Clasen <mclasen@redhat.com>
6507 * gtk/gtktextbufferrichtext.c: Small documentation fixes.
6509 2007-01-02 Matthias Clasen <mclasen@redhat.com>
6511 * gtk/gtkentry.c (get_text_area_size): Center in the frame.
6512 (#304482, Rob Staudinger, patch by Richard Stellingwerff)
6514 2007-01-02 Michael Emmel <mike.emmel@gmail.com>
6516 * gdkwindow-directfb.c: fixed leak of dfb resource on destroy
6518 2007-01-01 Matthias Clasen <mclasen@redhat.com>
6520 * gtk/gtkscrolledwindow.h:
6521 * gtk/gtkscrolledwindow.c: Only handle key bindings
6522 for scrolling if the scrollbars are visible.
6523 (#340135, Christian Persch)
6525 2007-01-01 Matthias Clasen <mclasen@redhat.com>
6527 * gtk/gtktextview.c (gtk_text_view_scroll_hpages):
6528 Don't segfault on horizontal scrolling.
6530 2007-01-01 Matthias Clasen <mclasen@redhat.com>
6532 * gtk/gtknotebook.h:
6533 * gtk/gtknotebook.c: Only handle key bindings for
6534 tab reordering if the tabs are shown and reorderable.
6535 (#390468, Yevgen Muntyan)
6537 * gtk/gtkmarshalers.list: Add required marshaler
6539 2007-01-01 Matthias Clasen <mclasen@redhat.com>
6541 * gtk/gtkcontainer.c (gtk_container_class_list_child_properties):
6542 Mention in the docs that the return value is
6543 NULL-terminated. (#383373, Christian Neumair)
6545 2007-01-01 Matthias Clasen <mclasen@redhat.com>
6547 * gtk/gtkicontheme.c (load_themes): Waste less time
6548 with non-directories. (#391725, Chris Wilson)
6550 2007-01-01 Matthias Clasen <mclasen@redhat.com>
6552 * gtk/gtkcellrendererprogress.c: Implement activity mode
6553 for GtkCellRendererProgress. (#377851, Brad Taylor)
6555 2007-01-01 Matthias Clasen <mclasen@redhat.com>
6557 Fix some IPP compliance issues. (#391523, Albrecht Dress)
6559 * modules/printbackends/cups/gtkcupsutils.c
6560 (gtk_cups_request_encode_option): Use IPP_TAG_JOB, not
6562 * modules/printbackends/cups/gtkprintbackendcups.c
6563 (gtk_print_backend_cups_print_stream): Don't add the
6564 requesting-user-name attribute a second time.
6566 2007-01-01 Matthias Clasen <mclasen@redhat.com>
6568 * gtk/gtkimcontextsimple.c: Fix en/em dash confusion. (#378462)
6570 2006-12-31 Emmanuele Bassi <ebassi@gnome.org>
6572 * gtk/gtkrecentchoosermenu.c (set_recent_manager): Use the
6573 right object when disconnecting from the GtkRecentManager::changed
6574 signal; save us a few indirections using a variable.
6576 2006-12-31 Emmanuele Bassi <ebassi@gnome.org>
6578 * gtk/gtkrecentchoosermenu.c: Move the signal and idle
6579 disconnections into the dispose function, as well as the
6580 object unrefs; reset every handler id and the
6581 pointers. (suggested by Paolo Borelli, #390873)
6583 2006-12-31 Matthias Clasen <mclasen@redhat.com>
6585 * gtk/gtkprintoperation-win32.c: Include windows.h (#391229,
6588 2006-12-30 Matthias Clasen <mclasen@redhat.com>
6590 * gtk/gtktextview.c (gtk_text_view_destroy): Remove the
6591 scroll timeout. (#390872, Yevgen Muntyan)
6593 2006-12-30 Matthias Clasen <mclasen@redhat.com>
6595 * gtk/gtkprintoperation-unix.c:
6596 * gtk/gtkprintbackend.c:
6597 * gtk/gtkfilechooserdefault.c:
6598 * gtk/gtksettings.c: Move a few settings to gtksettings.c
6599 to make sure they show up in the docs. (#365364, Christian
6602 2006-12-30 Matthias Clasen <mclasen@redhat.com>
6604 * gtk/gtkassistant.c: Redraw assistant on reallocate
6605 to avoid rendering glitches. (#343956, Christian
6606 Persch, Carlos Garnacho)
6608 2006-12-30 Matthias Clasen <mclasen@redhat.com>
6610 * gtk/gtkrange.c: Typo fix. (#352121, Clytie Siddall)
6612 2006-12-30 Matthias Clasen <mclasen@redhat.com>
6614 * gtk/gtkaction.c: Improve the docs of the "label"
6615 property. (#341730, Kristof Vansant)
6617 2006-12-30 Matthias Clasen <mclasen@redhat.com>
6619 * gtk/gtkwindow.c (gtk_window_compute_configure_request_size):
6620 Correctly handle min size. (#320465, Philipp Langdale)
6622 2006-12-30 Matthias Clasen <mclasen@redhat.com>
6624 * gtk/prop-editor.c: Implement editing of flags.
6626 2006-12-30 Matthias Clasen <mclasen@redhat.com>
6631 * gtk/gtkstatusbar.c:
6632 * gtk/gtktextview.c: Don't install cursors on insensitive
6633 widgets. (#358864, Jan Schampera)
6635 2006-12-29 Matthias Clasen <mclasen@redhat.com>
6637 * gtk/gtkrecentmanager.h:
6638 * gtk/gtkprintoperation.c: Fix doc typos. (#370909,
6641 * gtk/gtkstyle.c (gtk_style_attach): Clarify docs. (#353423,
6644 * gtk/gtkentry.c (blink_cb):
6645 * gtk/gtktextview.c (blink_cb): Don't die in an assertion
6646 if focus went missing. Just warn, clean up and continue.
6649 2006-12-29 Carlos Garnacho <carlosg@gnome.org>
6651 * gtk/gtknotebook.c (gtk_notebook_scroll): return if the widget that
6652 originally received the event is a notebook page. (#315440, reported
6655 2006-12-29 Matthias Clasen <mclasen@redhat.com>
6657 * gdk/gdkcolor.c (gdk_color_hash): Fix a typo. (#390613,
6660 2006-12-29 Matthias Clasen <mclasen@redhat.com>
6662 * tests/prop-editor.c: Display children of containers
6663 and cell renderers of cell layouts.
6666 * gtk/gtkcelllayout.[hc] (gtk_cell_layout_get_cells):
6667 New function to get the cell renderers of a cell layout.
6669 * gtk/gtktreeviewcolumn.c:
6670 * gtk/gtkcellview.c:
6671 * gtk/gtkiconview.c: Implement get_cells.
6673 2006-12-28 Matthias Clasen <mclasen@redhat.com>
6675 * gtk/gtkiconview.c: Use word wrapping by default, and
6676 center multiline labels. (#318763, Ross Burton)
6678 * gtk/gtkcellrenderertext.c (get_layout): Remove a special
6679 case for single-line layouts.
6681 2006-12-28 Matthias Clasen <mclasen@redhat.com>
6683 * gtk/gtkarrow.c: Fix a typo in the docs. (#390423,
6686 * gtk/gtkuimanager.c (update_node): Only use the results
6687 of find_menu/toolbar_position() if they succeed. May fix
6690 2006-12-28 Matthias Clasen <mclasen@redhat.com>
6692 * gdk/gdk.c: Fix some formatting errors in docs.
6694 2006-12-28 Tor Lillqvist <tml@novell.com>
6696 * gtk/gtkstatusicon.c (gtk_status_icon_finalize)
6697 (gtk_status_icon_update_image): Don't leak HICONs on
6698 Win32. (#364868, Hiroyuki Yamamoto)
6700 2006-12-28 Carlos Garnacho <carlosg@gnome.org>
6702 Make GtkNotebook able to drop detached tabs anywhere. Bug #360225.
6704 * gtk/gtkwidget.c (gtk_widget_class_init): add "drag-failed" signal.
6705 * gtk/gtkmarshalers.list: add new marshaler definition.
6706 * gtk/gtkenums.h: add GtkDragResult enum.
6708 * gtk/gtkdnd.c (gtk_drag_drop_finished): emit "drag-failed" if DND
6709 operation wasn't successful.
6710 (_gtk_drag_source_handle_event) (gtk_drag_drop)
6711 (gtk_drag_selection_get) (gtk_drag_cancel) (gtk_drag_key_cb)
6712 (gtk_drag_grab_broken_event_cb) (gtk_drag_grab_notify_cb)
6713 (gtk_drag_button_release_cb) (gtk_drag_abort_timeout): tell
6714 gtk_drag_drop_finished() the operation result.
6716 * gtk/gtknotebook.c (gtk_notebook_drag_failed): new function.
6717 (gtk_notebook_drag_data_get): do not call window creation hook here.
6718 (gtk_notebook_init): do not set "application/x-rootwindow-drop"
6719 target, instead connect to "drag-failed".
6720 (gtk_notebook_draw_focus): fix potential crasher if cur_page is NULL.
6722 2006-12-28 Mikael Hallendal <micke@imendio.com>
6724 * gdk/quartz/gdkevents-quartz.c: Factored out the event loop
6725 integration into gdkeventloop-quartz.c.
6727 * gdk/quartz/Makefile.am: Added gdkeventloop-quartz.c
6729 * gdk/quartz/gdkeventloop-quartz.c: New file containing the event loop
6732 2006-12-27 Matthias Clasen <mclasen@redhat.com>
6734 * modules/printbackends/lpr/gtkprintbackendlpr.c
6735 (gtk_print_backend_lpr_print_stream): Close the io channel
6736 on unref. (#390159, Joe Markus Clarke)
6738 2006-12-27 Matthias Clasen <mclasen@redhat.com>
6740 * gdk/gdk.h: Remove redundant declarations (#390097,
6743 2006-12-27 Kristian Rietveld <kris@gtk.org>
6745 Support inverting arrows via XSetting. (#377979, Yevgen Muntyan).
6747 * gtk/gtksettings.c (gtk_settings_class_init): add new setting
6748 gtk-alternative-sort-arrows.
6750 * gdk/win32/gdkproperty-win32.c (gdk_screen_get_setting): add
6753 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: set new
6754 gtk-alternative-sort-arrows setting to true.
6756 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
6757 invert direction if gtk-alternative-sort-arrows is TRUE.
6759 2006-12-27 Tor Lillqvist <tml@novell.com>
6761 * gtk/gtk.symbols: Add gtk_status_icon_get_screen and
6762 gtk_status_icon_set_screen.
6764 * gtk/gtkstatusicon.c: Implement gtk_status_icon_position_menu()
6765 on Windows. Keep track of where the last button click on the
6766 taskbar icon took place, and return that. Obviously not correct if
6767 no button has ever been clicked on the icon, or if the geometry of
6768 the taskbar has changed since. But for most use cases where a menu
6769 is going to be displayed as a direct result of a button click on
6770 the status icon, works fine. (#377349)
6772 Implement getting the orientation property on Windows.
6774 (gtk_status_icon_embedded_changed)
6775 (gtk_status_icon_orientation_changed): Ifdefify these functions
6776 that are used only on X11.
6778 2006-12-27 Tor Lillqvist <tml@novell.com>
6780 * gtk/gtkfilesystemwin32.c (execute_callbacks): Fix
6781 typo. (#390035, Kazuki Iwamoto)
6783 2006-12-27 Matthias Clasen <mclasen@redhat.com>
6785 * gtk/gtkcellview.c (gtk_cell_view_set_model): Accept NULL.
6787 * gtk/gtkcombobox.c (gtk_combo_box_set_model):
6788 (gtk_combo_box_unset_model): Handle repeated unsetting
6789 of models without warnings. (#367529, Robert Ancell)
6791 2006-12-27 Matthias Clasen <mclasen@redhat.com>
6793 * modules/printbackends/cups/gtkcupsutils.c:
6794 * modules/printbackends/cups/gtkprintbackendcups.c: Use
6795 getters for http fields where available. (#364866,
6798 2006-12-27 Matthias Clasen <mclasen@redhat.com>
6800 * gtk/gtkwidget.c (gtk_widget_show): Add a g_return_if_fail.
6801 (#362614, Xan Lopez)
6803 2006-12-27 Matthias Clasen <mclasen@redhat.com>
6805 * gtk/gtkuimanager.c (update_node): If a required action
6806 is missing, don't recurse over the children. (#349119,
6809 2006-12-27 Matthias Clasen <mclasen@redhat.com>
6811 Fix a few problems with nested menus in comboboxes
6812 (#386694, Yevgen Muntyan)
6814 * gtk/gtkcombobox.c (gtk_combo_box_menu_fill_level): Always
6815 connect the activate callback.
6816 (gtk_combo_box_menu_item_activate): Do nothing if called on
6817 an item with a submenu.
6818 (gtk_combo_box_menu_row_deleted): Remove a submenu when it
6821 2006-12-26 Mariano Suárez-Alvarez <mariano@gnome.org>
6823 * gtk/gtkfilechooserbuuton.[hc]: Add a file-set signal to the
6824 filechooser button. Bug 353196.
6826 2006-12-26 Kristian Rietveld <kris@gtk.org>
6828 * gtk/gtktreeview.c (gtk_tree_view_search_init): fix typo causing
6829 the search dialog timeout never to be refreshed. (#389581,
6830 Andrzej Szombierski).
6832 2006-12-26 Kristian Rietveld <kris@gtk.org>
6834 Lots of scrolling fixes. Made scrolling work properly in not fully
6835 validated tree views; fixed a bunch of corner cases.
6837 * gtk/gtktreeview.c (validate_visible_area): if a row's dy is past
6838 upper - page_size, we know it is located at the end so the test for
6839 dy + height has been dropped.
6840 In the same case if area_below < 0, we know this is the last node
6841 in the tree view so area_above is page_size - height of this row.
6842 (validate_visible_area): got rid of subtracting new_height -
6843 old_height from area_{below,above}, it didn't make any sense at
6844 all and the full height of the row should be subtracted instead.
6845 (validate_visible_area): when scrolling to a given path, set the
6846 top row directly together with the dy offset, then sync that top_row
6848 (gtk_tree_view_set_top_row): new function to directly set a top_row.
6849 (gtk_tree_view_dy_to_top_row): refactored to use
6850 gtk_tree_view_set_top_row().
6851 (gtk_tree_view_top_row_to_dy): make sure dy >= 0 when done.
6852 (gtk_tree_view_adjustment_changed): only update our dy and
6853 top_row if the adjustment's dy actually changed.
6855 2006-12-26 Christian Persch <chpe@cvs.gnome.org>
6857 * gtk/gtknotebook.c: (gtk_notebook_real_insert_page):
6858 Return the correct value from gtk_notebook_insert_page if the
6859 page-added handler reorders the tabs. Bug #345094.
6861 2006-12-26 Carlos Garnacho <carlosg@gnome.org>
6863 Fix small regressions in GtkNotebook tab detaching. Bug #378852.
6865 * gtk/gtknotebook.c (gtk_notebook_do_arrow): grab focus to allow tabs
6866 scrolling when hovering with a detached tab.
6867 (gtk_notebook_stop_reorder): Do not deparent the wrong tab if the
6868 focus tab has changed during a tab DND operation.
6869 (gtk_notebook_drag_end): ensure that the dropped tab gets focused.
6870 (gtk_notebook_paint): do not take cur_page as a reference to paint the
6871 box if it's detached.
6872 (gtk_notebook_calculate_tabs_allocation): focus_tab may be different
6873 to the detached tab if we hover the arrows during a tabs detaching
6874 operation, do not allocate it unconditionally in 0,0.
6876 2006-12-26 Carlos Garnacho <carlosg@gnome.org>
6878 Expose improvements for GtkNotebook. Bug #383435
6880 * gtk/gtknotebook.c (gtk_notebook_expose): propagate the event to tab
6882 (gtk_notebook_draw_focus): do not repaint the whole focused tab again.
6883 (gtk_notebook_draw_tab): do not send handmade expose events to tab
6886 2006-12-26 Matthias Clasen <mclasen@redhat.com>
6888 * gtk/gtkfilesystemunix.c (execute_callbacks): Return
6889 FALSE. (#389623, Carlos Garnacho Parro)
6891 * gtk/gtkrange.c (stop_scrolling): Avoid spurious
6894 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
6896 * gtk/gtkplug.c: (gtk_plug_construct_for_display),
6897 (gtk_plug_unrealize): Notify the "embedded" property also on
6898 normal construction and when destroying the socket window.
6901 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
6903 * gtk/gtkaboutdialog.c: (gtk_about_dialog_class_init),
6904 (gtk_about_dialog_init), (display_credits_dialog),
6905 (display_license_dialog):
6906 * gtk/gtkfilechooserdialog.c: (gtk_file_chooser_dialog_class_init),
6907 (gtk_file_chooser_dialog_init),
6908 (gtk_file_chooser_dialog_constructor),
6909 (gtk_file_chooser_dialog_unmap):
6910 * gtk/gtkrecentchooserdefault.c:
6911 (_gtk_recent_chooser_default_init):
6912 * gtk/gtkrecentchooserdialog.c:
6913 (gtk_recent_chooser_dialog_class_init),
6914 (gtk_recent_chooser_dialog_init),
6915 (gtk_recent_chooser_dialog_constructor),
6916 (gtk_recent_chooser_dialog_unmap): Set the HIG spacings directly
6917 instead of using style-set handlers. Fix the filechooser's spacing
6918 between content and action area to 12px. Bug #372447.
6920 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
6922 * gtk/gtkstatusbar.c: (gtk_statusbar_size_allocate):
6923 Don't assume statusbar->label is the statusbar's frame's child when
6924 shrinking the size allocation when the grip is shown. Bug #372452.
6926 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
6928 * gtk/gtkpagesetupunixdialog.c: (printer_status_cb),
6929 (add_custom_paper): Fix mem leaks. Bug #389194.
6931 2006-12-24 Matthias Clasen <mclasen@redhat.com>
6933 * gtk/gtktextutil.c: Remove debug output.
6935 * gtk/gtktextview.c: Improve the DND scrolling
6936 behaviour. (#92387, Carlos Garnacho Parro)
6938 * gtk/gtkaccellabel.c: Improve translators comments.
6939 (#389298, Christian Persch)
6941 2006-12-24 Bastien Nocera <hadess@hadess.net>
6943 * gtk/gtkrecentmanager.c: Fix typo (s/expansive/expensive)
6946 2006-12-24 Christian Persch <chpe@cvs.gnome.org>
6948 * docs/reference/gtk/gtk-sections.txt:
6950 * gtk/gtkpagesetupunixdialog.c: (fill_paper_sizes_from_printer):
6951 * gtk/gtkprinter-private.h:
6952 * gtk/gtkprinter.c: (gtk_printer_list_papers):
6953 * gtk/gtkprinter.h: Make gtk_printer_list_papers public. Bug #345587.
6955 2006-12-24 Carlos Garcia Campos <carlosgc@gnome.org>
6957 * gtk/gtkpagesetupunixdialog.c: Don't ignore reverse portrait option
6958 when is selected in page setup dialog. Fixes bug #365047.
6960 2006-12-24 Behdad Esfahbod <behdad@gnome.org>
6962 * gtk/gtkentry.c (_gtk_entry_effective_inner_border):
6963 Use gtk_border_free when freeing border.
6965 2006-12-24 Matthias Clasen <mclasen@redhat.com>
6967 * gtk/gtkentry.c (gtk_entry_button_press): When
6968 shift-clicking, keep the larger part of the selection
6969 selected. (#353709, Benjamin Otte)
6971 * gtk/gtkbutton.c (gtk_button_get_props): Use
6972 gtk_border_free when freeing borders.
6974 * gtk/gtkbutton.c (gtk_button_grab_notify): Be more
6975 careful when faking a button release. (#323146,
6978 * gtk/gtkhandlebox.c (draw_textured_frame): Draw the
6979 handle with the right orientation, depending on the
6980 position of the handlebox. (#159764, Benjamin Berg)
6982 2006-12-24 Behdad Esfahbod <behdad@gnome.org>
6984 * gtk/gtkstyle.c (gtk_border_copy), (gtk_border_free): Use gslice for
6985 GtkBorder (#383557).
6987 2006-12-24 Behdad Esfahbod <behdad@gnome.org>
6989 Bug 340141 – Update to Pango 1.16 API
6991 * gdk/gdkpango.c (layout_iter_get_line_clip_region),
6992 (gdk_pango_layout_line_get_clip_region):
6993 * gtk/gtkcalendar.c (gtk_calendar_size_request):
6994 * gtk/gtkentry.c (gtk_entry_get_pixel_ranges),
6995 (get_layout_position), (gtk_entry_find_position),
6996 (gtk_entry_adjust_scroll):
6997 * gtk/gtkiconview.c (get_pango_text_offsets):
6998 * gtk/gtklabel.c (get_cursor_direction):
6999 * gtk/gtkstyle.c (get_insensitive_layout):
7000 * gtk/gtktextdisplay.c (render_para):
7001 * gtk/gtktextlayout.c (allocate_child_widgets),
7002 (find_display_line_below), (find_display_line_above),
7003 (gtk_text_layout_move_iter_to_previous_line),
7004 (gtk_text_layout_move_iter_to_next_line),
7005 (gtk_text_layout_move_iter_to_line_end),
7006 (gtk_text_layout_iter_starts_line),
7007 (gtk_text_layout_move_iter_to_x):
7008 * gtk/gtktextutil.c (limit_layout_lines):
7009 Use the _readonly version of pango_layout_iter_get_line(),
7010 pango_layout_iter_get_run(), pango_layout_get_line(), and
7011 pango_layout_get_lines().
7013 * gtk/gtkmain.c (gtk_get_default_language): Use
7014 pango_get_default_language().
7016 2006-12-24 Matthias Clasen <mclasen@redhat.com>
7018 * gtk/gtkentry.c (gtk_entry_set_text): Emit changed
7019 and notify:text only once. The same fix was applied
7020 for replacing the selection via DND or copy-and-paste.
7021 (#64998, Damon Chaplin, Sven Herzberg)
7023 2006-12-23 Matthias Clasen <mclasen@redhat.com>
7025 * gtk/gtkimmulticontext.c: Be careful to not override
7026 GTK+ translations with the translations of the input
7027 method. (#317080, Tor Lillqvist)
7029 * modules/input/imcedilla.c: Use standard macros
7030 for translation domain and locale dir.
7032 * gtk/gtkimcontextsimple.c: Allow composing l with
7033 stroke. (#349638, Daniel Lublin)
7035 * gtk/gen-paper-names.c: Fix a thinko in the suffix
7036 calculation. (#382369, Christian Persch)
7038 * gtk/paper_names_offsets.c: Regenerated.
7040 2006-12-22 Matthias Clasen <mclasen@redhat.com>
7042 * modules/engines/pixbuf/pixbuf.h:
7043 * modules/engines/pixbuf/pixbuf-rc-style.h:
7044 * modules/engines/pixbuf/pixbuf-style.h: Move
7045 G_GNUC_INTERNAL before function declarations. (#352276,
7048 2006-12-22 Matthias Clasen <mclasen@redhat.com>
7050 * demos/gtk-demo/*.c: Fix some leaks. (#348108, Chris
7053 2006-12-22 Matthias Clasen <mclasen@redhat.com>
7055 * *.c: Replace a lot of idle and timeout calls by
7056 the new gdk_threads api.
7060 * gdk/gdk.c: Add functions to allow threadsafe handling
7061 of idles and timeouts wrt. to the GDK lock. (#321886,
7064 2006-12-22 Matthias Clasen <mclasen@redhat.com>
7066 * gdk/gdkpango.c: Use pango_cairo_show_error_underline.
7067 (#340141, Behdad Esfahbod)
7069 * configure.in: Check for getc_unlocked.
7071 * gtk/xdgmime/xdgmimemagic.c: Use getc if getc_unlocked is
7072 unavailable. (#381499)
7074 * tests/teststatusicon.c: Fix a typo
7076 2006-12-22 Matthias Clasen <mclasen@redhat.com>
7078 Make it possible to track the embeddedness of
7079 statusicon (#387215, Martyn Russell, patch by Christian
7082 * gtk/gtkstatusicon.c: Add orientation and embedded properties.
7084 * gtk/gtkplug-x11.c: Add an embedded property.
7085 * tests/teststatusicon.c: Test the new properties.
7087 * gtk/gtkwidget.c (gtk_widget_get_draw_rectangle): Don't
7088 leak draw_border. (#387170, Kjartan Maraas)
7090 2006-12-21 Matthias Clasen <mclasen@redhat.com>
7092 * gtk/gtkfilechooserembed.c (_gtk_file_chooser_embed_set_delegate()):
7093 Typo fix. (#388123, Murray Cumming)
7095 * gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event):
7096 Generate double-click events. (#380421, Tommi Komulainen)
7098 * gdk/x1/gdkinput-xfree.c (_gdk_input_configure_event):
7099 (_gdk_input_enter_event): Correct return_if_fail checks.
7100 (#379803, Tommi Komulainen)
7102 * gdk/gdkdisplay.c: Improve the docs of some functions operating
7103 on the default display. (##353438, Mariano Suárez-Alvarez)
7105 2006-12-21 Matthew Barnes <mbarnes@redhat.com>
7107 * docs/reference/gdk/gdk-sections.txt:
7108 * gdk/gdkcolor.[ch] (gdk_color_to_string): Add a function for
7109 converting a GdkColor to a string (#373856).
7111 * configure.in: Bump pango requirement to 1.15.2.
7113 2006-12-20 Matthias Clasen <mclasen@redhat.com>
7115 * gdk/keynames.txt: Mark arrow keys as translatable. (#369506,
7118 * gdk/keyname-table.h: Regenerated
7120 * gtk/gtktextbuffer.c: Add signal documentation. (#317064,
7121 Søren Wedel Nielsen)
7123 * gtk/gtktextview.c (gtk_text_view_start_selection_drag):
7124 Silently return if a drag is already in progress, rather
7125 than asserting. (#335622, Li Yuan, testcase by Erwann Chenede)
7127 * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_new_with_dialog):
7128 Allow any GtkDialog that implements GtkFileChooser as
7129 dialog. (#335473, Tommi Komulainen)
7131 2006-12-20 Mikael Hallendal <micke@imendio.com>
7133 * gtk/gtkstatusicon.c: (gtk_status_icon_init): Fixed a last minute
7134 change in the quartz backend.
7136 2006-12-20 Mikael Hallendal <micke@imendio.com>
7138 * gtk/Makefile.am: Added gtkstatusicon-quartz.c
7139 * gtk/gtkstatusicon-quartz.c: Implements the quartz backend for the
7141 * gtk/gtkstatusicon.c: Hooked in the new quartz backend. Bug #387874.
7143 2006-12-19 Matthias Clasen <mclasen@redhat.com>
7145 * gtk/gtkprintunixdialog.c: Add a tooltip explaining the
7146 format of page ranges, and improve the page sequence icon
7147 for the case of n_copies == 1.
7149 2006-12-19 Mikael Hallendal <micke@imendio.com>
7151 * gdk/quartz/gdkcursor-quartz.c: Splitted out the GdkPixbuf to NSImage
7152 routine so that it can be used from libgtk as well (needed for
7153 upcoming GtkStatusIcon support in the Quartz port).
7154 * gdk/quartz/gdkevents-quartz.c: Don't assume that all NSWindows are
7155 created from GDK, this is not true for the status icon.
7156 * gdk/quartz/gdkprivate-quartz.h:
7157 * gdk/quartz/gdkquartz.h: Added
7158 gdk_quartz_pixbuf_to_ns_image_libgtk_only so that it is available to
7159 the status icon code.
7161 2006-12-16 Tristan Van Berkom <tvb@gnome.org>
7163 * gtk/gtkmessagedialog.c: Added return_if_fail (image) to
7164 gtk_message_dialog_set_image ()
7166 * gtk/gtkscrolledwindow.c: Fixed a bug in set_property()
7167 (setting "window-placement-set" could result in a crash because
7168 of boolean/enum mixup)
7170 2006-12-15 Federico Mena Quintero <federico@novell.com>
7172 Merged from gtk-2-10:
7174 * gtk/gtkmenu.c (gtk_menu_set_title): Don't try to optimize for
7175 the case where the new title is the same as the old title, to
7176 preserve the behavior from GTK+ 2.8 (NULL and "" titles are not
7177 equivalent). Handle the case where title == priv->title. This
7178 was found by the LSB compatibility tests:
7179 https://bugzilla.novell.com/show_bug.cgi?id=223882
7181 2006-12-15 Dom Lachowicz <domlachowicz@gmail.com>
7183 * gtk/gtkcombobox.c: Make GtkComboBox in "appears-as-list" mode
7184 more closely resemble its Win32 counterpart. Bug #340204.
7186 2006-12-14 Carlos Garnacho <carlosg@gnome.org>
7188 * gtk/gtkcalendar.c: draw arrows pointing to the right correctly
7189 placed inside their GdkWindow. Bug #385672.
7191 2006-12-14 Christian Persch <chpe@cvs.gnome.org>
7193 * gtk/gtkiconview.c: Fix docs typo. Bug #385642.
7195 2006-12-13 Dom Lachowicz <domlachowicz@gmail.com>
7197 * src/modules/engines/ms-windows/msw_style.c: Bug 351679 - Notebooks
7198 drawn with extra line below tab in MS-Windows theme. Patch by
7201 2006-12-13 Matthias Clasen <mclasen@redhat.com>
7203 * gtk/Makefile.am: Add --unlink-tempfile to the evince call
7204 for print preview. (#370041, Ghee Teo)
7206 2006-12-11 Matthias Clasen <mclasen@redhat.com>
7208 * gtk/gtkprogressbar.c (gtk_progress_bar_paint_text): Be more
7209 careful when overdrawing antialiased text. (#352435, Alex Jones,
7210 patch by Benjamin Otte)
7212 * gtk/gtksettings.c: Change the way in which color scheme information
7213 is merged to correctly handle vanishing colors. (#374420,
7214 Benjamin Berg, patch by Callum McKenzie)
7215 Also allow to separate entries in color schemes by ';'
7218 2006-12-10 Matthias Clasen <mclasen@redhat.com>
7220 * modules/printbackends/cups/gtkcupsutils.c (gtk_cups_request_encode_option):
7221 Properly pass multi-value options to cups. (#355350, Jürg Billeter)
7223 2006-12-10 Kristian Rietveld <kris@gtk.org>
7225 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_focus_out_event):
7226 cancel editing (ie. don't accept changes) when the entry loses
7227 focus. (Fixes #164494, reported by Chris Rouch).
7229 2006-12-10 Matthias Clasen <mclasen@redhat.com>
7231 * configure.in: Correct a misapplied patch.
7233 2006-12-10 Tor Lillqvist <tml@novell.com>
7235 * gtk-zip.sh.in: Put gdk-pixbuf-query-loaders.exe and
7236 gtk-query-immodules-2.0.exe in the runtime zipfile instead of
7237 developer zipfile. Users might add pixbuf loaders or immodules
7238 even if they are not interested in developing gtk+-using software.
7240 2006-12-10 Matthias Clasen <mclasen@redhat.com>
7242 * configure.in: Check for crt_extern.h and _NSGetEnviron.
7243 * gdk/x11/gdkspawn-x11.c: Fix compilation on Darwin where
7244 environ is not available. (#384168, Min Sik Kim)
7246 2006-12-07 Paolo Maggi <paolo@gnome.org>
7250 * gtk/gtkentry.c (gtk_entry_set_text): check for
7251 completion->priv->changed_id > 0 before calling
7252 g_signal_handler_[un]block.
7253 (gtk_entry_completion_key_press): does not block/unblock the "changed"
7254 signal before calling gtk_entry_set_text.
7256 2006-12-07 Carlos Garnacho <carlosg@gnome.org>
7258 * gtk/gtkcellrendererprogress (compute_dimensions): do not use
7259 xthickness/ythickness, they aren't used any longer for drawing.
7261 2006-12-07 Matthias Clasen <mclasen@redhat.com>
7263 * gtk/gtkrc.c (_gtk_rc_init): Fix clipping of accelerator
7264 underlines by giving labels a small draw-border.
7266 2006-12-06 Kristian Rietveld <kris@gtk.org>
7268 * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_render):
7269 draw progress bar through theme engine instead of using our own
7270 custom cairo drawing code (#377244, patch from Carlos Garnacho).
7272 2006-12-06 Matthias Clasen <mclasen@redhat.com>
7274 * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities):
7275 Update the sensitivity of the collate checkbutton more frequently,
7276 proposed by Tim Waugh.
7278 2006-12-04 Matthias Clasen <mclasen@redhat.com>
7280 * gtk/gtkmessagedialog.c (setup_type): Set a11y name and role
7281 since we no longer set window titles.
7283 2006-12-04 Christian Persch <chpe@cvs.gnome.org>
7285 * gtk/gtkpagesetup.c: (gtk_page_setup_get_paper_size),
7286 (gtk_page_setup_set_paper_size): Don't leak the old page size when
7287 setting a new one. Bug #382314.
7289 2006-12-03 Michael Natterer <mitch@gimp.org>
7291 * gtk/gtktextview.c: remove FIXME #include that is no longer needed.
7293 2006-12-03 Kristian Rietveld <kris@gtk.org>
7295 Make sure [xy]_offset are always being initialized, fix pixbuf
7296 renderer padding. (#108235, Sven Neumann).
7298 * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_get_size),
7299 (gtk_cell_renderer_pixbuf_render): add padding in _render instead
7302 * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_get_size):
7303 always initialize [xy]_offset.
7304 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size): ditto.
7305 * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_size):
7308 2006-12-03 Kristian Rietveld <kris@gtk.org>
7310 * gtk/gtktreeview.c (validate_visible_area): when not using an
7311 explicit alignment, use the full area of the row (not just dy)
7312 to determine how to implicitly align it. (Fixes #363191, reported
7313 by Federico Mena Quintero).
7315 2006-12-02 Matthias Clasen <mclasen@redhat.com>
7317 * gtk/gtkicontheme.c (insert_theme): Properly clean up
7318 if an icon theme index file has no directories. (#381236)
7320 2006-12-02 Dom Lachowicz <domlachowicz@gmail.com>
7322 * src/modules/engines/ms-windows/msw_style.c: Bug 351678 - Notebooks
7323 not with PositionType.Top drawn incorrectly. Patch by Cody Russell
7325 2006-11-28 Behdad Esfahbod <behdad@gnome.org>
7327 Remove the broken Thai input method and add a functional Thai and Lao
7328 input method by Theppitak Karoonboonyanan. (#81031)
7330 * modules/input/imthai.c:
7331 * modules/input/gtkimcontextthai.c:
7332 * modules/input/gtkimcontextthai.h:
7333 * modules/input/thai-charprop.c:
7334 * modules/input/thai-charprop.h:
7337 * modules/input/imthai-broken.c:
7340 * modules/input/Makefile.am:
7343 2006-11-27 Christian Persch <chpe@cvs.gnome.org>
7345 * gtk/gtkstatusicon.c: Notify when the screen changes. Bug #379793.
7347 Mon Nov 27 12:27:06 2006 Tim Janik <timj@imendio.com>
7349 * gtk/gtktextview.c: applied patch by Colin Leroy for
7350 Control+GDK_KP_Left to move one word to the left, #356255.
7352 2006-11-26 Benjamin Berg <benjamin@sipsolutions.net>
7354 * gtk/gtkstyle.c: (gtk_default_draw_flat_box): Protect against NULL
7357 2006-11-25 Matthias Clasen <mclasen@redhat.com>
7359 * modules/printbackends/cups/gtkprintbackendcups.c: Make
7360 print dialog work when 'BrowseShortNames Off' is specified
7361 in cups configuration. Patch by Tim Waugh.
7363 2006-11-24 Michael Natterer <mitch@imendio.com>
7365 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): if we
7366 can't go up/down, consult gtk_widget_keynav_failed() and leave the
7367 widget if it returns FALSE (bug #322640).
7369 2006-11-23 Behdad Esfahbod <behdad@gnome.org>
7371 * gtk/gtkmain.c: Fix minor typo in docs. (#378632, Hannes Mueller)
7373 2006-11-22 Emmanuele Bassi <ebassi@gnome.org>
7375 * gtk/gtkrecentmanager.c:
7376 (get_uri_shortname_for_display): g_filename_from_uri() might
7377 fail; catch the failure and fall back to the non-local URI
7380 2006-11-19 Mark McLoughlin <mark@skynet.ie>
7382 Fixes bug #376502 - multi-screen support for GtkStatusIcon
7384 * gtk/gtkstatusicon.[ch]:
7385 (gtk_status_icon_set_screen),
7386 (gtk_status_icon_get_screen): add multi-screen API. Allows
7387 an app to display an icon on a non-default screen
7388 (gtk_status_icon_class_init),
7389 (gtk_status_icon_set_property),
7390 (gtk_status_icon_get_property): add a "screen" property
7392 * tests/teststatusicon.c: update to test on multiple screens
7394 2006-11-17 Matthias Clasen <mclasen@redhat.com>
7396 Fix problems with drag cancellation. (#376535, Michael Natterer)
7398 * gtk/gtkdnd.c (gtk_drag_source_info_destroy): Disconnect signal
7399 handlers before emitting drag-end.
7400 (gtk_drag_end): Disconnect signal handlers before removing
7403 2006-11-16 Mariano Suárez-Alvarez <mariano@gnome.org>
7405 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init):
7406 add gtk-doc blurb on GtkCellRendererText::edited (#376094)
7408 2006-11-16 Michael Natterer <mitch@imendio.com>
7410 * gtk/gtkradiobutton.c (gtk_radio_button_focus): don't use
7411 gtk_widget_keynav_failed(). Instead, look at gtk-keynav-cursor-only
7412 and gtk-keynav-wrap-around and wrap around, beep or continue outside
7413 the group manually (bug #322640).
7415 2006-11-16 Michael Natterer <mitch@imendio.com>
7417 Add new infrastructure for notifications of failed keyboard
7418 navigation and navigation with restricted set of keys.
7420 The patch handles configurable beeping, navigating the GUI with
7421 cursor keys only (as in phone environments), and configurable
7422 wrap-around. Fixes bugs #322640, #70986, #318827, #334726, #334742
7425 * gtk/gtksettings.c: added properties gtk-keynav-cursor-only,
7426 gtk-keynav-wrap-around and gtk-error-bell.
7428 * gtk/gtkwidget.[ch]: added new signal "keynav-failed" and public
7429 API to emit it. Added New function gtk_widget_error_bell() which
7430 looks at the gtk-error-bell setting and calls gdk_window_beep()
7433 * gtk/gtk.symbols: add the new widget symbols.
7435 * gtk/gtkcellrendereraccel.c
7436 * gtk/gtkimcontextsimple.c
7438 * gtk/gtknotebook.c: use gtk_widget_error_bell() or look at the
7439 gtk-error-bell setting instead of calling gdk_display_beep()
7446 * gtk/gtkmenushell.c
7447 * gtk/gtkspinbutton.c
7449 * gtk/gtktreeview.c: call gtk_widget_error_bell() on failed keynav.
7454 * gtk/gtktextview.c: consult gtk_widget_keynav_failed() on failed
7455 cursor navigation and leave the widget if it returns FALSE.
7457 * gtk/gtkmenushell.c
7458 * gtk/gtknotebook.c: only wrap around if gtk-keynav-wrap-around
7461 * gtk/gtkradiobutton.c: ask gtk_widget_keynav_failed() to decide
7462 whether to to wrap-around, and don't select active items on cursor
7463 navigation if gtk-keynav-cursor-only is TRUE. Should look at
7464 gtk-keynav-wrap-around too, will look into that.
7466 2006-11-16 Emmanuele Bassi <ebassi@gnome.org>
7468 * gtk/gtkrecentmanager.c:
7469 (gtk_recent_info_get_uri_display): Return the URI
7470 of the GtkRecentInfo object (upgraded to UTF-8 if
7471 needed) in case of non-local file. (#351945)
7473 2006-11-16 Emmanuele Bassi <ebassi@gnome.org>
7475 * gtk/gtkrecentchoosermenu.c:
7476 (gtk_recent_chooser_menu_add_tip): Apply the tip only
7477 if we have a displayable name for the item. (#365031,
7478 patch by padraig.obriain(at)sun.com)
7480 2006-11-16 Emmanuele Bassi <ebassi@gnome.org>
7482 * gtk/gtkrecentmanager.c: Provide a fast path returning
7483 NULL when the limit is set to 0.
7485 * gtk/gtkrecentchooserdefault.c:
7486 * gtk/gtkrecentchoosermenu.c: Add the same fast path
7487 inside the RecentChooser implementation; add a check
7488 in the list clamping code. (#373466 and duplicates)
7490 2006-11-15 Matthias Clasen <mclasen@redhat.com>
7492 * modules/printbackends/cups/gtkprintbackendcups.c (cups_printer_get_options):
7493 Don't pass NULL to strncpy. (#359537, patch by Carlos Garcia Campos)
7495 2006-11-15 Michael Natterer <mitch@imendio.com>
7497 * gtk/gtkrange.[ch]: added properties "fill-level",
7498 "show-fill-level" and "restrict-to-fill-level" and getters/setters
7499 for them. The "fill level" is an additional marker on the range's
7500 trough than can be e.g. used to indicate the amount of
7501 pre-buffering in a range showing the play position of streamed
7502 media. See the embedded API docs for details. Made GtkRangeLayout
7503 a GTypeInstance private struct and removed finalize()
7504 implementation. Fixes bug #349808
7506 * gtk/gtk.symbols: added the new symbols.
7508 2006-11-14 Behdad Esfahbod <behdad@gnome.org>
7510 * configure.in: Make libtool magic robust. (#352795)
7512 2006-11-13 Paolo Borelli <pborelli@katamail.com>
7514 * gtk/gtkrc.c (gtk_rc_parse_icon_source): plug small memory
7517 2006-11-09 Kristian Rietveld <kris@imendio.com>
7519 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): disable
7520 don't move cursor case for SELECTION_NONE. (#371756, John Ellis).
7522 2006-11-09 Carlos Garnacho <carlosg@gnome.org>
7524 * gtk/gtkpathbar.c (on_slider_unmap): Fix parenthesis confusion.
7526 2006-11-08 Carlos Garnacho <carlosg@gnome.org>
7528 * gtk/gtkpathbar.c (on_slider_unmap): added, do not leave the scroll
7529 timeout running if the slider buttons are hidden. (#372527)
7531 2006-11-08 Christian Persch <chpe@cvs.gnome.org>
7533 * gtk/gtkfilechooserdefault.c (browse_widgets_create): Don't make
7534 the "Location" label bold. Bug #372449.
7536 2006-11-07 Carlos Garnacho <carlosg@gnome.org>
7538 * gtk/gtknotebook.c (gtk_notebook_calculate_tabs_allocation): make
7539 non-focused tabs xthickness/ythickness thinner. (#353962)
7541 2006-11-07 Paolo Borelli <pborelli@katamail.com>
7543 * gtk/gtktextbtree.c (_gtk_text_btree_delete): avoid memory
7544 corruption (#357050).
7546 2006-11-06 Alexander Larsson <alexl@redhat.com>
7548 * gtk/gtkdnd.c: (gtk_drag_begin_internal),
7549 (gtk_drag_source_info_destroy), (gtk_drag_end),
7550 (gtk_drag_grab_notify_cb):
7551 Cancel drag when the grab is shadowed. (#122688)
7553 2006-11-01 Kristian Rietveld <kris@imendio.com>
7555 * gtk/gtkcombobox.c (gtk_combo_box_class_init),
7556 (gtk_combo_box_size_request): add arrow-size property to control
7557 the minimum size of the arrow, have the arrow scale up with the
7558 font by default. (#357950).
7560 2006-10-30 Kristian Rietveld <kris@gtk.org>
7562 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): don't
7563 forget to queue a draw for the new cursor node. (Fixes #366548,
7564 reported by Sven Herzberg).
7566 2006-10-30 Michael Natterer <mitch@imendio.com>
7568 * gtk/gtkrange.c (gtk_range_key_press): consume the Escape key
7569 only if we actually cancel a drag. Fixes bug #58389.
7571 2006-10-30 Kristian Rietveld <kris@gtk.org>
7573 * gtk/gtktreeview.c (gtk_tree_view_class_init): change left/right
7574 keybindings to collapse/expand rows instead of moving the focus
7575 cursor. (#105895, Brian Bober and others).
7577 2006-10-29 Kristian Rietveld <kris@gtk.org>
7579 * gtk/gtktreeview.c (gtk_tree_view_real_expand_row): guard against
7580 child removal in row-expanded callback. (#366782, John Ellis).
7582 2006-10-29 Tor Lillqvist <tml@novell.com>
7584 * gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Improve handling
7585 of the small icon of the window class. (#152620, Kazuki Iwamoto)
7587 2006-10-29 Tor Lillqvist <tml@novell.com>
7589 * gdk/win32/gdkcursor-win32.c
7590 (gdk_win32_icon_to_pixbuf_libgtk_only): Implement for B&W cursors,
7591 for instance the built-in GDK ones.
7593 2006-10-27 Kristian Rietveld <kris@gtk.org>
7595 * gtk/gtktreeview.c (validate_visible_area): rework the area_above == 0
7596 case to not overwrite the variables in the lower scope (which are
7597 used later on ...), get the path correctly and bail out when there
7598 isn't a node above us. (#359231).
7600 2006-10-26 Christian Persch <chpe@cvs.gnome.org>
7602 * gtk/gtkaboutdialog.c: Put initial focus on Close button (#337261).
7604 2006-10-25 Johan Dahlin <jdahlin@async.com.br>
7606 * gtk/gtk.symbols: Add missing symbols to so make check can pass
7608 2006-10-23 Dom Lachowicz <domlachowicz@gmail.com>
7610 * src/modules/engines/ms-windows/msw_style.c (draw_expander): Remember
7611 to free GDI Pen resources, introduced by bug 340201.(#364514)
7613 2006-10-18 Kristian Rietveld <kris@imendio.com>
7615 * tests/testcombo.c (main): connect to notify::popup-shown instead of
7616 popup-show (the latter does not exist).
7618 2006-10-15 Paolo Borelli <pborelli@katamail.com>
7620 * gtk/gtkicontheme.c (pixbuf_supports_svg): plug memory leak.
7623 2006-10-12 Michael Natterer <mitch@imendio.com>
7625 * gtk/gtkcombobox.c (gtk_combo_box_class_init): fix commit below
7626 (committed the wrong patch).
7628 2006-10-12 Michael Natterer <mitch@imendio.com>
7630 * gtk/gtkcombobox.c: added "move-active" and "popup" signals and
7631 bindings to trigger them. Removed gtk_combo_box_key_press(), it's
7632 obsolete now. Fixes bug #358293.
7634 2006-10-11 Michael Emmel <mike.emmel@gmail.com>
7636 * gdkpixmap-directfb.c: add missing RGB24 case (#361176)
7638 2006-10-11 Tor Lillqvist <tml@novell.com>
7640 * configure.in: Enable having some gdk-pixbuf loaders built-in
7641 even if loading the others dynamically. Define Automake
7642 conditional INCLUDE_FOO for each loader as TRUE if that loader is
7643 built-in. See also gdk-pixbuf/ChangeLog.
7645 Wed Oct 11 14:31:30 2006 Tim Janik <timj@imendio.com>
7647 * docs/reference/gtk/gtk-sections.txt:
7648 * gtk/gtkbindings.c: document gtk_binding_entry_skip().
7650 2006-10-11 Tor Lillqvist <tml@novell.com>
7652 * gtk/gtk.symbols: Remove gtk_combo_string_key, which is a static
7655 2006-10-11 Tor Lillqvist <tml@novell.com>
7657 Merge from 2.10 branch:
7659 * gtk/gtkmain.c (do_pre_parse_initialization): On Win32, if
7660 environment variable LC_ALL or LANG is set, set the Win32 thread
7661 locale to the corresponding locale. Then call the C library
7662 setlocale() to set the C library locale accordingly. The
7663 inconsistency mentioned below is gone. (#339756) Do some special
7664 casing for Serbia and Montenegro. Handle the Latin and Cyrillic
7665 scripts for Azeri, Uzbek and Serbian.
7666 (enum_locale_proc): Helper function for the above functionality.
7668 * gtk/gtkcalendar.c (gtk_calendar_init): No longer need to check
7669 if the environment variables are set here, as they have already
7670 been taken into account and the Win32 thread locale has been
7673 Tue Oct 10 16:38:23 2006 Tim Janik <timj@imendio.com>
7675 * gtk/tmpl/gtkbindings.sgml:
7676 * gtk/gtkbindings.c: applied patch from Michael Natterer to move to
7677 inline docs. applied wording fixes suggested by Martyn Russell.
7679 2006-10-09 Matthias Clasen <mclasen@redhat.com>
7681 * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state):
7682 Update the docs to state which out parameters may be NULL.
7683 (#360870, Attilio Fiandrotti)
7685 2006-10-08 Matthias Clasen <mclasen@redhat.com>
7687 * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities): Fix
7688 a typo. (#359542, Ghee Teo)
7690 2006-10-08 Matthias Clasen <mclasen@redhat.com>
7692 * gtk/gtknotebook.c (gtk_notebook_reorder_tab): Only
7693 reorder tabs if the focus is in the tab. (#350342, Carlos
7696 2006-10-08 Michael Emmel <mike.emmel@gmail.com>
7698 * gdk/directfb/gdkproperty-directfb.c strdup atom name (#357611)
7700 2006-10-08 Kristian Rietveld <kris@gtk.org>
7702 * gtk/gtktreeview.[ch] (gtk_tree_view_set_property),
7703 (gtk_tree_view_set_show_expanders),
7704 (gtk_tree_view_get_show_expanders): add getter/setter for
7705 show-expanders property, queue a redraw when this property
7706 is toggled (#351167, Martin Ejdestig),
7707 (gtk_tree_view_set_level_indentation),
7708 (gtk_tree_view_get_level_indentation): also add getter/setter
7709 and docs for level-indentation property.
7711 2006-10-08 Matthias Clasen <mclasen@redhat.com>
7713 * gtk/gtkradiobutton.c (gtk_radio_button_focus): Don't
7714 leak a list. (#360350, Benjamin Berg)
7716 * Apply a cleanup patch by Kjartan Maraas (#341812)
7718 2006-10-07 Tor Lillqvist <tml@novell.com>
7720 * gtk/gtkcalendar.c (gtk_calendar_init): Use the Win32 thread
7721 locale's first day of week setting on Win32. (#339752, Bogdan
7722 Nicula) Don't do this if one of the environment variables that
7723 affect gettext is set, though. In that case use the week start day
7724 from the corresponding message catalog.
7726 Unfortunately the same logic isn't possible in the weekday and
7727 month name lookup; there even if you have set one of the
7728 aforementioned environment variables, you still get the weekday
7729 and month names from the Win32 thread locale. Yes, this is
7732 Use only wide-character API in the Win32 code in this file, too.
7734 2006-10-06 Matthias Clasen <mclasen@redhat.com>
7736 * gtk/gtkfilechooser.c (gtk_file_chooser_set_select_multiple):
7737 Fix the docs. (#360112)
7739 * gtk/gtkcellview.c: Don't set the background of the
7740 window in a no-window widget. (#359581, Xan Lopez)
7743 2006-10-05 Behdad Esfahbod <behdad@gnome.org>
7745 * gtk/Makefile.am, gtk/aliasfilescheck.sh: Propagate srcdir into the
7746 test correctly. (#359845)
7748 2006-10-05 Michael Natterer <mitch@imendio.com>
7750 * gtk/gtkrc.[ch]: added new scanner token "unbind" which gets
7751 rid of a key binding (in fact, it only lets it appear unbound).
7753 * gtk/gtkbindings.[ch] (struct GtkBindingEntry): added
7754 "guint marks_unbound : 1"
7756 (gtk_binding_entry_skip): new API which marks the entry as unbound.
7758 Changed code so it returns FALSE when "marks_unbound == TRUE" is
7759 encountered while activating bindings, effectively letting the
7760 binding appear unbound (regardless of still existing bindings in
7761 lower binding priority levels). Fixes bug #358329.
7763 (gtk_binding_entry_add)
7764 (gtk_binding_entry_clear)
7765 (gtk_binding_entry_add_signall)
7766 (gtk_binding_parse_binding): deprected these functions.
7768 (_gtk_binding_parse_binding)
7769 (_gtk_binding_entry_add_signall): new internal API.
7771 * gtk/gtk.symbols: changed accordingly.
7773 2006-10-03 Matthias Clasen <mclasen@redhat.com>
7775 Fix interaction of GtkEntryCompletion with input
7776 methods. (#354495, Diego Escalante Urrelo)
7778 * gtk/gtkentry.c (gtk_entry_completion_key_press): Only reset
7779 the im context if we actually handle the key event.
7781 * gtk/gtkentrycompletion.c: Also propagate key release events
7784 2006-10-03 Matthias Clasen <mclasen@redhat.com>
7786 * gtk/gtkprintsettings.c (gtk_print_settings_get_duplex):
7787 Fix a typo. (#359052, Ghee Teo)
7789 * gtk/*.c, gdk/*.c: Apply a patch by Behdad Esfahbod to
7790 reduce relocations. (#359053)
7792 2006-10-03 Matthias Clasen <mclasen@redhat.com>
7794 * modules/printbackends/cups/gtkcupsutils.c:
7795 * modules/printbackends/cups/gtkprintbackendcups.c: Complete
7796 the fix for bug 357280.
7798 2006-10-02 Behdad Esfahbod <behdad@gnome.org>
7800 * gdk-pixbuf/Makefile.am:
7803 Include pltcheck.sh in EXTRA_DIST.
7805 2006-10-02 Behdad Esfahbod <behdad@gnome.org>
7807 * gdk/x11/gdkevents-x11.c: Move all includes before including
7810 2006-10-02 Behdad Esfahbod <behdad@gnome.org>
7812 * gtk/Makefile.am: Fix typo in file name. (#358931)
7814 2006-10-02 Matthias Clasen <mclasen@redhat.com>
7816 * modules/printbackends/cups/gtkprintbackendcups.c (available_choices):
7817 Only use the group name field if cups is new enough. (#357280)
7819 * gtk/gtksizegroup.c: Make sure that the quarks are
7820 initialized before using them. (#353736)
7822 * gtk/Makefile.am (stamp-icons): Use rm instead of ln -f to
7823 replace existing links. (#354849, James Evans)
7825 2006-10-01 Matthias Clasen <mclasen@redhat.com>
7827 * gtk/gtkexpander.c (gtk_expander_realize)
7828 (gtk_expander_size_allocate): Make the event_window large
7829 enough to cover the full height of the label_widget. (#358351,
7832 2006-10-01 Tor Lillqvist <tml@novell.com>
7834 * gtk/gtkfilesystemwin32.c: Same change as to gtkfilesystemunix.c.
7836 2006-09-30 Matthias Clasen <mclasen@redhat.com>
7838 * gtk/gtkfilechooserbutton.c (update_combo_box): Protect
7839 against base_path being NULL. (#358405, many reporters)
7841 2006-09-29 Matthias Clasen <mclasen@redhat.com>
7843 * gtk/gtkfilesystemunix.c: Apply a patch by Padraig O'Briain
7844 to avoid a deadlock.
7846 2006-09-27 Kristian Rietveld <kris@imendio.com>
7848 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_free_level),
7849 (gtk_tree_model_filter_ref_node),
7850 (gtk_tree_model_filter_real_unref_node): bring zero ref count loops
7851 in sync with each other and the sort model.
7853 2006-09-27 Kristian Rietveld <kris@imendio.com>
7855 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_init),
7856 (gtk_tree_model_filter_finalize), (gtk_tree_model_filter_row_deleted),
7857 (gtk_tree_model_filter_new): unref the virtual root path once that
7858 node (or one if its ancestors) is deleted, set virtual_root_deleted
7859 so we only unref it once.
7861 2006-09-27 Kristian Rietveld <kris@imendio.com>
7863 * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_changed),
7864 (gtk_tree_model_sort_sort_level): ref count nodes the proper way,
7865 (gtk_tree_model_sort_ref_node), (gtk_tree_model_sort_real_unref_node),
7866 (gtk_tree_model_sort_free_level): bring zero ref count loops in
7868 (gtk_tree_model_sort_free_level): free child levels before
7869 decreasing the zero ref count of the current level,
7870 (gtk_tree_model_sort_clear_cache): only clear cache if zero_ref_count
7873 2006-09-25 Matthias Clasen <mclasen@redhat.com>
7875 * demos/gtk-demo/*.c:
7876 * gtk/gtkeventbox.c:
7877 * gtk/gtkprintoperation.c: Fix typos. String change.
7879 2006-09-25 Kristian Rietveld <kris@gtk.org>
7881 * gtk/gtktreeview.c (gtk_tree_view_scroll_to_cell): if the tree view
7882 has already been realized; scroll to background area instead of
7883 cell area. (Fixes #330683, Johan Dahlin, Tommi Komulainen).
7885 2006-09-25 Kristian Rietveld <kris@gtk.org>
7887 * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): only attempt
7888 to create the GCs if the widget is realized. (Fixes #357578).
7890 2006-09-25 Matthias Clasen <mclasen@redhat.com>
7892 * gtk/gtkuimanager.c (_gtk_menu_is_empty): Don't leak
7893 the list of children (#357454, Paolo Borelli)
7895 2006-09-25 Michael Natterer <mitch@imendio.com>
7897 * gdk/x11/gdkdisplay-x11.c (gdk_display_x11_finalize): free
7898 display->input_windows with g_free(), not g_object_unref()
7899 (#357566, Tommi Komulainen).
7901 2006-09-24 Kristian Rietveld <kris@gtk.org>
7903 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init),
7904 (gtk_cell_renderer_text_[sg]et_property): actually add align-set
7905 property to the API (left-over patch from #157439).
7907 2006-09-24 Kristian Rietveld <kris@gtk.org>
7909 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button): draw
7910 the indicator if the column has a sort column id (and the model is
7911 sortable) or if the user explicitly requested the indicator
7912 to be shown. (Fixes #352738, Chris Vine).
7914 2006-09-23 Tor Lillqvist <tml@novell.com>
7916 * gtk/Makefile.am: Use EXEEXT.
7918 2006-09-22 Michael Natterer <mitch@imendio.com>
7920 * gtk/gtkstyle.c (gtk_style_real_copy): also copy icon factories
7921 and color hashes. Fixes bug #357132.
7923 2006-09-22 Matthias Clasen <mclasen@redhat.com>
7925 Make remote bookmarks work better (#354887)
7927 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons):
7928 (shortcuts_insert_path):
7929 * gtk/gtkfilechooserbutton.c (change_icon_theme):
7930 (model_add_bookmarks):
7931 (model_update_current_folder):
7932 (update_label_and_image):
7933 If the bookmark points to a remote file, don't call get_info(),
7934 since that may a) take a long time and b) pop up an auth dialog.
7935 Instead, just use a folder icon and create a display name
7938 * gtk/gtkfilechooserdefault.c (_gtk_file_chooser_label_for_uri):
7939 New function to create a suitable display name for a remote
7940 uri. This should really be done in GtkFileSystem.
7942 2006-09-21 Michael Natterer <mitch@imendio.com>
7944 Implement lots of value setters for GdkGC, based on a heavily
7945 modified patch from Thomas Broyer (bug #328853):
7947 * gdk/quartz/gdkcolor-quartz.c: removed functions which set colors
7948 on the CGContext. Instead, added gdk_quartz_get_rgba_from_pixel()
7949 which simply returns RGBA values from a GdkColor's pixel value.
7950 See gdk_quartz_update_context_from_gc() below.
7952 * gdk/quartz/gdkprivate-quartz.h (struct GdkGCQuartz): added lots
7953 of members for the newly suppored GC values. Added enum
7954 GdkQuartzContextValuesMask which is used for setting up the
7955 CGContext for filling and/or stroking.
7957 * gdk/quartz/gdkgc-quartz.c (gdk_quartz_gc_get_values)
7958 (gdk_quartz_gc_set_values)
7959 (_gdk_windowing_gc_copy): support a lot more GC values.
7961 (gdk_quartz_update_context_from_gc): added
7962 GdkQuartzContextValuesMask parameter and set filling/stroking
7963 parameters accordingly. This function also gained full control
7964 over the FG and BG colors (they can't be set separately any more).
7966 The stipple mask part of the patch doesn't work but seems to take
7967 the right approach and doesn't make things worse, so I applied it.
7969 Did *not* apply the clipping part of the patch since I don't
7970 understand it (I don't understand the version in CVS either, but
7971 it at least works :-)
7973 * gdk/quartz/gdkdrawable-quartz.c: pass the right masks to
7974 gdk_quartz_update_context_from_gc() and removed separate color
7975 setting calls. Some minor fixes.
7977 * gdk/quartz/gdkwindow-quartz.c
7978 (gdk_window_impl_quartz_begin_paint_region): set the CGContext's
7979 fill color manually. We don't have/need a GC here.
7981 2006-09-21 Michael Natterer <mitch@imendio.com>
7983 * gdk/quartz/gdkwindow-quartz.c
7984 (gdk_window_impl_quartz_begin_paint_region): fix cast: it's
7985 drawable_impl->wrapper that is the GdkWindow, not the
7986 drawable_impl itself.
7988 2006-09-20 Behnam Esfahbod <behnam@zwnj.org>
7990 * gdk/x11/gdkkeys-x11.c:
7991 (get_direction): just check the first shift-level of keyboard
7992 layout for RTL and LTR keysyms() (compliment to #116626)
7994 Wed Sep 20 16:59:38 2006 Tim Janik <timj@imendio.com>
7996 * gtk/gtkviewport.c: always update the bin_window position and size
7997 in size_allocate, even if we don't have a visible child. this fixes
7998 expose artefacts as described in #313508.
8000 * gtk/gtkscrolledwindow.c: make hiding of automatic scrollbars when we
8001 have no visible child explicit.
8003 2006-09-19 Ryan Lortie <desrt@desrt.ca>
8005 * docs/reference/gdk/gdk-sections.txt:
8008 * gdk/gdkpango.c: Bug 355343. Add a GdkPangoAttrEmbossColor.
8009 (gdk_pango_layout_get_clip_region): Remove an unused variable.
8010 (gdk_pango_attr_embossed_new): Fix documentation.
8012 Tue Sep 19 17:00:04 2006 Tim Janik <timj@imendio.com>
8014 * gtk/gtkarrow.c: added GtkArrow::arrow-scaling style property to
8015 control the arrow/border ratio within the allocation.
8017 * tests/testgtk.c: added a GtkArrow to handle box test.
8019 * tests/testgtkrc: test ::arrow-scaling property.
8021 2006-09-19 Matthias Clasen <mclasen@redhat.com>
8023 * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
8024 Display an error when we come to the root.
8026 2006-09-16 Matthias Clasen <mclasen@redhat.com>
8028 * gtk/gtkfilechooserbutton.c: Use bookmark labels in
8031 * gtk/gtkfilechooserbutton.c: Don't add remote volumes and
8032 bookmarks to the model in local-only mode, to avoid
8033 authentication dialogs pop up for invisible bookmarks, and
8034 to fix issues with separators not being hidden when
8035 they should. (#354887, Dennis Cranston)
8037 2006-09-16 Matthias Clasen <mclasen@redhat.com>
8039 * gtk/gtkcombobox.c (gtk_combo_box_finalize): Unref the
8040 treeview use in list mode. (#355732, Richard Hult)
8042 * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): Send
8043 change notification for the right property. (#355308,
8046 2006-09-15 Michael Natterer <mitch@imendio.com>
8048 * gtk/gtktreeview.c (gtk_tree_view_key_press): refactored column
8049 header navigation/resizing/reordering to be more readable and lose
8050 one level of nesting.
8052 2006-09-15 Kristian Rietveld <kris@imendio.com>
8054 * gtk/gtktreeview.c (gtk_tree_view_key_press): actually directly
8055 return after handling column button focus; we disable wrap around
8056 with this (which actually happened via a really weird code path).
8059 2006-09-15 Kristian Rietveld <kris@imendio.com>
8061 * gtk/gtktreeview.c (gtk_tree_view_key_press): make column resizing
8062 code RTL aware, also break from the loops after we have seen the
8063 focussed column button (Michael Natterer).
8065 Thu Sep 14 12:28:51 2006 Tim Janik <timj@imendio.com>
8067 * tests/testrichtext.c (main): intialize random number generator state
8068 upon program start, to enable truely random testing.
8070 2006-09-13 Michael Emmel <mike.emmel@gmail.com>
8072 * gdk/directfb/gdkcolor-directfb.c small clean ups include order
8073 * gdk/directfb/gdkwindow-directfb.c fixed beep compile error
8074 * gdk/directfb/Makefile.am removed GDK_PIXBUF_DISABLE_DEPRECATED
8075 GDK_DISABLE_DEPRECATED to allow compile per Behdad
8076 * gdk/quartz/Makefile.am same change as directfb Makefile
8077 * gtk/Makefile.am fixed typo that cause socket stubs not to compile
8079 2006-09-13 Matthias Clasen <mclasen@redhat.com>
8081 * gtk/gtkcolorsel.c: Use a GtkWindow instead of a GtkInvisible
8082 for the grab widget, to make the color picker work with window
8085 2006-09-12 Hong Jen Yee <pcman.tw@gmail.com>
8087 signed off by: Dom Lachowicz
8089 * modules/engines/ms-windows/msw_style.c: Bug 340201. This contains
8090 a large number of improvements to the Microsoft Windows theme engine
8091 which are fully described in the bug report.
8093 Mon Sep 11 14:22:39 2006 Tim Janik <timj@imendio.com>
8095 * tests/testgtk.c: fixed compiler warnings.
8097 2006-09-10 Matthias Clasen <mclasen@redhat.com>
8099 * gtk/gtkfilechooserbutton.c (model_add_special): Request
8100 the display name too, otherwise "Desktop" does not appear
8101 in the file chooser button.
8103 2006-09-10 Tor Lillqvist <tml@novell.com>
8105 * gdk/win32/gdkprivate-win32.h
8106 * gdk/win32/gdkmain-win32.c
8107 * gdk/win32/gdkwindow-win32.c: Define WINVER and _WIN32_WINNT as
8108 0x0500 in gdkprivate-win32.h instead of doing it in two source
8109 files. (#355212, Mike Edenfield)
8111 * gdk/win32/gdkwindow-win32.c: We can also remove the ersatz
8112 GetAncestor() for the _MSC_VER && WINVER < 0x0500 case, I hope.
8114 2006-09-10 Matthias Clasen <mclasen@redhat.com>
8116 * Commit a patch by Behdad to fix typos, omissions and other
8117 errors in the symbol aliasing, and add checks for local PLT
8118 entries. (#354687, Behdad Esfahbod)
8120 * gtk/gtktreeview.c (gtk_tree_view_search_scroll_event): Renew
8121 the flush timeout. (#354043, Nelson Benitez)
8123 * gtk/gtkfilechoosersettings.c (set_unexpected_element_end_error):
8124 Improve wording. String change! (#355126, David Lodge)
8126 * gtk/updateiconcache.c: Improve wording. String change! (#355128,
8129 * gtk/paper_names_offsets.c: Fix a typo. String change! (#355134,
8132 2006-09-09 Matthias Clasen <mclasen@redhat.com>
8134 * gdk/x11/gdkfonts-x11.c: Fix small theoretical memory leaks.
8135 (#353916, Chris Wilson)
8137 * gtk/gtksettings.c (_gtk_settings_reset_rc_values):
8138 Don't leak the to_reset list. (#353914, Chris Wilson)
8140 * gtk/gtkwidget.c: Add docs for the parent-set signal.
8141 (#353772, Mariano Suárez-Alvarez)
8143 2006-09-08 Matthias Clasen <mclasen@redhat.com>
8145 * gtk/gtktextbuffer.c (remove_all_selection_clipboards):
8146 Don't clear clipboards here, since we are called from finalize
8147 and can't emit signals.
8149 * configure.in: Set version to 2.11.0
8151 2006-09-06 Richard Hult <richard@imendio.com>
8153 * gdk/quartz/gdkkeys-quartz.c: (maybe_update_keymap): Special-case
8154 shift-tab and map it to GDK_ISO_Left_Tab, fixes bug #350806.
8156 2006-09-04 Kristian Rietveld <kris@imendio.com>
8158 * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
8159 if setting the given folder failed, try setting the parent folder
8160 until we succeed; display an error box at the end.
8162 2006-09-04 Kristian Rietveld <kris@imendio.com>
8164 * gtk/gtkpathbar.c (gtk_path_bar_dispose): don't cancel the
8165 operations spawned by buttons here,
8166 (set_button_image_get_info_cb): bail out if button is NULL, but
8167 do free button_data,
8168 (button_data_free): only free the data if non NULL (since this
8169 function can be called multiple times for the same data), cancel
8170 handle if pending but don't free button_data in this case (will
8171 happen in the callback).
8173 2006-09-04 Michael Natterer <mitch@imendio.com>
8175 * gtk/gtkrc.c (rc_parse_token_or_compound)
8176 (gtk_rc_parse_assignment): serialize floating point values using
8177 locale-independent functions. (#346751, Frederic Crozat)
8179 2006-09-04 Tor Lillqvist <tml@novell.com>
8181 * gdk/win32/gdkevents-win32.c
8182 * gdk/win32/gdkwindow-win32.c: Use wide-char API for message and
8183 window handling (PeekMessage, PostMessage, SendMessage,
8184 DispatchMessage, DefWindowProc, RegisterClassEx,
8185 CreateWindowEx). (#321597)
8187 2006-09-03 Kristian Rietveld <kris@imendio.com>
8189 * gtk/gtkfilechooserdefault.c (save_entry_get_info_cb),
8190 (file_exists_get_info_cb), (gtk_file_chooser_default_should_respond):
8191 change file_exists_and_is_not_folder checks to get the file info
8192 for the path directly instead of querying the current file folder
8195 * gtk/gtkfilechooserprivate.h (struct _GtkFileChooserDefault): add
8198 * tests/autotestfilechooser.c (wait_for_idle_idle), (wait_for_idle),
8199 (test_reload_sequence), (test_button_folder_states_for_action): wait
8200 for idle after setting a folder to ensure the async operations to load
8201 the folder are finished,
8202 (test_confirm_overwrite), (test_confirm_overwrite_for_path):
8203 factor out test_confirm_overwrite code so we can add tests for more
8206 2006-09-03 Richard Hult <richard@imendio.com>
8208 * gdk/quartz/GdkQuartzView.c (drawRect): Don't do anything if
8209 exposure isn't in the event mask, plug a leak, and check that the
8210 window isn't destroyed.
8211 (isOpaque): Check that the window isn't destroyed, fixes bug
8214 2006-09-03 Matthias Clasen <mclasen@redhat.com>
8216 * gtk/gtkwidget.c (gtk_widget_class_init): Fix a typo.
8217 (#354035, Mariano Suárez-Alvarez)
8219 * gtk/gtkmain.c (post_parse_hook):
8220 * gdk/gdk.c (gdk_init): Handle display_name being NULL.
8221 (#354004, Chris Wilson)
8223 2006-09-03 Tor Lillqvist <tml@novell.com>
8225 * gdk/win32/gdkwindow-win32.c (gdk_window_beep): No
8226 GDK_WINDOW_DISPLAY in the Win32 backend.
8228 * gtk/gtkfilesystemwin32.c: Copy what Kris did to
8231 2006-09-02 Kristian Rietveld <kris@imendio.com>
8233 First part of file chooser fixes.
8235 * gtk/gtkfilechooserbutton.c (model_add_special): also set the
8236 handle in the model for the desktopdir case.
8238 * gtk/gtkfilechooserdefault.c (shortcuts_add_current_folder): free
8239 volume in case we retrieved it but don't pass it on to insert_path,
8240 (shortcuts_model_create): change the column type for the handles
8241 to pointer instead of GObject so our handle ref counting is not
8243 (show_and_select_paths_finished_loading): don't forget to unref
8246 * gtk/gtkfilesystemunix.c (gtk_file_system_unix_class_init),
8247 (gtk_file_system_unix_init), (gtk_file_system_unix_dispose):
8248 remove pending execute_callbacks_idle during dispose, also
8249 execute all callbacks waiting to be run in the next idle,
8250 (queue_*callback), (execute_callbacks_idle): refactor to maintain
8251 a list of callbacks to call per file system instead of globally,
8252 guard the file system during callback invocation,
8253 (gtk_file_system_unix_get_folder): only add load folder idle if
8254 none has been added yet.
8256 2006-09-01 Matthias Clasen <mclasen@redhat.com>
8258 * gtk/gtkentry.c: Don't unnecessarily reset the im context
8259 when deleting the selection. (#353803, Alex Larsson)
8261 2006-09-01 Abel Cheung <abel@oaka.org>
8263 * configure.in: Added 'ang' 'dz' to ALL_LINGUAS.
8265 2006-08-31 Matthias Clasen <mclasen@redhat.com>
8267 Stop cursor blinking after a configurable timeout.
8268 (#353670, #352442, Arjan van de Ven, Manu Cornet)
8270 * gtk/gtksettings.c (gtk_settings_class_init): Add a
8271 gtk-cursor-blink-timeout setting, which specifies the number
8272 of seconds that the cursor should blink after a user interaction.
8273 The default value is G_MAXINT to preserve the current behaviour.
8275 * gtk/gtkentry.c (blink_cb): Stop blinking after blink-timeout
8278 * gtk/gtkentry.c (gtk_entry_completion_key_press)
8279 (gtk_entry_button_press, gtk_entry_focus_in): Reset the
8282 * gtk/gtktextview.c (blink_cb): Stop blinking after blink-timeout
8285 * gtk/gtktextview.c (gtk_text_view_key_press_event)
8286 (gtk_text_view_button_press_event, gtk_text_view_focus_in_event):
8287 Reset the blink timer.
8289 2006-08-31 Matthias Clasen <mclasen@redhat.com>
8291 * gtk/gtkprintoperation-unix.c (get_print_dialog): Don't specify
8292 explicit format capabilities. (#346505, Christian Persch)
8294 * modules/printbackends/cups/gtkprintbackendcups.c (cups_request_printer_list_cb): Send printer-list-done on error.
8296 2006-08-31 Michael Natterer <mitch@imendio.com>
8298 * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Fix build.
8300 2006-08-30 Richard Hult <richard@imendio.com>
8302 * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep): Fix build.
8304 2006-08-30 Matthias Clasen <mclasen@redhat.com>
8306 * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Only use XKB
8307 for beeping if we are using XKB.
8309 2006-08-29 Matthias Clasen <mclasen@redhat.com>
8313 * gdk/directfb/gdkwindow-directfb.c (gdk_window_beep):
8314 * gdk/win32/gdkwindow-win32.c (gdk_window_beep):
8315 * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep):
8316 * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Add a function
8317 to beep on a window. For X11, implement this with
8318 XkbBell. (#353455, Mariano Suárez-Alvarez)
8320 2006-08-29 Tor Lillqvist <tml@novell.com>
8322 Remove support for Windows 9x/ME. GTK+ hasn't worked on Win9x
8323 since 2.6 or 2.8. It's pointless to keep the Win9x code in here as
8324 it isn't being maintained anyway. If somebody is interested, it
8325 can always be found in older GTK+ versions, and in CVS.
8330 * gdk/win32/Makefile.am
8331 * gdk/win32/libie55uid.la
8332 * gdk/win32/gdkevents-win32.c: Remove the --with-ie55 configure
8333 switch and associated stuff. Active IMM and the <dimm.h> header
8334 was used for IM support on NT4 and Win9x. Win2k and later have IM
8337 * gdk/win32/gdkcursor-win32.c
8338 * gdk/win32/gdkdnd-win32.c
8339 * gdk/win32/gdkdrawable-win32.c
8340 * gdk/win32/gdkevents-win32.c
8341 * gdk/win32/gdkgc-win32.c
8342 * gdk/win32/gdkglobals-win32.c
8343 * gdk/win32/gdkkeys-win32.c
8344 * gdk/win32/gdkmain-win32.c
8345 * gdk/win32/gdkproperty-win32.c
8346 * gdk/win32/gdkselection-win32.c
8347 * gdk/win32/gdkwindow-win32.c: Remove the G_WIN32_IS_NT_BASED()
8348 and G_WIN32_HAVE_WIDECHAR_API() tests and their false (Win9x)
8349 branches, and any variables or static functions used only by the
8352 * gdk/win32/gdkprivate-win32.h: Remove backup definitions for
8353 constants that aren't missing from current mingw and MSVC6
8356 * gdk/win32/gdkmain-win32.c
8357 * gdk/win32/gdkprivate-win32.h: Remove the _gdk_win32_gdi_failed()
8358 function. On NT-based Windows GetLastError() returns error codes
8359 also for failed GDI calls, so we can use _gdk_win32_api_failed()
8362 2006-08-29 Emmanuele Bassi <ebassi@gnome.org>
8364 * gtk/gtkrecentchoosermenu.c
8365 (gtk_recent_chooser_menu_set_current_uri): Break when an item
8366 is found and activated. (#353449, based on a patch by Jan Arne
8369 Fri Jul 14 16:13:37 2006 Tim Janik <timj@gtk.org>
8371 * gtk/gtkprogressbar.c: introduced ::xspacing and ::yspacing style
8372 properties which make all hardcoded padding and spacing values
8373 configurable. properly swap ::text-xalign treatment for RTL widgets.
8375 * gtk/gtkprogress.c: fixed style property blurbs. made alignment
8376 proeprty more consistent with GtkMisc alignment blurbs. mention
8377 RTL treatment for text-xalign.
8379 Tue Aug 29 11:57:40 2006 Tim Janik <timj@imendio.com>
8381 * tests/testgtk.c: allow (most) windows to be resizable.
8382 added ellipsization settings to progress bars.
8384 2006-08-28 Matthias Clasen <mclasen@redhat.com>
8386 * modules/printbackend/cups/gtkprintbackendcups.c: Use a
8387 resonable timeout of 3 seconds when polling for printer
8388 list updates, instead of 300000 seconds...
8390 2006-08-28 Michael Natterer <mitch@imendio.com>
8392 * gtk/gtktextbufferserialize.c (serialize_text): don't write out
8393 </apply_tag> for tags that have already been closed by the logic
8394 which turns overlapping spans into XML-able trees. Fixes broken
8395 XML when there are overlapping tags in the buffer. Also free two
8396 leaked GLists and did some cleanup.
8399 * tests/testrichtext.c: new test which creates randomly tagged
8400 GtkTextBuffers and serializes/deserializes them.
8402 2006-08-26 Matthias Clasen <mclasen@redhat.com>
8404 * gtk/gtkstatusicon.c (gtk_status_icon_reset_image_data):
8405 Don't leak pixbufs. (#352264, Ross Burton)
8407 * gtk/gtklinkbutton.c (set_link_underline): Don't leak
8408 PangoAttributes. (#352391, Paolo Borelli)
8410 2006-08-25 Matthias Clasen <mclasen@redhat.com>
8412 * demos/gtk-demo/Makefile.am:
8413 * demos/gtk-demo/textscroll.c: Add an example of automatic
8414 scrolling, thanks to Yevgen Muntyan. (#351206)
8416 * gtk/gtkmodules.c (find_module): Use local binding when
8417 loading modules. (#351868)
8419 2006-08-24 Michael Natterer <mitch@imendio.com>
8421 * gdk/quartz/gdkdisplay-quartz.c (gdk_display_get_name): return
8422 the hostname instead of NULL.
8424 2006-08-23 Matthias Clasen <mclasen@redhat.com>
8426 * gtk/gtkprinteroptionwidget.[hc]: Fix confusion about
8427 names and values in comboboxes, and clean up some
8428 coding style issues.
8430 2006-08-23 Tor Lillqvist <tml@novell.com>
8432 * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_make_path):
8433 Revert unintended translatable string addition. Use same string
8434 in GError as in gtkfilesystemunix.c.
8436 * gtk/gtkfilesystemwin32.c (_gtk_file_system_win32_path_compare):
8437 Fix logic at the end of strings.
8439 * gtk/gtkfilesystemwin32.c: Maintain a hash table of live
8440 handles and check that we have no outstanding handles at
8441 finalization time. (Copying what Matthias did for
8442 gtkfilesystemunix.c)
8444 2006-08-23 Matthias Clasen <mclasen@redhat.com>
8446 * gtk/gtkfilesystemunix.c: Maintain a hash table
8447 of live handles and check that we have no outstanding
8448 handles at finalization time. (Copying what
8449 Federico did for gtkfilesystemgnomevfs.c)
8451 2007-08-22 Matthias Clasen <mclasen@redhat.com>