1 2007-08-14 Kristian Rietveld <kris@imendio.com>
3 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): make
4 sure we fail keynav if the only item in the list is already selected.
5 (Fixes #465039, reported by Fernando Herrera).
7 2007-08-09 Sven Neumann <sven@gimp.org>
9 * modules/printbackends/file/gtkprintbackendfile.c: change the
10 file extension when the file format is changed in the Print dialog
13 2007-08-09 Stefan Kost <ensonic@users.sf.net>
15 * docs/reference/gtk/tmpl/gtkruler.sgml:
17 Move documentation of gtk_ruler_set_range() to source and fix nonsense.
19 2007-08-08 Mikael Hallendal <micke@imendio.com>
21 * gtk/gtkcombobox.c (gtk_combo_box_class_init):
22 Document the new signals popup, popdown and move-active.
24 2007-08-07 Matthias Clasen <mclasen@redhat.com>
26 * MAINTAINERS: Follow new format regulations.
28 2007-08-07 Johan Dahlin <jdahlin@async.com.br>
30 * gtk/gtkbuilderparser.c (text):
31 * gtk/gtkcelllayout.c (attributes_text_element):
32 * gtk/gtkliststore.c (list_store_text):
33 Do not assume that text is null-terminated as pointed out by
36 * gtk/gtkbuilderparser.c (text): Use g_strdup on the translated
37 string instead of g_strndup() + the length of the untranslated
38 string. (#461945, Claude Paroz)
40 2007-08-07 Kristian Rietveld <kris@imendio.com>
42 * gtk/gtktooltips.c (gtk_tooltips_init),
43 (gtk_tooltips_destroy), (gtk_tooltips_force_window): create a dummy
44 tip_window and tip_label, so old applications with code accessing
45 those fields won't crash.
47 2007-08-07 Kristian Rietveld <kris@imendio.com>
49 * gtk/gtktooltip.c (_gtk_tooltip_handle_event): Disable tooltips
52 2007-07-31 Richard Hult <richard@imendio.com>
54 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_get_geometry):
55 Implement, fixes bug #405868. Based on patch from metz81@web.de.
57 2007-07-31 Xan Lopez <xan@gnome.org>
59 * gtk/gtkentry.c (gtk_entry_completion_key_press): reset the
60 completion prefix on Enter too, plug potential leak.
63 2007-07-31 Matthias Clasen <mclasen@redhat.com>
65 * gtk/gtktooltip.c (gtk_tooltip_init): Make the label
66 wrap, for compatibility with the old tooltips code. This
67 fixes absurdly long tooltips in the color selector.
69 2007-07-30 Kristian Rietveld <kris@imendio.com>
71 * gtk/gtktreeview.c (gtk_tree_view_set_tooltip_cell): Fix
72 documentation. (#461225, Murray Cumming).
74 2007-07-29 Emmanuele Bassi <ebassi@gnome.org>
76 * gtk/gtkrecentchooser.c: Add documentation for properties
77 and fix the deprecation marker for the show-numbers
78 accessor functions (Murray Cumming).
80 * gtk/gtkrecentchooser.h: Add deprecation guards around
81 gtk_recent_chooser_set_show_numbers() and
82 gtk_recent_chooser_get_show_numbers(), as promised during
83 last development cycle.
85 2007-07-27 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
87 * gdk/directfb/gdkcursor-directfb.c: Attempts to load
88 stock X cursors no longer results in annoying error
89 messages under DirectFB
91 2007-07-27 Michael Natterer <mitch@imendio.com>
93 Fix check/radio indicator drawing mess (bug #452225):
95 * gtk/gtkstyle.c (gtk_default_draw_check): really decrease the
96 indicator size by one to ensure odd size (don't say -= -1).
98 * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render):
99 removed -1 adjustment from calls to gtk_paint_option(). Theme
100 engines now get the actually configured size passed, not one pixel
103 * gtk/gtkcellrenderertoggle.c
104 * gtk/gtkcheckmenuitem.c: changed default indicator size from 12
105 to 13 so all widgets which draw check/option indicators have the
106 same default size now (and render the same size after above
109 * README.in: mention above changes in the release notes.
111 2007-07-27 Wouter Bolsterlee <wbolster@svn.gnome.org>
113 * Makefile.am: Include ChangeLog.pre-2-10 in tarballs as
114 well (seems to be forgotten).
116 2007-07-25 Matthias Clasen <mclasen@redhat.com>
118 * gtk/gtktooltip.c (_gtk_tooltip_handle_event): Call
119 gtk_tooltip_hide_tooltip() even if the tooltip is not
120 visible yet. This fixes annoying dangling tooltips
123 2007-07-24 Matthias Clasen <mclasen@redhat.com>
125 * gtk/gtkiconcachevalidator.c: Silence the validator.
127 2007-07-24 Matthias Clasen <mclasen@redhat.com>
129 * gtk/gtkmenutoolbutton.c: Remove obsolete set-tooltip
130 handler. (#458280, Christian Persch)
132 2007-07-24 Matthias Clasen <mclasen@redhat.com>
135 * gtk/gtkfilechooserdefault.c:
136 * gtk/gtkpagesetupunixdialog.c:
137 * gtk/gtkprintunixdialog.c: Port to use new tooltips API.
138 (#451397, Jan Arne Petersen)
140 2007-07-24 Tor Lillqvist <tml@novell.com>
142 * gdk/win32/gdkkeys-win32.c (update_keymap): Cosmetic changes.
144 2007-07-24 Matthias Clasen <mclasen@redhat.com>
146 * gtk/gtkmenubar.c (window_key_press_handler):
147 * gtk/gtkmenu.c (gtk_menu_key_press): Restructure the code
148 to make sense, and don't leak an empty accel. (#459515, Owen Taylor)
150 2007-07-23 Matthias Clasen <mclasen@redhat.com>
152 * gtk/gtktooltip.c (gtk_tooltip_set_custom): Protect against
153 recursion via gtk_container_remove(). (#459561, Christian Persch)
154 (gtk_tooltip_window_hide): Simplify.
156 * tests/testtooltips.c: Add code to test gtk_tooltip_set_custom()
158 2007-07-23 Christian Persch <chpe@gnome.org>
160 * tests/testtooltips.c: (query_tooltip_tree_view_cb): Remove obsolete
163 2007-07-23 Matthias Clasen <mclasen@redhat.com>
167 * gtk/gtkscalebutton.c: Fix some doc formatting errors.
168 (#459313, Gian Mario Tagliaretti)
170 2007-07-23 Matthias Clasen <mclasen@redhat.com>
172 * configure.in: Dectect if cups allows access to the http_t
175 * modules/printbackends/cups/gtkcupsutils.c: Rely on the
176 HAVE_HTTP_AUTHSTRING define done by configure.
178 2007-07-23 Emmanuele Bassi <ebassi@gnome.org>
180 * gtk/gtkrecentchooserdefault.c: Port the GtkRecentChooser default
181 implementation widget to the new tooltips API, and make it look
182 like the GtkFileChooser widget in recent files mode (move the
183 full path from the widget to a tooltip on the row) to improve
186 * gtk/gtkrecentchoosermenu.c: Port the GtkRecentChooserMenu widget
187 to the new tooltips API.
189 * tests/testrecentchooser.c:
190 * tests/testrecentchoosermenu.c: Exercise the tooltips code paths.
192 2007-07-22 Ross Burton <ross@openedhand.com>
194 * gtk/gtkscrolledwindow.c:
195 Correctly redraw when gtk-scrolled-window-placement is changed
196 after the widget is realised (#458102)
198 2007-07-22 Matthias Clasen <mclasen@redhat.com>
200 * gdk/x11/gdkkeys-x11.c: Some documentation fixes.
202 2007-07-21 Matthias Clasen <mclasen@redhat.com>
204 * gtk/gtktooltips.[hc]: Rename the tips_data_list field
207 2007-07-21 Matthias Clasen <mclasen@redhat.com>
209 * configure.in: Bump version
211 * === Released 2.11.6 ===
213 2007-07-20 Matthias Clasen <mclasen@redhat.com>
215 * gtk/gtktooltip.c (gtk_tooltip_position): Don't pop up
216 under the cursor. This fixes tooltip-induced flickering
217 in the tasklist in a bottom panel.
219 2007-07-20 Matthias Clasen <mclasen@redhat.com>
221 * gtk/gtkpathbar.c (make_directory_button): Don't leak
222 a label. (#455901, Christian Persch, Vincent Geddes)
224 2007-07-20 Matthias Clasen <mclasen@redhat.com>
226 Apply a patch by Emmanuele Bassi to limit the number
227 of shown recent files. (#439715)
229 * gtk/gtksettings.c: Add a setting for the number
230 of recent files to display by default.
232 * gtk/gtkrecentchooserdefault.c:
233 * gtk/gtkfilechooserdefault.c: Respect the limit.
235 * gtk/gtkrecentmanager.c: Remove the poll timeout in
236 dispose, and do not stat more often than every 5 seconds.
238 * gtk/gtkrecentchooserutils.c:
239 * gtk/gtkrecentchoosermenu.c: Cleanups
241 * tests/testrecentchoosermenu.c: Test limits.
243 2007-07-20 Matthias Clasen <mclasen@redhat.com>
245 * gtk/gtkfilechooserdefault.c: Apply a patch by Emmanuele
246 Bassi to add tooltips to the file lists in recent files and
249 2007-07-20 Ryan Lortie <desrt@desrt.ca>
251 * gtk/gtkwidget.c (gtk_widget_is_composited): add note that the
252 semantics of this call, when mixed with the new
253 gdk_window_set_composited(), will change in the future.
255 * gdk/x11/gdkevents-x11.c (gdk_event_translate): only grab Damage
256 events that belong to us.
258 2007-07-19 Matthias Clasen <mclasen@redhat.com>
260 * gtk/gtkentry.c (gtk_entry_completion_key_press): Handle
261 keypresses better when there is no completion. (#458298,
262 Christian Persch, patch by Xan Lopez)
264 * gtk/gtkentrycompletion.c
265 (gtk_entry_completion_insert_completion_text): Small cleanup.
267 2007-07-19 Matthias Clasen <mclasen@redhat.com>
269 * gtk/gtksettings.c (apply_queued_setting): Merge color
270 scheme before sending notification.
272 2007-07-19 Matthias Clasen <mclasen@redhat.com>
274 * gtk/gtktreeview.c (gtk_tree_view_set_tooltip_column):
275 Only connect/disconnect signals when necessary, emit
278 2007-07-19 Kristian Rietveld <kris@imendio.com>
280 * gtk/gtktooltip.c (find_topmost_widget_coords_from_event): handle
281 no-window and regular widgets seperately.
283 * gtk/gtktreeview.c (gkt_tree_view_set_tooltip_cell): rect.x should
286 2007-07-19 Matthias Clasen <mclasen@redhat.com>
290 * gtk/gtkiconview.c (gtk_icon_view_get_tooltip_context):
291 (gtk_icon_view_[sg]et_tooltip_column: Add more convenience
292 API parallel to the treeview convenience API.
294 2007-07-19 Matthias Clasen <mclasen@redhat.com>
296 * gtk/gtktextview.c (gtk_text_view_compat_move_focus):
297 Initialized GValues before unsetting them. (#457720)
299 2007-07-19 Kristian Rietveld <kris@imendio.com>
302 * gtk/gtktreeprivate.h:
303 * gtk/gtktreeview.[ch] (gtk_tree_view_get_tooltip_context),
304 (gtk_tree_view_[sg]et_tooltip_column): add more convenience API.
306 * tests/testtooltip.c (query_tooltip_tree_view_cb): use
307 gtk_tree_view_get_tooltip_context().
309 * demos/gtk-demo/demo.ui: add a tooltip column to the list store,
310 set tooltip-column on the tree view.
312 2007-07-18 Richard Hult <richard@imendio.com>
314 * gdk/quartz/gdkcursor-quartz.c (gdk_cursor_new_for_display): Ref
315 the cursor in the cached case.
317 2007-07-18 Matthias Clasen <mclasen@redhat.com>
319 * gtk/gtktreeview.c: Correct some mistakes in the
320 documentation of the test-expand/collapse-row signals.
321 (#457774, Olivier Andrieu)
323 2007-07-18 Matthias Clasen <mclasen@redhat.com>
325 * gtk/gtkicontheme.c: Small cleanups
327 2007-07-17 Kristian Rietveld <kris@imendio.com>
329 * gtk/gtktooltip.c (find_widget_under_pointer): only do the
330 coordinate check if tmp is not NULL.
332 2007-07-16 Kristian Rietveld <kris@imendio.com>
334 * gtk/gtktooltip.c (find_topmost_widget_coords_from_event): check
335 if the pointer is really over the returned widget, since the
336 coordinate check may not always be hit in find_widget_under_pointer().
338 2007-07-16 Matthias Clasen <mclasen@redhat.com>
340 Fix some issues with some combinations of inline-selection
341 and inline-completion. (#457384, Christian Persch)
343 * gtk/gtkentry.c (gtk_entry_completion_key_press): Don't store
344 the completion_prefix here, and be careful when using
345 completion_prefix, because it may be NULL.
346 * gtk/gtkentrycompletion.c (gtk_entry_completion_finalize):
347 Free completion_prefix here.
348 * gtk/gtkentrycompletion.c (gtk_entry_completion_real_insert_prefix):
349 (gtk_entry_completion_insert_completion_text): Store the
350 completion_prefix here.
352 2007-07-16 Matthias Clasen <mclasen@redhat.com>
354 * gtk/gtkfilechooserbutton.c (model_add_special_get_info_cb):
355 Plug a memleak. (#455721, Christian Persch)
357 2007-07-16 Matthias Clasen <mclasen@redhat.com>
359 * gtk/gtkscalebutton.c: Apply a patch by Guillaume Cottenceau
360 to improve the signal docs. (#456258)
362 2007-07-16 Matthias Clasen <mclasen@redhat.com>
364 * gtk/gtkwidget.c: Apply a patch by Xan Lopez to document
365 a lot of GtkWidget signals. (#172424)
367 2007-07-16 Matthias Clasen <mclasen@redhat.com>
371 * gtk/gtkiconview.c (gtk_icon_view_set_tooltip_item):
372 (gtk_icon_view_set_tooltip_cell): Convenience functions to
373 position tooltips on icon view items or cells.
375 2007-07-14 Richard Hult <richard@imendio.com>
377 * gdk/quartz/gdkevents-quartz.c:
378 (_gdk_quartz_events_update_cursor): Plug leak.
380 2007-07-13 Richard Hult <richard@imendio.com>
382 * gdk/quartz/gdkprivate-quartz.h:
383 * gdk/quartz/gdkevents-quartz.c: (gdk_window_is_ancestor): Move
385 * gdk/quartz/gdkwindow-quartz.c: (_gdk_quartz_window_is_ancestor):
387 (_gdk_windowing_window_destroy): Update the mouse window if the
388 destroyed window is an ancestor of the current one, not only if
390 (gdk_window_hide): Update the mouse window here too.
392 2007-07-13 Richard Hult <richard@imendio.com>
394 * gdk/quartz/gdkcolor-quartz.c: (gdk_colors_alloc),
395 (gdk_colors_free): Add stubs.
397 2007-07-13 Matthias Clasen <mclasen@redhat.com>
399 * gtk/gtkrecentmanager.c (get_uri_shortname_for_display): Avoid
400 gratitious use of g_strdup_printf().
402 * gtk/gtkrecentchooserdefault.c:
403 * gtk/gtkrecentchoosermenu.c: Mark some strings for
404 translation. (#439480, Murray Cumming)
406 2007-07-13 Kristian Rietveld <kris@imendio.com>
408 #408327, improve tooltip positioning.
410 * gtk/gtk.symbols: updated.
412 * gtk/gtktooltip.[ch] (gtk_tooltip_position): factor out
413 positioning code in here,
414 (gtk_tooltip_set_tip_area): new function to set the tooltip
416 (gtk_tooltip_reset), (_gtk_tooltip_handle_event): hide tooltip
417 once the pointer leaves the tip area.
419 * gtk/gtktreeview.[ch] (gtk_tree_view_set_tooltip_row),
420 (gtk_tree_view_set_tooltip_cell): convenience functions to set
421 tip area for row/column/cell.
423 * tests/testtooltips.c (query_tooltip_tree_view_cb): use
424 gtk_tree_view_set_tooltip_row.
426 2007-07-12 Cody Russell <bratsche@gnome.org>
428 * gdk/win32/gdkevents-win32.c
429 * gdk/win32/gdkwindow-win32.[ch]: Fix transient windows on Win32
430 so that when a transient child window is closed (particularly when
431 there are 3 or more levels of transient windows), the correct window
432 receives focus rather than a seemingly random window. (#112404)
434 2007-07-12 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
436 * gdk/directfb/gdkevents-directfb.c:
437 * gdk/directfb/gdkwindow-directfb.c:
438 * gdk/directfb/gdkprivate-directfb.h: Fixed memory leak at window closing,
439 patch provided by Simon Lanzmich
441 Thu Jul 12 18:03:02 2007 Tim Janik <timj@gtk.org>
443 * gdk/gdk.c (gdk_threads_add_idle_full): clarified documentation example.
445 2007-07-12 Matthias Clasen <mclasen@redhat.com>
448 * gtk/gtkclipboard.c: Add documentation.
450 2007-07-11 Matthias Clasen <mclasen@redhat.com>
452 * gtk/gtkcelleditable.c:
453 * gtk/gtkcellrenderer.c:
454 * gtk/gtkcellrenderercombo.c:
455 * gtk/gtkcellrenderertext.c: Add more documentation.
457 2007-07-11 Matthias Clasen <mclasen@redhat.com>
460 * gtk/gtktoolitem.[hc]: Make parameter naming consistent.
462 2007-07-11 Matthias Clasen <mclasen@redhat.com>
466 * gtk/gtkscalebutton.c: Small doc fixes.
468 2007-07-11 Matthias Clasen <mclasen@redhat.com>
471 * gtk/gtksocket.c: Move docs inline, and add some missing
474 2007-07-11 Kristian Rietveld <kris@imendio.com>
476 * gtk/gtktreeview.c (gtk_tree_view_*_to_*_coords): x should be
477 changed when converting widget <=> bin_window coordinates, not
478 when bin_window <=> tree_window.
480 2007-07-11 Matthias Clasen <mclasen@redhat.com>
483 * gtk/gtkiconview.[hc]
484 (gtk_icon_view_convert_widget_to_bin_window_coords): New
485 function to convert widget coords to what is expected by
486 the at_pos functions. (#455984)
488 2007-07-11 Matthias Clasen <mclasen@redhat.com>
490 * gtk/gtkwiget.c: Don't include gtktooltips.h, it is
493 2007-07-11 Christian Persch <chpe@gnome.org>
495 * gtk/gtkaction.c: (gtk_action_buildable_set_name),
496 (gtk_action_finalize), (gtk_action_set_property),
497 (gtk_action_get_property):
498 * gtk/gtkactiongroup.c: (gtk_action_group_init),
499 (gtk_action_group_add_action),
500 (gtk_action_group_add_action_with_accel),
501 (gtk_action_group_remove_action): Intern the action's name. Saves two
502 string duplicates of it per action; bug #455645.
504 2007-07-10 Richard Hult <richard@imendio.com>
506 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_new),
507 (show_window_internal), (gdk_window_show), (gdk_window_hide): Add
508 hack to workaround the broken tracking rect implementation in
509 quartz, that doesn't seem to produce events if the window shows up
512 2007-07-10 Kristian Rietveld <kris@imendio.com>
515 * gtk/gtkwidget.[ch] (gtk_widget_{get,set}_has_tooltip): add
516 getter/setter pair, slight addition to has-tooltip property
518 (gtk_widget_real_set_has_tooltip): renamed internal function.
520 2007-07-10 Christian Persch <chpe@gnome.org>
522 * gtk/gtkaction.c: (gtk_action_sync_tooltip),
523 (gtk_action_set_tooltip):
524 * gtk/gtkuimanager.c: (update_node): Remove work-around for the old
525 tooltips code, and just set the action tooltip immediately on the
526 proxy widget. Bug #455482.
528 2007-07-10 Kristian Rietveld <kris@imendio.com>
530 * gtk/gtktooltip.c (find_widget_under_pointer),
531 (child_location_foreach): use gtk_container_forall, instead of
532 gtk_container_foreach(). Makes tooltips on notebook tabs work. (Fixes
533 bug reported by Christian Persch).
535 2007-07-10 Kristian Rietveld <kris@imendio.com>
537 * gtk/gtktooltip.c (child_location_foreach): ignore invisible
538 (!drawable) widgets. (Fixes bug reported by Paolo Borelli).
540 2007-07-10 Matthias Clasen <mclasen@redhat.com>
542 * README.in: Make sure all deprecations are mentioned.
544 2007-07-10 Matthias Clasen <mclasen@redhat.com>
546 * gtk/gtkrecentmanager.c: Fix some doc formatting
548 2007-07-10 Matthias Clasen <mclasen@redhat.com>
550 * gtk/gtk-builder-convert: Fix a typo
552 2007-07-10 Matthias Clasen <mclasen@redhat.com>
556 2007-07-09 Matthias Clasen <mclasen@redhat.com>
558 * gtklabel.[ch]: Use a bit of the GtkLabel structure to
559 remember that a pattern has been set.
560 (gtk_label_set_pattern_internal): Don't do anything if
561 a specific pattern has been set.
562 (gtk_label_set_pattern): set the new bit to TRUE when
563 setting a pattern, and recalculate everything if the
564 pattern is unset. Fix gtk_label_set_pattern() not working
565 anymore. (#452861, Vincent Untz)
567 2007-07-09 Claude Paroz <claude@2xlibre.net>
569 * configure.in: Changed uz to uz@cyrillic and uz@Latn to uz.
572 2007-07-09 Matthias Clasen <mclasen@redhat.com>
574 * gtk/gtkvolumebutton.c: Remove deprecated tooltips,
575 use new tooltips API. (#449311, Jan Arne Petersen)
577 2007-07-09 Matthias Clasen <mclasen@redhat.com>
579 * gtk/gtkselection.c (normalize_to_crlf): Don't ignore
580 the passed-in len parameter. (#430049, Yevgen Muntyan)
582 2007-07-09 Matthias Clasen <mclasen@redhat.com>
584 * gtk/gtkframe.c (gtk_frame_size_allocate): Improve the
585 handling of broken situations. (#427899, Francesco Montorsi)
587 2007-07-09 Matthias Clasen <mclasen@redhat.com>
589 * gtk/gtkviewport.c (gtk_viewport_size_request): Changed size
590 requisition so the viewport does not add the border thickness
591 if it has GTK_SHADOW_NONE selected. (#361781, Miguel Gomez)
593 2007-07-09 Matthias Clasen <mclasen@redhat.com>
595 * gtk/gtktooltip.c (gtk_tooltip_trigger_tooltip_query):
596 Fix a typo in the docs. (#453930, Guillaume Cottenceau)
598 2007-07-09 Kristian Rietveld <kris@imendio.com>
600 Replace non-deprecated API using old tooltips API, deprecate
601 old tooltips API for real. (#451575).
603 * gtk/gtk.symbols: updated.
605 * gtk/gtkwidget.c (gtk_widget_real_show_help): don't call
606 _gtk_tooltips_toggle_keyboard_mode() anymore.
608 * gtk/gtkmenutoolbutton.[ch] (gtk_menu_tool_button_set_arrow_tooltip):
610 (gtk_menu_tool_button_set_arrow_tooltip_{text,markup}): replacements.
612 * gtk/gtktoolitem.[ch] (gtk_tool_item_real_set_tooltip): use
614 (gtk_tool_item_set_tooltip): deprecated,
615 (gtk_tool_item_set_tooltip_{text,markup): replacements.
616 (GtkToolItemClass:set_tooltip): deprecated.
618 * gtk/gtktooltips.[ch]: strip out all unused parts, made
619 gtk_tooltips_set_tip() call gtk_widget_set_tooltip_text(),
620 deprecate all of gtk_tooltips_*.
622 * gtk/gtktoolbar.[ch] (gtk_toolbar_get_tooltips): always return
624 (GtkToolbar:tooltips): deprecated, renamed.
626 * gtk/gtkaction.c (gtk_action_sync_tooltip): use new API to
627 set the tooltip text.
629 * tests/autotestfilechooser.c: #undef GTK_DISABLE_DEPRECATED for now,
630 will be removed GtkFileChooserDefault has been converted.
632 2007-07-09 Matthias Clasen <mclasen@redhat.com>
635 (gtk_tree_view_convert_bin_window_to_widget_coords:
636 Fix a typo in the docs. (#453673, Guillaume Cottenceau)
638 2007-07-09 Matthias Clasen <mclasen@redhat.com>
640 * gtk/gtkcombobox.c (gtk_combo_box_model_row_deleted): Emit
641 ::changed when removing the active row. (#452056, Paul Pogonyshev)
643 2007-07-09 Matthias Clasen <mclasen@redhat.com>
645 * gtk/gtksearchenginesimple.c: Address some thread-safety
648 2007-07-09 Matthias Clasen <mclasen@redhat.com>
650 * modules/printbackends/*/Makefile.am: Fix build problems
653 2007-07-09 Jaap Haitsma <jaap@haitsma.org>
655 * gtk/gtkstatusicon.c: Remove usage of deprecated GtkTooltips API. Use
656 gtk_widget_set_tooltip_text instead
658 2007-07-09 Johan Dahlin <jdahlin@async.com.br>
661 * gtk/gtktooltip.h: Make the GTK_TOOLTIP and GTK_IS_TOOLTIP macros public.
663 2007-07-09 Johan Dahlin,,, <jdahlin@lozenge>
665 * demos/gtk-demo/demo.ui:
666 * gtk/gtk-builder-convert:
667 * gtk/gtkactiongroup.c: (gtk_action_group_buildable_init),
668 (gtk_action_group_buildable_add_child),
669 (accelerator_start_element),
670 (gtk_action_group_buildable_custom_tag_start),
671 (gtk_action_group_buildable_custom_tag_end):
672 * gtk/gtkuimanager.c: (child_hierarchy_changed_cb),
673 (gtk_ui_manager_buildable_construct_child):
674 * tests/buildertest.c: (test_uimanager_simple):
676 Add actiongroup/action accelerator support for builder. #454654
678 2007-07-08 Matthias Clasen <mclasen@redhat.com>
680 * gtk/gtkbuilderparser.c (pgettext): Support old-style
681 message contexts, too.
683 2007-07-08 Johan Dahlin <jdahlin@async.com.br>
685 * gtk/gtk-builder-convert: Improve the way properties
686 are copied over from a menuitem to an action.
688 2007-07-08 Johan Dahlin <jdahlin@async.com.br>
690 * gtk/gtk-builder-convert (GtkBuilderConverter._convert_menuitem): Convert
691 GtkMenus which are not part of a GtkMenuBar. Also move over activate signals
692 when converting a GtkMenuItem subclass to an action.
693 (#454830, Bastien Nocera)
695 * gtk/gtkbuilderparser.c (parse_signal): Parse last_modification_time
696 attribute in <signal> tag
698 2007-07-07 Matthias Clasen <mclasen@redhat.com>
700 * gtk/gtkbuilderprivate.h:
701 * gtk/gtkbuilderparser.c: Support context and comments
704 2007-07-07 Matthias Clasen <mclasen@redhat.com>
706 * gtk/gtkwidget.c: Fix some typos, and a memory management bug.
708 2007-07-08 Johan Dahlin <jdahlin@async.com.br>
710 * gtk/gtkwidget.c (gtk_widget_buildable_custom_tag_start):
711 Parse <accessibility> but don't do anything yet.
712 * gtk/gtk-builder-convert (GtkBuilderConverter._parse):
713 Do not strip atk/accessibility tags
714 * tests/buildertest.c (test_widget):
717 Sun Jul 8 01:33:45 2007 Tim Janik <timj@gtk.org>
719 * gdk/gdkwindow.c: docu fixup by Bjoern Lindqvist, #454703.
721 2007-07-07 Richard Hult <richard@imendio.com>
723 * gdk/quartz/GdkQuartzWindow.c ([GdkQuartzWindow -windowDidResignMain:])
724 ([GdkQuartzWindow -windowDidBecomeMain:]):
725 * gdk/quartz/gdkwindow-quartz.c (_gdk_quartz_window_did_resign_main)
726 (_gdk_quartz_window_did_become_main, gdk_window_hide)
727 (_gdk_windowing_window_destroy): Keep a stack of main windows and
728 select the most recent one when hiding/closing the current one.
730 2007-07-07 Johan Dahlin <jdahlin@async.com.br>
732 * gtk/gtk-builder-convert (GtkBuilderConverter._convert_textview_text):
733 Convert GtkTextView::text properties
734 (GtkBuilderConverter): Refactor; Optimize widget lookups by not
735 traversing the whole tree.
736 Use a common api to create sizegroups, actiongroups and uimanagers
737 to avoid name conflicts.
738 Output newly created objects sorted by id before the old roots under
740 (GtkBuilderConverter._parse): Remove unsupported atkrelation and atkproperty
742 (GtkBuilderConverter._convert_menuitem): Add support for CheckMenuItems
743 and do not set name and action on separators
744 (GtkBuilderConverter._add_action_from_menuitem): Only set stock_id
745 on the action if the menuitem had a stock or label property set
747 2007-07-06 Richard Hult <richard@imendio.com>
749 * gdk/quartz/gdkprivate-quartz.h:
750 * gdk/quartz/gdkwindow-quartz.c:
751 * gdk/quartz/GdkQuartzWindow.c: Fix (de)miniaturizing transient
752 windows, by (un)setting the parent before and after miniaturizing.
754 2007-07-06 Richard Hult <richard@imendio.com>
756 * gdk/quartz/gdkkeys-quartz.c (gdk_keymap_have_bidi_layouts): Add
759 2007-07-06 Johan Dahlin <jdahlin@async.com.br>
761 * gtk/gtkbuilder.c (gtk_builder_get_type_from_name): Add a missing
762 semi-colon in the doc string, spotted by Johannes Sasonko
764 2007-07-05 Matthias Clasen <mclasen@redhat.com>
766 * gtk/gtkbuilder.c: Support pixbuf properties by specifying
767 a filename as the property value. (#447966)
769 Wed Jul 4 12:20:23 2007 Tim Janik <timj@imendio.com>
771 * gdk/gdkevents.c (gdk_event_request_motions): added usage example
772 to gdk_event_request_motions() docs.
774 2007-07-04 Tor Lillqvist <tml@novell.com>
776 * gtk/gtkstatusicon.c: On Win32 call
777 gtk_status_icon_button_press() in an idle callback and not
778 directly from the window procedure to avoid "g_main_loop_run():
779 called recursively from within a source's check() or prepare()
780 member, iteration not possible" warnings.
782 2007-07-04 Chris Wilson <chris@chris-wilson.co.uk>
784 * gtk/gtkrecentchoosermenu.c (idle_populate_func),
785 (idle_populate_clean_up), (gtk_recent_chooser_menu_populate):
786 Remove a surplus GDK_THREADS_LEAVE() and avoid a potential use after
787 free in the source destroy notify. (#453033)
789 2007-07-04 Johan Dahlin <jdahlin@async.com.br>
791 * gtk/gtkcelllayout.c (_gtk_cell_layout_buildable_add_child):
792 pack children from the start instead of the end, this should
793 probably be made configurable at some point.
795 * gtk/gtk-builder-convert:
796 Add support for converting GtkComboBox items, also make sure
797 that we support more than one GtkAdjustment in a file
799 2007-07-03 Richard Hult <richard@imendio.com>
801 * gdk/quartz/gdkevents-quartz.c: Keep track of button state and
802 include it in key events. Needed for gimp's selection tools and
805 2007-07-03 Matthias Clasen <mclasen@redhat.com>
807 * gtk/gtkbuilder.c: Fix some typos in docs. (#452278,
810 2007-07-03 Richard Hult <richard@imendio.com>
812 * gdk/quartz/gdkevents-quartz.c (create_key_event): Include
813 modifier state in key release events. Fixes bug #453413.
815 2007-07-03 Matthias Clasen <mclasen@redhat.com>
817 * gtk/gtkcelllayout.c (attributes_text_element): Report
818 errors about integer parsing back up. (#452988)
820 * tests/buildertest.c: Add an extra check.
822 2007-07-03 Matthias Clasen <mclasen@redhat.com>
824 * gtk/gtkbutton.c (gtk_button_construct_child): Don't leave
825 priv->image dangling when use-stock is set to FALSE. (#437281,
828 2007-07-03 Tor Lillqvist <tml@novell.com>
830 * configure.in: Handle GDK_PIXBUF_EXTRA_LIBS like GDK_EXTRA_LIBS,
831 i.e. clear it if enable_explicit_deps isn't on. If we build with
832 --with-included-loaders and --enable-explicit-deps=no we don't
833 want -ltiff -ljpeg etc in the gdk-pixbuf-2.0.pc file.
835 2007-07-03 Tor Lillqvist <tml@novell.com>
837 * gdk/win32/gdkkeys-win32.c (gdk_keymap_have_bidi_layouts):
838 Implement. Just return FALSE for now. What should this function
839 actually do? Does keyboards layouts being "in use" mean that such
840 layouts can be switched to on the fly using some extra-GTK+
841 mechanism? If so we need to actually check that.
843 2007-07-03 Tristan Van Berkom <tvb@gnome.org>
845 * gtk/gtkwidget.c: Fixed assertions from setting "tooltip-text" to NULL
848 2007-07-03 Johan Dahlin <jdahlin@async.com.br>
850 * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root): Add a
851 --root option. Filter empty properties. Convert GtkAdjustments.
853 * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished): Mimic the behavior
854 of gtk_dialog_add_action_widget closer, to make clicking on the buttons
857 2007-07-02 Matthias Clasen <mclasen@redhat.com>
859 * configure.in: Bump version
861 * === Released 2.11.5 ===
863 * tests/autotestkeywords.cc: Make platform includes
866 * gtk/Makefile.am: File list fixes
870 2007-07-02 Kristian Rietveld <kris@gtk.org>
873 * gtk/gtktreeview.[ch] (gtk_tree_view_is_rubber_banding_active): new
874 function to check whether a rubber banding operation is currently
875 active. (#393579, Christian Neumair).
877 2007-07-02 Matthias Clasen <mclasen@redhat.com>
881 2007-07-02 Jan Arne Petersen <jpetersen@jpetersen.org>
883 * gtk/gtkscalebutton.c: (gtk_scale_button_update_icon): Add
884 parentheses to fix the operator order in the icon selection.
886 2007-07-01 Johan Dahlin <jdahlin@async.com.br>
888 * gtk/gtk-builder-convert (GtkBuilderConverter):
889 Convert to getopt, improved documentation, change
890 the script to require two arguments
892 2007-06-30 Richard Hult <richard@imendio.com>
894 Continue the event handling cleanup:
896 * gdk/quartz/gdkevents-quartz.c: (synthesize_crossing_events):
897 Don't do anything if the old and new windows are the same,
898 simplifies the callers.
899 (find_mouse_window_for_ns_event): Always return a window (root
900 instead of NULL). Remove unneccessary check for the current mouse
901 window being NULL, that was a workaround for a now fixed
902 bug. Convert to root coordinates if we don't find a window.
903 (synthesize_crossing_events_for_ns_event): Simplify and add
906 2007-06-30 Richard Hult <richard@imendio.com>
908 * gdk/quartz/gdkevents-quartz.c:
909 (synthesize_crossing_events_for_ns_event): Simplify (get the
910 origin directly from the window).
912 2007-06-30 Richard Hult <richard@imendio.com>
914 * gdk/quartz/gdkevents-quartz.c: (create_crossing_event),
915 (synthesize_crossing_events), (find_mouse_window_for_ns_event),
916 (synthesize_crossing_events_for_ns_event): No need to special case
917 the root window now that it has the right size.
919 2007-06-30 Richard Hult <richard@imendio.com>
921 * gdk/quartz/gdkwindow-quartz.c:
922 * gdk/quartz/gdkevents-quartz.c: Improve comments in those
923 files. Add a debugging helper to print out information about a
926 2007-06-30 Johan Dahlin <jdahlin@async.com.br>
930 * gtk/gtkbuilderparser.c:
931 * gtk/gtkbuilderprivate.h:
933 * tests/buildertest.c:
935 Improve error handling for enum/flags, rename the converter functions
936 to be consistent. Add tests. Fixes #452465
938 2007-06-30 Richard Hult <richard@imendio.com>
940 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_get_origin): Make
941 this work properly for the root window.
943 2007-06-30 Richard Hult <richard@imendio.com>
945 * gdk/quartz/GdkQuartzView.c: Improve the tracking rect updating:
946 - No need to override setFrame.
947 - Use our own size instead of the bounds from the view as it's not
948 always updated before the tracking rect.
949 - Only reset the tracking rect if the new window is nil).
951 * gdk/quartz/GdkQuartzWindow.c: Update the bounds of the content
952 view when the window size changes.
954 2007-06-30 Matthias Clasen <mclasen@redhat.com>
956 * gtk/gtkbuilderparser.c (_gtk_builder_parse_boolean):
957 Use g_ascii_strdown() instead of a rolling our own.
959 2007-06-30 Johan Dahlin <jdahlin@async.com.br>
961 * gtk/gtkbuilderparser.c: (_get_type_by_symbol), (parse_object),
963 * tests/buildertest.c: (test_types):
964 Move type-func to <object> instead of <child>, add a test to
965 make sure that it works as desired, #452463
967 * gtk/gtkbuilder.c: (gtk_builder_value_from_string_type):
968 * gtk/gtkbuilderparser.c: (_gtk_builder_parse_boolean),
969 (parse_property), (parse_signal):
970 * gtk/gtkbuilderprivate.h:
971 * tests/buildertest.c: (test_value_from_string):
972 Make boolean string parsing consistent, #452464
974 2007-06-30 Matthias Clasen <mclasen@redhat.com>
977 * gtk/gtkbuildable.c: Documentation updates.
979 2007-06-29 Matthias Clasen <mclasen@redhat.com>
983 * gdk/x11/gdkkeys-x11.c (gdk_keymap_have_bidi_layouts): New
984 function to determine if keyboard layouts for both LTR and LTR
985 languages are in use. Refactor the direction caching code to
986 make this information available. (#353805, Behnam Esfahbod)
988 2007-06-29 Matthias Clasen <mclasen@redhat.com>
990 * modules/printbackend/cups/gtkcupsutils.c (_post_check):
991 (_get_check): Enable SSL support. (#451070, Vince Busam)
993 2007-06-29 Johan Dahlin <jdahlin@async.com.br>
995 * gtk/gtkbuilder.c: (gtk_builder_finalize),
996 (gtk_builder_get_parameters), (_gtk_builder_construct):
997 * tests/buildertest.c:
999 Improve reference counting, #447967
1001 2007-06-29 Ryan Lortie <desrt@desrt.ca>
1003 * tests/testgtk.c (create_composited_window): Connect the "destroy"
1004 signal so that the 'window' pointer is set back to NULL (like for the
1007 * gdk/x11/gdkwindow-x11.c (gdk_window_impl_x11_finalize): Don't
1008 destroy the Damage here. By finalize() XDestroyWindow has already
1009 been called (and took the Damage with it).
1013 2007-06-29 Emmanuele Bassi <ebassi@gnome.org>
1015 * gtk/gtkrecentchooserdefault.c (recent_meta_data_func): Escape
1016 markup entities in the name and URI before displaying them.
1018 2007-06-29 Emmanuele Bassi <ebassi@gnome.org>
1020 * gtk/gtkrecentmanager.c (get_icon_for_mime_type): Do not
1021 cache the icon pixbufs but rely on the GtkIconTheme not to
1022 hit the disk cache too much (should tentatively fix #426987).
1024 2007-06-28 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1026 * modules/engines/ms-windows/msw_style.c: Draw no bevel
1027 when "GtkToolbar::shadow-type" is "none" (#450469).
1029 2007-06-28 Johan Dahlin <jdahlin@async.com.br>
1031 * gtk/gtk-builder-convert (_indent): Prettify the output by
1032 running it through xmllint --format if xmllint is available
1033 which also requires the subprocess module only available
1034 in python 2.4 or later
1036 2007-06-28 Christian Persch <chpe@gnome.org>
1038 * gtk/gtkvolumebutton.c: (gtk_volume_button_class_init),
1039 (gtk_volume_button_init), (gtk_volume_button_dispose),
1040 (gtk_volume_button_update_tooltip): Make the volume button use range
1041 0.0 to 1.0 by default, and fix tooltips code to cope with different ranges.
1044 2007-06-28 Yevgen Muntyan <muntyan@tamu.edu>
1046 * gtk/gtktextutil.c (_gtk_text_util_get_block_cursor_location):
1047 do right thing in one-character lines and at paragraph end (#448313).
1049 * configure.in: require pango-1.17.3 to get fixed pango_layout_index_to_line_x()
1052 2007-06-27 Johan Dahlin <jdahlin@async.com.br>
1054 * gtk/gtkbuilderparser.c (parse_property): Use
1055 the attribute name in the error message instead of
1058 * demos/gtk-demo/demo.ui: Set name of Help menu
1061 * gtk/gtkbuilder.c (apply_delayed_properties):
1062 Print out the name of the right object in the warning
1063 (#451314, Philip Withnall)
1065 * gtk/gtk-builder-convert (GtkBuilderConverter._parse): Remove
1066 glade-interface doctype if found.
1067 (GtkBuilderConverter._convert):
1068 Make sure that we can convert Gazpacho files too.
1070 2007-06-27 Cody Russell <bratsche@gnome.org>
1072 * modules/engines/ms-windows/msw_style.c (draw_themed_tab_button):
1073 Fixed, very hackishly, a one pixel error that occurs using the
1074 XP theme engine only on the left-most tab, if it is active, when
1075 the notebook is bottom-oriented. (#392283)
1077 2007-06-27 Johan Dahlin <jdahlin@async.com.br>
1079 * tests/buildertest.c: (test_value_from_string):
1080 Check the code and domain of GErrors instead of the string values
1082 * gtk/gtkbuilder.c: (gtk_builder_get_parameters),
1083 (gtk_builder_value_from_string),
1084 (gtk_builder_value_from_string_type):
1086 * gtk/gtkcontainer.c: (gtk_container_buildable_set_child_property),
1087 (attributes_text_element):
1088 * gtk/gtkliststore.c: (list_store_text):
1089 * tests/buildertest.c: (test_value_from_string):
1091 Add GtkBuilder and GError arguments to gtk_builder_value_from_string
1092 and gtk_builder_value_from_string_type. (#451428)
1094 2007-06-27 Xan Lopez <xan@gnome.org>
1096 * gtk/gtkvbbox.c (gtk_vbutton_box_size_allocate):
1097 * gtk/gtkhbbox.c (gtk_hbutton_box_size_allocate):
1099 Do not add border_width to the first button initial
1100 coordinate, since it's already taken into account in
1101 the allocation value. (#451484)
1103 2007-06-27 Michael Natterer <mitch@imendio.com>
1105 Merged from maemo-gtk:
1107 * gtk/gtkmenu.c (gtk_menu_handle_scrolling): when updating the
1108 scroll arrows' state, make sure we don't overwrite the insensitive
1109 state that might have been set by the first scroll step hitting
1110 the top/bottom border of the menu.
1112 Wed Jun 27 13:27:21 2007 Tim Janik <timj@gtk.org>
1114 * gtk/gtkradiobutton.[hc]: applied patch to improve variable names,
1115 by Olivier Delhomme, #451527.
1117 Wed Jun 27 11:57:41 2007 Tim Janik <timj@imendio.com>
1119 * gtk/gtkstatusicon.c (gtk_status_icon_position_menu): fixed
1120 push_in description.
1122 2007-06-27 Johan Dahlin <jdahlin@async.com.br>
1124 * gtk/gtkbuilderparser.c: Plug leaks in error code paths
1126 2007-06-26 Johan Dahlin <jdahlin@async.com.br>
1128 * tests/buildertest.c (test_object_properties):
1129 Add a test to check object properties
1131 * gtk/gtkbuilder.h (enum):
1132 * gtk/gtkbuilderparser.c (end_element):
1133 * tests/buildertest.c (test_parser):
1134 Set an error if we encounter properties without values set
1135 (#451303, Philip Withnall)
1136 (test_object_properties): Add a test
1138 * demos/gtk-demo/builder.c (do_builder): Connect the
1139 destroy signal in the example instead of the ui file.
1140 Also set the screen and title of the window.
1141 (#451345, Thomas Rydzynski)
1143 2007-06-26 Richard Hult <richard@imendio.com>
1145 * gtk/gtkbuilder.c: (gtk_builder_value_from_string_type): Fix a
1146 bunch of small bugs when parsing property values
1147 (boolean/int/uint/long/ulong/float/double). Bug #451353.
1149 * tests/buildertest.c: Add tests for the above.
1151 2007-06-26 Emmanuele Bassi <ebassi@gnome.org>
1153 * gtk/gtkfilechooserdefault.c (list_mtime_data_func): Fix
1154 a typo in the previous commit.
1156 (shortcuts_append_desktop): Remove unused variable and
1157 hush the compiler warning.
1159 2007-06-26 Emmanuele Bassi <ebassi@gnome.org>
1161 * gtk/gtkfilechooserdefault.c (list_mtime_data_func): Show
1162 the time of last change in the file chooser, for files
1163 modified today or yesterday. (#324543)
1165 * configure.in: Check for localtime_r().
1167 2007-06-26 Cody Russell <bratsche@gnome.org>
1169 * modules/engines/ms-windows/xp_theme.[ch]
1170 * modules/engines/ms-windows/msw_style.c: Add support for
1171 drawing checkboxes with inconsistent states. (Tor, #164809)
1173 2007-06-26 Johan Dahlin <jdahlin@async.com.br>
1175 * gtk/gtk-builder-convert (GtkBuilderConverter.to_xml): Encode
1176 the output in utf-8 as suggested by Bogdan Nicula
1178 2007-06-22 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1180 * configure.in, tests/Makefile.am, tests/autotestkeywords.cc,
1181 tests/dummy-headers/*: Extend the C++ keyword test
1182 to include internal GDK headers (#449016).
1184 2007-06-26 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1186 * ChangeLog, configure.in, tests/Makefile.am,
1187 tests/autotestkeywords.cc: Create test for finding
1188 C++ keywords in public header files (#449016).
1190 2007-06-26 Kristian Rietveld <kris@imendio.com>
1192 * gtk/gtktooltips.h: remove the deprecation macros for now to fix
1193 the build and give us a chance to fix widgets which use GtkTooltips
1196 2007-06-26 Kristian Rietveld <kris@imendio.com>
1199 * gtk/gtktooltips.[ch]:
1200 * docs/reference/gtk/tmpl/gtktooltips.sgml: deprecate GtkTooltips.
1202 2007-06-25 Johan Dahlin <jdahlin@async.com.br>
1204 * gtk/gtk-builder-convert: Add a script to convert libglade files
1205 to something gtkbuilder can parse.
1208 2007-06-25 Richard Hult <richard@imendio.com>
1210 * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Don't steal
1211 menu events while the keyboard is grabbed.
1213 2007-06-25 Richard Hult <richard@imendio.com>
1215 * gdk/quartz/Makefile.am:
1216 * gdk/quartz/xcursors.h:
1217 * gdk/quartz/gdkcursor-quartz.c: Fallback to X cursors for the
1218 ones that OS X doesn't provide. Fixes bug #327912.
1220 2007-06-25 Emmanuele Bassi <ebassi@gnome.org>
1222 * gtk/gtkrecentmanager.c:
1223 (build_recent_info): building a GtkRecentInfo can never fail.
1225 (gtk_recent_manager_get_items): Clamp the list while building
1226 it so we don't need to traverse it more than once. (#446532,
1229 2007-06-25 Tor Lillqvist <tml@novell.com>
1231 * gdk/win32/gdkevents-win32.c (gdk_pointer_grab): Revert my
1232 attempted overly simple fix for #445284, as it causes a
1233 regression. (For instance, in GIMP the tool cursor gets used also
1234 for the right-click menu in image windows.) A more complex fix is
1235 needed to more completely emulate X11 behaviour.
1237 2007-06-24 Kristian Rietveld <kris@gtk.org>
1239 * Makefile.am: fix little mistake in my last commit ...
1241 2007-06-24 Kristian Rietveld <kris@gtk.org>
1243 * gtk/gtksearchenginequartz.[ch]: Add a search engine which queries
1244 the Spotlight database on MacOS X (only available in 10.4 and
1247 * gtk/gtksearchengine.c (_gtk_search_engine_new): try creating
1248 quartz search engine if we are on OS X.
1250 * Makefile.am: added use_quartz_sources section with new file.
1252 2007-06-22 Emmanuele Bassi <ebassi@gnome.org>
1254 * gtk/gtksearchenginebeagle.c:
1255 * gtk/gtksearchenginesimple.c:
1256 * gtk/gtksearchenginetracker.c: Remove the MIME type calls and
1257 queries from the search engine implementations, since we use our
1258 own GtkFileSystem to filter out basing on MIME types and we cannot
1259 query MIME types anyway. The GtkQuery private object still has
1260 MIME type, as well as location, support for future expansion.
1262 Fri Jun 22 12:13:39 2007 Tim Janik <timj@imendio.com>
1264 * gtk/gtkframe.c (gtk_frame_paint): applied patch from Xan Lopez
1265 to eliminate gap in painted frame for yaling=0.0 or yalign=1.0.
1267 * tests/testframe.c: added test application from Xan Lopez to
1268 test xalign/yalign interactions with xthickness/ythickness.
1270 Fri Jun 22 00:34:34 2007 Tim Janik <timj@gtk.org>
1272 * gdk/x11/gdkdisplay-x11.c (gdk_x11_display_get_xdisplay): applied
1273 patch from Mark Tiefenbruck to add missing return_if_fail, #449862.
1275 2007-06-21 Matthias Clasen <mclasen@redhat.com>
1277 * gtk/gtktoolbar.c: Remove debug spew. (#449492, Christian Persch)
1279 2007-06-21 Matthias Clasen <mclasen@redhat.com>
1281 * gtk/gtkmain.c (gtk_main_do_event): Remove faulty and irrelevant
1282 enter-leave compression code. (#449167, patch by Tim Janik)
1284 2007-06-19 Johan Dahlin <jdahlin@async.com.br>
1286 * gdk/quartz/GdkQuartzView.c ([GdkQuartzView -updateTrackingRect]): Fix a typo
1289 2007-06-20 Richard Hult <richard@imendio.com>
1291 * gdk/quartz/gdkwindow-quartz.c (gdk_window_new):
1292 * gdk/quartz/GdkQuartzWindow.c (windowDidResize): Don't create or
1293 update the tracking rect in the window, move it to the view where
1296 * gdk/quartz/GdkQuartzView.c (updateTrackingRect)
1297 (viewDidMoveToWindow, viewWillMoveToWindow)
1298 (setFrame, setBounds): Create and update the tracking rect here.
1300 2007-06-19 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1302 * gdk/gdkinternals.h: Restore G_BEGIN_DECLS at the
1303 top of this file to make C++ compilers happy.
1305 2007-06-19 Matthias Clasen <mclasen@redhat.com>
1307 * configure.in: Bump version
1309 * === Released 2.11.4 ===
1313 2007-06-19 Sven Neumann <sven@gimp.org>
1315 * gtk/gtkicontheme.c (gtk_icon_info_copy): use g_slice_dup().
1317 2007-06-19 Sven Neumann <sven@gimp.org>
1319 * gtk/gtktooltips.[ch]: mark the GtkTooltips struct as private.
1320 Keep the tooltips in a hash table instead of a linked list.
1321 Improves performance when using large amounts of tooltips (#447214).
1323 * README.in: document the GtkTooltips changes.
1325 2007-06-19 Johan Dahlin <jdahlin@async.com.br>
1327 * gtk/*: Rename buildable methods to not clash with widget
1328 methods. (#448928, Torsten Schoenfeld)
1330 2007-06-19 Emmanuele Bassi <ebassi@gnome.org>
1332 * gtk/gtkrecentmanager.c: Use g_timeout_add_seconds_full() for
1333 the timed poll of the storage file, since we are using multiple
1334 seconds intervals and we don't actually care about millisecond
1337 (threads_dispatch), (threads_free), (gtk_recent_manager_init),
1338 (gtk_recent_manager_set_filename): Roll our own version of
1339 gdk_threads_add_timeout() using g_timeout_add_seconds_full()
1340 while holding the GDK main lock.
1342 * configure.in: Bump up the required GLib version, in order
1343 to use g_timeout_add_seconds_full().
1345 2007-06-19 Emmanuele Bassi <ebassi@gnome.org>
1347 * gtk/gtkrecentmanager.c: Use a static variable to hold the
1348 singleton and remove the code that binds a recent manager to
1351 (gtk_recent_manager_set_screen): Make it a NOOP.
1352 (gtk_recent_manager_get_for_screen): Proxy for
1353 gtk_recent_manager_get_default().
1356 * gtk/gtkrecentmanager.h: Deprecate gtk_recent_manager_set_screen()
1357 and gtk_recent_manager_get_for_screen().
1359 * gtk/gtkmain.c: Force a synchronisation of the GtkRecentManager
1360 singleton (if any) when reaching main loop depth of 0.
1362 * gtk/gtkrecentchooserdefault.c:
1363 (gtk_recent_chooser_default_dispose): Disconnect the changed
1364 signal only if we have a manager and we are connected to it.
1366 (set_recent_manager): Ditto.
1368 * README.in: Document the deprecations.
1370 2007-06-18 Matthias Clasen <mclasen@redhat.com>
1372 * gtk/gtkcellrendererspin.c: Fix some issues with refcounting
1373 of the adjustment. (#448544, Carlos Garnacho)
1375 2007-06-18 Gustavo J. A. M. Carneiro <gjc@gnome.org>
1377 reviewed by: Matthias Clasen
1379 * gtk/gtkaccelgroup.c (gtk_accel_group_finalize): Remove closure
1380 invalidate notifiers. (#448484)
1382 2007-06-17 Matthias Clasen <mclasen@redhat.com>
1384 * README.in: Updates
1386 * gtk/gtkmenushell.c: Make GtkMenuShell as an abstract type.
1387 It was already documented as such. (#412357, Vincent Geddes)
1389 2007-06-17 Matthias Clasen <mclasen@redhat.com>
1391 * gtk/gtkcontainer.c: Fix a doc typo.
1393 2007-06-17 Richard Hult <richard@imendio.com>
1395 * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Forward
1396 Mac OS menu shortcut events to the right menu.
1398 2007-06-17 Richard Hult <richard@imendio.com>
1400 * gdk/quartz/gdkevents-quartz.c (gdk_event_translate)
1401 (synthesize_crossing_events_for_ns_event)
1402 (find_window_for_ns_event): More refactoring of the event
1403 handling: Extract synthesizing of crossing events from
1404 find_window_for_ns_event so that it doesn't have any side effects,
1405 and call the new function from gdk_event_translate instead.
1407 2007-06-16 Richard Hult <richard@imendio.com>
1409 * gdk/quartz/gdkevents-quartz.c: (find_window_for_ns_event),
1410 (gdk_event_translate): Remove pointless logging for unhandled events.
1411 Activate the application on non-left clicks, since that is only done
1412 for left clicks and we depend on it to get events routed properly for
1413 context menus and other popup windows.
1415 2006-09-22 Dennis Cranston <dennis_cranston@yahoo.com>
1417 * gtk/gtkfilechooserbutton.c: (change_icon_theme),
1418 (model_add_bookmarks), (model_update_current_folder):
1419 * gtk/gtkfilechooserdefault.c: (shortcuts_reload_icons),
1420 (shortcuts_insert_path): Use the remote folder icon when
1423 Follow up to #354887
1425 2007-06-17 Christian Persch <chpe@gnome.org>
1427 * gtk/Makefile.am: Pass the print settings to the preview programme.
1428 Bug #403717, patch by Carlos Garcia Campos.
1430 2007-06-17 Xan Lopez <xan@gnome.org>
1432 * gdk/x11/gdkgeometry-x11.c: replace GDK_WINDOW calls by cast to
1433 GdkWindow. Patch by Tilman Sauerbeck from #63820.
1435 2007-06-17 Daniel Elstner <danielk@openismus.com>
1437 * modules/input/gtkimcontextmultipress.c (vfunc_filter_keypress):
1438 Change input method behavior to act on key presses instead of
1439 key releases, matching normal text input behavior. This change
1440 alleviates the need to take special action for control keys not
1441 handled by the input module itself.
1443 2007-06-17 Behdad Esfahbod <behdad@gnome.org>
1445 * gtk/gtkfontsel.c: List font sizes 6 and 7pt too. (#440450,
1446 Sebastien Bacher, Alex "weej" Jones)
1448 2007-06-16 Yevgen Muntyan <muntyan@tamu.edu>
1450 * gtk/gtktextdisplay.c (render_para): fixed couple of drawing
1451 problems with block cursor (#448321).
1453 2007-06-16 Richard Hult <richard@imendio.com>
1455 * gdk/quartz/gdkevents-quartz.c: (gdk_event_translate): Ignore
1456 events and break any grabs while the window is being dragged.
1458 2007-06-16 Richard Hult <richard@imendio.com>
1460 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_transient_for):
1461 Defer setting the parent until the window is shown, otherwise it
1462 gets unconditionally shown here.
1464 2007-06-16 Johan Dahlin <jdahlin@async.com.br>
1466 * gtk/gtkbuilderparser.c (text): Swap argument order to dgettext
1467 (#448299, Jan Arne Petersen)
1469 2007-06-16 Richard Hult <richard@imendio.com>
1471 * gdk/quartz/gdkevents-quartz.c (find_mouse_window_for_ns_event):
1472 Move the checks for no window or a non-GDK window from here...
1473 (gdk_event_translate): ...to here. Reorder the code so that we
1474 detect the cases where we need to break grabs before bailing
1477 2007-06-16 Richard Hult <richard@imendio.com>
1479 * gdk/quartz/gdkevents-quartz.c (gdk_event_translate)
1480 (break_all_grabs): Break out into a separate function.
1482 2007-06-16 Richard Hult <richard@imendio.com>
1484 * gdk/quartz/GdkQuartzWindow.c: (isInMove): Implement, to be used
1485 to detect if the window is currently being moved with the mouse.
1487 2007-06-16 Richard Hult <richard@imendio.com>
1489 * gdk/quartz/gdkwindow-quartz.c (gdk_window_set_transient_for):
1490 Don't set parent/child relationship for tooltip windows since that
1491 moves the parent window to the front, due to the tooltip having a
1494 2007-06-16 Christian Persch <chpe@gnome.org>
1496 * gtk/gtkbuilder.c: (gtk_builder_real_get_type_from_name),
1497 (gtk_builder_get_type_from_name):
1498 * gtk/gtkbuilder.h: Don't use "typename" C++ keyword as parameter
1501 2007-06-15 Matthias Clasen <mclasen@redhat.com>
1503 * configure.in: Bump version
1505 * === Released 2.11.3 ===
1507 2007-06-15 Johan Dahlin <jdahlin@async.com.br>
1509 * gtk/gtkuimanager.c: Base class should be GObject, not GtkObject.
1511 2007-06-15 Matthias Clasen <mclasen@redhat.com>
1513 * gtk/gtkbuildable.c:
1514 * gtk/gtkbuilder.c: Documentation fixes
1516 * gtk/gtktreeview.c: Fix up cross-references in docs.
1518 * gtk/Makefile.am: Don't install gtkbuilderprivate.h
1520 * gtk/gtk.h: Include gtkbuilder.h
1524 2007-06-15 Johan Dahlin <jdahlin@async.com.br>
1526 * gtk/gtkbuilder.c (gtk_builder_add_from_file):
1527 (gtk_builder_value_from_string_type):
1528 Use gsize instead of unsigned and gulong instead of long,
1529 fixes complation on OSX, fixes #447987
1531 2007-06-15 Matthias Clasen <mclasen@redhat.com>
1533 * gtk/gtkmenushell.[ch]: add move_selected signal to allow
1534 overriding the default internal behaviour. (#446833, Ryan Lortie)
1536 2007-06-15 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1538 * gtk/gtkwidget.c: Forgot to free the unescaped tooltip text.
1540 2007-06-15 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1542 * gtk/gtkwidget.c: Improving handling of tooltip-text property.
1543 * tests/testtooltips.c: Also check result of tooltip getters.
1545 2007-06-15 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1547 * docs/reference/gtk/gtk-sections.txt, gtk/gtk.symbols,
1548 gtk/gtkwidget.c, gtk/gtkwidget.h, tests/testtooltips.c: Introduce
1549 convenience property "GtkWidget:tooltip-text" taking care of escaping
1550 it for unwanted markup entities. Add functions to set tooltip text:
1551 gtk_widget_set_tooltip_text(), gtk_widget_set_tooltip_markup(),
1552 gtk_widget_get_tooltip_text(), gtk_widget_get_tooltip_markup().
1554 * gtk/gtktooltip.c, gtk/gtktooltip.h: Add gtk_tooltip_set_text()
1555 to set the tooltip text without using markup.
1557 Patches from Emmanuele Bassi (#447643).
1559 2007-06-15 Johan Dahlin <jdahlin@async.com.br>
1561 reviewed by: Matthias Clasen
1563 * demos/gtk-demo/Makefile.am:
1564 * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
1566 * demos/gtk-demo/demo.ui:
1567 * docs/reference/gtk/gtk-docs.sgml:
1568 * docs/reference/gtk/gtk-sections.txt:
1569 * docs/reference/gtk/gtk.types:
1570 * docs/reference/gtk/tmpl/gtkbuildable.sgml:
1571 * docs/reference/gtk/tmpl/gtkbuilder.sgml:
1575 * gtk/gtkaction.c: (gtk_action_buildable_init),
1576 (gtk_action_buildable_set_name), (gtk_action_buildable_get_name):
1577 * gtk/gtkactiongroup.c: (gtk_action_group_get_type),
1578 (gtk_action_group_buildable_init),
1579 (gtk_action_group_buildable_add),
1580 (gtk_action_group_buildable_set_name),
1581 (gtk_action_group_buildable_get_name):
1582 * gtk/gtkbuildable.c: (gtk_buildable_get_type),
1583 (gtk_buildable_set_name), (gtk_buildable_get_name),
1584 (gtk_buildable_add), (gtk_buildable_set_property),
1585 (gtk_buildable_parser_finished), (gtk_buildable_construct_child),
1586 (gtk_buildable_custom_tag_start), (gtk_buildable_custom_tag_end),
1587 (gtk_buildable_custom_finished),
1588 (gtk_buildable_get_internal_child):
1589 * gtk/gtkbuildable.h:
1590 * gtk/gtkbuilder.c: (gtk_builder_class_init), (gtk_builder_init),
1591 (gtk_builder_finalize), (gtk_builder_set_property),
1592 (gtk_builder_get_property), (_gtk_builder_resolve_type_lazily),
1593 (gtk_builder_real_get_type_from_name),
1594 (gtk_builder_get_parameters), (gtk_builder_get_internal_child),
1595 (_gtk_builder_construct), (_gtk_builder_add),
1596 (apply_delayed_properties), (_gtk_builder_finish),
1597 (gtk_builder_new), (gtk_builder_add_from_file),
1598 (gtk_builder_add_from_string), (gtk_builder_get_object),
1599 (object_add_to_list), (gtk_builder_get_objects),
1600 (gtk_builder_set_translation_domain),
1601 (gtk_builder_get_translation_domain),
1602 (gtk_builder_connect_signals_default),
1603 (gtk_builder_connect_signals), (gtk_builder_connect_signals_full),
1604 (gtk_builder_value_from_string),
1605 (gtk_builder_value_from_string_type),
1606 (_gtk_builder_enum_from_string), (_gtk_builder_flags_from_string),
1607 (gtk_builder_get_type_from_name), (gtk_builder_error_quark):
1609 * gtk/gtkbuilderparser.c: (state_push), (state_peek), (state_pop),
1610 (error_missing_attribute), (error_invalid_attribute),
1611 (error_invalid_tag), (builder_construct), (parse_object),
1612 (free_object_info), (_get_type_by_symbol), (parse_child),
1613 (free_child_info), (parse_property), (free_property_info),
1614 (parse_signal), (_free_signal_info), (parse_interface),
1615 (create_subparser), (free_subparser), (subparser_start),
1616 (subparser_end), (parse_custom), (start_element), (end_element),
1617 (text), (_gtk_builder_parser_parse_buffer):
1618 * gtk/gtkbuilderprivate.h:
1619 * gtk/gtkcelllayout.c: (attributes_start_element),
1620 (attributes_text_element),
1621 (_gtk_cell_layout_buildable_custom_tag_start),
1622 (_gtk_cell_layout_buildable_custom_tag_end),
1623 (_gtk_cell_layout_buildable_add):
1624 * gtk/gtkcelllayout.h:
1625 * gtk/gtkcellview.c: (gtk_cell_view_buildable_init),
1626 (gtk_cell_view_buildable_custom_tag_start),
1627 (gtk_cell_view_buildable_custom_tag_end):
1628 * gtk/gtkcolorseldialog.c:
1629 (gtk_color_selection_dialog_buildable_interface_init),
1630 (gtk_color_selection_dialog_buildable_get_internal_child):
1631 * gtk/gtkcombobox.c: (gtk_combo_box_buildable_init),
1632 (gtk_combo_box_buildable_custom_tag_start),
1633 (gtk_combo_box_buildable_custom_tag_end):
1634 * gtk/gtkcomboboxentry.c:
1635 (gtk_combo_box_entry_buildable_interface_init),
1636 (gtk_combo_box_entry_buildable_get_internal_child):
1637 * gtk/gtkcontainer.c: (gtk_container_get_type),
1638 (gtk_container_buildable_init), (gtk_container_buildable_add),
1639 (gtk_container_buildable_set_child_property),
1640 (attributes_start_element), (attributes_text_element),
1641 (gtk_container_buildable_custom_tag_start),
1642 (gtk_container_buildable_custom_tag_end):
1644 * gtk/gtkdialog.c: (gtk_dialog_buildable_interface_init),
1645 (gtk_dialog_buildable_get_internal_child),
1646 (attributes_start_element), (attributes_text_element),
1647 (gtk_dialog_buildable_custom_tag_start),
1648 (gtk_dialog_buildable_custom_finished):
1649 * gtk/gtkentrycompletion.c: (gtk_entry_completion_buildable_init):
1650 * gtk/gtkexpander.c: (gtk_expander_buildable_add),
1651 (gtk_expander_buildable_init):
1653 (gtk_font_selection_dialog_buildable_interface_init),
1654 (gtk_font_selection_dialog_buildable_get_internal_child):
1655 * gtk/gtkframe.c: (gtk_frame_buildable_init),
1656 (gtk_frame_buildable_add):
1657 * gtk/gtkiconview.c: (gtk_icon_view_buildable_init),
1658 (gtk_icon_view_buildable_custom_tag_start),
1659 (gtk_icon_view_buildable_custom_tag_end):
1660 * gtk/gtkliststore.c: (gtk_list_store_buildable_init),
1661 (list_store_start_element), (list_store_end_element),
1662 (list_store_text), (gtk_list_store_buildable_custom_tag_start),
1663 (gtk_list_store_buildable_custom_tag_end):
1665 * gtk/gtknotebook.c: (gtk_notebook_buildable_init),
1666 (gtk_notebook_buildable_add):
1667 * gtk/gtksizegroup.c: (gtk_size_group_buildable_init),
1668 (size_group_start_element),
1669 (gtk_size_group_buildable_custom_tag_start),
1670 (gtk_size_group_buildable_custom_finished):
1671 * gtk/gtktreestore.c: (gtk_tree_store_buildable_init),
1672 (tree_model_start_element),
1673 (gtk_tree_store_buildable_custom_tag_start),
1674 (gtk_tree_store_buildable_custom_finished):
1675 * gtk/gtktreeview.c: (gtk_tree_view_buildable_init),
1676 (gtk_tree_view_buildable_add):
1677 * gtk/gtktreeviewcolumn.c: (gtk_tree_view_column_buildable_init):
1678 * gtk/gtkuimanager.c: (gtk_ui_manager_buildable_init),
1679 (gtk_ui_manager_buildable_add),
1680 (gtk_ui_manager_buildable_construct_child),
1681 (gtk_ui_manager_buildable_custom_tag_start),
1682 (gtk_ui_manager_buildable_custom_tag_end):
1683 * gtk/gtkwidget.c: (gtk_widget_get_type),
1684 (gtk_widget_buildable_interface_init),
1685 (gtk_widget_buildable_set_name), (gtk_widget_buildable_get_name),
1686 (gtk_widget_buildable_set_property),
1687 (gtk_widget_buildable_parser_finshed), (accel_group_start_element),
1688 (gtk_widget_buildable_custom_tag_start),
1689 (gtk_widget_buildable_custom_finshed):
1690 * gtk/gtkwindow.c: (gtk_window_buildable_interface_init),
1691 (gtk_window_buildable_set_property),
1692 (gtk_window_buildable_parser_finished):
1693 * tests/Makefile.am:
1694 * tests/buildertest.c: (builder_new_from_string), (test_parser),
1695 (signal_normal), (signal_after), (signal_object),
1696 (signal_object_after), (signal_first), (signal_second),
1697 (signal_extra), (signal_extra2), (test_connect_signals),
1698 (test_uimanager_simple), (test_domain), (test_translation),
1699 (test_sizegroup), (test_list_store), (test_tree_store),
1700 (test_types), (test_spin_button), (test_notebook),
1701 (test_construct_only_property), (test_children),
1702 (test_child_properties), (test_treeview_column), (test_icon_view),
1703 (test_combo_box), (test_combo_box_entry), (test_cell_view),
1704 (test_dialog), (test_accelerators), (test_widget), (main):
1706 Add GtkBuilder, fixes #172535
1708 2007-06-15 Hans Breuer <hans@breuer.org>
1710 * gtk/makefile.msc.in tests/makefile.msc : updated
1711 * gdk/win32/gdkwindow-win32.c : explicit usage of RegisterClassExW
1712 to match the WNDCLASSEXW.
1713 True dynamic linking of SetLayeredWindowAttributes
1714 * tests/testprint.c tests/testnouiprint.c : use G_PI
1716 2007-06-14 Johan Dahlin <jdahlin@async.com.br>
1718 * gtk/gtk.symbols: Add missing symbol
1719 gtk_text_layout_set_overwrite_mode
1721 2007-06-14 Behdad Esfahbod <behdad@gnome.org>
1723 * gtk/gtknotebook.c (gtk_notebook_get_group_id): Fix compiler
1724 warning. (#447586, Kazuki IWAMOTO)
1726 2007-06-14 Tor Lillqvist <tml@novell.com>
1728 * gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Use
1729 g_win32_get_windows_version() instead of _winver so that this
1730 compiles on Cygwin, too. Not that I know if it makes sense to
1731 build GTK+ with the Win32 backend for Cygwin, but some people want
1734 2007-06-13 Matthias Clasen <mclasen@redhat.com>
1738 * NEWS, README.in: Move the combobox note to the README,
1739 where it seems more appropriate.
1741 2007-06-13 Matthias Clasen <mclasen@redhat.com>
1743 * gtk/gtkwidget.c (gtk_widget_modify_cursor): Improve docs.
1744 (#447396, Masatake YAMATO)
1746 2007-06-14 Carlos Garnacho <carlos@imendio.com>
1748 * gtk/gtkcombobox.c: removed unused and hardly visible GtkFrame from
1749 the menu widget hierarchy when ::appears-as-list is TRUE. (#435471)
1750 * NEWS: add a note about repercussions of this change to RC files.
1752 2007-06-13 Behdad Esfahbod <behdad@gnome.org>
1754 * gdk/directfb/gdkgc-directfb.c: #undef GDK_DISABLE_DEPRECATED to
1755 get prototype for gdk_font_ref(). (#447163, Dann Frazier, Loïc Minier)
1757 2007-06-13 Michael Natterer <mitch@imendio.com>
1759 * gtk/gtkmenuitem.[ch]: add "submenu" property. Fix
1760 gtk_menu_item_set_submenu() to accept NULL submenus and deprecate
1761 gtk_menu_item_remove_submenu() because we have a properly working
1762 setter now (bug #447065).
1764 * gtk/gtk.symbols: deprecate gtk_menu_item_remove_submenu().
1766 * gtk/gtkcombobox.c: use gtk_menu_item_set_submenu() instead of
1767 gtk_menu_item_remove_submenu().
1769 2007-06-13 Cody Russell <bratsche@gnome.org>
1771 * gtk/gtkwidget.c: Fix inconsistency in GTK_WIDGET_SAVED_STATE
1772 (#435840, Xan Lopez)
1774 2007-06-13 Kristian Rietveld <kris@imendio.com>
1777 * gtk/gtkfilesystem.[ch]: rename _gtk_file_system_create to
1778 gtk_file_system_create to make it public and bring trunk back
1779 in sync with gtk-2-10.
1781 * gtk/gtkfilechooserdefault.c (set_file_system_backend): updated.
1783 2007-06-13 Michael Natterer <mitch@imendio.com>
1785 * gtk/gtklabel.c (gtk_label_set_label): added calls to
1786 g_object_freeze/thaw_notify() so gtk_label_get_text() doesn't
1787 return the old text when called from a "notify::label" callback.
1789 2007-06-13 Kristian Rietveld <kris@imendio.com>
1791 Audit of GtkTreeView coordinate system usage. (#142494).
1793 * gtk/gtktreeview.[ch]: general documentation updates,
1794 (gtk_tree_view_scroll_to_cell), (gtk_tree_view_get_dest_row_at_pos):
1795 update coordinate translations,
1796 (gtk_tree_view_tree_to_widget_coords),
1797 (gtk_tree_view_widget_to_tree_coords): Deprecated,
1798 (gtk_tree_view_convert_.*_coords): 6 new functions for doing
1799 transformations between coordinate systems.
1801 * gtk/gtk.symbols: updated.
1803 * tests/testtooltips.c (query_tooltip_tree_view_cb): fix testcase
1804 with new gtk_tree_view_convert_widget_to_bin_window_coords().
1806 * docs/reference/gtk/Makefile.am
1807 * docs/reference/gtk/images/tree-view-coordinates.png: add new image.
1809 * docs/reference/gtk/tmpl/gtktreeview.sgml: eloborate on the
1810 different coordinate systems.
1812 2007-06-13 Kristian Rietveld <kris@imendio.com>
1814 * gtk/gtkcellrendererprogress.c
1815 (gtk_cell_renderer_progress_class_init),
1816 (gtk_cell_renderer_progress_init),
1817 (gtk_cell_renderer_progress_[gs]et_property),
1818 (gtk_cell_renderer_progress_render): Add orientation property and some
1819 slight refactoring here and there. (Fixes #344836, reported by
1820 Benjamin Montgomery).
1822 2007-06-12 Matthias Clasen <mclasen@redhat.com>
1824 * gdk/Makefile.am: Remove linux-fb from DIST_SUBDIRS
1826 * configure.in: Remove linux-fb parts.
1828 2007-06-12 Michael Natterer <mitch@imendio.com>
1830 * gtk/gtkiconview.c (update_text_cell): use PANGO_BREAK_WORD_CHAR
1831 instead of PANGO_BREAK_WORD so the text cell doesn't overflow the
1832 wrap-width if there is no whitespace found to break at.
1835 2007-06-12 Kristian Rietveld <kris@imendio.com>
1837 Fix #410815, reported by Lucas Rocha.
1839 * gtk/gtkiconview.c (gtk_icon_view_layout): determine a suitable
1840 wrap-width with the first icon, if it exists,
1841 (adjust_wrap_width): try to use icon_view->priv->item_width
1843 (gtk_icon_view_set_cell_data): don't call adjust_wrap_width here,
1844 which caused changes in wrap-width during the layouting process and
1845 resulted in layouting artefacts,
1846 (update_text_cell): don't set the wrap-width property, this should
1847 be handled by adjust_wrap_width.
1849 2007-06-12 Behdad Esfahbod <behdad@gnome.org>
1851 * gdk/gdkwindow.c (gdk_window_get_pointer): Improve docs.
1852 (#446138, Björn Lindqvist)
1854 2007-06-12 Yevgen Muntyan <muntyan@tamu.edu>
1856 * gtk/gtkentry.c (gtk_entry_expose), (gtk_entry_toggle_overwrite),
1857 (gtk_entry_draw_cursor):
1858 * gtk/gtkstyle.c (_gtk_widget_get_cursor_gc),
1859 (_gtk_widget_get_cursor_color):
1861 * gtk/gtktextdisplay.c (gtk_text_renderer_prepare_run),
1862 (gtk_text_renderer_draw_shape), (text_renderer_set_state),
1864 * gtk/gtktextlayout.c (gtk_text_layout_set_overwrite_mode),
1865 (gtk_text_layout_invalidate_cache), (get_block_cursor),
1866 (add_cursor), (gtk_text_layout_get_line_display),
1867 (_gtk_text_layout_get_block_cursor):
1868 * gtk/gtktextlayout.h:
1869 * gtk/gtktextutil.c (layout_get_char_width),
1870 (_gtk_text_util_get_block_cursor_location):
1871 * gtk/gtktextutil.h:
1872 * gtk/gtktextview.c (gtk_text_view_set_editable),
1873 (gtk_text_view_toggle_overwrite), (gtk_text_view_set_overwrite),
1874 (gtk_text_view_ensure_layout), (text_window_invalidate_cursors):
1875 Implement block-cursor for overwrite mode. (#80378)
1877 2007-06-11 Matthias Clasen <mclasen@redhat.com>
1879 * configure.in: Bump GLib requirement to 2.13.3 (#446616, Behdad
1882 2007-06-11 Matthias Clasen <mclasen@redhat.com>
1884 * modules/printbackends/cups/gtkprintbackendfile.c:
1885 * modules/printbackends/cups/gtkprintbackendcups.c: Fix some
1886 locking issues. (#420249, Christian Persch)
1888 2007-06-11 Matthias Clasen <mclasen@redhat.com>
1890 * configure.in: When debugging is turned on, use error-checking
1893 2007-06-11 Emmanuele Bassi <ebassi@gnome.org>
1895 * gtk/gtknotebook.h: Fix declaration of the create_window()
1896 vfunc inside GtkNotebookClass. (#446513, Kazuki Iwamoto)
1898 2007-06-11 Matthias Clasen <mclasen@redhat.com>
1900 * tests/testiconview.c: Use icons of varying size.
1902 2007-06-10 Matthias Clasen <mclasen@redhat.com>
1904 * gtk/gtkrc.c (gtk_rc_parse_style): Accept class names starting
1905 with lowercase letters for style property assignments, since
1906 GType accepts these too, and gtkmm uses such class names. (#343012,
1907 Murray Cumming, Johannes Schmid)
1909 2007-06-10 Matthias Clasen <mclasen@redhat.com>
1911 * gtk/gtkentry.c (gtk_entry_finalize): Don't leak cursor_hadjustment.
1912 Store cursor_hadjustment as object data rather than in the private
1915 2007-06-10 Matthias Clasen <mclasen@redhat.com>
1917 * gdk/x11/gdkspawn-x11.c (set_environment): Handle child_setup
1918 being NULL. (#445691, Christopher Taylor)
1920 2007-06-10 Emmanuele Bassi <ebassi@gnome.org>
1922 * gtk/gtksearchenginesimple.c: Unconditionally define _GNU_SOURCE
1923 and XOPEN_SOURCE, in order to make the simple search engine backend
1924 build on really ancient GNU libc. (#444097)
1926 2007-06-10 Michael Natterer <mitch@imendio.com>
1928 * gdk/quartz/gdkdrawable-quartz.c (gdk_quartz_draw_arc): fix
1929 angles by flipping the coordinate system back to its original y
1930 direction. The implementation is still broken for ellipses, will
1931 have to simulate them using bezier curves.
1933 2007-06-10 Cody Russell <bratsche@gnome.org>
1935 * gdk/win32/gdkevents-win32.c (gdk_pointer_grab):
1936 Don't revert the mouse cursor to the built-in one when
1937 the user holds the mouse button down. (#445284, Tor Lillqvist)
1939 2007-06-10 Emmanuele Bassi <ebassi@gnome.org>
1941 * gtk/gtkscalebutton.[ch]: Fix some coding style bits.
1943 (gtk_scale_button_dispose), (gtk_scale_button_class_init),
1944 (gtk_scale_button_init): Use the GObject private data API instead
1945 of allocating the private structure ourselves.
1947 (gtk_scale_button_dispose), (gtk_scale_button_finalize): Free
1948 the icons string vector inside ::finalize and not in ::dispose.
1950 (gtk_scale_button_update_icon): Use g_strv_length() instead
1951 of an empty for loop.
1953 2007-06-09 Matthias Clasen <mclasen@redhat.com>
1956 * gtk/gtkscrolledwindow.c: Update docs
1957 * gtk/gtkwidget.h: Deprecate gtk_widget_{ref,unref}
1959 * gtk/gtkbox.c: Move docs inline.
1962 * gtk/gtkscale.c: Doc formatting improvements.
1964 2007-06-09 Matthias Clasen <mclasen@redhat.com>
1966 * gtk/gtkscalebutton.c: Add an icons property, make
1967 gtk_scale_button_new() a convenience function. (#445855,
1970 2007-06-09 Matthias Clasen <mclasen@redhat.com>
1972 * gtk/gtkhscale.c (gtk_hscale_new):
1973 * gtk/gtkvscale.c (gtk_vscale_new): Cosmetic change to make
1974 it more obvious that this is a convenience function.
1976 2007-06-09 Matthias Clasen <mclasen@redhat.com>
1978 * gtk/gtkcalendar.c (gtk_calendar_init): Handle return values
1979 from nl_langinfo() more correctly.
1981 2007-06-09 Carlos Garnacho <carlos@imendio.com>
1983 * gtk/gtkrc.c (gtk_rc_parse_engine): initialize rc_priv in the else
1984 branch too. (#445539)
1986 2007-06-08 Benjamin Berg <benjamin@sipsolutions.net>
1988 * gtk/gtkscrolledwindow.c: (gtk_scrolled_window_paint):
1989 Fix shadow painting if the scrollbars-within-bevel style property is
1990 set and border_width is nozero. (#445054)
1992 2007-06-08 Matthias Clasen <mclasen@redhat.com>
1994 Make it possible for theme engines to support symbolic
1995 colors. (#426192, Andrea Cimitan, patch by Olivier Samyn)
1999 * gtk/gtkrc.c (gtk_rc_parse_color_full): Export this function
2001 * gtk/gtkrc.c (gtk_rc_parse_engine): Copy color hashes
2002 to new style before parsing engine section.
2004 2007-06-08 Michael Natterer <mitch@imendio.com>
2006 * gdk/quartz/gdkdrawable-quartz.c: add utility function
2007 gdk_quartz_fix_cap_not_last_line() which fixes the coordinates for
2008 GDK_CAP_NOT_LAST lines at least for horizontal and vertical lines.
2010 (gdk_quartz_draw_segments)
2011 (gdk_quartz_draw_lines): use it here.
2013 2007-06-07 Michael Natterer <mitch@imendio.com>
2015 * gdk/quartz/gdkgc-quartz.c: add gdk_gc_quartz_init() and set
2016 some values to the defaults used by X11.
2018 (gdk_quartz_gc_set_values): really set cap_style when
2019 GDK_GC_CAP_STYLE is in the mask, not line_style.
2021 2007-06-07 Michael Natterer <mitch@imendio.com>
2023 * gdk/quartz/gdkgc-quartz.c (_gdk_quartz_gc_update_cg_context):
2024 use the same code for GDK_XOR as for GDK_INVERT. Xor with an
2025 arbitrary color is impossible to implement with quartz.
2027 2007-06-07 Matthias Clasen <mclasen@redhat.com>
2029 * gtk/gtksettings.c: Fix a typo in the docs.
2031 2007-06-07 Christian Neumair <cneumair@gnome.org>
2033 * gtk/gtkstock.[ch]: Add GTK_STOCK_DISCARD, #158008.
2035 2007-06-07 Matthias Clasen <mclasen@redhat.com>
2037 * gtk/gtktreeview.c: Documentation additions.
2039 * gtk/gtknotebook.c: Add a doc comment.
2041 2007-06-06 Matthias Clasen <mclasen@redhat.com>
2043 * gtk/gtkfilechooserbutton.c (model_add_special):
2044 * gtk/gtkfilechooserdefault.c (shortcuts_append_desktop):
2045 * gtk/gtkfilesystemunix.c (get_icon_name_for_directory):
2046 * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system):
2047 Use g_get_user_special_dir() to obtain the path for the
2050 2007-06-06 Matthias Clasen <mclasen@redhat.com>
2052 * gtk/Makefile.am: Add the 16x16 version of gtk-select-color.png
2053 to the list of stock icons. (#444786)
2055 2007-06-06 Kristian Rietveld <kris@imendio.com>
2057 * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_init),
2058 (gtk_cell_renderer_progress_class_init),
2059 (gtk_cell_renderer_progress_[gs]et_property),
2060 (gtk_cell_renderer_progress_render): add text-[xy]align properties
2061 for aligning the text label of the progress bar. (#334576,
2062 suggestion from Steven Sheehy).
2064 2007-06-06 Yevgen Muntyan <muntyan@tamu.edu>
2067 * gtk/gtkwidget.h: new method, gtk_widget_modify_cursor() (#79585).
2070 * gtkrc.h: new functions _gtk_rc_style_set_rc_property() and
2071 _gtk_rc_style_unset_rc_property().
2073 * gtk/gtk.symbols: added gtk_widget_modify_cursor.
2075 * tests/testtext.c (do_cursor_visible_changed):
2076 * tests/testgtk.c (create_styles): test it.
2078 2007-06-06 Richard Hult <richard@imendio.com>
2080 * gdk/quartz/gdkevents-quartz.c (find_mouse_window_for_ns_event)
2081 (find_window_for_ns_event): Rework how we get the event window:
2082 don't get the window from the NSEvent, always use the mouse window
2083 instead. Fix mouse window tracking by only using MouseExited for
2084 non-gdk windows, and to always use the NSEvent window to get the
2085 right gdk window in MouseEntered. Add comments to the code. Fixes bug
2088 2007-06-06 Richard Hult <richard@imendio.com>
2090 * gdk/quartz/gdkevents-quartz.c (get_converted_window_coordinates):
2091 Don't do anything if the two windows are the same.
2092 (find_window_for_ns_event): Translate coordinates to be relative
2093 the grab window when appropriate.
2095 2007-06-06 Emmanuele Bassi <ebassi@gnome.org>
2097 * gtk/gtkfilechooserdefault.c:
2098 (get_file_info_finished), (shortcuts_insert_path),
2099 (shortcuts_add_bookmarks), (shortcuts_add_current_folder): Factor
2100 out the search shortcut, the recently used shortcut and the separator
2101 from the shortcut selection combo. (#444734)
2103 (recent_idle_load): Remove the idle source that lazily loads the
2104 recently used files, if the GtkRecentManager returns an empty
2107 2007-06-06 Ross Burton <ross@openedhand.com>
2109 * gdk/x11/gdkspawn-x11.c:
2110 Set DISPLAY in the child process using g_setenv() instead of
2111 constructing a new envp, which lets callers use child setup
2112 functions which call putenv (#442617).
2114 2007-06-06 Johan Dahlin <jdahlin@async.com.br>
2116 reviewed by: Matthias Clasen <mclasen@redhat.com>
2118 * gtk/gtkassistant.c (gtk_assistant_update_buttons_state):
2119 Check if the wizard is empty before trying to access the first page.
2120 (#444310, Johan Dahlin)
2122 2007-06-06 Matthias Clasen <mclasen@redhat.com>
2124 * configure.in: Bump version
2126 * === Released 2.11.2 ===
2130 2007-06-06 Kristian Rietveld <kris@imendio.com>
2132 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_queue_resize): use
2133 GTK_IS_TREE_VIEW_COLUMN() in g_return_if_fail here.
2135 2007-06-06 Kristian Rietveld <kris@imendio.com>
2137 * gtk/gtktreeviewcolumn.[ch] (gtk_tree_view_column_get_tree_view): new
2138 function. (#342471, Lorenzo Gil Sanchez).
2140 * gtk/gtk.symbols: updated.
2142 2007-06-06 Kristian Rietveld <kris@imendio.com>
2144 * gtk/gtktooltip.c (gtk_tooltip_paint_window): remove unused
2145 call to gtk_widget_size_request(). (Reported by Carlos
2148 2007-06-06 Kristian Rietveld <kris@imendio.com>
2150 * gtk/gtktooltip.c (gtk_tooltip_show_tooltip): bail out if
2151 last_window is not a GdkWindow anymore. (Fixes #434021, several
2154 2007-06-06 Matthias Clasen <mclasen@redhat.com>
2156 * gdk/Makefile.am: Remove leftover reference to medialib_h_sources.
2158 2007-06-06 Brian Cameron <brian.cameron@sun.com>
2160 * gdk/Makefile.am: Add gdkmedialib.h to EXTRA_DIST so this header
2161 file gets included with the distribution, as needed. Fixes bug
2162 #442888. Reviewed by Matthias Clasen.
2164 2007-06-06 Richard Hult <richard@imendio.com>
2166 * gdk/quartz/gdkevents-quartz.c
2167 (_gdk_quartz_events_update_mouse_window): Ignore if the old and new
2168 windows are the same.
2170 2007-06-06 Kristian Rietveld <kris@imendio.com>
2172 * gtk/gtktreeview.c (gtk_tree_view_unrealize): also remove the
2173 auto expand timeout if it exists.
2175 2007-06-06 Richard Hult <richard@imendio.com>
2177 * gdk/quartz/gdkevents-quartz.c (synthesize_crossing_events):
2178 Update comment to be more clear and print a warning if we try to
2179 create a crossing event without knowing what the current mouse
2180 window is, to help track down focus bugs.
2182 * gdk/quartz/gdkevents-quartz.c
2183 (_gdk_quartz_events_update_focus_window): Fix indentation.
2185 2007-06-06 Richard Hult <richard@imendio.com>
2187 * gdk/quartz/GdkQuartzWindow.c: Don't let temp windows become key
2190 2007-06-06 Tor Lillqvist <tml@novell.com>
2192 * gdk/x11/gdkwindow-x11.c (gdk_window_set_opacity): Fix
2193 embarrassing crash. (#444457, Torsten Schoenfeld)
2195 2007-06-05 Yevgen Muntyan <muntyan@tamu.edu>
2197 * demos/gtk-demo/textview.c (insert_text): Drop the phrase
2198 saying invisible text doesn't work (#444236).
2200 2007-06-05 Matthias Clasen <mclasen@redhat.com>
2202 * gdk/x11/gdkevents-x11.c (gdk_event_translate): Check that
2203 window_private is not NULL before using it. (#444351, David Ronis)
2205 2007-06-05 Jakub Steiner <jimmac@ximian.com>
2207 * gtk/stock-icons/{16,24}/gtk-find*: drop the paper sheet.
2208 gtk-find is used for search, rather than find within a document
2211 2007-06-05 Kristian Rietveld <kris@gtk.org>
2213 Fix #399071, suggestion from Benoit Dejean.
2215 * gtk/gtkliststore.[ch] (gtk_list_store_set_vector_internal): new
2216 function, factored out code iterating (columns, values) vectors from
2217 gtk_list_store_new_with_valuesv to here,
2218 (gtk_list_store_set_valuesv): new public function to set list store
2219 values using (columns, values) vectors,
2220 (gtk_list_store_new_with_valuesv): call new _set_vector_internal
2223 * gtk/gtktreestore.[ch] (gtk_tree_store_set_vector_internal),
2224 (gtk_tree_store_set_valuesv), (gtk_tree_store_new_with_valuesv):
2227 * gtk/gtk.symbols: updated.
2229 2007-06-04 Richard Hult <richard@imendio.com>
2231 * gdk/quartz/gdkwindow-quartz.c:
2232 (show_window_internal): Don't try to make temp windows key
2233 windows, fixes problem introduced below.
2235 2007-06-04 Richard Hult <richard@imendio.com>
2237 * gdk/quartz/GdkQuartzWindow.c:
2238 * gdk/quartz/gdkwindow-quartz.c: Implement simple versions of
2239 gdk_window_set_accept_focus and gdk_window_set_focus_on_map.
2241 2007-06-04 Richard Hult <richard@imendio.com>
2243 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_raise),
2244 (gdk_window_lower): Implement.
2246 2007-06-04 Richard Hult <richard@imendio.com>
2248 * gdk/quartz/gdkwindow-quartz.c:
2249 * gdk/quartz/gdkwindow-quartz.h: Implement
2250 gdk_window_set_transient_for.
2252 2007-06-04 Cody Russell <bratsche@gnome.org>
2254 * gtk/gtklinkbutton.h
2255 * gtk/gtkaboutdialog.h: Change function argument "link"
2256 to "link_" to fix warnings for applications compiling
2257 with -Wshadow. (#379213)
2259 2007-06-04 Cody Russell <bratsche@gnome.org>
2261 * gtk/gtkpathbar.c (gtk_path_bar_scroll_down): Check
2262 if down_button is NULL. This happens when the pathbar button
2263 for the current directory is too large to fit in the
2264 space, e.g. on Windows for directories named something like
2265 "My Documents and Settings". (#389603)
2267 2007-06-04 Matthias Clasen <mclasen@redhat.com>
2269 * configure.in: Bump version
2271 * === Released 2.11.1 ===
2273 * gdk/gdkwindow.c (gdk_window_set_composited): Improve docs.
2276 * README.in: Updates
2278 2007-06-04 Michael Natterer <mitch@imendio.com>
2280 Move "move-focus" signals from several widgets to GtkWidget to
2281 enable more flexible costomization of keyboard navigation via
2282 bindings. Fixes bug #414947.
2284 * gtk/gtkwidget.c: add "move-focus" binding signal, default to
2285 calling the toplevel GtkWindow's "move-focus" vfunc.
2287 * gtk/gtktextview.[ch]
2288 * gtk/gtkwindow.[ch]: remove "move-focus" signals and add compat
2289 code that makes sure that both emitting the signal on the widget
2290 and overriding the virtual functions keeps working as before.
2292 * gtk/gtktoolbar.c: remove "move-focus" signal here too and use
2293 GtkWidget's signal. This change slightly changes keyboard
2294 navigation in toolbars. I'll fix the behavior if somebody can
2295 explain me if and how exactly the new behavior is broken.
2297 2007-06-04 Matthias Clasen <mclasen@redhat.com>
2299 * gtk/gtkmarshalers.list:
2300 * gtk/gtknotebook.[hc]: Add a create-window signal that allows
2301 to override the global create-window-hook on a per-notebook
2302 basis. The default handler falls back to the global hook.
2303 (#386935, Christian Hammond)
2305 2007-06-04 Emmanuele Bassi <ebassi@gnome.org>
2307 * gtk/gtkradiobutton.[ch]:
2309 * tests/testgtk.c: Revert previous commit; the API is not yet
2310 finalized - see bug #166995.
2312 2007-06-04 Emmanuele Bassi <ebassi@gnome.org>
2314 * gtk/gtkradiobutton.h:
2315 * gtk/gtkradiobutton.c:
2316 * gtk/gtk.symbols: Add gtk_radio_button_set_value(),
2317 gtk_radio_button_get_current_value() and gtk_radio_button_get_value().
2318 Use these functions to set and get an arbitrary integer associated to
2319 a GtkRadioButton in a group, like the value associated to a
2323 (create_radio_buttons), (radio_toggled_cb): Exercise the new API.
2325 2007-06-03 Torsten Schoenfeld <kaffeetisch@gmx.de>
2327 * gtk/gtkicontheme.c (choose_icon): Initialize unthemed_icon to NULL
2328 to avoid accessing uninitialized memory when
2329 gtk_icon_theme_choose_icon() is called with an empty names list.
2331 2007-06-03 Richard Hult <richard@imendio.com>
2333 * gdk/quartz/gdkevents-quartz.c: (create_crossing_event): Set the key
2336 2007-06-03 Richard Hult <richard@imendio.com>
2338 * gdk/quartz/gdkevents-quartz.c: Make pointer grab emulation work a bit
2340 (gdk_display_pointer_is_grabbed): Do what the docs say and don't
2341 consider implicit grabs here.
2342 (gdk_pointer_grab): Overriding a grab by the same app should always be
2344 (gdk_event_translate): Implicit grabs should not be owner events.
2346 2007-06-03 Matthias Clasen <mclasen@redhat.com>
2350 2007-06-03 Matthias Clasen <mclasen@redhat.com>
2352 * docs/tools/widgets.c: Add a volume button
2354 2007-06-03 Matthias Clasen <mclasen@redhat.com>
2356 * gtk/gtkradiobutton.c:
2357 * gtk/gtkradiomenuitem.c: Fix doc typos.
2359 2007-06-03 Matthias Clasen <mclasen@redhat.com>
2361 * configure.in: Allow to disable Xinerama. (#348065, Diego Pettenò)
2363 2007-06-03 Xan Lopez <xan@gnome.org>
2365 * gtk/gtknotebook.c: remove index parameter in gtk_notebook_switch_page
2366 and remove g_return_if checks in private functions. (#443247)
2368 2007-06-01 Richard Hult <richard@imendio.com>
2370 * gdk/quartz/gdkevents-quartz.c:
2371 (get_converted_window_coordinates), (create_crossing_event): Fix the
2372 coordinates in crossing events so they are relative to the right
2375 2007-06-01 Richard Hult <richard@imendio.com>
2377 * gdk/quartz/gdkevents-quartz.[ch]: Make function naming
2378 consistent for the various functions that retrieve data from an
2381 * gdk/quartz/gdkprivate-quartz.h:
2382 * gdk/quartz/gdkwindow-quartz.[ch]: Remove the now unused
2383 _gdk_quartz_window_find_child_by_point() function.
2385 2007-06-01 Matthias Clasen <mclasen@redhat.com>
2387 Add support for composited child windows. (#412882, Ryan Lortie)
2391 * gdk/gdkinternals.h:
2392 * gdk/gdkwindow.[hc]: Add gdk_display_supports_composite() and
2393 gdk_window_set_composited().
2395 * gdk/x11/gdkevents-x11.c:
2396 * gdk/x11/gdkdisplay-x11.[hc]:
2397 * gdk/x11/gdkwindow-x11.[hc]: X11 implementation.
2399 * gdk/win32/gdkdisplay-win32.c:
2400 * gdk/win32/gdkwindow-win32.c: Dummy win32 implementration.
2402 * gdk/quartz/gdkdisplay-quartz.c:
2403 * gdk/quartz/gdkwindow-quartz.c: Dummy Quartz implementation.
2405 * gdk/directfb/gdkdisplay-directfb.c:
2406 * gdk/directfb/gdkwindow-directfb.c: Dummy DirectFB implementation.
2408 * tests/testgtk.c: Add a "composited window" test.
2410 2007-06-01 Michael Natterer <mitch@imendio.com>
2412 * gtk/gtkmenuitem.c (gtk_menu_item_position_menu): don't switch
2413 submenu opening direction for overlapping reasons if there is even
2414 less space on the other side (bug #441863, Tommi Komulainen).
2416 2007-06-01 Michael Natterer <mitch@imendio.com>
2418 * gtk/gtkfilechooserdialog.c (response_cb): change fix for #347883
2419 to not obfuscate the code.
2421 2007-06-01 Yevgen Muntyan <muntyan@tamu.edu>
2423 Avoid recreating pangolayouts in GtkTextView on cursor movement
2424 (#435405, Behdad Esfahbod).
2426 * gtk/gtktextlayout.c:
2427 * gtk/gtktextlayout.h: new GtkTextLayout method invalidate_cursors(),
2428 and functions gtk_text_layout_invalidate_cursors() and
2429 gtk_text_layout_cursors_changed(), to use when invalidation is due
2430 to moved marks or changed selection.
2432 * gtk/gtktextbtree.c:
2433 * gtk/gtktextbtree.h: use what's appropriate when invalidating layout.
2435 * gtk/gtk.symbols: add new functions.
2437 * README.in: added a note about changed GtkTextLayout API.
2439 2007-06-01 Alp Toker <alp.toker@collabora.co.uk>
2441 * gdk/gdkcairo.c (gdk_cairo_set_source_pixmap): Fix doc typos.
2443 2007-05-31 Yevgen Muntyan <muntyan@tamu.edu>
2445 * gtk/gtkstyle.c (get_insertion_cursor_gc): use text colors from
2446 widget style to draw cursor instead of hardcoded black and grey
2447 (#79585, comment #30).
2449 2007-06-01 Kristian Rietveld <kris@gtk.org>
2451 * gtk/gtkcellrenderertext.c (get_size): transform the ink_rect using
2452 pango_extents_to_pixels to avoid rounding errors. (Fixes #430218,
2455 2007-05-31 Mathias Hasselmann <mathias.hasselmann@gmx.de>
2457 * tests/autotestfilechooser.c: Reactivate the other file-chooser
2458 tests. Forgot that before commiting revision 17994.
2460 2007-05-31 Mathias Hasselmann <mathias.hasselmann@gmx.de>
2462 * gtk/gtkfilechooserdialog.c, tests/autotestfilechooser.c: Reset
2463 the internal response_requested flag, once the response triggered by
2464 file_chooser_widget_response_requested has been processed (#347883).
2466 2007-05-30 Richard Hult <richard@imendio.com>
2468 * gdk/quartz/gdkselection-quartz.c (gdk_free_text_list): Add this
2469 function, bug #438440.
2471 2007-05-30 Tor Lillqvist <tml@novell.com>
2473 * gdk/win32/gdkevents-win32.c (gdk_pointer_grab): Subtract the
2474 multi-monitor offset from x and y before setting up the rectangle
2475 for ClipCursor(). Fixes #442326.
2477 2007-05-30 Matthias Clasen <mclasen@redhat.com>
2479 * gtk/gtkiconview.c (gtk_icon_view_layout): Queue a resize
2480 if the size changed. (#418047, Alex Graveley)
2482 2007-05-30 Simos Xenitellis <simos@gnome.org>
2484 * gdk/gdkkeysyms-update.pl: Updated script to new upstream
2485 location of keysymdef.h (#442183)
2487 2007-05-30 Emmanuele Bassi <ebassi@gnome.org>
2489 * gtk/gtkfilechooserdefault.c (update_chooser_entry): Return
2490 after setting the file chooser entry with the current selection.
2492 2007-05-30 Matthias Clasen <mclasen@redhat.com>
2494 * gtk/gtkiconcachevalidator.c: Correct the handling
2495 of display names. (#441767, Marcin Bachry)
2497 2007-05-30 Xan Lopez <xan@gnome.org>
2499 * gtk/gtknotebook.c (gtk_notebook_set_current_page): Small cleanup.
2502 2007-05-28 Cody Russell <bratsche@gnome.org>
2504 * gdk/win32/xcursors.h: Fix initialization of last item. (#440511)
2506 2007-05-28 Richard Hult <richard@imendio.com>
2508 * gdk/quartz/gdkevents-quartz.c (get_child_coordinates_from_ancestor)
2509 (get_ancestor_coordinates_from_child): Break out code that was
2510 repeated into separate functions and call them instead.
2511 (find_window_for_mouse_nsevent): Break out this from
2512 find_window_for_nsevent to make the code clearer.
2513 (find_window_for_nsevent): Use the above and fix the returned
2514 coordinates in the process so that they are always relative the
2515 found window, both for the normal case and during grabs. Still
2516 needs fixing for the case where we get nsevents for a window other
2517 than than grab window during grabs.
2519 2007-05-28 Richard Hult <richard@imendio.com>
2521 * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Fix typo,
2522 we need both press and release in the mask to trigger implicit
2525 2007-05-28 Richard Hult <richard@imendio.com>
2527 * gdk/quartz/gdkevents-quartz.c (pointer_ungrab_internal): Reset
2528 all the grab state, to help debugging.
2529 (gdk_event_translate): Use pointer_ungrab_internal instead of
2530 duplicating the code here.
2532 2007-05-28 Richard Hult <richard@imendio.com>
2534 * gdk/quartz/gdkprivate-quartz.h:
2535 * gdk/quartz/gdkwindow-quartz.c (find_child_window_helper)
2536 (_gdk_quartz_window_find_child): Refactored version of
2537 _gdk_quartz_window_find_child_by_point, that doesn't return any
2538 coordinates as the users of this function already have the
2539 coordinates and need to translate them differently.
2540 (_gdk_windowing_window_get_pointer): Fixup coordinate translation.
2541 (_gdk_windowing_window_at_pointer): Likewise.
2543 2007-05-28 Richard Hult <richard@imendio.com>
2545 * gdk/quartz/gdkevents-quartz.c
2546 (find_window_interested_in_event_mask): Don't traverse beyond the
2547 toplevel of the passed in window.
2549 2007-05-28 Richard Hult <richard@imendio.com>
2551 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init): Set
2552 a size for the root window.
2554 2007-05-28 Richard Hult <richard@imendio.com>
2556 * gdk/quartz/gdkwindow-quartz.c: Add comments about what various
2557 coordinates are relative to.
2559 2007-05-28 Carlos Garnacho <carlos@imendio.com>
2561 * gtk/gtkwidget.c (gtk_widget_propagate_hierarchy_changed_recurse):
2562 Add back variable declaration removed in r17958.
2564 2007-05-28 Carlos Garcia Campos <carlosgc@gnome.org>
2566 * gtk/gtkprinter.[ch]: Add new capability
2567 GTK_PRINT_CAPABILITY_NUMBER_UP.
2568 * docs/reference/gtk/tmpl/gtkprintunixdialog.sgml:
2569 * gtk/gtkprintunixdialog.c: (update_dialog_from_capabilities):
2570 * modules/printbackends/file/gtkprintbackendfile.c:
2571 (file_printer_get_options), (file_printer_get_settings_from_options):
2572 * modules/printbackends/cups/gtkprintbackendcups.c:
2573 (cups_printer_get_capabilities): Add a new print capability to specify
2574 whether print dialog will offer printing multiple pages per sheet. (#398414)
2576 2007-05-28 Matthias Clasen <mclasen@redhat.com>
2578 * gtk/gtktoolbar.h: Actually undeprecate
2579 gtk_toolbar_[un]set_icon_size. (#314172. Yevgen Muntyan)
2581 2007-05-28 Matthias Clasen <mclasen@redhat.com>
2583 * gtk/gtkwidget.c: Document some more signals
2585 * gtk/gtktextview.c: Improve docs
2587 2007-05-27 Tor Lillqvist <tml@novell.com>
2589 * configure.in (GDK_EXTRA_LISB): Drop bogus -user32 switch. Was
2590 supposed to be -luser32, but he "l" was missing. But nobody has
2591 noticed, so presumably unnecessary.
2593 2007-05-26 Matthias Clasen <mclasen@redhat.com>
2595 * gtk/gtkprintoperationpreview.c: Improve docs
2597 2007-05-26 Matthias Clasen <mclasen@redhat.com>
2599 * gtk/gtkentry.c: Move docs inline.
2601 2007-05-26 Matthias Clasen <mclasen@redhat.com>
2603 * gdk/directfb/gdkkeys-directfb.c: Remove duplicate doc comments
2604 that cause problems when building the docs.
2606 2007-05-26 Matthias Clasen <mclasen@redhat.com>
2608 * gdk/x11/gdkdisplay-x11.c: Update docs
2609 * gdk/gdk.c: Update docs
2610 * gdk/directfb/gdkwindow-directfb.c: Remove duplicate doc comments.
2611 * gdk/x11/gdkwindow-x11.c: Fix doc formatting
2613 2007-05-26 Matthias Clasen <mclasen@redhat.com>
2616 * gtk/gtkstatusicon.c:
2617 * gtk/gtkscalebutton.c:
2618 * gtk/gtkrecentaction.c:
2621 * gtk/gtkprintsettings.c:
2622 * gtk/gtkpapersize.c:
2623 * gtk/gtkpagesetup.c:
2624 * gtk/gtknotebook.c:
2625 * gtk/gtkentrycompletion.c: Document new api
2627 2007-05-26 Richard Hult <richard@imendio.com>
2629 * gtk/gtkprinter.c: (gtk_printer_set_location): Fix typo to get the
2632 2007-05-26 Matthias Clasen <mclasen@redhat.com>
2634 * configure.in: Require gtk-doc 1.6, for signal and property links.
2637 * gtk/gtkcontainer.c:
2643 * gtk/gtksettings.c:
2644 * gtk/gtkwidget.c: Documentation improvements, link signals
2645 and properties where it makes sense.
2647 2007-05-25 Matthias Clasen <mclasen@redhat.com>
2649 * gtk/gtktextmark.c:
2650 * gtk/gtktextbuffer.c: Formatting fixes.
2652 2007-05-25 Matthias Clasen <mclasen@redhat.com>
2654 Allow to separate GtkTextMark creation from buffer insertion.
2655 (#132818, Gustavo Giráldez, patch by Yevgen Muntyan)
2657 * gtk/gtktextmarkprivate.h:
2658 * gtk/gtktextmark.[hc] (gtk_text_mark_new): New function to
2659 create a GtkTextMark.
2661 * gtk/gtktextbuffer.[hc] (gtk_text_buffer_add_mark): New
2662 function to add an existing mark to a buffer.
2664 * gtk/gtktextbtree.c: Allow adding existing marks.
2666 * gtk/gtk.symbols: Add new functions.
2668 * tests/testtextbuffer.c: Add some tests for new mark
2671 2007-05-25 Xan Lopez <xan@gnome.org>
2673 * gtk/gtkaction.c: (gtk_action_set_short_label):
2674 Use private->data->short_label to update the proxies. (#440780)
2676 2007-05-25 Richard Hult <richard@imendio.com>
2678 * gdk/quartz/gdkimage-quartz.c: (_gdk_quartz_image_copy_to_image):
2679 Implement copying from a window, part of bug #348493.
2681 2007-05-25 Matthias Clasen <mclasen@redhat.com>
2683 * gtk/gtkprintoperation-unix.c (unix_end_run): Hold a
2684 refence on the print operation until gtk_print_job_send()
2685 is done. (#440040, Chris Vine)
2687 2007-05-25 Matthias Clasen <mclasen@redhat.com>
2689 * gtk/gtkiconview.c (gtk_icon_view_accessible_ref_child):
2690 Don't crash and don't leak. (#439565, Pedro Villavicencio)
2692 2007-05-25 Matthias Clasen <mclasen@redhat.com>
2694 * gtk/gtkiconfactory.c: Improve a warning
2695 * gtk/gtkicontheme.c (gtk_icon_info_load_icon): Always
2696 set the error when returning NULL. (#440982, Carlos Garcia
2699 2007-05-25 Michael Natterer <mitch@imendio.com>
2701 Merge fix from maemo-gtk:
2703 * gtk/gtkmenushell.c (gtk_menu_shell_enter_notify): open submenus
2704 also if the menu item we're entering is already selected. Also, it
2705 makes no sense to forward the event to the parent menu shell if we
2706 are entering a menu item of *this* menu shell.
2708 2007-05-24 Matthias Clasen <mclasen@redhat.com>
2710 * gtk/stock-icons/*: Make sure all svg icons are added
2713 2007-05-24 Matthias Clasen <mclasen@redhat.com>
2715 * modules/input/Makefile.am: Fix broken DESTDIR support
2717 2007-05-24 Michael Natterer <mitch@imendio.com>
2719 * gtk/gtktooltip.c (find_widget_under_pointer): apply patch from
2720 Bogdan Nicula which fixes a crash on GdkWindows which have no
2721 GtkWidget as user_data (bug #440890).
2723 2007-05-24 Matthias Clasen <mclasen@redhat.com>
2725 * configure.in: Bump version
2727 * === Released 2.11.0 ===
2731 2007-05-23 Matthias Clasen <mclasen@redhat.com>
2734 * gdk/x11/xsettings-common.h:
2735 * gdk/gdk.symbols: Add some missing symbols.
2737 * gtk/paper_names_offsets.c:
2738 * gtk/gen-paper-names.c: Make variables static.
2740 * gtk/gtktooltip.[hc]:
2741 * gtk/gtkvolumebutton.c:
2742 * gtk/gtkscalebutton.c: Fix up symbol aliasing.
2744 2007-05-23 Yevgen Muntyan <muntyan@tamu.edu>
2746 * gtk/gtkprintunixdialog.c: missing #include <ctype.h>.
2748 * gtk/gtkhandlebox.c (gtk_handle_box_paint):
2749 * gtk/gtkpagesetupunixdialog.c (_gtk_load_custom_papers):
2750 * gtk/gtkstatusbar.c (gtk_statusbar_get_context_id):
2751 * gtk/gtkiconcache.c (_gtk_icon_cache_new_for_path):
2752 * gtk/gtktrayicon-x11.c (gtk_tray_icon_send_dock_request):
2753 * gtk/gtkpreview.c (gtk_preview_finalize):
2754 * gtk/gtknotebook.c (gtk_notebook_set_group_id):
2755 * tests/testnotebookdnd.c (window_creation_function):
2756 * tests/testiconview.c (do_popup_menu):
2757 Fixed some compiler warnings (#440689).
2759 2007-05-23 Kristian Rietveld <kris@imendio.com>
2761 * gtk/gtktooltip.c (find_widget_under_pointer): translate coordinates
2762 from the window they were received on to the event widget's window;
2763 correct for no-window widgets after that, bail out on failure. This
2764 makes the coordinates given by GtkWidget::query-tooltip truly relative
2765 to widget->window. (#435188).
2767 * gtk/gtkwidget.c (gtk_widget_class_init): update docs for
2768 GtkWidget::query-tooltip.
2770 2007-05-22 Behdad Esfahbod <behdad@gnome.org>
2772 * gtk/gtkprintcontext.c (gtk_print_context_finalize),
2773 (_gtk_print_context_new), (_gtk_print_context_get_fontmap),
2774 (gtk_print_context_set_cairo_context),
2775 (gtk_print_context_get_pango_fontmap),
2776 (gtk_print_context_create_pango_context):
2777 Don't create new pango fontmaps. Use the default pangocairo
2778 fontmap and set resolution on PangoContext instead. (#417707)
2780 2007-05-21 Richard Hult <richard@imendio.com>
2782 * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Set the
2785 * gdk/quartz/gdkscreen-quartz.c: Use the autorelease pool macros.
2787 2007-05-21 Michael Natterer <mitch@imendio.com>
2789 * gtk/gtkcombobox.c (gtk_combo_box_set_model): revert last change.
2791 Mon May 21 13:58:32 2007 Tim Janik <timj@imendio.com>
2793 * gtk/gtkcombobox.c (gtk_combo_box_set_model): removed redundant check.
2795 2007-05-21 Tor Lillqvist <tml@novell.com>
2797 * gtk/gtkscalebutton.c (gtk_scale_popup): Make it work better with
2800 2007-05-20 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
2802 * gdk/directfb/gdkwindow-directfb.c:
2803 * gdk/directfb/gdkdirectfb.h: Updated minimum DirectFB version
2804 required to enable gdk_directfb_create_child_window.
2807 2007-05-20 Bastien Nocera <hadess@hadess.net>
2812 * gtk/gtkvolumebutton.[ch]: Add the GtkVolumeButton widget,
2813 a button that pops up a scale when clicked (Closes: #415775)
2814 * tests/Makefile.am:
2815 * tests/testvolumebutton.c: Add a test program for the
2818 2007-05-19 Bastien Nocera <hadess@hadess.net>
2820 reviewed by: Matthias Clasen <mclasen@redhat.com>
2825 * gtk/gtkscalebutton.[ch]: Add the GtkScaleButton widget,
2826 a button that pops up a scale when pressed
2828 2007-05-19 Matthias Clasen <mclasen@redhat.com>
2831 * gtk/gtknotebook.[hc]: Deprecate gtk_notebook_[gs]et_group_id
2832 in favour of new functions gtk_notebook_[gs]et_group, which
2833 takes a pointer as group identifier and makes it easier to
2834 avoid group id collisions. (#386930, Christian Hammond)
2836 * tests/testnotebookdnd.c: Use new grouping api.
2838 2007-05-18 Matthias Clasen <mclasen@redhat.com>
2840 * gtk/gtkactiongroup.c: Warn and refuse to add actions with
2841 duplicate names. (#150877, Tommi Komulainen, patch by Kalle
2844 2007-05-18 Matthias Clasen <mclasen@redhat.com>
2847 * gtk/gtkentry.[hc]: Add gtk_entry_[gs]et_cursor_hadjustment()
2848 to allow automatic scrolling in response to cursor movements
2849 in the entry. (#438651, Nate Nielsen)
2851 2007-05-18 Matthias Clasen <mclasen@redhat.com>
2853 * gtk/gtktextview.c: Add a toggle-cursor-visibility keybinding
2854 signal, and bind F7 to it. (#380048, Tim Miao)
2856 2007-05-18 Matthias Clasen <mclasen@redhat.com>
2859 * gtk/gtkicontheme.h:
2860 * gtk/gtkicontheme.c: Add a function to look up an icon from
2861 a list of icon names. (#396901, Luca Ferretti)
2863 2007-05-18 Emmanuele Bassi <ebassi@gnome.org>
2865 * gtk/gtkrecentchooserdefault.c:
2866 (gtk_recent_chooser_default_dispose): Reset the state on dispose.
2868 (cleanup_after_load): load_id != 0 && load_state == LOAD_EMPTY
2869 is a valid state, if the main loop never had the chance to
2870 properly spin at least once. (#438671)
2872 2007-05-18 Emmanuele Bassi <ebassi@gnome.org>
2874 * gtk/gtkrecentchooserdefault.c (recent_meta_data_func): Mark
2875 string for translation. (#439437)
2877 2007-05-18 Matthias Clasen <mclasen@redhat.com>
2879 * gtk/gtkwindow.c (gtk_window_set_transient_for): Fix
2880 doc typo. (#438100, Vincent Untz)
2882 2007-05-18 Michael J. Chudobiak <mjc@cvs.gnome.org>
2886 * configure.in: Bump libtiff requirement to 3.6.0, by requiring
2887 presence of TIFFReadRGBAImageOriented.
2889 * gdk-pixbuf-scaled-anim.c: (get_scaled_pixbuf):
2890 Preserve pixbuf options when generating a new scaled pixbuf.
2892 * io-jpeg.c: (get_orientation), (gdk_pixbuf__jpeg_image_load),
2893 (gdk_pixbuf__jpeg_image_load_increment): Read the exif
2894 orientation tag and associate it with the "orientation" pixbuf
2895 option. Renders libexif unnecessary in some applications.
2897 * io-tiff.c: (tiff_image_parse): Read the tiff orientation tag,
2898 compensate for the partial rotations performed by libtiff,
2899 and generate an "orientation" option for the pixbuf.
2901 2007-05-18 Carlos Garnacho <carlos@imendio.com>
2903 * gtk/gtkexpander.c: remove c++ style comment.
2905 2007-05-18 Carlos Garnacho <carlos@imendio.com>
2907 Make combobox menu popdown keybindable (#433593)
2909 * gtk/gtkcombobox.c (gtk_combo_box_class_init): Add "popdown" binding
2910 signal and keybindings.
2911 (gtk_combo_box_real_popdown): Added, "popdown" keybinding signal
2913 (gtk_combo_box_menu_key_press):
2914 (gtk_combo_box_list_key_press): forward the event to the combobox if
2915 it wasn't handled by the menu.
2917 2007-05-18 Carlos Garnacho <carlos@imendio.com>
2919 * gtk/gtknotebook.c (gtk_notebook_init) (gtk_notebook_drag_motion)
2920 (gtk_notebook_drag_drop): Allow widgets up in the hierarchy to run
2921 their DnD handlers if the target doesn't match with anything the
2922 notebook manages. (#350665, Joakim Lundborg).
2924 2007-05-18 Carlos Garnacho <carlos@imendio.com>
2926 Refactor GtkFileChooserDialog sizing.
2928 * gtkfilechooserembed.[ch] (delegate_get_resizable_hints)
2929 (_gtk_file_chooser_embed_get_resizable_hints):
2930 s/resizable_hints/resizable/, return just one boolean value to
2931 determine whether the filechooser should be resizable or not.
2933 * gtkfilechooserprivate.h (struct GtkFileChooserDialogPrivate): remove
2934 variables related to the GtkFileChooserEmbed get_default_size() and
2935 get_resizable() implementations.
2936 (struct GtkFileChooserDefault): Move default size management here.
2938 * gtkfilechooserdefault.c (gtk_file_chooser_default_size_allocate):
2939 Added, store currently allocated size to calculate default size later.
2940 (gtk_file_chooser_default_get_resizable_hints):
2941 s/resizable_hints/resizable/.
2942 (gtk_file_chooser_default_set_property): Reload settings if the file
2943 chooser action changes, this way the save expander state will be known
2944 before mapping the window, avoiding wrong window positioning and
2945 flickering. (#424299, #424309)
2946 (find_good_size_from_style): Only get size from style if it wasn't set
2948 (gtk_file_chooser_default_get_default_size): return default size based
2949 on stored default size and preview/extra widget sizes.
2951 * gtkfilechooserdialog.c (file_chooser_widget_update_hints)
2952 (file_chooser_widget_realized_size_changed)
2953 (file_chooser_widget_unrealized_size_changed): simplified to
2954 (file_chooser_widget_size_changed): set window size and resizability
2955 based on the GtkFileChooserEmbed interface implementation. (Bug
2956 #420285, Tomeu Vizoso)
2957 (gtk_file_chooser_dialog_map): force a dialog size change, so it's
2958 clamped for sure to the 75% of the screen size.
2960 2007-05-18 Carlos Garnacho <carlos@imendio.com>
2962 * gtk/gtknotebook.c (gtk_notebook_real_insert_page): Do not unset
2963 the brand new current page if there was none set previously. Fixes
2964 #425138 (Reported by Michail Crayson). Some code simplifications.
2965 (gtk_notebook_draw_arrow): code style fix.
2967 2007-05-16 Matthias Clasen <mclasen@redhat.com>
2969 * gtk/gtkpathbar.c: Add ATK names to the Up, Down, and Root
2970 buttons. Keep the focus from vanishing when Up or Down arrows
2971 become insensitive or invisible. (#357005, Patrick Wade)
2973 2007-05-16 Brian Cameron <brian.cameron@sun.com>
2975 * acconfig.h, configure.in, gdk/Makefile.am, gdkprivate.h, gdkrgb.c,
2976 gdkdraw.c, gdk-pixbuf/gdk-pixbuf-scale.c,
2977 gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/pixops/pixops.[ch],
2978 gdk-pixbuf/pixops/timescale.c: Add Sun mediaLib support so that
2979 hardware acceleration via mediaLib is enabled if mediaLib is
2980 detected via configure. Enhancement request #344813. I was given
2981 permission to commit in the bug report by Matthias Clasen.
2982 * gdk/medialib.[ch]: New files added for mediaLib support.
2983 * docs/reference/gdk-pixbuf/tmpl/scaling.sgml,
2984 docs/reference/gdk/tmpl/rgb.sgml, gdk/gdkdraw.c: Add docs for
2987 2007-05-15 Torsten Schoenfeld <kaffeetisch@gmx.de>
2989 * gtk/gtkprintoperation.c (pdf_end_run): Unset priv->platform_data and
2990 priv->free_platform_data to prevent gtk_print_operation_finalize()
2991 from freeing the cairo surface a second time.
2993 2007-05-14 Kristian Rietveld <kris@gtk.org>
2995 * gtk/gtkfilechooserdefault.c (recent_column_path_sort_func): remove
2996 dangling semicolon, fixes the segfault ebassi was seeing earlier today
2999 2007-05-14 Tristan Van Berkom <tvb@gnome.org>
3001 * gtk/gtkaboutdialog.c: Functions: gtk_about_dialog_get/set_name()
3002 were deprecated in favour of gtk_about_dialog_get/set_program_name(),
3003 the GtkAboutDialog now uses the "program-name" property instead of
3004 the conflicting "name" property (fixes bug 345822).
3006 2007-05-14 Emmanuele Bassi <ebassi@gnome.org>
3008 * configure.in: Add check for GNU extensions to ftw()/nftw().
3010 * gtk/gtksearchenginesimple.c: Fix compilation on systems with
3011 only POSIX-compliant ftw(). (#435797, based on a patch by
3014 2007-05-14 Emmanuele Bassi <ebassi@gnome.org>
3016 * gtk/gtkfilechooserdefault.c:
3017 Convert the GtkTreeIter inside the sorting functions for the
3018 search and recent modes. This doesn't yet fix the segfault when
3019 clicking the 'Name' column in recent mode, though.
3021 2007-05-14 Behdad Esfahbod <behdad@gnome.org>
3023 * modules/input/gtkimcontextthai.c
3024 (gtk_im_context_thai_filter_keypress):
3025 Fix check for modifier keys. (#438261, Theppitak Karoonboonyanan)
3027 2007-05-14 Matthias Clasen <mclasen@redhat.com>
3029 * gtk/gtkscrolledwindow.c: Document scrollbars-within-bevel
3030 as 2.12 addition. (#438131, Mart Raudsepp)
3032 2007-05-14 Matthias Clasen <mclasen@redhat.com>
3034 * gtk/gtkvseparator.c (gtk_vseparator_size_request): Fix
3035 size requisition for wide vertical separators. (#438113,
3038 2007-05-13 Emmanuele Bassi <ebassi@gnome.org>
3040 * gtk/gtksearchenginesimple.c: Include <ftw.h> and use nftw() and
3041 all the symbols defined in <ftw.h> conditionally.
3043 2007-05-13 Cody Russell <bratsche@gnome.org>
3045 * gdk/win32/gdkevents-win32.c: Only do the configure event context
3046 iteration under WM_WINDOWPOSCHANGED instead of inside
3047 handle_configure_event(). This fixes a bug that prevented window
3048 contents from being redrawn after gtk_window_resize(). (#436721)
3050 2007-05-12 Behdad Esfahbod <behdad@gnome.org>
3052 * gdk/gdkdraw.c (gdk_draw_trapezoids): Fix wrong cairo path
3053 generation. (#437879, Eddie C. Dost)
3055 2007-05-11 Emmanuele Bassi <ebassi@gnome.org>
3057 GtkFileChooser search fixes and recent files support. (#435342)
3059 * gtk/gtkfilechooserdefault.c: Support drag and drop for
3060 adding shortcuts of folders when in search or recent files
3063 2007-05-11 Emmanuele Bassi <ebassi@gnome.org>
3065 GtkFileChooser search fixes and recent files support. (#435342)
3067 * gtk/gtkfilechooserprivate.h:
3068 * gtk/gtkfilechooserdefault.c: Follow the sorting order of
3069 the GtkTreeView displaying the files list.
3071 (shortcuts_get_index), (shortcuts_insert_separator),
3072 (shortcuts_model_create), (shortcuts_combo_filter_func): Remove
3073 the separator between the Search and the Recently Used shortcuts.
3075 (list_select_func), (list_icon_data_func), (list_name_data_func),
3076 (list_mtime_data_func): Update the sensitivity of the row
3077 depending on the GtkFileChooserAction used.
3079 2007-05-11 Emmanuele Bassi <ebassi@gnome.org>
3081 GtkFileChooser search fixes and recent files support. (#435342)
3083 * gtk/gtkfilechooserprivate.h:
3084 * gtk/gtkfilechooserdefault.c: Update the contents of the
3085 files list when changing the filter of the GtkFileChooserDefault
3088 2007-05-11 Emmanuele Bassi <ebassi@gnome.org>
3090 GtkFileChooser search fixes and recent files support. (#435342)
3092 * gtk/gtkfilechooserdefault.c: Update the add bookmark button
3093 sensitivity when in search or recent files mode, and allow
3094 adding a bookmark for a folder.
3096 2007-05-11 Emmanuele Bassi <ebassi@gnome.org>
3098 GtkFileChooser search fixes and recent files support. (#435342)
3100 * gtk/gtkfilechooserdefault.c: UI fixes in the Search mode: add
3101 a mnemonic to the label, de-boldify the label's text and assign
3102 focus to the search entry when switching to the search mode.
3104 (list_name_data_func): Split the text in both search and recent
3105 files mode: on the first line use the short name and on the
3106 second line use the full path.
3108 2007-05-11 Emmanuele Bassi <ebassi@gnome.org>
3110 GtkFileChooser search fixes and recent files support. (#435342)
3112 * gtk/gtkfilechooserprivate.h:
3113 * gtk/gtkfilechooserdefault.c: Add support for showing the
3114 recently used files list as a special shortcut item.
3116 2007-05-11 Emmanuele Bassi <ebassi@gnome.org>
3118 GtkFileChooser search fixes and recent files support. (#435342)
3120 * gtk/gtkfilechooserdefault.c: Overall whitespace fixes and
3121 indentation style consistency.
3123 (list_row_activated): If the search hit is a folder, follow it
3124 when activating the row, and switch back to browse mode.
3126 (search_clear_model), (search_start_query),
3127 (search_entry_activate_cb), (search_setup_widgets): Remember
3128 the last query when switching between modes.
3130 2007-05-11 Emmanuele Bassi <ebassi@gnome.org>
3132 GtkFileChooser search fixes and recent files support. (#435342)
3134 * gtk/gtkfilechooserdefault.c:
3135 (_gtk_file_chooser_default_class_init): Add key binding for
3136 the Search shortcut; default to MOD1+S.
3138 (search_shortcut_handler): Handle the key binding.
3140 (search_hit_get_info_cb), (search_add_hit), (search_clear_model),
3141 (search_setup_model): Retrieve informations on the search hits
3142 when adding them to the model.
3144 (list_icon_data_func): Show the search hit icon.
3146 2007-05-11 Michael Natterer <mitch@imendio.com>
3148 * gtk/gtktextview.c (selection_motion_event_handler): call
3149 gdk_event_request_motions(event) so selecting works with
3150 XInput devices too. Spotted by Tommi Komulainen.
3152 2007-05-11 Emmanuele Bassi <ebassi@gnome.org>
3154 * gtk/gtksearchengine.c (_gtk_search_engine_new): Fall back
3155 to GtkSearchEngineSimple only if gthread has already been
3156 initialiased; otherwise, disable search support in the file
3157 chooser widget. (#435847)
3159 2007-05-10 Matthias Clasen <mclasen@redhat.com>
3161 * gtk/gtkbutton.c (gtk_button_set_image): Unparent the old
3162 image before overwriting priv->image. (#437281, Jochen Baier)
3164 2007-05-10 Matthias Clasen <mclasen@redhat.com>
3166 * gtk/gtkscrolledwindow.c (gtk_scrolled_window_scroll_child):
3167 Correct a confusing warning. (#437284, Björn Lindqvist)
3169 2007-05-10 Matthias Clasen <mclasen@redhat.com>
3171 * gdk/gdkdraw.c (gdk_draw_pixbuf): Don't call into
3172 the backend if the region is empty. (#437081, Sven Neumann)
3174 2007-05-10 Matthias Clasen <mclasen@redhat.com>
3176 * gtk/gtksearchenginesimple.c (search_visit_func);
3177 Assume Posix nftw behaviour.
3179 2007-05-09 Dom Lachowicz <domlachowicz@gmail.com>
3181 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: GtkTreeView doesn't
3182 expand/collapse with Right/Left cursor keys on Windows
3183 (#436269, Daniel Atallah)
3185 2007-05-09 Cody Russell <bratsche@gnome.org>
3188 (get_arrows_border): New function to calculate the border sizes needed
3189 for the scroll arrows.
3190 (get_arrows_visible_area): New function to calculate the arrows visible
3192 (get_arrows_sensitive_area): New function to calculate the arrows
3194 (gtk_menu_paint): Refactored code to calculate the border sizes needed
3195 for the scroll arrows into get_arrows_border and the code to calculate
3196 the visible area into get_arrows_visible_area.
3197 (gtk_menu_handle_scrolling): Refactored arrow sensitive calculations
3198 to get_arrows_sensitive_area.
3199 (gtk_menu_realize, gtk_menu_size_allocate, gtk_menu_scroll_by,
3200 gtk_menu_position, gtk_menu_scroll_to, gtk_menu_scroll_item_visible,
3201 get_visible_size, get_menu_height, gtk_menu_real_move_scroll): Update
3202 callers. (From #436533, Tommi Komulainen)
3204 2007-05-09 Kristian Rietveld <kris@imendio.com>
3206 * gtk/gtktreeview.c (gtk_tree_view_key_press),
3207 (gtk_tree_view_key_release):
3208 * gtk/gtkiconview.c (gtk_icon_view_class_init),
3209 (gtk_icon_view_key_press),
3210 (gtk_icon_view_key_release): Disable key bindings during rubber
3211 banding, make pressing Esc stop rubber banding. (#405027).
3213 2007-05-09 Emmanuele Bassi <ebassi@gnome.org>
3215 * gtk/gtkrecentmanager.c:
3216 (gtk_recent_info_get_icon): Return GTK_STOCK_DIRECTORY for entries
3217 with MIME type "x-directory/normal", instead of GTK_STOCK_FILE.
3219 2007-05-05 Richard Hult <richard@imendio.com>
3221 * gdk/quartz/gdkdrawable-quartz.c:
3222 (gdk_quartz_drawable_get_context),
3223 (gdk_quartz_drawable_release_context): Fix bugs #428733 and #433301.
3224 Turns out the lockFocus logic was flawed, now we only lock/unlock
3225 when called outside a real expose event and never flush manually.
3227 2007-05-03 Behdad Esfahbod <behdad@gnome.org>
3229 * gtk/gtklabel.c (gtk_label_ensure_layout):
3230 * gtk/gtktextlayout.c (set_para_values): Make GTK_JUSTIFY_FILL work,
3231 using pango_layout_set_justify() that works now. (#435675)
3233 2007-05-03 Emmanuele Bassi <ebassi@gnome.org>
3235 * gtk/gtksearchenginesimple.c (search_engine_simple_finalize): Remove
3236 spurious g_free() call.
3238 Thu May 3 16:27:34 2007 Tim Janik <timj@imendio.com>
3240 * tests/testgtk.c (create_handle_box): made handle box test non-modal,
3241 so other test can interact with handle boxes.
3243 2007-05-02 Emmanuele Bassi <ebassi@gnome.org>
3245 Add search file support in the GtkFileChooser. Original patch
3246 by Federico Mena Quintero; patch updated by Matthias Clasen.
3249 * gtk/gtksearchengine.[ch]: Private search engine abstraction
3252 * gtk/gtksearchenginebeagle.[ch]: Private search engine
3253 implementation using libbeagle (via g_module_open()).
3255 * gtk/gtksearchenginesimple.[ch]: Private search engine
3256 implementation using file tree walking.
3258 * gtk/gtksearchenginetracker.[ch]: Private earch engine
3259 implementation using libtracker (via g_module_open()).
3261 * gtk/gtkquery.[ch]: Private query object for the search
3264 * gtk/gtkfilechooserprivate.h:
3265 * gtk/gtkfilechooserdefault.c: Use the GtkSearchEngine to
3266 query a search engine backend using GtkQuery; create a new
3267 operating mode, OPERATION_MODE_SEARCH, and call the common
3268 operating mode OPERATION_MODE_BROWSE; add support for virtual
3269 shortcuts inside the shortcuts model and create a new "Search"
3272 * gtk/Makefile.am: Update the build with the new files
3274 2007-05-02 Armin Burgmeier <armin@openismus.com>
3276 * gtk/gtkcombobox.c: Destroy the menu in dispose instead of
3277 finalize, because the menu might unparent itself from its parent and
3278 cause a signal emission on a finalized object. (#430746)
3280 2007-05-02 Dom Lachowicz <domlachowicz@gmail.com>
3282 * modules/engines/ms-windows/msw_style.c: MS-Windows Theme top tabs
3283 rendered upside down for non-XP theme (#435053, Daniel Atallah)
3285 Wed May 2 11:35:45 2007 Tim Janik <timj@imendio.com>
3287 * docs/faq/gtkfaq.sgml: removed, since this file is long outdated
3288 and fully replaced by docs/faq/gtk-faq.sgml.
3290 2007-05-02 Kristian Rietveld <kris@imendio.com>
3292 * gtk/gtktreeview.c (gtk_tree_view_grab_notify): stop the rubber band
3295 2007-05-01 Matthias Clasen <mclasen@redhat.com>
3297 * gtk/gtkiconcachevalidator.c: Don't be too strict when checking
3298 icon flags. (#435062)
3300 2007-05-01 Matthias Clasen <mclasen@redhat.com>
3302 * gtk/Makefile.am: When generating gtkbuiltincache.h, only copy
3305 2007-05-01 Matthias Clasen <mclasen@redhat.com>
3307 * gtk/gtkfilesystemmodel.c (_gtk_file_system_model_path_do):
3308 Don't ignore the fact that gtk_file_system_get_parent()
3309 may return NULL. (#424042, Jan Martinek)
3311 2007-05-01 Dan Winship <danw@novell.com>
3313 * gdk/x11/gdkwindow-x11.c (setup_toplevel_window): Make sure the
3314 leader_window's WM_CLIENT_LEADER points to itself. #435028
3316 2007-05-02 Christian Persch <chpe@gnome.org>
3318 * gtk/gtktreemodel.c: (gtk_tree_iter_copy), (gtk_tree_iter_free): Use
3319 GSlice for gtk_tree_iter_copy. Bug #434863.
3321 2007-05-02 Christian Persch <chpe@gnome.org>
3323 * gtk/gtkpapersize.c: (gtk_paper_size_get_paper_sizes): Put only
3324 GtkPaperSizes into the list, don't mix it with GtkPageSetups. Bug
3327 2007-05-02 Christian Persch <chpe@gnome.org>
3329 * gtk/gtkpapersize.c: (gtk_paper_size_new_from_info),
3330 (gtk_paper_size_new), (gtk_paper_size_new_custom),
3331 (gtk_paper_size_copy), (gtk_paper_size_free): Use GSlice to allocate
3332 GtkPaperSize. Bug #434862.
3334 2007-05-02 Christian Persch <chpe@gnome.org>
3336 * gtk/gtkstatusbar.c: (gtk_statusbar_get_context_id),
3337 (gtk_statusbar_expose_event): No need to allocate a guint; just stuff
3338 the ID into the pointer directly. Bug #434865.
3340 2007-05-01 Matthias Clasen <mclasen@redhat.com>
3342 * gtk/gtkfilechooserdefault.c (struct UpdateCurrentFolderData),
3343 (update_current_folder_get_info_cb): add a new struct field to clear
3344 the file entry after the current folder has been updated.
3346 (gtk_file_chooser_default_update_current_folder),
3347 (change_folder_and_display_error): Add a new function parameter to
3348 trigger file entry clearing.
3350 (edited_idle_create_folder_cb),
3351 (file_list_drag_data_received_get_info_cb),
3352 (gtk_file_chooser_default_map),
3353 (gtk_file_chooser_default_set_current_folder),
3354 (switch_to_selected_folder), (save_entry_get_info_cb),
3355 (shortcuts_activate_volume_mount_cb), (shortcuts_activate_volume),
3356 (shortcuts_activate_get_info_cb), (list_row_activated),
3357 (path_bar_clicked): use new function parameter appropriately.
3359 (gtk_file_chooser_default_should_respond): trigger file entry clearing
3360 after the directory is updated instead of clearing it before, this way
3361 we avoid reloading the completion model with the soon to be old folder,
3362 causing a warning and a glitch in the folder where completion happens.
3363 (#379414, Carlos Garnacho)
3365 2007-05-01 Matthias Clasen <mclasen@redhat.com>
3367 * gtk/gtkiconcachevalidator.[hc]: Add an icon cache validator.
3369 * gtk/updateiconcache.c: Validate the generated cache before
3370 moving it in place. Also add a --validate option to validate
3371 an existing icon cache.
3373 * gtk/gtkiconcache.c: Validate icon caches before using them.
3375 * gtk/Makefile.am: Integrate it.
3377 2007-05-01 Michael Emmel <mike.emmel@gmail.com>
3379 * gdk/directfb/gdkdisplay-directfb.c:
3380 Added stub gdk_notify_startup_complete_with_id to compile
3381 * gdk/directfb/gdkwindow-directfb.c:
3382 Added gdk_window_set_opacity
3383 * gdk/directfb/gdkkeys-directfb.c:
3384 Fix menu key handling crash Bug #413328
3386 2007-05-01 Christian Persch <chpe@gnome.org>
3389 * gtk/gtkprintjob.h: Also move gtk_print_capabilities_get_type() to
3390 the new location. Bug #390437.
3392 2007-04-30 Matthias Clasen <mclasen@redhat.com>
3394 * gtk/gtksettings.c (settings_update_color_scheme):
3395 Make sure we always have a color_hash. (#423916, Jens Granseuer)
3397 2007-04-30 Christian Persch <chpe@gnome.org>
3399 * docs/reference/gtk/gtk-sections.txt:
3401 * gtk/gtkprinter-private.h:
3402 * gtk/gtkprinter.c: (gtk_printer_get_capabilities),
3403 (gtk_print_capabilities_get_type):
3405 * gtk/gtkprintjob.c:
3406 * gtk/gtkprintjob.h:
3407 * gtk/gtkprintunixdialog.c: (selected_printer_changed):
3408 Make gtk_printer_get_capabilities public, and move the
3409 GtkPrintCapabilities definition to gtkprinter.h. Bug #390437.
3411 2007-04-30 Matthias Clasen <mclasen@redhat.com>
3413 * gtk/gtkexpander.c (gtk_expander_realize): A NO_WINDOW widget
3414 must not set the background of its window. (#433972,
3417 2007-04-30 Richard Hult <richard@imendio.com>
3419 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_opacity):
3422 2007-04-30 Matthias Clasen <mclasen@redhat.com>
3424 * modules/printbackends/cups/gtkprintbackendcups.c: Get all
3425 the printer attributes when getting the list of printers,
3426 not via separate requests. (#387889, Krishan Purahoo)
3428 2007-04-30 Matthias Clasen <mclasen@redhat.com>
3430 Some more compiler warning fixes.
3432 * gdk/directfb/gdkscreen-directfb.c (gdk_screen_is_composited):
3433 Fix NULL/FALSE confusion.
3435 2007-04-30 Matthias Clasen <mclasen@redhat.com>
3437 Fix some compiler warnings. (#433642, Kjartan Maraas)
3439 * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_get_info):
3440 (gtk_file_system_win32_create_folder):
3441 * gtk/gtkaction.c (gtk_action_create_menu): Fix NULL/FALSE confusion.
3443 * gtk/gtklinkbutton.c (gtk_link_button_clicked): Pass
3444 the right type to uri_func.
3446 * gtk/gtktext.c (gtk_text_key_press):
3447 * gtk/gtkstatusicon.c (gtk_status_icon_get_property):
3448 * gtk/gtkxembed.c (_gtk_xembed_send_message): Add casts.
3450 * gtk/gtktrayicon-x11.c (gtk_tray_icon_manager_window_destroyed):
3451 (gtk_tray_icon_delete):
3452 * gtk/gtkprintunixdialog.c (create_main_page):
3453 * gtk/gtkhsv.c (gtk_hsv_motion): Remove unused variables.
3455 * gtk/gtkliststore.c: Adapt callbacks to GSequence types.
3457 2007-04-30 Cody Russell <bratsche@gnome.org>
3459 * gdk/win32/gdkwindow-win32.c: Reintroduced erase_background(),
3460 but now we're calling it from _gdk_windowing_window_clear_area()
3461 instead of from the WM_ERASEBKGND event. Also fixes the area
3462 that is cleared so that it is not an extra row and column too
3463 large. (Neil Roberts, #415681)
3465 2007-04-30 Matthias Clasen <mclasen@redhat.com>
3467 * gtk/gtktextview.c: Allow indents to be negative. (#Bug 434308)
3469 2007-04-30 Michael Natterer <mitch@imendio.com>
3471 * gtk/gtkmenushell.c (gtk_menu_shell_enter_notify): pop up the
3472 submenu explicitely only in touchscreen mode since otherwise
3473 selecting the item already pops up the submenu. Restores the
3474 drag-selection timeout (spotted by Søren Sandmann, #128968).
3476 2007-04-30 Michael Natterer <mitch@imendio.com>
3478 * gtk/gtkpapersize.h: really rename gtk_paper_size_get_builtins()
3479 to gtk_paper_size_get_paper_sizes().
3481 2007-04-30 Tor Lillqvist <tml@novell.com>
3483 * gtk/gtkpapersize.c (gtk_paper_size_get_paper_sizes):
3484 _gtk_load_custom_papers() exists only on Unix.
3486 2007-04-30 Tor Lillqvist <tml@novell.com>
3488 Add functionality to set overall opacity of a top-level
3491 * gdk/gdk.symbols: Add gdk_window_set_opacity.
3493 * gdk/x11/gdkwindow-x11.c
3494 * gdk/win32/gdkwindow-win32.c: Implement
3495 gdk_window_set_opacity(). On X11 use the _NET_WM_WINDOW_OPACITY
3496 property. On Win32 use SetLayeredWindowAttributes(LWA_ALPHA).
3498 * gdk/gdkwindow.h: Declare gdk_window_set_opacity().
3500 * gdk/x11/gdkscreen-x11.c (gdk_screen_get_rgba_colormap): Document
3501 that this is not implemented in the Windows backend. Add reference
3502 to gdk_window_set_opacity().
3504 * gtk/gtk.symbols: Add gtk_window_set_opacity and
3505 gtk_window_get_opacity.
3507 * gtk/gtkwindow.c (struct _GtkWindowPrivate)
3508 (gtk_window_class_init): Add opacity property, a double in the
3510 (gtk_window_set_opacity, gtk_window_get_opacity): Implement.
3511 (gtk_window_realize): If opacity is set, call
3512 gdk_window_set_opacity().
3514 * gtk/gtkwindow.h: Declare gtk_window_set_opacity() and
3515 gtk_window_get_opacity().
3517 2007-04-30 Matthias Clasen <mclasen@redhat.com>
3520 * gtk/gtkpapersize.[hc]: Rename gtk_paper_size_get_builtins()
3521 to gtk_paper_size_get_paper_sizes() and optionally include
3524 * gtk/gtkpagesetupunixdialog.c: Internally export a function
3525 to load custom paper sizes.
3527 * modules/printbackends/file/gtkprintbackendfile.c: Implement
3528 printer_list_papers, returning all paper sizes. (#434329,
3531 2007-04-30 Matthias Clasen <mclasen@redhat.com>
3533 * gtk/gtkprintoperation.c: Translate the default job
3534 name, and don't utf8-validate the job name in the
3535 setter. (#421993, Morten Welinder)
3537 2007-04-30 Matthias Clasen <mclasen@redhat.com>
3539 * gtk/gtkprintjob.c (gtk_print_job_get_surface): Use
3540 g_unlink. (#421990, Morten Welinder)
3542 2007-04-29 Matthias Clasen <mclasen@redhat.com>
3544 Fix some issues with reference handling in the printing
3545 code. (#429902, Mathias Hasselmann)
3547 * gtk/gtkprintoperation.c (gtk_print_operation_finalize):
3548 Unref the print context, if we have one.
3549 (gtk_print_operation_done): Add a default ::done handler
3550 that unrefs the print context.
3551 (preview_ready): Take a reference on the print operation
3553 (print_pages_idle): ...not here,
3554 (preview_print_idle_done): ...and release it here.
3556 * tests/print-editor.c (preview_cb): Take a reference
3557 on the print operation here.
3559 2007-04-29 Matthias Clasen <mclasen@redhat.com>
3561 * gtk/gtkprintoperation.c (print_pages_idle): Don't get
3562 stuck in a recursive mainloop if a synchronous preview
3565 2007-04-29 Matthias Clasen <mclasen@redhat.com>
3567 Make the emission of ::end-print and ::done consistent
3568 for previews. (#347567, Yevgen Muntyan)
3570 * gtk/gtkprintoperation.c (preview_iface_end_preview): Set
3571 the finished status here.
3572 (preview_end_run): ...and not here.
3573 (print_pages_idle_done): Emit ::done for a cancelled preview.
3574 (print_pages_idle): If a preview has been cancelled, don't
3575 emit ::ready, but emit ::end-print.
3577 * tests/print-editor.c: Use ::end-print to undo allocations
3580 2007-04-29 Matthias Clasen <mclasen@redhat.com>
3582 * gtk/gtkpapersize.c (gtk_paper_size_new): Mark paper sizes
3583 in the PWG "custom" namespace as custom. Add a link to
3584 the spec in the docs. (#426416, Andreas Guelzow)
3586 2007-04-29 Matthias Clasen <mclasen@redhat.com>
3588 * gtk/gtkprintoperation.c (gtk_print_operation_run): Document
3589 that a print operation can be run only once, and add a
3590 corresponding g_return_if_fail(). (#379399, Masao Mutoh)
3592 2007-04-29 Dan Winship <danw@novell.com>
3594 * gdk/x11/gdkdisplay-x11.c
3595 (gdk_x11_display_broadcast_startup_message): New method to
3596 marshall and send a Startup Notification message. (from #415070)
3597 (gdk_notify_startup_complete_with_id): Use that
3599 2007-04-29 Mattthias Clasen <mclasen@redhat.com>
3601 * gtk/gtkprintoperation-unix.c
3602 (_gtk_print_operation_platform_backend_launch_preview):
3603 Don't leak a file descriptor, and don't make the error
3604 dialog modal. (#421985, Morten Welinder, Christian Persch)
3606 2007-04-29 Xan Lopez <xan@gnome.org>
3608 * docs/faq/gtk-faq.sgml: Fix typo in FAQ (#373706,
3609 Diego Escalante Urrelo).
3611 I'm fixing gtk-faq.sgml as it seems this is the file
3614 2007-04-29 Matthias Clasen <mclasen@redhat.com>
3616 * gtk/gtktoolbar.c (_gtk_toolbar_elide_underscores):
3617 Only strip parentheses of the form (_x). (#434261,
3620 2007-04-29 Matthias Clasen <mclasen@redhat.com>
3622 * gtk/gtkprintoperation-unix.c
3623 (_gtk_print_operation_platform_backend_launch_preview):
3624 Support passing a print settings file to the preview
3625 command. (#403717, Christian Persch)
3627 * gtk/gtksettings.c: Document %s in the
3628 gtk-print-preview-command setting.
3630 2007-04-29 Matthias Clasen <mclasen@redhat.com>
3632 * gtk/gtkprintoperation.c (print_pages_idle): Also check
3633 the default handler when deciding whether to emit the
3634 paginate signal. (#345345, Yevgen Muntyan)
3636 2007-04-29 Matthias Clasen <mclasen@redhat.com>
3638 * gtk/gtkprintoperation.h: Add a new error code
3641 * gtk/gtkpagesetup.[hc]:
3642 * gtk/gtkpapersize.[hc]:
3643 * gtk/gtkprintsettings.[hc]: Add functions to serialize
3644 and deserialize page setups and print settings to files
3645 and key files. (#344515, Christian Persch)
3647 * gtk/gtkpagesetupunixdialog.c: Adapt to the new functions.
3649 * tests/print-editor.c: Use the new functions to persist
3650 page setup and print settings.
3652 2007-04-29 Matthias Clasen <mclasen@redhat.com>
3654 * gtk/gtkpagesetupunixdialog.c (gtk_page_setup_unix_dialog_finalize):
3655 Free the custom paper list. (#403267, Felix Riemann)
3657 2007-04-29 Matthias Clasen <mclasen@redhat.com>
3659 * gtk/gtkprintjob.c (gtk_print_job_get_surface): Fix a
3660 small memory leak. (#403251, Felix Riemann)
3662 2007-04-29 Matthias Clasen <mclasen@redhat.com>
3664 * modules/printbackends/cups/gtkprintbackendcups.c: Fix a
3665 typo. String change ! (#406160, Stephane Raimbault)
3667 2007-04-29 Matthias Clasen <mclasen@redhat.com>
3670 * gtk/gtkpapersize.[hc]: Add a function to list the
3671 builtin paper sizes. (#382355, Christian Persch)
3673 2007-04-29 Matthias Clasen <mclasen@redhat.com>
3676 * gtk/gtkprinter-private.h:
3677 * gtk/gtkprinter.[hc]: Make gtk_printer_has_details() and
3678 gtk_printer_request_details() public.
3680 * gtk/gtkpagesetupunixdialog.c:
3681 * gtk/gtkprintunixdialog.c: Update callers. (#389203,
3684 2007-04-28 Matthias Clasen <mclasen@redhat.com>
3686 * configure.in: Add --enable-test-print-backend, defaulting
3689 * modules/printbackends/Makefile.am: Make building the test
3690 print backend conditional.
3692 2007-04-28 Matthias Clasen <mclasen@redhat.com>
3694 * modules/printbackends/lpr/*:
3695 * modules/printbackends/cups/*: Correct some copyright lines.
3698 * modules/printbackends/Makefile.am:
3699 * modules/printbackends/test/*: Add a test print backend.
3700 (#409089, John Palmieri)
3702 2007-04-28 Matthias Clasen <mclasen@redhat.com>
3704 * gtk/gtktexttag.[hc]: Add a way to specify accumulative
3705 margins. (#344499, Nate Nielsen)
3707 2007-04-28 Matthias Clasen <mclasen@redhat.com>
3709 * gtk/gtkeventbox.c (gtk_event_box_realize): Fix the offsets
3710 of the input-only window if we also have a visible window.
3713 2007-04-28 Matthias Clasen <mclasen@redhat.com>
3715 * gtk/gtkliststore.c (gtk_list_store_set_valist_internal):
3716 * gtk/gtktreestore.c (gtk_tree_store_set_valist_internal):
3717 Recognize negative column indices as invalid. (#415260,
3720 2007-04-28 Ronald Bultje <rbultje@ronald.bitfreak.net>
3722 * gdk/quartz/gdkeventloop-quartz.c: (select_thread_func),
3723 (poll_func): fix two more potential races that could happen when
3724 an application is polling in the mainloop and a separate thread
3725 tries to wake it up using g_idle_add(). Fixes #425271 comment 5.
3727 2007-04-28 Matthias Clasen <mclasen@redhat.com>
3729 * gtk/gtkentry.c (gtk_entry_grab_focus):
3730 (gtk_entry_real_insert_text): Only call g_object_get()
3731 when necessary. (#373137, Morten Welinder, patch by Xan Lopez)
3733 2007-04-28 Matthias Clasen <mclasen@redhat.com>
3735 * gtk/gtkstatusicon.c (gtk_status_icon_get_size): Add
3736 a note about being embedded. (#340107, Christian Persch)
3738 2007-04-28 Matthias Clasen <mclasen@redhat.com>
3740 * gtk/gtkdnd.[hc]: Add GTK_TARGET_OTHER_{APP,WIDGET} to
3741 restrict drags within an application/widget. (#163141,
3744 2007-04-28 Matthias Clasen <mclasen@redhat.com>
3746 * docs/tools/Makefile.am:
3747 * gtk/Makefile.am: Make make clean clean. (#410160, Tommi
3750 2007-04-28 Matthias Clasen <mclasen@redhat.com>
3752 * gdk/win32/bdfcursor.c (compose_cursors_from_fonts):
3753 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_reorder):
3754 * gtk/gtkfilesystemmodel.c (got_root_folder_cb):
3755 (get_children_folder_cb): Plug memory leaks caused by wrong
3756 use of g_slist_remove_link(). (#405515, Nicolas Peninguy)
3758 2007-04-28 Matthias Clasen <mclasen@redhat.com>
3760 * demos/gtk-demo/printing.c: Fix the headers in the print
3761 demo. (#423722, Yevgen Muntyan)
3763 2007-04-28 Xan Lopez <xan@gnome.org>
3765 * gtk/gtkentrycompletion.c (gtk_entry_completion_insert_completion_text):
3766 Use strstr instead of g_strstr with -1 for length.
3768 2007-04-28 Xan Lopez <xan@gnome.org>
3771 * gtk/gtkentrycompletion.c:
3772 * gtk/gtkentrycompletion.h:
3773 * gtk/gtkentryprivate.h:
3775 Remember the user input that triggered the completion, add
3776 API to the retrieve it and reset the entry contents to it
3777 if the user cancels the tentative completion during
3778 the inline-selection.
3780 2007-04-27 Matthias Clasen <mclasen@redhat.com>
3782 * gdk/x11/gdkgeometry-x11.c: Factor out window movement
3783 functions. (#63820, Tilman Sauerbeck)
3785 2007-04-27 Matthias Clasen <mclasen@redhat.com>
3787 * gdk/x11/gdkgeometry-x11.c: Factor out translate_pos().
3788 (#63820, Tilman Sauerbeck)
3790 2007-04-27 Matthias Clasen <mclasen@redhat.com>
3792 * gdk/x11/gdkgeometry-x11.c: Factor out window mapping
3793 and unmapping functions. (#63820, Tilman Sauerbeck)
3795 2007-04-27 Matthias Clasen <mclasen@redhat.com>
3797 * gdk/x11/gdkgeometry-x11.c: Make list handling code
3798 easier to read. (#63820, Tilman Sauerbeck)
3800 2007-04-27 Matthias Clasen <mclasen@redhat.com>
3806 * gtkrecentmanager.c:
3807 * gtktextiter.c: Internalize some strings, pointed out
3810 2007-04-27 Xan Lopez <xan@gnome.org>
3812 Support inline-selection in entries (#318459)
3815 * gtk/gtkentrycompletion.c:
3816 * gtk/gtkentrycompletion.h:
3817 * gtk/gtkentryprivate.h:
3819 When enabled cursor-match is emited when the cursor is on
3820 a possible completion on the list. The default implementation
3821 will replace the contents on the entry with the contents of
3822 the text column in the completion model.
3824 Review and improvements by Matthias Clasen.
3826 2007-04-27 Michael Natterer <mitch@imendio.com>
3828 Merged heavily modified patch from maemo-gtk which enables opening
3829 and closing submenus on click, and introduces some usability
3830 changes when gtk-touchscreen-mode is enabled (bug #128968):
3832 * gtk/gtkmenushell.c (struct GtkMenuShellPrivate): added boolean
3833 "activated_submenu" to indicate that the current mouse operation
3834 (click or drag) has opened a submenu.
3836 (gtk_menu_shell_button_press): pop up submenus without delay
3837 and record the fact in "activated_submenu".
3839 (gtk_menu_shell_button_release): if a submenu was explicitely
3840 opened, or not opened by this release's button_press, or enough
3841 time has passed since timeout-opening it, close the submenu here.
3843 (gtk_menu_shell_enter_notify): when entering a menu item with
3844 any mouse button pressed, open its submenu.
3846 (gtk_real_menu_shell_move_current): in touchsreen mode, close the
3847 submenu when moving the focus away from it via keyboard-navigation.
3849 * gtk/gtkmenuitem.[ch] (_gtk_menu_item_popup_submenu): added
3850 parameter "gboolean with_delay" so GtkMenuShell can control this
3851 for the different scenarios of submenu showing.
3853 (_gtk_menu_item_popdown_submenu): new function. also needed by
3854 GtkMenuShell for closing submenus on click.
3856 Renamed internal function gtk_menu_item_select_timeout() to
3857 gtk_menu_item_popup_timeout().
3859 (gtk_menu_item_real_popup_submenu): new utility function which
3860 does the actual popup and records the exact time of the popup when
3861 the menu was timeout-opened (using g_get_current_time()).
3863 (gtk_real_menu_item_select): don't add the popup timeout when in
3866 * gtk/gtkmenu.c (gtk_menu_popup): in touchscreen mode, select the
3867 first item of every opened menu.
3869 2007-04-26 Matthias Clasen <mclasen@redhat.com>
3871 * gtk/gtkfilechooserentry.c: Append a '/' to directory names
3872 in the completion popup. (#431323, Maarten Maathuis)
3874 2007-04-26 Matthias Clasen <mclasen@redhat.com>
3876 * demo/gtk-demo/combobox.c: Add a simple validation demo.
3877 * gtk/gtkcomboboxentry.c: Make it possible to add arbitrary
3878 children to a GtkComboBoxEntry. (#426401, Paul Pogonyshev)
3880 2007-04-26 Tor Lillqvist <tml@novell.com>
3882 * gtk/gtkinputdialog.c (gtk_input_dialog_fill_axes)
3883 (gtk_input_dialog_fill_keys): Remove old child of scrolled window
3884 before adding a new one when switching what input device is being
3887 2007-04-26 Matthias Clasen <mclasen@redhat.com>
3889 * modules/printbackends/lpr/gtkprintbackendlpr.c
3890 (gtk_print_backend_lpr_init): Mark the printer list as done.
3891 (#428665, Bogdan Gheorghe)
3893 2007-04-26 Matthias Clasen <mclasen@redhat.com>
3896 * gtk/Makefile.am: Don't install UNIX-printing headers and
3897 support files on non-UNIX platforms. (#425655, Vincent Geddes)
3899 2007-04-26 Matthias Clasen <mclasen@redhat.com>
3901 * gtk/gtkuimanager.c (gtk_ui_manager_add_ui): Accept
3902 unnamed separators. (#369112, Christian Persch)
3904 2007-04-26 Matthias Clasen <mclasen@redhat.com>
3906 * gtk/gtkaccelgroup.c (gtk_accel_group_finalize): Don't access
3907 invalid memory. (#429732, Armin Burgmeier)
3909 2007-04-26 Cody Russell <bratsche@gnome.org>
3911 * gdk/win32/xcursors.h:
3912 * gdk/win32/gdkcursor-win32.c:
3914 Use Win32 native cursors instead of the ones built into GTK
3915 where it makes sense. (#128852, Tim Evans)
3917 2007-04-25 Cody Russell <bratsche@gnome.org>
3921 * gtk/gtkhandlebox.c:
3922 * gdk/directfb/gdkwindow-directfb.c:
3923 * gdk/linux-fb/gdkwindow-fb.c:
3924 * gdk/quartz/gdkwindow-quartz.c:
3925 * gdk/win32/gdkwindow-win32.c:
3926 * gdk/x11/gdkwindow-x11.c:
3927 Added window type hint and implement drop shadows on Win32
3928 for menus, tooltips, etc. (#148535, Tim Evans, Dom Lachowicz)
3930 2007-04-25 Jakub Steiner <jimmac@ximian.com>
3932 * gtk/stock-icons/16/gtk-close.{png,svg}: added 16x16 version of
3933 gtk-close as per discussion in bug #431740.
3935 2007-04-25 Matthias Clasen <mclasen@redhat.com>
3937 * gtk/gtktreeview.c (gtk_tree_view_style_set): Set the background
3938 of the header window again. (#431067, Benjamin Berg)
3940 2007-04-25 Matthias Clasen <mclasen@redhat.com>
3942 * gtk/gtkicontheme.c (theme_lookup_icon): Set the filename to
3943 NULL for builtin icons, sinc gtk_icon_info_get_builtin_pixbuf()
3946 * tests/testicontheme.c: Report builtin icons.
3948 2007-04-25 Matthias Clasen <mclasen@redhat.com>
3950 * gtk/gtkprintoperation.c (preview_iface_end_preview): Don't
3951 crash if end_run is not set. (#424168, Matthias Hasselmann)
3953 2007-04-25 Michael Natterer <mitch@imendio.com>
3955 * gtk/gtkmenu.c (gtk_menu_handle_scrolling): fix ACTIVE state of
3956 scroll buttons (we were setting the state to ACTIVE but
3957 immediately overwriting it with NORMAL or PRELIGHT). Also got rid
3958 of many separate calls to gdk_window_invalidate_rect() by
3959 remembering the old button state and only invalidating the area if
3960 the state has changed (addresses parts of bug #433242, Tommi
3963 (gtk_menu_scroll_to): change the arrow states only if changing
3964 from or to INSENSITIVE state, so we don't overwrite the ACTIVE
3965 state set by above function.
3967 2007-04-25 Michael Natterer <mitch@imendio.com>
3969 * gtk/gtkprintoperation.c (preview_iface_is_selected): fix the
3970 build. Dunno if the fix is right, but I think it is.
3972 2007-04-25 Kristian Rietveld <kris@imendio.com>
3974 * gtk/gtktooltip.c (find_topmost_widget_coords_from_event):
3975 cleanup/refactor some leftover code.
3977 2007-04-24 Matthias Clasen <mclasen@redhat.com>
3979 * gtk/gtkprintunixdialog.c (dialog_get_page_ranges): Parse
3980 half-open ranges like -2 or 3-, and be a bit more liberal
3982 (dialog_set_page_ranges): Support half-open ranges.
3984 * gtk/gtkprintoperation.c (print_pages_idle): Substitute the
3985 number of pages in half-open ranges.
3986 (preview_iface_is_selected): Support half-open ranges here, too.
3988 2007-04-24 Chris Wilson <chris@chris-wilson.co.uk>
3990 * gtk/gtkicontheme.c (scan_directory): Ensure the
3991 icon_theme->all_icons and dir->icons hash tables use the same string
3992 as their keys. (#418531)
3994 2007-04-23 Cody Russell <bratsche@gnome.org>
3995 * modules/engines/ms-windows/msw_style.c: Fixed one-pixel drawing error on
3996 left-most tab when notebooks are top-oriented. Also general cleanup of
3997 notebook tab related code. (Lieven van der Heide, Cody Russell)
3999 2007-04-23 Matthias Clasen <mclasen@redhat.com>
4001 * modules/printbackends/cups/gtkprintbackendcups.c: Reduce
4002 the amount of debug spew if we are not debugging.
4004 2007-04-23 Michael Natterer <mitch@imendio.com>
4006 * tests/Makefile.am (testtooltips_SOURCES): fix typo:
4007 testtoooltips_SOURCES -> testtooltips_SOURCES.
4009 2007-04-19 Cody Russell <bratsche@gnome.org>
4011 * modules/engines/ms-windows/msw_style.c: Fix menuitem rendering
4012 for Windows Vista. (#392015, Hiroyuki Yamamoto)
4014 2007-04-19 Dominic Lachowicz <domlachowicz@gmail.com>
4016 * modules/engines/ms-windows/msw_style.c: Fix pixbuf leaks in
4017 non-WinXP rendering paths. From Daniel Atallah (#403470)
4019 2007-04-19 Matthias Clasen <mclasen@redhat.com>
4021 * gtk/gtkicontheme.h:
4022 * gtk/gtkicontheme.c: Add GTK_ICON_LOOKUP_GENERIC_FALLBACK
4023 icon lookup flag and implement it. (#396901, Luca Ferreti)
4025 2007-04-18 Richard Hult <richard@imendio.com>
4027 * gdk/quartz/gdkwindow-quartz.c:
4028 (gdk_window_quartz_process_updates_internal),
4029 (gdk_window_quartz_process_all_updates),
4030 (gdk_window_impl_quartz_process_updates): Refactor the process
4031 updates functions to share code between them. Also fixes bug
4032 #427660 by not updating larger regions than necessary.
4034 2007-04-18 Matthias Clasen <mclasen@redhat.com>
4036 * gdk/gdkregion-generic.h (GROWREGION): Handle the case
4037 of nRects == 0 correctly.
4039 2007-04-18 Emmanuele Bassi <ebassi@gnome.org>
4041 * gtk/gtkrecentmanager.c (gtk_recent_manager_lookup_item): Fix
4042 a leak by not increasing the refcount of the GtkRecentInfo
4043 object when returning it (thanks to Matthias Clasen).
4045 2007-04-16 Alexander Larsson <alexl@redhat.com>
4047 * gtk/gtkprintoperation.c (gtk_print_operation_run):
4048 Make async print preview work by actually starting
4049 the print process in that case (#424168)
4051 2007-04-14 Yevgen Muntyan <muntyan@tamu.edu>
4053 * gtk/gtkselection.c (selection_get_text_plain): fixed
4054 wrong g_convert_with_fallback() call which caused
4055 gtk_selection_data_get_text() return invalid UTF-8 for
4056 non-ASCII text in text/plain selection (#382824).
4058 2007-04-12 Jakub Steiner <jimmac@ximian.com>
4060 * gtk/stock-icons/*: update the stock icons to follow the Tango
4063 2007-04-11 Chris Wilson <chris@chris-wilson.co.uk>
4065 * gtk/gtkiconfactory.c (_gtk_icon_factory_list_ids):
4066 * gtk/gtkstock.c (gtk_stock_list_ids):
4067 Switch over to use glib's new g_hash_table_get_keys() rather
4068 than our own static implementation.
4070 * gtk/gtkiconfactory.h: Update to return a GList.
4072 * configure.in: Bump required version to 2.13.1
4074 2007-04-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
4076 * gdk/quartz/gdkeventloop-quartz.c: Protect the polling thread
4077 setup and shutdown function by mutexes and read the wakeup
4078 pipe unconditionally and unblocking. This should make the main
4079 loop always be woken up when using g_idle_add() from another
4080 thread in the Quartz backend (#425271).
4082 2007-04-10 Matthias Clasen <mclasen@redhat.com>
4084 * gdk/x11/xsettings-client.[hc]: Change the XSettingsWatchFunc
4085 to return a Bool to indicate success. Update callers and
4086 implementors. Based on a patch by Owen Taylor.
4088 * gdk/x11/gdkevents-x11.c (gdk_xsettings_watch_cb): Don't
4089 leak a reference to gdkwin.
4091 2007-04-07 Xan Lopez <xan@gnome.org>
4093 * gtk/gtknotebook.c (gtk_notebook_class_init):
4094 s/arrow-size/arrow-spacing in the arrow-spacing
4095 style property docs.
4097 2007-04-06 Richard Hult <richard@imendio.com>
4099 * gdk/quartz/: Clean up namespaces to make the code more
4102 * gdk/quartz/gdkdrawable-quartz.c:
4103 * gdk/quartz/gdkgc-quartz.c: Fix bug #418384, alignment of tiled
4104 images, by setting the pattern phase for the CG pattern.
4106 2007-04-04 Kristian Rietveld <kris@imendio.com>
4108 * gtk/gtktooltip.c (tooltip_browse_mode_expired),
4109 (gtk_tooltip_hide_tooltip), (tooltip_popup_timeout),
4110 (gtk_tooltip_start_delay): use new gdk_threads API.
4112 2007-04-03 Behdad Esfahbod <behdad@gnome.org>
4114 * gtk/gtksettings.c (settings_update_font_options): Don't set
4115 metrics-hinting font option. Rely on the default value which is
4116 on for all raster cairo surfaces. (#425985)
4118 2007-04-03 Loïc Minier <lool@dooz.org>
4120 * gdk/x11/gdkscreen-x11.c: (check_xfree_xinerama): Revert to
4121 non-xinerama mode when XineramaQueryScreens returns NULL; patch from
4122 Simon McVittie; #425786.
4124 2007-04-02 Michael Natterer <mitch@imendio.com>
4126 * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): remove
4127 artifact from the time when type checking casts warned on NULL,
4128 some whitespace cleanup.
4130 2007-04-01 Cody Russell <bratsche@gnome.org>
4132 * modules/engines/ms-windows/msw_style.c: Fix rendering of
4133 notebook tabs when they are bottom-oriented. Fixes #399253.
4135 2007-03-31 Elijah Newren <newren gmail com>
4137 * gdk/x11/gdkwindow-x11.c (setup_toplevel_window,
4138 gdk_x11_window_set_user_time):
4139 Patch from Matthias to add support for the
4140 _NET_WM_USER_TIME_WINDOW EWMH protocol; see #354213.
4142 WARNING: This patch will make metacity <= 2.18.0 freeze on
4143 workspace switch. This is due to a weird problem that should only
4144 affect window managers using gdk in-process for decoration drawing
4145 and which make an unsafe assumption relating to doing so (i.e. it
4146 should only affect metacity). Upgrade your version of metacity if
4149 2007-03-29 Michael Natterer <mitch@imendio.com>
4151 Don't close menus on clicks on their border area (bug #423761).
4152 (modified patch from maemo-gtk).
4154 * gtk/gtkmenu.c (gtk_menu_button_press)
4155 (gtk_menu_button_release): bail out early if the click was on the
4156 menu's border (not on any item and not outside the window).
4158 (pointer_in_menu_window): new utility function which checks if
4159 passed root coords are inside the menu_shell or one of its
4162 2007-03-29 Michael Natterer <mitch@imendio.com>
4164 * gtk/gtkmenu.c: get rid of local GtkSettings variables by moving
4165 gtk_widget_get_settings() into the g_object_get() call. Some small
4168 2007-03-28 Matthias Clasen <mclasen@redhat.com>
4170 * modules/printbackends/cups/gtkcupsutils.[hc]:
4171 * modules/printbackends/cups/gtkprintbackendcups.c: Apply
4172 a patch by John Palmieri to make the cups print backend support
4175 2007-03-28 Kristian Rietveld <kris@imendio.com>
4177 * gtk/gtkwidget.c (gtk_widget_set_tooltip_window): don't unref
4178 tooltip_window, since this is handled by set_qdata_full() already.
4179 (#412001, Torsten Schoenfeld).
4181 2007-03-27 Tor Lillqvist <tml@novell.com>
4183 * modules/input/Makefile.am: Use LDADDS for im-multipress.la, too:
4185 2007-03-26 Christian Persch <chpe@gnome.org>
4187 * gtk/gtkrc.c: (gtk_rc_context_get): Initialise variable. Bug #423064.
4189 2007-03-24 Kristian Rietveld <kris@gtk.org>
4191 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
4192 calculate the depth with the corrected real_cell_area and don't
4193 subtract horizontal_separator/2.
4195 2007-03-24 Andreas Nilsson <andreas@andreasn.se>
4198 * gtk-no: More Tango love.
4200 2007-03-23 Jakub Steiner <jimmac@ximian.com>
4202 * gtk-dialog-authentication.svg
4203 * gtk-dialog-error.svg
4204 * gtk-dialog-info.svg
4205 * gtk-dialog-question.svg
4206 * gtk-dialog-warning.svg: Start with a Tango face-lift.
4208 2007-03-23 Rodney Dawes <dobey@novell.com>
4210 * gtk/gtkicontheme.c: Fix a couple of comment typos (#421627)
4212 2007-03-23 Matthias Clasen <mclasen@redhat.com>
4214 * gtk/gtkfilechooserdefault.c: Add a keybinding (C-h) to
4215 toggle whether to show hidden files. (#344657,
4216 Wouter Bolsterlee, Priit Laes, et al)
4218 2007-03-23 Matthias Clasen <mclasen@redhat.com>
4220 * gtk/gtkfilechooserdefault.c: Add a keybinding (C-l) to
4221 toggle the visibility of the location entry. (#383354,
4222 John Pye, patch by Carlos Garnacho)
4224 2007-03-22 Matthias Clasen <mclasen@redhat.com>
4226 * gtk/gtksettings.c (merge_color_scheme): Freeze property
4228 * gtk/gtksettings.c (_gtk_settings_handle_event): Handle
4229 the gtk-color-scheme xsetting being unset.
4231 * gtk/gtkrc.c (gtk_rc_reparse_all_for_settings): Handle
4234 2007-03-21 Matthias Clasen <mclasen@redhat.com>
4236 * gtk/gtkprintoperation-unix.c: Remove leftover debug spew.
4238 2007-03-21 Rodney Dawes <dobey@novell.com>
4241 * gtk/gtkicontheme.[ch]:
4242 * docs/reference/gtk/gtk-sections.txt:
4243 * tests/testicontheme.c:
4244 Add a new API call gtk_icon_theme_list_contexts so that one can
4245 choose icons from a theme by context (#420719)
4247 2007-03-21 Ross Burton <ross@burtonini.com>
4250 Document the ::event signal (#420703).
4252 2007-03-20 Kristian Rietveld <kris@gtk.org>
4254 * gtk/gtktreeviewcolumn.c:
4255 * gtk/gtktreeprivate.h: add _gtk_tree_view_column_get_focus_area().
4257 * gtk/gtktreeview.c (gtk_tree_view_clamp_column_visible): add
4258 focus_to_cell parameter, rework to handle clamping columns which
4259 are bigger than the available page size better,
4260 (gtk_tree_view_key_press): remove code handling moving the focus
4261 to other column headers,
4262 (gtk_tree_view_header_focus): add clamp_column_visible parameter,
4263 fix RTL support, don't wrap around when moving focus to other
4264 column headers, call gtk_tree_view_clamp_column_visible() instead
4265 of duplicating code,
4266 (gtk_tree_view_focus): only clamp the column visible when we are
4267 explicitly moving to another column header (fixes #399555, Charles
4269 (gtk_tree_view_move_cursor_left_right): update call to
4270 gtk_tree_view_clamp_column_visible().
4272 2007-03-19 Matthias Clasen <mclasen@redhat.com>
4274 * demos/gtk-demo/appwindow.c: Explicitly set the title on the
4277 2007-03-18 Matthias Clasen <mclasen@redhat.com>
4279 * gtk/gtkentrycompletion.c (gtk_entry_completion_compute_prefix):
4280 Ensure that the prefix is valid UTF-8. (#419568, Nickolay V. Shmyrev)
4282 2007-03-18 Matthias Clasen <mclasen@redhat.com>
4284 * modules/input/gtkimcontextmultipress.[hc]:
4285 * modules/input/im-multipress.conf:
4286 * modules/input/immultipress.c:
4287 * modules/input/README.multipress: Add the multipress input
4288 method. (#417446, Johannes Schmid, Murray Cumming)
4290 * modules/input/Makefile.am: Glue
4292 2007-03-17 Chris Wilson <chris@chris-wilson.co.uk>
4294 * gdk/x11/gdkvisual-x11.c (_gdk_visual_init):
4295 Initialise nxvisuals to 0 in order to handle XGetVisualInfo()
4296 failures gracefully. (#419171)
4298 2007-03-17 Emmanuele Bassi <ebassi@gnome.org>
4300 * gtk/gtkrecentaction.c (recent_chooser_set_property),
4301 (gtk_recent_action_set_property): Remove useless inlined
4302 function and propagate the properties to the GtkRecentChooser
4303 objects we create, instead of all the proxies.
4305 (set_current_filter): Remove 'inline' marker.
4307 2007-03-16 Emmanuele Bassi <ebassi@gnome.org>
4309 Apply changes suggested by Michael Natterer. (#338843)
4312 * gtk/gtkaction.c: Rename get_submenu() to create_menu();
4313 rename gtk_action_get_submenu() to gtk_action_create_menu().
4315 * gtk/gtkrecentaction.c: Update for GtkAction change.
4317 * gtk/gtkuimanager.c (update_node): Update for GtkAction change;
4318 also, use the menu from the GtkAction for both menuitem and
4321 2007-03-16 Xan Lopez <xan@gnome.org>
4323 * gtk/gtkwidget.c: Fix documentation error in
4324 gtk_widget_set_redraw_on_allocate.
4326 2007-03-16 Matthias Clasen <mclasen@redhat.com>
4328 * gtk/gtkprintunixdialog.c (printer_added_cb): Scroll to
4329 make the selected printer visible. (#418403, Nickolay V. Shmyrev,
4330 patch by Christian Persch)
4332 2007-03-15 Federico Mena Quintero <federico@novell.com>
4334 Merged from gtk-2-10:
4336 * gtk/gtkfilechooserdefault.c (find_good_size_from_style):
4337 PANGO_PIXELS() gives us device units, which are *points* in
4338 pangocairo's parlance, but we want actual pixels. So, get the
4339 screen's resolution to compute the actual number of pixels.
4342 2007-03-15 Emmanuele Bassi <ebassi@gnome.org>
4344 * gtk/gtkrecentmanager.c (gtk_recent_manager_add_item): Remove
4345 unused GError; do not allocate GtkRecentData and use a variable
4346 on the stack. (#418673, Morten Welinder)
4348 2007-03-15 Emmanuele Bassi <ebassi@gnome.org>
4350 * gtk/gtkaction.[ch]: Add GtkActionClass::get_submenu() vfunc:
4351 actions providing a menu item or a menu tool button with already
4352 a submenu should return the GtkMenu widget.
4354 * gtk/gtkuimanager.c (update_node): If an action provides its
4355 own submenu, use it instead of adding an empty one
4357 * gtk/gtkrecentaction.[ch]: Add GtkRecentAction, an action
4358 implementing the GtkRecentChooser interface for displaying the
4359 list of recently used files into menus and toolbars generated
4360 using GtkUIManager. (#338843)
4364 * gtk/gtk.symbols: Add GtkRecentAction API to the build.
4366 * tests/testactions.c: Exercise the GtkRecentAction API.
4368 2007-03-15 Chris Wilson <chris@chris-wilson.co.uk>
4370 * gtk/gtkicontheme.c (ensure_valid_themes), (rescan_themes),
4371 (gtk_icon_theme_rescan_if_needed): Protect ensure_valid_themes()
4372 from recursion, which can happen for example if the app tries to
4373 reload an icon from within a theme-changed handler. (#418531)
4375 2007-03-15 Richard Hult <richard@imendio.com>
4377 * gdk/quartz/gdkmain-quartz.c: Add stubs for
4378 gdk_notify_startup_complete_with_id and gdk_window_set_startup_id
4381 2007-03-15 Emmanuele Bassi <ebassi@gnome.org>
4383 * gtk/gtkrecentmanager.c: Fix documentation errors. (Morten
4386 2007-03-15 Tor Lillqvist <tml@novell.com>
4388 * gdk/gdk.symbols: Add gdk_notify_startup_complete_with_id and
4389 gdk_window_set_startup_id.
4391 * gdk/win32/gdkmain-win32.c: Add dummy implementations of the above.
4393 2007-03-15 Emmanuele Bassi <ebassi@gnome.org>
4395 * gtk/gtkrecentchooserprivate.h:
4396 * gtk/gtkrecentchooserutils.c: Move filtering of the recent
4397 files list into the shared implementation; do the filtering
4398 before the sorting, so that we always clamp on the desired
4401 * gtk/gtkrecentchoosermenu.c: Remove the filtering of the
4402 list, as it's already been done.
4404 * gtk/gtkrecentchooserdefault.c: Ditto; also remove the
4405 GtkTreeModelFilter: just reload the view if the sorting and
4406 filtering properties change.
4408 * gtk/testrecentchoosermenu.c: Exercise the limit property.
4410 2007-03-14 Michael Natterer <mitch@imendio.com>
4412 Make gtk_widget_set_extension_events() work on already realized
4413 widgets (bug #379550, Tommi Komulainen)
4415 * gdk/x11/gdkinput.c (gdk_input_set_extension_events): allow to be
4416 called multiple times without leaking and work correctly when
4417 already realized (don't rely on a configure event following).
4419 * gtk/gtkwidget.c (gtk_widget_set_extension_events_internal): new
4420 internal function which walks the GdkWindow tree and sets the
4421 extension events on all windows that belong to the widget.
4423 (gtk_widget_realize)
4424 (gtk_widget_set_extension_events): use the new function.
4426 2007-03-14 Emmanuele Bassi <ebassi@gnome.org>
4428 Various clean ups in the GtkRecent code. (see #338843)
4430 * gtk/gtkrecentchooserdefault.c:
4431 * gtk/gtkrecentchoosermenu.c:
4432 * gtk/gtkrecentchooserprivate.h:
4433 * gtk/gtkrecentchooserutils.c: Move the recent chooser function
4434 for getting the sorted and clamped list of recent files from the
4435 manager outside the implementations.
4437 * gtk/gtkrecentchooserdefault.c (chooser_set_sort_type): Repopulate
4438 the list when the sorting order changes.
4440 (gtk_recent_chooser_default_dispose),
4441 (gtk_recent_chooser_default_finalize): Move object unref and
4442 source removal from finalize to dispose.
4444 * gtk/gtkrecentchooser.c (gtk_recent_chooser_type_init): Relax the
4445 prerequisite for the GtkRecentChooser interface implementations,
4446 from GtkObject to GObject.
4448 (gtk_recent_chooser_class_init): Use GTK_PARAM_* instead of
4451 2007-03-13 Emmanuele Bassi <ebassi@gnome.org>
4453 Apply patch by Vytautas Liuolia for changing the startup
4454 notification id on a window in the X11 backend. (#347375)
4458 * gdk/x11/gdkdisplay-x11.c: Add gdk_notify_startup_complete_with_id()
4459 and gdk_x11_display_get_startup_notification_id().
4462 * gdk/x11/gdkwindow-x11.c: Add gdk_window_set_startup_id().
4465 * gtk/gtkwindow.c: Add gtk_window_set_startup_id(), used to
4466 change the startup notification id.
4468 (gtk_window_class_init), (gtk_window_init),
4469 (gtk_window_set_property): Add write-only "startup-id" property
4472 (gtk_window_realize): Set the startup notification id
4473 on a GtkWindow if it's valid.
4475 (gtk_window_map): If we have another valid startup notification
4476 id then finish the notification process.
4478 2007-03-13 Matthias Clasen <mclasen@redhat.com>
4480 * gtk/gtknotebook.c (gtk_notebook_real_insert_page):
4481 Fix tabbed browsing in epiphany. (#413664, Christian Persch)
4483 2007-03-12 Matthias Clasen <mclasen@redhat.com>
4485 * gtk/gtksizegroup.c (gtk_size_group_add_widget): Clarify
4486 docs. (#345844, Torsten Schoenfeld)
4488 * gdk/x11/gdkevents-x11.c (gdk_display_add_client_message_filter):
4489 * gdk/gdkwindow.c (gdk_window_add_filter): Add
4490 cross-references. (#351252, Vincent Untz)
4492 * gtk/gtkprintoperation.c: Fix an oversight in an
4493 example. (#381083, Ian Puleston)
4495 * gtk/gtkcombobox.c: Clean up and clarify docs. (#412484)
4497 2007-03-12 Matthias Clasen <mclasen@redhat.com>
4499 * gtk/gtkspinbutton.c (gtk_spin_button_style_set): Set
4500 the background of the panel window on style changes. (#402144,
4503 2007-03-12 Matthias Clasen <mclasen@redhat.com>
4505 * gtk/gtkbindings.c (gtk_binding_entry_add_signal): Remove
4506 an obsolete comment. (#402169, Xan Lopez)
4508 2007-03-12 Matthias Clasen <mclasen@redhat.com>
4510 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_property):
4511 Don't copy PangoLanguage. (#340031, Morten Welinder)
4513 2007-03-12 Matthias Clasen <mclasen@redhat.com>
4515 * gtk/gtkfilechooserbutton.c (change_icon_theme_get_info_cb):
4516 Handle the row reference path being NULL. (#410565, Joe Markus
4517 Clarke, patch by Chris Wilson)
4519 2007-03-11 Matthias Clasen <mclasen@redhat.com>
4521 * tests/testiconview.c: Handle Menu key presses without
4522 crash. (#385637, Christian Persch)
4524 2007-03-11 Matthias Clasen <mclasen@redhat.com>
4526 * gtk/gtktooltips.c (gtk_tooltips_get_info_from_tip_window):
4527 Don't crash if active_tips_data is NULL. (#382904, Li Yuan)
4529 2007-03-11 Matthias Clasen <mclasen@redhat.com>
4531 * gtk/gtktextview.c (gtk_text_view_set_buffer): Set first_para_mark
4532 to NULL. (#396805, Colin Leroy, patch by Mariano Suárez-Alvarez)
4534 2007-03-12 Kristian Rietveld <kris@gtk.org>
4536 * gtk/gtkfilechooserdefault.c (check_save_entry): immediately
4537 bail out if current_folder is NULL. (#350988, lots of reporters,
4538 modified patch by Jan Darmochwal).
4540 2007-03-10 Kristian Rietveld <kris@gtk.org>
4542 * gtk/gtktreeview.c (gtk_tree_view_search_dialog_hide): only
4543 hide the search dialog and send focus events if the search dialog
4544 is currently visible.
4546 2007-03-10 Richard Hult <richard@imendio.com>
4548 * gdk/quartz/gdkdrawable-quartz.c:
4549 (gdk_quartz_ref_cairo_surface): Reuse the surface during its lifetime.
4550 (gdk_quartz_drawable_get_context): Update for the new quartz cairo
4551 surface API (#410442). Don't lock focus unless called outside of an
4553 (gdk_quartz_drawable_release_context): Only flush the CG context and
4554 unlock focus if called outside of expose.
4555 (_gdk_quartz_drawable_finish): New function, used to free the cached
4558 * gdk/quartz/gdkwindow-quartz.c:
4559 (gdk_window_impl_quartz_begin_paint_region): A few small style changes.
4560 (_gdk_window_impl_quartz_get_type): No need to make the type info
4562 (gdk_window_quartz_process_all_updates): Move the autorelease pool
4563 allocation and freeing outside the loop.
4564 (_gdk_windowing_window_destroy): Finish the drawable.
4565 (move_resize_window_internal): Small cleanup and remove comment.
4567 * gdk/quartz/gdkpixmap-quartz.c: Finish the drawable.
4569 2007-03-10 Richard Hult <richard@imendio.com>
4571 * gdk/quartz/gdkprivate-quartz.h: Add missing function signature to fix
4574 2007-03-10 Richard Hult <richard@imendio.com>
4576 * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_get_name): Plug a leak.
4578 2007-03-10 Richard Hult <richard@imendio.com>
4580 * gdk/quartz/GdkQuartzView.c: Remove unneccesary exposure mask check.
4582 2007-03-10 Richard Hult <richard@imendio.com>
4584 * gdk/quartz/gdkevents-quartz.c: (gdk_screen_get_setting): Don't set
4585 the font name here, leave that to themes, fixes #387508.
4587 2007-03-10 Kristian Rietveld <kris@gtk.org>
4589 * gtk/gtktreemodelsort.c (gtk_tree_model_sort_ref_node),
4590 (gtk_tree_model_sort_real_unref_node): when (un)reffing an
4591 element, also (un)ref its parent elements. (Fixes #364946,
4592 reported by many, testcase by Andreas Koehler).
4594 2007-03-10 Matthias Clasen <mclasen@redhat.com>
4596 * gtk/gtkprintoperation-unix.c: Initialize the do_preview
4597 field of PrintResponseData. (#396703, Christian Persch)
4599 * tests/print-editor.c: Plug some leaks.
4601 2007-03-09 Matthias Clasen <mclasen@redhat.com>
4603 * gtk/gtktextview.c (gtk_text_view_end_selection_drag):
4604 Get rid of the unused event argument. Update all callers.
4606 * gtk/gtktextview.c (gtk_text_view_focus_out): Call
4607 gtk_text_view_end_selection_drag. (#351671, Boyd Timothy)
4609 2007-03-09 Matthias Clasen <mclasen@redhat.com>
4611 * modules/input/gtkimcontextxim.c
4612 (gtk_im_context_xim_filter_keypress): Don't commit
4613 modifier-adorned characters. (#331369, #335796, Lin Ma
4616 2007-03-09 Matthias Clasen <mclasen@redhat.com>
4618 * Everywhere: Remove unnecessary NULL checks before
4619 g_free(). (#369666, Morten Welinder, Djihed Afifi)
4621 * configure.in: Check for ftw.h
4623 2007-03-09 Matthias Clasen <mclasen@redhat.com>
4625 * gtk/gtkfilesystemwin32.c (get_icon_path): Remove
4626 C99isms. (#416525, Kazuki Iwamoto)
4628 2007-03-09 Tor Lillqvist <tml@novell.com>
4630 * README.win32: Update.
4632 2007-03-08 Matthias Clasen <mclasen@redhat.com>
4634 * gdk/x11/gdkasync.c (send_event_handler): Defer the callbacks
4635 to an idle to avoid deadlock with xcb-ified libX11. (#413032,
4638 2007-03-08 Matthias Clasen <mclasen@redhat.com>
4640 * gtk/gtknotebook.c (gtk_notebook_real_insert_page):
4641 Set child visibility to FALSE here; it will be turned
4642 back on in switch_page. (#413664, Carlos Garnacho)
4644 2007-03-08 Mathias Hasselmann <mathias.hasselmann@gmx.de>
4646 * modules/engines/ms-windows/msw_style.c: Use proper border style
4647 when drawing shadow of scrolled windows on Windows XP (#168326)
4648 * modules/engines/ms-windows/xp_theme.c: Explicitly set size of
4649 element_part_map array to ensure it always is large enough.
4651 2007-03-08 Mathias Hasselmann <mathias.hasselmann@gmx.de>
4653 * gtk/gtkcombobox.c: Add shadow-type style property, set shadow-type
4654 property of GtkEntry accordingly, unify size-allocation of toggle
4655 button (#411123, patch from Mathias Hasselmann).
4656 * gtk/gtkentry.c: Add shadow-type property. Query style properties
4657 on style changes only (#411123, patch from Mathias Hasselmann).
4658 * modules/engines/ms-windows/msw_style.c: Drop combo_box_draw_box
4659 hack as GtkComboBox emits drawing requests now (#411123, patch
4660 from Mathias Hasselmann).
4662 2007-03-08 Mathias Hasselmann <mathias.hasselmann@gmx.de>
4664 * gtk/gtkscrolledindow.c: Improve look of GtkScrolledWindow on Windows
4665 by implementing a scrollbars-within-bevel style property. (#168326)
4667 2007-03-08 Mathias Hasselmann <mathias.hasselmann@gmx.de>
4669 * gtk/gtkfilesystemwin32.c: Use Windows shell icons. Icons are
4670 stored in the current theme with the name
4671 "gtk-win32-shell-icon;PATH;INDEX". PATH and INDEX reference shell
4672 icons as reported by SHGetFileInfoW. (#412221)
4674 2007-03-07 Matthias Clasen <mclasen@redhat.com>
4676 * gtk/gtkexpander.c (gtk_expander_paint_focus): Draw the
4677 focus around the arrow if there is no label widget.
4678 (#124045, Cody Russell)
4680 2007-03-07 Matthias Clasen <mclasen@redhat.com>
4682 * gtk/gtkcombo.c: (gtk_combo_init):
4683 * gtk/gtkcombobox.c: (gtk_combo_box_set_popup_widget),
4684 (gtk_combo_box_menu_setup):
4685 Set names on the popup widgets to make them themable. (#414975,
4688 2007-03-07 Michael Natterer <mitch@imendio.com>
4690 * gtk/gtkcellrendereraccel.c: use multihead safe ungrab functions
4691 instead of gdk_keyboard_ungrab() and gdk_pointer_ungrab(), remove
4692 empty finalize() implementation, some cosmetic cleanup
4695 2007-03-06 Chris Wilson <chris@chris-wilson.co.uk>
4697 * gtk/gtkicontheme.c (update_current_theme), (gtk_icon_theme_init),
4698 (do_theme_change), (gtk_icon_theme_set_custom_theme),
4700 Be careful not to trigger a style reset before we have loaded
4701 the icon theme. (#414875).
4703 2007-03-06 Tor Lillqvist <tml@novell.com>
4706 * gtk/Makefile.am: Further fixes for building on Win32 outside
4707 srcdir. (#413492, Mathias Hasselmann)
4709 2007-03-04 Ihar Hrachyshka <iharh@gnome.org>
4711 * configure.in: Added be@latin to ALL_LINGUAS. Problems seems to be
4714 2007-03-04 Claudio Saavedra <csaavedra@alumnos.utalca.cl>
4716 * configure.in: Removed be@latin from ALL_LINGUAS, as it's currently
4719 2007-03-04 Ihar Hrachyshka <iharh@gnome.org>
4721 * configure.in: Added be@latin to ALL_LINGUAS
4723 2007-03-03 Guillaume Savaton <llumeao@gmail.com>
4725 * configure.in: Added Esperanto (eo) to ALL_LINGUAS
4727 2007-03-01 Matthias Clasen <mclasen@redhat.com>
4729 * gtk/gtksettings.c: Always store gtk-color-scheme
4730 values from all sources in the ColorSchemeData struct
4731 and ignore the property_value for gtk-color-scheme.
4732 This fixes #412596, reported by Thomas Wood.
4734 2007-02-28 Matthias Clasen <mclasen@redhat.com>
4736 * gtk/gtksettings.c: Make color scheme update properly
4737 when changing themes. (#402131, Benjamin Berg)
4739 2007-02-28 Matthias Clasen <mclasen@redhat.com>
4741 * gtk/gtkrc.c: Don't leak references to the color-hash
4742 gotten from GtkSettings. (#409357, Benjamin Berg)
4744 2007-02-28 Tristan Van Berkom <tvb@gnome.org>
4746 * gtk/gtkradiobutton.c: Fixed a warning from
4747 g_object_set (radiobutton, "group", NULL, NULL).
4749 2007-02-26 Matthias Clasen <mclasen@redhat.com>
4751 Apply a patch by Carlos Garnacho to fix several problems
4752 with filechooser size handling (#325477, #151169, 143213,
4755 * gtk/gtkfilechooserdefault.c: Increase NUM_LINES slightly.
4756 (browse_widgets_create): Don't force the paned position to 200.
4757 (find_good_size_from_style): Take the size of the extra widget
4760 * gtk/gtkfilechooserdialog.c (file_chooser_widget_update_hints):
4761 Accept a minimal width parameter. Update all callers.
4763 2007-02-26 Matthias Clasen <mclasen@redhat.com>
4765 * gtk/gtkprintunixdialog.c: Change the label to "Pages per side",
4766 which is more accurate, suggested by Tim Waugh. String change!
4768 2007-02-26 Matthias Clasen <mclasen@redhat.com>
4770 * gtk/gtkprinteroptionwidget.c: Make the folder selection for
4771 print-to-file work. Reported by Ian Collier.
4773 2007-02-26 Chris Wilson <chris@chris-wilson.co.uk>
4775 Bug 409101 – invalid read to gtkicontheme.c insert_theme(), might cause gnome-panel crash
4777 * gtk/gtkicontheme.c: (scan_directory):
4778 Reorder the replacement of the shared base_name key, so that we
4779 avoid dereferencing the string in the icon_theme->all_icon
4780 hash table after freeing it from the dir->icons hash table.
4782 2007-02-26 Tor Lillqvist <tml@novell.com>
4784 * gdk/win32/gdkwindow-win32.c (gdk_window_set_icon_name): Add
4785 comment clarifying that "icon name" here is not related to the
4786 freedesktop.org icon naming stuff.
4788 2007-02-23 Dom Lachowicz <domlachowicz@gmail.com>
4790 * modules/engines/ms-windows/msw_style.c: Bug 411118 - bad bevel for
4791 progress bar on windows classic. Match from Mathias Hasselmann.
4793 2007-02-19 Tor Lillqvist <tml@novell.com>
4795 * gdk/win32/gdkinput.c
4796 (gdk_device_finalize, gdk_device_class_init): Remove.
4797 (gdk_device_get_type): Drop class init function. The X11 version
4798 doesn't have one either.
4799 (gdk_devices_list): Call gdk_display_list_devices() on _gdk_display.
4800 (gdk_display_list_devices): Check that the argument is
4803 * gdk/win32/gdkinput-win32.h (GdkAxisInfo, GdkDevicePrivate):
4804 Cleanup: remove unused fields.
4805 * gdk/win32/gdkinput-win32.c: Corresponding changes. Fix function
4806 names in a few debugging printouts.
4808 2007-02-18 Matthias Clasen <mclasen@redhat.com>
4810 * gtk/gtktextlayout.c (gtk_text_layout_move_iter_visually):
4811 Ignore invisible text when going to end of the previous line.
4814 2007-02-18 Richard Hult <richard@imendio.com>
4816 * gdk/quartz/gdkwindow-quartz.c:
4817 (gdk_window_quartz_process_all_updates),
4818 (_gdk_windowing_window_destroy): Setup release pools to plug two leaks,
4819 patch from Erik van Pienbroek, fixes bug #396649.
4821 2007-02-18 Richard Hult <richard@imendio.com>
4823 * gdk/quartz/gdkevents-quartz.c: Add stub for
4824 gdk_display_add_client_message_filter, patch from Taybin Rutkin. Fixes
4827 * gdk/quartz/gdkprivate-quartz.h: Add prototypes to fix build warnings.
4829 2007-02-18 Richard Hult <richard@imendio.com>
4831 * gdk/quartz/GdkQuartzView.h:
4832 * gdk/quartz/GdkQuartzWindow.h:
4833 * gdk/quartz/gdkquartz.h: Import AppKit.h instead of Quartz.h.
4834 * gdk/quartz/gdkscreen-quartz.c: (get_mm_from_pixels): Don't use
4835 userSpaceScaleFactor for 10.3. Those changes bring us closer to working
4836 on panther, patch from Mathias Hasselmann.
4838 * gdk/quartz/gdkeventloop-quartz.c: Add includes to fix build warnings.
4840 2007-02-16 Behdad Esfahbod <behdad@gnome.org>
4842 * gdk/gdkpango.c (gdk_pango_layout_get_clip_region): Use PANGO_PIXELS
4843 instead of division. (#334617)
4845 2007-02-16 Kristian Rietveld <kris@gtk.org>
4847 * gtk/gtktreeprivate.h: add cursor_offset field.
4849 * gtk/gtktreeview.c (gtk_tree_view_init),
4850 (gtk_tree_view_move_cursor_page_up_down): fix off by one error
4851 in page up/down handling by memorizing the offset into the cursor
4852 row. (Fixes #399809, reported by Bruce Bowler).
4854 2007-02-16 Kristian Rietveld <kris@gtk.org>
4856 * gtk/gtktreeview.c (gtk_tree_view_search_dialog_hide): send
4857 a focus-in event to the tree view after hiding the search dialog.
4858 (#356515, Rich Burridge, Peter Parente).
4860 2007-02-16 Kristian Rietveld <kris@imendio.com>
4862 * tests/testtooltips.c (query_tooltip_text_view_cb): also handle
4863 keyboard tooltips. (#408325, Matthias Clasen).
4865 2007-02-16 Xan Lopez <xan@gnome.org>
4867 * gtk/gtkcombobox.c (gtk_combo_box_expose_event): Cleanup the logic
4868 in expose event handler. Reviewed by Matthias Clasen, #406112
4870 2007-02-16 Matthias Clasen <mclasen@redhat.com>
4872 * gtk/gtkmain.c: Run pre_parse_hook only once. (#403139, Kjartan
4875 2007-02-15 Matthias Clasen <mclasen@redhat.com>
4877 * gdk/x11/gdmain-x11.c (_gdk_xgrab_check_button_event): Be more
4878 careful when checking for ButtonRelease events that end implicit
4879 grabs. (#386618, Christof Krüger)
4881 2007-02-15 Matthias Clasen <mclasen@redhat.com>
4883 * gtk/gtktextbtree.c (_gtk_text_btree_delete): Free the lines
4884 even if there are no views. (#408018, Albert Huang)
4886 2007-02-15 Cody Russell <bratsche@gnome.org>
4888 * gdk/win32/gdkevents-win32.c: Make sure we get enough main context
4889 iterations while we're resizing so that the window contents are resized
4890 more smoothly (#389765).
4892 * gdk/win32/gdkevents-win32.c: Fix flickering widgets when window contents
4893 are resized (#310522).
4895 2007-02-15 Matthias Clasen <mclasen@redhat.com>
4897 * gtk/updateiconcache.c: Handle symlinked .icon files
4898 intelligently; also avoid storing duplicate strings.
4900 2007-02-15 Michael Natterer <mitch@imendio.com>
4902 * gtk/gtkmenushell.c: remove two antique function typedefs that
4903 are probably obsolete for ages.
4905 2007-02-14 Stefan Kost <ensonic@users.sf.net>
4907 reviewed by: Matthias Clasen <mclasen@redhat.com>
4909 * configure.in: determine installation prefixes of dependent libs to
4910 crossreference docs (#407146).
4912 2007-02-14 Kristian Rietveld <kris@imendio.com>
4914 * gtk/gtktooltip.c (child_location_foreach): check return value
4915 of gtk_widget_translate_coordinates() so we cannot end up
4916 using uninitialized x, y values. (#407863, patch from Carlos
4919 2007-02-14 Kristian Rietveld <kris@imendio.com>
4921 * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_realize_button):
4922 use TREE_VIEW_DRAG_WIDTH/2 when calculating the drag window
4923 position instead of a hardcoded value. (Taken from maemo-gtk).
4925 2007-02-14 Michael Natterer <mitch@imendio.com>
4927 * gtk/gtkmenu.c (gtk_menu_motion_notify): don't forget to set the
4928 state of the synthesized GDK_ENTER_NOTIFY event. Fix taken from
4931 2007-02-13 Kristian Rietveld <kris@imendio.com>
4933 * gtk/gtktooltip.c (gtk_tooltip_hide_tooltip): stop any
4934 pending tooltip timeout. (Fixes #406110, Carlos Garnacho).
4936 2007-02-10 Emmanuele Bassi <ebassi@gnome.org>
4938 * gtk/gtkrecentchoosermenu.c: Fix the english of the comment;
4939 remove some type checking; use better variable naming for the
4940 internal menu item markers.
4942 2007-02-09 Emmanuele Bassi <ebassi@gnome.org>
4944 * gtk/gtkrecentchoosermenu.c: Add support for both prepending
4945 and appending custom menu items.
4947 (gtk_recent_chooser_menu_constructor): Add a placeholder menu
4948 item for the empty menu case, and for giving us a starting
4949 point for the recent items populating process.
4951 (gtk_recent_chooser_menu_insert_item),
4952 (gtk_recent_chooser_menu_dispose_items): Insert an item at
4953 the position following the placeholder (and find that position
4956 (idle_populate_func), (idle_populate_clean_up): Show the
4957 placeholder menu item, instead of creating one each time.
4959 (gtk_recent_chooser_menu_populate): Kill some indirections
4960 and hide the placeholder before populating the menu.
4962 (set_recent_manager): Remember to remove the idle population
4963 source if the manager changes.
4965 * tests/testrecentchoosermenu.c: Test the appending and
4966 prepending of the menu items to the recent chooser menu
4969 2007-02-08 Emmanuele Bassi <ebassi@gnome.org>
4971 * gtk/gtkrecentchoosermenu.c (idle_populate_func): Keep count
4972 of the displayed items to build the menu items mnemonic instead
4973 of the overall item count. (#377164)
4975 (idle_populate_clean_up): Append a menu item if all the items
4976 got filtered in the idle populate function. (#405696)
4978 * tests/Makefile.am:
4979 * tests/testrecentchoosermenu.c: Add a test for the
4980 GtkRecentChooserMenu widget.
4982 Thu Feb 8 13:07:08 2007 Tim Janik <timj@imendio.com>
4984 * applied patch from Xan Lopez which adds GTK_BUTTONBOX_CENTER to
4985 GtkButtonBox (bug #336159).
4988 * gtk/gtkvbbox.c, gtk/gtkhbbox.c, gtk/gtkbbox.c:
4989 support GTK_BUTTONBOX_CENTER.
4991 * tests/testbbox.c: new button box test, which allows testing of
4992 the various button box properties.
4994 * tests/testgtk.c: added GTK_BUTTONBOX_CENTER. to button box test.
4996 2007-02-07 Cody Russell <bratsche@gnome.org>
4998 * gdk/gdk.symbols: Add gdk_event_request_motions
5000 Wed Feb 7 19:03:28 2007 Tim Janik <timj@gtk.org>
5002 * gtk/gtkentry.c (gtk_entry_motion_notify): fixed motion request
5003 condition which was wrongly ported with my last commit.
5005 Tue Feb 6 15:53:59 2007 Tim Janik <timj@imendio.com>
5007 * gtk/gtktextview.c (gtk_text_view_motion_event):
5008 * gtk/gtkspinbutton.c (gtk_spin_button_motion_notify):
5009 * gtk/gtkaboutdialog.c (credits_motion_notify_event):
5010 * gtk/gtkhruler.c (gtk_hruler_motion_notify):
5011 * gtk/gtkvruler.c (gtk_vruler_motion_notify):
5012 * gtk/gtkentry.c (gtk_entry_motion_notify):
5013 * gtk/gtktooltip.c (_gtk_tooltip_handle_event):
5014 * gtk/gtkhsv.c (gtk_hsv_motion): call gdk_event_request_motions()
5015 for new motion events after receiving motion hints.
5017 * gdk/gdkevents.[hc]: added gdk_event_request_motions().
5019 2007-02-06 Kristian Rietveld <kris@imendio.com>
5021 * gtk/gtktooltip.c (find_topmost_widget_coords_from_event):
5022 remove unused get of has_tooltip.
5024 * tests/testtooltips.c (query_tooltip_tree_view_cb): use the
5025 portable g_snprintf instead of snprintf.
5027 2007-02-06 Michael Natterer <mitch@imendio.com>
5029 * gtk/gtktooltip.c (gtk_tooltip_finalize): chain up.
5031 (gtk_tooltip_show_tooltip): move variables and code to local
5032 scope. Fixes warnings about maybe uninitialized variables.
5034 2007-02-06 Kristian Rietveld <kris@imendio.com>
5040 * gtk/gtk.symbols: build system foo.
5042 * gtk/gtkmain.c (gtk_main_do_event): call tooltip event handler
5043 hook for appropriate events.
5045 * gtk/gtkmarshalers.list: add BOOLEAN:INT,INT,BOOLEAN,OBJECT.
5047 * gtk/gtkrc.c: add style for gtk-tooltip.
5049 * gtk/gtksettings.c (gtk_settings_class_init): make the
5050 different tooltip timeouts configurable.
5052 * gtk/gtkwidget.[ch]: add new properties, signals, make sure
5053 tooltips are hidden on unmap, destroy, update window event
5054 mask on realize, hook into focus change and show help
5057 * gtk/gtkwindow.h: move GtkWindow typdef to gtkwidget.h ...
5059 * gtk/gtktooltip.[ch]: new files.
5062 * tests/testtooltips.c: add test application.
5064 2007-02-05 Dom Lachowicz <domlachowicz@gmail.com>
5066 * modules/engines/ms-windows/msw_style.c: Fix bug 404506, caused
5067 by prematurely releasing a DC. By Hiroyuki Yamamoto
5068 * modules/engines/ms-windows/msw_style.c: Fix bug 403470 - leaking
5069 pixbufs when drawing rotated tabs. By Daniel Atallah
5071 2007-02-05 Michael Natterer <mitch@imendio.com>
5073 * gtk/gtksettings.c: add new boolean settings gtk-enable-accels
5074 and gtk-enable-mnemonics which enable/disable accelerators and
5075 mnemonics (bug #72375, based on a patch from Tommi Komulainen).
5077 * gtk/gtkwindow.c (gtk_window_activate_key)
5078 * gtk/gtkmenushell.c (gtk_menu_shell_key_press): don't invoke them
5079 if the resp. setting is FALSE.
5081 * gtk/gtkaccellabel.c (gtk_accel_label_refetch)
5082 * gtk/gtklabel.c (gtk_label_set_pattern_internal): don't display
5083 them if the setting is FALSE.
5085 * gtk/gtklabel.c: added signal connection to the screen's settings
5086 object and traverse all widgets on the screen when the setting
5087 changes. It's slightly ugly to also update GtkAccelLabels here,
5088 but less ugly than connecting and traversing all widgets twice.
5090 2007-02-05 Michael Natterer <mitch@imendio.com>
5092 * gtk/gtktextbuffer.h (enum GtkTextBufferTargetInfo): changed
5093 values from G_MAXUINT-0, -1, -2 to -1, -2, -3 so we stay within
5094 ansi C enum value limits. Fixes bug #46757.
5096 2007-02-03 Soren Sandmann <sandmann@daimi.au.dk>
5098 * gtk/gtksequence.[ch]: Remove these files since GSequence has
5099 been moved into GLib.
5101 * gtk/gtkliststore.c: Port to GSequence instead of GtkSequence.
5103 * configure.in: Require glib-2.13.0
5105 2007-02-04 Tor Lillqvist <tml@novell.com>
5107 * gdk/win32/gdkcursor-win32.c: Don't define BITMAPV5HEADER on
5108 mingw with w32api >= 3.8, which has it in wingdi.h. (#403896)
5110 2007-02-02 Kristian Rietveld <kris@gtk.org>
5112 * gtk/gtktreeview.c (gtk_tree_view_row_changed): remove unused
5113 style_get of vertical-separator. (#403165, Chris Wilson).
5115 2007-02-02 Christian Persch <chpe@svn.gnome.org>
5117 * gtk/gtkfilechoosersettings.c: (get_config_filename),
5118 (ensure_settings_read), (_gtk_file_chooser_settings_init),
5119 (_gtk_file_chooser_settings_set_show_hidden),
5120 (_gtk_file_chooser_settings_set_expand_folders),
5121 (_gtk_file_chooser_settings_save): Use a simple key file instead of a
5122 markup file. Bug #399592.
5124 2007-02-02 Mariano Suárez-Alvarez <mariano@gnome.org>
5126 * gtk/gtkcellrenderertext.c(gtk_cell_renderer_text_class_init):
5127 be a little more helpful with the docs on GtkCellRendererText:alignment.
5130 2007-02-01 Michael Natterer <mitch@imendio.com>
5132 * gtk/gtkmenu.c (gtk_menu_paint): pass &event->area to
5133 gtk_paint_box() calls.
5135 2007-02-01 Michael Natterer <mitch@imendio.com>
5137 * gtk/gtkmenu.c (gtk_menu_button_press)
5138 (gtk_menu_button_release)
5139 (gtk_menu_button_scroll): remove redundant and confusing
5140 if (GTK_IS_MENU (widget)) checks because "widget" is always a
5143 Thu Feb 1 12:22:06 2007 Tim Janik <timj@imendio.com>
5145 * gtk/gtkcombobox.c (gtk_combo_box_list_destroy): remove extra reference
5146 that gtkcombobox keeps on priv->popup_widget if it's a tree view.
5148 2007-01-31 Christian Persch <chpe@svn.gnome.org>
5150 * gtk/gtkaboutdialog.c: (update_credits_button_visibility),
5151 (gtk_about_dialog_set_authors), (gtk_about_dialog_set_documenters),
5152 (gtk_about_dialog_set_artists),
5153 (gtk_about_dialog_set_translator_credits): Hide the Credits button iff
5154 there are no credits to show. Bug #402806.
5156 2007-01-31 Tor Lillqvist <tml@novell.com>
5158 * gdk/win32/gdkinput-win32.c (print_cursor): New debugging
5160 (_gdk_input_wintab_init_check): Call it when debugging output is
5162 (_gdk_input_wintab_init_check): Skip duplicated cursors for Wacom
5163 tablets. The Wacom driver reports duplicated cursors with
5164 physid==0. Fix verified by Robert Ögren.
5166 2007-01-30 Felix Riemann <friemann@svn.gnome.org>
5168 * modules/printbackends/file/gtkprintbackendfile.c:
5169 (file_printer_get_options): Fix leaked string. Fixes bug #402565.
5171 2007-01-30 Matthias Clasen <mclasen@redhat.com>
5173 * gdk/x11/gdkwindow-x11.c (gdk_x11_window_move_to_current_desktop):
5174 (gdk_x11_window_set_user_time): Be more careful about toplevel
5175 possibly being NULL. (#402453, Sebastian Bacher)
5177 Tue Jan 30 12:09:56 2007 Tim Janik <timj@gtk.org>
5179 * gtk/gtksettings.c: cleaned up ::color-hash registration to not abuse
5180 class_n_properties and leave an uninitialized value array behind.
5182 2007-01-29 Michael Natterer <mitch@imendio.com>
5184 * gtk/gtkmenuitem.c (gtk_menu_item_select)
5185 (gtk_menu_item_deselect): queue a draw on the parent_menu_item of
5186 this menu item's menu, to enable themeing menu items depending on
5187 whether something is selected in their submenu (patch taken from
5190 2007-01-28 Matthias Clasen <mclasen@redhat.com>
5192 * gtk/gtktoolbar.c: Reinstate gtk_toolbar_content_new_compatibility()
5193 that was mistakenly "cleaned up" a while ago. Also
5194 revert a problematic change to the screen_changed
5195 handler. (#401598, Søren Sandmann)
5197 2007-01-28 Matthias Clasen <mclasen@redhat.com>
5199 * gtk/gtkframe.c (gtk_frame_size_allocation): Fix a
5200 problem with large y thickness. (#136592, Xan Lopez)
5202 2007-01-28 Matthias Clasen <mclasen@redhat.com>
5204 * gtk/gtkaction.c (gtk_action_new): Use canonical
5207 2007-01-27 Matthias Clasen <mclasen@redhat.com>
5209 * gtk/gtknotebook.c (gtk_notebook_draw_arrow):
5210 (gtk_notebook_draw_focus): Avoid some unnecessary
5211 gtk_widget_get_style() calls.
5213 2007-01-27 Matthias Clasen <mclasen@redhat.com>
5216 * gtk/gtktoolitem.c:
5217 * gtk/gtktoolbutton.c: Rearrange things so that setting
5218 multiple properties causes not more than a single
5219 reconstruction of the contents.
5221 * gtk/gtkaction.c (connect_proxy): Set all tool button
5222 properties in one go.
5224 2007-01-27 Matthias Clasen <mclasen@redhat.com>
5226 * gtk/gtkstatusicon.c:
5227 * gtk/gtktrayicon-x11.c: Fix GtkStatusIcon to not
5228 take up space on the panel if it is invisible. (340110, Christian
5231 * tests/teststatusicon.c:
5232 * tests/Makefile.am: Updates
5234 2007-01-27 Matthias Clasen <mclasen@redhat.com>
5238 * gtk/gtk.symbols: Add deprecation guards for gtk_rc_style_ref/unref
5239 and the old file selector. (#348256)
5241 2007-01-26 Matthias Clasen <mclasen@redhat.com>
5243 * gtk/gtkiconview.c: Documentation fixes (#400530, Anders Brander)
5245 2007-01-26 Matthias Clasen <mclasen@redhat.com>
5247 * gtk/updateiconcache.c: Check the mtime of all directories,
5248 not just the toplevel, if ftw() is available. (#331671, Behdad
5251 * configure.in: Check for ftw.h.
5253 2007-01-26 Michael Natterer <mitch@imendio.com>
5255 * modules/input/gtkimcontextxim.c (gtk_im_context_xim_finalize):
5256 destroy the XIM only if it exists. While the code does look safe
5257 in general, there can be corner cases where the "reconnecting"
5258 boolean being FALSE does not correspond to the XIM being
5259 allocated (fixes #329450, fix taken from maemo-gtk).
5261 Fri Jan 26 13:07:07 2007 Tim Janik <timj@imendio.com>
5263 * gtk/gtkstyle.c (draw_insertion_cursor): clamp cursor coordinates to
5264 window bounds (fix from Maemo Gtk).
5266 2007-01-26 Michael Natterer <mitch@imendio.com>
5268 * gtk/gtkentrycompletion.c (gtk_entry_completion_insert_prefix):
5269 only block/unblock completion->priv->insert_text_id if it is
5270 actually connected. While this can't happen the way GtkEntry
5271 itself uses the completion, it's still public API and should not
5272 blindly call functions that will spit warnings (fix taken from
5275 2007-01-25 Matthias Clasen <mclasen@redhat.com>
5277 * gdk/gdkwindow.c: Reduce locking overhead by not repeatedly getting
5278 the paintable iface.
5280 2007-01-24 Michael Natterer <mitch@imendio.com>
5282 * gtk/gtkwidget.c (gtk_widget_set_state): revert generic disabling
5283 of PRELIGHT state for the reasons given in bug #135666. Widget
5284 states are sometimes abused or otherwise used wrongly for historic
5285 reasons, causing this part of the patch to break e.g. menu items.
5287 2007-01-24 Roozbeh Pournader <roozbeh@farsiweb.info>
5289 * README: Remove mention of no-longer-existing PATCH
5290 keyword in bugzilla. (#396899)
5292 2007-01-23 Carlos Garcia Campos <carlosgc@gnome.org>
5294 * gtk/gtkpagesetup.c
5295 (gtk_page_setup_set_paper_size_and_default_margins): Fix memory leak.
5298 2007-01-22 Chris Wilson <chris@chris-wilson.co.uk>
5300 Bug 399314 – Add G_GNUC_WARN_UNUSED_RESULT to gtk_style_attach
5303 Cause gcc to issue a warning if the style returned from
5304 gtk_style_attach is not used. Failure to update
5305 widget->style causes some very difficult to reproduce bugs,
5306 eg Bug 353498 – crash in Terminal: changing icon theme.
5308 2007-01-19 Michael Emmel <mike.emmel@gmail.com>
5310 * gdk/directfb/gdkevents-directfb.c: added fixes for window
5311 crossing events frm Attilio Fiandrotti<attilio.fiandrotti@gmail.com>
5313 2007-01-19 Matthias Clasen <mclasen@redhat.com>
5315 * gtk/gtkcalendar.c: Fix build breakage.
5317 2007-01-19 Kristian Rietveld <kris@imendio.com>
5319 * gtk/gtktreeview.c (gtk_tree_view_motion_bin_window),
5320 (add_scroll_timeout), (gtk_tree_view_drag_motion): factor out
5321 add_scroll_timeout(). (taken from maemo-gtk).
5323 2007-01-18 Matthias Clasen <mclasen@redhat.com>
5325 * gtk/gtkcalendar.c: Fix problems with the initial
5326 focus in GtkCalendar. (#397783, Vincent Untz)
5328 2007-01-19 Robert Ögren <gtk@roboros.com>
5330 Fix for bug #143460 - missed tablet clicks on Windows
5332 * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check):
5333 Request absolute reporting of tablet button state, and cut down
5334 the packet queue size a bit.
5335 (_gdk_input_other_event): Change button state handling
5336 accordingly. Also drop the no longer necessary code that detects
5337 missed clicks/releases for button 1. The switch to absolute button
5338 state should prevent missed events for all buttons. Additionally,
5339 swap button 2 and 3.
5340 (_gdk_input_grab_pointer): Don't reset button_state, that will only
5341 cause a new press event as soon as the next tablet packet arrives.
5343 2007-01-19 Tor Lillqvist <tml@novell.com>
5345 Build Wintab support always on Windows. Don't require the Wintab
5348 * configure.in: Drop the --with-wintab option. Drop the
5349 HAVE_WINTAB feature test macro and Automake variable.
5352 * config.h.win32.in: Drop HAVE_WINTAB.
5354 * gdk/win32/gdkevents-win32.c
5355 * gdk/win32/gdkinput.c
5356 * gdk/win32/gdkinput-win32.h
5357 * gdk/win32/gdkinput-win32.c
5358 * gdk/win32/gdkmain-win32.c: Make HAVE_WINTAB ifdef blocks
5361 * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Try
5362 to load wintab32.dll dynamically here. If it is found look up the
5363 handful Wintab functions we use.
5364 (rest of file): Use these function pointers instead of calling the
5365 functions from wntab32x.lib. The code in wntab32x.lib did the same
5366 thing anyway: tried to load wintab32.dll, and looked up the
5367 addresses of the actual functions from it.
5370 * gdk/win32/Makefile.am: Drop the libwntab32x hacks.
5372 * gdk/win32/wintab.h
5373 * gdk/win32/pktdef.h: New files. Copied from the Wintab
5374 SDK. Copyright blurb says: "The text and information contained in
5375 this file may be freely used, copied, or distributed without
5376 compensation or licensing restrictions."
5378 * README.win32: Update a bit. Remove the text about the Wintab
5381 2007-01-18 Tor Lillqvist <tml@novell.com>
5383 * gdk-pixbuf/Makefile.am
5385 * gdk/win32/Makefile.am
5386 * gtk/Makefile.am: Fixes for building outside srcdir on
5387 Win32. (#336819, #340013) Drop distributing the handmade .la
5388 libtool wrapper for the wntab32x library. It's too much trouble
5389 making it work when building outside srcdir. Just link to the
5390 library direcly using -Wl,win32/libwntab32x.a.
5392 2007-01-18 Michael Natterer <mitch@imendio.com>
5394 * gtk/gtkcheckbutton.c
5399 * gtk/gtkviewport.c: pass more clip rectangles to gtk_paint_foo()
5400 functions. Based on a patch from maemo-gtk (bug #398023).
5402 2007-01-17 Tor Lillqvist <tml@novell.com>
5404 * gtk-zip.sh.in: Include also the COPYING file.
5406 2007-01-17 Matthias Clasen <mclasen@redhat.com>
5408 * modules/printbackends/cups/gtkprintbackendcups.c: Don't use
5409 httpGetFd() when building against cups 1.1
5411 2007-01-17 Tor Lillqvist <tml@novell.com>
5413 Proper fix for #396175:
5415 * gtk/gtkimmulticontext.c: Revert change by Hans Breuer below: Do
5416 include gtkprivate.h. On Win32 we do want to use the redefinition
5417 of GTK_LOCALEDIR as a call to the function _gtk_get_localedir().
5419 * gtk/gtkimmodule.c: Instead, correct the prefix also on
5420 simple_context_info.domain_dirname. Do the prefix corrections
5421 always on Win32, not just when GTK_LIBDIR is defined. i.e., until
5422 now they were done only in the autoconfiscated gcc builds. Hans
5423 needs to make sure GTK_LIBDIR and GTK_LOCALEDIR are defined also
5425 (correct_localedir_prefix): New function, like
5426 correct_libdir_prefix(), but for GTK_LOCALEDIR, in case
5427 GTK_LOCALEDIR is not a descendant of GTK_LIBDIR.
5428 (gtk_im_module_initialize): Thus call correct_localedir_prefix()
5429 on the domain_dirname instead of correct_libdir_prefix().
5430 (_gtk_im_module_list): Call correct_localedir_prefix() on
5431 simple_context_info.domain_dirname.
5433 2007-01-16 Matthias Clasen <mclasen@redhat.com>
5435 * gtk/gtkrange.c (range_grab_remove): Queue a redraw when the
5436 grab changes. (#396470, Benjamin Berg)
5438 2007-01-15 Emmanuele Bassi <ebassi@gnome.org>
5440 * gtk/gtkrecentchoosermenu.c: Ellipsize the menu items label
5441 if they grow too much. (#357303)
5443 2007-01-14 Matthias Clasen <mclasen@redhat.com>
5445 * gtk/gtkicontheme.c (theme_lookup_icon): When finding a matching
5446 non-scalable dir, keep going and look for a closer match.
5447 (#395830, Luca Ferretti)
5449 2007-01-14 Christian Persch <chpe@svn.gnome.org>
5451 * gtk/gtkclipboard.c: (gtk_clipboard_set_text),
5452 (gtk_clipboard_set_image): Use gtk_target_table_new_from_list and
5453 gtk_target_table_free instead of duplicating the code. Bug #396493.
5455 2007-01-13 Matthias Clasen <mclasen@redhat.com>
5457 * gtk/gtkuimanager.c: Don't crash if menu or toolbar
5458 positions can't be found. (#396161, Hans Breuer)
5460 2007-01-13 Matthias Clasen <mclasen@redhat.com>
5462 * gtk/gtkselection.c (_gtk_selection_request): Plug
5463 memory leaks. (#396160, Carlos Garcia Campos)
5465 2007-01-13 Matthias Clasen <mclasen@redhat.com>
5467 * configure.in: Link libgtk against Xfixes. (#396074,
5470 2007-01-13 Matthias Clasen <mclasen@redhat.com>
5472 * gtk/gtkradiobutton.c (gtk_radio_button_focus): Avoid
5473 a compiler warning. (#395045, Chris Wilson)
5475 2007-01-13 Hans Breuer <hans@breuer.org>
5477 * gtk/gtkprintoperation-win32.c : take the custom tab label from
5478 gtk_print_operation_set_custom_tab_label() into account (bug #390746).
5480 * gtk/gtkimmulticontext.c : don't include "gtkprivate.h" to avoid
5481 differing definitions of GTK_LOCALEDIR (bug #396175).
5483 * gtk/gtktreeview.c : use g_snprintf instead of snprintf, which is
5484 not available everywhere
5486 * gtk/makefile.msc.in : updated
5488 2007-01-12 Michael Natterer <mitch@imendio.com>
5490 * gtk/gtkentry.c (gtk_entry_button_press): don't add
5491 entry->scroll_offset to entry->drag_start_y. Fixes the entry
5492 starting drags after ridiculously small mouse movements.
5494 2007-01-11 Richard Hult <richard@imendio.com>
5496 * demos/gtk-demo/main.c: (load_file): Close the file after it's
5497 loaded (bug #395316).
5499 2007-01-11 Kjartan Maraas <kmaraas@gnome.org>
5501 * gtk/gtkfilesystemunix.c: (expand_tilde):
5502 Make a single tilde go to $HOME in the location entry.
5503 Patch from Yevgen Muntyan. Closes the gtk+ part of
5506 2007-01-10 Behdad Esfahbod <behdad@gnome.org>
5508 * gdk/gdkpango.c (gdk_draw_layout_with_colors):
5509 * gtk/gtklabel.c (gtk_label_size_request):
5510 Use pango_matrix_transform_rectangle(). (#340141)
5512 * configure.in: Bump pango requirement to 1.15.3.
5514 2007-01-10 Kristian Rietveld <kris@imendio.com>
5516 * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_init):
5517 refactor to initialize indicator_size to TOGGLE_WIDTH instead
5518 of the hardcoded value of 12.
5520 2007-01-09 Matthias Clasen <mclasen@redhat.com>
5522 * configure.in: Fix the directfb cairo test. (#394855,
5525 2007-01-09 Behdad Esfahbod <behdad@gnome.org>
5527 * configure.in: Fix comment for --with-included-loaders. That option
5528 affects builds with module loading enabled too.
5530 2006-01-08 Peter Teichman <peter@novell.com>
5532 * gtk/gtkfilechooserdefault.c:
5533 * gtk/gtkfilechooserprivate.h:
5534 * gtk/gtkfilechoosersettings.c:
5535 * gtk/gtkfilechoosersettings.h:
5536 Save the expanded state of the folder browser with the file
5537 chooser settings. Resolves the expander portions of (#153828,
5540 2007-01-08 Emmanuele Bassi <ebassi@gnome.org>
5542 * gtk/gtkrecentchoosermenu.c (gtk_recent_chooser_menu_create_item):
5543 Don't leak the icon pixbuf after setting it to the image menu
5544 item. Found by Paolo Borelli.
5546 2007-01-08 Matthias Clasen <mclasen@redhat.com>
5548 * gtk/gtktreemodel.c (gtk_tree_path_to_string): Don't
5549 corrupt memory when faced with paths with ridiculously
5550 large indices. Found by the GTKVTS test suite.
5552 2007-01-08 Matthias Clasen <mclasen@redhat.com>
5554 * gtk/gtkmodules.c (_gtk_modules_init): Set
5555 default_display_opened before loading modules. (#393102,
5558 2007-01-07 Matthias Clasen <mclasen@redhat.com>
5560 * gtk/gtktextview.c (gtk_text_view_set_border_window_size):
5561 Call text_window_realize() with the correct parameters.
5562 (#393813, Yevgen Muntyan)
5564 2007-01-07 Matthias Clasen <mclasen@redhat.com>
5566 * gtk/gtkstatusbar.c: Move docs inline, and expand them
5569 2007-01-06 Matthias Clasen <mclasen@redhat.com>
5571 * gtk/gtklabel.c: Make line wrapping work with width-chars
5572 and max-width-chars, and simplify the storage of wrap-width.
5573 (#322580, Itai Bar-Haim)
5575 2007-01-06 Tor Lillqvist <tml@novell.com>
5577 * gdk/win32/cursor.bdf: New file. Downloaded from
5578 freedesktop.org's webcvs. Slighly edited cursors "crosshair",
5579 "diamond_cross", "draft_large", "gobbler" and "target" to fix
5580 #392504. It is possible that the same end result could have been
5581 achieved by tweaking bdfcursor.c instead.
5583 * gdk/win32/bdfcursor.c: Add optional debugging output.
5585 * gdk/win32/xcursors.h: Regenerated.
5587 2007-01-05 Matthias Clasen <mclasen@redhat.com>
5589 * gtk/gtknotebook.c (gtk_notebook_set_menu_label_text): Left-align
5590 menu labels. (#393255, Michail Crayson)
5592 2007-01-05 Kristian Rietveld <kris@gtk.org>
5594 * gtk/gtktreeview.c (gtk_tree_view_dy_to_top_row): handle tree
5595 == NULL. (Fixes #392685, reported by Yevgen Muntyan).
5597 2007-01-05 Kristian Rietveld <kris@gtk.org>
5599 * gtk/gtktreeview.c (gtk_tree_view_row_changed): do allow to
5600 invalidate nodes if the tree view is not realized. (#363147,
5601 Carlos Garnacho, Miguel Cabrera).
5603 2007-01-05 Matthias Clasen <mclasen@redhat.com>
5605 * gtk/gtkmenu.c (gtk_menu_paint): Take the scroll arrow into
5606 account when drawing the background. (#393166, Benjamin Berg)
5608 2007-01-05 Behdad Esfahbod <behdad@gnome.org>
5610 * gtk/gtklabel.c (get_layout_location): Fix broken width computation,
5613 2007-01-05 Carlos Garnacho <carlosg@gnome.org>
5615 * gtk/gtknotebook.c (gtk_notebook_size_request): take into account
5616 both scroll arrows when calculating size request in GTK_POS_LEFT or
5617 GTK_POS_RIGHT notebooks. (#393124, reported by Christian Persch)
5619 2007-01-05 Michael Natterer <mitch@imendio.com>
5621 * gtk/gtkwindow.c (gtk_window_key_release_event): chain up to
5622 the right function (fix taken from maemo-gtk).
5624 2007-01-05 Behdad Esfahbod <behdad@gnome.org>
5627 * gdk/gdkpango.c (gdk_draw_layout_line_with_colors),
5628 (gdk_draw_layout_with_colors):
5629 * gdk/gdkwindow.c (gdk_window_draw_glyphs_transformed):
5630 Avoid overflow when converting coordinates to Pango units. (#332266,
5633 2007-01-04 Matthias Clasen <mclasen@redhat.com>
5635 * gtk/gtkcombobox.c (gtk_combo_box_popup): move set_cursor
5636 after realization of the popup window, so clamp node doesn't fail.
5637 (#346616, Tommi Komulainen, patch by Kristian Rietveld).
5639 2007-01-04 Behdad Esfahbod <behdad@gnome.org>
5641 * gtk/gtklabel.c (get_layout_location): Fix uninitialized width
5644 2007-01-04 Matthias Clasen <mclasen@redhat.com>
5647 * gdk-pixbuf/Makefile.am:
5649 * gdk/win32/rc/gdk.rc.in: Cross-compilation fixes.
5650 (#392646, Yevgen Muntyan)
5652 2007-01-04 Matthias Clasen <mclasen@redhat.com>
5654 * demos/gtk-demo/textscroll.c:
5655 * gtk/gtkhandlebox.c:
5656 * gtk/gtkcolorsel.c: Fix some compiler warnings.
5658 2007-01-03 Matthias Clasen <mclasen@redhat.com>
5660 * gtk/gtktextview.c: Rework the beep-on-uninserted-text
5661 by calling the input method regardless of editability,
5662 and beeping from the commit/preedit-changed handlers.
5663 (#390514, Yevgen Muntyan)
5665 2007-01-03 Matthias Clasen <mclasen@redhat.com>
5667 Fix #332604, reported by Joe Wreschnig, patch
5668 by Jan Arne Petersen and Behdad Esfahbod.
5670 * gtk/gtklabel.c (gtk_label_size_allocate): Only
5671 set the width of the layout when necessary.
5672 (get_layout_location): Use pango_layout_get_pixel_extents()
5673 instead of pango_layout_get_width().
5675 2007-01-03 Matthias Clasen <mclasen@redhat.com>
5677 * modules/printbackends/cups/gtkprintbackendcups.c
5678 (available_choices): Don't leak conflicts.
5680 * gtk/gtkprintoperation.c (gtk_print_operation_finalize):
5681 Don't leak the status string.
5683 2007-01-03 Matthias Clasen <mclasen@redhat.com>
5685 * gtk/gtkfilechooserdefault.c (update_chooser_entry):
5686 Exit early if we can't get file info - this happens
5687 if the iter points to the row where we are editing
5688 the name for a newly created folder. (#392191, Michael
5689 Partridge, patch by Kristian Rietveld)
5691 2007-01-03 Matthias Clasen <mclasen@redhat.com>
5694 * gdk/x11/*.c: Apply a patch by Chris Wilson to
5695 avoid spurious valgrind warnings from XSendEvent()
5698 * modules/printbackends/cups/gtkprintbackendcups.c: Close
5699 the http connection after getting the PPD.
5701 * gtk/gtkprinteroptionwidget.c (filesave_changed_cb):
5704 2007-01-03 Matthias Clasen <mclasen@redhat.com>
5706 * gtk/gtkassistant.c (remove_page): If the current page
5707 is removed, always pick a different one. (#392457,
5710 2007-01-03 Matthias Clasen <mclasen@redhat.com>
5712 * modules/printbackend/cups/*.c: Coding style cleanups.
5714 2007-01-03 Matthias Clasen <mclasen@redhat.com>
5716 * configure.in: Export SED to make sourcing of
5717 libtool work. Tighten up the directfb pkgconfig check.
5719 2007-01-03 Michael Natterer <mitch@imendio.com>
5721 * gtk/gtkstyle.c (option_menu_get_props)
5722 * gtk/gtkoptionmenu.c (gtk_option_menu_get_props): Use
5723 gtk_border_free when freeing borders.
5725 2007-01-03 Matthias Clasen <mclasen@redhat.com>
5727 * gtk/gtkentry.c (get_text_area_size): Work when the
5728 entry is not realized. (#392315, Yevgen Muntyan)
5730 * gtk/gtkentry.c (gtk_entry_queue_draw): Use
5731 GTK_WIDGET_DRAWABLE() here. (#392227, Chris Wilson)
5733 * gtk/gtkentry.c (cursor_blinks): Don't get settings
5734 unnecessarily. (#392227)
5736 2007-01-02 Matthias Clasen <mclasen@redhat.com>
5738 * gtk/gtkwindow.c (gtk_window_move_resize): Only process
5739 updates on the window at hand, not on all windows, to
5740 avoid violating resize/redraw ordering constraints.
5741 (#362406, Owen Taylor)
5743 2007-01-03 Kristian Rietveld <kris@gtk.org>
5745 * gtk/gtkcellrendererprogress.c
5746 (gtk_cell_renderer_progress_class_init): fix docs.
5748 2007-01-02 Matthias Clasen <mclasen@redhat.com>
5750 * gtk/updateiconcache.c: Include locale.h
5752 2007-01-02 Matthias Clasen <mclasen@redhat.com>
5754 * gtk/updateiconcache.c (main): Call setlocale().
5757 * gtk/gtkfilesystemunix.c:
5758 * gtk/gtkfilesystemwin32.c:
5759 * gtk/gtkfilechoosersettings.c:
5760 * gtk/updateiconcache.c: Consistently use folder instead of
5761 directory in translated messages. (#344584, Javier F. Serrador)
5763 2007-01-02 Matthias Clasen <mclasen@redhat.com>
5765 Try to fix #315732, reported by Luke Hutchinson:
5767 * gdk/x11/xsettings-client.[hc]:
5768 * gdk/x11/gdkdevents-x11.c: Don't assume that ref'ing a GdkWindow
5769 will guarantee that it can be looked up in the xid hash later.
5770 Also, use the nesting server grab function during the xsettings
5771 client initialization. Finally, make xsettings client not
5772 eat DestroyNotifys so that GDK can do its regular cleanup.
5774 2007-01-02 Michael Natterer <mitch@imendio.com>
5776 * gtk/gtkrange.c (gtk_range_scroll) (gtk_range_move_slider): beep
5777 when a keybinding didn't change adjustment->value.
5779 2007-01-02 Matthias Clasen <mclasen@redhat.com>
5781 * gtk/gtktextbuffer.c (gtk_text_view_key_press_event):
5782 Try harder not to beep on events which are not meant to
5783 insert stuff in the buffer. (#390514, Yevgen Muntyan)
5785 2007-01-02 Matthias Clasen <mclasen@redhat.com>
5787 * gtk/gtktextbufferrichtext.c: Small documentation fixes.
5789 2007-01-02 Matthias Clasen <mclasen@redhat.com>
5791 * gtk/gtkentry.c (get_text_area_size): Center in the frame.
5792 (#304482, Rob Staudinger, patch by Richard Stellingwerff)
5794 2007-01-02 Michael Emmel <mike.emmel@gmail.com>
5796 * gdkwindow-directfb.c: fixed leak of dfb resource on destroy
5798 2007-01-01 Matthias Clasen <mclasen@redhat.com>
5800 * gtk/gtkscrolledwindow.h:
5801 * gtk/gtkscrolledwindow.c: Only handle key bindings
5802 for scrolling if the scrollbars are visible.
5803 (#340135, Christian Persch)
5805 2007-01-01 Matthias Clasen <mclasen@redhat.com>
5807 * gtk/gtktextview.c (gtk_text_view_scroll_hpages):
5808 Don't segfault on horizontal scrolling.
5810 2007-01-01 Matthias Clasen <mclasen@redhat.com>
5812 * gtk/gtknotebook.h:
5813 * gtk/gtknotebook.c: Only handle key bindings for
5814 tab reordering if the tabs are shown and reorderable.
5815 (#390468, Yevgen Muntyan)
5817 * gtk/gtkmarshalers.list: Add required marshaler
5819 2007-01-01 Matthias Clasen <mclasen@redhat.com>
5821 * gtk/gtkcontainer.c (gtk_container_class_list_child_properties):
5822 Mention in the docs that the return value is
5823 NULL-terminated. (#383373, Christian Neumair)
5825 2007-01-01 Matthias Clasen <mclasen@redhat.com>
5827 * gtk/gtkicontheme.c (load_themes): Waste less time
5828 with non-directories. (#391725, Chris Wilson)
5830 2007-01-01 Matthias Clasen <mclasen@redhat.com>
5832 * gtk/gtkcellrendererprogress.c: Implement activity mode
5833 for GtkCellRendererProgress. (#377851, Brad Taylor)
5835 2007-01-01 Matthias Clasen <mclasen@redhat.com>
5837 Fix some IPP compliance issues. (#391523, Albrecht Dress)
5839 * modules/printbackends/cups/gtkcupsutils.c
5840 (gtk_cups_request_encode_option): Use IPP_TAG_JOB, not
5842 * modules/printbackends/cups/gtkprintbackendcups.c
5843 (gtk_print_backend_cups_print_stream): Don't add the
5844 requesting-user-name attribute a second time.
5846 2007-01-01 Matthias Clasen <mclasen@redhat.com>
5848 * gtk/gtkimcontextsimple.c: Fix en/em dash confusion. (#378462)
5850 2006-12-31 Emmanuele Bassi <ebassi@gnome.org>
5852 * gtk/gtkrecentchoosermenu.c (set_recent_manager): Use the
5853 right object when disconnecting from the GtkRecentManager::changed
5854 signal; save us a few indirections using a variable.
5856 2006-12-31 Emmanuele Bassi <ebassi@gnome.org>
5858 * gtk/gtkrecentchoosermenu.c: Move the signal and idle
5859 disconnections into the dispose function, as well as the
5860 object unrefs; reset every handler id and the
5861 pointers. (suggested by Paolo Borelli, #390873)
5863 2006-12-31 Matthias Clasen <mclasen@redhat.com>
5865 * gtk/gtkprintoperation-win32.c: Include windows.h (#391229,
5868 2006-12-30 Matthias Clasen <mclasen@redhat.com>
5870 * gtk/gtktextview.c (gtk_text_view_destroy): Remove the
5871 scroll timeout. (#390872, Yevgen Muntyan)
5873 2006-12-30 Matthias Clasen <mclasen@redhat.com>
5875 * gtk/gtkprintoperation-unix.c:
5876 * gtk/gtkprintbackend.c:
5877 * gtk/gtkfilechooserdefault.c:
5878 * gtk/gtksettings.c: Move a few settings to gtksettings.c
5879 to make sure they show up in the docs. (#365364, Christian
5882 2006-12-30 Matthias Clasen <mclasen@redhat.com>
5884 * gtk/gtkassistant.c: Redraw assistant on reallocate
5885 to avoid rendering glitches. (#343956, Christian
5886 Persch, Carlos Garnacho)
5888 2006-12-30 Matthias Clasen <mclasen@redhat.com>
5890 * gtk/gtkrange.c: Typo fix. (#352121, Clytie Siddall)
5892 2006-12-30 Matthias Clasen <mclasen@redhat.com>
5894 * gtk/gtkaction.c: Improve the docs of the "label"
5895 property. (#341730, Kristof Vansant)
5897 2006-12-30 Matthias Clasen <mclasen@redhat.com>
5899 * gtk/gtkwindow.c (gtk_window_compute_configure_request_size):
5900 Correctly handle min size. (#320465, Philipp Langdale)
5902 2006-12-30 Matthias Clasen <mclasen@redhat.com>
5904 * gtk/prop-editor.c: Implement editing of flags.
5906 2006-12-30 Matthias Clasen <mclasen@redhat.com>
5911 * gtk/gtkstatusbar.c:
5912 * gtk/gtktextview.c: Don't install cursors on insensitive
5913 widgets. (#358864, Jan Schampera)
5915 2006-12-29 Matthias Clasen <mclasen@redhat.com>
5917 * gtk/gtkrecentmanager.h:
5918 * gtk/gtkprintoperation.c: Fix doc typos. (#370909,
5921 * gtk/gtkstyle.c (gtk_style_attach): Clarify docs. (#353423,
5924 * gtk/gtkentry.c (blink_cb):
5925 * gtk/gtktextview.c (blink_cb): Don't die in an assertion
5926 if focus went missing. Just warn, clean up and continue.
5929 2006-12-29 Carlos Garnacho <carlosg@gnome.org>
5931 * gtk/gtknotebook.c (gtk_notebook_scroll): return if the widget that
5932 originally received the event is a notebook page. (#315440, reported
5935 2006-12-29 Matthias Clasen <mclasen@redhat.com>
5937 * gdk/gdkcolor.c (gdk_color_hash): Fix a typo. (#390613,
5940 2006-12-29 Matthias Clasen <mclasen@redhat.com>
5942 * tests/prop-editor.c: Display children of containers
5943 and cell renderers of cell layouts.
5946 * gtk/gtkcelllayout.[hc] (gtk_cell_layout_get_cells):
5947 New function to get the cell renderers of a cell layout.
5949 * gtk/gtktreeviewcolumn.c:
5950 * gtk/gtkcellview.c:
5951 * gtk/gtkiconview.c: Implement get_cells.
5953 2006-12-28 Matthias Clasen <mclasen@redhat.com>
5955 * gtk/gtkiconview.c: Use word wrapping by default, and
5956 center multiline labels. (#318763, Ross Burton)
5958 * gtk/gtkcellrenderertext.c (get_layout): Remove a special
5959 case for single-line layouts.
5961 2006-12-28 Matthias Clasen <mclasen@redhat.com>
5963 * gtk/gtkarrow.c: Fix a typo in the docs. (#390423,
5966 * gtk/gtkuimanager.c (update_node): Only use the results
5967 of find_menu/toolbar_position() if they succeed. May fix
5970 2006-12-28 Matthias Clasen <mclasen@redhat.com>
5972 * gdk/gdk.c: Fix some formatting errors in docs.
5974 2006-12-28 Tor Lillqvist <tml@novell.com>
5976 * gtk/gtkstatusicon.c (gtk_status_icon_finalize)
5977 (gtk_status_icon_update_image): Don't leak HICONs on
5978 Win32. (#364868, Hiroyuki Yamamoto)
5980 2006-12-28 Carlos Garnacho <carlosg@gnome.org>
5982 Make GtkNotebook able to drop detached tabs anywhere. Bug #360225.
5984 * gtk/gtkwidget.c (gtk_widget_class_init): add "drag-failed" signal.
5985 * gtk/gtkmarshalers.list: add new marshaler definition.
5986 * gtk/gtkenums.h: add GtkDragResult enum.
5988 * gtk/gtkdnd.c (gtk_drag_drop_finished): emit "drag-failed" if DND
5989 operation wasn't successful.
5990 (_gtk_drag_source_handle_event) (gtk_drag_drop)
5991 (gtk_drag_selection_get) (gtk_drag_cancel) (gtk_drag_key_cb)
5992 (gtk_drag_grab_broken_event_cb) (gtk_drag_grab_notify_cb)
5993 (gtk_drag_button_release_cb) (gtk_drag_abort_timeout): tell
5994 gtk_drag_drop_finished() the operation result.
5996 * gtk/gtknotebook.c (gtk_notebook_drag_failed): new function.
5997 (gtk_notebook_drag_data_get): do not call window creation hook here.
5998 (gtk_notebook_init): do not set "application/x-rootwindow-drop"
5999 target, instead connect to "drag-failed".
6000 (gtk_notebook_draw_focus): fix potential crasher if cur_page is NULL.
6002 2006-12-28 Mikael Hallendal <micke@imendio.com>
6004 * gdk/quartz/gdkevents-quartz.c: Factored out the event loop
6005 integration into gdkeventloop-quartz.c.
6007 * gdk/quartz/Makefile.am: Added gdkeventloop-quartz.c
6009 * gdk/quartz/gdkeventloop-quartz.c: New file containing the event loop
6012 2006-12-27 Matthias Clasen <mclasen@redhat.com>
6014 * modules/printbackends/lpr/gtkprintbackendlpr.c
6015 (gtk_print_backend_lpr_print_stream): Close the io channel
6016 on unref. (#390159, Joe Markus Clarke)
6018 2006-12-27 Matthias Clasen <mclasen@redhat.com>
6020 * gdk/gdk.h: Remove redundant declarations (#390097,
6023 2006-12-27 Kristian Rietveld <kris@gtk.org>
6025 Support inverting arrows via XSetting. (#377979, Yevgen Muntyan).
6027 * gtk/gtksettings.c (gtk_settings_class_init): add new setting
6028 gtk-alternative-sort-arrows.
6030 * gdk/win32/gdkproperty-win32.c (gdk_screen_get_setting): add
6033 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: set new
6034 gtk-alternative-sort-arrows setting to true.
6036 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
6037 invert direction if gtk-alternative-sort-arrows is TRUE.
6039 2006-12-27 Tor Lillqvist <tml@novell.com>
6041 * gtk/gtk.symbols: Add gtk_status_icon_get_screen and
6042 gtk_status_icon_set_screen.
6044 * gtk/gtkstatusicon.c: Implement gtk_status_icon_position_menu()
6045 on Windows. Keep track of where the last button click on the
6046 taskbar icon took place, and return that. Obviously not correct if
6047 no button has ever been clicked on the icon, or if the geometry of
6048 the taskbar has changed since. But for most use cases where a menu
6049 is going to be displayed as a direct result of a button click on
6050 the status icon, works fine. (#377349)
6052 Implement getting the orientation property on Windows.
6054 (gtk_status_icon_embedded_changed)
6055 (gtk_status_icon_orientation_changed): Ifdefify these functions
6056 that are used only on X11.
6058 2006-12-27 Tor Lillqvist <tml@novell.com>
6060 * gtk/gtkfilesystemwin32.c (execute_callbacks): Fix
6061 typo. (#390035, Kazuki Iwamoto)
6063 2006-12-27 Matthias Clasen <mclasen@redhat.com>
6065 * gtk/gtkcellview.c (gtk_cell_view_set_model): Accept NULL.
6067 * gtk/gtkcombobox.c (gtk_combo_box_set_model):
6068 (gtk_combo_box_unset_model): Handle repeated unsetting
6069 of models without warnings. (#367529, Robert Ancell)
6071 2006-12-27 Matthias Clasen <mclasen@redhat.com>
6073 * modules/printbackends/cups/gtkcupsutils.c:
6074 * modules/printbackends/cups/gtkprintbackendcups.c: Use
6075 getters for http fields where available. (#364866,
6078 2006-12-27 Matthias Clasen <mclasen@redhat.com>
6080 * gtk/gtkwidget.c (gtk_widget_show): Add a g_return_if_fail.
6081 (#362614, Xan Lopez)
6083 2006-12-27 Matthias Clasen <mclasen@redhat.com>
6085 * gtk/gtkuimanager.c (update_node): If a required action
6086 is missing, don't recurse over the children. (#349119,
6089 2006-12-27 Matthias Clasen <mclasen@redhat.com>
6091 Fix a few problems with nested menus in comboboxes
6092 (#386694, Yevgen Muntyan)
6094 * gtk/gtkcombobox.c (gtk_combo_box_menu_fill_level): Always
6095 connect the activate callback.
6096 (gtk_combo_box_menu_item_activate): Do nothing if called on
6097 an item with a submenu.
6098 (gtk_combo_box_menu_row_deleted): Remove a submenu when it
6101 2006-12-26 Mariano Suárez-Alvarez <mariano@gnome.org>
6103 * gtk/gtkfilechooserbuuton.[hc]: Add a file-set signal to the
6104 filechooser button. Bug 353196.
6106 2006-12-26 Kristian Rietveld <kris@gtk.org>
6108 * gtk/gtktreeview.c (gtk_tree_view_search_init): fix typo causing
6109 the search dialog timeout never to be refreshed. (#389581,
6110 Andrzej Szombierski).
6112 2006-12-26 Kristian Rietveld <kris@gtk.org>
6114 Lots of scrolling fixes. Made scrolling work properly in not fully
6115 validated tree views; fixed a bunch of corner cases.
6117 * gtk/gtktreeview.c (validate_visible_area): if a row's dy is past
6118 upper - page_size, we know it is located at the end so the test for
6119 dy + height has been dropped.
6120 In the same case if area_below < 0, we know this is the last node
6121 in the tree view so area_above is page_size - height of this row.
6122 (validate_visible_area): got rid of subtracting new_height -
6123 old_height from area_{below,above}, it didn't make any sense at
6124 all and the full height of the row should be subtracted instead.
6125 (validate_visible_area): when scrolling to a given path, set the
6126 top row directly together with the dy offset, then sync that top_row
6128 (gtk_tree_view_set_top_row): new function to directly set a top_row.
6129 (gtk_tree_view_dy_to_top_row): refactored to use
6130 gtk_tree_view_set_top_row().
6131 (gtk_tree_view_top_row_to_dy): make sure dy >= 0 when done.
6132 (gtk_tree_view_adjustment_changed): only update our dy and
6133 top_row if the adjustment's dy actually changed.
6135 2006-12-26 Christian Persch <chpe@cvs.gnome.org>
6137 * gtk/gtknotebook.c: (gtk_notebook_real_insert_page):
6138 Return the correct value from gtk_notebook_insert_page if the
6139 page-added handler reorders the tabs. Bug #345094.
6141 2006-12-26 Carlos Garnacho <carlosg@gnome.org>
6143 Fix small regressions in GtkNotebook tab detaching. Bug #378852.
6145 * gtk/gtknotebook.c (gtk_notebook_do_arrow): grab focus to allow tabs
6146 scrolling when hovering with a detached tab.
6147 (gtk_notebook_stop_reorder): Do not deparent the wrong tab if the
6148 focus tab has changed during a tab DND operation.
6149 (gtk_notebook_drag_end): ensure that the dropped tab gets focused.
6150 (gtk_notebook_paint): do not take cur_page as a reference to paint the
6151 box if it's detached.
6152 (gtk_notebook_calculate_tabs_allocation): focus_tab may be different
6153 to the detached tab if we hover the arrows during a tabs detaching
6154 operation, do not allocate it unconditionally in 0,0.
6156 2006-12-26 Carlos Garnacho <carlosg@gnome.org>
6158 Expose improvements for GtkNotebook. Bug #383435
6160 * gtk/gtknotebook.c (gtk_notebook_expose): propagate the event to tab
6162 (gtk_notebook_draw_focus): do not repaint the whole focused tab again.
6163 (gtk_notebook_draw_tab): do not send handmade expose events to tab
6166 2006-12-26 Matthias Clasen <mclasen@redhat.com>
6168 * gtk/gtkfilesystemunix.c (execute_callbacks): Return
6169 FALSE. (#389623, Carlos Garnacho Parro)
6171 * gtk/gtkrange.c (stop_scrolling): Avoid spurious
6174 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
6176 * gtk/gtkplug.c: (gtk_plug_construct_for_display),
6177 (gtk_plug_unrealize): Notify the "embedded" property also on
6178 normal construction and when destroying the socket window.
6181 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
6183 * gtk/gtkaboutdialog.c: (gtk_about_dialog_class_init),
6184 (gtk_about_dialog_init), (display_credits_dialog),
6185 (display_license_dialog):
6186 * gtk/gtkfilechooserdialog.c: (gtk_file_chooser_dialog_class_init),
6187 (gtk_file_chooser_dialog_init),
6188 (gtk_file_chooser_dialog_constructor),
6189 (gtk_file_chooser_dialog_unmap):
6190 * gtk/gtkrecentchooserdefault.c:
6191 (_gtk_recent_chooser_default_init):
6192 * gtk/gtkrecentchooserdialog.c:
6193 (gtk_recent_chooser_dialog_class_init),
6194 (gtk_recent_chooser_dialog_init),
6195 (gtk_recent_chooser_dialog_constructor),
6196 (gtk_recent_chooser_dialog_unmap): Set the HIG spacings directly
6197 instead of using style-set handlers. Fix the filechooser's spacing
6198 between content and action area to 12px. Bug #372447.
6200 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
6202 * gtk/gtkstatusbar.c: (gtk_statusbar_size_allocate):
6203 Don't assume statusbar->label is the statusbar's frame's child when
6204 shrinking the size allocation when the grip is shown. Bug #372452.
6206 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
6208 * gtk/gtkpagesetupunixdialog.c: (printer_status_cb),
6209 (add_custom_paper): Fix mem leaks. Bug #389194.
6211 2006-12-24 Matthias Clasen <mclasen@redhat.com>
6213 * gtk/gtktextutil.c: Remove debug output.
6215 * gtk/gtktextview.c: Improve the DND scrolling
6216 behaviour. (#92387, Carlos Garnacho Parro)
6218 * gtk/gtkaccellabel.c: Improve translators comments.
6219 (#389298, Christian Persch)
6221 2006-12-24 Bastien Nocera <hadess@hadess.net>
6223 * gtk/gtkrecentmanager.c: Fix typo (s/expansive/expensive)
6226 2006-12-24 Christian Persch <chpe@cvs.gnome.org>
6228 * docs/reference/gtk/gtk-sections.txt:
6230 * gtk/gtkpagesetupunixdialog.c: (fill_paper_sizes_from_printer):
6231 * gtk/gtkprinter-private.h:
6232 * gtk/gtkprinter.c: (gtk_printer_list_papers):
6233 * gtk/gtkprinter.h: Make gtk_printer_list_papers public. Bug #345587.
6235 2006-12-24 Carlos Garcia Campos <carlosgc@gnome.org>
6237 * gtk/gtkpagesetupunixdialog.c: Don't ignore reverse portrait option
6238 when is selected in page setup dialog. Fixes bug #365047.
6240 2006-12-24 Behdad Esfahbod <behdad@gnome.org>
6242 * gtk/gtkentry.c (_gtk_entry_effective_inner_border):
6243 Use gtk_border_free when freeing border.
6245 2006-12-24 Matthias Clasen <mclasen@redhat.com>
6247 * gtk/gtkentry.c (gtk_entry_button_press): When
6248 shift-clicking, keep the larger part of the selection
6249 selected. (#353709, Benjamin Otte)
6251 * gtk/gtkbutton.c (gtk_button_get_props): Use
6252 gtk_border_free when freeing borders.
6254 * gtk/gtkbutton.c (gtk_button_grab_notify): Be more
6255 careful when faking a button release. (#323146,
6258 * gtk/gtkhandlebox.c (draw_textured_frame): Draw the
6259 handle with the right orientation, depending on the
6260 position of the handlebox. (#159764, Benjamin Berg)
6262 2006-12-24 Behdad Esfahbod <behdad@gnome.org>
6264 * gtk/gtkstyle.c (gtk_border_copy), (gtk_border_free): Use gslice for
6265 GtkBorder (#383557).
6267 2006-12-24 Behdad Esfahbod <behdad@gnome.org>
6269 Bug 340141 – Update to Pango 1.16 API
6271 * gdk/gdkpango.c (layout_iter_get_line_clip_region),
6272 (gdk_pango_layout_line_get_clip_region):
6273 * gtk/gtkcalendar.c (gtk_calendar_size_request):
6274 * gtk/gtkentry.c (gtk_entry_get_pixel_ranges),
6275 (get_layout_position), (gtk_entry_find_position),
6276 (gtk_entry_adjust_scroll):
6277 * gtk/gtkiconview.c (get_pango_text_offsets):
6278 * gtk/gtklabel.c (get_cursor_direction):
6279 * gtk/gtkstyle.c (get_insensitive_layout):
6280 * gtk/gtktextdisplay.c (render_para):
6281 * gtk/gtktextlayout.c (allocate_child_widgets),
6282 (find_display_line_below), (find_display_line_above),
6283 (gtk_text_layout_move_iter_to_previous_line),
6284 (gtk_text_layout_move_iter_to_next_line),
6285 (gtk_text_layout_move_iter_to_line_end),
6286 (gtk_text_layout_iter_starts_line),
6287 (gtk_text_layout_move_iter_to_x):
6288 * gtk/gtktextutil.c (limit_layout_lines):
6289 Use the _readonly version of pango_layout_iter_get_line(),
6290 pango_layout_iter_get_run(), pango_layout_get_line(), and
6291 pango_layout_get_lines().
6293 * gtk/gtkmain.c (gtk_get_default_language): Use
6294 pango_get_default_language().
6296 2006-12-24 Matthias Clasen <mclasen@redhat.com>
6298 * gtk/gtkentry.c (gtk_entry_set_text): Emit changed
6299 and notify:text only once. The same fix was applied
6300 for replacing the selection via DND or copy-and-paste.
6301 (#64998, Damon Chaplin, Sven Herzberg)
6303 2006-12-23 Matthias Clasen <mclasen@redhat.com>
6305 * gtk/gtkimmulticontext.c: Be careful to not override
6306 GTK+ translations with the translations of the input
6307 method. (#317080, Tor Lillqvist)
6309 * modules/input/imcedilla.c: Use standard macros
6310 for translation domain and locale dir.
6312 * gtk/gtkimcontextsimple.c: Allow composing l with
6313 stroke. (#349638, Daniel Lublin)
6315 * gtk/gen-paper-names.c: Fix a thinko in the suffix
6316 calculation. (#382369, Christian Persch)
6318 * gtk/paper_names_offsets.c: Regenerated.
6320 2006-12-22 Matthias Clasen <mclasen@redhat.com>
6322 * modules/engines/pixbuf/pixbuf.h:
6323 * modules/engines/pixbuf/pixbuf-rc-style.h:
6324 * modules/engines/pixbuf/pixbuf-style.h: Move
6325 G_GNUC_INTERNAL before function declarations. (#352276,
6328 2006-12-22 Matthias Clasen <mclasen@redhat.com>
6330 * demos/gtk-demo/*.c: Fix some leaks. (#348108, Chris
6333 2006-12-22 Matthias Clasen <mclasen@redhat.com>
6335 * *.c: Replace a lot of idle and timeout calls by
6336 the new gdk_threads api.
6340 * gdk/gdk.c: Add functions to allow threadsafe handling
6341 of idles and timeouts wrt. to the GDK lock. (#321886,
6344 2006-12-22 Matthias Clasen <mclasen@redhat.com>
6346 * gdk/gdkpango.c: Use pango_cairo_show_error_underline.
6347 (#340141, Behdad Esfahbod)
6349 * configure.in: Check for getc_unlocked.
6351 * gtk/xdgmime/xdgmimemagic.c: Use getc if getc_unlocked is
6352 unavailable. (#381499)
6354 * tests/teststatusicon.c: Fix a typo
6356 2006-12-22 Matthias Clasen <mclasen@redhat.com>
6358 Make it possible to track the embeddedness of
6359 statusicon (#387215, Martyn Russell, patch by Christian
6362 * gtk/gtkstatusicon.c: Add orientation and embedded properties.
6364 * gtk/gtkplug-x11.c: Add an embedded property.
6365 * tests/teststatusicon.c: Test the new properties.
6367 * gtk/gtkwidget.c (gtk_widget_get_draw_rectangle): Don't
6368 leak draw_border. (#387170, Kjartan Maraas)
6370 2006-12-21 Matthias Clasen <mclasen@redhat.com>
6372 * gtk/gtkfilechooserembed.c (_gtk_file_chooser_embed_set_delegate()):
6373 Typo fix. (#388123, Murray Cumming)
6375 * gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event):
6376 Generate double-click events. (#380421, Tommi Komulainen)
6378 * gdk/x1/gdkinput-xfree.c (_gdk_input_configure_event):
6379 (_gdk_input_enter_event): Correct return_if_fail checks.
6380 (#379803, Tommi Komulainen)
6382 * gdk/gdkdisplay.c: Improve the docs of some functions operating
6383 on the default display. (##353438, Mariano Suárez-Alvarez)
6385 2006-12-21 Matthew Barnes <mbarnes@redhat.com>
6387 * docs/reference/gdk/gdk-sections.txt:
6388 * gdk/gdkcolor.[ch] (gdk_color_to_string): Add a function for
6389 converting a GdkColor to a string (#373856).
6391 * configure.in: Bump pango requirement to 1.15.2.
6393 2006-12-20 Matthias Clasen <mclasen@redhat.com>
6395 * gdk/keynames.txt: Mark arrow keys as translatable. (#369506,
6398 * gdk/keyname-table.h: Regenerated
6400 * gtk/gtktextbuffer.c: Add signal documentation. (#317064,
6401 Søren Wedel Nielsen)
6403 * gtk/gtktextview.c (gtk_text_view_start_selection_drag):
6404 Silently return if a drag is already in progress, rather
6405 than asserting. (#335622, Li Yuan, testcase by Erwann Chenede)
6407 * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_new_with_dialog):
6408 Allow any GtkDialog that implements GtkFileChooser as
6409 dialog. (#335473, Tommi Komulainen)
6411 2006-12-20 Mikael Hallendal <micke@imendio.com>
6413 * gtk/gtkstatusicon.c: (gtk_status_icon_init): Fixed a last minute
6414 change in the quartz backend.
6416 2006-12-20 Mikael Hallendal <micke@imendio.com>
6418 * gtk/Makefile.am: Added gtkstatusicon-quartz.c
6419 * gtk/gtkstatusicon-quartz.c: Implements the quartz backend for the
6421 * gtk/gtkstatusicon.c: Hooked in the new quartz backend. Bug #387874.
6423 2006-12-19 Matthias Clasen <mclasen@redhat.com>
6425 * gtk/gtkprintunixdialog.c: Add a tooltip explaining the
6426 format of page ranges, and improve the page sequence icon
6427 for the case of n_copies == 1.
6429 2006-12-19 Mikael Hallendal <micke@imendio.com>
6431 * gdk/quartz/gdkcursor-quartz.c: Splitted out the GdkPixbuf to NSImage
6432 routine so that it can be used from libgtk as well (needed for
6433 upcoming GtkStatusIcon support in the Quartz port).
6434 * gdk/quartz/gdkevents-quartz.c: Don't assume that all NSWindows are
6435 created from GDK, this is not true for the status icon.
6436 * gdk/quartz/gdkprivate-quartz.h:
6437 * gdk/quartz/gdkquartz.h: Added
6438 gdk_quartz_pixbuf_to_ns_image_libgtk_only so that it is available to
6439 the status icon code.
6441 2006-12-16 Tristan Van Berkom <tvb@gnome.org>
6443 * gtk/gtkmessagedialog.c: Added return_if_fail (image) to
6444 gtk_message_dialog_set_image ()
6446 * gtk/gtkscrolledwindow.c: Fixed a bug in set_property()
6447 (setting "window-placement-set" could result in a crash because
6448 of boolean/enum mixup)
6450 2006-12-15 Federico Mena Quintero <federico@novell.com>
6452 Merged from gtk-2-10:
6454 * gtk/gtkmenu.c (gtk_menu_set_title): Don't try to optimize for
6455 the case where the new title is the same as the old title, to
6456 preserve the behavior from GTK+ 2.8 (NULL and "" titles are not
6457 equivalent). Handle the case where title == priv->title. This
6458 was found by the LSB compatibility tests:
6459 https://bugzilla.novell.com/show_bug.cgi?id=223882
6461 2006-12-15 Dom Lachowicz <domlachowicz@gmail.com>
6463 * gtk/gtkcombobox.c: Make GtkComboBox in "appears-as-list" mode
6464 more closely resemble its Win32 counterpart. Bug #340204.
6466 2006-12-14 Carlos Garnacho <carlosg@gnome.org>
6468 * gtk/gtkcalendar.c: draw arrows pointing to the right correctly
6469 placed inside their GdkWindow. Bug #385672.
6471 2006-12-14 Christian Persch <chpe@cvs.gnome.org>
6473 * gtk/gtkiconview.c: Fix docs typo. Bug #385642.
6475 2006-12-13 Dom Lachowicz <domlachowicz@gmail.com>
6477 * src/modules/engines/ms-windows/msw_style.c: Bug 351679 - Notebooks
6478 drawn with extra line below tab in MS-Windows theme. Patch by
6481 2006-12-13 Matthias Clasen <mclasen@redhat.com>
6483 * gtk/Makefile.am: Add --unlink-tempfile to the evince call
6484 for print preview. (#370041, Ghee Teo)
6486 2006-12-11 Matthias Clasen <mclasen@redhat.com>
6488 * gtk/gtkprogressbar.c (gtk_progress_bar_paint_text): Be more
6489 careful when overdrawing antialiased text. (#352435, Alex Jones,
6490 patch by Benjamin Otte)
6492 * gtk/gtksettings.c: Change the way in which color scheme information
6493 is merged to correctly handle vanishing colors. (#374420,
6494 Benjamin Berg, patch by Callum McKenzie)
6495 Also allow to separate entries in color schemes by ';'
6498 2006-12-10 Matthias Clasen <mclasen@redhat.com>
6500 * modules/printbackends/cups/gtkcupsutils.c (gtk_cups_request_encode_option):
6501 Properly pass multi-value options to cups. (#355350, Jürg Billeter)
6503 2006-12-10 Kristian Rietveld <kris@gtk.org>
6505 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_focus_out_event):
6506 cancel editing (ie. don't accept changes) when the entry loses
6507 focus. (Fixes #164494, reported by Chris Rouch).
6509 2006-12-10 Matthias Clasen <mclasen@redhat.com>
6511 * configure.in: Correct a misapplied patch.
6513 2006-12-10 Tor Lillqvist <tml@novell.com>
6515 * gtk-zip.sh.in: Put gdk-pixbuf-query-loaders.exe and
6516 gtk-query-immodules-2.0.exe in the runtime zipfile instead of
6517 developer zipfile. Users might add pixbuf loaders or immodules
6518 even if they are not interested in developing gtk+-using software.
6520 2006-12-10 Matthias Clasen <mclasen@redhat.com>
6522 * configure.in: Check for crt_extern.h and _NSGetEnviron.
6523 * gdk/x11/gdkspawn-x11.c: Fix compilation on Darwin where
6524 environ is not available. (#384168, Min Sik Kim)
6526 2006-12-07 Paolo Maggi <paolo@gnome.org>
6530 * gtk/gtkentry.c (gtk_entry_set_text): check for
6531 completion->priv->changed_id > 0 before calling
6532 g_signal_handler_[un]block.
6533 (gtk_entry_completion_key_press): does not block/unblock the "changed"
6534 signal before calling gtk_entry_set_text.
6536 2006-12-07 Carlos Garnacho <carlosg@gnome.org>
6538 * gtk/gtkcellrendererprogress (compute_dimensions): do not use
6539 xthickness/ythickness, they aren't used any longer for drawing.
6541 2006-12-07 Matthias Clasen <mclasen@redhat.com>
6543 * gtk/gtkrc.c (_gtk_rc_init): Fix clipping of accelerator
6544 underlines by giving labels a small draw-border.
6546 2006-12-06 Kristian Rietveld <kris@gtk.org>
6548 * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_render):
6549 draw progress bar through theme engine instead of using our own
6550 custom cairo drawing code (#377244, patch from Carlos Garnacho).
6552 2006-12-06 Matthias Clasen <mclasen@redhat.com>
6554 * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities):
6555 Update the sensitivity of the collate checkbutton more frequently,
6556 proposed by Tim Waugh.
6558 2006-12-04 Matthias Clasen <mclasen@redhat.com>
6560 * gtk/gtkmessagedialog.c (setup_type): Set a11y name and role
6561 since we no longer set window titles.
6563 2006-12-04 Christian Persch <chpe@cvs.gnome.org>
6565 * gtk/gtkpagesetup.c: (gtk_page_setup_get_paper_size),
6566 (gtk_page_setup_set_paper_size): Don't leak the old page size when
6567 setting a new one. Bug #382314.
6569 2006-12-03 Michael Natterer <mitch@gimp.org>
6571 * gtk/gtktextview.c: remove FIXME #include that is no longer needed.
6573 2006-12-03 Kristian Rietveld <kris@gtk.org>
6575 Make sure [xy]_offset are always being initialized, fix pixbuf
6576 renderer padding. (#108235, Sven Neumann).
6578 * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_get_size),
6579 (gtk_cell_renderer_pixbuf_render): add padding in _render instead
6582 * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_get_size):
6583 always initialize [xy]_offset.
6584 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size): ditto.
6585 * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_size):
6588 2006-12-03 Kristian Rietveld <kris@gtk.org>
6590 * gtk/gtktreeview.c (validate_visible_area): when not using an
6591 explicit alignment, use the full area of the row (not just dy)
6592 to determine how to implicitly align it. (Fixes #363191, reported
6593 by Federico Mena Quintero).
6595 2006-12-02 Matthias Clasen <mclasen@redhat.com>
6597 * gtk/gtkicontheme.c (insert_theme): Properly clean up
6598 if an icon theme index file has no directories. (#381236)
6600 2006-12-02 Dom Lachowicz <domlachowicz@gmail.com>
6602 * src/modules/engines/ms-windows/msw_style.c: Bug 351678 - Notebooks
6603 not with PositionType.Top drawn incorrectly. Patch by Cody Russell
6605 2006-11-28 Behdad Esfahbod <behdad@gnome.org>
6607 Remove the broken Thai input method and add a functional Thai and Lao
6608 input method by Theppitak Karoonboonyanan. (#81031)
6610 * modules/input/imthai.c:
6611 * modules/input/gtkimcontextthai.c:
6612 * modules/input/gtkimcontextthai.h:
6613 * modules/input/thai-charprop.c:
6614 * modules/input/thai-charprop.h:
6617 * modules/input/imthai-broken.c:
6620 * modules/input/Makefile.am:
6623 2006-11-27 Christian Persch <chpe@cvs.gnome.org>
6625 * gtk/gtkstatusicon.c: Notify when the screen changes. Bug #379793.
6627 Mon Nov 27 12:27:06 2006 Tim Janik <timj@imendio.com>
6629 * gtk/gtktextview.c: applied patch by Colin Leroy for
6630 Control+GDK_KP_Left to move one word to the left, #356255.
6632 2006-11-26 Benjamin Berg <benjamin@sipsolutions.net>
6634 * gtk/gtkstyle.c: (gtk_default_draw_flat_box): Protect against NULL
6637 2006-11-25 Matthias Clasen <mclasen@redhat.com>
6639 * modules/printbackends/cups/gtkprintbackendcups.c: Make
6640 print dialog work when 'BrowseShortNames Off' is specified
6641 in cups configuration. Patch by Tim Waugh.
6643 2006-11-24 Michael Natterer <mitch@imendio.com>
6645 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): if we
6646 can't go up/down, consult gtk_widget_keynav_failed() and leave the
6647 widget if it returns FALSE (bug #322640).
6649 2006-11-23 Behdad Esfahbod <behdad@gnome.org>
6651 * gtk/gtkmain.c: Fix minor typo in docs. (#378632, Hannes Mueller)
6653 2006-11-22 Emmanuele Bassi <ebassi@gnome.org>
6655 * gtk/gtkrecentmanager.c:
6656 (get_uri_shortname_for_display): g_filename_from_uri() might
6657 fail; catch the failure and fall back to the non-local URI
6660 2006-11-19 Mark McLoughlin <mark@skynet.ie>
6662 Fixes bug #376502 - multi-screen support for GtkStatusIcon
6664 * gtk/gtkstatusicon.[ch]:
6665 (gtk_status_icon_set_screen),
6666 (gtk_status_icon_get_screen): add multi-screen API. Allows
6667 an app to display an icon on a non-default screen
6668 (gtk_status_icon_class_init),
6669 (gtk_status_icon_set_property),
6670 (gtk_status_icon_get_property): add a "screen" property
6672 * tests/teststatusicon.c: update to test on multiple screens
6674 2006-11-17 Matthias Clasen <mclasen@redhat.com>
6676 Fix problems with drag cancellation. (#376535, Michael Natterer)
6678 * gtk/gtkdnd.c (gtk_drag_source_info_destroy): Disconnect signal
6679 handlers before emitting drag-end.
6680 (gtk_drag_end): Disconnect signal handlers before removing
6683 2006-11-16 Mariano Suárez-Alvarez <mariano@gnome.org>
6685 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init):
6686 add gtk-doc blurb on GtkCellRendererText::edited (#376094)
6688 2006-11-16 Michael Natterer <mitch@imendio.com>
6690 * gtk/gtkradiobutton.c (gtk_radio_button_focus): don't use
6691 gtk_widget_keynav_failed(). Instead, look at gtk-keynav-cursor-only
6692 and gtk-keynav-wrap-around and wrap around, beep or continue outside
6693 the group manually (bug #322640).
6695 2006-11-16 Michael Natterer <mitch@imendio.com>
6697 Add new infrastructure for notifications of failed keyboard
6698 navigation and navigation with restricted set of keys.
6700 The patch handles configurable beeping, navigating the GUI with
6701 cursor keys only (as in phone environments), and configurable
6702 wrap-around. Fixes bugs #322640, #70986, #318827, #334726, #334742
6705 * gtk/gtksettings.c: added properties gtk-keynav-cursor-only,
6706 gtk-keynav-wrap-around and gtk-error-bell.
6708 * gtk/gtkwidget.[ch]: added new signal "keynav-failed" and public
6709 API to emit it. Added New function gtk_widget_error_bell() which
6710 looks at the gtk-error-bell setting and calls gdk_window_beep()
6713 * gtk/gtk.symbols: add the new widget symbols.
6715 * gtk/gtkcellrendereraccel.c
6716 * gtk/gtkimcontextsimple.c
6718 * gtk/gtknotebook.c: use gtk_widget_error_bell() or look at the
6719 gtk-error-bell setting instead of calling gdk_display_beep()
6726 * gtk/gtkmenushell.c
6727 * gtk/gtkspinbutton.c
6729 * gtk/gtktreeview.c: call gtk_widget_error_bell() on failed keynav.
6734 * gtk/gtktextview.c: consult gtk_widget_keynav_failed() on failed
6735 cursor navigation and leave the widget if it returns FALSE.
6737 * gtk/gtkmenushell.c
6738 * gtk/gtknotebook.c: only wrap around if gtk-keynav-wrap-around
6741 * gtk/gtkradiobutton.c: ask gtk_widget_keynav_failed() to decide
6742 whether to to wrap-around, and don't select active items on cursor
6743 navigation if gtk-keynav-cursor-only is TRUE. Should look at
6744 gtk-keynav-wrap-around too, will look into that.
6746 2006-11-16 Emmanuele Bassi <ebassi@gnome.org>
6748 * gtk/gtkrecentmanager.c:
6749 (gtk_recent_info_get_uri_display): Return the URI
6750 of the GtkRecentInfo object (upgraded to UTF-8 if
6751 needed) in case of non-local file. (#351945)
6753 2006-11-16 Emmanuele Bassi <ebassi@gnome.org>
6755 * gtk/gtkrecentchoosermenu.c:
6756 (gtk_recent_chooser_menu_add_tip): Apply the tip only
6757 if we have a displayable name for the item. (#365031,
6758 patch by padraig.obriain(at)sun.com)
6760 2006-11-16 Emmanuele Bassi <ebassi@gnome.org>
6762 * gtk/gtkrecentmanager.c: Provide a fast path returning
6763 NULL when the limit is set to 0.
6765 * gtk/gtkrecentchooserdefault.c:
6766 * gtk/gtkrecentchoosermenu.c: Add the same fast path
6767 inside the RecentChooser implementation; add a check
6768 in the list clamping code. (#373466 and duplicates)
6770 2006-11-15 Matthias Clasen <mclasen@redhat.com>
6772 * modules/printbackends/cups/gtkprintbackendcups.c (cups_printer_get_options):
6773 Don't pass NULL to strncpy. (#359537, patch by Carlos Garcia Campos)
6775 2006-11-15 Michael Natterer <mitch@imendio.com>
6777 * gtk/gtkrange.[ch]: added properties "fill-level",
6778 "show-fill-level" and "restrict-to-fill-level" and getters/setters
6779 for them. The "fill level" is an additional marker on the range's
6780 trough than can be e.g. used to indicate the amount of
6781 pre-buffering in a range showing the play position of streamed
6782 media. See the embedded API docs for details. Made GtkRangeLayout
6783 a GTypeInstance private struct and removed finalize()
6784 implementation. Fixes bug #349808
6786 * gtk/gtk.symbols: added the new symbols.
6788 2006-11-14 Behdad Esfahbod <behdad@gnome.org>
6790 * configure.in: Make libtool magic robust. (#352795)
6792 2006-11-13 Paolo Borelli <pborelli@katamail.com>
6794 * gtk/gtkrc.c (gtk_rc_parse_icon_source): plug small memory
6797 2006-11-09 Kristian Rietveld <kris@imendio.com>
6799 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): disable
6800 don't move cursor case for SELECTION_NONE. (#371756, John Ellis).
6802 2006-11-09 Carlos Garnacho <carlosg@gnome.org>
6804 * gtk/gtkpathbar.c (on_slider_unmap): Fix parenthesis confusion.
6806 2006-11-08 Carlos Garnacho <carlosg@gnome.org>
6808 * gtk/gtkpathbar.c (on_slider_unmap): added, do not leave the scroll
6809 timeout running if the slider buttons are hidden. (#372527)
6811 2006-11-08 Christian Persch <chpe@cvs.gnome.org>
6813 * gtk/gtkfilechooserdefault.c (browse_widgets_create): Don't make
6814 the "Location" label bold. Bug #372449.
6816 2006-11-07 Carlos Garnacho <carlosg@gnome.org>
6818 * gtk/gtknotebook.c (gtk_notebook_calculate_tabs_allocation): make
6819 non-focused tabs xthickness/ythickness thinner. (#353962)
6821 2006-11-07 Paolo Borelli <pborelli@katamail.com>
6823 * gtk/gtktextbtree.c (_gtk_text_btree_delete): avoid memory
6824 corruption (#357050).
6826 2006-11-06 Alexander Larsson <alexl@redhat.com>
6828 * gtk/gtkdnd.c: (gtk_drag_begin_internal),
6829 (gtk_drag_source_info_destroy), (gtk_drag_end),
6830 (gtk_drag_grab_notify_cb):
6831 Cancel drag when the grab is shadowed. (#122688)
6833 2006-11-01 Kristian Rietveld <kris@imendio.com>
6835 * gtk/gtkcombobox.c (gtk_combo_box_class_init),
6836 (gtk_combo_box_size_request): add arrow-size property to control
6837 the minimum size of the arrow, have the arrow scale up with the
6838 font by default. (#357950).
6840 2006-10-30 Kristian Rietveld <kris@gtk.org>
6842 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): don't
6843 forget to queue a draw for the new cursor node. (Fixes #366548,
6844 reported by Sven Herzberg).
6846 2006-10-30 Michael Natterer <mitch@imendio.com>
6848 * gtk/gtkrange.c (gtk_range_key_press): consume the Escape key
6849 only if we actually cancel a drag. Fixes bug #58389.
6851 2006-10-30 Kristian Rietveld <kris@gtk.org>
6853 * gtk/gtktreeview.c (gtk_tree_view_class_init): change left/right
6854 keybindings to collapse/expand rows instead of moving the focus
6855 cursor. (#105895, Brian Bober and others).
6857 2006-10-29 Kristian Rietveld <kris@gtk.org>
6859 * gtk/gtktreeview.c (gtk_tree_view_real_expand_row): guard against
6860 child removal in row-expanded callback. (#366782, John Ellis).
6862 2006-10-29 Tor Lillqvist <tml@novell.com>
6864 * gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Improve handling
6865 of the small icon of the window class. (#152620, Kazuki Iwamoto)
6867 2006-10-29 Tor Lillqvist <tml@novell.com>
6869 * gdk/win32/gdkcursor-win32.c
6870 (gdk_win32_icon_to_pixbuf_libgtk_only): Implement for B&W cursors,
6871 for instance the built-in GDK ones.
6873 2006-10-27 Kristian Rietveld <kris@gtk.org>
6875 * gtk/gtktreeview.c (validate_visible_area): rework the area_above == 0
6876 case to not overwrite the variables in the lower scope (which are
6877 used later on ...), get the path correctly and bail out when there
6878 isn't a node above us. (#359231).
6880 2006-10-26 Christian Persch <chpe@cvs.gnome.org>
6882 * gtk/gtkaboutdialog.c: Put initial focus on Close button (#337261).
6884 2006-10-25 Johan Dahlin <jdahlin@async.com.br>
6886 * gtk/gtk.symbols: Add missing symbols to so make check can pass
6888 2006-10-23 Dom Lachowicz <domlachowicz@gmail.com>
6890 * src/modules/engines/ms-windows/msw_style.c (draw_expander): Remember
6891 to free GDI Pen resources, introduced by bug 340201.(#364514)
6893 2006-10-18 Kristian Rietveld <kris@imendio.com>
6895 * tests/testcombo.c (main): connect to notify::popup-shown instead of
6896 popup-show (the latter does not exist).
6898 2006-10-15 Paolo Borelli <pborelli@katamail.com>
6900 * gtk/gtkicontheme.c (pixbuf_supports_svg): plug memory leak.
6903 2006-10-12 Michael Natterer <mitch@imendio.com>
6905 * gtk/gtkcombobox.c (gtk_combo_box_class_init): fix commit below
6906 (committed the wrong patch).
6908 2006-10-12 Michael Natterer <mitch@imendio.com>
6910 * gtk/gtkcombobox.c: added "move-active" and "popup" signals and
6911 bindings to trigger them. Removed gtk_combo_box_key_press(), it's
6912 obsolete now. Fixes bug #358293.
6914 2006-10-11 Michael Emmel <mike.emmel@gmail.com>
6916 * gdkpixmap-directfb.c: add missing RGB24 case (#361176)
6918 2006-10-11 Tor Lillqvist <tml@novell.com>
6920 * configure.in: Enable having some gdk-pixbuf loaders built-in
6921 even if loading the others dynamically. Define Automake
6922 conditional INCLUDE_FOO for each loader as TRUE if that loader is
6923 built-in. See also gdk-pixbuf/ChangeLog.
6925 Wed Oct 11 14:31:30 2006 Tim Janik <timj@imendio.com>
6927 * docs/reference/gtk/gtk-sections.txt:
6928 * gtk/gtkbindings.c: document gtk_binding_entry_skip().
6930 2006-10-11 Tor Lillqvist <tml@novell.com>
6932 * gtk/gtk.symbols: Remove gtk_combo_string_key, which is a static
6935 2006-10-11 Tor Lillqvist <tml@novell.com>
6937 Merge from 2.10 branch:
6939 * gtk/gtkmain.c (do_pre_parse_initialization): On Win32, if
6940 environment variable LC_ALL or LANG is set, set the Win32 thread
6941 locale to the corresponding locale. Then call the C library
6942 setlocale() to set the C library locale accordingly. The
6943 inconsistency mentioned below is gone. (#339756) Do some special
6944 casing for Serbia and Montenegro. Handle the Latin and Cyrillic
6945 scripts for Azeri, Uzbek and Serbian.
6946 (enum_locale_proc): Helper function for the above functionality.
6948 * gtk/gtkcalendar.c (gtk_calendar_init): No longer need to check
6949 if the environment variables are set here, as they have already
6950 been taken into account and the Win32 thread locale has been
6953 Tue Oct 10 16:38:23 2006 Tim Janik <timj@imendio.com>
6955 * gtk/tmpl/gtkbindings.sgml:
6956 * gtk/gtkbindings.c: applied patch from Michael Natterer to move to
6957 inline docs. applied wording fixes suggested by Martyn Russell.
6959 2006-10-09 Matthias Clasen <mclasen@redhat.com>
6961 * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state):
6962 Update the docs to state which out parameters may be NULL.
6963 (#360870, Attilio Fiandrotti)
6965 2006-10-08 Matthias Clasen <mclasen@redhat.com>
6967 * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities): Fix
6968 a typo. (#359542, Ghee Teo)
6970 2006-10-08 Matthias Clasen <mclasen@redhat.com>
6972 * gtk/gtknotebook.c (gtk_notebook_reorder_tab): Only
6973 reorder tabs if the focus is in the tab. (#350342, Carlos
6976 2006-10-08 Michael Emmel <mike.emmel@gmail.com>
6978 * gdk/directfb/gdkproperty-directfb.c strdup atom name (#357611)
6980 2006-10-08 Kristian Rietveld <kris@gtk.org>
6982 * gtk/gtktreeview.[ch] (gtk_tree_view_set_property),
6983 (gtk_tree_view_set_show_expanders),
6984 (gtk_tree_view_get_show_expanders): add getter/setter for
6985 show-expanders property, queue a redraw when this property
6986 is toggled (#351167, Martin Ejdestig),
6987 (gtk_tree_view_set_level_indentation),
6988 (gtk_tree_view_get_level_indentation): also add getter/setter
6989 and docs for level-indentation property.
6991 2006-10-08 Matthias Clasen <mclasen@redhat.com>
6993 * gtk/gtkradiobutton.c (gtk_radio_button_focus): Don't
6994 leak a list. (#360350, Benjamin Berg)
6996 * Apply a cleanup patch by Kjartan Maraas (#341812)
6998 2006-10-07 Tor Lillqvist <tml@novell.com>
7000 * gtk/gtkcalendar.c (gtk_calendar_init): Use the Win32 thread
7001 locale's first day of week setting on Win32. (#339752, Bogdan
7002 Nicula) Don't do this if one of the environment variables that
7003 affect gettext is set, though. In that case use the week start day
7004 from the corresponding message catalog.
7006 Unfortunately the same logic isn't possible in the weekday and
7007 month name lookup; there even if you have set one of the
7008 aforementioned environment variables, you still get the weekday
7009 and month names from the Win32 thread locale. Yes, this is
7012 Use only wide-character API in the Win32 code in this file, too.
7014 2006-10-06 Matthias Clasen <mclasen@redhat.com>
7016 * gtk/gtkfilechooser.c (gtk_file_chooser_set_select_multiple):
7017 Fix the docs. (#360112)
7019 * gtk/gtkcellview.c: Don't set the background of the
7020 window in a no-window widget. (#359581, Xan Lopez)
7023 2006-10-05 Behdad Esfahbod <behdad@gnome.org>
7025 * gtk/Makefile.am, gtk/aliasfilescheck.sh: Propagate srcdir into the
7026 test correctly. (#359845)
7028 2006-10-05 Michael Natterer <mitch@imendio.com>
7030 * gtk/gtkrc.[ch]: added new scanner token "unbind" which gets
7031 rid of a key binding (in fact, it only lets it appear unbound).
7033 * gtk/gtkbindings.[ch] (struct GtkBindingEntry): added
7034 "guint marks_unbound : 1"
7036 (gtk_binding_entry_skip): new API which marks the entry as unbound.
7038 Changed code so it returns FALSE when "marks_unbound == TRUE" is
7039 encountered while activating bindings, effectively letting the
7040 binding appear unbound (regardless of still existing bindings in
7041 lower binding priority levels). Fixes bug #358329.
7043 (gtk_binding_entry_add)
7044 (gtk_binding_entry_clear)
7045 (gtk_binding_entry_add_signall)
7046 (gtk_binding_parse_binding): deprected these functions.
7048 (_gtk_binding_parse_binding)
7049 (_gtk_binding_entry_add_signall): new internal API.
7051 * gtk/gtk.symbols: changed accordingly.
7053 2006-10-03 Matthias Clasen <mclasen@redhat.com>
7055 Fix interaction of GtkEntryCompletion with input
7056 methods. (#354495, Diego Escalante Urrelo)
7058 * gtk/gtkentry.c (gtk_entry_completion_key_press): Only reset
7059 the im context if we actually handle the key event.
7061 * gtk/gtkentrycompletion.c: Also propagate key release events
7064 2006-10-03 Matthias Clasen <mclasen@redhat.com>
7066 * gtk/gtkprintsettings.c (gtk_print_settings_get_duplex):
7067 Fix a typo. (#359052, Ghee Teo)
7069 * gtk/*.c, gdk/*.c: Apply a patch by Behdad Esfahbod to
7070 reduce relocations. (#359053)
7072 2006-10-03 Matthias Clasen <mclasen@redhat.com>
7074 * modules/printbackends/cups/gtkcupsutils.c:
7075 * modules/printbackends/cups/gtkprintbackendcups.c: Complete
7076 the fix for bug 357280.
7078 2006-10-02 Behdad Esfahbod <behdad@gnome.org>
7080 * gdk-pixbuf/Makefile.am:
7083 Include pltcheck.sh in EXTRA_DIST.
7085 2006-10-02 Behdad Esfahbod <behdad@gnome.org>
7087 * gdk/x11/gdkevents-x11.c: Move all includes before including
7090 2006-10-02 Behdad Esfahbod <behdad@gnome.org>
7092 * gtk/Makefile.am: Fix typo in file name. (#358931)
7094 2006-10-02 Matthias Clasen <mclasen@redhat.com>
7096 * modules/printbackends/cups/gtkprintbackendcups.c (available_choices):
7097 Only use the group name field if cups is new enough. (#357280)
7099 * gtk/gtksizegroup.c: Make sure that the quarks are
7100 initialized before using them. (#353736)
7102 * gtk/Makefile.am (stamp-icons): Use rm instead of ln -f to
7103 replace existing links. (#354849, James Evans)
7105 2006-10-01 Matthias Clasen <mclasen@redhat.com>
7107 * gtk/gtkexpander.c (gtk_expander_realize)
7108 (gtk_expander_size_allocate): Make the event_window large
7109 enough to cover the full height of the label_widget. (#358351,
7112 2006-10-01 Tor Lillqvist <tml@novell.com>
7114 * gtk/gtkfilesystemwin32.c: Same change as to gtkfilesystemunix.c.
7116 2006-09-30 Matthias Clasen <mclasen@redhat.com>
7118 * gtk/gtkfilechooserbutton.c (update_combo_box): Protect
7119 against base_path being NULL. (#358405, many reporters)
7121 2006-09-29 Matthias Clasen <mclasen@redhat.com>
7123 * gtk/gtkfilesystemunix.c: Apply a patch by Padraig O'Briain
7124 to avoid a deadlock.
7126 2006-09-27 Kristian Rietveld <kris@imendio.com>
7128 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_free_level),
7129 (gtk_tree_model_filter_ref_node),
7130 (gtk_tree_model_filter_real_unref_node): bring zero ref count loops
7131 in sync with each other and the sort model.
7133 2006-09-27 Kristian Rietveld <kris@imendio.com>
7135 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_init),
7136 (gtk_tree_model_filter_finalize), (gtk_tree_model_filter_row_deleted),
7137 (gtk_tree_model_filter_new): unref the virtual root path once that
7138 node (or one if its ancestors) is deleted, set virtual_root_deleted
7139 so we only unref it once.
7141 2006-09-27 Kristian Rietveld <kris@imendio.com>
7143 * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_changed),
7144 (gtk_tree_model_sort_sort_level): ref count nodes the proper way,
7145 (gtk_tree_model_sort_ref_node), (gtk_tree_model_sort_real_unref_node),
7146 (gtk_tree_model_sort_free_level): bring zero ref count loops in
7148 (gtk_tree_model_sort_free_level): free child levels before
7149 decreasing the zero ref count of the current level,
7150 (gtk_tree_model_sort_clear_cache): only clear cache if zero_ref_count
7153 2006-09-25 Matthias Clasen <mclasen@redhat.com>
7155 * demos/gtk-demo/*.c:
7156 * gtk/gtkeventbox.c:
7157 * gtk/gtkprintoperation.c: Fix typos. String change.
7159 2006-09-25 Kristian Rietveld <kris@gtk.org>
7161 * gtk/gtktreeview.c (gtk_tree_view_scroll_to_cell): if the tree view
7162 has already been realized; scroll to background area instead of
7163 cell area. (Fixes #330683, Johan Dahlin, Tommi Komulainen).
7165 2006-09-25 Kristian Rietveld <kris@gtk.org>
7167 * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): only attempt
7168 to create the GCs if the widget is realized. (Fixes #357578).
7170 2006-09-25 Matthias Clasen <mclasen@redhat.com>
7172 * gtk/gtkuimanager.c (_gtk_menu_is_empty): Don't leak
7173 the list of children (#357454, Paolo Borelli)
7175 2006-09-25 Michael Natterer <mitch@imendio.com>
7177 * gdk/x11/gdkdisplay-x11.c (gdk_display_x11_finalize): free
7178 display->input_windows with g_free(), not g_object_unref()
7179 (#357566, Tommi Komulainen).
7181 2006-09-24 Kristian Rietveld <kris@gtk.org>
7183 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init),
7184 (gtk_cell_renderer_text_[sg]et_property): actually add align-set
7185 property to the API (left-over patch from #157439).
7187 2006-09-24 Kristian Rietveld <kris@gtk.org>
7189 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button): draw
7190 the indicator if the column has a sort column id (and the model is
7191 sortable) or if the user explicitly requested the indicator
7192 to be shown. (Fixes #352738, Chris Vine).
7194 2006-09-23 Tor Lillqvist <tml@novell.com>
7196 * gtk/Makefile.am: Use EXEEXT.
7198 2006-09-22 Michael Natterer <mitch@imendio.com>
7200 * gtk/gtkstyle.c (gtk_style_real_copy): also copy icon factories
7201 and color hashes. Fixes bug #357132.
7203 2006-09-22 Matthias Clasen <mclasen@redhat.com>
7205 Make remote bookmarks work better (#354887)
7207 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons):
7208 (shortcuts_insert_path):
7209 * gtk/gtkfilechooserbutton.c (change_icon_theme):
7210 (model_add_bookmarks):
7211 (model_update_current_folder):
7212 (update_label_and_image):
7213 If the bookmark points to a remote file, don't call get_info(),
7214 since that may a) take a long time and b) pop up an auth dialog.
7215 Instead, just use a folder icon and create a display name
7218 * gtk/gtkfilechooserdefault.c (_gtk_file_chooser_label_for_uri):
7219 New function to create a suitable display name for a remote
7220 uri. This should really be done in GtkFileSystem.
7222 2006-09-21 Michael Natterer <mitch@imendio.com>
7224 Implement lots of value setters for GdkGC, based on a heavily
7225 modified patch from Thomas Broyer (bug #328853):
7227 * gdk/quartz/gdkcolor-quartz.c: removed functions which set colors
7228 on the CGContext. Instead, added gdk_quartz_get_rgba_from_pixel()
7229 which simply returns RGBA values from a GdkColor's pixel value.
7230 See gdk_quartz_update_context_from_gc() below.
7232 * gdk/quartz/gdkprivate-quartz.h (struct GdkGCQuartz): added lots
7233 of members for the newly suppored GC values. Added enum
7234 GdkQuartzContextValuesMask which is used for setting up the
7235 CGContext for filling and/or stroking.
7237 * gdk/quartz/gdkgc-quartz.c (gdk_quartz_gc_get_values)
7238 (gdk_quartz_gc_set_values)
7239 (_gdk_windowing_gc_copy): support a lot more GC values.
7241 (gdk_quartz_update_context_from_gc): added
7242 GdkQuartzContextValuesMask parameter and set filling/stroking
7243 parameters accordingly. This function also gained full control
7244 over the FG and BG colors (they can't be set separately any more).
7246 The stipple mask part of the patch doesn't work but seems to take
7247 the right approach and doesn't make things worse, so I applied it.
7249 Did *not* apply the clipping part of the patch since I don't
7250 understand it (I don't understand the version in CVS either, but
7251 it at least works :-)
7253 * gdk/quartz/gdkdrawable-quartz.c: pass the right masks to
7254 gdk_quartz_update_context_from_gc() and removed separate color
7255 setting calls. Some minor fixes.
7257 * gdk/quartz/gdkwindow-quartz.c
7258 (gdk_window_impl_quartz_begin_paint_region): set the CGContext's
7259 fill color manually. We don't have/need a GC here.
7261 2006-09-21 Michael Natterer <mitch@imendio.com>
7263 * gdk/quartz/gdkwindow-quartz.c
7264 (gdk_window_impl_quartz_begin_paint_region): fix cast: it's
7265 drawable_impl->wrapper that is the GdkWindow, not the
7266 drawable_impl itself.
7268 2006-09-20 Behnam Esfahbod <behnam@zwnj.org>
7270 * gdk/x11/gdkkeys-x11.c:
7271 (get_direction): just check the first shift-level of keyboard
7272 layout for RTL and LTR keysyms() (compliment to #116626)
7274 Wed Sep 20 16:59:38 2006 Tim Janik <timj@imendio.com>
7276 * gtk/gtkviewport.c: always update the bin_window position and size
7277 in size_allocate, even if we don't have a visible child. this fixes
7278 expose artefacts as described in #313508.
7280 * gtk/gtkscrolledwindow.c: make hiding of automatic scrollbars when we
7281 have no visible child explicit.
7283 2006-09-19 Ryan Lortie <desrt@desrt.ca>
7285 * docs/reference/gdk/gdk-sections.txt:
7288 * gdk/gdkpango.c: Bug 355343. Add a GdkPangoAttrEmbossColor.
7289 (gdk_pango_layout_get_clip_region): Remove an unused variable.
7290 (gdk_pango_attr_embossed_new): Fix documentation.
7292 Tue Sep 19 17:00:04 2006 Tim Janik <timj@imendio.com>
7294 * gtk/gtkarrow.c: added GtkArrow::arrow-scaling style property to
7295 control the arrow/border ratio within the allocation.
7297 * tests/testgtk.c: added a GtkArrow to handle box test.
7299 * tests/testgtkrc: test ::arrow-scaling property.
7301 2006-09-19 Matthias Clasen <mclasen@redhat.com>
7303 * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
7304 Display an error when we come to the root.
7306 2006-09-16 Matthias Clasen <mclasen@redhat.com>
7308 * gtk/gtkfilechooserbutton.c: Use bookmark labels in
7311 * gtk/gtkfilechooserbutton.c: Don't add remote volumes and
7312 bookmarks to the model in local-only mode, to avoid
7313 authentication dialogs pop up for invisible bookmarks, and
7314 to fix issues with separators not being hidden when
7315 they should. (#354887, Dennis Cranston)
7317 2006-09-16 Matthias Clasen <mclasen@redhat.com>
7319 * gtk/gtkcombobox.c (gtk_combo_box_finalize): Unref the
7320 treeview use in list mode. (#355732, Richard Hult)
7322 * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): Send
7323 change notification for the right property. (#355308,
7326 2006-09-15 Michael Natterer <mitch@imendio.com>
7328 * gtk/gtktreeview.c (gtk_tree_view_key_press): refactored column
7329 header navigation/resizing/reordering to be more readable and lose
7330 one level of nesting.
7332 2006-09-15 Kristian Rietveld <kris@imendio.com>
7334 * gtk/gtktreeview.c (gtk_tree_view_key_press): actually directly
7335 return after handling column button focus; we disable wrap around
7336 with this (which actually happened via a really weird code path).
7339 2006-09-15 Kristian Rietveld <kris@imendio.com>
7341 * gtk/gtktreeview.c (gtk_tree_view_key_press): make column resizing
7342 code RTL aware, also break from the loops after we have seen the
7343 focussed column button (Michael Natterer).
7345 Thu Sep 14 12:28:51 2006 Tim Janik <timj@imendio.com>
7347 * tests/testrichtext.c (main): intialize random number generator state
7348 upon program start, to enable truely random testing.
7350 2006-09-13 Michael Emmel <mike.emmel@gmail.com>
7352 * gdk/directfb/gdkcolor-directfb.c small clean ups include order
7353 * gdk/directfb/gdkwindow-directfb.c fixed beep compile error
7354 * gdk/directfb/Makefile.am removed GDK_PIXBUF_DISABLE_DEPRECATED
7355 GDK_DISABLE_DEPRECATED to allow compile per Behdad
7356 * gdk/quartz/Makefile.am same change as directfb Makefile
7357 * gtk/Makefile.am fixed typo that cause socket stubs not to compile
7359 2006-09-13 Matthias Clasen <mclasen@redhat.com>
7361 * gtk/gtkcolorsel.c: Use a GtkWindow instead of a GtkInvisible
7362 for the grab widget, to make the color picker work with window
7365 2006-09-12 Hong Jen Yee <pcman.tw@gmail.com>
7367 signed off by: Dom Lachowicz
7369 * modules/engines/ms-windows/msw_style.c: Bug 340201. This contains
7370 a large number of improvements to the Microsoft Windows theme engine
7371 which are fully described in the bug report.
7373 Mon Sep 11 14:22:39 2006 Tim Janik <timj@imendio.com>
7375 * tests/testgtk.c: fixed compiler warnings.
7377 2006-09-10 Matthias Clasen <mclasen@redhat.com>
7379 * gtk/gtkfilechooserbutton.c (model_add_special): Request
7380 the display name too, otherwise "Desktop" does not appear
7381 in the file chooser button.
7383 2006-09-10 Tor Lillqvist <tml@novell.com>
7385 * gdk/win32/gdkprivate-win32.h
7386 * gdk/win32/gdkmain-win32.c
7387 * gdk/win32/gdkwindow-win32.c: Define WINVER and _WIN32_WINNT as
7388 0x0500 in gdkprivate-win32.h instead of doing it in two source
7389 files. (#355212, Mike Edenfield)
7391 * gdk/win32/gdkwindow-win32.c: We can also remove the ersatz
7392 GetAncestor() for the _MSC_VER && WINVER < 0x0500 case, I hope.
7394 2006-09-10 Matthias Clasen <mclasen@redhat.com>
7396 * Commit a patch by Behdad to fix typos, omissions and other
7397 errors in the symbol aliasing, and add checks for local PLT
7398 entries. (#354687, Behdad Esfahbod)
7400 * gtk/gtktreeview.c (gtk_tree_view_search_scroll_event): Renew
7401 the flush timeout. (#354043, Nelson Benitez)
7403 * gtk/gtkfilechoosersettings.c (set_unexpected_element_end_error):
7404 Improve wording. String change! (#355126, David Lodge)
7406 * gtk/updateiconcache.c: Improve wording. String change! (#355128,
7409 * gtk/paper_names_offsets.c: Fix a typo. String change! (#355134,
7412 2006-09-09 Matthias Clasen <mclasen@redhat.com>
7414 * gdk/x11/gdkfonts-x11.c: Fix small theoretical memory leaks.
7415 (#353916, Chris Wilson)
7417 * gtk/gtksettings.c (_gtk_settings_reset_rc_values):
7418 Don't leak the to_reset list. (#353914, Chris Wilson)
7420 * gtk/gtkwidget.c: Add docs for the parent-set signal.
7421 (#353772, Mariano Suárez-Alvarez)
7423 2006-09-08 Matthias Clasen <mclasen@redhat.com>
7425 * gtk/gtktextbuffer.c (remove_all_selection_clipboards):
7426 Don't clear clipboards here, since we are called from finalize
7427 and can't emit signals.
7429 * configure.in: Set version to 2.11.0
7431 2006-09-06 Richard Hult <richard@imendio.com>
7433 * gdk/quartz/gdkkeys-quartz.c: (maybe_update_keymap): Special-case
7434 shift-tab and map it to GDK_ISO_Left_Tab, fixes bug #350806.
7436 2006-09-04 Kristian Rietveld <kris@imendio.com>
7438 * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
7439 if setting the given folder failed, try setting the parent folder
7440 until we succeed; display an error box at the end.
7442 2006-09-04 Kristian Rietveld <kris@imendio.com>
7444 * gtk/gtkpathbar.c (gtk_path_bar_dispose): don't cancel the
7445 operations spawned by buttons here,
7446 (set_button_image_get_info_cb): bail out if button is NULL, but
7447 do free button_data,
7448 (button_data_free): only free the data if non NULL (since this
7449 function can be called multiple times for the same data), cancel
7450 handle if pending but don't free button_data in this case (will
7451 happen in the callback).
7453 2006-09-04 Michael Natterer <mitch@imendio.com>
7455 * gtk/gtkrc.c (rc_parse_token_or_compound)
7456 (gtk_rc_parse_assignment): serialize floating point values using
7457 locale-independent functions. (#346751, Frederic Crozat)
7459 2006-09-04 Tor Lillqvist <tml@novell.com>
7461 * gdk/win32/gdkevents-win32.c
7462 * gdk/win32/gdkwindow-win32.c: Use wide-char API for message and
7463 window handling (PeekMessage, PostMessage, SendMessage,
7464 DispatchMessage, DefWindowProc, RegisterClassEx,
7465 CreateWindowEx). (#321597)
7467 2006-09-03 Kristian Rietveld <kris@imendio.com>
7469 * gtk/gtkfilechooserdefault.c (save_entry_get_info_cb),
7470 (file_exists_get_info_cb), (gtk_file_chooser_default_should_respond):
7471 change file_exists_and_is_not_folder checks to get the file info
7472 for the path directly instead of querying the current file folder
7475 * gtk/gtkfilechooserprivate.h (struct _GtkFileChooserDefault): add
7478 * tests/autotestfilechooser.c (wait_for_idle_idle), (wait_for_idle),
7479 (test_reload_sequence), (test_button_folder_states_for_action): wait
7480 for idle after setting a folder to ensure the async operations to load
7481 the folder are finished,
7482 (test_confirm_overwrite), (test_confirm_overwrite_for_path):
7483 factor out test_confirm_overwrite code so we can add tests for more
7486 2006-09-03 Richard Hult <richard@imendio.com>
7488 * gdk/quartz/GdkQuartzView.c (drawRect): Don't do anything if
7489 exposure isn't in the event mask, plug a leak, and check that the
7490 window isn't destroyed.
7491 (isOpaque): Check that the window isn't destroyed, fixes bug
7494 2006-09-03 Matthias Clasen <mclasen@redhat.com>
7496 * gtk/gtkwidget.c (gtk_widget_class_init): Fix a typo.
7497 (#354035, Mariano Suárez-Alvarez)
7499 * gtk/gtkmain.c (post_parse_hook):
7500 * gdk/gdk.c (gdk_init): Handle display_name being NULL.
7501 (#354004, Chris Wilson)
7503 2006-09-03 Tor Lillqvist <tml@novell.com>
7505 * gdk/win32/gdkwindow-win32.c (gdk_window_beep): No
7506 GDK_WINDOW_DISPLAY in the Win32 backend.
7508 * gtk/gtkfilesystemwin32.c: Copy what Kris did to
7511 2006-09-02 Kristian Rietveld <kris@imendio.com>
7513 First part of file chooser fixes.
7515 * gtk/gtkfilechooserbutton.c (model_add_special): also set the
7516 handle in the model for the desktopdir case.
7518 * gtk/gtkfilechooserdefault.c (shortcuts_add_current_folder): free
7519 volume in case we retrieved it but don't pass it on to insert_path,
7520 (shortcuts_model_create): change the column type for the handles
7521 to pointer instead of GObject so our handle ref counting is not
7523 (show_and_select_paths_finished_loading): don't forget to unref
7526 * gtk/gtkfilesystemunix.c (gtk_file_system_unix_class_init),
7527 (gtk_file_system_unix_init), (gtk_file_system_unix_dispose):
7528 remove pending execute_callbacks_idle during dispose, also
7529 execute all callbacks waiting to be run in the next idle,
7530 (queue_*callback), (execute_callbacks_idle): refactor to maintain
7531 a list of callbacks to call per file system instead of globally,
7532 guard the file system during callback invocation,
7533 (gtk_file_system_unix_get_folder): only add load folder idle if
7534 none has been added yet.
7536 2006-09-01 Matthias Clasen <mclasen@redhat.com>
7538 * gtk/gtkentry.c: Don't unnecessarily reset the im context
7539 when deleting the selection. (#353803, Alex Larsson)
7541 2006-09-01 Abel Cheung <abel@oaka.org>
7543 * configure.in: Added 'ang' 'dz' to ALL_LINGUAS.
7545 2006-08-31 Matthias Clasen <mclasen@redhat.com>
7547 Stop cursor blinking after a configurable timeout.
7548 (#353670, #352442, Arjan van de Ven, Manu Cornet)
7550 * gtk/gtksettings.c (gtk_settings_class_init): Add a
7551 gtk-cursor-blink-timeout setting, which specifies the number
7552 of seconds that the cursor should blink after a user interaction.
7553 The default value is G_MAXINT to preserve the current behaviour.
7555 * gtk/gtkentry.c (blink_cb): Stop blinking after blink-timeout
7558 * gtk/gtkentry.c (gtk_entry_completion_key_press)
7559 (gtk_entry_button_press, gtk_entry_focus_in): Reset the
7562 * gtk/gtktextview.c (blink_cb): Stop blinking after blink-timeout
7565 * gtk/gtktextview.c (gtk_text_view_key_press_event)
7566 (gtk_text_view_button_press_event, gtk_text_view_focus_in_event):
7567 Reset the blink timer.
7569 2006-08-31 Matthias Clasen <mclasen@redhat.com>
7571 * gtk/gtkprintoperation-unix.c (get_print_dialog): Don't specify
7572 explicit format capabilities. (#346505, Christian Persch)
7574 * modules/printbackends/cups/gtkprintbackendcups.c (cups_request_printer_list_cb): Send printer-list-done on error.
7576 2006-08-31 Michael Natterer <mitch@imendio.com>
7578 * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Fix build.
7580 2006-08-30 Richard Hult <richard@imendio.com>
7582 * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep): Fix build.
7584 2006-08-30 Matthias Clasen <mclasen@redhat.com>
7586 * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Only use XKB
7587 for beeping if we are using XKB.
7589 2006-08-29 Matthias Clasen <mclasen@redhat.com>
7593 * gdk/directfb/gdkwindow-directfb.c (gdk_window_beep):
7594 * gdk/win32/gdkwindow-win32.c (gdk_window_beep):
7595 * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep):
7596 * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Add a function
7597 to beep on a window. For X11, implement this with
7598 XkbBell. (#353455, Mariano Suárez-Alvarez)
7600 2006-08-29 Tor Lillqvist <tml@novell.com>
7602 Remove support for Windows 9x/ME. GTK+ hasn't worked on Win9x
7603 since 2.6 or 2.8. It's pointless to keep the Win9x code in here as
7604 it isn't being maintained anyway. If somebody is interested, it
7605 can always be found in older GTK+ versions, and in CVS.
7610 * gdk/win32/Makefile.am
7611 * gdk/win32/libie55uid.la
7612 * gdk/win32/gdkevents-win32.c: Remove the --with-ie55 configure
7613 switch and associated stuff. Active IMM and the <dimm.h> header
7614 was used for IM support on NT4 and Win9x. Win2k and later have IM
7617 * gdk/win32/gdkcursor-win32.c
7618 * gdk/win32/gdkdnd-win32.c
7619 * gdk/win32/gdkdrawable-win32.c
7620 * gdk/win32/gdkevents-win32.c
7621 * gdk/win32/gdkgc-win32.c
7622 * gdk/win32/gdkglobals-win32.c
7623 * gdk/win32/gdkkeys-win32.c
7624 * gdk/win32/gdkmain-win32.c
7625 * gdk/win32/gdkproperty-win32.c
7626 * gdk/win32/gdkselection-win32.c
7627 * gdk/win32/gdkwindow-win32.c: Remove the G_WIN32_IS_NT_BASED()
7628 and G_WIN32_HAVE_WIDECHAR_API() tests and their false (Win9x)
7629 branches, and any variables or static functions used only by the
7632 * gdk/win32/gdkprivate-win32.h: Remove backup definitions for
7633 constants that aren't missing from current mingw and MSVC6
7636 * gdk/win32/gdkmain-win32.c
7637 * gdk/win32/gdkprivate-win32.h: Remove the _gdk_win32_gdi_failed()
7638 function. On NT-based Windows GetLastError() returns error codes
7639 also for failed GDI calls, so we can use _gdk_win32_api_failed()
7642 2006-08-29 Emmanuele Bassi <ebassi@gnome.org>
7644 * gtk/gtkrecentchoosermenu.c
7645 (gtk_recent_chooser_menu_set_current_uri): Break when an item
7646 is found and activated. (#353449, based on a patch by Jan Arne
7649 Fri Jul 14 16:13:37 2006 Tim Janik <timj@gtk.org>
7651 * gtk/gtkprogressbar.c: introduced ::xspacing and ::yspacing style
7652 properties which make all hardcoded padding and spacing values
7653 configurable. properly swap ::text-xalign treatment for RTL widgets.
7655 * gtk/gtkprogress.c: fixed style property blurbs. made alignment
7656 proeprty more consistent with GtkMisc alignment blurbs. mention
7657 RTL treatment for text-xalign.
7659 Tue Aug 29 11:57:40 2006 Tim Janik <timj@imendio.com>
7661 * tests/testgtk.c: allow (most) windows to be resizable.
7662 added ellipsization settings to progress bars.
7664 2006-08-28 Matthias Clasen <mclasen@redhat.com>
7666 * modules/printbackend/cups/gtkprintbackendcups.c: Use a
7667 resonable timeout of 3 seconds when polling for printer
7668 list updates, instead of 300000 seconds...
7670 2006-08-28 Michael Natterer <mitch@imendio.com>
7672 * gtk/gtktextbufferserialize.c (serialize_text): don't write out
7673 </apply_tag> for tags that have already been closed by the logic
7674 which turns overlapping spans into XML-able trees. Fixes broken
7675 XML when there are overlapping tags in the buffer. Also free two
7676 leaked GLists and did some cleanup.
7679 * tests/testrichtext.c: new test which creates randomly tagged
7680 GtkTextBuffers and serializes/deserializes them.
7682 2006-08-26 Matthias Clasen <mclasen@redhat.com>
7684 * gtk/gtkstatusicon.c (gtk_status_icon_reset_image_data):
7685 Don't leak pixbufs. (#352264, Ross Burton)
7687 * gtk/gtklinkbutton.c (set_link_underline): Don't leak
7688 PangoAttributes. (#352391, Paolo Borelli)
7690 2006-08-25 Matthias Clasen <mclasen@redhat.com>
7692 * demos/gtk-demo/Makefile.am:
7693 * demos/gtk-demo/textscroll.c: Add an example of automatic
7694 scrolling, thanks to Yevgen Muntyan. (#351206)
7696 * gtk/gtkmodules.c (find_module): Use local binding when
7697 loading modules. (#351868)
7699 2006-08-24 Michael Natterer <mitch@imendio.com>
7701 * gdk/quartz/gdkdisplay-quartz.c (gdk_display_get_name): return
7702 the hostname instead of NULL.
7704 2006-08-23 Matthias Clasen <mclasen@redhat.com>
7706 * gtk/gtkprinteroptionwidget.[hc]: Fix confusion about
7707 names and values in comboboxes, and clean up some
7708 coding style issues.
7710 2006-08-23 Tor Lillqvist <tml@novell.com>
7712 * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_make_path):
7713 Revert unintended translatable string addition. Use same string
7714 in GError as in gtkfilesystemunix.c.
7716 * gtk/gtkfilesystemwin32.c (_gtk_file_system_win32_path_compare):
7717 Fix logic at the end of strings.
7719 * gtk/gtkfilesystemwin32.c: Maintain a hash table of live
7720 handles and check that we have no outstanding handles at
7721 finalization time. (Copying what Matthias did for
7722 gtkfilesystemunix.c)
7724 2006-08-23 Matthias Clasen <mclasen@redhat.com>
7726 * gtk/gtkfilesystemunix.c: Maintain a hash table
7727 of live handles and check that we have no outstanding
7728 handles at finalization time. (Copying what
7729 Federico did for gtkfilesystemgnomevfs.c)
7731 2007-08-22 Matthias Clasen <mclasen@redhat.com>