1 2007-06-04 Emmanuele Bassi <ebassi@gnome.org>
3 * gtk/gtkradiobutton.h:
4 * gtk/gtkradiobutton.c:
5 * gtk/gtk.symbols: Add gtk_radio_button_set_value(),
6 gtk_radio_button_get_current_value() and gtk_radio_button_get_value().
7 Use these functions to set and get an arbitrary integer associated to
8 a GtkRadioButton in a group, like the value associated to a
12 (create_radio_buttons), (radio_toggled_cb): Exercise the new API.
14 2007-06-03 Torsten Schoenfeld <kaffeetisch@gmx.de>
16 * gtk/gtkicontheme.c (choose_icon): Initialize unthemed_icon to NULL
17 to avoid accessing uninitialized memory when
18 gtk_icon_theme_choose_icon() is called with an empty names list.
20 2007-06-03 Richard Hult <richard@imendio.com>
22 * gdk/quartz/gdkevents-quartz.c: (create_crossing_event): Set the key
25 2007-06-03 Richard Hult <richard@imendio.com>
27 * gdk/quartz/gdkevents-quartz.c: Make pointer grab emulation work a bit
29 (gdk_display_pointer_is_grabbed): Do what the docs say and don't
30 consider implicit grabs here.
31 (gdk_pointer_grab): Overriding a grab by the same app should always be
33 (gdk_event_translate): Implicit grabs should not be owner events.
35 2007-06-03 Matthias Clasen <mclasen@redhat.com>
39 2007-06-03 Matthias Clasen <mclasen@redhat.com>
41 * docs/tools/widgets.c: Add a volume button
43 2007-06-03 Matthias Clasen <mclasen@redhat.com>
45 * gtk/gtkradiobutton.c:
46 * gtk/gtkradiomenuitem.c: Fix doc typos.
48 2007-06-03 Matthias Clasen <mclasen@redhat.com>
50 * configure.in: Allow to disable Xinerama. (#348065, Diego Pettenò)
52 2007-06-03 Xan Lopez <xan@gnome.org>
54 * gtk/gtknotebook.c: remove index parameter in gtk_notebook_switch_page
55 and remove g_return_if checks in private functions. (#443247)
57 2007-06-01 Richard Hult <richard@imendio.com>
59 * gdk/quartz/gdkevents-quartz.c:
60 (get_converted_window_coordinates), (create_crossing_event): Fix the
61 coordinates in crossing events so they are relative to the right
64 2007-06-01 Richard Hult <richard@imendio.com>
66 * gdk/quartz/gdkevents-quartz.[ch]: Make function naming
67 consistent for the various functions that retrieve data from an
70 * gdk/quartz/gdkprivate-quartz.h:
71 * gdk/quartz/gdkwindow-quartz.[ch]: Remove the now unused
72 _gdk_quartz_window_find_child_by_point() function.
74 2007-06-01 Matthias Clasen <mclasen@redhat.com>
76 Add support for composited child windows. (#412882, Ryan Lortie)
81 * gdk/gdkwindow.[hc]: Add gdk_display_supports_composite() and
82 gdk_window_set_composited().
84 * gdk/x11/gdkevents-x11.c:
85 * gdk/x11/gdkdisplay-x11.[hc]:
86 * gdk/x11/gdkwindow-x11.[hc]: X11 implementation.
88 * gdk/win32/gdkdisplay-win32.c:
89 * gdk/win32/gdkwindow-win32.c: Dummy win32 implementration.
91 * gdk/quartz/gdkdisplay-quartz.c:
92 * gdk/quartz/gdkwindow-quartz.c: Dummy Quartz implementation.
94 * gdk/directfb/gdkdisplay-directfb.c:
95 * gdk/directfb/gdkwindow-directfb.c: Dummy DirectFB implementation.
97 * tests/testgtk.c: Add a "composited window" test.
99 2007-06-01 Michael Natterer <mitch@imendio.com>
101 * gtk/gtkmenuitem.c (gtk_menu_item_position_menu): don't switch
102 submenu opening direction for overlapping reasons if there is even
103 less space on the other side (bug #441863, Tommi Komulainen).
105 2007-06-01 Michael Natterer <mitch@imendio.com>
107 * gtk/gtkfilechooserdialog.c (response_cb): change fix for #347883
108 to not obfuscate the code.
110 2007-06-01 Yevgen Muntyan <muntyan@tamu.edu>
112 Avoid recreating pangolayouts in GtkTextView on cursor movement
113 (#435405, Behdad Esfahbod).
115 * gtk/gtktextlayout.c:
116 * gtk/gtktextlayout.h: new GtkTextLayout method invalidate_cursors(),
117 and functions gtk_text_layout_invalidate_cursors() and
118 gtk_text_layout_cursors_changed(), to use when invalidation is due
119 to moved marks or changed selection.
121 * gtk/gtktextbtree.c:
122 * gtk/gtktextbtree.h: use what's appropriate when invalidating layout.
124 * gtk/gtk.symbols: add new functions.
126 * README.in: added a note about changed GtkTextLayout API.
128 2007-06-01 Alp Toker <alp.toker@collabora.co.uk>
130 * gdk/gdkcairo.c (gdk_cairo_set_source_pixmap): Fix doc typos.
132 2007-05-31 Yevgen Muntyan <muntyan@tamu.edu>
134 * gtk/gtkstyle.c (get_insertion_cursor_gc): use text colors from
135 widget style to draw cursor instead of hardcoded black and grey
136 (#79585, comment #30).
138 2007-06-01 Kristian Rietveld <kris@gtk.org>
140 * gtk/gtkcellrenderertext.c (get_size): transform the ink_rect using
141 pango_extents_to_pixels to avoid rounding errors. (Fixes #430218,
144 2007-05-31 Mathias Hasselmann <mathias.hasselmann@gmx.de>
146 * tests/autotestfilechooser.c: Reactivate the other file-chooser
147 tests. Forgot that before commiting revision 17994.
149 2007-05-31 Mathias Hasselmann <mathias.hasselmann@gmx.de>
151 * gtk/gtkfilechooserdialog.c, tests/autotestfilechooser.c: Reset
152 the internal response_requested flag, once the response triggered by
153 file_chooser_widget_response_requested has been processed (#347883).
155 2007-05-30 Richard Hult <richard@imendio.com>
157 * gdk/quartz/gdkselection-quartz.c (gdk_free_text_list): Add this
158 function, bug #438440.
160 2007-05-30 Tor Lillqvist <tml@novell.com>
162 * gdk/win32/gdkevents-win32.c (gdk_pointer_grab): Subtract the
163 multi-monitor offset from x and y before setting up the rectangle
164 for ClipCursor(). Fixes #442326.
166 2007-05-30 Matthias Clasen <mclasen@redhat.com>
168 * gtk/gtkiconview.c (gtk_icon_view_layout): Queue a resize
169 if the size changed. (#418047, Alex Graveley)
171 2007-05-30 Simos Xenitellis <simos@gnome.org>
173 * gdk/gdkkeysyms-update.pl: Updated script to new upstream
174 location of keysymdef.h (#442183)
176 2007-05-30 Emmanuele Bassi <ebassi@gnome.org>
178 * gtk/gtkfilechooserdefault.c (update_chooser_entry): Return
179 after setting the file chooser entry with the current selection.
181 2007-05-30 Matthias Clasen <mclasen@redhat.com>
183 * gtk/gtkiconcachevalidator.c: Correct the handling
184 of display names. (#441767, Marcin Bachry)
186 2007-05-30 Xan Lopez <xan@gnome.org>
188 * gtk/gtknotebook.c (gtk_notebook_set_current_page): Small cleanup.
191 2007-05-28 Cody Russell <bratsche@gnome.org>
193 * gdk/win32/xcursors.h: Fix initialization of last item. (#440511)
195 2007-05-28 Richard Hult <richard@imendio.com>
197 * gdk/quartz/gdkevents-quartz.c (get_child_coordinates_from_ancestor)
198 (get_ancestor_coordinates_from_child): Break out code that was
199 repeated into separate functions and call them instead.
200 (find_window_for_mouse_nsevent): Break out this from
201 find_window_for_nsevent to make the code clearer.
202 (find_window_for_nsevent): Use the above and fix the returned
203 coordinates in the process so that they are always relative the
204 found window, both for the normal case and during grabs. Still
205 needs fixing for the case where we get nsevents for a window other
206 than than grab window during grabs.
208 2007-05-28 Richard Hult <richard@imendio.com>
210 * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Fix typo,
211 we need both press and release in the mask to trigger implicit
214 2007-05-28 Richard Hult <richard@imendio.com>
216 * gdk/quartz/gdkevents-quartz.c (pointer_ungrab_internal): Reset
217 all the grab state, to help debugging.
218 (gdk_event_translate): Use pointer_ungrab_internal instead of
219 duplicating the code here.
221 2007-05-28 Richard Hult <richard@imendio.com>
223 * gdk/quartz/gdkprivate-quartz.h:
224 * gdk/quartz/gdkwindow-quartz.c (find_child_window_helper)
225 (_gdk_quartz_window_find_child): Refactored version of
226 _gdk_quartz_window_find_child_by_point, that doesn't return any
227 coordinates as the users of this function already have the
228 coordinates and need to translate them differently.
229 (_gdk_windowing_window_get_pointer): Fixup coordinate translation.
230 (_gdk_windowing_window_at_pointer): Likewise.
232 2007-05-28 Richard Hult <richard@imendio.com>
234 * gdk/quartz/gdkevents-quartz.c
235 (find_window_interested_in_event_mask): Don't traverse beyond the
236 toplevel of the passed in window.
238 2007-05-28 Richard Hult <richard@imendio.com>
240 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init): Set
241 a size for the root window.
243 2007-05-28 Richard Hult <richard@imendio.com>
245 * gdk/quartz/gdkwindow-quartz.c: Add comments about what various
246 coordinates are relative to.
248 2007-05-28 Carlos Garnacho <carlos@imendio.com>
250 * gtk/gtkwidget.c (gtk_widget_propagate_hierarchy_changed_recurse):
251 Add back variable declaration removed in r17958.
253 2007-05-28 Carlos Garcia Campos <carlosgc@gnome.org>
255 * gtk/gtkprinter.[ch]: Add new capability
256 GTK_PRINT_CAPABILITY_NUMBER_UP.
257 * docs/reference/gtk/tmpl/gtkprintunixdialog.sgml:
258 * gtk/gtkprintunixdialog.c: (update_dialog_from_capabilities):
259 * modules/printbackends/file/gtkprintbackendfile.c:
260 (file_printer_get_options), (file_printer_get_settings_from_options):
261 * modules/printbackends/cups/gtkprintbackendcups.c:
262 (cups_printer_get_capabilities): Add a new print capability to specify
263 whether print dialog will offer printing multiple pages per sheet. (#398414)
265 2007-05-28 Matthias Clasen <mclasen@redhat.com>
267 * gtk/gtktoolbar.h: Actually undeprecate
268 gtk_toolbar_[un]set_icon_size. (#314172. Yevgen Muntyan)
270 2007-05-28 Matthias Clasen <mclasen@redhat.com>
272 * gtk/gtkwidget.c: Document some more signals
274 * gtk/gtktextview.c: Improve docs
276 2007-05-27 Tor Lillqvist <tml@novell.com>
278 * configure.in (GDK_EXTRA_LISB): Drop bogus -user32 switch. Was
279 supposed to be -luser32, but he "l" was missing. But nobody has
280 noticed, so presumably unnecessary.
282 2007-05-26 Matthias Clasen <mclasen@redhat.com>
284 * gtk/gtkprintoperationpreview.c: Improve docs
286 2007-05-26 Matthias Clasen <mclasen@redhat.com>
288 * gtk/gtkentry.c: Move docs inline.
290 2007-05-26 Matthias Clasen <mclasen@redhat.com>
292 * gdk/directfb/gdkkeys-directfb.c: Remove duplicate doc comments
293 that cause problems when building the docs.
295 2007-05-26 Matthias Clasen <mclasen@redhat.com>
297 * gdk/x11/gdkdisplay-x11.c: Update docs
298 * gdk/gdk.c: Update docs
299 * gdk/directfb/gdkwindow-directfb.c: Remove duplicate doc comments.
300 * gdk/x11/gdkwindow-x11.c: Fix doc formatting
302 2007-05-26 Matthias Clasen <mclasen@redhat.com>
305 * gtk/gtkstatusicon.c:
306 * gtk/gtkscalebutton.c:
307 * gtk/gtkrecentaction.c:
310 * gtk/gtkprintsettings.c:
311 * gtk/gtkpapersize.c:
312 * gtk/gtkpagesetup.c:
314 * gtk/gtkentrycompletion.c: Document new api
316 2007-05-26 Richard Hult <richard@imendio.com>
318 * gtk/gtkprinter.c: (gtk_printer_set_location): Fix typo to get the
321 2007-05-26 Matthias Clasen <mclasen@redhat.com>
323 * configure.in: Require gtk-doc 1.6, for signal and property links.
326 * gtk/gtkcontainer.c:
333 * gtk/gtkwidget.c: Documentation improvements, link signals
334 and properties where it makes sense.
336 2007-05-25 Matthias Clasen <mclasen@redhat.com>
339 * gtk/gtktextbuffer.c: Formatting fixes.
341 2007-05-25 Matthias Clasen <mclasen@redhat.com>
343 Allow to separate GtkTextMark creation from buffer insertion.
344 (#132818, Gustavo Giráldez, patch by Yevgen Muntyan)
346 * gtk/gtktextmarkprivate.h:
347 * gtk/gtktextmark.[hc] (gtk_text_mark_new): New function to
348 create a GtkTextMark.
350 * gtk/gtktextbuffer.[hc] (gtk_text_buffer_add_mark): New
351 function to add an existing mark to a buffer.
353 * gtk/gtktextbtree.c: Allow adding existing marks.
355 * gtk/gtk.symbols: Add new functions.
357 * tests/testtextbuffer.c: Add some tests for new mark
360 2007-05-25 Xan Lopez <xan@gnome.org>
362 * gtk/gtkaction.c: (gtk_action_set_short_label):
363 Use private->data->short_label to update the proxies. (#440780)
365 2007-05-25 Richard Hult <richard@imendio.com>
367 * gdk/quartz/gdkimage-quartz.c: (_gdk_quartz_image_copy_to_image):
368 Implement copying from a window, part of bug #348493.
370 2007-05-25 Matthias Clasen <mclasen@redhat.com>
372 * gtk/gtkprintoperation-unix.c (unix_end_run): Hold a
373 refence on the print operation until gtk_print_job_send()
374 is done. (#440040, Chris Vine)
376 2007-05-25 Matthias Clasen <mclasen@redhat.com>
378 * gtk/gtkiconview.c (gtk_icon_view_accessible_ref_child):
379 Don't crash and don't leak. (#439565, Pedro Villavicencio)
381 2007-05-25 Matthias Clasen <mclasen@redhat.com>
383 * gtk/gtkiconfactory.c: Improve a warning
384 * gtk/gtkicontheme.c (gtk_icon_info_load_icon): Always
385 set the error when returning NULL. (#440982, Carlos Garcia
388 2007-05-25 Michael Natterer <mitch@imendio.com>
390 Merge fix from maemo-gtk:
392 * gtk/gtkmenushell.c (gtk_menu_shell_enter_notify): open submenus
393 also if the menu item we're entering is already selected. Also, it
394 makes no sense to forward the event to the parent menu shell if we
395 are entering a menu item of *this* menu shell.
397 2007-05-24 Matthias Clasen <mclasen@redhat.com>
399 * gtk/stock-icons/*: Make sure all svg icons are added
402 2007-05-24 Matthias Clasen <mclasen@redhat.com>
404 * modules/input/Makefile.am: Fix broken DESTDIR support
406 2007-05-24 Michael Natterer <mitch@imendio.com>
408 * gtk/gtktooltip.c (find_widget_under_pointer): apply patch from
409 Bogdan Nicula which fixes a crash on GdkWindows which have no
410 GtkWidget as user_data (bug #440890).
412 2007-05-24 Matthias Clasen <mclasen@redhat.com>
414 * configure.in: Bump version
416 * === Released 2.11.0 ===
420 2007-05-23 Matthias Clasen <mclasen@redhat.com>
423 * gdk/x11/xsettings-common.h:
424 * gdk/gdk.symbols: Add some missing symbols.
426 * gtk/paper_names_offsets.c:
427 * gtk/gen-paper-names.c: Make variables static.
429 * gtk/gtktooltip.[hc]:
430 * gtk/gtkvolumebutton.c:
431 * gtk/gtkscalebutton.c: Fix up symbol aliasing.
433 2007-05-23 Yevgen Muntyan <muntyan@tamu.edu>
435 * gtk/gtkprintunixdialog.c: missing #include <ctype.h>.
437 * gtk/gtkhandlebox.c (gtk_handle_box_paint):
438 * gtk/gtkpagesetupunixdialog.c (_gtk_load_custom_papers):
439 * gtk/gtkstatusbar.c (gtk_statusbar_get_context_id):
440 * gtk/gtkiconcache.c (_gtk_icon_cache_new_for_path):
441 * gtk/gtktrayicon-x11.c (gtk_tray_icon_send_dock_request):
442 * gtk/gtkpreview.c (gtk_preview_finalize):
443 * gtk/gtknotebook.c (gtk_notebook_set_group_id):
444 * tests/testnotebookdnd.c (window_creation_function):
445 * tests/testiconview.c (do_popup_menu):
446 Fixed some compiler warnings (#440689).
448 2007-05-23 Kristian Rietveld <kris@imendio.com>
450 * gtk/gtktooltip.c (find_widget_under_pointer): translate coordinates
451 from the window they were received on to the event widget's window;
452 correct for no-window widgets after that, bail out on failure. This
453 makes the coordinates given by GtkWidget::query-tooltip truly relative
454 to widget->window. (#435188).
456 * gtk/gtkwidget.c (gtk_widget_class_init): update docs for
457 GtkWidget::query-tooltip.
459 2007-05-22 Behdad Esfahbod <behdad@gnome.org>
461 * gtk/gtkprintcontext.c (gtk_print_context_finalize),
462 (_gtk_print_context_new), (_gtk_print_context_get_fontmap),
463 (gtk_print_context_set_cairo_context),
464 (gtk_print_context_get_pango_fontmap),
465 (gtk_print_context_create_pango_context):
466 Don't create new pango fontmaps. Use the default pangocairo
467 fontmap and set resolution on PangoContext instead. (#417707)
469 2007-05-21 Richard Hult <richard@imendio.com>
471 * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Set the
474 * gdk/quartz/gdkscreen-quartz.c: Use the autorelease pool macros.
476 2007-05-21 Michael Natterer <mitch@imendio.com>
478 * gtk/gtkcombobox.c (gtk_combo_box_set_model): revert last change.
480 Mon May 21 13:58:32 2007 Tim Janik <timj@imendio.com>
482 * gtk/gtkcombobox.c (gtk_combo_box_set_model): removed redundant check.
484 2007-05-21 Tor Lillqvist <tml@novell.com>
486 * gtk/gtkscalebutton.c (gtk_scale_popup): Make it work better with
489 2007-05-20 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
491 * gdk/directfb/gdkwindow-directfb.c:
492 * gdk/directfb/gdkdirectfb.h: Updated minimum DirectFB version
493 required to enable gdk_directfb_create_child_window.
496 2007-05-20 Bastien Nocera <hadess@hadess.net>
501 * gtk/gtkvolumebutton.[ch]: Add the GtkVolumeButton widget,
502 a button that pops up a scale when clicked (Closes: #415775)
504 * tests/testvolumebutton.c: Add a test program for the
507 2007-05-19 Bastien Nocera <hadess@hadess.net>
509 reviewed by: Matthias Clasen <mclasen@redhat.com>
514 * gtk/gtkscalebutton.[ch]: Add the GtkScaleButton widget,
515 a button that pops up a scale when pressed
517 2007-05-19 Matthias Clasen <mclasen@redhat.com>
520 * gtk/gtknotebook.[hc]: Deprecate gtk_notebook_[gs]et_group_id
521 in favour of new functions gtk_notebook_[gs]et_group, which
522 takes a pointer as group identifier and makes it easier to
523 avoid group id collisions. (#386930, Christian Hammond)
525 * tests/testnotebookdnd.c: Use new grouping api.
527 2007-05-18 Matthias Clasen <mclasen@redhat.com>
529 * gtk/gtkactiongroup.c: Warn and refuse to add actions with
530 duplicate names. (#150877, Tommi Komulainen, patch by Kalle
533 2007-05-18 Matthias Clasen <mclasen@redhat.com>
536 * gtk/gtkentry.[hc]: Add gtk_entry_[gs]et_cursor_hadjustment()
537 to allow automatic scrolling in response to cursor movements
538 in the entry. (#438651, Nate Nielsen)
540 2007-05-18 Matthias Clasen <mclasen@redhat.com>
542 * gtk/gtktextview.c: Add a toggle-cursor-visibility keybinding
543 signal, and bind F7 to it. (#380048, Tim Miao)
545 2007-05-18 Matthias Clasen <mclasen@redhat.com>
548 * gtk/gtkicontheme.h:
549 * gtk/gtkicontheme.c: Add a function to look up an icon from
550 a list of icon names. (#396901, Luca Ferretti)
552 2007-05-18 Emmanuele Bassi <ebassi@gnome.org>
554 * gtk/gtkrecentchooserdefault.c:
555 (gtk_recent_chooser_default_dispose): Reset the state on dispose.
557 (cleanup_after_load): load_id != 0 && load_state == LOAD_EMPTY
558 is a valid state, if the main loop never had the chance to
559 properly spin at least once. (#438671)
561 2007-05-18 Emmanuele Bassi <ebassi@gnome.org>
563 * gtk/gtkrecentchooserdefault.c (recent_meta_data_func): Mark
564 string for translation. (#439437)
566 2007-05-18 Matthias Clasen <mclasen@redhat.com>
568 * gtk/gtkwindow.c (gtk_window_set_transient_for): Fix
569 doc typo. (#438100, Vincent Untz)
571 2007-05-18 Michael J. Chudobiak <mjc@cvs.gnome.org>
575 * configure.in: Bump libtiff requirement to 3.6.0, by requiring
576 presence of TIFFReadRGBAImageOriented.
578 * gdk-pixbuf-scaled-anim.c: (get_scaled_pixbuf):
579 Preserve pixbuf options when generating a new scaled pixbuf.
581 * io-jpeg.c: (get_orientation), (gdk_pixbuf__jpeg_image_load),
582 (gdk_pixbuf__jpeg_image_load_increment): Read the exif
583 orientation tag and associate it with the "orientation" pixbuf
584 option. Renders libexif unnecessary in some applications.
586 * io-tiff.c: (tiff_image_parse): Read the tiff orientation tag,
587 compensate for the partial rotations performed by libtiff,
588 and generate an "orientation" option for the pixbuf.
590 2007-05-18 Carlos Garnacho <carlos@imendio.com>
592 * gtk/gtkexpander.c: remove c++ style comment.
594 2007-05-18 Carlos Garnacho <carlos@imendio.com>
596 Make combobox menu popdown keybindable (#433593)
598 * gtk/gtkcombobox.c (gtk_combo_box_class_init): Add "popdown" binding
599 signal and keybindings.
600 (gtk_combo_box_real_popdown): Added, "popdown" keybinding signal
602 (gtk_combo_box_menu_key_press):
603 (gtk_combo_box_list_key_press): forward the event to the combobox if
604 it wasn't handled by the menu.
606 2007-05-18 Carlos Garnacho <carlos@imendio.com>
608 * gtk/gtknotebook.c (gtk_notebook_init) (gtk_notebook_drag_motion)
609 (gtk_notebook_drag_drop): Allow widgets up in the hierarchy to run
610 their DnD handlers if the target doesn't match with anything the
611 notebook manages. (#350665, Joakim Lundborg).
613 2007-05-18 Carlos Garnacho <carlos@imendio.com>
615 Refactor GtkFileChooserDialog sizing.
617 * gtkfilechooserembed.[ch] (delegate_get_resizable_hints)
618 (_gtk_file_chooser_embed_get_resizable_hints):
619 s/resizable_hints/resizable/, return just one boolean value to
620 determine whether the filechooser should be resizable or not.
622 * gtkfilechooserprivate.h (struct GtkFileChooserDialogPrivate): remove
623 variables related to the GtkFileChooserEmbed get_default_size() and
624 get_resizable() implementations.
625 (struct GtkFileChooserDefault): Move default size management here.
627 * gtkfilechooserdefault.c (gtk_file_chooser_default_size_allocate):
628 Added, store currently allocated size to calculate default size later.
629 (gtk_file_chooser_default_get_resizable_hints):
630 s/resizable_hints/resizable/.
631 (gtk_file_chooser_default_set_property): Reload settings if the file
632 chooser action changes, this way the save expander state will be known
633 before mapping the window, avoiding wrong window positioning and
634 flickering. (#424299, #424309)
635 (find_good_size_from_style): Only get size from style if it wasn't set
637 (gtk_file_chooser_default_get_default_size): return default size based
638 on stored default size and preview/extra widget sizes.
640 * gtkfilechooserdialog.c (file_chooser_widget_update_hints)
641 (file_chooser_widget_realized_size_changed)
642 (file_chooser_widget_unrealized_size_changed): simplified to
643 (file_chooser_widget_size_changed): set window size and resizability
644 based on the GtkFileChooserEmbed interface implementation. (Bug
645 #420285, Tomeu Vizoso)
646 (gtk_file_chooser_dialog_map): force a dialog size change, so it's
647 clamped for sure to the 75% of the screen size.
649 2007-05-18 Carlos Garnacho <carlos@imendio.com>
651 * gtk/gtknotebook.c (gtk_notebook_real_insert_page): Do not unset
652 the brand new current page if there was none set previously. Fixes
653 #425138 (Reported by Michail Crayson). Some code simplifications.
654 (gtk_notebook_draw_arrow): code style fix.
656 2007-05-16 Matthias Clasen <mclasen@redhat.com>
658 * gtk/gtkpathbar.c: Add ATK names to the Up, Down, and Root
659 buttons. Keep the focus from vanishing when Up or Down arrows
660 become insensitive or invisible. (#357005, Patrick Wade)
662 2007-05-16 Brian Cameron <brian.cameron@sun.com>
664 * acconfig.h, configure.in, gdk/Makefile.am, gdkprivate.h, gdkrgb.c,
665 gdkdraw.c, gdk-pixbuf/gdk-pixbuf-scale.c,
666 gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/pixops/pixops.[ch],
667 gdk-pixbuf/pixops/timescale.c: Add Sun mediaLib support so that
668 hardware acceleration via mediaLib is enabled if mediaLib is
669 detected via configure. Enhancement request #344813. I was given
670 permission to commit in the bug report by Matthias Clasen.
671 * gdk/medialib.[ch]: New files added for mediaLib support.
672 * docs/reference/gdk-pixbuf/tmpl/scaling.sgml,
673 docs/reference/gdk/tmpl/rgb.sgml, gdk/gdkdraw.c: Add docs for
676 2007-05-15 Torsten Schoenfeld <kaffeetisch@gmx.de>
678 * gtk/gtkprintoperation.c (pdf_end_run): Unset priv->platform_data and
679 priv->free_platform_data to prevent gtk_print_operation_finalize()
680 from freeing the cairo surface a second time.
682 2007-05-14 Kristian Rietveld <kris@gtk.org>
684 * gtk/gtkfilechooserdefault.c (recent_column_path_sort_func): remove
685 dangling semicolon, fixes the segfault ebassi was seeing earlier today
688 2007-05-14 Tristan Van Berkom <tvb@gnome.org>
690 * gtk/gtkaboutdialog.c: Functions: gtk_about_dialog_get/set_name()
691 were deprecated in favour of gtk_about_dialog_get/set_program_name(),
692 the GtkAboutDialog now uses the "program-name" property instead of
693 the conflicting "name" property (fixes bug 345822).
695 2007-05-14 Emmanuele Bassi <ebassi@gnome.org>
697 * configure.in: Add check for GNU extensions to ftw()/nftw().
699 * gtk/gtksearchenginesimple.c: Fix compilation on systems with
700 only POSIX-compliant ftw(). (#435797, based on a patch by
703 2007-05-14 Emmanuele Bassi <ebassi@gnome.org>
705 * gtk/gtkfilechooserdefault.c:
706 Convert the GtkTreeIter inside the sorting functions for the
707 search and recent modes. This doesn't yet fix the segfault when
708 clicking the 'Name' column in recent mode, though.
710 2007-05-14 Behdad Esfahbod <behdad@gnome.org>
712 * modules/input/gtkimcontextthai.c
713 (gtk_im_context_thai_filter_keypress):
714 Fix check for modifier keys. (#438261, Theppitak Karoonboonyanan)
716 2007-05-14 Matthias Clasen <mclasen@redhat.com>
718 * gtk/gtkscrolledwindow.c: Document scrollbars-within-bevel
719 as 2.12 addition. (#438131, Mart Raudsepp)
721 2007-05-14 Matthias Clasen <mclasen@redhat.com>
723 * gtk/gtkvseparator.c (gtk_vseparator_size_request): Fix
724 size requisition for wide vertical separators. (#438113,
727 2007-05-13 Emmanuele Bassi <ebassi@gnome.org>
729 * gtk/gtksearchenginesimple.c: Include <ftw.h> and use nftw() and
730 all the symbols defined in <ftw.h> conditionally.
732 2007-05-13 Cody Russell <bratsche@gnome.org>
734 * gdk/win32/gdkevents-win32.c: Only do the configure event context
735 iteration under WM_WINDOWPOSCHANGED instead of inside
736 handle_configure_event(). This fixes a bug that prevented window
737 contents from being redrawn after gtk_window_resize(). (#436721)
739 2007-05-12 Behdad Esfahbod <behdad@gnome.org>
741 * gdk/gdkdraw.c (gdk_draw_trapezoids): Fix wrong cairo path
742 generation. (#437879, Eddie C. Dost)
744 2007-05-11 Emmanuele Bassi <ebassi@gnome.org>
746 GtkFileChooser search fixes and recent files support. (#435342)
748 * gtk/gtkfilechooserdefault.c: Support drag and drop for
749 adding shortcuts of folders when in search or recent files
752 2007-05-11 Emmanuele Bassi <ebassi@gnome.org>
754 GtkFileChooser search fixes and recent files support. (#435342)
756 * gtk/gtkfilechooserprivate.h:
757 * gtk/gtkfilechooserdefault.c: Follow the sorting order of
758 the GtkTreeView displaying the files list.
760 (shortcuts_get_index), (shortcuts_insert_separator),
761 (shortcuts_model_create), (shortcuts_combo_filter_func): Remove
762 the separator between the Search and the Recently Used shortcuts.
764 (list_select_func), (list_icon_data_func), (list_name_data_func),
765 (list_mtime_data_func): Update the sensitivity of the row
766 depending on the GtkFileChooserAction used.
768 2007-05-11 Emmanuele Bassi <ebassi@gnome.org>
770 GtkFileChooser search fixes and recent files support. (#435342)
772 * gtk/gtkfilechooserprivate.h:
773 * gtk/gtkfilechooserdefault.c: Update the contents of the
774 files list when changing the filter of the GtkFileChooserDefault
777 2007-05-11 Emmanuele Bassi <ebassi@gnome.org>
779 GtkFileChooser search fixes and recent files support. (#435342)
781 * gtk/gtkfilechooserdefault.c: Update the add bookmark button
782 sensitivity when in search or recent files mode, and allow
783 adding a bookmark for a folder.
785 2007-05-11 Emmanuele Bassi <ebassi@gnome.org>
787 GtkFileChooser search fixes and recent files support. (#435342)
789 * gtk/gtkfilechooserdefault.c: UI fixes in the Search mode: add
790 a mnemonic to the label, de-boldify the label's text and assign
791 focus to the search entry when switching to the search mode.
793 (list_name_data_func): Split the text in both search and recent
794 files mode: on the first line use the short name and on the
795 second line use the full path.
797 2007-05-11 Emmanuele Bassi <ebassi@gnome.org>
799 GtkFileChooser search fixes and recent files support. (#435342)
801 * gtk/gtkfilechooserprivate.h:
802 * gtk/gtkfilechooserdefault.c: Add support for showing the
803 recently used files list as a special shortcut item.
805 2007-05-11 Emmanuele Bassi <ebassi@gnome.org>
807 GtkFileChooser search fixes and recent files support. (#435342)
809 * gtk/gtkfilechooserdefault.c: Overall whitespace fixes and
810 indentation style consistency.
812 (list_row_activated): If the search hit is a folder, follow it
813 when activating the row, and switch back to browse mode.
815 (search_clear_model), (search_start_query),
816 (search_entry_activate_cb), (search_setup_widgets): Remember
817 the last query when switching between modes.
819 2007-05-11 Emmanuele Bassi <ebassi@gnome.org>
821 GtkFileChooser search fixes and recent files support. (#435342)
823 * gtk/gtkfilechooserdefault.c:
824 (_gtk_file_chooser_default_class_init): Add key binding for
825 the Search shortcut; default to MOD1+S.
827 (search_shortcut_handler): Handle the key binding.
829 (search_hit_get_info_cb), (search_add_hit), (search_clear_model),
830 (search_setup_model): Retrieve informations on the search hits
831 when adding them to the model.
833 (list_icon_data_func): Show the search hit icon.
835 2007-05-11 Michael Natterer <mitch@imendio.com>
837 * gtk/gtktextview.c (selection_motion_event_handler): call
838 gdk_event_request_motions(event) so selecting works with
839 XInput devices too. Spotted by Tommi Komulainen.
841 2007-05-11 Emmanuele Bassi <ebassi@gnome.org>
843 * gtk/gtksearchengine.c (_gtk_search_engine_new): Fall back
844 to GtkSearchEngineSimple only if gthread has already been
845 initialiased; otherwise, disable search support in the file
846 chooser widget. (#435847)
848 2007-05-10 Matthias Clasen <mclasen@redhat.com>
850 * gtk/gtkbutton.c (gtk_button_set_image): Unparent the old
851 image before overwriting priv->image. (#437281, Jochen Baier)
853 2007-05-10 Matthias Clasen <mclasen@redhat.com>
855 * gtk/gtkscrolledwindow.c (gtk_scrolled_window_scroll_child):
856 Correct a confusing warning. (#437284, Björn Lindqvist)
858 2007-05-10 Matthias Clasen <mclasen@redhat.com>
860 * gdk/gdkdraw.c (gdk_draw_pixbuf): Don't call into
861 the backend if the region is empty. (#437081, Sven Neumann)
863 2007-05-10 Matthias Clasen <mclasen@redhat.com>
865 * gtk/gtksearchenginesimple.c (search_visit_func);
866 Assume Posix nftw behaviour.
868 2007-05-09 Dom Lachowicz <domlachowicz@gmail.com>
870 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: GtkTreeView doesn't
871 expand/collapse with Right/Left cursor keys on Windows
872 (#436269, Daniel Atallah)
874 2007-05-09 Cody Russell <bratsche@gnome.org>
877 (get_arrows_border): New function to calculate the border sizes needed
878 for the scroll arrows.
879 (get_arrows_visible_area): New function to calculate the arrows visible
881 (get_arrows_sensitive_area): New function to calculate the arrows
883 (gtk_menu_paint): Refactored code to calculate the border sizes needed
884 for the scroll arrows into get_arrows_border and the code to calculate
885 the visible area into get_arrows_visible_area.
886 (gtk_menu_handle_scrolling): Refactored arrow sensitive calculations
887 to get_arrows_sensitive_area.
888 (gtk_menu_realize, gtk_menu_size_allocate, gtk_menu_scroll_by,
889 gtk_menu_position, gtk_menu_scroll_to, gtk_menu_scroll_item_visible,
890 get_visible_size, get_menu_height, gtk_menu_real_move_scroll): Update
891 callers. (From #436533, Tommi Komulainen)
893 2007-05-09 Kristian Rietveld <kris@imendio.com>
895 * gtk/gtktreeview.c (gtk_tree_view_key_press),
896 (gtk_tree_view_key_release):
897 * gtk/gtkiconview.c (gtk_icon_view_class_init),
898 (gtk_icon_view_key_press),
899 (gtk_icon_view_key_release): Disable key bindings during rubber
900 banding, make pressing Esc stop rubber banding. (#405027).
902 2007-05-09 Emmanuele Bassi <ebassi@gnome.org>
904 * gtk/gtkrecentmanager.c:
905 (gtk_recent_info_get_icon): Return GTK_STOCK_DIRECTORY for entries
906 with MIME type "x-directory/normal", instead of GTK_STOCK_FILE.
908 2007-05-05 Richard Hult <richard@imendio.com>
910 * gdk/quartz/gdkdrawable-quartz.c:
911 (gdk_quartz_drawable_get_context),
912 (gdk_quartz_drawable_release_context): Fix bugs #428733 and #433301.
913 Turns out the lockFocus logic was flawed, now we only lock/unlock
914 when called outside a real expose event and never flush manually.
916 2007-05-03 Behdad Esfahbod <behdad@gnome.org>
918 * gtk/gtklabel.c (gtk_label_ensure_layout):
919 * gtk/gtktextlayout.c (set_para_values): Make GTK_JUSTIFY_FILL work,
920 using pango_layout_set_justify() that works now. (#435675)
922 2007-05-03 Emmanuele Bassi <ebassi@gnome.org>
924 * gtk/gtksearchenginesimple.c (search_engine_simple_finalize): Remove
925 spurious g_free() call.
927 Thu May 3 16:27:34 2007 Tim Janik <timj@imendio.com>
929 * tests/testgtk.c (create_handle_box): made handle box test non-modal,
930 so other test can interact with handle boxes.
932 2007-05-02 Emmanuele Bassi <ebassi@gnome.org>
934 Add search file support in the GtkFileChooser. Original patch
935 by Federico Mena Quintero; patch updated by Matthias Clasen.
938 * gtk/gtksearchengine.[ch]: Private search engine abstraction
941 * gtk/gtksearchenginebeagle.[ch]: Private search engine
942 implementation using libbeagle (via g_module_open()).
944 * gtk/gtksearchenginesimple.[ch]: Private search engine
945 implementation using file tree walking.
947 * gtk/gtksearchenginetracker.[ch]: Private earch engine
948 implementation using libtracker (via g_module_open()).
950 * gtk/gtkquery.[ch]: Private query object for the search
953 * gtk/gtkfilechooserprivate.h:
954 * gtk/gtkfilechooserdefault.c: Use the GtkSearchEngine to
955 query a search engine backend using GtkQuery; create a new
956 operating mode, OPERATION_MODE_SEARCH, and call the common
957 operating mode OPERATION_MODE_BROWSE; add support for virtual
958 shortcuts inside the shortcuts model and create a new "Search"
961 * gtk/Makefile.am: Update the build with the new files
963 2007-05-02 Armin Burgmeier <armin@openismus.com>
965 * gtk/gtkcombobox.c: Destroy the menu in dispose instead of
966 finalize, because the menu might unparent itself from its parent and
967 cause a signal emission on a finalized object. (#430746)
969 2007-05-02 Dom Lachowicz <domlachowicz@gmail.com>
971 * modules/engines/ms-windows/msw_style.c: MS-Windows Theme top tabs
972 rendered upside down for non-XP theme (#435053, Daniel Atallah)
974 Wed May 2 11:35:45 2007 Tim Janik <timj@imendio.com>
976 * docs/faq/gtkfaq.sgml: removed, since this file is long outdated
977 and fully replaced by docs/faq/gtk-faq.sgml.
979 2007-05-02 Kristian Rietveld <kris@imendio.com>
981 * gtk/gtktreeview.c (gtk_tree_view_grab_notify): stop the rubber band
984 2007-05-01 Matthias Clasen <mclasen@redhat.com>
986 * gtk/gtkiconcachevalidator.c: Don't be too strict when checking
987 icon flags. (#435062)
989 2007-05-01 Matthias Clasen <mclasen@redhat.com>
991 * gtk/Makefile.am: When generating gtkbuiltincache.h, only copy
994 2007-05-01 Matthias Clasen <mclasen@redhat.com>
996 * gtk/gtkfilesystemmodel.c (_gtk_file_system_model_path_do):
997 Don't ignore the fact that gtk_file_system_get_parent()
998 may return NULL. (#424042, Jan Martinek)
1000 2007-05-01 Dan Winship <danw@novell.com>
1002 * gdk/x11/gdkwindow-x11.c (setup_toplevel_window): Make sure the
1003 leader_window's WM_CLIENT_LEADER points to itself. #435028
1005 2007-05-02 Christian Persch <chpe@gnome.org>
1007 * gtk/gtktreemodel.c: (gtk_tree_iter_copy), (gtk_tree_iter_free): Use
1008 GSlice for gtk_tree_iter_copy. Bug #434863.
1010 2007-05-02 Christian Persch <chpe@gnome.org>
1012 * gtk/gtkpapersize.c: (gtk_paper_size_get_paper_sizes): Put only
1013 GtkPaperSizes into the list, don't mix it with GtkPageSetups. Bug
1016 2007-05-02 Christian Persch <chpe@gnome.org>
1018 * gtk/gtkpapersize.c: (gtk_paper_size_new_from_info),
1019 (gtk_paper_size_new), (gtk_paper_size_new_custom),
1020 (gtk_paper_size_copy), (gtk_paper_size_free): Use GSlice to allocate
1021 GtkPaperSize. Bug #434862.
1023 2007-05-02 Christian Persch <chpe@gnome.org>
1025 * gtk/gtkstatusbar.c: (gtk_statusbar_get_context_id),
1026 (gtk_statusbar_expose_event): No need to allocate a guint; just stuff
1027 the ID into the pointer directly. Bug #434865.
1029 2007-05-01 Matthias Clasen <mclasen@redhat.com>
1031 * gtk/gtkfilechooserdefault.c (struct UpdateCurrentFolderData),
1032 (update_current_folder_get_info_cb): add a new struct field to clear
1033 the file entry after the current folder has been updated.
1035 (gtk_file_chooser_default_update_current_folder),
1036 (change_folder_and_display_error): Add a new function parameter to
1037 trigger file entry clearing.
1039 (edited_idle_create_folder_cb),
1040 (file_list_drag_data_received_get_info_cb),
1041 (gtk_file_chooser_default_map),
1042 (gtk_file_chooser_default_set_current_folder),
1043 (switch_to_selected_folder), (save_entry_get_info_cb),
1044 (shortcuts_activate_volume_mount_cb), (shortcuts_activate_volume),
1045 (shortcuts_activate_get_info_cb), (list_row_activated),
1046 (path_bar_clicked): use new function parameter appropriately.
1048 (gtk_file_chooser_default_should_respond): trigger file entry clearing
1049 after the directory is updated instead of clearing it before, this way
1050 we avoid reloading the completion model with the soon to be old folder,
1051 causing a warning and a glitch in the folder where completion happens.
1052 (#379414, Carlos Garnacho)
1054 2007-05-01 Matthias Clasen <mclasen@redhat.com>
1056 * gtk/gtkiconcachevalidator.[hc]: Add an icon cache validator.
1058 * gtk/updateiconcache.c: Validate the generated cache before
1059 moving it in place. Also add a --validate option to validate
1060 an existing icon cache.
1062 * gtk/gtkiconcache.c: Validate icon caches before using them.
1064 * gtk/Makefile.am: Integrate it.
1066 2007-05-01 Michael Emmel <mike.emmel@gmail.com>
1068 * gdk/directfb/gdkdisplay-directfb.c:
1069 Added stub gdk_notify_startup_complete_with_id to compile
1070 * gdk/directfb/gdkwindow-directfb.c:
1071 Added gdk_window_set_opacity
1072 * gdk/directfb/gdkkeys-directfb.c:
1073 Fix menu key handling crash Bug #413328
1075 2007-05-01 Christian Persch <chpe@gnome.org>
1078 * gtk/gtkprintjob.h: Also move gtk_print_capabilities_get_type() to
1079 the new location. Bug #390437.
1081 2007-04-30 Matthias Clasen <mclasen@redhat.com>
1083 * gtk/gtksettings.c (settings_update_color_scheme):
1084 Make sure we always have a color_hash. (#423916, Jens Granseuer)
1086 2007-04-30 Christian Persch <chpe@gnome.org>
1088 * docs/reference/gtk/gtk-sections.txt:
1090 * gtk/gtkprinter-private.h:
1091 * gtk/gtkprinter.c: (gtk_printer_get_capabilities),
1092 (gtk_print_capabilities_get_type):
1094 * gtk/gtkprintjob.c:
1095 * gtk/gtkprintjob.h:
1096 * gtk/gtkprintunixdialog.c: (selected_printer_changed):
1097 Make gtk_printer_get_capabilities public, and move the
1098 GtkPrintCapabilities definition to gtkprinter.h. Bug #390437.
1100 2007-04-30 Matthias Clasen <mclasen@redhat.com>
1102 * gtk/gtkexpander.c (gtk_expander_realize): A NO_WINDOW widget
1103 must not set the background of its window. (#433972,
1106 2007-04-30 Richard Hult <richard@imendio.com>
1108 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_opacity):
1111 2007-04-30 Matthias Clasen <mclasen@redhat.com>
1113 * modules/printbackends/cups/gtkprintbackendcups.c: Get all
1114 the printer attributes when getting the list of printers,
1115 not via separate requests. (#387889, Krishan Purahoo)
1117 2007-04-30 Matthias Clasen <mclasen@redhat.com>
1119 Some more compiler warning fixes.
1121 * gdk/directfb/gdkscreen-directfb.c (gdk_screen_is_composited):
1122 Fix NULL/FALSE confusion.
1124 2007-04-30 Matthias Clasen <mclasen@redhat.com>
1126 Fix some compiler warnings. (#433642, Kjartan Maraas)
1128 * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_get_info):
1129 (gtk_file_system_win32_create_folder):
1130 * gtk/gtkaction.c (gtk_action_create_menu): Fix NULL/FALSE confusion.
1132 * gtk/gtklinkbutton.c (gtk_link_button_clicked): Pass
1133 the right type to uri_func.
1135 * gtk/gtktext.c (gtk_text_key_press):
1136 * gtk/gtkstatusicon.c (gtk_status_icon_get_property):
1137 * gtk/gtkxembed.c (_gtk_xembed_send_message): Add casts.
1139 * gtk/gtktrayicon-x11.c (gtk_tray_icon_manager_window_destroyed):
1140 (gtk_tray_icon_delete):
1141 * gtk/gtkprintunixdialog.c (create_main_page):
1142 * gtk/gtkhsv.c (gtk_hsv_motion): Remove unused variables.
1144 * gtk/gtkliststore.c: Adapt callbacks to GSequence types.
1146 2007-04-30 Cody Russell <bratsche@gnome.org>
1148 * gdk/win32/gdkwindow-win32.c: Reintroduced erase_background(),
1149 but now we're calling it from _gdk_windowing_window_clear_area()
1150 instead of from the WM_ERASEBKGND event. Also fixes the area
1151 that is cleared so that it is not an extra row and column too
1152 large. (Neil Roberts, #415681)
1154 2007-04-30 Matthias Clasen <mclasen@redhat.com>
1156 * gtk/gtktextview.c: Allow indents to be negative. (#Bug 434308)
1158 2007-04-30 Michael Natterer <mitch@imendio.com>
1160 * gtk/gtkmenushell.c (gtk_menu_shell_enter_notify): pop up the
1161 submenu explicitely only in touchscreen mode since otherwise
1162 selecting the item already pops up the submenu. Restores the
1163 drag-selection timeout (spotted by Søren Sandmann, #128968).
1165 2007-04-30 Michael Natterer <mitch@imendio.com>
1167 * gtk/gtkpapersize.h: really rename gtk_paper_size_get_builtins()
1168 to gtk_paper_size_get_paper_sizes().
1170 2007-04-30 Tor Lillqvist <tml@novell.com>
1172 * gtk/gtkpapersize.c (gtk_paper_size_get_paper_sizes):
1173 _gtk_load_custom_papers() exists only on Unix.
1175 2007-04-30 Tor Lillqvist <tml@novell.com>
1177 Add functionality to set overall opacity of a top-level
1180 * gdk/gdk.symbols: Add gdk_window_set_opacity.
1182 * gdk/x11/gdkwindow-x11.c
1183 * gdk/win32/gdkwindow-win32.c: Implement
1184 gdk_window_set_opacity(). On X11 use the _NET_WM_WINDOW_OPACITY
1185 property. On Win32 use SetLayeredWindowAttributes(LWA_ALPHA).
1187 * gdk/gdkwindow.h: Declare gdk_window_set_opacity().
1189 * gdk/x11/gdkscreen-x11.c (gdk_screen_get_rgba_colormap): Document
1190 that this is not implemented in the Windows backend. Add reference
1191 to gdk_window_set_opacity().
1193 * gtk/gtk.symbols: Add gtk_window_set_opacity and
1194 gtk_window_get_opacity.
1196 * gtk/gtkwindow.c (struct _GtkWindowPrivate)
1197 (gtk_window_class_init): Add opacity property, a double in the
1199 (gtk_window_set_opacity, gtk_window_get_opacity): Implement.
1200 (gtk_window_realize): If opacity is set, call
1201 gdk_window_set_opacity().
1203 * gtk/gtkwindow.h: Declare gtk_window_set_opacity() and
1204 gtk_window_get_opacity().
1206 2007-04-30 Matthias Clasen <mclasen@redhat.com>
1209 * gtk/gtkpapersize.[hc]: Rename gtk_paper_size_get_builtins()
1210 to gtk_paper_size_get_paper_sizes() and optionally include
1213 * gtk/gtkpagesetupunixdialog.c: Internally export a function
1214 to load custom paper sizes.
1216 * modules/printbackends/file/gtkprintbackendfile.c: Implement
1217 printer_list_papers, returning all paper sizes. (#434329,
1220 2007-04-30 Matthias Clasen <mclasen@redhat.com>
1222 * gtk/gtkprintoperation.c: Translate the default job
1223 name, and don't utf8-validate the job name in the
1224 setter. (#421993, Morten Welinder)
1226 2007-04-30 Matthias Clasen <mclasen@redhat.com>
1228 * gtk/gtkprintjob.c (gtk_print_job_get_surface): Use
1229 g_unlink. (#421990, Morten Welinder)
1231 2007-04-29 Matthias Clasen <mclasen@redhat.com>
1233 Fix some issues with reference handling in the printing
1234 code. (#429902, Mathias Hasselmann)
1236 * gtk/gtkprintoperation.c (gtk_print_operation_finalize):
1237 Unref the print context, if we have one.
1238 (gtk_print_operation_done): Add a default ::done handler
1239 that unrefs the print context.
1240 (preview_ready): Take a reference on the print operation
1242 (print_pages_idle): ...not here,
1243 (preview_print_idle_done): ...and release it here.
1245 * tests/print-editor.c (preview_cb): Take a reference
1246 on the print operation here.
1248 2007-04-29 Matthias Clasen <mclasen@redhat.com>
1250 * gtk/gtkprintoperation.c (print_pages_idle): Don't get
1251 stuck in a recursive mainloop if a synchronous preview
1254 2007-04-29 Matthias Clasen <mclasen@redhat.com>
1256 Make the emission of ::end-print and ::done consistent
1257 for previews. (#347567, Yevgen Muntyan)
1259 * gtk/gtkprintoperation.c (preview_iface_end_preview): Set
1260 the finished status here.
1261 (preview_end_run): ...and not here.
1262 (print_pages_idle_done): Emit ::done for a cancelled preview.
1263 (print_pages_idle): If a preview has been cancelled, don't
1264 emit ::ready, but emit ::end-print.
1266 * tests/print-editor.c: Use ::end-print to undo allocations
1269 2007-04-29 Matthias Clasen <mclasen@redhat.com>
1271 * gtk/gtkpapersize.c (gtk_paper_size_new): Mark paper sizes
1272 in the PWG "custom" namespace as custom. Add a link to
1273 the spec in the docs. (#426416, Andreas Guelzow)
1275 2007-04-29 Matthias Clasen <mclasen@redhat.com>
1277 * gtk/gtkprintoperation.c (gtk_print_operation_run): Document
1278 that a print operation can be run only once, and add a
1279 corresponding g_return_if_fail(). (#379399, Masao Mutoh)
1281 2007-04-29 Dan Winship <danw@novell.com>
1283 * gdk/x11/gdkdisplay-x11.c
1284 (gdk_x11_display_broadcast_startup_message): New method to
1285 marshall and send a Startup Notification message. (from #415070)
1286 (gdk_notify_startup_complete_with_id): Use that
1288 2007-04-29 Mattthias Clasen <mclasen@redhat.com>
1290 * gtk/gtkprintoperation-unix.c
1291 (_gtk_print_operation_platform_backend_launch_preview):
1292 Don't leak a file descriptor, and don't make the error
1293 dialog modal. (#421985, Morten Welinder, Christian Persch)
1295 2007-04-29 Xan Lopez <xan@gnome.org>
1297 * docs/faq/gtk-faq.sgml: Fix typo in FAQ (#373706,
1298 Diego Escalante Urrelo).
1300 I'm fixing gtk-faq.sgml as it seems this is the file
1303 2007-04-29 Matthias Clasen <mclasen@redhat.com>
1305 * gtk/gtktoolbar.c (_gtk_toolbar_elide_underscores):
1306 Only strip parentheses of the form (_x). (#434261,
1309 2007-04-29 Matthias Clasen <mclasen@redhat.com>
1311 * gtk/gtkprintoperation-unix.c
1312 (_gtk_print_operation_platform_backend_launch_preview):
1313 Support passing a print settings file to the preview
1314 command. (#403717, Christian Persch)
1316 * gtk/gtksettings.c: Document %s in the
1317 gtk-print-preview-command setting.
1319 2007-04-29 Matthias Clasen <mclasen@redhat.com>
1321 * gtk/gtkprintoperation.c (print_pages_idle): Also check
1322 the default handler when deciding whether to emit the
1323 paginate signal. (#345345, Yevgen Muntyan)
1325 2007-04-29 Matthias Clasen <mclasen@redhat.com>
1327 * gtk/gtkprintoperation.h: Add a new error code
1330 * gtk/gtkpagesetup.[hc]:
1331 * gtk/gtkpapersize.[hc]:
1332 * gtk/gtkprintsettings.[hc]: Add functions to serialize
1333 and deserialize page setups and print settings to files
1334 and key files. (#344515, Christian Persch)
1336 * gtk/gtkpagesetupunixdialog.c: Adapt to the new functions.
1338 * tests/print-editor.c: Use the new functions to persist
1339 page setup and print settings.
1341 2007-04-29 Matthias Clasen <mclasen@redhat.com>
1343 * gtk/gtkpagesetupunixdialog.c (gtk_page_setup_unix_dialog_finalize):
1344 Free the custom paper list. (#403267, Felix Riemann)
1346 2007-04-29 Matthias Clasen <mclasen@redhat.com>
1348 * gtk/gtkprintjob.c (gtk_print_job_get_surface): Fix a
1349 small memory leak. (#403251, Felix Riemann)
1351 2007-04-29 Matthias Clasen <mclasen@redhat.com>
1353 * modules/printbackends/cups/gtkprintbackendcups.c: Fix a
1354 typo. String change ! (#406160, Stephane Raimbault)
1356 2007-04-29 Matthias Clasen <mclasen@redhat.com>
1359 * gtk/gtkpapersize.[hc]: Add a function to list the
1360 builtin paper sizes. (#382355, Christian Persch)
1362 2007-04-29 Matthias Clasen <mclasen@redhat.com>
1365 * gtk/gtkprinter-private.h:
1366 * gtk/gtkprinter.[hc]: Make gtk_printer_has_details() and
1367 gtk_printer_request_details() public.
1369 * gtk/gtkpagesetupunixdialog.c:
1370 * gtk/gtkprintunixdialog.c: Update callers. (#389203,
1373 2007-04-28 Matthias Clasen <mclasen@redhat.com>
1375 * configure.in: Add --enable-test-print-backend, defaulting
1378 * modules/printbackends/Makefile.am: Make building the test
1379 print backend conditional.
1381 2007-04-28 Matthias Clasen <mclasen@redhat.com>
1383 * modules/printbackends/lpr/*:
1384 * modules/printbackends/cups/*: Correct some copyright lines.
1387 * modules/printbackends/Makefile.am:
1388 * modules/printbackends/test/*: Add a test print backend.
1389 (#409089, John Palmieri)
1391 2007-04-28 Matthias Clasen <mclasen@redhat.com>
1393 * gtk/gtktexttag.[hc]: Add a way to specify accumulative
1394 margins. (#344499, Nate Nielsen)
1396 2007-04-28 Matthias Clasen <mclasen@redhat.com>
1398 * gtk/gtkeventbox.c (gtk_event_box_realize): Fix the offsets
1399 of the input-only window if we also have a visible window.
1402 2007-04-28 Matthias Clasen <mclasen@redhat.com>
1404 * gtk/gtkliststore.c (gtk_list_store_set_valist_internal):
1405 * gtk/gtktreestore.c (gtk_tree_store_set_valist_internal):
1406 Recognize negative column indices as invalid. (#415260,
1409 2007-04-28 Ronald Bultje <rbultje@ronald.bitfreak.net>
1411 * gdk/quartz/gdkeventloop-quartz.c: (select_thread_func),
1412 (poll_func): fix two more potential races that could happen when
1413 an application is polling in the mainloop and a separate thread
1414 tries to wake it up using g_idle_add(). Fixes #425271 comment 5.
1416 2007-04-28 Matthias Clasen <mclasen@redhat.com>
1418 * gtk/gtkentry.c (gtk_entry_grab_focus):
1419 (gtk_entry_real_insert_text): Only call g_object_get()
1420 when necessary. (#373137, Morten Welinder, patch by Xan Lopez)
1422 2007-04-28 Matthias Clasen <mclasen@redhat.com>
1424 * gtk/gtkstatusicon.c (gtk_status_icon_get_size): Add
1425 a note about being embedded. (#340107, Christian Persch)
1427 2007-04-28 Matthias Clasen <mclasen@redhat.com>
1429 * gtk/gtkdnd.[hc]: Add GTK_TARGET_OTHER_{APP,WIDGET} to
1430 restrict drags within an application/widget. (#163141,
1433 2007-04-28 Matthias Clasen <mclasen@redhat.com>
1435 * docs/tools/Makefile.am:
1436 * gtk/Makefile.am: Make make clean clean. (#410160, Tommi
1439 2007-04-28 Matthias Clasen <mclasen@redhat.com>
1441 * gdk/win32/bdfcursor.c (compose_cursors_from_fonts):
1442 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_reorder):
1443 * gtk/gtkfilesystemmodel.c (got_root_folder_cb):
1444 (get_children_folder_cb): Plug memory leaks caused by wrong
1445 use of g_slist_remove_link(). (#405515, Nicolas Peninguy)
1447 2007-04-28 Matthias Clasen <mclasen@redhat.com>
1449 * demos/gtk-demo/printing.c: Fix the headers in the print
1450 demo. (#423722, Yevgen Muntyan)
1452 2007-04-28 Xan Lopez <xan@gnome.org>
1454 * gtk/gtkentrycompletion.c (gtk_entry_completion_insert_completion_text):
1455 Use strstr instead of g_strstr with -1 for length.
1457 2007-04-28 Xan Lopez <xan@gnome.org>
1460 * gtk/gtkentrycompletion.c:
1461 * gtk/gtkentrycompletion.h:
1462 * gtk/gtkentryprivate.h:
1464 Remember the user input that triggered the completion, add
1465 API to the retrieve it and reset the entry contents to it
1466 if the user cancels the tentative completion during
1467 the inline-selection.
1469 2007-04-27 Matthias Clasen <mclasen@redhat.com>
1471 * gdk/x11/gdkgeometry-x11.c: Factor out window movement
1472 functions. (#63820, Tilman Sauerbeck)
1474 2007-04-27 Matthias Clasen <mclasen@redhat.com>
1476 * gdk/x11/gdkgeometry-x11.c: Factor out translate_pos().
1477 (#63820, Tilman Sauerbeck)
1479 2007-04-27 Matthias Clasen <mclasen@redhat.com>
1481 * gdk/x11/gdkgeometry-x11.c: Factor out window mapping
1482 and unmapping functions. (#63820, Tilman Sauerbeck)
1484 2007-04-27 Matthias Clasen <mclasen@redhat.com>
1486 * gdk/x11/gdkgeometry-x11.c: Make list handling code
1487 easier to read. (#63820, Tilman Sauerbeck)
1489 2007-04-27 Matthias Clasen <mclasen@redhat.com>
1495 * gtkrecentmanager.c:
1496 * gtktextiter.c: Internalize some strings, pointed out
1499 2007-04-27 Xan Lopez <xan@gnome.org>
1501 Support inline-selection in entries (#318459)
1504 * gtk/gtkentrycompletion.c:
1505 * gtk/gtkentrycompletion.h:
1506 * gtk/gtkentryprivate.h:
1508 When enabled cursor-match is emited when the cursor is on
1509 a possible completion on the list. The default implementation
1510 will replace the contents on the entry with the contents of
1511 the text column in the completion model.
1513 Review and improvements by Matthias Clasen.
1515 2007-04-27 Michael Natterer <mitch@imendio.com>
1517 Merged heavily modified patch from maemo-gtk which enables opening
1518 and closing submenus on click, and introduces some usability
1519 changes when gtk-touchscreen-mode is enabled (bug #128968):
1521 * gtk/gtkmenushell.c (struct GtkMenuShellPrivate): added boolean
1522 "activated_submenu" to indicate that the current mouse operation
1523 (click or drag) has opened a submenu.
1525 (gtk_menu_shell_button_press): pop up submenus without delay
1526 and record the fact in "activated_submenu".
1528 (gtk_menu_shell_button_release): if a submenu was explicitely
1529 opened, or not opened by this release's button_press, or enough
1530 time has passed since timeout-opening it, close the submenu here.
1532 (gtk_menu_shell_enter_notify): when entering a menu item with
1533 any mouse button pressed, open its submenu.
1535 (gtk_real_menu_shell_move_current): in touchsreen mode, close the
1536 submenu when moving the focus away from it via keyboard-navigation.
1538 * gtk/gtkmenuitem.[ch] (_gtk_menu_item_popup_submenu): added
1539 parameter "gboolean with_delay" so GtkMenuShell can control this
1540 for the different scenarios of submenu showing.
1542 (_gtk_menu_item_popdown_submenu): new function. also needed by
1543 GtkMenuShell for closing submenus on click.
1545 Renamed internal function gtk_menu_item_select_timeout() to
1546 gtk_menu_item_popup_timeout().
1548 (gtk_menu_item_real_popup_submenu): new utility function which
1549 does the actual popup and records the exact time of the popup when
1550 the menu was timeout-opened (using g_get_current_time()).
1552 (gtk_real_menu_item_select): don't add the popup timeout when in
1555 * gtk/gtkmenu.c (gtk_menu_popup): in touchscreen mode, select the
1556 first item of every opened menu.
1558 2007-04-26 Matthias Clasen <mclasen@redhat.com>
1560 * gtk/gtkfilechooserentry.c: Append a '/' to directory names
1561 in the completion popup. (#431323, Maarten Maathuis)
1563 2007-04-26 Matthias Clasen <mclasen@redhat.com>
1565 * demo/gtk-demo/combobox.c: Add a simple validation demo.
1566 * gtk/gtkcomboboxentry.c: Make it possible to add arbitrary
1567 children to a GtkComboBoxEntry. (#426401, Paul Pogonyshev)
1569 2007-04-26 Tor Lillqvist <tml@novell.com>
1571 * gtk/gtkinputdialog.c (gtk_input_dialog_fill_axes)
1572 (gtk_input_dialog_fill_keys): Remove old child of scrolled window
1573 before adding a new one when switching what input device is being
1576 2007-04-26 Matthias Clasen <mclasen@redhat.com>
1578 * modules/printbackends/lpr/gtkprintbackendlpr.c
1579 (gtk_print_backend_lpr_init): Mark the printer list as done.
1580 (#428665, Bogdan Gheorghe)
1582 2007-04-26 Matthias Clasen <mclasen@redhat.com>
1585 * gtk/Makefile.am: Don't install UNIX-printing headers and
1586 support files on non-UNIX platforms. (#425655, Vincent Geddes)
1588 2007-04-26 Matthias Clasen <mclasen@redhat.com>
1590 * gtk/gtkuimanager.c (gtk_ui_manager_add_ui): Accept
1591 unnamed separators. (#369112, Christian Persch)
1593 2007-04-26 Matthias Clasen <mclasen@redhat.com>
1595 * gtk/gtkaccelgroup.c (gtk_accel_group_finalize): Don't access
1596 invalid memory. (#429732, Armin Burgmeier)
1598 2007-04-26 Cody Russell <bratsche@gnome.org>
1600 * gdk/win32/xcursors.h:
1601 * gdk/win32/gdkcursor-win32.c:
1603 Use Win32 native cursors instead of the ones built into GTK
1604 where it makes sense. (#128852, Tim Evans)
1606 2007-04-25 Cody Russell <bratsche@gnome.org>
1610 * gtk/gtkhandlebox.c:
1611 * gdk/directfb/gdkwindow-directfb.c:
1612 * gdk/linux-fb/gdkwindow-fb.c:
1613 * gdk/quartz/gdkwindow-quartz.c:
1614 * gdk/win32/gdkwindow-win32.c:
1615 * gdk/x11/gdkwindow-x11.c:
1616 Added window type hint and implement drop shadows on Win32
1617 for menus, tooltips, etc. (#148535, Tim Evans, Dom Lachowicz)
1619 2007-04-25 Jakub Steiner <jimmac@ximian.com>
1621 * gtk/stock-icons/16/gtk-close.{png,svg}: added 16x16 version of
1622 gtk-close as per discussion in bug #431740.
1624 2007-04-25 Matthias Clasen <mclasen@redhat.com>
1626 * gtk/gtktreeview.c (gtk_tree_view_style_set): Set the background
1627 of the header window again. (#431067, Benjamin Berg)
1629 2007-04-25 Matthias Clasen <mclasen@redhat.com>
1631 * gtk/gtkicontheme.c (theme_lookup_icon): Set the filename to
1632 NULL for builtin icons, sinc gtk_icon_info_get_builtin_pixbuf()
1635 * tests/testicontheme.c: Report builtin icons.
1637 2007-04-25 Matthias Clasen <mclasen@redhat.com>
1639 * gtk/gtkprintoperation.c (preview_iface_end_preview): Don't
1640 crash if end_run is not set. (#424168, Matthias Hasselmann)
1642 2007-04-25 Michael Natterer <mitch@imendio.com>
1644 * gtk/gtkmenu.c (gtk_menu_handle_scrolling): fix ACTIVE state of
1645 scroll buttons (we were setting the state to ACTIVE but
1646 immediately overwriting it with NORMAL or PRELIGHT). Also got rid
1647 of many separate calls to gdk_window_invalidate_rect() by
1648 remembering the old button state and only invalidating the area if
1649 the state has changed (addresses parts of bug #433242, Tommi
1652 (gtk_menu_scroll_to): change the arrow states only if changing
1653 from or to INSENSITIVE state, so we don't overwrite the ACTIVE
1654 state set by above function.
1656 2007-04-25 Michael Natterer <mitch@imendio.com>
1658 * gtk/gtkprintoperation.c (preview_iface_is_selected): fix the
1659 build. Dunno if the fix is right, but I think it is.
1661 2007-04-25 Kristian Rietveld <kris@imendio.com>
1663 * gtk/gtktooltip.c (find_topmost_widget_coords_from_event):
1664 cleanup/refactor some leftover code.
1666 2007-04-24 Matthias Clasen <mclasen@redhat.com>
1668 * gtk/gtkprintunixdialog.c (dialog_get_page_ranges): Parse
1669 half-open ranges like -2 or 3-, and be a bit more liberal
1671 (dialog_set_page_ranges): Support half-open ranges.
1673 * gtk/gtkprintoperation.c (print_pages_idle): Substitute the
1674 number of pages in half-open ranges.
1675 (preview_iface_is_selected): Support half-open ranges here, too.
1677 2007-04-24 Chris Wilson <chris@chris-wilson.co.uk>
1679 * gtk/gtkicontheme.c (scan_directory): Ensure the
1680 icon_theme->all_icons and dir->icons hash tables use the same string
1681 as their keys. (#418531)
1683 2007-04-23 Cody Russell <bratsche@gnome.org>
1684 * modules/engines/ms-windows/msw_style.c: Fixed one-pixel drawing error on
1685 left-most tab when notebooks are top-oriented. Also general cleanup of
1686 notebook tab related code. (Lieven van der Heide, Cody Russell)
1688 2007-04-23 Matthias Clasen <mclasen@redhat.com>
1690 * modules/printbackends/cups/gtkprintbackendcups.c: Reduce
1691 the amount of debug spew if we are not debugging.
1693 2007-04-23 Michael Natterer <mitch@imendio.com>
1695 * tests/Makefile.am (testtooltips_SOURCES): fix typo:
1696 testtoooltips_SOURCES -> testtooltips_SOURCES.
1698 2007-04-19 Cody Russell <bratsche@gnome.org>
1700 * modules/engines/ms-windows/msw_style.c: Fix menuitem rendering
1701 for Windows Vista. (#392015, Hiroyuki Yamamoto)
1703 2007-04-19 Dominic Lachowicz <domlachowicz@gmail.com>
1705 * modules/engines/ms-windows/msw_style.c: Fix pixbuf leaks in
1706 non-WinXP rendering paths. From Daniel Atallah (#403470)
1708 2007-04-19 Matthias Clasen <mclasen@redhat.com>
1710 * gtk/gtkicontheme.h:
1711 * gtk/gtkicontheme.c: Add GTK_ICON_LOOKUP_GENERIC_FALLBACK
1712 icon lookup flag and implement it. (#396901, Luca Ferreti)
1714 2007-04-18 Richard Hult <richard@imendio.com>
1716 * gdk/quartz/gdkwindow-quartz.c:
1717 (gdk_window_quartz_process_updates_internal),
1718 (gdk_window_quartz_process_all_updates),
1719 (gdk_window_impl_quartz_process_updates): Refactor the process
1720 updates functions to share code between them. Also fixes bug
1721 #427660 by not updating larger regions than necessary.
1723 2007-04-18 Matthias Clasen <mclasen@redhat.com>
1725 * gdk/gdkregion-generic.h (GROWREGION): Handle the case
1726 of nRects == 0 correctly.
1728 2007-04-18 Emmanuele Bassi <ebassi@gnome.org>
1730 * gtk/gtkrecentmanager.c (gtk_recent_manager_lookup_item): Fix
1731 a leak by not increasing the refcount of the GtkRecentInfo
1732 object when returning it (thanks to Matthias Clasen).
1734 2007-04-16 Alexander Larsson <alexl@redhat.com>
1736 * gtk/gtkprintoperation.c (gtk_print_operation_run):
1737 Make async print preview work by actually starting
1738 the print process in that case (#424168)
1740 2007-04-14 Yevgen Muntyan <muntyan@tamu.edu>
1742 * gtk/gtkselection.c (selection_get_text_plain): fixed
1743 wrong g_convert_with_fallback() call which caused
1744 gtk_selection_data_get_text() return invalid UTF-8 for
1745 non-ASCII text in text/plain selection (#382824).
1747 2007-04-12 Jakub Steiner <jimmac@ximian.com>
1749 * gtk/stock-icons/*: update the stock icons to follow the Tango
1752 2007-04-11 Chris Wilson <chris@chris-wilson.co.uk>
1754 * gtk/gtkiconfactory.c (_gtk_icon_factory_list_ids):
1755 * gtk/gtkstock.c (gtk_stock_list_ids):
1756 Switch over to use glib's new g_hash_table_get_keys() rather
1757 than our own static implementation.
1759 * gtk/gtkiconfactory.h: Update to return a GList.
1761 * configure.in: Bump required version to 2.13.1
1763 2007-04-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
1765 * gdk/quartz/gdkeventloop-quartz.c: Protect the polling thread
1766 setup and shutdown function by mutexes and read the wakeup
1767 pipe unconditionally and unblocking. This should make the main
1768 loop always be woken up when using g_idle_add() from another
1769 thread in the Quartz backend (#425271).
1771 2007-04-10 Matthias Clasen <mclasen@redhat.com>
1773 * gdk/x11/xsettings-client.[hc]: Change the XSettingsWatchFunc
1774 to return a Bool to indicate success. Update callers and
1775 implementors. Based on a patch by Owen Taylor.
1777 * gdk/x11/gdkevents-x11.c (gdk_xsettings_watch_cb): Don't
1778 leak a reference to gdkwin.
1780 2007-04-07 Xan Lopez <xan@gnome.org>
1782 * gtk/gtknotebook.c (gtk_notebook_class_init):
1783 s/arrow-size/arrow-spacing in the arrow-spacing
1784 style property docs.
1786 2007-04-06 Richard Hult <richard@imendio.com>
1788 * gdk/quartz/: Clean up namespaces to make the code more
1791 * gdk/quartz/gdkdrawable-quartz.c:
1792 * gdk/quartz/gdkgc-quartz.c: Fix bug #418384, alignment of tiled
1793 images, by setting the pattern phase for the CG pattern.
1795 2007-04-04 Kristian Rietveld <kris@imendio.com>
1797 * gtk/gtktooltip.c (tooltip_browse_mode_expired),
1798 (gtk_tooltip_hide_tooltip), (tooltip_popup_timeout),
1799 (gtk_tooltip_start_delay): use new gdk_threads API.
1801 2007-04-03 Behdad Esfahbod <behdad@gnome.org>
1803 * gtk/gtksettings.c (settings_update_font_options): Don't set
1804 metrics-hinting font option. Rely on the default value which is
1805 on for all raster cairo surfaces. (#425985)
1807 2007-04-03 LoĂŻc Minier <lool@dooz.org>
1809 * gdk/x11/gdkscreen-x11.c: (check_xfree_xinerama): Revert to
1810 non-xinerama mode when XineramaQueryScreens returns NULL; patch from
1811 Simon McVittie; #425786.
1813 2007-04-02 Michael Natterer <mitch@imendio.com>
1815 * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): remove
1816 artifact from the time when type checking casts warned on NULL,
1817 some whitespace cleanup.
1819 2007-04-01 Cody Russell <bratsche@gnome.org>
1821 * modules/engines/ms-windows/msw_style.c: Fix rendering of
1822 notebook tabs when they are bottom-oriented. Fixes #399253.
1824 2007-03-31 Elijah Newren <newren gmail com>
1826 * gdk/x11/gdkwindow-x11.c (setup_toplevel_window,
1827 gdk_x11_window_set_user_time):
1828 Patch from Matthias to add support for the
1829 _NET_WM_USER_TIME_WINDOW EWMH protocol; see #354213.
1831 WARNING: This patch will make metacity <= 2.18.0 freeze on
1832 workspace switch. This is due to a weird problem that should only
1833 affect window managers using gdk in-process for decoration drawing
1834 and which make an unsafe assumption relating to doing so (i.e. it
1835 should only affect metacity). Upgrade your version of metacity if
1838 2007-03-29 Michael Natterer <mitch@imendio.com>
1840 Don't close menus on clicks on their border area (bug #423761).
1841 (modified patch from maemo-gtk).
1843 * gtk/gtkmenu.c (gtk_menu_button_press)
1844 (gtk_menu_button_release): bail out early if the click was on the
1845 menu's border (not on any item and not outside the window).
1847 (pointer_in_menu_window): new utility function which checks if
1848 passed root coords are inside the menu_shell or one of its
1851 2007-03-29 Michael Natterer <mitch@imendio.com>
1853 * gtk/gtkmenu.c: get rid of local GtkSettings variables by moving
1854 gtk_widget_get_settings() into the g_object_get() call. Some small
1857 2007-03-28 Matthias Clasen <mclasen@redhat.com>
1859 * modules/printbackends/cups/gtkcupsutils.[hc]:
1860 * modules/printbackends/cups/gtkprintbackendcups.c: Apply
1861 a patch by John Palmieri to make the cups print backend support
1864 2007-03-28 Kristian Rietveld <kris@imendio.com>
1866 * gtk/gtkwidget.c (gtk_widget_set_tooltip_window): don't unref
1867 tooltip_window, since this is handled by set_qdata_full() already.
1868 (#412001, Torsten Schoenfeld).
1870 2007-03-27 Tor Lillqvist <tml@novell.com>
1872 * modules/input/Makefile.am: Use LDADDS for im-multipress.la, too:
1874 2007-03-26 Christian Persch <chpe@gnome.org>
1876 * gtk/gtkrc.c: (gtk_rc_context_get): Initialise variable. Bug #423064.
1878 2007-03-24 Kristian Rietveld <kris@gtk.org>
1880 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
1881 calculate the depth with the corrected real_cell_area and don't
1882 subtract horizontal_separator/2.
1884 2007-03-24 Andreas Nilsson <andreas@andreasn.se>
1887 * gtk-no: More Tango love.
1889 2007-03-23 Jakub Steiner <jimmac@ximian.com>
1891 * gtk-dialog-authentication.svg
1892 * gtk-dialog-error.svg
1893 * gtk-dialog-info.svg
1894 * gtk-dialog-question.svg
1895 * gtk-dialog-warning.svg: Start with a Tango face-lift.
1897 2007-03-23 Rodney Dawes <dobey@novell.com>
1899 * gtk/gtkicontheme.c: Fix a couple of comment typos (#421627)
1901 2007-03-23 Matthias Clasen <mclasen@redhat.com>
1903 * gtk/gtkfilechooserdefault.c: Add a keybinding (C-h) to
1904 toggle whether to show hidden files. (#344657,
1905 Wouter Bolsterlee, Priit Laes, et al)
1907 2007-03-23 Matthias Clasen <mclasen@redhat.com>
1909 * gtk/gtkfilechooserdefault.c: Add a keybinding (C-l) to
1910 toggle the visibility of the location entry. (#383354,
1911 John Pye, patch by Carlos Garnacho)
1913 2007-03-22 Matthias Clasen <mclasen@redhat.com>
1915 * gtk/gtksettings.c (merge_color_scheme): Freeze property
1917 * gtk/gtksettings.c (_gtk_settings_handle_event): Handle
1918 the gtk-color-scheme xsetting being unset.
1920 * gtk/gtkrc.c (gtk_rc_reparse_all_for_settings): Handle
1923 2007-03-21 Matthias Clasen <mclasen@redhat.com>
1925 * gtk/gtkprintoperation-unix.c: Remove leftover debug spew.
1927 2007-03-21 Rodney Dawes <dobey@novell.com>
1930 * gtk/gtkicontheme.[ch]:
1931 * docs/reference/gtk/gtk-sections.txt:
1932 * tests/testicontheme.c:
1933 Add a new API call gtk_icon_theme_list_contexts so that one can
1934 choose icons from a theme by context (#420719)
1936 2007-03-21 Ross Burton <ross@burtonini.com>
1939 Document the ::event signal (#420703).
1941 2007-03-20 Kristian Rietveld <kris@gtk.org>
1943 * gtk/gtktreeviewcolumn.c:
1944 * gtk/gtktreeprivate.h: add _gtk_tree_view_column_get_focus_area().
1946 * gtk/gtktreeview.c (gtk_tree_view_clamp_column_visible): add
1947 focus_to_cell parameter, rework to handle clamping columns which
1948 are bigger than the available page size better,
1949 (gtk_tree_view_key_press): remove code handling moving the focus
1950 to other column headers,
1951 (gtk_tree_view_header_focus): add clamp_column_visible parameter,
1952 fix RTL support, don't wrap around when moving focus to other
1953 column headers, call gtk_tree_view_clamp_column_visible() instead
1954 of duplicating code,
1955 (gtk_tree_view_focus): only clamp the column visible when we are
1956 explicitly moving to another column header (fixes #399555, Charles
1958 (gtk_tree_view_move_cursor_left_right): update call to
1959 gtk_tree_view_clamp_column_visible().
1961 2007-03-19 Matthias Clasen <mclasen@redhat.com>
1963 * demos/gtk-demo/appwindow.c: Explicitly set the title on the
1966 2007-03-18 Matthias Clasen <mclasen@redhat.com>
1968 * gtk/gtkentrycompletion.c (gtk_entry_completion_compute_prefix):
1969 Ensure that the prefix is valid UTF-8. (#419568, Nickolay V. Shmyrev)
1971 2007-03-18 Matthias Clasen <mclasen@redhat.com>
1973 * modules/input/gtkimcontextmultipress.[hc]:
1974 * modules/input/im-multipress.conf:
1975 * modules/input/immultipress.c:
1976 * modules/input/README.multipress: Add the multipress input
1977 method. (#417446, Johannes Schmid, Murray Cumming)
1979 * modules/input/Makefile.am: Glue
1981 2007-03-17 Chris Wilson <chris@chris-wilson.co.uk>
1983 * gdk/x11/gdkvisual-x11.c (_gdk_visual_init):
1984 Initialise nxvisuals to 0 in order to handle XGetVisualInfo()
1985 failures gracefully. (#419171)
1987 2007-03-17 Emmanuele Bassi <ebassi@gnome.org>
1989 * gtk/gtkrecentaction.c (recent_chooser_set_property),
1990 (gtk_recent_action_set_property): Remove useless inlined
1991 function and propagate the properties to the GtkRecentChooser
1992 objects we create, instead of all the proxies.
1994 (set_current_filter): Remove 'inline' marker.
1996 2007-03-16 Emmanuele Bassi <ebassi@gnome.org>
1998 Apply changes suggested by Michael Natterer. (#338843)
2001 * gtk/gtkaction.c: Rename get_submenu() to create_menu();
2002 rename gtk_action_get_submenu() to gtk_action_create_menu().
2004 * gtk/gtkrecentaction.c: Update for GtkAction change.
2006 * gtk/gtkuimanager.c (update_node): Update for GtkAction change;
2007 also, use the menu from the GtkAction for both menuitem and
2010 2007-03-16 Xan Lopez <xan@gnome.org>
2012 * gtk/gtkwidget.c: Fix documentation error in
2013 gtk_widget_set_redraw_on_allocate.
2015 2007-03-16 Matthias Clasen <mclasen@redhat.com>
2017 * gtk/gtkprintunixdialog.c (printer_added_cb): Scroll to
2018 make the selected printer visible. (#418403, Nickolay V. Shmyrev,
2019 patch by Christian Persch)
2021 2007-03-15 Federico Mena Quintero <federico@novell.com>
2023 Merged from gtk-2-10:
2025 * gtk/gtkfilechooserdefault.c (find_good_size_from_style):
2026 PANGO_PIXELS() gives us device units, which are *points* in
2027 pangocairo's parlance, but we want actual pixels. So, get the
2028 screen's resolution to compute the actual number of pixels.
2031 2007-03-15 Emmanuele Bassi <ebassi@gnome.org>
2033 * gtk/gtkrecentmanager.c (gtk_recent_manager_add_item): Remove
2034 unused GError; do not allocate GtkRecentData and use a variable
2035 on the stack. (#418673, Morten Welinder)
2037 2007-03-15 Emmanuele Bassi <ebassi@gnome.org>
2039 * gtk/gtkaction.[ch]: Add GtkActionClass::get_submenu() vfunc:
2040 actions providing a menu item or a menu tool button with already
2041 a submenu should return the GtkMenu widget.
2043 * gtk/gtkuimanager.c (update_node): If an action provides its
2044 own submenu, use it instead of adding an empty one
2046 * gtk/gtkrecentaction.[ch]: Add GtkRecentAction, an action
2047 implementing the GtkRecentChooser interface for displaying the
2048 list of recently used files into menus and toolbars generated
2049 using GtkUIManager. (#338843)
2053 * gtk/gtk.symbols: Add GtkRecentAction API to the build.
2055 * tests/testactions.c: Exercise the GtkRecentAction API.
2057 2007-03-15 Chris Wilson <chris@chris-wilson.co.uk>
2059 * gtk/gtkicontheme.c (ensure_valid_themes), (rescan_themes),
2060 (gtk_icon_theme_rescan_if_needed): Protect ensure_valid_themes()
2061 from recursion, which can happen for example if the app tries to
2062 reload an icon from within a theme-changed handler. (#418531)
2064 2007-03-15 Richard Hult <richard@imendio.com>
2066 * gdk/quartz/gdkmain-quartz.c: Add stubs for
2067 gdk_notify_startup_complete_with_id and gdk_window_set_startup_id
2070 2007-03-15 Emmanuele Bassi <ebassi@gnome.org>
2072 * gtk/gtkrecentmanager.c: Fix documentation errors. (Morten
2075 2007-03-15 Tor Lillqvist <tml@novell.com>
2077 * gdk/gdk.symbols: Add gdk_notify_startup_complete_with_id and
2078 gdk_window_set_startup_id.
2080 * gdk/win32/gdkmain-win32.c: Add dummy implementations of the above.
2082 2007-03-15 Emmanuele Bassi <ebassi@gnome.org>
2084 * gtk/gtkrecentchooserprivate.h:
2085 * gtk/gtkrecentchooserutils.c: Move filtering of the recent
2086 files list into the shared implementation; do the filtering
2087 before the sorting, so that we always clamp on the desired
2090 * gtk/gtkrecentchoosermenu.c: Remove the filtering of the
2091 list, as it's already been done.
2093 * gtk/gtkrecentchooserdefault.c: Ditto; also remove the
2094 GtkTreeModelFilter: just reload the view if the sorting and
2095 filtering properties change.
2097 * gtk/testrecentchoosermenu.c: Exercise the limit property.
2099 2007-03-14 Michael Natterer <mitch@imendio.com>
2101 Make gtk_widget_set_extension_events() work on already realized
2102 widgets (bug #379550, Tommi Komulainen)
2104 * gdk/x11/gdkinput.c (gdk_input_set_extension_events): allow to be
2105 called multiple times without leaking and work correctly when
2106 already realized (don't rely on a configure event following).
2108 * gtk/gtkwidget.c (gtk_widget_set_extension_events_internal): new
2109 internal function which walks the GdkWindow tree and sets the
2110 extension events on all windows that belong to the widget.
2112 (gtk_widget_realize)
2113 (gtk_widget_set_extension_events): use the new function.
2115 2007-03-14 Emmanuele Bassi <ebassi@gnome.org>
2117 Various clean ups in the GtkRecent code. (see #338843)
2119 * gtk/gtkrecentchooserdefault.c:
2120 * gtk/gtkrecentchoosermenu.c:
2121 * gtk/gtkrecentchooserprivate.h:
2122 * gtk/gtkrecentchooserutils.c: Move the recent chooser function
2123 for getting the sorted and clamped list of recent files from the
2124 manager outside the implementations.
2126 * gtk/gtkrecentchooserdefault.c (chooser_set_sort_type): Repopulate
2127 the list when the sorting order changes.
2129 (gtk_recent_chooser_default_dispose),
2130 (gtk_recent_chooser_default_finalize): Move object unref and
2131 source removal from finalize to dispose.
2133 * gtk/gtkrecentchooser.c (gtk_recent_chooser_type_init): Relax the
2134 prerequisite for the GtkRecentChooser interface implementations,
2135 from GtkObject to GObject.
2137 (gtk_recent_chooser_class_init): Use GTK_PARAM_* instead of
2140 2007-03-13 Emmanuele Bassi <ebassi@gnome.org>
2142 Apply patch by Vytautas Liuolia for changing the startup
2143 notification id on a window in the X11 backend. (#347375)
2147 * gdk/x11/gdkdisplay-x11.c: Add gdk_notify_startup_complete_with_id()
2148 and gdk_x11_display_get_startup_notification_id().
2151 * gdk/x11/gdkwindow-x11.c: Add gdk_window_set_startup_id().
2154 * gtk/gtkwindow.c: Add gtk_window_set_startup_id(), used to
2155 change the startup notification id.
2157 (gtk_window_class_init), (gtk_window_init),
2158 (gtk_window_set_property): Add write-only "startup-id" property
2161 (gtk_window_realize): Set the startup notification id
2162 on a GtkWindow if it's valid.
2164 (gtk_window_map): If we have another valid startup notification
2165 id then finish the notification process.
2167 2007-03-13 Matthias Clasen <mclasen@redhat.com>
2169 * gtk/gtknotebook.c (gtk_notebook_real_insert_page):
2170 Fix tabbed browsing in epiphany. (#413664, Christian Persch)
2172 2007-03-12 Matthias Clasen <mclasen@redhat.com>
2174 * gtk/gtksizegroup.c (gtk_size_group_add_widget): Clarify
2175 docs. (#345844, Torsten Schoenfeld)
2177 * gdk/x11/gdkevents-x11.c (gdk_display_add_client_message_filter):
2178 * gdk/gdkwindow.c (gdk_window_add_filter): Add
2179 cross-references. (#351252, Vincent Untz)
2181 * gtk/gtkprintoperation.c: Fix an oversight in an
2182 example. (#381083, Ian Puleston)
2184 * gtk/gtkcombobox.c: Clean up and clarify docs. (#412484)
2186 2007-03-12 Matthias Clasen <mclasen@redhat.com>
2188 * gtk/gtkspinbutton.c (gtk_spin_button_style_set): Set
2189 the background of the panel window on style changes. (#402144,
2192 2007-03-12 Matthias Clasen <mclasen@redhat.com>
2194 * gtk/gtkbindings.c (gtk_binding_entry_add_signal): Remove
2195 an obsolete comment. (#402169, Xan Lopez)
2197 2007-03-12 Matthias Clasen <mclasen@redhat.com>
2199 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_property):
2200 Don't copy PangoLanguage. (#340031, Morten Welinder)
2202 2007-03-12 Matthias Clasen <mclasen@redhat.com>
2204 * gtk/gtkfilechooserbutton.c (change_icon_theme_get_info_cb):
2205 Handle the row reference path being NULL. (#410565, Joe Markus
2206 Clarke, patch by Chris Wilson)
2208 2007-03-11 Matthias Clasen <mclasen@redhat.com>
2210 * tests/testiconview.c: Handle Menu key presses without
2211 crash. (#385637, Christian Persch)
2213 2007-03-11 Matthias Clasen <mclasen@redhat.com>
2215 * gtk/gtktooltips.c (gtk_tooltips_get_info_from_tip_window):
2216 Don't crash if active_tips_data is NULL. (#382904, Li Yuan)
2218 2007-03-11 Matthias Clasen <mclasen@redhat.com>
2220 * gtk/gtktextview.c (gtk_text_view_set_buffer): Set first_para_mark
2221 to NULL. (#396805, Colin Leroy, patch by Mariano Suárez-Alvarez)
2223 2007-03-12 Kristian Rietveld <kris@gtk.org>
2225 * gtk/gtkfilechooserdefault.c (check_save_entry): immediately
2226 bail out if current_folder is NULL. (#350988, lots of reporters,
2227 modified patch by Jan Darmochwal).
2229 2007-03-10 Kristian Rietveld <kris@gtk.org>
2231 * gtk/gtktreeview.c (gtk_tree_view_search_dialog_hide): only
2232 hide the search dialog and send focus events if the search dialog
2233 is currently visible.
2235 2007-03-10 Richard Hult <richard@imendio.com>
2237 * gdk/quartz/gdkdrawable-quartz.c:
2238 (gdk_quartz_ref_cairo_surface): Reuse the surface during its lifetime.
2239 (gdk_quartz_drawable_get_context): Update for the new quartz cairo
2240 surface API (#410442). Don't lock focus unless called outside of an
2242 (gdk_quartz_drawable_release_context): Only flush the CG context and
2243 unlock focus if called outside of expose.
2244 (_gdk_quartz_drawable_finish): New function, used to free the cached
2247 * gdk/quartz/gdkwindow-quartz.c:
2248 (gdk_window_impl_quartz_begin_paint_region): A few small style changes.
2249 (_gdk_window_impl_quartz_get_type): No need to make the type info
2251 (gdk_window_quartz_process_all_updates): Move the autorelease pool
2252 allocation and freeing outside the loop.
2253 (_gdk_windowing_window_destroy): Finish the drawable.
2254 (move_resize_window_internal): Small cleanup and remove comment.
2256 * gdk/quartz/gdkpixmap-quartz.c: Finish the drawable.
2258 2007-03-10 Richard Hult <richard@imendio.com>
2260 * gdk/quartz/gdkprivate-quartz.h: Add missing function signature to fix
2263 2007-03-10 Richard Hult <richard@imendio.com>
2265 * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_get_name): Plug a leak.
2267 2007-03-10 Richard Hult <richard@imendio.com>
2269 * gdk/quartz/GdkQuartzView.c: Remove unneccesary exposure mask check.
2271 2007-03-10 Richard Hult <richard@imendio.com>
2273 * gdk/quartz/gdkevents-quartz.c: (gdk_screen_get_setting): Don't set
2274 the font name here, leave that to themes, fixes #387508.
2276 2007-03-10 Kristian Rietveld <kris@gtk.org>
2278 * gtk/gtktreemodelsort.c (gtk_tree_model_sort_ref_node),
2279 (gtk_tree_model_sort_real_unref_node): when (un)reffing an
2280 element, also (un)ref its parent elements. (Fixes #364946,
2281 reported by many, testcase by Andreas Koehler).
2283 2007-03-10 Matthias Clasen <mclasen@redhat.com>
2285 * gtk/gtkprintoperation-unix.c: Initialize the do_preview
2286 field of PrintResponseData. (#396703, Christian Persch)
2288 * tests/print-editor.c: Plug some leaks.
2290 2007-03-09 Matthias Clasen <mclasen@redhat.com>
2292 * gtk/gtktextview.c (gtk_text_view_end_selection_drag):
2293 Get rid of the unused event argument. Update all callers.
2295 * gtk/gtktextview.c (gtk_text_view_focus_out): Call
2296 gtk_text_view_end_selection_drag. (#351671, Boyd Timothy)
2298 2007-03-09 Matthias Clasen <mclasen@redhat.com>
2300 * modules/input/gtkimcontextxim.c
2301 (gtk_im_context_xim_filter_keypress): Don't commit
2302 modifier-adorned characters. (#331369, #335796, Lin Ma
2305 2007-03-09 Matthias Clasen <mclasen@redhat.com>
2307 * Everywhere: Remove unnecessary NULL checks before
2308 g_free(). (#369666, Morten Welinder, Djihed Afifi)
2310 * configure.in: Check for ftw.h
2312 2007-03-09 Matthias Clasen <mclasen@redhat.com>
2314 * gtk/gtkfilesystemwin32.c (get_icon_path): Remove
2315 C99isms. (#416525, Kazuki Iwamoto)
2317 2007-03-09 Tor Lillqvist <tml@novell.com>
2319 * README.win32: Update.
2321 2007-03-08 Matthias Clasen <mclasen@redhat.com>
2323 * gdk/x11/gdkasync.c (send_event_handler): Defer the callbacks
2324 to an idle to avoid deadlock with xcb-ified libX11. (#413032,
2327 2007-03-08 Matthias Clasen <mclasen@redhat.com>
2329 * gtk/gtknotebook.c (gtk_notebook_real_insert_page):
2330 Set child visibility to FALSE here; it will be turned
2331 back on in switch_page. (#413664, Carlos Garnacho)
2333 2007-03-08 Mathias Hasselmann <mathias.hasselmann@gmx.de>
2335 * modules/engines/ms-windows/msw_style.c: Use proper border style
2336 when drawing shadow of scrolled windows on Windows XP (#168326)
2337 * modules/engines/ms-windows/xp_theme.c: Explicitly set size of
2338 element_part_map array to ensure it always is large enough.
2340 2007-03-08 Mathias Hasselmann <mathias.hasselmann@gmx.de>
2342 * gtk/gtkcombobox.c: Add shadow-type style property, set shadow-type
2343 property of GtkEntry accordingly, unify size-allocation of toggle
2344 button (#411123, patch from Mathias Hasselmann).
2345 * gtk/gtkentry.c: Add shadow-type property. Query style properties
2346 on style changes only (#411123, patch from Mathias Hasselmann).
2347 * modules/engines/ms-windows/msw_style.c: Drop combo_box_draw_box
2348 hack as GtkComboBox emits drawing requests now (#411123, patch
2349 from Mathias Hasselmann).
2351 2007-03-08 Mathias Hasselmann <mathias.hasselmann@gmx.de>
2353 * gtk/gtkscrolledindow.c: Improve look of GtkScrolledWindow on Windows
2354 by implementing a scrollbars-within-bevel style property. (#168326)
2356 2007-03-08 Mathias Hasselmann <mathias.hasselmann@gmx.de>
2358 * gtk/gtkfilesystemwin32.c: Use Windows shell icons. Icons are
2359 stored in the current theme with the name
2360 "gtk-win32-shell-icon;PATH;INDEX". PATH and INDEX reference shell
2361 icons as reported by SHGetFileInfoW. (#412221)
2363 2007-03-07 Matthias Clasen <mclasen@redhat.com>
2365 * gtk/gtkexpander.c (gtk_expander_paint_focus): Draw the
2366 focus around the arrow if there is no label widget.
2367 (#124045, Cody Russell)
2369 2007-03-07 Matthias Clasen <mclasen@redhat.com>
2371 * gtk/gtkcombo.c: (gtk_combo_init):
2372 * gtk/gtkcombobox.c: (gtk_combo_box_set_popup_widget),
2373 (gtk_combo_box_menu_setup):
2374 Set names on the popup widgets to make them themable. (#414975,
2377 2007-03-07 Michael Natterer <mitch@imendio.com>
2379 * gtk/gtkcellrendereraccel.c: use multihead safe ungrab functions
2380 instead of gdk_keyboard_ungrab() and gdk_pointer_ungrab(), remove
2381 empty finalize() implementation, some cosmetic cleanup
2384 2007-03-06 Chris Wilson <chris@chris-wilson.co.uk>
2386 * gtk/gtkicontheme.c (update_current_theme), (gtk_icon_theme_init),
2387 (do_theme_change), (gtk_icon_theme_set_custom_theme),
2389 Be careful not to trigger a style reset before we have loaded
2390 the icon theme. (#414875).
2392 2007-03-06 Tor Lillqvist <tml@novell.com>
2395 * gtk/Makefile.am: Further fixes for building on Win32 outside
2396 srcdir. (#413492, Mathias Hasselmann)
2398 2007-03-04 Ihar Hrachyshka <iharh@gnome.org>
2400 * configure.in: Added be@latin to ALL_LINGUAS. Problems seems to be
2403 2007-03-04 Claudio Saavedra <csaavedra@alumnos.utalca.cl>
2405 * configure.in: Removed be@latin from ALL_LINGUAS, as it's currently
2408 2007-03-04 Ihar Hrachyshka <iharh@gnome.org>
2410 * configure.in: Added be@latin to ALL_LINGUAS
2412 2007-03-03 Guillaume Savaton <llumeao@gmail.com>
2414 * configure.in: Added Esperanto (eo) to ALL_LINGUAS
2416 2007-03-01 Matthias Clasen <mclasen@redhat.com>
2418 * gtk/gtksettings.c: Always store gtk-color-scheme
2419 values from all sources in the ColorSchemeData struct
2420 and ignore the property_value for gtk-color-scheme.
2421 This fixes #412596, reported by Thomas Wood.
2423 2007-02-28 Matthias Clasen <mclasen@redhat.com>
2425 * gtk/gtksettings.c: Make color scheme update properly
2426 when changing themes. (#402131, Benjamin Berg)
2428 2007-02-28 Matthias Clasen <mclasen@redhat.com>
2430 * gtk/gtkrc.c: Don't leak references to the color-hash
2431 gotten from GtkSettings. (#409357, Benjamin Berg)
2433 2007-02-28 Tristan Van Berkom <tvb@gnome.org>
2435 * gtk/gtkradiobutton.c: Fixed a warning from
2436 g_object_set (radiobutton, "group", NULL, NULL).
2438 2007-02-26 Matthias Clasen <mclasen@redhat.com>
2440 Apply a patch by Carlos Garnacho to fix several problems
2441 with filechooser size handling (#325477, #151169, 143213,
2444 * gtk/gtkfilechooserdefault.c: Increase NUM_LINES slightly.
2445 (browse_widgets_create): Don't force the paned position to 200.
2446 (find_good_size_from_style): Take the size of the extra widget
2449 * gtk/gtkfilechooserdialog.c (file_chooser_widget_update_hints):
2450 Accept a minimal width parameter. Update all callers.
2452 2007-02-26 Matthias Clasen <mclasen@redhat.com>
2454 * gtk/gtkprintunixdialog.c: Change the label to "Pages per side",
2455 which is more accurate, suggested by Tim Waugh. String change!
2457 2007-02-26 Matthias Clasen <mclasen@redhat.com>
2459 * gtk/gtkprinteroptionwidget.c: Make the folder selection for
2460 print-to-file work. Reported by Ian Collier.
2462 2007-02-26 Chris Wilson <chris@chris-wilson.co.uk>
2464 Bug 409101 – invalid read to gtkicontheme.c insert_theme(), might cause gnome-panel crash
2466 * gtk/gtkicontheme.c: (scan_directory):
2467 Reorder the replacement of the shared base_name key, so that we
2468 avoid dereferencing the string in the icon_theme->all_icon
2469 hash table after freeing it from the dir->icons hash table.
2471 2007-02-26 Tor Lillqvist <tml@novell.com>
2473 * gdk/win32/gdkwindow-win32.c (gdk_window_set_icon_name): Add
2474 comment clarifying that "icon name" here is not related to the
2475 freedesktop.org icon naming stuff.
2477 2007-02-23 Dom Lachowicz <domlachowicz@gmail.com>
2479 * modules/engines/ms-windows/msw_style.c: Bug 411118 - bad bevel for
2480 progress bar on windows classic. Match from Mathias Hasselmann.
2482 2007-02-19 Tor Lillqvist <tml@novell.com>
2484 * gdk/win32/gdkinput.c
2485 (gdk_device_finalize, gdk_device_class_init): Remove.
2486 (gdk_device_get_type): Drop class init function. The X11 version
2487 doesn't have one either.
2488 (gdk_devices_list): Call gdk_display_list_devices() on _gdk_display.
2489 (gdk_display_list_devices): Check that the argument is
2492 * gdk/win32/gdkinput-win32.h (GdkAxisInfo, GdkDevicePrivate):
2493 Cleanup: remove unused fields.
2494 * gdk/win32/gdkinput-win32.c: Corresponding changes. Fix function
2495 names in a few debugging printouts.
2497 2007-02-18 Matthias Clasen <mclasen@redhat.com>
2499 * gtk/gtktextlayout.c (gtk_text_layout_move_iter_visually):
2500 Ignore invisible text when going to end of the previous line.
2503 2007-02-18 Richard Hult <richard@imendio.com>
2505 * gdk/quartz/gdkwindow-quartz.c:
2506 (gdk_window_quartz_process_all_updates),
2507 (_gdk_windowing_window_destroy): Setup release pools to plug two leaks,
2508 patch from Erik van Pienbroek, fixes bug #396649.
2510 2007-02-18 Richard Hult <richard@imendio.com>
2512 * gdk/quartz/gdkevents-quartz.c: Add stub for
2513 gdk_display_add_client_message_filter, patch from Taybin Rutkin. Fixes
2516 * gdk/quartz/gdkprivate-quartz.h: Add prototypes to fix build warnings.
2518 2007-02-18 Richard Hult <richard@imendio.com>
2520 * gdk/quartz/GdkQuartzView.h:
2521 * gdk/quartz/GdkQuartzWindow.h:
2522 * gdk/quartz/gdkquartz.h: Import AppKit.h instead of Quartz.h.
2523 * gdk/quartz/gdkscreen-quartz.c: (get_mm_from_pixels): Don't use
2524 userSpaceScaleFactor for 10.3. Those changes bring us closer to working
2525 on panther, patch from Mathias Hasselmann.
2527 * gdk/quartz/gdkeventloop-quartz.c: Add includes to fix build warnings.
2529 2007-02-16 Behdad Esfahbod <behdad@gnome.org>
2531 * gdk/gdkpango.c (gdk_pango_layout_get_clip_region): Use PANGO_PIXELS
2532 instead of division. (#334617)
2534 2007-02-16 Kristian Rietveld <kris@gtk.org>
2536 * gtk/gtktreeprivate.h: add cursor_offset field.
2538 * gtk/gtktreeview.c (gtk_tree_view_init),
2539 (gtk_tree_view_move_cursor_page_up_down): fix off by one error
2540 in page up/down handling by memorizing the offset into the cursor
2541 row. (Fixes #399809, reported by Bruce Bowler).
2543 2007-02-16 Kristian Rietveld <kris@gtk.org>
2545 * gtk/gtktreeview.c (gtk_tree_view_search_dialog_hide): send
2546 a focus-in event to the tree view after hiding the search dialog.
2547 (#356515, Rich Burridge, Peter Parente).
2549 2007-02-16 Kristian Rietveld <kris@imendio.com>
2551 * tests/testtooltips.c (query_tooltip_text_view_cb): also handle
2552 keyboard tooltips. (#408325, Matthias Clasen).
2554 2007-02-16 Xan Lopez <xan@gnome.org>
2556 * gtk/gtkcombobox.c (gtk_combo_box_expose_event): Cleanup the logic
2557 in expose event handler. Reviewed by Matthias Clasen, #406112
2559 2007-02-16 Matthias Clasen <mclasen@redhat.com>
2561 * gtk/gtkmain.c: Run pre_parse_hook only once. (#403139, Kjartan
2564 2007-02-15 Matthias Clasen <mclasen@redhat.com>
2566 * gdk/x11/gdmain-x11.c (_gdk_xgrab_check_button_event): Be more
2567 careful when checking for ButtonRelease events that end implicit
2568 grabs. (#386618, Christof KrĂĽger)
2570 2007-02-15 Matthias Clasen <mclasen@redhat.com>
2572 * gtk/gtktextbtree.c (_gtk_text_btree_delete): Free the lines
2573 even if there are no views. (#408018, Albert Huang)
2575 2007-02-15 Cody Russell <bratsche@gnome.org>
2577 * gdk/win32/gdkevents-win32.c: Make sure we get enough main context
2578 iterations while we're resizing so that the window contents are resized
2579 more smoothly (#389765).
2581 * gdk/win32/gdkevents-win32.c: Fix flickering widgets when window contents
2582 are resized (#310522).
2584 2007-02-15 Matthias Clasen <mclasen@redhat.com>
2586 * gtk/updateiconcache.c: Handle symlinked .icon files
2587 intelligently; also avoid storing duplicate strings.
2589 2007-02-15 Michael Natterer <mitch@imendio.com>
2591 * gtk/gtkmenushell.c: remove two antique function typedefs that
2592 are probably obsolete for ages.
2594 2007-02-14 Stefan Kost <ensonic@users.sf.net>
2596 reviewed by: Matthias Clasen <mclasen@redhat.com>
2598 * configure.in: determine installation prefixes of dependent libs to
2599 crossreference docs (#407146).
2601 2007-02-14 Kristian Rietveld <kris@imendio.com>
2603 * gtk/gtktooltip.c (child_location_foreach): check return value
2604 of gtk_widget_translate_coordinates() so we cannot end up
2605 using uninitialized x, y values. (#407863, patch from Carlos
2608 2007-02-14 Kristian Rietveld <kris@imendio.com>
2610 * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_realize_button):
2611 use TREE_VIEW_DRAG_WIDTH/2 when calculating the drag window
2612 position instead of a hardcoded value. (Taken from maemo-gtk).
2614 2007-02-14 Michael Natterer <mitch@imendio.com>
2616 * gtk/gtkmenu.c (gtk_menu_motion_notify): don't forget to set the
2617 state of the synthesized GDK_ENTER_NOTIFY event. Fix taken from
2620 2007-02-13 Kristian Rietveld <kris@imendio.com>
2622 * gtk/gtktooltip.c (gtk_tooltip_hide_tooltip): stop any
2623 pending tooltip timeout. (Fixes #406110, Carlos Garnacho).
2625 2007-02-10 Emmanuele Bassi <ebassi@gnome.org>
2627 * gtk/gtkrecentchoosermenu.c: Fix the english of the comment;
2628 remove some type checking; use better variable naming for the
2629 internal menu item markers.
2631 2007-02-09 Emmanuele Bassi <ebassi@gnome.org>
2633 * gtk/gtkrecentchoosermenu.c: Add support for both prepending
2634 and appending custom menu items.
2636 (gtk_recent_chooser_menu_constructor): Add a placeholder menu
2637 item for the empty menu case, and for giving us a starting
2638 point for the recent items populating process.
2640 (gtk_recent_chooser_menu_insert_item),
2641 (gtk_recent_chooser_menu_dispose_items): Insert an item at
2642 the position following the placeholder (and find that position
2645 (idle_populate_func), (idle_populate_clean_up): Show the
2646 placeholder menu item, instead of creating one each time.
2648 (gtk_recent_chooser_menu_populate): Kill some indirections
2649 and hide the placeholder before populating the menu.
2651 (set_recent_manager): Remember to remove the idle population
2652 source if the manager changes.
2654 * tests/testrecentchoosermenu.c: Test the appending and
2655 prepending of the menu items to the recent chooser menu
2658 2007-02-08 Emmanuele Bassi <ebassi@gnome.org>
2660 * gtk/gtkrecentchoosermenu.c (idle_populate_func): Keep count
2661 of the displayed items to build the menu items mnemonic instead
2662 of the overall item count. (#377164)
2664 (idle_populate_clean_up): Append a menu item if all the items
2665 got filtered in the idle populate function. (#405696)
2667 * tests/Makefile.am:
2668 * tests/testrecentchoosermenu.c: Add a test for the
2669 GtkRecentChooserMenu widget.
2671 Thu Feb 8 13:07:08 2007 Tim Janik <timj@imendio.com>
2673 * applied patch from Xan Lopez which adds GTK_BUTTONBOX_CENTER to
2674 GtkButtonBox (bug #336159).
2677 * gtk/gtkvbbox.c, gtk/gtkhbbox.c, gtk/gtkbbox.c:
2678 support GTK_BUTTONBOX_CENTER.
2680 * tests/testbbox.c: new button box test, which allows testing of
2681 the various button box properties.
2683 * tests/testgtk.c: added GTK_BUTTONBOX_CENTER. to button box test.
2685 2007-02-07 Cody Russell <bratsche@gnome.org>
2687 * gdk/gdk.symbols: Add gdk_event_request_motions
2689 Wed Feb 7 19:03:28 2007 Tim Janik <timj@gtk.org>
2691 * gtk/gtkentry.c (gtk_entry_motion_notify): fixed motion request
2692 condition which was wrongly ported with my last commit.
2694 Tue Feb 6 15:53:59 2007 Tim Janik <timj@imendio.com>
2696 * gtk/gtktextview.c (gtk_text_view_motion_event):
2697 * gtk/gtkspinbutton.c (gtk_spin_button_motion_notify):
2698 * gtk/gtkaboutdialog.c (credits_motion_notify_event):
2699 * gtk/gtkhruler.c (gtk_hruler_motion_notify):
2700 * gtk/gtkvruler.c (gtk_vruler_motion_notify):
2701 * gtk/gtkentry.c (gtk_entry_motion_notify):
2702 * gtk/gtktooltip.c (_gtk_tooltip_handle_event):
2703 * gtk/gtkhsv.c (gtk_hsv_motion): call gdk_event_request_motions()
2704 for new motion events after receiving motion hints.
2706 * gdk/gdkevents.[hc]: added gdk_event_request_motions().
2708 2007-02-06 Kristian Rietveld <kris@imendio.com>
2710 * gtk/gtktooltip.c (find_topmost_widget_coords_from_event):
2711 remove unused get of has_tooltip.
2713 * tests/testtooltips.c (query_tooltip_tree_view_cb): use the
2714 portable g_snprintf instead of snprintf.
2716 2007-02-06 Michael Natterer <mitch@imendio.com>
2718 * gtk/gtktooltip.c (gtk_tooltip_finalize): chain up.
2720 (gtk_tooltip_show_tooltip): move variables and code to local
2721 scope. Fixes warnings about maybe uninitialized variables.
2723 2007-02-06 Kristian Rietveld <kris@imendio.com>
2729 * gtk/gtk.symbols: build system foo.
2731 * gtk/gtkmain.c (gtk_main_do_event): call tooltip event handler
2732 hook for appropriate events.
2734 * gtk/gtkmarshalers.list: add BOOLEAN:INT,INT,BOOLEAN,OBJECT.
2736 * gtk/gtkrc.c: add style for gtk-tooltip.
2738 * gtk/gtksettings.c (gtk_settings_class_init): make the
2739 different tooltip timeouts configurable.
2741 * gtk/gtkwidget.[ch]: add new properties, signals, make sure
2742 tooltips are hidden on unmap, destroy, update window event
2743 mask on realize, hook into focus change and show help
2746 * gtk/gtkwindow.h: move GtkWindow typdef to gtkwidget.h ...
2748 * gtk/gtktooltip.[ch]: new files.
2751 * tests/testtooltips.c: add test application.
2753 2007-02-05 Dom Lachowicz <domlachowicz@gmail.com>
2755 * modules/engines/ms-windows/msw_style.c: Fix bug 404506, caused
2756 by prematurely releasing a DC. By Hiroyuki Yamamoto
2757 * modules/engines/ms-windows/msw_style.c: Fix bug 403470 - leaking
2758 pixbufs when drawing rotated tabs. By Daniel Atallah
2760 2007-02-05 Michael Natterer <mitch@imendio.com>
2762 * gtk/gtksettings.c: add new boolean settings gtk-enable-accels
2763 and gtk-enable-mnemonics which enable/disable accelerators and
2764 mnemonics (bug #72375, based on a patch from Tommi Komulainen).
2766 * gtk/gtkwindow.c (gtk_window_activate_key)
2767 * gtk/gtkmenushell.c (gtk_menu_shell_key_press): don't invoke them
2768 if the resp. setting is FALSE.
2770 * gtk/gtkaccellabel.c (gtk_accel_label_refetch)
2771 * gtk/gtklabel.c (gtk_label_set_pattern_internal): don't display
2772 them if the setting is FALSE.
2774 * gtk/gtklabel.c: added signal connection to the screen's settings
2775 object and traverse all widgets on the screen when the setting
2776 changes. It's slightly ugly to also update GtkAccelLabels here,
2777 but less ugly than connecting and traversing all widgets twice.
2779 2007-02-05 Michael Natterer <mitch@imendio.com>
2781 * gtk/gtktextbuffer.h (enum GtkTextBufferTargetInfo): changed
2782 values from G_MAXUINT-0, -1, -2 to -1, -2, -3 so we stay within
2783 ansi C enum value limits. Fixes bug #46757.
2785 2007-02-03 Soren Sandmann <sandmann@daimi.au.dk>
2787 * gtk/gtksequence.[ch]: Remove these files since GSequence has
2788 been moved into GLib.
2790 * gtk/gtkliststore.c: Port to GSequence instead of GtkSequence.
2792 * configure.in: Require glib-2.13.0
2794 2007-02-04 Tor Lillqvist <tml@novell.com>
2796 * gdk/win32/gdkcursor-win32.c: Don't define BITMAPV5HEADER on
2797 mingw with w32api >= 3.8, which has it in wingdi.h. (#403896)
2799 2007-02-02 Kristian Rietveld <kris@gtk.org>
2801 * gtk/gtktreeview.c (gtk_tree_view_row_changed): remove unused
2802 style_get of vertical-separator. (#403165, Chris Wilson).
2804 2007-02-02 Christian Persch <chpe@svn.gnome.org>
2806 * gtk/gtkfilechoosersettings.c: (get_config_filename),
2807 (ensure_settings_read), (_gtk_file_chooser_settings_init),
2808 (_gtk_file_chooser_settings_set_show_hidden),
2809 (_gtk_file_chooser_settings_set_expand_folders),
2810 (_gtk_file_chooser_settings_save): Use a simple key file instead of a
2811 markup file. Bug #399592.
2813 2007-02-02 Mariano Suárez-Alvarez <mariano@gnome.org>
2815 * gtk/gtkcellrenderertext.c(gtk_cell_renderer_text_class_init):
2816 be a little more helpful with the docs on GtkCellRendererText:alignment.
2819 2007-02-01 Michael Natterer <mitch@imendio.com>
2821 * gtk/gtkmenu.c (gtk_menu_paint): pass &event->area to
2822 gtk_paint_box() calls.
2824 2007-02-01 Michael Natterer <mitch@imendio.com>
2826 * gtk/gtkmenu.c (gtk_menu_button_press)
2827 (gtk_menu_button_release)
2828 (gtk_menu_button_scroll): remove redundant and confusing
2829 if (GTK_IS_MENU (widget)) checks because "widget" is always a
2832 Thu Feb 1 12:22:06 2007 Tim Janik <timj@imendio.com>
2834 * gtk/gtkcombobox.c (gtk_combo_box_list_destroy): remove extra reference
2835 that gtkcombobox keeps on priv->popup_widget if it's a tree view.
2837 2007-01-31 Christian Persch <chpe@svn.gnome.org>
2839 * gtk/gtkaboutdialog.c: (update_credits_button_visibility),
2840 (gtk_about_dialog_set_authors), (gtk_about_dialog_set_documenters),
2841 (gtk_about_dialog_set_artists),
2842 (gtk_about_dialog_set_translator_credits): Hide the Credits button iff
2843 there are no credits to show. Bug #402806.
2845 2007-01-31 Tor Lillqvist <tml@novell.com>
2847 * gdk/win32/gdkinput-win32.c (print_cursor): New debugging
2849 (_gdk_input_wintab_init_check): Call it when debugging output is
2851 (_gdk_input_wintab_init_check): Skip duplicated cursors for Wacom
2852 tablets. The Wacom driver reports duplicated cursors with
2853 physid==0. Fix verified by Robert Ă–gren.
2855 2007-01-30 Felix Riemann <friemann@svn.gnome.org>
2857 * modules/printbackends/file/gtkprintbackendfile.c:
2858 (file_printer_get_options): Fix leaked string. Fixes bug #402565.
2860 2007-01-30 Matthias Clasen <mclasen@redhat.com>
2862 * gdk/x11/gdkwindow-x11.c (gdk_x11_window_move_to_current_desktop):
2863 (gdk_x11_window_set_user_time): Be more careful about toplevel
2864 possibly being NULL. (#402453, Sebastian Bacher)
2866 Tue Jan 30 12:09:56 2007 Tim Janik <timj@gtk.org>
2868 * gtk/gtksettings.c: cleaned up ::color-hash registration to not abuse
2869 class_n_properties and leave an uninitialized value array behind.
2871 2007-01-29 Michael Natterer <mitch@imendio.com>
2873 * gtk/gtkmenuitem.c (gtk_menu_item_select)
2874 (gtk_menu_item_deselect): queue a draw on the parent_menu_item of
2875 this menu item's menu, to enable themeing menu items depending on
2876 whether something is selected in their submenu (patch taken from
2879 2007-01-28 Matthias Clasen <mclasen@redhat.com>
2881 * gtk/gtktoolbar.c: Reinstate gtk_toolbar_content_new_compatibility()
2882 that was mistakenly "cleaned up" a while ago. Also
2883 revert a problematic change to the screen_changed
2884 handler. (#401598, Søren Sandmann)
2886 2007-01-28 Matthias Clasen <mclasen@redhat.com>
2888 * gtk/gtkframe.c (gtk_frame_size_allocation): Fix a
2889 problem with large y thickness. (#136592, Xan Lopez)
2891 2007-01-28 Matthias Clasen <mclasen@redhat.com>
2893 * gtk/gtkaction.c (gtk_action_new): Use canonical
2896 2007-01-27 Matthias Clasen <mclasen@redhat.com>
2898 * gtk/gtknotebook.c (gtk_notebook_draw_arrow):
2899 (gtk_notebook_draw_focus): Avoid some unnecessary
2900 gtk_widget_get_style() calls.
2902 2007-01-27 Matthias Clasen <mclasen@redhat.com>
2905 * gtk/gtktoolitem.c:
2906 * gtk/gtktoolbutton.c: Rearrange things so that setting
2907 multiple properties causes not more than a single
2908 reconstruction of the contents.
2910 * gtk/gtkaction.c (connect_proxy): Set all tool button
2911 properties in one go.
2913 2007-01-27 Matthias Clasen <mclasen@redhat.com>
2915 * gtk/gtkstatusicon.c:
2916 * gtk/gtktrayicon-x11.c: Fix GtkStatusIcon to not
2917 take up space on the panel if it is invisible. (340110, Christian
2920 * tests/teststatusicon.c:
2921 * tests/Makefile.am: Updates
2923 2007-01-27 Matthias Clasen <mclasen@redhat.com>
2927 * gtk/gtk.symbols: Add deprecation guards for gtk_rc_style_ref/unref
2928 and the old file selector. (#348256)
2930 2007-01-26 Matthias Clasen <mclasen@redhat.com>
2932 * gtk/gtkiconview.c: Documentation fixes (#400530, Anders Brander)
2934 2007-01-26 Matthias Clasen <mclasen@redhat.com>
2936 * gtk/updateiconcache.c: Check the mtime of all directories,
2937 not just the toplevel, if ftw() is available. (#331671, Behdad
2940 * configure.in: Check for ftw.h.
2942 2007-01-26 Michael Natterer <mitch@imendio.com>
2944 * modules/input/gtkimcontextxim.c (gtk_im_context_xim_finalize):
2945 destroy the XIM only if it exists. While the code does look safe
2946 in general, there can be corner cases where the "reconnecting"
2947 boolean being FALSE does not correspond to the XIM being
2948 allocated (fixes #329450, fix taken from maemo-gtk).
2950 Fri Jan 26 13:07:07 2007 Tim Janik <timj@imendio.com>
2952 * gtk/gtkstyle.c (draw_insertion_cursor): clamp cursor coordinates to
2953 window bounds (fix from Maemo Gtk).
2955 2007-01-26 Michael Natterer <mitch@imendio.com>
2957 * gtk/gtkentrycompletion.c (gtk_entry_completion_insert_prefix):
2958 only block/unblock completion->priv->insert_text_id if it is
2959 actually connected. While this can't happen the way GtkEntry
2960 itself uses the completion, it's still public API and should not
2961 blindly call functions that will spit warnings (fix taken from
2964 2007-01-25 Matthias Clasen <mclasen@redhat.com>
2966 * gdk/gdkwindow.c: Reduce locking overhead by not repeatedly getting
2967 the paintable iface.
2969 2007-01-24 Michael Natterer <mitch@imendio.com>
2971 * gtk/gtkwidget.c (gtk_widget_set_state): revert generic disabling
2972 of PRELIGHT state for the reasons given in bug #135666. Widget
2973 states are sometimes abused or otherwise used wrongly for historic
2974 reasons, causing this part of the patch to break e.g. menu items.
2976 2007-01-24 Roozbeh Pournader <roozbeh@farsiweb.info>
2978 * README: Remove mention of no-longer-existing PATCH
2979 keyword in bugzilla. (#396899)
2981 2007-01-23 Carlos Garcia Campos <carlosgc@gnome.org>
2983 * gtk/gtkpagesetup.c
2984 (gtk_page_setup_set_paper_size_and_default_margins): Fix memory leak.
2987 2007-01-22 Chris Wilson <chris@chris-wilson.co.uk>
2989 Bug 399314 – Add G_GNUC_WARN_UNUSED_RESULT to gtk_style_attach
2992 Cause gcc to issue a warning if the style returned from
2993 gtk_style_attach is not used. Failure to update
2994 widget->style causes some very difficult to reproduce bugs,
2995 eg Bug 353498 – crash in Terminal: changing icon theme.
2997 2007-01-19 Michael Emmel <mike.emmel@gmail.com>
2999 * gdk/directfb/gdkevents-directfb.c: added fixes for window
3000 crossing events frm Attilio Fiandrotti<attilio.fiandrotti@gmail.com>
3002 2007-01-19 Matthias Clasen <mclasen@redhat.com>
3004 * gtk/gtkcalendar.c: Fix build breakage.
3006 2007-01-19 Kristian Rietveld <kris@imendio.com>
3008 * gtk/gtktreeview.c (gtk_tree_view_motion_bin_window),
3009 (add_scroll_timeout), (gtk_tree_view_drag_motion): factor out
3010 add_scroll_timeout(). (taken from maemo-gtk).
3012 2007-01-18 Matthias Clasen <mclasen@redhat.com>
3014 * gtk/gtkcalendar.c: Fix problems with the initial
3015 focus in GtkCalendar. (#397783, Vincent Untz)
3017 2007-01-19 Robert Ă–gren <gtk@roboros.com>
3019 Fix for bug #143460 - missed tablet clicks on Windows
3021 * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check):
3022 Request absolute reporting of tablet button state, and cut down
3023 the packet queue size a bit.
3024 (_gdk_input_other_event): Change button state handling
3025 accordingly. Also drop the no longer necessary code that detects
3026 missed clicks/releases for button 1. The switch to absolute button
3027 state should prevent missed events for all buttons. Additionally,
3028 swap button 2 and 3.
3029 (_gdk_input_grab_pointer): Don't reset button_state, that will only
3030 cause a new press event as soon as the next tablet packet arrives.
3032 2007-01-19 Tor Lillqvist <tml@novell.com>
3034 Build Wintab support always on Windows. Don't require the Wintab
3037 * configure.in: Drop the --with-wintab option. Drop the
3038 HAVE_WINTAB feature test macro and Automake variable.
3041 * config.h.win32.in: Drop HAVE_WINTAB.
3043 * gdk/win32/gdkevents-win32.c
3044 * gdk/win32/gdkinput.c
3045 * gdk/win32/gdkinput-win32.h
3046 * gdk/win32/gdkinput-win32.c
3047 * gdk/win32/gdkmain-win32.c: Make HAVE_WINTAB ifdef blocks
3050 * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Try
3051 to load wintab32.dll dynamically here. If it is found look up the
3052 handful Wintab functions we use.
3053 (rest of file): Use these function pointers instead of calling the
3054 functions from wntab32x.lib. The code in wntab32x.lib did the same
3055 thing anyway: tried to load wintab32.dll, and looked up the
3056 addresses of the actual functions from it.
3059 * gdk/win32/Makefile.am: Drop the libwntab32x hacks.
3061 * gdk/win32/wintab.h
3062 * gdk/win32/pktdef.h: New files. Copied from the Wintab
3063 SDK. Copyright blurb says: "The text and information contained in
3064 this file may be freely used, copied, or distributed without
3065 compensation or licensing restrictions."
3067 * README.win32: Update a bit. Remove the text about the Wintab
3070 2007-01-18 Tor Lillqvist <tml@novell.com>
3072 * gdk-pixbuf/Makefile.am
3074 * gdk/win32/Makefile.am
3075 * gtk/Makefile.am: Fixes for building outside srcdir on
3076 Win32. (#336819, #340013) Drop distributing the handmade .la
3077 libtool wrapper for the wntab32x library. It's too much trouble
3078 making it work when building outside srcdir. Just link to the
3079 library direcly using -Wl,win32/libwntab32x.a.
3081 2007-01-18 Michael Natterer <mitch@imendio.com>
3083 * gtk/gtkcheckbutton.c
3088 * gtk/gtkviewport.c: pass more clip rectangles to gtk_paint_foo()
3089 functions. Based on a patch from maemo-gtk (bug #398023).
3091 2007-01-17 Tor Lillqvist <tml@novell.com>
3093 * gtk-zip.sh.in: Include also the COPYING file.
3095 2007-01-17 Matthias Clasen <mclasen@redhat.com>
3097 * modules/printbackends/cups/gtkprintbackendcups.c: Don't use
3098 httpGetFd() when building against cups 1.1
3100 2007-01-17 Tor Lillqvist <tml@novell.com>
3102 Proper fix for #396175:
3104 * gtk/gtkimmulticontext.c: Revert change by Hans Breuer below: Do
3105 include gtkprivate.h. On Win32 we do want to use the redefinition
3106 of GTK_LOCALEDIR as a call to the function _gtk_get_localedir().
3108 * gtk/gtkimmodule.c: Instead, correct the prefix also on
3109 simple_context_info.domain_dirname. Do the prefix corrections
3110 always on Win32, not just when GTK_LIBDIR is defined. i.e., until
3111 now they were done only in the autoconfiscated gcc builds. Hans
3112 needs to make sure GTK_LIBDIR and GTK_LOCALEDIR are defined also
3114 (correct_localedir_prefix): New function, like
3115 correct_libdir_prefix(), but for GTK_LOCALEDIR, in case
3116 GTK_LOCALEDIR is not a descendant of GTK_LIBDIR.
3117 (gtk_im_module_initialize): Thus call correct_localedir_prefix()
3118 on the domain_dirname instead of correct_libdir_prefix().
3119 (_gtk_im_module_list): Call correct_localedir_prefix() on
3120 simple_context_info.domain_dirname.
3122 2007-01-16 Matthias Clasen <mclasen@redhat.com>
3124 * gtk/gtkrange.c (range_grab_remove): Queue a redraw when the
3125 grab changes. (#396470, Benjamin Berg)
3127 2007-01-15 Emmanuele Bassi <ebassi@gnome.org>
3129 * gtk/gtkrecentchoosermenu.c: Ellipsize the menu items label
3130 if they grow too much. (#357303)
3132 2007-01-14 Matthias Clasen <mclasen@redhat.com>
3134 * gtk/gtkicontheme.c (theme_lookup_icon): When finding a matching
3135 non-scalable dir, keep going and look for a closer match.
3136 (#395830, Luca Ferretti)
3138 2007-01-14 Christian Persch <chpe@svn.gnome.org>
3140 * gtk/gtkclipboard.c: (gtk_clipboard_set_text),
3141 (gtk_clipboard_set_image): Use gtk_target_table_new_from_list and
3142 gtk_target_table_free instead of duplicating the code. Bug #396493.
3144 2007-01-13 Matthias Clasen <mclasen@redhat.com>
3146 * gtk/gtkuimanager.c: Don't crash if menu or toolbar
3147 positions can't be found. (#396161, Hans Breuer)
3149 2007-01-13 Matthias Clasen <mclasen@redhat.com>
3151 * gtk/gtkselection.c (_gtk_selection_request): Plug
3152 memory leaks. (#396160, Carlos Garcia Campos)
3154 2007-01-13 Matthias Clasen <mclasen@redhat.com>
3156 * configure.in: Link libgtk against Xfixes. (#396074,
3159 2007-01-13 Matthias Clasen <mclasen@redhat.com>
3161 * gtk/gtkradiobutton.c (gtk_radio_button_focus): Avoid
3162 a compiler warning. (#395045, Chris Wilson)
3164 2007-01-13 Hans Breuer <hans@breuer.org>
3166 * gtk/gtkprintoperation-win32.c : take the custom tab label from
3167 gtk_print_operation_set_custom_tab_label() into account (bug #390746).
3169 * gtk/gtkimmulticontext.c : don't include "gtkprivate.h" to avoid
3170 differing definitions of GTK_LOCALEDIR (bug #396175).
3172 * gtk/gtktreeview.c : use g_snprintf instead of snprintf, which is
3173 not available everywhere
3175 * gtk/makefile.msc.in : updated
3177 2007-01-12 Michael Natterer <mitch@imendio.com>
3179 * gtk/gtkentry.c (gtk_entry_button_press): don't add
3180 entry->scroll_offset to entry->drag_start_y. Fixes the entry
3181 starting drags after ridiculously small mouse movements.
3183 2007-01-11 Richard Hult <richard@imendio.com>
3185 * demos/gtk-demo/main.c: (load_file): Close the file after it's
3186 loaded (bug #395316).
3188 2007-01-11 Kjartan Maraas <kmaraas@gnome.org>
3190 * gtk/gtkfilesystemunix.c: (expand_tilde):
3191 Make a single tilde go to $HOME in the location entry.
3192 Patch from Yevgen Muntyan. Closes the gtk+ part of
3195 2007-01-10 Behdad Esfahbod <behdad@gnome.org>
3197 * gdk/gdkpango.c (gdk_draw_layout_with_colors):
3198 * gtk/gtklabel.c (gtk_label_size_request):
3199 Use pango_matrix_transform_rectangle(). (#340141)
3201 * configure.in: Bump pango requirement to 1.15.3.
3203 2007-01-10 Kristian Rietveld <kris@imendio.com>
3205 * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_init):
3206 refactor to initialize indicator_size to TOGGLE_WIDTH instead
3207 of the hardcoded value of 12.
3209 2007-01-09 Matthias Clasen <mclasen@redhat.com>
3211 * configure.in: Fix the directfb cairo test. (#394855,
3214 2007-01-09 Behdad Esfahbod <behdad@gnome.org>
3216 * configure.in: Fix comment for --with-included-loaders. That option
3217 affects builds with module loading enabled too.
3219 2006-01-08 Peter Teichman <peter@novell.com>
3221 * gtk/gtkfilechooserdefault.c:
3222 * gtk/gtkfilechooserprivate.h:
3223 * gtk/gtkfilechoosersettings.c:
3224 * gtk/gtkfilechoosersettings.h:
3225 Save the expanded state of the folder browser with the file
3226 chooser settings. Resolves the expander portions of (#153828,
3229 2007-01-08 Emmanuele Bassi <ebassi@gnome.org>
3231 * gtk/gtkrecentchoosermenu.c (gtk_recent_chooser_menu_create_item):
3232 Don't leak the icon pixbuf after setting it to the image menu
3233 item. Found by Paolo Borelli.
3235 2007-01-08 Matthias Clasen <mclasen@redhat.com>
3237 * gtk/gtktreemodel.c (gtk_tree_path_to_string): Don't
3238 corrupt memory when faced with paths with ridiculously
3239 large indices. Found by the GTKVTS test suite.
3241 2007-01-08 Matthias Clasen <mclasen@redhat.com>
3243 * gtk/gtkmodules.c (_gtk_modules_init): Set
3244 default_display_opened before loading modules. (#393102,
3247 2007-01-07 Matthias Clasen <mclasen@redhat.com>
3249 * gtk/gtktextview.c (gtk_text_view_set_border_window_size):
3250 Call text_window_realize() with the correct parameters.
3251 (#393813, Yevgen Muntyan)
3253 2007-01-07 Matthias Clasen <mclasen@redhat.com>
3255 * gtk/gtkstatusbar.c: Move docs inline, and expand them
3258 2007-01-06 Matthias Clasen <mclasen@redhat.com>
3260 * gtk/gtklabel.c: Make line wrapping work with width-chars
3261 and max-width-chars, and simplify the storage of wrap-width.
3262 (#322580, Itai Bar-Haim)
3264 2007-01-06 Tor Lillqvist <tml@novell.com>
3266 * gdk/win32/cursor.bdf: New file. Downloaded from
3267 freedesktop.org's webcvs. Slighly edited cursors "crosshair",
3268 "diamond_cross", "draft_large", "gobbler" and "target" to fix
3269 #392504. It is possible that the same end result could have been
3270 achieved by tweaking bdfcursor.c instead.
3272 * gdk/win32/bdfcursor.c: Add optional debugging output.
3274 * gdk/win32/xcursors.h: Regenerated.
3276 2007-01-05 Matthias Clasen <mclasen@redhat.com>
3278 * gtk/gtknotebook.c (gtk_notebook_set_menu_label_text): Left-align
3279 menu labels. (#393255, Michail Crayson)
3281 2007-01-05 Kristian Rietveld <kris@gtk.org>
3283 * gtk/gtktreeview.c (gtk_tree_view_dy_to_top_row): handle tree
3284 == NULL. (Fixes #392685, reported by Yevgen Muntyan).
3286 2007-01-05 Kristian Rietveld <kris@gtk.org>
3288 * gtk/gtktreeview.c (gtk_tree_view_row_changed): do allow to
3289 invalidate nodes if the tree view is not realized. (#363147,
3290 Carlos Garnacho, Miguel Cabrera).
3292 2007-01-05 Matthias Clasen <mclasen@redhat.com>
3294 * gtk/gtkmenu.c (gtk_menu_paint): Take the scroll arrow into
3295 account when drawing the background. (#393166, Benjamin Berg)
3297 2007-01-05 Behdad Esfahbod <behdad@gnome.org>
3299 * gtk/gtklabel.c (get_layout_location): Fix broken width computation,
3302 2007-01-05 Carlos Garnacho <carlosg@gnome.org>
3304 * gtk/gtknotebook.c (gtk_notebook_size_request): take into account
3305 both scroll arrows when calculating size request in GTK_POS_LEFT or
3306 GTK_POS_RIGHT notebooks. (#393124, reported by Christian Persch)
3308 2007-01-05 Michael Natterer <mitch@imendio.com>
3310 * gtk/gtkwindow.c (gtk_window_key_release_event): chain up to
3311 the right function (fix taken from maemo-gtk).
3313 2007-01-05 Behdad Esfahbod <behdad@gnome.org>
3316 * gdk/gdkpango.c (gdk_draw_layout_line_with_colors),
3317 (gdk_draw_layout_with_colors):
3318 * gdk/gdkwindow.c (gdk_window_draw_glyphs_transformed):
3319 Avoid overflow when converting coordinates to Pango units. (#332266,
3322 2007-01-04 Matthias Clasen <mclasen@redhat.com>
3324 * gtk/gtkcombobox.c (gtk_combo_box_popup): move set_cursor
3325 after realization of the popup window, so clamp node doesn't fail.
3326 (#346616, Tommi Komulainen, patch by Kristian Rietveld).
3328 2007-01-04 Behdad Esfahbod <behdad@gnome.org>
3330 * gtk/gtklabel.c (get_layout_location): Fix uninitialized width
3333 2007-01-04 Matthias Clasen <mclasen@redhat.com>
3336 * gdk-pixbuf/Makefile.am:
3338 * gdk/win32/rc/gdk.rc.in: Cross-compilation fixes.
3339 (#392646, Yevgen Muntyan)
3341 2007-01-04 Matthias Clasen <mclasen@redhat.com>
3343 * demos/gtk-demo/textscroll.c:
3344 * gtk/gtkhandlebox.c:
3345 * gtk/gtkcolorsel.c: Fix some compiler warnings.
3347 2007-01-03 Matthias Clasen <mclasen@redhat.com>
3349 * gtk/gtktextview.c: Rework the beep-on-uninserted-text
3350 by calling the input method regardless of editability,
3351 and beeping from the commit/preedit-changed handlers.
3352 (#390514, Yevgen Muntyan)
3354 2007-01-03 Matthias Clasen <mclasen@redhat.com>
3356 Fix #332604, reported by Joe Wreschnig, patch
3357 by Jan Arne Petersen and Behdad Esfahbod.
3359 * gtk/gtklabel.c (gtk_label_size_allocate): Only
3360 set the width of the layout when necessary.
3361 (get_layout_location): Use pango_layout_get_pixel_extents()
3362 instead of pango_layout_get_width().
3364 2007-01-03 Matthias Clasen <mclasen@redhat.com>
3366 * modules/printbackends/cups/gtkprintbackendcups.c
3367 (available_choices): Don't leak conflicts.
3369 * gtk/gtkprintoperation.c (gtk_print_operation_finalize):
3370 Don't leak the status string.
3372 2007-01-03 Matthias Clasen <mclasen@redhat.com>
3374 * gtk/gtkfilechooserdefault.c (update_chooser_entry):
3375 Exit early if we can't get file info - this happens
3376 if the iter points to the row where we are editing
3377 the name for a newly created folder. (#392191, Michael
3378 Partridge, patch by Kristian Rietveld)
3380 2007-01-03 Matthias Clasen <mclasen@redhat.com>
3383 * gdk/x11/*.c: Apply a patch by Chris Wilson to
3384 avoid spurious valgrind warnings from XSendEvent()
3387 * modules/printbackends/cups/gtkprintbackendcups.c: Close
3388 the http connection after getting the PPD.
3390 * gtk/gtkprinteroptionwidget.c (filesave_changed_cb):
3393 2007-01-03 Matthias Clasen <mclasen@redhat.com>
3395 * gtk/gtkassistant.c (remove_page): If the current page
3396 is removed, always pick a different one. (#392457,
3399 2007-01-03 Matthias Clasen <mclasen@redhat.com>
3401 * modules/printbackend/cups/*.c: Coding style cleanups.
3403 2007-01-03 Matthias Clasen <mclasen@redhat.com>
3405 * configure.in: Export SED to make sourcing of
3406 libtool work. Tighten up the directfb pkgconfig check.
3408 2007-01-03 Michael Natterer <mitch@imendio.com>
3410 * gtk/gtkstyle.c (option_menu_get_props)
3411 * gtk/gtkoptionmenu.c (gtk_option_menu_get_props): Use
3412 gtk_border_free when freeing borders.
3414 2007-01-03 Matthias Clasen <mclasen@redhat.com>
3416 * gtk/gtkentry.c (get_text_area_size): Work when the
3417 entry is not realized. (#392315, Yevgen Muntyan)
3419 * gtk/gtkentry.c (gtk_entry_queue_draw): Use
3420 GTK_WIDGET_DRAWABLE() here. (#392227, Chris Wilson)
3422 * gtk/gtkentry.c (cursor_blinks): Don't get settings
3423 unnecessarily. (#392227)
3425 2007-01-02 Matthias Clasen <mclasen@redhat.com>
3427 * gtk/gtkwindow.c (gtk_window_move_resize): Only process
3428 updates on the window at hand, not on all windows, to
3429 avoid violating resize/redraw ordering constraints.
3430 (#362406, Owen Taylor)
3432 2007-01-03 Kristian Rietveld <kris@gtk.org>
3434 * gtk/gtkcellrendererprogress.c
3435 (gtk_cell_renderer_progress_class_init): fix docs.
3437 2007-01-02 Matthias Clasen <mclasen@redhat.com>
3439 * gtk/updateiconcache.c: Include locale.h
3441 2007-01-02 Matthias Clasen <mclasen@redhat.com>
3443 * gtk/updateiconcache.c (main): Call setlocale().
3446 * gtk/gtkfilesystemunix.c:
3447 * gtk/gtkfilesystemwin32.c:
3448 * gtk/gtkfilechoosersettings.c:
3449 * gtk/updateiconcache.c: Consistently use folder instead of
3450 directory in translated messages. (#344584, Javier F. Serrador)
3452 2007-01-02 Matthias Clasen <mclasen@redhat.com>
3454 Try to fix #315732, reported by Luke Hutchinson:
3456 * gdk/x11/xsettings-client.[hc]:
3457 * gdk/x11/gdkdevents-x11.c: Don't assume that ref'ing a GdkWindow
3458 will guarantee that it can be looked up in the xid hash later.
3459 Also, use the nesting server grab function during the xsettings
3460 client initialization. Finally, make xsettings client not
3461 eat DestroyNotifys so that GDK can do its regular cleanup.
3463 2007-01-02 Michael Natterer <mitch@imendio.com>
3465 * gtk/gtkrange.c (gtk_range_scroll) (gtk_range_move_slider): beep
3466 when a keybinding didn't change adjustment->value.
3468 2007-01-02 Matthias Clasen <mclasen@redhat.com>
3470 * gtk/gtktextbuffer.c (gtk_text_view_key_press_event):
3471 Try harder not to beep on events which are not meant to
3472 insert stuff in the buffer. (#390514, Yevgen Muntyan)
3474 2007-01-02 Matthias Clasen <mclasen@redhat.com>
3476 * gtk/gtktextbufferrichtext.c: Small documentation fixes.
3478 2007-01-02 Matthias Clasen <mclasen@redhat.com>
3480 * gtk/gtkentry.c (get_text_area_size): Center in the frame.
3481 (#304482, Rob Staudinger, patch by Richard Stellingwerff)
3483 2007-01-02 Michael Emmel <mike.emmel@gmail.com>
3485 * gdkwindow-directfb.c: fixed leak of dfb resource on destroy
3487 2007-01-01 Matthias Clasen <mclasen@redhat.com>
3489 * gtk/gtkscrolledwindow.h:
3490 * gtk/gtkscrolledwindow.c: Only handle key bindings
3491 for scrolling if the scrollbars are visible.
3492 (#340135, Christian Persch)
3494 2007-01-01 Matthias Clasen <mclasen@redhat.com>
3496 * gtk/gtktextview.c (gtk_text_view_scroll_hpages):
3497 Don't segfault on horizontal scrolling.
3499 2007-01-01 Matthias Clasen <mclasen@redhat.com>
3501 * gtk/gtknotebook.h:
3502 * gtk/gtknotebook.c: Only handle key bindings for
3503 tab reordering if the tabs are shown and reorderable.
3504 (#390468, Yevgen Muntyan)
3506 * gtk/gtkmarshalers.list: Add required marshaler
3508 2007-01-01 Matthias Clasen <mclasen@redhat.com>
3510 * gtk/gtkcontainer.c (gtk_container_class_list_child_properties):
3511 Mention in the docs that the return value is
3512 NULL-terminated. (#383373, Christian Neumair)
3514 2007-01-01 Matthias Clasen <mclasen@redhat.com>
3516 * gtk/gtkicontheme.c (load_themes): Waste less time
3517 with non-directories. (#391725, Chris Wilson)
3519 2007-01-01 Matthias Clasen <mclasen@redhat.com>
3521 * gtk/gtkcellrendererprogress.c: Implement activity mode
3522 for GtkCellRendererProgress. (#377851, Brad Taylor)
3524 2007-01-01 Matthias Clasen <mclasen@redhat.com>
3526 Fix some IPP compliance issues. (#391523, Albrecht Dress)
3528 * modules/printbackends/cups/gtkcupsutils.c
3529 (gtk_cups_request_encode_option): Use IPP_TAG_JOB, not
3531 * modules/printbackends/cups/gtkprintbackendcups.c
3532 (gtk_print_backend_cups_print_stream): Don't add the
3533 requesting-user-name attribute a second time.
3535 2007-01-01 Matthias Clasen <mclasen@redhat.com>
3537 * gtk/gtkimcontextsimple.c: Fix en/em dash confusion. (#378462)
3539 2006-12-31 Emmanuele Bassi <ebassi@gnome.org>
3541 * gtk/gtkrecentchoosermenu.c (set_recent_manager): Use the
3542 right object when disconnecting from the GtkRecentManager::changed
3543 signal; save us a few indirections using a variable.
3545 2006-12-31 Emmanuele Bassi <ebassi@gnome.org>
3547 * gtk/gtkrecentchoosermenu.c: Move the signal and idle
3548 disconnections into the dispose function, as well as the
3549 object unrefs; reset every handler id and the
3550 pointers. (suggested by Paolo Borelli, #390873)
3552 2006-12-31 Matthias Clasen <mclasen@redhat.com>
3554 * gtk/gtkprintoperation-win32.c: Include windows.h (#391229,
3557 2006-12-30 Matthias Clasen <mclasen@redhat.com>
3559 * gtk/gtktextview.c (gtk_text_view_destroy): Remove the
3560 scroll timeout. (#390872, Yevgen Muntyan)
3562 2006-12-30 Matthias Clasen <mclasen@redhat.com>
3564 * gtk/gtkprintoperation-unix.c:
3565 * gtk/gtkprintbackend.c:
3566 * gtk/gtkfilechooserdefault.c:
3567 * gtk/gtksettings.c: Move a few settings to gtksettings.c
3568 to make sure they show up in the docs. (#365364, Christian
3571 2006-12-30 Matthias Clasen <mclasen@redhat.com>
3573 * gtk/gtkassistant.c: Redraw assistant on reallocate
3574 to avoid rendering glitches. (#343956, Christian
3575 Persch, Carlos Garnacho)
3577 2006-12-30 Matthias Clasen <mclasen@redhat.com>
3579 * gtk/gtkrange.c: Typo fix. (#352121, Clytie Siddall)
3581 2006-12-30 Matthias Clasen <mclasen@redhat.com>
3583 * gtk/gtkaction.c: Improve the docs of the "label"
3584 property. (#341730, Kristof Vansant)
3586 2006-12-30 Matthias Clasen <mclasen@redhat.com>
3588 * gtk/gtkwindow.c (gtk_window_compute_configure_request_size):
3589 Correctly handle min size. (#320465, Philipp Langdale)
3591 2006-12-30 Matthias Clasen <mclasen@redhat.com>
3593 * gtk/prop-editor.c: Implement editing of flags.
3595 2006-12-30 Matthias Clasen <mclasen@redhat.com>
3600 * gtk/gtkstatusbar.c:
3601 * gtk/gtktextview.c: Don't install cursors on insensitive
3602 widgets. (#358864, Jan Schampera)
3604 2006-12-29 Matthias Clasen <mclasen@redhat.com>
3606 * gtk/gtkrecentmanager.h:
3607 * gtk/gtkprintoperation.c: Fix doc typos. (#370909,
3610 * gtk/gtkstyle.c (gtk_style_attach): Clarify docs. (#353423,
3613 * gtk/gtkentry.c (blink_cb):
3614 * gtk/gtktextview.c (blink_cb): Don't die in an assertion
3615 if focus went missing. Just warn, clean up and continue.
3618 2006-12-29 Carlos Garnacho <carlosg@gnome.org>
3620 * gtk/gtknotebook.c (gtk_notebook_scroll): return if the widget that
3621 originally received the event is a notebook page. (#315440, reported
3624 2006-12-29 Matthias Clasen <mclasen@redhat.com>
3626 * gdk/gdkcolor.c (gdk_color_hash): Fix a typo. (#390613,
3629 2006-12-29 Matthias Clasen <mclasen@redhat.com>
3631 * tests/prop-editor.c: Display children of containers
3632 and cell renderers of cell layouts.
3635 * gtk/gtkcelllayout.[hc] (gtk_cell_layout_get_cells):
3636 New function to get the cell renderers of a cell layout.
3638 * gtk/gtktreeviewcolumn.c:
3639 * gtk/gtkcellview.c:
3640 * gtk/gtkiconview.c: Implement get_cells.
3642 2006-12-28 Matthias Clasen <mclasen@redhat.com>
3644 * gtk/gtkiconview.c: Use word wrapping by default, and
3645 center multiline labels. (#318763, Ross Burton)
3647 * gtk/gtkcellrenderertext.c (get_layout): Remove a special
3648 case for single-line layouts.
3650 2006-12-28 Matthias Clasen <mclasen@redhat.com>
3652 * gtk/gtkarrow.c: Fix a typo in the docs. (#390423,
3655 * gtk/gtkuimanager.c (update_node): Only use the results
3656 of find_menu/toolbar_position() if they succeed. May fix
3659 2006-12-28 Matthias Clasen <mclasen@redhat.com>
3661 * gdk/gdk.c: Fix some formatting errors in docs.
3663 2006-12-28 Tor Lillqvist <tml@novell.com>
3665 * gtk/gtkstatusicon.c (gtk_status_icon_finalize)
3666 (gtk_status_icon_update_image): Don't leak HICONs on
3667 Win32. (#364868, Hiroyuki Yamamoto)
3669 2006-12-28 Carlos Garnacho <carlosg@gnome.org>
3671 Make GtkNotebook able to drop detached tabs anywhere. Bug #360225.
3673 * gtk/gtkwidget.c (gtk_widget_class_init): add "drag-failed" signal.
3674 * gtk/gtkmarshalers.list: add new marshaler definition.
3675 * gtk/gtkenums.h: add GtkDragResult enum.
3677 * gtk/gtkdnd.c (gtk_drag_drop_finished): emit "drag-failed" if DND
3678 operation wasn't successful.
3679 (_gtk_drag_source_handle_event) (gtk_drag_drop)
3680 (gtk_drag_selection_get) (gtk_drag_cancel) (gtk_drag_key_cb)
3681 (gtk_drag_grab_broken_event_cb) (gtk_drag_grab_notify_cb)
3682 (gtk_drag_button_release_cb) (gtk_drag_abort_timeout): tell
3683 gtk_drag_drop_finished() the operation result.
3685 * gtk/gtknotebook.c (gtk_notebook_drag_failed): new function.
3686 (gtk_notebook_drag_data_get): do not call window creation hook here.
3687 (gtk_notebook_init): do not set "application/x-rootwindow-drop"
3688 target, instead connect to "drag-failed".
3689 (gtk_notebook_draw_focus): fix potential crasher if cur_page is NULL.
3691 2006-12-28 Mikael Hallendal <micke@imendio.com>
3693 * gdk/quartz/gdkevents-quartz.c: Factored out the event loop
3694 integration into gdkeventloop-quartz.c.
3696 * gdk/quartz/Makefile.am: Added gdkeventloop-quartz.c
3698 * gdk/quartz/gdkeventloop-quartz.c: New file containing the event loop
3701 2006-12-27 Matthias Clasen <mclasen@redhat.com>
3703 * modules/printbackends/lpr/gtkprintbackendlpr.c
3704 (gtk_print_backend_lpr_print_stream): Close the io channel
3705 on unref. (#390159, Joe Markus Clarke)
3707 2006-12-27 Matthias Clasen <mclasen@redhat.com>
3709 * gdk/gdk.h: Remove redundant declarations (#390097,
3712 2006-12-27 Kristian Rietveld <kris@gtk.org>
3714 Support inverting arrows via XSetting. (#377979, Yevgen Muntyan).
3716 * gtk/gtksettings.c (gtk_settings_class_init): add new setting
3717 gtk-alternative-sort-arrows.
3719 * gdk/win32/gdkproperty-win32.c (gdk_screen_get_setting): add
3722 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: set new
3723 gtk-alternative-sort-arrows setting to true.
3725 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
3726 invert direction if gtk-alternative-sort-arrows is TRUE.
3728 2006-12-27 Tor Lillqvist <tml@novell.com>
3730 * gtk/gtk.symbols: Add gtk_status_icon_get_screen and
3731 gtk_status_icon_set_screen.
3733 * gtk/gtkstatusicon.c: Implement gtk_status_icon_position_menu()
3734 on Windows. Keep track of where the last button click on the
3735 taskbar icon took place, and return that. Obviously not correct if
3736 no button has ever been clicked on the icon, or if the geometry of
3737 the taskbar has changed since. But for most use cases where a menu
3738 is going to be displayed as a direct result of a button click on
3739 the status icon, works fine. (#377349)
3741 Implement getting the orientation property on Windows.
3743 (gtk_status_icon_embedded_changed)
3744 (gtk_status_icon_orientation_changed): Ifdefify these functions
3745 that are used only on X11.
3747 2006-12-27 Tor Lillqvist <tml@novell.com>
3749 * gtk/gtkfilesystemwin32.c (execute_callbacks): Fix
3750 typo. (#390035, Kazuki Iwamoto)
3752 2006-12-27 Matthias Clasen <mclasen@redhat.com>
3754 * gtk/gtkcellview.c (gtk_cell_view_set_model): Accept NULL.
3756 * gtk/gtkcombobox.c (gtk_combo_box_set_model):
3757 (gtk_combo_box_unset_model): Handle repeated unsetting
3758 of models without warnings. (#367529, Robert Ancell)
3760 2006-12-27 Matthias Clasen <mclasen@redhat.com>
3762 * modules/printbackends/cups/gtkcupsutils.c:
3763 * modules/printbackends/cups/gtkprintbackendcups.c: Use
3764 getters for http fields where available. (#364866,
3767 2006-12-27 Matthias Clasen <mclasen@redhat.com>
3769 * gtk/gtkwidget.c (gtk_widget_show): Add a g_return_if_fail.
3770 (#362614, Xan Lopez)
3772 2006-12-27 Matthias Clasen <mclasen@redhat.com>
3774 * gtk/gtkuimanager.c (update_node): If a required action
3775 is missing, don't recurse over the children. (#349119,
3778 2006-12-27 Matthias Clasen <mclasen@redhat.com>
3780 Fix a few problems with nested menus in comboboxes
3781 (#386694, Yevgen Muntyan)
3783 * gtk/gtkcombobox.c (gtk_combo_box_menu_fill_level): Always
3784 connect the activate callback.
3785 (gtk_combo_box_menu_item_activate): Do nothing if called on
3786 an item with a submenu.
3787 (gtk_combo_box_menu_row_deleted): Remove a submenu when it
3790 2006-12-26 Mariano Suárez-Alvarez <mariano@gnome.org>
3792 * gtk/gtkfilechooserbuuton.[hc]: Add a file-set signal to the
3793 filechooser button. Bug 353196.
3795 2006-12-26 Kristian Rietveld <kris@gtk.org>
3797 * gtk/gtktreeview.c (gtk_tree_view_search_init): fix typo causing
3798 the search dialog timeout never to be refreshed. (#389581,
3799 Andrzej Szombierski).
3801 2006-12-26 Kristian Rietveld <kris@gtk.org>
3803 Lots of scrolling fixes. Made scrolling work properly in not fully
3804 validated tree views; fixed a bunch of corner cases.
3806 * gtk/gtktreeview.c (validate_visible_area): if a row's dy is past
3807 upper - page_size, we know it is located at the end so the test for
3808 dy + height has been dropped.
3809 In the same case if area_below < 0, we know this is the last node
3810 in the tree view so area_above is page_size - height of this row.
3811 (validate_visible_area): got rid of subtracting new_height -
3812 old_height from area_{below,above}, it didn't make any sense at
3813 all and the full height of the row should be subtracted instead.
3814 (validate_visible_area): when scrolling to a given path, set the
3815 top row directly together with the dy offset, then sync that top_row
3817 (gtk_tree_view_set_top_row): new function to directly set a top_row.
3818 (gtk_tree_view_dy_to_top_row): refactored to use
3819 gtk_tree_view_set_top_row().
3820 (gtk_tree_view_top_row_to_dy): make sure dy >= 0 when done.
3821 (gtk_tree_view_adjustment_changed): only update our dy and
3822 top_row if the adjustment's dy actually changed.
3824 2006-12-26 Christian Persch <chpe@cvs.gnome.org>
3826 * gtk/gtknotebook.c: (gtk_notebook_real_insert_page):
3827 Return the correct value from gtk_notebook_insert_page if the
3828 page-added handler reorders the tabs. Bug #345094.
3830 2006-12-26 Carlos Garnacho <carlosg@gnome.org>
3832 Fix small regressions in GtkNotebook tab detaching. Bug #378852.
3834 * gtk/gtknotebook.c (gtk_notebook_do_arrow): grab focus to allow tabs
3835 scrolling when hovering with a detached tab.
3836 (gtk_notebook_stop_reorder): Do not deparent the wrong tab if the
3837 focus tab has changed during a tab DND operation.
3838 (gtk_notebook_drag_end): ensure that the dropped tab gets focused.
3839 (gtk_notebook_paint): do not take cur_page as a reference to paint the
3840 box if it's detached.
3841 (gtk_notebook_calculate_tabs_allocation): focus_tab may be different
3842 to the detached tab if we hover the arrows during a tabs detaching
3843 operation, do not allocate it unconditionally in 0,0.
3845 2006-12-26 Carlos Garnacho <carlosg@gnome.org>
3847 Expose improvements for GtkNotebook. Bug #383435
3849 * gtk/gtknotebook.c (gtk_notebook_expose): propagate the event to tab
3851 (gtk_notebook_draw_focus): do not repaint the whole focused tab again.
3852 (gtk_notebook_draw_tab): do not send handmade expose events to tab
3855 2006-12-26 Matthias Clasen <mclasen@redhat.com>
3857 * gtk/gtkfilesystemunix.c (execute_callbacks): Return
3858 FALSE. (#389623, Carlos Garnacho Parro)
3860 * gtk/gtkrange.c (stop_scrolling): Avoid spurious
3863 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
3865 * gtk/gtkplug.c: (gtk_plug_construct_for_display),
3866 (gtk_plug_unrealize): Notify the "embedded" property also on
3867 normal construction and when destroying the socket window.
3870 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
3872 * gtk/gtkaboutdialog.c: (gtk_about_dialog_class_init),
3873 (gtk_about_dialog_init), (display_credits_dialog),
3874 (display_license_dialog):
3875 * gtk/gtkfilechooserdialog.c: (gtk_file_chooser_dialog_class_init),
3876 (gtk_file_chooser_dialog_init),
3877 (gtk_file_chooser_dialog_constructor),
3878 (gtk_file_chooser_dialog_unmap):
3879 * gtk/gtkrecentchooserdefault.c:
3880 (_gtk_recent_chooser_default_init):
3881 * gtk/gtkrecentchooserdialog.c:
3882 (gtk_recent_chooser_dialog_class_init),
3883 (gtk_recent_chooser_dialog_init),
3884 (gtk_recent_chooser_dialog_constructor),
3885 (gtk_recent_chooser_dialog_unmap): Set the HIG spacings directly
3886 instead of using style-set handlers. Fix the filechooser's spacing
3887 between content and action area to 12px. Bug #372447.
3889 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
3891 * gtk/gtkstatusbar.c: (gtk_statusbar_size_allocate):
3892 Don't assume statusbar->label is the statusbar's frame's child when
3893 shrinking the size allocation when the grip is shown. Bug #372452.
3895 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
3897 * gtk/gtkpagesetupunixdialog.c: (printer_status_cb),
3898 (add_custom_paper): Fix mem leaks. Bug #389194.
3900 2006-12-24 Matthias Clasen <mclasen@redhat.com>
3902 * gtk/gtktextutil.c: Remove debug output.
3904 * gtk/gtktextview.c: Improve the DND scrolling
3905 behaviour. (#92387, Carlos Garnacho Parro)
3907 * gtk/gtkaccellabel.c: Improve translators comments.
3908 (#389298, Christian Persch)
3910 2006-12-24 Bastien Nocera <hadess@hadess.net>
3912 * gtk/gtkrecentmanager.c: Fix typo (s/expansive/expensive)
3915 2006-12-24 Christian Persch <chpe@cvs.gnome.org>
3917 * docs/reference/gtk/gtk-sections.txt:
3919 * gtk/gtkpagesetupunixdialog.c: (fill_paper_sizes_from_printer):
3920 * gtk/gtkprinter-private.h:
3921 * gtk/gtkprinter.c: (gtk_printer_list_papers):
3922 * gtk/gtkprinter.h: Make gtk_printer_list_papers public. Bug #345587.
3924 2006-12-24 Carlos Garcia Campos <carlosgc@gnome.org>
3926 * gtk/gtkpagesetupunixdialog.c: Don't ignore reverse portrait option
3927 when is selected in page setup dialog. Fixes bug #365047.
3929 2006-12-24 Behdad Esfahbod <behdad@gnome.org>
3931 * gtk/gtkentry.c (_gtk_entry_effective_inner_border):
3932 Use gtk_border_free when freeing border.
3934 2006-12-24 Matthias Clasen <mclasen@redhat.com>
3936 * gtk/gtkentry.c (gtk_entry_button_press): When
3937 shift-clicking, keep the larger part of the selection
3938 selected. (#353709, Benjamin Otte)
3940 * gtk/gtkbutton.c (gtk_button_get_props): Use
3941 gtk_border_free when freeing borders.
3943 * gtk/gtkbutton.c (gtk_button_grab_notify): Be more
3944 careful when faking a button release. (#323146,
3947 * gtk/gtkhandlebox.c (draw_textured_frame): Draw the
3948 handle with the right orientation, depending on the
3949 position of the handlebox. (#159764, Benjamin Berg)
3951 2006-12-24 Behdad Esfahbod <behdad@gnome.org>
3953 * gtk/gtkstyle.c (gtk_border_copy), (gtk_border_free): Use gslice for
3954 GtkBorder (#383557).
3956 2006-12-24 Behdad Esfahbod <behdad@gnome.org>
3958 Bug 340141 – Update to Pango 1.16 API
3960 * gdk/gdkpango.c (layout_iter_get_line_clip_region),
3961 (gdk_pango_layout_line_get_clip_region):
3962 * gtk/gtkcalendar.c (gtk_calendar_size_request):
3963 * gtk/gtkentry.c (gtk_entry_get_pixel_ranges),
3964 (get_layout_position), (gtk_entry_find_position),
3965 (gtk_entry_adjust_scroll):
3966 * gtk/gtkiconview.c (get_pango_text_offsets):
3967 * gtk/gtklabel.c (get_cursor_direction):
3968 * gtk/gtkstyle.c (get_insensitive_layout):
3969 * gtk/gtktextdisplay.c (render_para):
3970 * gtk/gtktextlayout.c (allocate_child_widgets),
3971 (find_display_line_below), (find_display_line_above),
3972 (gtk_text_layout_move_iter_to_previous_line),
3973 (gtk_text_layout_move_iter_to_next_line),
3974 (gtk_text_layout_move_iter_to_line_end),
3975 (gtk_text_layout_iter_starts_line),
3976 (gtk_text_layout_move_iter_to_x):
3977 * gtk/gtktextutil.c (limit_layout_lines):
3978 Use the _readonly version of pango_layout_iter_get_line(),
3979 pango_layout_iter_get_run(), pango_layout_get_line(), and
3980 pango_layout_get_lines().
3982 * gtk/gtkmain.c (gtk_get_default_language): Use
3983 pango_get_default_language().
3985 2006-12-24 Matthias Clasen <mclasen@redhat.com>
3987 * gtk/gtkentry.c (gtk_entry_set_text): Emit changed
3988 and notify:text only once. The same fix was applied
3989 for replacing the selection via DND or copy-and-paste.
3990 (#64998, Damon Chaplin, Sven Herzberg)
3992 2006-12-23 Matthias Clasen <mclasen@redhat.com>
3994 * gtk/gtkimmulticontext.c: Be careful to not override
3995 GTK+ translations with the translations of the input
3996 method. (#317080, Tor Lillqvist)
3998 * modules/input/imcedilla.c: Use standard macros
3999 for translation domain and locale dir.
4001 * gtk/gtkimcontextsimple.c: Allow composing l with
4002 stroke. (#349638, Daniel Lublin)
4004 * gtk/gen-paper-names.c: Fix a thinko in the suffix
4005 calculation. (#382369, Christian Persch)
4007 * gtk/paper_names_offsets.c: Regenerated.
4009 2006-12-22 Matthias Clasen <mclasen@redhat.com>
4011 * modules/engines/pixbuf/pixbuf.h:
4012 * modules/engines/pixbuf/pixbuf-rc-style.h:
4013 * modules/engines/pixbuf/pixbuf-style.h: Move
4014 G_GNUC_INTERNAL before function declarations. (#352276,
4017 2006-12-22 Matthias Clasen <mclasen@redhat.com>
4019 * demos/gtk-demo/*.c: Fix some leaks. (#348108, Chris
4022 2006-12-22 Matthias Clasen <mclasen@redhat.com>
4024 * *.c: Replace a lot of idle and timeout calls by
4025 the new gdk_threads api.
4029 * gdk/gdk.c: Add functions to allow threadsafe handling
4030 of idles and timeouts wrt. to the GDK lock. (#321886,
4033 2006-12-22 Matthias Clasen <mclasen@redhat.com>
4035 * gdk/gdkpango.c: Use pango_cairo_show_error_underline.
4036 (#340141, Behdad Esfahbod)
4038 * configure.in: Check for getc_unlocked.
4040 * gtk/xdgmime/xdgmimemagic.c: Use getc if getc_unlocked is
4041 unavailable. (#381499)
4043 * tests/teststatusicon.c: Fix a typo
4045 2006-12-22 Matthias Clasen <mclasen@redhat.com>
4047 Make it possible to track the embeddedness of
4048 statusicon (#387215, Martyn Russell, patch by Christian
4051 * gtk/gtkstatusicon.c: Add orientation and embedded properties.
4053 * gtk/gtkplug-x11.c: Add an embedded property.
4054 * tests/teststatusicon.c: Test the new properties.
4056 * gtk/gtkwidget.c (gtk_widget_get_draw_rectangle): Don't
4057 leak draw_border. (#387170, Kjartan Maraas)
4059 2006-12-21 Matthias Clasen <mclasen@redhat.com>
4061 * gtk/gtkfilechooserembed.c (_gtk_file_chooser_embed_set_delegate()):
4062 Typo fix. (#388123, Murray Cumming)
4064 * gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event):
4065 Generate double-click events. (#380421, Tommi Komulainen)
4067 * gdk/x1/gdkinput-xfree.c (_gdk_input_configure_event):
4068 (_gdk_input_enter_event): Correct return_if_fail checks.
4069 (#379803, Tommi Komulainen)
4071 * gdk/gdkdisplay.c: Improve the docs of some functions operating
4072 on the default display. (##353438, Mariano Suárez-Alvarez)
4074 2006-12-21 Matthew Barnes <mbarnes@redhat.com>
4076 * docs/reference/gdk/gdk-sections.txt:
4077 * gdk/gdkcolor.[ch] (gdk_color_to_string): Add a function for
4078 converting a GdkColor to a string (#373856).
4080 * configure.in: Bump pango requirement to 1.15.2.
4082 2006-12-20 Matthias Clasen <mclasen@redhat.com>
4084 * gdk/keynames.txt: Mark arrow keys as translatable. (#369506,
4087 * gdk/keyname-table.h: Regenerated
4089 * gtk/gtktextbuffer.c: Add signal documentation. (#317064,
4090 Søren Wedel Nielsen)
4092 * gtk/gtktextview.c (gtk_text_view_start_selection_drag):
4093 Silently return if a drag is already in progress, rather
4094 than asserting. (#335622, Li Yuan, testcase by Erwann Chenede)
4096 * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_new_with_dialog):
4097 Allow any GtkDialog that implements GtkFileChooser as
4098 dialog. (#335473, Tommi Komulainen)
4100 2006-12-20 Mikael Hallendal <micke@imendio.com>
4102 * gtk/gtkstatusicon.c: (gtk_status_icon_init): Fixed a last minute
4103 change in the quartz backend.
4105 2006-12-20 Mikael Hallendal <micke@imendio.com>
4107 * gtk/Makefile.am: Added gtkstatusicon-quartz.c
4108 * gtk/gtkstatusicon-quartz.c: Implements the quartz backend for the
4110 * gtk/gtkstatusicon.c: Hooked in the new quartz backend. Bug #387874.
4112 2006-12-19 Matthias Clasen <mclasen@redhat.com>
4114 * gtk/gtkprintunixdialog.c: Add a tooltip explaining the
4115 format of page ranges, and improve the page sequence icon
4116 for the case of n_copies == 1.
4118 2006-12-19 Mikael Hallendal <micke@imendio.com>
4120 * gdk/quartz/gdkcursor-quartz.c: Splitted out the GdkPixbuf to NSImage
4121 routine so that it can be used from libgtk as well (needed for
4122 upcoming GtkStatusIcon support in the Quartz port).
4123 * gdk/quartz/gdkevents-quartz.c: Don't assume that all NSWindows are
4124 created from GDK, this is not true for the status icon.
4125 * gdk/quartz/gdkprivate-quartz.h:
4126 * gdk/quartz/gdkquartz.h: Added
4127 gdk_quartz_pixbuf_to_ns_image_libgtk_only so that it is available to
4128 the status icon code.
4130 2006-12-16 Tristan Van Berkom <tvb@gnome.org>
4132 * gtk/gtkmessagedialog.c: Added return_if_fail (image) to
4133 gtk_message_dialog_set_image ()
4135 * gtk/gtkscrolledwindow.c: Fixed a bug in set_property()
4136 (setting "window-placement-set" could result in a crash because
4137 of boolean/enum mixup)
4139 2006-12-15 Federico Mena Quintero <federico@novell.com>
4141 Merged from gtk-2-10:
4143 * gtk/gtkmenu.c (gtk_menu_set_title): Don't try to optimize for
4144 the case where the new title is the same as the old title, to
4145 preserve the behavior from GTK+ 2.8 (NULL and "" titles are not
4146 equivalent). Handle the case where title == priv->title. This
4147 was found by the LSB compatibility tests:
4148 https://bugzilla.novell.com/show_bug.cgi?id=223882
4150 2006-12-15 Dom Lachowicz <domlachowicz@gmail.com>
4152 * gtk/gtkcombobox.c: Make GtkComboBox in "appears-as-list" mode
4153 more closely resemble its Win32 counterpart. Bug #340204.
4155 2006-12-14 Carlos Garnacho <carlosg@gnome.org>
4157 * gtk/gtkcalendar.c: draw arrows pointing to the right correctly
4158 placed inside their GdkWindow. Bug #385672.
4160 2006-12-14 Christian Persch <chpe@cvs.gnome.org>
4162 * gtk/gtkiconview.c: Fix docs typo. Bug #385642.
4164 2006-12-13 Dom Lachowicz <domlachowicz@gmail.com>
4166 * src/modules/engines/ms-windows/msw_style.c: Bug 351679 - Notebooks
4167 drawn with extra line below tab in MS-Windows theme. Patch by
4170 2006-12-13 Matthias Clasen <mclasen@redhat.com>
4172 * gtk/Makefile.am: Add --unlink-tempfile to the evince call
4173 for print preview. (#370041, Ghee Teo)
4175 2006-12-11 Matthias Clasen <mclasen@redhat.com>
4177 * gtk/gtkprogressbar.c (gtk_progress_bar_paint_text): Be more
4178 careful when overdrawing antialiased text. (#352435, Alex Jones,
4179 patch by Benjamin Otte)
4181 * gtk/gtksettings.c: Change the way in which color scheme information
4182 is merged to correctly handle vanishing colors. (#374420,
4183 Benjamin Berg, patch by Callum McKenzie)
4184 Also allow to separate entries in color schemes by ';'
4187 2006-12-10 Matthias Clasen <mclasen@redhat.com>
4189 * modules/printbackends/cups/gtkcupsutils.c (gtk_cups_request_encode_option):
4190 Properly pass multi-value options to cups. (#355350, JĂĽrg Billeter)
4192 2006-12-10 Kristian Rietveld <kris@gtk.org>
4194 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_focus_out_event):
4195 cancel editing (ie. don't accept changes) when the entry loses
4196 focus. (Fixes #164494, reported by Chris Rouch).
4198 2006-12-10 Matthias Clasen <mclasen@redhat.com>
4200 * configure.in: Correct a misapplied patch.
4202 2006-12-10 Tor Lillqvist <tml@novell.com>
4204 * gtk-zip.sh.in: Put gdk-pixbuf-query-loaders.exe and
4205 gtk-query-immodules-2.0.exe in the runtime zipfile instead of
4206 developer zipfile. Users might add pixbuf loaders or immodules
4207 even if they are not interested in developing gtk+-using software.
4209 2006-12-10 Matthias Clasen <mclasen@redhat.com>
4211 * configure.in: Check for crt_extern.h and _NSGetEnviron.
4212 * gdk/x11/gdkspawn-x11.c: Fix compilation on Darwin where
4213 environ is not available. (#384168, Min Sik Kim)
4215 2006-12-07 Paolo Maggi <paolo@gnome.org>
4219 * gtk/gtkentry.c (gtk_entry_set_text): check for
4220 completion->priv->changed_id > 0 before calling
4221 g_signal_handler_[un]block.
4222 (gtk_entry_completion_key_press): does not block/unblock the "changed"
4223 signal before calling gtk_entry_set_text.
4225 2006-12-07 Carlos Garnacho <carlosg@gnome.org>
4227 * gtk/gtkcellrendererprogress (compute_dimensions): do not use
4228 xthickness/ythickness, they aren't used any longer for drawing.
4230 2006-12-07 Matthias Clasen <mclasen@redhat.com>
4232 * gtk/gtkrc.c (_gtk_rc_init): Fix clipping of accelerator
4233 underlines by giving labels a small draw-border.
4235 2006-12-06 Kristian Rietveld <kris@gtk.org>
4237 * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_render):
4238 draw progress bar through theme engine instead of using our own
4239 custom cairo drawing code (#377244, patch from Carlos Garnacho).
4241 2006-12-06 Matthias Clasen <mclasen@redhat.com>
4243 * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities):
4244 Update the sensitivity of the collate checkbutton more frequently,
4245 proposed by Tim Waugh.
4247 2006-12-04 Matthias Clasen <mclasen@redhat.com>
4249 * gtk/gtkmessagedialog.c (setup_type): Set a11y name and role
4250 since we no longer set window titles.
4252 2006-12-04 Christian Persch <chpe@cvs.gnome.org>
4254 * gtk/gtkpagesetup.c: (gtk_page_setup_get_paper_size),
4255 (gtk_page_setup_set_paper_size): Don't leak the old page size when
4256 setting a new one. Bug #382314.
4258 2006-12-03 Michael Natterer <mitch@gimp.org>
4260 * gtk/gtktextview.c: remove FIXME #include that is no longer needed.
4262 2006-12-03 Kristian Rietveld <kris@gtk.org>
4264 Make sure [xy]_offset are always being initialized, fix pixbuf
4265 renderer padding. (#108235, Sven Neumann).
4267 * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_get_size),
4268 (gtk_cell_renderer_pixbuf_render): add padding in _render instead
4271 * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_get_size):
4272 always initialize [xy]_offset.
4273 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size): ditto.
4274 * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_size):
4277 2006-12-03 Kristian Rietveld <kris@gtk.org>
4279 * gtk/gtktreeview.c (validate_visible_area): when not using an
4280 explicit alignment, use the full area of the row (not just dy)
4281 to determine how to implicitly align it. (Fixes #363191, reported
4282 by Federico Mena Quintero).
4284 2006-12-02 Matthias Clasen <mclasen@redhat.com>
4286 * gtk/gtkicontheme.c (insert_theme): Properly clean up
4287 if an icon theme index file has no directories. (#381236)
4289 2006-12-02 Dom Lachowicz <domlachowicz@gmail.com>
4291 * src/modules/engines/ms-windows/msw_style.c: Bug 351678 - Notebooks
4292 not with PositionType.Top drawn incorrectly. Patch by Cody Russell
4294 2006-11-28 Behdad Esfahbod <behdad@gnome.org>
4296 Remove the broken Thai input method and add a functional Thai and Lao
4297 input method by Theppitak Karoonboonyanan. (#81031)
4299 * modules/input/imthai.c:
4300 * modules/input/gtkimcontextthai.c:
4301 * modules/input/gtkimcontextthai.h:
4302 * modules/input/thai-charprop.c:
4303 * modules/input/thai-charprop.h:
4306 * modules/input/imthai-broken.c:
4309 * modules/input/Makefile.am:
4312 2006-11-27 Christian Persch <chpe@cvs.gnome.org>
4314 * gtk/gtkstatusicon.c: Notify when the screen changes. Bug #379793.
4316 Mon Nov 27 12:27:06 2006 Tim Janik <timj@imendio.com>
4318 * gtk/gtktextview.c: applied patch by Colin Leroy for
4319 Control+GDK_KP_Left to move one word to the left, #356255.
4321 2006-11-26 Benjamin Berg <benjamin@sipsolutions.net>
4323 * gtk/gtkstyle.c: (gtk_default_draw_flat_box): Protect against NULL
4326 2006-11-25 Matthias Clasen <mclasen@redhat.com>
4328 * modules/printbackends/cups/gtkprintbackendcups.c: Make
4329 print dialog work when 'BrowseShortNames Off' is specified
4330 in cups configuration. Patch by Tim Waugh.
4332 2006-11-24 Michael Natterer <mitch@imendio.com>
4334 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): if we
4335 can't go up/down, consult gtk_widget_keynav_failed() and leave the
4336 widget if it returns FALSE (bug #322640).
4338 2006-11-23 Behdad Esfahbod <behdad@gnome.org>
4340 * gtk/gtkmain.c: Fix minor typo in docs. (#378632, Hannes Mueller)
4342 2006-11-22 Emmanuele Bassi <ebassi@gnome.org>
4344 * gtk/gtkrecentmanager.c:
4345 (get_uri_shortname_for_display): g_filename_from_uri() might
4346 fail; catch the failure and fall back to the non-local URI
4349 2006-11-19 Mark McLoughlin <mark@skynet.ie>
4351 Fixes bug #376502 - multi-screen support for GtkStatusIcon
4353 * gtk/gtkstatusicon.[ch]:
4354 (gtk_status_icon_set_screen),
4355 (gtk_status_icon_get_screen): add multi-screen API. Allows
4356 an app to display an icon on a non-default screen
4357 (gtk_status_icon_class_init),
4358 (gtk_status_icon_set_property),
4359 (gtk_status_icon_get_property): add a "screen" property
4361 * tests/teststatusicon.c: update to test on multiple screens
4363 2006-11-17 Matthias Clasen <mclasen@redhat.com>
4365 Fix problems with drag cancellation. (#376535, Michael Natterer)
4367 * gtk/gtkdnd.c (gtk_drag_source_info_destroy): Disconnect signal
4368 handlers before emitting drag-end.
4369 (gtk_drag_end): Disconnect signal handlers before removing
4372 2006-11-16 Mariano Suárez-Alvarez <mariano@gnome.org>
4374 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init):
4375 add gtk-doc blurb on GtkCellRendererText::edited (#376094)
4377 2006-11-16 Michael Natterer <mitch@imendio.com>
4379 * gtk/gtkradiobutton.c (gtk_radio_button_focus): don't use
4380 gtk_widget_keynav_failed(). Instead, look at gtk-keynav-cursor-only
4381 and gtk-keynav-wrap-around and wrap around, beep or continue outside
4382 the group manually (bug #322640).
4384 2006-11-16 Michael Natterer <mitch@imendio.com>
4386 Add new infrastructure for notifications of failed keyboard
4387 navigation and navigation with restricted set of keys.
4389 The patch handles configurable beeping, navigating the GUI with
4390 cursor keys only (as in phone environments), and configurable
4391 wrap-around. Fixes bugs #322640, #70986, #318827, #334726, #334742
4394 * gtk/gtksettings.c: added properties gtk-keynav-cursor-only,
4395 gtk-keynav-wrap-around and gtk-error-bell.
4397 * gtk/gtkwidget.[ch]: added new signal "keynav-failed" and public
4398 API to emit it. Added New function gtk_widget_error_bell() which
4399 looks at the gtk-error-bell setting and calls gdk_window_beep()
4402 * gtk/gtk.symbols: add the new widget symbols.
4404 * gtk/gtkcellrendereraccel.c
4405 * gtk/gtkimcontextsimple.c
4407 * gtk/gtknotebook.c: use gtk_widget_error_bell() or look at the
4408 gtk-error-bell setting instead of calling gdk_display_beep()
4415 * gtk/gtkmenushell.c
4416 * gtk/gtkspinbutton.c
4418 * gtk/gtktreeview.c: call gtk_widget_error_bell() on failed keynav.
4423 * gtk/gtktextview.c: consult gtk_widget_keynav_failed() on failed
4424 cursor navigation and leave the widget if it returns FALSE.
4426 * gtk/gtkmenushell.c
4427 * gtk/gtknotebook.c: only wrap around if gtk-keynav-wrap-around
4430 * gtk/gtkradiobutton.c: ask gtk_widget_keynav_failed() to decide
4431 whether to to wrap-around, and don't select active items on cursor
4432 navigation if gtk-keynav-cursor-only is TRUE. Should look at
4433 gtk-keynav-wrap-around too, will look into that.
4435 2006-11-16 Emmanuele Bassi <ebassi@gnome.org>
4437 * gtk/gtkrecentmanager.c:
4438 (gtk_recent_info_get_uri_display): Return the URI
4439 of the GtkRecentInfo object (upgraded to UTF-8 if
4440 needed) in case of non-local file. (#351945)
4442 2006-11-16 Emmanuele Bassi <ebassi@gnome.org>
4444 * gtk/gtkrecentchoosermenu.c:
4445 (gtk_recent_chooser_menu_add_tip): Apply the tip only
4446 if we have a displayable name for the item. (#365031,
4447 patch by padraig.obriain(at)sun.com)
4449 2006-11-16 Emmanuele Bassi <ebassi@gnome.org>
4451 * gtk/gtkrecentmanager.c: Provide a fast path returning
4452 NULL when the limit is set to 0.
4454 * gtk/gtkrecentchooserdefault.c:
4455 * gtk/gtkrecentchoosermenu.c: Add the same fast path
4456 inside the RecentChooser implementation; add a check
4457 in the list clamping code. (#373466 and duplicates)
4459 2006-11-15 Matthias Clasen <mclasen@redhat.com>
4461 * modules/printbackends/cups/gtkprintbackendcups.c (cups_printer_get_options):
4462 Don't pass NULL to strncpy. (#359537, patch by Carlos Garcia Campos)
4464 2006-11-15 Michael Natterer <mitch@imendio.com>
4466 * gtk/gtkrange.[ch]: added properties "fill-level",
4467 "show-fill-level" and "restrict-to-fill-level" and getters/setters
4468 for them. The "fill level" is an additional marker on the range's
4469 trough than can be e.g. used to indicate the amount of
4470 pre-buffering in a range showing the play position of streamed
4471 media. See the embedded API docs for details. Made GtkRangeLayout
4472 a GTypeInstance private struct and removed finalize()
4473 implementation. Fixes bug #349808
4475 * gtk/gtk.symbols: added the new symbols.
4477 2006-11-14 Behdad Esfahbod <behdad@gnome.org>
4479 * configure.in: Make libtool magic robust. (#352795)
4481 2006-11-13 Paolo Borelli <pborelli@katamail.com>
4483 * gtk/gtkrc.c (gtk_rc_parse_icon_source): plug small memory
4486 2006-11-09 Kristian Rietveld <kris@imendio.com>
4488 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): disable
4489 don't move cursor case for SELECTION_NONE. (#371756, John Ellis).
4491 2006-11-09 Carlos Garnacho <carlosg@gnome.org>
4493 * gtk/gtkpathbar.c (on_slider_unmap): Fix parenthesis confusion.
4495 2006-11-08 Carlos Garnacho <carlosg@gnome.org>
4497 * gtk/gtkpathbar.c (on_slider_unmap): added, do not leave the scroll
4498 timeout running if the slider buttons are hidden. (#372527)
4500 2006-11-08 Christian Persch <chpe@cvs.gnome.org>
4502 * gtk/gtkfilechooserdefault.c (browse_widgets_create): Don't make
4503 the "Location" label bold. Bug #372449.
4505 2006-11-07 Carlos Garnacho <carlosg@gnome.org>
4507 * gtk/gtknotebook.c (gtk_notebook_calculate_tabs_allocation): make
4508 non-focused tabs xthickness/ythickness thinner. (#353962)
4510 2006-11-07 Paolo Borelli <pborelli@katamail.com>
4512 * gtk/gtktextbtree.c (_gtk_text_btree_delete): avoid memory
4513 corruption (#357050).
4515 2006-11-06 Alexander Larsson <alexl@redhat.com>
4517 * gtk/gtkdnd.c: (gtk_drag_begin_internal),
4518 (gtk_drag_source_info_destroy), (gtk_drag_end),
4519 (gtk_drag_grab_notify_cb):
4520 Cancel drag when the grab is shadowed. (#122688)
4522 2006-11-01 Kristian Rietveld <kris@imendio.com>
4524 * gtk/gtkcombobox.c (gtk_combo_box_class_init),
4525 (gtk_combo_box_size_request): add arrow-size property to control
4526 the minimum size of the arrow, have the arrow scale up with the
4527 font by default. (#357950).
4529 2006-10-30 Kristian Rietveld <kris@gtk.org>
4531 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): don't
4532 forget to queue a draw for the new cursor node. (Fixes #366548,
4533 reported by Sven Herzberg).
4535 2006-10-30 Michael Natterer <mitch@imendio.com>
4537 * gtk/gtkrange.c (gtk_range_key_press): consume the Escape key
4538 only if we actually cancel a drag. Fixes bug #58389.
4540 2006-10-30 Kristian Rietveld <kris@gtk.org>
4542 * gtk/gtktreeview.c (gtk_tree_view_class_init): change left/right
4543 keybindings to collapse/expand rows instead of moving the focus
4544 cursor. (#105895, Brian Bober and others).
4546 2006-10-29 Kristian Rietveld <kris@gtk.org>
4548 * gtk/gtktreeview.c (gtk_tree_view_real_expand_row): guard against
4549 child removal in row-expanded callback. (#366782, John Ellis).
4551 2006-10-29 Tor Lillqvist <tml@novell.com>
4553 * gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Improve handling
4554 of the small icon of the window class. (#152620, Kazuki Iwamoto)
4556 2006-10-29 Tor Lillqvist <tml@novell.com>
4558 * gdk/win32/gdkcursor-win32.c
4559 (gdk_win32_icon_to_pixbuf_libgtk_only): Implement for B&W cursors,
4560 for instance the built-in GDK ones.
4562 2006-10-27 Kristian Rietveld <kris@gtk.org>
4564 * gtk/gtktreeview.c (validate_visible_area): rework the area_above == 0
4565 case to not overwrite the variables in the lower scope (which are
4566 used later on ...), get the path correctly and bail out when there
4567 isn't a node above us. (#359231).
4569 2006-10-26 Christian Persch <chpe@cvs.gnome.org>
4571 * gtk/gtkaboutdialog.c: Put initial focus on Close button (#337261).
4573 2006-10-25 Johan Dahlin <jdahlin@async.com.br>
4575 * gtk/gtk.symbols: Add missing symbols to so make check can pass
4577 2006-10-23 Dom Lachowicz <domlachowicz@gmail.com>
4579 * src/modules/engines/ms-windows/msw_style.c (draw_expander): Remember
4580 to free GDI Pen resources, introduced by bug 340201.(#364514)
4582 2006-10-18 Kristian Rietveld <kris@imendio.com>
4584 * tests/testcombo.c (main): connect to notify::popup-shown instead of
4585 popup-show (the latter does not exist).
4587 2006-10-15 Paolo Borelli <pborelli@katamail.com>
4589 * gtk/gtkicontheme.c (pixbuf_supports_svg): plug memory leak.
4592 2006-10-12 Michael Natterer <mitch@imendio.com>
4594 * gtk/gtkcombobox.c (gtk_combo_box_class_init): fix commit below
4595 (committed the wrong patch).
4597 2006-10-12 Michael Natterer <mitch@imendio.com>
4599 * gtk/gtkcombobox.c: added "move-active" and "popup" signals and
4600 bindings to trigger them. Removed gtk_combo_box_key_press(), it's
4601 obsolete now. Fixes bug #358293.
4603 2006-10-11 Michael Emmel <mike.emmel@gmail.com>
4605 * gdkpixmap-directfb.c: add missing RGB24 case (#361176)
4607 2006-10-11 Tor Lillqvist <tml@novell.com>
4609 * configure.in: Enable having some gdk-pixbuf loaders built-in
4610 even if loading the others dynamically. Define Automake
4611 conditional INCLUDE_FOO for each loader as TRUE if that loader is
4612 built-in. See also gdk-pixbuf/ChangeLog.
4614 Wed Oct 11 14:31:30 2006 Tim Janik <timj@imendio.com>
4616 * docs/reference/gtk/gtk-sections.txt:
4617 * gtk/gtkbindings.c: document gtk_binding_entry_skip().
4619 2006-10-11 Tor Lillqvist <tml@novell.com>
4621 * gtk/gtk.symbols: Remove gtk_combo_string_key, which is a static
4624 2006-10-11 Tor Lillqvist <tml@novell.com>
4626 Merge from 2.10 branch:
4628 * gtk/gtkmain.c (do_pre_parse_initialization): On Win32, if
4629 environment variable LC_ALL or LANG is set, set the Win32 thread
4630 locale to the corresponding locale. Then call the C library
4631 setlocale() to set the C library locale accordingly. The
4632 inconsistency mentioned below is gone. (#339756) Do some special
4633 casing for Serbia and Montenegro. Handle the Latin and Cyrillic
4634 scripts for Azeri, Uzbek and Serbian.
4635 (enum_locale_proc): Helper function for the above functionality.
4637 * gtk/gtkcalendar.c (gtk_calendar_init): No longer need to check
4638 if the environment variables are set here, as they have already
4639 been taken into account and the Win32 thread locale has been
4642 Tue Oct 10 16:38:23 2006 Tim Janik <timj@imendio.com>
4644 * gtk/tmpl/gtkbindings.sgml:
4645 * gtk/gtkbindings.c: applied patch from Michael Natterer to move to
4646 inline docs. applied wording fixes suggested by Martyn Russell.
4648 2006-10-09 Matthias Clasen <mclasen@redhat.com>
4650 * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state):
4651 Update the docs to state which out parameters may be NULL.
4652 (#360870, Attilio Fiandrotti)
4654 2006-10-08 Matthias Clasen <mclasen@redhat.com>
4656 * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities): Fix
4657 a typo. (#359542, Ghee Teo)
4659 2006-10-08 Matthias Clasen <mclasen@redhat.com>
4661 * gtk/gtknotebook.c (gtk_notebook_reorder_tab): Only
4662 reorder tabs if the focus is in the tab. (#350342, Carlos
4665 2006-10-08 Michael Emmel <mike.emmel@gmail.com>
4667 * gdk/directfb/gdkproperty-directfb.c strdup atom name (#357611)
4669 2006-10-08 Kristian Rietveld <kris@gtk.org>
4671 * gtk/gtktreeview.[ch] (gtk_tree_view_set_property),
4672 (gtk_tree_view_set_show_expanders),
4673 (gtk_tree_view_get_show_expanders): add getter/setter for
4674 show-expanders property, queue a redraw when this property
4675 is toggled (#351167, Martin Ejdestig),
4676 (gtk_tree_view_set_level_indentation),
4677 (gtk_tree_view_get_level_indentation): also add getter/setter
4678 and docs for level-indentation property.
4680 2006-10-08 Matthias Clasen <mclasen@redhat.com>
4682 * gtk/gtkradiobutton.c (gtk_radio_button_focus): Don't
4683 leak a list. (#360350, Benjamin Berg)
4685 * Apply a cleanup patch by Kjartan Maraas (#341812)
4687 2006-10-07 Tor Lillqvist <tml@novell.com>
4689 * gtk/gtkcalendar.c (gtk_calendar_init): Use the Win32 thread
4690 locale's first day of week setting on Win32. (#339752, Bogdan
4691 Nicula) Don't do this if one of the environment variables that
4692 affect gettext is set, though. In that case use the week start day
4693 from the corresponding message catalog.
4695 Unfortunately the same logic isn't possible in the weekday and
4696 month name lookup; there even if you have set one of the
4697 aforementioned environment variables, you still get the weekday
4698 and month names from the Win32 thread locale. Yes, this is
4701 Use only wide-character API in the Win32 code in this file, too.
4703 2006-10-06 Matthias Clasen <mclasen@redhat.com>
4705 * gtk/gtkfilechooser.c (gtk_file_chooser_set_select_multiple):
4706 Fix the docs. (#360112)
4708 * gtk/gtkcellview.c: Don't set the background of the
4709 window in a no-window widget. (#359581, Xan Lopez)
4712 2006-10-05 Behdad Esfahbod <behdad@gnome.org>
4714 * gtk/Makefile.am, gtk/aliasfilescheck.sh: Propagate srcdir into the
4715 test correctly. (#359845)
4717 2006-10-05 Michael Natterer <mitch@imendio.com>
4719 * gtk/gtkrc.[ch]: added new scanner token "unbind" which gets
4720 rid of a key binding (in fact, it only lets it appear unbound).
4722 * gtk/gtkbindings.[ch] (struct GtkBindingEntry): added
4723 "guint marks_unbound : 1"
4725 (gtk_binding_entry_skip): new API which marks the entry as unbound.
4727 Changed code so it returns FALSE when "marks_unbound == TRUE" is
4728 encountered while activating bindings, effectively letting the
4729 binding appear unbound (regardless of still existing bindings in
4730 lower binding priority levels). Fixes bug #358329.
4732 (gtk_binding_entry_add)
4733 (gtk_binding_entry_clear)
4734 (gtk_binding_entry_add_signall)
4735 (gtk_binding_parse_binding): deprected these functions.
4737 (_gtk_binding_parse_binding)
4738 (_gtk_binding_entry_add_signall): new internal API.
4740 * gtk/gtk.symbols: changed accordingly.
4742 2006-10-03 Matthias Clasen <mclasen@redhat.com>
4744 Fix interaction of GtkEntryCompletion with input
4745 methods. (#354495, Diego Escalante Urrelo)
4747 * gtk/gtkentry.c (gtk_entry_completion_key_press): Only reset
4748 the im context if we actually handle the key event.
4750 * gtk/gtkentrycompletion.c: Also propagate key release events
4753 2006-10-03 Matthias Clasen <mclasen@redhat.com>
4755 * gtk/gtkprintsettings.c (gtk_print_settings_get_duplex):
4756 Fix a typo. (#359052, Ghee Teo)
4758 * gtk/*.c, gdk/*.c: Apply a patch by Behdad Esfahbod to
4759 reduce relocations. (#359053)
4761 2006-10-03 Matthias Clasen <mclasen@redhat.com>
4763 * modules/printbackends/cups/gtkcupsutils.c:
4764 * modules/printbackends/cups/gtkprintbackendcups.c: Complete
4765 the fix for bug 357280.
4767 2006-10-02 Behdad Esfahbod <behdad@gnome.org>
4769 * gdk-pixbuf/Makefile.am:
4772 Include pltcheck.sh in EXTRA_DIST.
4774 2006-10-02 Behdad Esfahbod <behdad@gnome.org>
4776 * gdk/x11/gdkevents-x11.c: Move all includes before including
4779 2006-10-02 Behdad Esfahbod <behdad@gnome.org>
4781 * gtk/Makefile.am: Fix typo in file name. (#358931)
4783 2006-10-02 Matthias Clasen <mclasen@redhat.com>
4785 * modules/printbackends/cups/gtkprintbackendcups.c (available_choices):
4786 Only use the group name field if cups is new enough. (#357280)
4788 * gtk/gtksizegroup.c: Make sure that the quarks are
4789 initialized before using them. (#353736)
4791 * gtk/Makefile.am (stamp-icons): Use rm instead of ln -f to
4792 replace existing links. (#354849, James Evans)
4794 2006-10-01 Matthias Clasen <mclasen@redhat.com>
4796 * gtk/gtkexpander.c (gtk_expander_realize)
4797 (gtk_expander_size_allocate): Make the event_window large
4798 enough to cover the full height of the label_widget. (#358351,
4801 2006-10-01 Tor Lillqvist <tml@novell.com>
4803 * gtk/gtkfilesystemwin32.c: Same change as to gtkfilesystemunix.c.
4805 2006-09-30 Matthias Clasen <mclasen@redhat.com>
4807 * gtk/gtkfilechooserbutton.c (update_combo_box): Protect
4808 against base_path being NULL. (#358405, many reporters)
4810 2006-09-29 Matthias Clasen <mclasen@redhat.com>
4812 * gtk/gtkfilesystemunix.c: Apply a patch by Padraig O'Briain
4813 to avoid a deadlock.
4815 2006-09-27 Kristian Rietveld <kris@imendio.com>
4817 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_free_level),
4818 (gtk_tree_model_filter_ref_node),
4819 (gtk_tree_model_filter_real_unref_node): bring zero ref count loops
4820 in sync with each other and the sort model.
4822 2006-09-27 Kristian Rietveld <kris@imendio.com>
4824 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_init),
4825 (gtk_tree_model_filter_finalize), (gtk_tree_model_filter_row_deleted),
4826 (gtk_tree_model_filter_new): unref the virtual root path once that
4827 node (or one if its ancestors) is deleted, set virtual_root_deleted
4828 so we only unref it once.
4830 2006-09-27 Kristian Rietveld <kris@imendio.com>
4832 * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_changed),
4833 (gtk_tree_model_sort_sort_level): ref count nodes the proper way,
4834 (gtk_tree_model_sort_ref_node), (gtk_tree_model_sort_real_unref_node),
4835 (gtk_tree_model_sort_free_level): bring zero ref count loops in
4837 (gtk_tree_model_sort_free_level): free child levels before
4838 decreasing the zero ref count of the current level,
4839 (gtk_tree_model_sort_clear_cache): only clear cache if zero_ref_count
4842 2006-09-25 Matthias Clasen <mclasen@redhat.com>
4844 * demos/gtk-demo/*.c:
4845 * gtk/gtkeventbox.c:
4846 * gtk/gtkprintoperation.c: Fix typos. String change.
4848 2006-09-25 Kristian Rietveld <kris@gtk.org>
4850 * gtk/gtktreeview.c (gtk_tree_view_scroll_to_cell): if the tree view
4851 has already been realized; scroll to background area instead of
4852 cell area. (Fixes #330683, Johan Dahlin, Tommi Komulainen).
4854 2006-09-25 Kristian Rietveld <kris@gtk.org>
4856 * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): only attempt
4857 to create the GCs if the widget is realized. (Fixes #357578).
4859 2006-09-25 Matthias Clasen <mclasen@redhat.com>
4861 * gtk/gtkuimanager.c (_gtk_menu_is_empty): Don't leak
4862 the list of children (#357454, Paolo Borelli)
4864 2006-09-25 Michael Natterer <mitch@imendio.com>
4866 * gdk/x11/gdkdisplay-x11.c (gdk_display_x11_finalize): free
4867 display->input_windows with g_free(), not g_object_unref()
4868 (#357566, Tommi Komulainen).
4870 2006-09-24 Kristian Rietveld <kris@gtk.org>
4872 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init),
4873 (gtk_cell_renderer_text_[sg]et_property): actually add align-set
4874 property to the API (left-over patch from #157439).
4876 2006-09-24 Kristian Rietveld <kris@gtk.org>
4878 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button): draw
4879 the indicator if the column has a sort column id (and the model is
4880 sortable) or if the user explicitly requested the indicator
4881 to be shown. (Fixes #352738, Chris Vine).
4883 2006-09-23 Tor Lillqvist <tml@novell.com>
4885 * gtk/Makefile.am: Use EXEEXT.
4887 2006-09-22 Michael Natterer <mitch@imendio.com>
4889 * gtk/gtkstyle.c (gtk_style_real_copy): also copy icon factories
4890 and color hashes. Fixes bug #357132.
4892 2006-09-22 Matthias Clasen <mclasen@redhat.com>
4894 Make remote bookmarks work better (#354887)
4896 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons):
4897 (shortcuts_insert_path):
4898 * gtk/gtkfilechooserbutton.c (change_icon_theme):
4899 (model_add_bookmarks):
4900 (model_update_current_folder):
4901 (update_label_and_image):
4902 If the bookmark points to a remote file, don't call get_info(),
4903 since that may a) take a long time and b) pop up an auth dialog.
4904 Instead, just use a folder icon and create a display name
4907 * gtk/gtkfilechooserdefault.c (_gtk_file_chooser_label_for_uri):
4908 New function to create a suitable display name for a remote
4909 uri. This should really be done in GtkFileSystem.
4911 2006-09-21 Michael Natterer <mitch@imendio.com>
4913 Implement lots of value setters for GdkGC, based on a heavily
4914 modified patch from Thomas Broyer (bug #328853):
4916 * gdk/quartz/gdkcolor-quartz.c: removed functions which set colors
4917 on the CGContext. Instead, added gdk_quartz_get_rgba_from_pixel()
4918 which simply returns RGBA values from a GdkColor's pixel value.
4919 See gdk_quartz_update_context_from_gc() below.
4921 * gdk/quartz/gdkprivate-quartz.h (struct GdkGCQuartz): added lots
4922 of members for the newly suppored GC values. Added enum
4923 GdkQuartzContextValuesMask which is used for setting up the
4924 CGContext for filling and/or stroking.
4926 * gdk/quartz/gdkgc-quartz.c (gdk_quartz_gc_get_values)
4927 (gdk_quartz_gc_set_values)
4928 (_gdk_windowing_gc_copy): support a lot more GC values.
4930 (gdk_quartz_update_context_from_gc): added
4931 GdkQuartzContextValuesMask parameter and set filling/stroking
4932 parameters accordingly. This function also gained full control
4933 over the FG and BG colors (they can't be set separately any more).
4935 The stipple mask part of the patch doesn't work but seems to take
4936 the right approach and doesn't make things worse, so I applied it.
4938 Did *not* apply the clipping part of the patch since I don't
4939 understand it (I don't understand the version in CVS either, but
4940 it at least works :-)
4942 * gdk/quartz/gdkdrawable-quartz.c: pass the right masks to
4943 gdk_quartz_update_context_from_gc() and removed separate color
4944 setting calls. Some minor fixes.
4946 * gdk/quartz/gdkwindow-quartz.c
4947 (gdk_window_impl_quartz_begin_paint_region): set the CGContext's
4948 fill color manually. We don't have/need a GC here.
4950 2006-09-21 Michael Natterer <mitch@imendio.com>
4952 * gdk/quartz/gdkwindow-quartz.c
4953 (gdk_window_impl_quartz_begin_paint_region): fix cast: it's
4954 drawable_impl->wrapper that is the GdkWindow, not the
4955 drawable_impl itself.
4957 2006-09-20 Behnam Esfahbod <behnam@zwnj.org>
4959 * gdk/x11/gdkkeys-x11.c:
4960 (get_direction): just check the first shift-level of keyboard
4961 layout for RTL and LTR keysyms() (compliment to #116626)
4963 Wed Sep 20 16:59:38 2006 Tim Janik <timj@imendio.com>
4965 * gtk/gtkviewport.c: always update the bin_window position and size
4966 in size_allocate, even if we don't have a visible child. this fixes
4967 expose artefacts as described in #313508.
4969 * gtk/gtkscrolledwindow.c: make hiding of automatic scrollbars when we
4970 have no visible child explicit.
4972 2006-09-19 Ryan Lortie <desrt@desrt.ca>
4974 * docs/reference/gdk/gdk-sections.txt:
4977 * gdk/gdkpango.c: Bug 355343. Add a GdkPangoAttrEmbossColor.
4978 (gdk_pango_layout_get_clip_region): Remove an unused variable.
4979 (gdk_pango_attr_embossed_new): Fix documentation.
4981 Tue Sep 19 17:00:04 2006 Tim Janik <timj@imendio.com>
4983 * gtk/gtkarrow.c: added GtkArrow::arrow-scaling style property to
4984 control the arrow/border ratio within the allocation.
4986 * tests/testgtk.c: added a GtkArrow to handle box test.
4988 * tests/testgtkrc: test ::arrow-scaling property.
4990 2006-09-19 Matthias Clasen <mclasen@redhat.com>
4992 * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
4993 Display an error when we come to the root.
4995 2006-09-16 Matthias Clasen <mclasen@redhat.com>
4997 * gtk/gtkfilechooserbutton.c: Use bookmark labels in
5000 * gtk/gtkfilechooserbutton.c: Don't add remote volumes and
5001 bookmarks to the model in local-only mode, to avoid
5002 authentication dialogs pop up for invisible bookmarks, and
5003 to fix issues with separators not being hidden when
5004 they should. (#354887, Dennis Cranston)
5006 2006-09-16 Matthias Clasen <mclasen@redhat.com>
5008 * gtk/gtkcombobox.c (gtk_combo_box_finalize): Unref the
5009 treeview use in list mode. (#355732, Richard Hult)
5011 * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): Send
5012 change notification for the right property. (#355308,
5015 2006-09-15 Michael Natterer <mitch@imendio.com>
5017 * gtk/gtktreeview.c (gtk_tree_view_key_press): refactored column
5018 header navigation/resizing/reordering to be more readable and lose
5019 one level of nesting.
5021 2006-09-15 Kristian Rietveld <kris@imendio.com>
5023 * gtk/gtktreeview.c (gtk_tree_view_key_press): actually directly
5024 return after handling column button focus; we disable wrap around
5025 with this (which actually happened via a really weird code path).
5028 2006-09-15 Kristian Rietveld <kris@imendio.com>
5030 * gtk/gtktreeview.c (gtk_tree_view_key_press): make column resizing
5031 code RTL aware, also break from the loops after we have seen the
5032 focussed column button (Michael Natterer).
5034 Thu Sep 14 12:28:51 2006 Tim Janik <timj@imendio.com>
5036 * tests/testrichtext.c (main): intialize random number generator state
5037 upon program start, to enable truely random testing.
5039 2006-09-13 Michael Emmel <mike.emmel@gmail.com>
5041 * gdk/directfb/gdkcolor-directfb.c small clean ups include order
5042 * gdk/directfb/gdkwindow-directfb.c fixed beep compile error
5043 * gdk/directfb/Makefile.am removed GDK_PIXBUF_DISABLE_DEPRECATED
5044 GDK_DISABLE_DEPRECATED to allow compile per Behdad
5045 * gdk/quartz/Makefile.am same change as directfb Makefile
5046 * gtk/Makefile.am fixed typo that cause socket stubs not to compile
5048 2006-09-13 Matthias Clasen <mclasen@redhat.com>
5050 * gtk/gtkcolorsel.c: Use a GtkWindow instead of a GtkInvisible
5051 for the grab widget, to make the color picker work with window
5054 2006-09-12 Hong Jen Yee <pcman.tw@gmail.com>
5056 signed off by: Dom Lachowicz
5058 * modules/engines/ms-windows/msw_style.c: Bug 340201. This contains
5059 a large number of improvements to the Microsoft Windows theme engine
5060 which are fully described in the bug report.
5062 Mon Sep 11 14:22:39 2006 Tim Janik <timj@imendio.com>
5064 * tests/testgtk.c: fixed compiler warnings.
5066 2006-09-10 Matthias Clasen <mclasen@redhat.com>
5068 * gtk/gtkfilechooserbutton.c (model_add_special): Request
5069 the display name too, otherwise "Desktop" does not appear
5070 in the file chooser button.
5072 2006-09-10 Tor Lillqvist <tml@novell.com>
5074 * gdk/win32/gdkprivate-win32.h
5075 * gdk/win32/gdkmain-win32.c
5076 * gdk/win32/gdkwindow-win32.c: Define WINVER and _WIN32_WINNT as
5077 0x0500 in gdkprivate-win32.h instead of doing it in two source
5078 files. (#355212, Mike Edenfield)
5080 * gdk/win32/gdkwindow-win32.c: We can also remove the ersatz
5081 GetAncestor() for the _MSC_VER && WINVER < 0x0500 case, I hope.
5083 2006-09-10 Matthias Clasen <mclasen@redhat.com>
5085 * Commit a patch by Behdad to fix typos, omissions and other
5086 errors in the symbol aliasing, and add checks for local PLT
5087 entries. (#354687, Behdad Esfahbod)
5089 * gtk/gtktreeview.c (gtk_tree_view_search_scroll_event): Renew
5090 the flush timeout. (#354043, Nelson Benitez)
5092 * gtk/gtkfilechoosersettings.c (set_unexpected_element_end_error):
5093 Improve wording. String change! (#355126, David Lodge)
5095 * gtk/updateiconcache.c: Improve wording. String change! (#355128,
5098 * gtk/paper_names_offsets.c: Fix a typo. String change! (#355134,
5101 2006-09-09 Matthias Clasen <mclasen@redhat.com>
5103 * gdk/x11/gdkfonts-x11.c: Fix small theoretical memory leaks.
5104 (#353916, Chris Wilson)
5106 * gtk/gtksettings.c (_gtk_settings_reset_rc_values):
5107 Don't leak the to_reset list. (#353914, Chris Wilson)
5109 * gtk/gtkwidget.c: Add docs for the parent-set signal.
5110 (#353772, Mariano Suárez-Alvarez)
5112 2006-09-08 Matthias Clasen <mclasen@redhat.com>
5114 * gtk/gtktextbuffer.c (remove_all_selection_clipboards):
5115 Don't clear clipboards here, since we are called from finalize
5116 and can't emit signals.
5118 * configure.in: Set version to 2.11.0
5120 2006-09-06 Richard Hult <richard@imendio.com>
5122 * gdk/quartz/gdkkeys-quartz.c: (maybe_update_keymap): Special-case
5123 shift-tab and map it to GDK_ISO_Left_Tab, fixes bug #350806.
5125 2006-09-04 Kristian Rietveld <kris@imendio.com>
5127 * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
5128 if setting the given folder failed, try setting the parent folder
5129 until we succeed; display an error box at the end.
5131 2006-09-04 Kristian Rietveld <kris@imendio.com>
5133 * gtk/gtkpathbar.c (gtk_path_bar_dispose): don't cancel the
5134 operations spawned by buttons here,
5135 (set_button_image_get_info_cb): bail out if button is NULL, but
5136 do free button_data,
5137 (button_data_free): only free the data if non NULL (since this
5138 function can be called multiple times for the same data), cancel
5139 handle if pending but don't free button_data in this case (will
5140 happen in the callback).
5142 2006-09-04 Michael Natterer <mitch@imendio.com>
5144 * gtk/gtkrc.c (rc_parse_token_or_compound)
5145 (gtk_rc_parse_assignment): serialize floating point values using
5146 locale-independent functions. (#346751, Frederic Crozat)
5148 2006-09-04 Tor Lillqvist <tml@novell.com>
5150 * gdk/win32/gdkevents-win32.c
5151 * gdk/win32/gdkwindow-win32.c: Use wide-char API for message and
5152 window handling (PeekMessage, PostMessage, SendMessage,
5153 DispatchMessage, DefWindowProc, RegisterClassEx,
5154 CreateWindowEx). (#321597)
5156 2006-09-03 Kristian Rietveld <kris@imendio.com>
5158 * gtk/gtkfilechooserdefault.c (save_entry_get_info_cb),
5159 (file_exists_get_info_cb), (gtk_file_chooser_default_should_respond):
5160 change file_exists_and_is_not_folder checks to get the file info
5161 for the path directly instead of querying the current file folder
5164 * gtk/gtkfilechooserprivate.h (struct _GtkFileChooserDefault): add
5167 * tests/autotestfilechooser.c (wait_for_idle_idle), (wait_for_idle),
5168 (test_reload_sequence), (test_button_folder_states_for_action): wait
5169 for idle after setting a folder to ensure the async operations to load
5170 the folder are finished,
5171 (test_confirm_overwrite), (test_confirm_overwrite_for_path):
5172 factor out test_confirm_overwrite code so we can add tests for more
5175 2006-09-03 Richard Hult <richard@imendio.com>
5177 * gdk/quartz/GdkQuartzView.c (drawRect): Don't do anything if
5178 exposure isn't in the event mask, plug a leak, and check that the
5179 window isn't destroyed.
5180 (isOpaque): Check that the window isn't destroyed, fixes bug
5183 2006-09-03 Matthias Clasen <mclasen@redhat.com>
5185 * gtk/gtkwidget.c (gtk_widget_class_init): Fix a typo.
5186 (#354035, Mariano Suárez-Alvarez)
5188 * gtk/gtkmain.c (post_parse_hook):
5189 * gdk/gdk.c (gdk_init): Handle display_name being NULL.
5190 (#354004, Chris Wilson)
5192 2006-09-03 Tor Lillqvist <tml@novell.com>
5194 * gdk/win32/gdkwindow-win32.c (gdk_window_beep): No
5195 GDK_WINDOW_DISPLAY in the Win32 backend.
5197 * gtk/gtkfilesystemwin32.c: Copy what Kris did to
5200 2006-09-02 Kristian Rietveld <kris@imendio.com>
5202 First part of file chooser fixes.
5204 * gtk/gtkfilechooserbutton.c (model_add_special): also set the
5205 handle in the model for the desktopdir case.
5207 * gtk/gtkfilechooserdefault.c (shortcuts_add_current_folder): free
5208 volume in case we retrieved it but don't pass it on to insert_path,
5209 (shortcuts_model_create): change the column type for the handles
5210 to pointer instead of GObject so our handle ref counting is not
5212 (show_and_select_paths_finished_loading): don't forget to unref
5215 * gtk/gtkfilesystemunix.c (gtk_file_system_unix_class_init),
5216 (gtk_file_system_unix_init), (gtk_file_system_unix_dispose):
5217 remove pending execute_callbacks_idle during dispose, also
5218 execute all callbacks waiting to be run in the next idle,
5219 (queue_*callback), (execute_callbacks_idle): refactor to maintain
5220 a list of callbacks to call per file system instead of globally,
5221 guard the file system during callback invocation,
5222 (gtk_file_system_unix_get_folder): only add load folder idle if
5223 none has been added yet.
5225 2006-09-01 Matthias Clasen <mclasen@redhat.com>
5227 * gtk/gtkentry.c: Don't unnecessarily reset the im context
5228 when deleting the selection. (#353803, Alex Larsson)
5230 2006-09-01 Abel Cheung <abel@oaka.org>
5232 * configure.in: Added 'ang' 'dz' to ALL_LINGUAS.
5234 2006-08-31 Matthias Clasen <mclasen@redhat.com>
5236 Stop cursor blinking after a configurable timeout.
5237 (#353670, #352442, Arjan van de Ven, Manu Cornet)
5239 * gtk/gtksettings.c (gtk_settings_class_init): Add a
5240 gtk-cursor-blink-timeout setting, which specifies the number
5241 of seconds that the cursor should blink after a user interaction.
5242 The default value is G_MAXINT to preserve the current behaviour.
5244 * gtk/gtkentry.c (blink_cb): Stop blinking after blink-timeout
5247 * gtk/gtkentry.c (gtk_entry_completion_key_press)
5248 (gtk_entry_button_press, gtk_entry_focus_in): Reset the
5251 * gtk/gtktextview.c (blink_cb): Stop blinking after blink-timeout
5254 * gtk/gtktextview.c (gtk_text_view_key_press_event)
5255 (gtk_text_view_button_press_event, gtk_text_view_focus_in_event):
5256 Reset the blink timer.
5258 2006-08-31 Matthias Clasen <mclasen@redhat.com>
5260 * gtk/gtkprintoperation-unix.c (get_print_dialog): Don't specify
5261 explicit format capabilities. (#346505, Christian Persch)
5263 * modules/printbackends/cups/gtkprintbackendcups.c (cups_request_printer_list_cb): Send printer-list-done on error.
5265 2006-08-31 Michael Natterer <mitch@imendio.com>
5267 * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Fix build.
5269 2006-08-30 Richard Hult <richard@imendio.com>
5271 * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep): Fix build.
5273 2006-08-30 Matthias Clasen <mclasen@redhat.com>
5275 * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Only use XKB
5276 for beeping if we are using XKB.
5278 2006-08-29 Matthias Clasen <mclasen@redhat.com>
5282 * gdk/directfb/gdkwindow-directfb.c (gdk_window_beep):
5283 * gdk/win32/gdkwindow-win32.c (gdk_window_beep):
5284 * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep):
5285 * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Add a function
5286 to beep on a window. For X11, implement this with
5287 XkbBell. (#353455, Mariano Suárez-Alvarez)
5289 2006-08-29 Tor Lillqvist <tml@novell.com>
5291 Remove support for Windows 9x/ME. GTK+ hasn't worked on Win9x
5292 since 2.6 or 2.8. It's pointless to keep the Win9x code in here as
5293 it isn't being maintained anyway. If somebody is interested, it
5294 can always be found in older GTK+ versions, and in CVS.
5299 * gdk/win32/Makefile.am
5300 * gdk/win32/libie55uid.la
5301 * gdk/win32/gdkevents-win32.c: Remove the --with-ie55 configure
5302 switch and associated stuff. Active IMM and the <dimm.h> header
5303 was used for IM support on NT4 and Win9x. Win2k and later have IM
5306 * gdk/win32/gdkcursor-win32.c
5307 * gdk/win32/gdkdnd-win32.c
5308 * gdk/win32/gdkdrawable-win32.c
5309 * gdk/win32/gdkevents-win32.c
5310 * gdk/win32/gdkgc-win32.c
5311 * gdk/win32/gdkglobals-win32.c
5312 * gdk/win32/gdkkeys-win32.c
5313 * gdk/win32/gdkmain-win32.c
5314 * gdk/win32/gdkproperty-win32.c
5315 * gdk/win32/gdkselection-win32.c
5316 * gdk/win32/gdkwindow-win32.c: Remove the G_WIN32_IS_NT_BASED()
5317 and G_WIN32_HAVE_WIDECHAR_API() tests and their false (Win9x)
5318 branches, and any variables or static functions used only by the
5321 * gdk/win32/gdkprivate-win32.h: Remove backup definitions for
5322 constants that aren't missing from current mingw and MSVC6
5325 * gdk/win32/gdkmain-win32.c
5326 * gdk/win32/gdkprivate-win32.h: Remove the _gdk_win32_gdi_failed()
5327 function. On NT-based Windows GetLastError() returns error codes
5328 also for failed GDI calls, so we can use _gdk_win32_api_failed()
5331 2006-08-29 Emmanuele Bassi <ebassi@gnome.org>
5333 * gtk/gtkrecentchoosermenu.c
5334 (gtk_recent_chooser_menu_set_current_uri): Break when an item
5335 is found and activated. (#353449, based on a patch by Jan Arne
5338 Fri Jul 14 16:13:37 2006 Tim Janik <timj@gtk.org>
5340 * gtk/gtkprogressbar.c: introduced ::xspacing and ::yspacing style
5341 properties which make all hardcoded padding and spacing values
5342 configurable. properly swap ::text-xalign treatment for RTL widgets.
5344 * gtk/gtkprogress.c: fixed style property blurbs. made alignment
5345 proeprty more consistent with GtkMisc alignment blurbs. mention
5346 RTL treatment for text-xalign.
5348 Tue Aug 29 11:57:40 2006 Tim Janik <timj@imendio.com>
5350 * tests/testgtk.c: allow (most) windows to be resizable.
5351 added ellipsization settings to progress bars.
5353 2006-08-28 Matthias Clasen <mclasen@redhat.com>
5355 * modules/printbackend/cups/gtkprintbackendcups.c: Use a
5356 resonable timeout of 3 seconds when polling for printer
5357 list updates, instead of 300000 seconds...
5359 2006-08-28 Michael Natterer <mitch@imendio.com>
5361 * gtk/gtktextbufferserialize.c (serialize_text): don't write out
5362 </apply_tag> for tags that have already been closed by the logic
5363 which turns overlapping spans into XML-able trees. Fixes broken
5364 XML when there are overlapping tags in the buffer. Also free two
5365 leaked GLists and did some cleanup.
5368 * tests/testrichtext.c: new test which creates randomly tagged
5369 GtkTextBuffers and serializes/deserializes them.
5371 2006-08-26 Matthias Clasen <mclasen@redhat.com>
5373 * gtk/gtkstatusicon.c (gtk_status_icon_reset_image_data):
5374 Don't leak pixbufs. (#352264, Ross Burton)
5376 * gtk/gtklinkbutton.c (set_link_underline): Don't leak
5377 PangoAttributes. (#352391, Paolo Borelli)
5379 2006-08-25 Matthias Clasen <mclasen@redhat.com>
5381 * demos/gtk-demo/Makefile.am:
5382 * demos/gtk-demo/textscroll.c: Add an example of automatic
5383 scrolling, thanks to Yevgen Muntyan. (#351206)
5385 * gtk/gtkmodules.c (find_module): Use local binding when
5386 loading modules. (#351868)
5388 2006-08-24 Michael Natterer <mitch@imendio.com>
5390 * gdk/quartz/gdkdisplay-quartz.c (gdk_display_get_name): return
5391 the hostname instead of NULL.
5393 2006-08-23 Matthias Clasen <mclasen@redhat.com>
5395 * gtk/gtkprinteroptionwidget.[hc]: Fix confusion about
5396 names and values in comboboxes, and clean up some
5397 coding style issues.
5399 2006-08-23 Tor Lillqvist <tml@novell.com>
5401 * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_make_path):
5402 Revert unintended translatable string addition. Use same string
5403 in GError as in gtkfilesystemunix.c.
5405 * gtk/gtkfilesystemwin32.c (_gtk_file_system_win32_path_compare):
5406 Fix logic at the end of strings.
5408 * gtk/gtkfilesystemwin32.c: Maintain a hash table of live
5409 handles and check that we have no outstanding handles at
5410 finalization time. (Copying what Matthias did for
5411 gtkfilesystemunix.c)
5413 2006-08-23 Matthias Clasen <mclasen@redhat.com>
5415 * gtk/gtkfilesystemunix.c: Maintain a hash table
5416 of live handles and check that we have no outstanding
5417 handles at finalization time. (Copying what
5418 Federico did for gtkfilesystemgnomevfs.c)
5420 2007-08-22 Matthias Clasen <mclasen@redhat.com>