1 2007-05-26 Richard Hult <richard@imendio.com>
3 * gtk/gtkprinter.c: (gtk_printer_set_location): Fix typo to get the
6 2007-05-26 Matthias Clasen <mclasen@redhat.com>
8 * configure.in: Require gtk-doc 1.6, for signal and property links.
18 * gtk/gtkwidget.c: Documentation improvements, link signals
19 and properties where it makes sense.
21 2007-05-25 Matthias Clasen <mclasen@redhat.com>
24 * gtk/gtktextbuffer.c: Formatting fixes.
26 2007-05-25 Matthias Clasen <mclasen@redhat.com>
28 Allow to separate GtkTextMark creation from buffer insertion.
29 (#132818, Gustavo Giráldez, patch by Yevgen Muntyan)
31 * gtk/gtktextmarkprivate.h:
32 * gtk/gtktextmark.[hc] (gtk_text_mark_new): New function to
35 * gtk/gtktextbuffer.[hc] (gtk_text_buffer_add_mark): New
36 function to add an existing mark to a buffer.
38 * gtk/gtktextbtree.c: Allow adding existing marks.
40 * gtk/gtk.symbols: Add new functions.
42 * tests/testtextbuffer.c: Add some tests for new mark
45 2007-05-25 Xan Lopez <xan@gnome.org>
47 * gtk/gtkaction.c: (gtk_action_set_short_label):
48 Use private->data->short_label to update the proxies. (#440780)
50 2007-05-25 Richard Hult <richard@imendio.com>
52 * gdk/quartz/gdkimage-quartz.c: (_gdk_quartz_image_copy_to_image):
53 Implement copying from a window, part of bug #348493.
55 2007-05-25 Matthias Clasen <mclasen@redhat.com>
57 * gtk/gtkprintoperation-unix.c (unix_end_run): Hold a
58 refence on the print operation until gtk_print_job_send()
59 is done. (#440040, Chris Vine)
61 2007-05-25 Matthias Clasen <mclasen@redhat.com>
63 * gtk/gtkiconview.c (gtk_icon_view_accessible_ref_child):
64 Don't crash and don't leak. (#439565, Pedro Villavicencio)
66 2007-05-25 Matthias Clasen <mclasen@redhat.com>
68 * gtk/gtkiconfactory.c: Improve a warning
69 * gtk/gtkicontheme.c (gtk_icon_info_load_icon): Always
70 set the error when returning NULL. (#440982, Carlos Garcia
73 2007-05-25 Michael Natterer <mitch@imendio.com>
75 Merge fix from maemo-gtk:
77 * gtk/gtkmenushell.c (gtk_menu_shell_enter_notify): open submenus
78 also if the menu item we're entering is already selected. Also, it
79 makes no sense to forward the event to the parent menu shell if we
80 are entering a menu item of *this* menu shell.
82 2007-05-24 Matthias Clasen <mclasen@redhat.com>
84 * gtk/stock-icons/*: Make sure all svg icons are added
87 2007-05-24 Matthias Clasen <mclasen@redhat.com>
89 * modules/input/Makefile.am: Fix broken DESTDIR support
91 2007-05-24 Michael Natterer <mitch@imendio.com>
93 * gtk/gtktooltip.c (find_widget_under_pointer): apply patch from
94 Bogdan Nicula which fixes a crash on GdkWindows which have no
95 GtkWidget as user_data (bug #440890).
97 2007-05-24 Matthias Clasen <mclasen@redhat.com>
99 * configure.in: Bump version
101 * === Released 2.11.0 ===
105 2007-05-23 Matthias Clasen <mclasen@redhat.com>
108 * gdk/x11/xsettings-common.h:
109 * gdk/gdk.symbols: Add some missing symbols.
111 * gtk/paper_names_offsets.c:
112 * gtk/gen-paper-names.c: Make variables static.
114 * gtk/gtktooltip.[hc]:
115 * gtk/gtkvolumebutton.c:
116 * gtk/gtkscalebutton.c: Fix up symbol aliasing.
118 2007-05-23 Yevgen Muntyan <muntyan@tamu.edu>
120 * gtk/gtkprintunixdialog.c: missing #include <ctype.h>.
122 * gtk/gtkhandlebox.c (gtk_handle_box_paint):
123 * gtk/gtkpagesetupunixdialog.c (_gtk_load_custom_papers):
124 * gtk/gtkstatusbar.c (gtk_statusbar_get_context_id):
125 * gtk/gtkiconcache.c (_gtk_icon_cache_new_for_path):
126 * gtk/gtktrayicon-x11.c (gtk_tray_icon_send_dock_request):
127 * gtk/gtkpreview.c (gtk_preview_finalize):
128 * gtk/gtknotebook.c (gtk_notebook_set_group_id):
129 * tests/testnotebookdnd.c (window_creation_function):
130 * tests/testiconview.c (do_popup_menu):
131 Fixed some compiler warnings (#440689).
133 2007-05-23 Kristian Rietveld <kris@imendio.com>
135 * gtk/gtktooltip.c (find_widget_under_pointer): translate coordinates
136 from the window they were received on to the event widget's window;
137 correct for no-window widgets after that, bail out on failure. This
138 makes the coordinates given by GtkWidget::query-tooltip truly relative
139 to widget->window. (#435188).
141 * gtk/gtkwidget.c (gtk_widget_class_init): update docs for
142 GtkWidget::query-tooltip.
144 2007-05-22 Behdad Esfahbod <behdad@gnome.org>
146 * gtk/gtkprintcontext.c (gtk_print_context_finalize),
147 (_gtk_print_context_new), (_gtk_print_context_get_fontmap),
148 (gtk_print_context_set_cairo_context),
149 (gtk_print_context_get_pango_fontmap),
150 (gtk_print_context_create_pango_context):
151 Don't create new pango fontmaps. Use the default pangocairo
152 fontmap and set resolution on PangoContext instead. (#417707)
154 2007-05-21 Richard Hult <richard@imendio.com>
156 * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Set the
159 * gdk/quartz/gdkscreen-quartz.c: Use the autorelease pool macros.
161 2007-05-21 Michael Natterer <mitch@imendio.com>
163 * gtk/gtkcombobox.c (gtk_combo_box_set_model): revert last change.
165 Mon May 21 13:58:32 2007 Tim Janik <timj@imendio.com>
167 * gtk/gtkcombobox.c (gtk_combo_box_set_model): removed redundant check.
169 2007-05-21 Tor Lillqvist <tml@novell.com>
171 * gtk/gtkscalebutton.c (gtk_scale_popup): Make it work better with
174 2007-05-20 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
176 * gdk/directfb/gdkwindow-directfb.c:
177 * gdk/directfb/gdkdirectfb.h: Updated minimum DirectFB version
178 required to enable gdk_directfb_create_child_window.
181 2007-05-20 Bastien Nocera <hadess@hadess.net>
186 * gtk/gtkvolumebutton.[ch]: Add the GtkVolumeButton widget,
187 a button that pops up a scale when clicked (Closes: #415775)
189 * tests/testvolumebutton.c: Add a test program for the
192 2007-05-19 Bastien Nocera <hadess@hadess.net>
194 reviewed by: Matthias Clasen <mclasen@redhat.com>
199 * gtk/gtkscalebutton.[ch]: Add the GtkScaleButton widget,
200 a button that pops up a scale when pressed
202 2007-05-19 Matthias Clasen <mclasen@redhat.com>
205 * gtk/gtknotebook.[hc]: Deprecate gtk_notebook_[gs]et_group_id
206 in favour of new functions gtk_notebook_[gs]et_group, which
207 takes a pointer as group identifier and makes it easier to
208 avoid group id collisions. (#386930, Christian Hammond)
210 * tests/testnotebookdnd.c: Use new grouping api.
212 2007-05-18 Matthias Clasen <mclasen@redhat.com>
214 * gtk/gtkactiongroup.c: Warn and refuse to add actions with
215 duplicate names. (#150877, Tommi Komulainen, patch by Kalle
218 2007-05-18 Matthias Clasen <mclasen@redhat.com>
221 * gtk/gtkentry.[hc]: Add gtk_entry_[gs]et_cursor_hadjustment()
222 to allow automatic scrolling in response to cursor movements
223 in the entry. (#438651, Nate Nielsen)
225 2007-05-18 Matthias Clasen <mclasen@redhat.com>
227 * gtk/gtktextview.c: Add a toggle-cursor-visibility keybinding
228 signal, and bind F7 to it. (#380048, Tim Miao)
230 2007-05-18 Matthias Clasen <mclasen@redhat.com>
233 * gtk/gtkicontheme.h:
234 * gtk/gtkicontheme.c: Add a function to look up an icon from
235 a list of icon names. (#396901, Luca Ferretti)
237 2007-05-18 Emmanuele Bassi <ebassi@gnome.org>
239 * gtk/gtkrecentchooserdefault.c:
240 (gtk_recent_chooser_default_dispose): Reset the state on dispose.
242 (cleanup_after_load): load_id != 0 && load_state == LOAD_EMPTY
243 is a valid state, if the main loop never had the chance to
244 properly spin at least once. (#438671)
246 2007-05-18 Emmanuele Bassi <ebassi@gnome.org>
248 * gtk/gtkrecentchooserdefault.c (recent_meta_data_func): Mark
249 string for translation. (#439437)
251 2007-05-18 Matthias Clasen <mclasen@redhat.com>
253 * gtk/gtkwindow.c (gtk_window_set_transient_for): Fix
254 doc typo. (#438100, Vincent Untz)
256 2007-05-18 Michael J. Chudobiak <mjc@cvs.gnome.org>
260 * configure.in: Bump libtiff requirement to 3.6.0, by requiring
261 presence of TIFFReadRGBAImageOriented.
263 * gdk-pixbuf-scaled-anim.c: (get_scaled_pixbuf):
264 Preserve pixbuf options when generating a new scaled pixbuf.
266 * io-jpeg.c: (get_orientation), (gdk_pixbuf__jpeg_image_load),
267 (gdk_pixbuf__jpeg_image_load_increment): Read the exif
268 orientation tag and associate it with the "orientation" pixbuf
269 option. Renders libexif unnecessary in some applications.
271 * io-tiff.c: (tiff_image_parse): Read the tiff orientation tag,
272 compensate for the partial rotations performed by libtiff,
273 and generate an "orientation" option for the pixbuf.
275 2007-05-18 Carlos Garnacho <carlos@imendio.com>
277 * gtk/gtkexpander.c: remove c++ style comment.
279 2007-05-18 Carlos Garnacho <carlos@imendio.com>
281 Make combobox menu popdown keybindable (#433593)
283 * gtk/gtkcombobox.c (gtk_combo_box_class_init): Add "popdown" binding
284 signal and keybindings.
285 (gtk_combo_box_real_popdown): Added, "popdown" keybinding signal
287 (gtk_combo_box_menu_key_press):
288 (gtk_combo_box_list_key_press): forward the event to the combobox if
289 it wasn't handled by the menu.
291 2007-05-18 Carlos Garnacho <carlos@imendio.com>
293 * gtk/gtknotebook.c (gtk_notebook_init) (gtk_notebook_drag_motion)
294 (gtk_notebook_drag_drop): Allow widgets up in the hierarchy to run
295 their DnD handlers if the target doesn't match with anything the
296 notebook manages. (#350665, Joakim Lundborg).
298 2007-05-18 Carlos Garnacho <carlos@imendio.com>
300 Refactor GtkFileChooserDialog sizing.
302 * gtkfilechooserembed.[ch] (delegate_get_resizable_hints)
303 (_gtk_file_chooser_embed_get_resizable_hints):
304 s/resizable_hints/resizable/, return just one boolean value to
305 determine whether the filechooser should be resizable or not.
307 * gtkfilechooserprivate.h (struct GtkFileChooserDialogPrivate): remove
308 variables related to the GtkFileChooserEmbed get_default_size() and
309 get_resizable() implementations.
310 (struct GtkFileChooserDefault): Move default size management here.
312 * gtkfilechooserdefault.c (gtk_file_chooser_default_size_allocate):
313 Added, store currently allocated size to calculate default size later.
314 (gtk_file_chooser_default_get_resizable_hints):
315 s/resizable_hints/resizable/.
316 (gtk_file_chooser_default_set_property): Reload settings if the file
317 chooser action changes, this way the save expander state will be known
318 before mapping the window, avoiding wrong window positioning and
319 flickering. (#424299, #424309)
320 (find_good_size_from_style): Only get size from style if it wasn't set
322 (gtk_file_chooser_default_get_default_size): return default size based
323 on stored default size and preview/extra widget sizes.
325 * gtkfilechooserdialog.c (file_chooser_widget_update_hints)
326 (file_chooser_widget_realized_size_changed)
327 (file_chooser_widget_unrealized_size_changed): simplified to
328 (file_chooser_widget_size_changed): set window size and resizability
329 based on the GtkFileChooserEmbed interface implementation. (Bug
330 #420285, Tomeu Vizoso)
331 (gtk_file_chooser_dialog_map): force a dialog size change, so it's
332 clamped for sure to the 75% of the screen size.
334 2007-05-18 Carlos Garnacho <carlos@imendio.com>
336 * gtk/gtknotebook.c (gtk_notebook_real_insert_page): Do not unset
337 the brand new current page if there was none set previously. Fixes
338 #425138 (Reported by Michail Crayson). Some code simplifications.
339 (gtk_notebook_draw_arrow): code style fix.
341 2007-05-16 Matthias Clasen <mclasen@redhat.com>
343 * gtk/gtkpathbar.c: Add ATK names to the Up, Down, and Root
344 buttons. Keep the focus from vanishing when Up or Down arrows
345 become insensitive or invisible. (#357005, Patrick Wade)
347 2007-05-16 Brian Cameron <brian.cameron@sun.com>
349 * acconfig.h, configure.in, gdk/Makefile.am, gdkprivate.h, gdkrgb.c,
350 gdkdraw.c, gdk-pixbuf/gdk-pixbuf-scale.c,
351 gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/pixops/pixops.[ch],
352 gdk-pixbuf/pixops/timescale.c: Add Sun mediaLib support so that
353 hardware acceleration via mediaLib is enabled if mediaLib is
354 detected via configure. Enhancement request #344813. I was given
355 permission to commit in the bug report by Matthias Clasen.
356 * gdk/medialib.[ch]: New files added for mediaLib support.
357 * docs/reference/gdk-pixbuf/tmpl/scaling.sgml,
358 docs/reference/gdk/tmpl/rgb.sgml, gdk/gdkdraw.c: Add docs for
361 2007-05-15 Torsten Schoenfeld <kaffeetisch@gmx.de>
363 * gtk/gtkprintoperation.c (pdf_end_run): Unset priv->platform_data and
364 priv->free_platform_data to prevent gtk_print_operation_finalize()
365 from freeing the cairo surface a second time.
367 2007-05-14 Kristian Rietveld <kris@gtk.org>
369 * gtk/gtkfilechooserdefault.c (recent_column_path_sort_func): remove
370 dangling semicolon, fixes the segfault ebassi was seeing earlier today
373 2007-05-14 Tristan Van Berkom <tvb@gnome.org>
375 * gtk/gtkaboutdialog.c: Functions: gtk_about_dialog_get/set_name()
376 were deprecated in favour of gtk_about_dialog_get/set_program_name(),
377 the GtkAboutDialog now uses the "program-name" property instead of
378 the conflicting "name" property (fixes bug 345822).
380 2007-05-14 Emmanuele Bassi <ebassi@gnome.org>
382 * configure.in: Add check for GNU extensions to ftw()/nftw().
384 * gtk/gtksearchenginesimple.c: Fix compilation on systems with
385 only POSIX-compliant ftw(). (#435797, based on a patch by
388 2007-05-14 Emmanuele Bassi <ebassi@gnome.org>
390 * gtk/gtkfilechooserdefault.c:
391 Convert the GtkTreeIter inside the sorting functions for the
392 search and recent modes. This doesn't yet fix the segfault when
393 clicking the 'Name' column in recent mode, though.
395 2007-05-14 Behdad Esfahbod <behdad@gnome.org>
397 * modules/input/gtkimcontextthai.c
398 (gtk_im_context_thai_filter_keypress):
399 Fix check for modifier keys. (#438261, Theppitak Karoonboonyanan)
401 2007-05-14 Matthias Clasen <mclasen@redhat.com>
403 * gtk/gtkscrolledwindow.c: Document scrollbars-within-bevel
404 as 2.12 addition. (#438131, Mart Raudsepp)
406 2007-05-14 Matthias Clasen <mclasen@redhat.com>
408 * gtk/gtkvseparator.c (gtk_vseparator_size_request): Fix
409 size requisition for wide vertical separators. (#438113,
412 2007-05-13 Emmanuele Bassi <ebassi@gnome.org>
414 * gtk/gtksearchenginesimple.c: Include <ftw.h> and use nftw() and
415 all the symbols defined in <ftw.h> conditionally.
417 2007-05-13 Cody Russell <bratsche@gnome.org>
419 * gdk/win32/gdkevents-win32.c: Only do the configure event context
420 iteration under WM_WINDOWPOSCHANGED instead of inside
421 handle_configure_event(). This fixes a bug that prevented window
422 contents from being redrawn after gtk_window_resize(). (#436721)
424 2007-05-12 Behdad Esfahbod <behdad@gnome.org>
426 * gdk/gdkdraw.c (gdk_draw_trapezoids): Fix wrong cairo path
427 generation. (#437879, Eddie C. Dost)
429 2007-05-11 Emmanuele Bassi <ebassi@gnome.org>
431 GtkFileChooser search fixes and recent files support. (#435342)
433 * gtk/gtkfilechooserdefault.c: Support drag and drop for
434 adding shortcuts of folders when in search or recent files
437 2007-05-11 Emmanuele Bassi <ebassi@gnome.org>
439 GtkFileChooser search fixes and recent files support. (#435342)
441 * gtk/gtkfilechooserprivate.h:
442 * gtk/gtkfilechooserdefault.c: Follow the sorting order of
443 the GtkTreeView displaying the files list.
445 (shortcuts_get_index), (shortcuts_insert_separator),
446 (shortcuts_model_create), (shortcuts_combo_filter_func): Remove
447 the separator between the Search and the Recently Used shortcuts.
449 (list_select_func), (list_icon_data_func), (list_name_data_func),
450 (list_mtime_data_func): Update the sensitivity of the row
451 depending on the GtkFileChooserAction used.
453 2007-05-11 Emmanuele Bassi <ebassi@gnome.org>
455 GtkFileChooser search fixes and recent files support. (#435342)
457 * gtk/gtkfilechooserprivate.h:
458 * gtk/gtkfilechooserdefault.c: Update the contents of the
459 files list when changing the filter of the GtkFileChooserDefault
462 2007-05-11 Emmanuele Bassi <ebassi@gnome.org>
464 GtkFileChooser search fixes and recent files support. (#435342)
466 * gtk/gtkfilechooserdefault.c: Update the add bookmark button
467 sensitivity when in search or recent files mode, and allow
468 adding a bookmark for a folder.
470 2007-05-11 Emmanuele Bassi <ebassi@gnome.org>
472 GtkFileChooser search fixes and recent files support. (#435342)
474 * gtk/gtkfilechooserdefault.c: UI fixes in the Search mode: add
475 a mnemonic to the label, de-boldify the label's text and assign
476 focus to the search entry when switching to the search mode.
478 (list_name_data_func): Split the text in both search and recent
479 files mode: on the first line use the short name and on the
480 second line use the full path.
482 2007-05-11 Emmanuele Bassi <ebassi@gnome.org>
484 GtkFileChooser search fixes and recent files support. (#435342)
486 * gtk/gtkfilechooserprivate.h:
487 * gtk/gtkfilechooserdefault.c: Add support for showing the
488 recently used files list as a special shortcut item.
490 2007-05-11 Emmanuele Bassi <ebassi@gnome.org>
492 GtkFileChooser search fixes and recent files support. (#435342)
494 * gtk/gtkfilechooserdefault.c: Overall whitespace fixes and
495 indentation style consistency.
497 (list_row_activated): If the search hit is a folder, follow it
498 when activating the row, and switch back to browse mode.
500 (search_clear_model), (search_start_query),
501 (search_entry_activate_cb), (search_setup_widgets): Remember
502 the last query when switching between modes.
504 2007-05-11 Emmanuele Bassi <ebassi@gnome.org>
506 GtkFileChooser search fixes and recent files support. (#435342)
508 * gtk/gtkfilechooserdefault.c:
509 (_gtk_file_chooser_default_class_init): Add key binding for
510 the Search shortcut; default to MOD1+S.
512 (search_shortcut_handler): Handle the key binding.
514 (search_hit_get_info_cb), (search_add_hit), (search_clear_model),
515 (search_setup_model): Retrieve informations on the search hits
516 when adding them to the model.
518 (list_icon_data_func): Show the search hit icon.
520 2007-05-11 Michael Natterer <mitch@imendio.com>
522 * gtk/gtktextview.c (selection_motion_event_handler): call
523 gdk_event_request_motions(event) so selecting works with
524 XInput devices too. Spotted by Tommi Komulainen.
526 2007-05-11 Emmanuele Bassi <ebassi@gnome.org>
528 * gtk/gtksearchengine.c (_gtk_search_engine_new): Fall back
529 to GtkSearchEngineSimple only if gthread has already been
530 initialiased; otherwise, disable search support in the file
531 chooser widget. (#435847)
533 2007-05-10 Matthias Clasen <mclasen@redhat.com>
535 * gtk/gtkbutton.c (gtk_button_set_image): Unparent the old
536 image before overwriting priv->image. (#437281, Jochen Baier)
538 2007-05-10 Matthias Clasen <mclasen@redhat.com>
540 * gtk/gtkscrolledwindow.c (gtk_scrolled_window_scroll_child):
541 Correct a confusing warning. (#437284, Björn Lindqvist)
543 2007-05-10 Matthias Clasen <mclasen@redhat.com>
545 * gdk/gdkdraw.c (gdk_draw_pixbuf): Don't call into
546 the backend if the region is empty. (#437081, Sven Neumann)
548 2007-05-10 Matthias Clasen <mclasen@redhat.com>
550 * gtk/gtksearchenginesimple.c (search_visit_func);
551 Assume Posix nftw behaviour.
553 2007-05-09 Dom Lachowicz <domlachowicz@gmail.com>
555 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: GtkTreeView doesn't
556 expand/collapse with Right/Left cursor keys on Windows
557 (#436269, Daniel Atallah)
559 2007-05-09 Cody Russell <bratsche@gnome.org>
562 (get_arrows_border): New function to calculate the border sizes needed
563 for the scroll arrows.
564 (get_arrows_visible_area): New function to calculate the arrows visible
566 (get_arrows_sensitive_area): New function to calculate the arrows
568 (gtk_menu_paint): Refactored code to calculate the border sizes needed
569 for the scroll arrows into get_arrows_border and the code to calculate
570 the visible area into get_arrows_visible_area.
571 (gtk_menu_handle_scrolling): Refactored arrow sensitive calculations
572 to get_arrows_sensitive_area.
573 (gtk_menu_realize, gtk_menu_size_allocate, gtk_menu_scroll_by,
574 gtk_menu_position, gtk_menu_scroll_to, gtk_menu_scroll_item_visible,
575 get_visible_size, get_menu_height, gtk_menu_real_move_scroll): Update
576 callers. (From #436533, Tommi Komulainen)
578 2007-05-09 Kristian Rietveld <kris@imendio.com>
580 * gtk/gtktreeview.c (gtk_tree_view_key_press),
581 (gtk_tree_view_key_release):
582 * gtk/gtkiconview.c (gtk_icon_view_class_init),
583 (gtk_icon_view_key_press),
584 (gtk_icon_view_key_release): Disable key bindings during rubber
585 banding, make pressing Esc stop rubber banding. (#405027).
587 2007-05-09 Emmanuele Bassi <ebassi@gnome.org>
589 * gtk/gtkrecentmanager.c:
590 (gtk_recent_info_get_icon): Return GTK_STOCK_DIRECTORY for entries
591 with MIME type "x-directory/normal", instead of GTK_STOCK_FILE.
593 2007-05-05 Richard Hult <richard@imendio.com>
595 * gdk/quartz/gdkdrawable-quartz.c:
596 (gdk_quartz_drawable_get_context),
597 (gdk_quartz_drawable_release_context): Fix bugs #428733 and #433301.
598 Turns out the lockFocus logic was flawed, now we only lock/unlock
599 when called outside a real expose event and never flush manually.
601 2007-05-03 Behdad Esfahbod <behdad@gnome.org>
603 * gtk/gtklabel.c (gtk_label_ensure_layout):
604 * gtk/gtktextlayout.c (set_para_values): Make GTK_JUSTIFY_FILL work,
605 using pango_layout_set_justify() that works now. (#435675)
607 2007-05-03 Emmanuele Bassi <ebassi@gnome.org>
609 * gtk/gtksearchenginesimple.c (search_engine_simple_finalize): Remove
610 spurious g_free() call.
612 Thu May 3 16:27:34 2007 Tim Janik <timj@imendio.com>
614 * tests/testgtk.c (create_handle_box): made handle box test non-modal,
615 so other test can interact with handle boxes.
617 2007-05-02 Emmanuele Bassi <ebassi@gnome.org>
619 Add search file support in the GtkFileChooser. Original patch
620 by Federico Mena Quintero; patch updated by Matthias Clasen.
623 * gtk/gtksearchengine.[ch]: Private search engine abstraction
626 * gtk/gtksearchenginebeagle.[ch]: Private search engine
627 implementation using libbeagle (via g_module_open()).
629 * gtk/gtksearchenginesimple.[ch]: Private search engine
630 implementation using file tree walking.
632 * gtk/gtksearchenginetracker.[ch]: Private earch engine
633 implementation using libtracker (via g_module_open()).
635 * gtk/gtkquery.[ch]: Private query object for the search
638 * gtk/gtkfilechooserprivate.h:
639 * gtk/gtkfilechooserdefault.c: Use the GtkSearchEngine to
640 query a search engine backend using GtkQuery; create a new
641 operating mode, OPERATION_MODE_SEARCH, and call the common
642 operating mode OPERATION_MODE_BROWSE; add support for virtual
643 shortcuts inside the shortcuts model and create a new "Search"
646 * gtk/Makefile.am: Update the build with the new files
648 2007-05-02 Armin Burgmeier <armin@openismus.com>
650 * gtk/gtkcombobox.c: Destroy the menu in dispose instead of
651 finalize, because the menu might unparent itself from its parent and
652 cause a signal emission on a finalized object. (#430746)
654 2007-05-02 Dom Lachowicz <domlachowicz@gmail.com>
656 * modules/engines/ms-windows/msw_style.c: MS-Windows Theme top tabs
657 rendered upside down for non-XP theme (#435053, Daniel Atallah)
659 Wed May 2 11:35:45 2007 Tim Janik <timj@imendio.com>
661 * docs/faq/gtkfaq.sgml: removed, since this file is long outdated
662 and fully replaced by docs/faq/gtk-faq.sgml.
664 2007-05-02 Kristian Rietveld <kris@imendio.com>
666 * gtk/gtktreeview.c (gtk_tree_view_grab_notify): stop the rubber band
669 2007-05-01 Matthias Clasen <mclasen@redhat.com>
671 * gtk/gtkiconcachevalidator.c: Don't be too strict when checking
672 icon flags. (#435062)
674 2007-05-01 Matthias Clasen <mclasen@redhat.com>
676 * gtk/Makefile.am: When generating gtkbuiltincache.h, only copy
679 2007-05-01 Matthias Clasen <mclasen@redhat.com>
681 * gtk/gtkfilesystemmodel.c (_gtk_file_system_model_path_do):
682 Don't ignore the fact that gtk_file_system_get_parent()
683 may return NULL. (#424042, Jan Martinek)
685 2007-05-01 Dan Winship <danw@novell.com>
687 * gdk/x11/gdkwindow-x11.c (setup_toplevel_window): Make sure the
688 leader_window's WM_CLIENT_LEADER points to itself. #435028
690 2007-05-02 Christian Persch <chpe@gnome.org>
692 * gtk/gtktreemodel.c: (gtk_tree_iter_copy), (gtk_tree_iter_free): Use
693 GSlice for gtk_tree_iter_copy. Bug #434863.
695 2007-05-02 Christian Persch <chpe@gnome.org>
697 * gtk/gtkpapersize.c: (gtk_paper_size_get_paper_sizes): Put only
698 GtkPaperSizes into the list, don't mix it with GtkPageSetups. Bug
701 2007-05-02 Christian Persch <chpe@gnome.org>
703 * gtk/gtkpapersize.c: (gtk_paper_size_new_from_info),
704 (gtk_paper_size_new), (gtk_paper_size_new_custom),
705 (gtk_paper_size_copy), (gtk_paper_size_free): Use GSlice to allocate
706 GtkPaperSize. Bug #434862.
708 2007-05-02 Christian Persch <chpe@gnome.org>
710 * gtk/gtkstatusbar.c: (gtk_statusbar_get_context_id),
711 (gtk_statusbar_expose_event): No need to allocate a guint; just stuff
712 the ID into the pointer directly. Bug #434865.
714 2007-05-01 Matthias Clasen <mclasen@redhat.com>
716 * gtk/gtkfilechooserdefault.c (struct UpdateCurrentFolderData),
717 (update_current_folder_get_info_cb): add a new struct field to clear
718 the file entry after the current folder has been updated.
720 (gtk_file_chooser_default_update_current_folder),
721 (change_folder_and_display_error): Add a new function parameter to
722 trigger file entry clearing.
724 (edited_idle_create_folder_cb),
725 (file_list_drag_data_received_get_info_cb),
726 (gtk_file_chooser_default_map),
727 (gtk_file_chooser_default_set_current_folder),
728 (switch_to_selected_folder), (save_entry_get_info_cb),
729 (shortcuts_activate_volume_mount_cb), (shortcuts_activate_volume),
730 (shortcuts_activate_get_info_cb), (list_row_activated),
731 (path_bar_clicked): use new function parameter appropriately.
733 (gtk_file_chooser_default_should_respond): trigger file entry clearing
734 after the directory is updated instead of clearing it before, this way
735 we avoid reloading the completion model with the soon to be old folder,
736 causing a warning and a glitch in the folder where completion happens.
737 (#379414, Carlos Garnacho)
739 2007-05-01 Matthias Clasen <mclasen@redhat.com>
741 * gtk/gtkiconcachevalidator.[hc]: Add an icon cache validator.
743 * gtk/updateiconcache.c: Validate the generated cache before
744 moving it in place. Also add a --validate option to validate
745 an existing icon cache.
747 * gtk/gtkiconcache.c: Validate icon caches before using them.
749 * gtk/Makefile.am: Integrate it.
751 2007-05-01 Michael Emmel <mike.emmel@gmail.com>
753 * gdk/directfb/gdkdisplay-directfb.c:
754 Added stub gdk_notify_startup_complete_with_id to compile
755 * gdk/directfb/gdkwindow-directfb.c:
756 Added gdk_window_set_opacity
757 * gdk/directfb/gdkkeys-directfb.c:
758 Fix menu key handling crash Bug #413328
760 2007-05-01 Christian Persch <chpe@gnome.org>
763 * gtk/gtkprintjob.h: Also move gtk_print_capabilities_get_type() to
764 the new location. Bug #390437.
766 2007-04-30 Matthias Clasen <mclasen@redhat.com>
768 * gtk/gtksettings.c (settings_update_color_scheme):
769 Make sure we always have a color_hash. (#423916, Jens Granseuer)
771 2007-04-30 Christian Persch <chpe@gnome.org>
773 * docs/reference/gtk/gtk-sections.txt:
775 * gtk/gtkprinter-private.h:
776 * gtk/gtkprinter.c: (gtk_printer_get_capabilities),
777 (gtk_print_capabilities_get_type):
781 * gtk/gtkprintunixdialog.c: (selected_printer_changed):
782 Make gtk_printer_get_capabilities public, and move the
783 GtkPrintCapabilities definition to gtkprinter.h. Bug #390437.
785 2007-04-30 Matthias Clasen <mclasen@redhat.com>
787 * gtk/gtkexpander.c (gtk_expander_realize): A NO_WINDOW widget
788 must not set the background of its window. (#433972,
791 2007-04-30 Richard Hult <richard@imendio.com>
793 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_opacity):
796 2007-04-30 Matthias Clasen <mclasen@redhat.com>
798 * modules/printbackends/cups/gtkprintbackendcups.c: Get all
799 the printer attributes when getting the list of printers,
800 not via separate requests. (#387889, Krishan Purahoo)
802 2007-04-30 Matthias Clasen <mclasen@redhat.com>
804 Some more compiler warning fixes.
806 * gdk/directfb/gdkscreen-directfb.c (gdk_screen_is_composited):
807 Fix NULL/FALSE confusion.
809 2007-04-30 Matthias Clasen <mclasen@redhat.com>
811 Fix some compiler warnings. (#433642, Kjartan Maraas)
813 * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_get_info):
814 (gtk_file_system_win32_create_folder):
815 * gtk/gtkaction.c (gtk_action_create_menu): Fix NULL/FALSE confusion.
817 * gtk/gtklinkbutton.c (gtk_link_button_clicked): Pass
818 the right type to uri_func.
820 * gtk/gtktext.c (gtk_text_key_press):
821 * gtk/gtkstatusicon.c (gtk_status_icon_get_property):
822 * gtk/gtkxembed.c (_gtk_xembed_send_message): Add casts.
824 * gtk/gtktrayicon-x11.c (gtk_tray_icon_manager_window_destroyed):
825 (gtk_tray_icon_delete):
826 * gtk/gtkprintunixdialog.c (create_main_page):
827 * gtk/gtkhsv.c (gtk_hsv_motion): Remove unused variables.
829 * gtk/gtkliststore.c: Adapt callbacks to GSequence types.
831 2007-04-30 Cody Russell <bratsche@gnome.org>
833 * gdk/win32/gdkwindow-win32.c: Reintroduced erase_background(),
834 but now we're calling it from _gdk_windowing_window_clear_area()
835 instead of from the WM_ERASEBKGND event. Also fixes the area
836 that is cleared so that it is not an extra row and column too
837 large. (Neil Roberts, #415681)
839 2007-04-30 Matthias Clasen <mclasen@redhat.com>
841 * gtk/gtktextview.c: Allow indents to be negative. (#Bug 434308)
843 2007-04-30 Michael Natterer <mitch@imendio.com>
845 * gtk/gtkmenushell.c (gtk_menu_shell_enter_notify): pop up the
846 submenu explicitely only in touchscreen mode since otherwise
847 selecting the item already pops up the submenu. Restores the
848 drag-selection timeout (spotted by Søren Sandmann, #128968).
850 2007-04-30 Michael Natterer <mitch@imendio.com>
852 * gtk/gtkpapersize.h: really rename gtk_paper_size_get_builtins()
853 to gtk_paper_size_get_paper_sizes().
855 2007-04-30 Tor Lillqvist <tml@novell.com>
857 * gtk/gtkpapersize.c (gtk_paper_size_get_paper_sizes):
858 _gtk_load_custom_papers() exists only on Unix.
860 2007-04-30 Tor Lillqvist <tml@novell.com>
862 Add functionality to set overall opacity of a top-level
865 * gdk/gdk.symbols: Add gdk_window_set_opacity.
867 * gdk/x11/gdkwindow-x11.c
868 * gdk/win32/gdkwindow-win32.c: Implement
869 gdk_window_set_opacity(). On X11 use the _NET_WM_WINDOW_OPACITY
870 property. On Win32 use SetLayeredWindowAttributes(LWA_ALPHA).
872 * gdk/gdkwindow.h: Declare gdk_window_set_opacity().
874 * gdk/x11/gdkscreen-x11.c (gdk_screen_get_rgba_colormap): Document
875 that this is not implemented in the Windows backend. Add reference
876 to gdk_window_set_opacity().
878 * gtk/gtk.symbols: Add gtk_window_set_opacity and
879 gtk_window_get_opacity.
881 * gtk/gtkwindow.c (struct _GtkWindowPrivate)
882 (gtk_window_class_init): Add opacity property, a double in the
884 (gtk_window_set_opacity, gtk_window_get_opacity): Implement.
885 (gtk_window_realize): If opacity is set, call
886 gdk_window_set_opacity().
888 * gtk/gtkwindow.h: Declare gtk_window_set_opacity() and
889 gtk_window_get_opacity().
891 2007-04-30 Matthias Clasen <mclasen@redhat.com>
894 * gtk/gtkpapersize.[hc]: Rename gtk_paper_size_get_builtins()
895 to gtk_paper_size_get_paper_sizes() and optionally include
898 * gtk/gtkpagesetupunixdialog.c: Internally export a function
899 to load custom paper sizes.
901 * modules/printbackends/file/gtkprintbackendfile.c: Implement
902 printer_list_papers, returning all paper sizes. (#434329,
905 2007-04-30 Matthias Clasen <mclasen@redhat.com>
907 * gtk/gtkprintoperation.c: Translate the default job
908 name, and don't utf8-validate the job name in the
909 setter. (#421993, Morten Welinder)
911 2007-04-30 Matthias Clasen <mclasen@redhat.com>
913 * gtk/gtkprintjob.c (gtk_print_job_get_surface): Use
914 g_unlink. (#421990, Morten Welinder)
916 2007-04-29 Matthias Clasen <mclasen@redhat.com>
918 Fix some issues with reference handling in the printing
919 code. (#429902, Mathias Hasselmann)
921 * gtk/gtkprintoperation.c (gtk_print_operation_finalize):
922 Unref the print context, if we have one.
923 (gtk_print_operation_done): Add a default ::done handler
924 that unrefs the print context.
925 (preview_ready): Take a reference on the print operation
927 (print_pages_idle): ...not here,
928 (preview_print_idle_done): ...and release it here.
930 * tests/print-editor.c (preview_cb): Take a reference
931 on the print operation here.
933 2007-04-29 Matthias Clasen <mclasen@redhat.com>
935 * gtk/gtkprintoperation.c (print_pages_idle): Don't get
936 stuck in a recursive mainloop if a synchronous preview
939 2007-04-29 Matthias Clasen <mclasen@redhat.com>
941 Make the emission of ::end-print and ::done consistent
942 for previews. (#347567, Yevgen Muntyan)
944 * gtk/gtkprintoperation.c (preview_iface_end_preview): Set
945 the finished status here.
946 (preview_end_run): ...and not here.
947 (print_pages_idle_done): Emit ::done for a cancelled preview.
948 (print_pages_idle): If a preview has been cancelled, don't
949 emit ::ready, but emit ::end-print.
951 * tests/print-editor.c: Use ::end-print to undo allocations
954 2007-04-29 Matthias Clasen <mclasen@redhat.com>
956 * gtk/gtkpapersize.c (gtk_paper_size_new): Mark paper sizes
957 in the PWG "custom" namespace as custom. Add a link to
958 the spec in the docs. (#426416, Andreas Guelzow)
960 2007-04-29 Matthias Clasen <mclasen@redhat.com>
962 * gtk/gtkprintoperation.c (gtk_print_operation_run): Document
963 that a print operation can be run only once, and add a
964 corresponding g_return_if_fail(). (#379399, Masao Mutoh)
966 2007-04-29 Dan Winship <danw@novell.com>
968 * gdk/x11/gdkdisplay-x11.c
969 (gdk_x11_display_broadcast_startup_message): New method to
970 marshall and send a Startup Notification message. (from #415070)
971 (gdk_notify_startup_complete_with_id): Use that
973 2007-04-29 Mattthias Clasen <mclasen@redhat.com>
975 * gtk/gtkprintoperation-unix.c
976 (_gtk_print_operation_platform_backend_launch_preview):
977 Don't leak a file descriptor, and don't make the error
978 dialog modal. (#421985, Morten Welinder, Christian Persch)
980 2007-04-29 Xan Lopez <xan@gnome.org>
982 * docs/faq/gtk-faq.sgml: Fix typo in FAQ (#373706,
983 Diego Escalante Urrelo).
985 I'm fixing gtk-faq.sgml as it seems this is the file
988 2007-04-29 Matthias Clasen <mclasen@redhat.com>
990 * gtk/gtktoolbar.c (_gtk_toolbar_elide_underscores):
991 Only strip parentheses of the form (_x). (#434261,
994 2007-04-29 Matthias Clasen <mclasen@redhat.com>
996 * gtk/gtkprintoperation-unix.c
997 (_gtk_print_operation_platform_backend_launch_preview):
998 Support passing a print settings file to the preview
999 command. (#403717, Christian Persch)
1001 * gtk/gtksettings.c: Document %s in the
1002 gtk-print-preview-command setting.
1004 2007-04-29 Matthias Clasen <mclasen@redhat.com>
1006 * gtk/gtkprintoperation.c (print_pages_idle): Also check
1007 the default handler when deciding whether to emit the
1008 paginate signal. (#345345, Yevgen Muntyan)
1010 2007-04-29 Matthias Clasen <mclasen@redhat.com>
1012 * gtk/gtkprintoperation.h: Add a new error code
1015 * gtk/gtkpagesetup.[hc]:
1016 * gtk/gtkpapersize.[hc]:
1017 * gtk/gtkprintsettings.[hc]: Add functions to serialize
1018 and deserialize page setups and print settings to files
1019 and key files. (#344515, Christian Persch)
1021 * gtk/gtkpagesetupunixdialog.c: Adapt to the new functions.
1023 * tests/print-editor.c: Use the new functions to persist
1024 page setup and print settings.
1026 2007-04-29 Matthias Clasen <mclasen@redhat.com>
1028 * gtk/gtkpagesetupunixdialog.c (gtk_page_setup_unix_dialog_finalize):
1029 Free the custom paper list. (#403267, Felix Riemann)
1031 2007-04-29 Matthias Clasen <mclasen@redhat.com>
1033 * gtk/gtkprintjob.c (gtk_print_job_get_surface): Fix a
1034 small memory leak. (#403251, Felix Riemann)
1036 2007-04-29 Matthias Clasen <mclasen@redhat.com>
1038 * modules/printbackends/cups/gtkprintbackendcups.c: Fix a
1039 typo. String change ! (#406160, Stephane Raimbault)
1041 2007-04-29 Matthias Clasen <mclasen@redhat.com>
1044 * gtk/gtkpapersize.[hc]: Add a function to list the
1045 builtin paper sizes. (#382355, Christian Persch)
1047 2007-04-29 Matthias Clasen <mclasen@redhat.com>
1050 * gtk/gtkprinter-private.h:
1051 * gtk/gtkprinter.[hc]: Make gtk_printer_has_details() and
1052 gtk_printer_request_details() public.
1054 * gtk/gtkpagesetupunixdialog.c:
1055 * gtk/gtkprintunixdialog.c: Update callers. (#389203,
1058 2007-04-28 Matthias Clasen <mclasen@redhat.com>
1060 * configure.in: Add --enable-test-print-backend, defaulting
1063 * modules/printbackends/Makefile.am: Make building the test
1064 print backend conditional.
1066 2007-04-28 Matthias Clasen <mclasen@redhat.com>
1068 * modules/printbackends/lpr/*:
1069 * modules/printbackends/cups/*: Correct some copyright lines.
1072 * modules/printbackends/Makefile.am:
1073 * modules/printbackends/test/*: Add a test print backend.
1074 (#409089, John Palmieri)
1076 2007-04-28 Matthias Clasen <mclasen@redhat.com>
1078 * gtk/gtktexttag.[hc]: Add a way to specify accumulative
1079 margins. (#344499, Nate Nielsen)
1081 2007-04-28 Matthias Clasen <mclasen@redhat.com>
1083 * gtk/gtkeventbox.c (gtk_event_box_realize): Fix the offsets
1084 of the input-only window if we also have a visible window.
1087 2007-04-28 Matthias Clasen <mclasen@redhat.com>
1089 * gtk/gtkliststore.c (gtk_list_store_set_valist_internal):
1090 * gtk/gtktreestore.c (gtk_tree_store_set_valist_internal):
1091 Recognize negative column indices as invalid. (#415260,
1094 2007-04-28 Ronald Bultje <rbultje@ronald.bitfreak.net>
1096 * gdk/quartz/gdkeventloop-quartz.c: (select_thread_func),
1097 (poll_func): fix two more potential races that could happen when
1098 an application is polling in the mainloop and a separate thread
1099 tries to wake it up using g_idle_add(). Fixes #425271 comment 5.
1101 2007-04-28 Matthias Clasen <mclasen@redhat.com>
1103 * gtk/gtkentry.c (gtk_entry_grab_focus):
1104 (gtk_entry_real_insert_text): Only call g_object_get()
1105 when necessary. (#373137, Morten Welinder, patch by Xan Lopez)
1107 2007-04-28 Matthias Clasen <mclasen@redhat.com>
1109 * gtk/gtkstatusicon.c (gtk_status_icon_get_size): Add
1110 a note about being embedded. (#340107, Christian Persch)
1112 2007-04-28 Matthias Clasen <mclasen@redhat.com>
1114 * gtk/gtkdnd.[hc]: Add GTK_TARGET_OTHER_{APP,WIDGET} to
1115 restrict drags within an application/widget. (#163141,
1118 2007-04-28 Matthias Clasen <mclasen@redhat.com>
1120 * docs/tools/Makefile.am:
1121 * gtk/Makefile.am: Make make clean clean. (#410160, Tommi
1124 2007-04-28 Matthias Clasen <mclasen@redhat.com>
1126 * gdk/win32/bdfcursor.c (compose_cursors_from_fonts):
1127 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_reorder):
1128 * gtk/gtkfilesystemmodel.c (got_root_folder_cb):
1129 (get_children_folder_cb): Plug memory leaks caused by wrong
1130 use of g_slist_remove_link(). (#405515, Nicolas Peninguy)
1132 2007-04-28 Matthias Clasen <mclasen@redhat.com>
1134 * demos/gtk-demo/printing.c: Fix the headers in the print
1135 demo. (#423722, Yevgen Muntyan)
1137 2007-04-28 Xan Lopez <xan@gnome.org>
1139 * gtk/gtkentrycompletion.c (gtk_entry_completion_insert_completion_text):
1140 Use strstr instead of g_strstr with -1 for length.
1142 2007-04-28 Xan Lopez <xan@gnome.org>
1145 * gtk/gtkentrycompletion.c:
1146 * gtk/gtkentrycompletion.h:
1147 * gtk/gtkentryprivate.h:
1149 Remember the user input that triggered the completion, add
1150 API to the retrieve it and reset the entry contents to it
1151 if the user cancels the tentative completion during
1152 the inline-selection.
1154 2007-04-27 Matthias Clasen <mclasen@redhat.com>
1156 * gdk/x11/gdkgeometry-x11.c: Factor out window movement
1157 functions. (#63820, Tilman Sauerbeck)
1159 2007-04-27 Matthias Clasen <mclasen@redhat.com>
1161 * gdk/x11/gdkgeometry-x11.c: Factor out translate_pos().
1162 (#63820, Tilman Sauerbeck)
1164 2007-04-27 Matthias Clasen <mclasen@redhat.com>
1166 * gdk/x11/gdkgeometry-x11.c: Factor out window mapping
1167 and unmapping functions. (#63820, Tilman Sauerbeck)
1169 2007-04-27 Matthias Clasen <mclasen@redhat.com>
1171 * gdk/x11/gdkgeometry-x11.c: Make list handling code
1172 easier to read. (#63820, Tilman Sauerbeck)
1174 2007-04-27 Matthias Clasen <mclasen@redhat.com>
1180 * gtkrecentmanager.c:
1181 * gtktextiter.c: Internalize some strings, pointed out
1184 2007-04-27 Xan Lopez <xan@gnome.org>
1186 Support inline-selection in entries (#318459)
1189 * gtk/gtkentrycompletion.c:
1190 * gtk/gtkentrycompletion.h:
1191 * gtk/gtkentryprivate.h:
1193 When enabled cursor-match is emited when the cursor is on
1194 a possible completion on the list. The default implementation
1195 will replace the contents on the entry with the contents of
1196 the text column in the completion model.
1198 Review and improvements by Matthias Clasen.
1200 2007-04-27 Michael Natterer <mitch@imendio.com>
1202 Merged heavily modified patch from maemo-gtk which enables opening
1203 and closing submenus on click, and introduces some usability
1204 changes when gtk-touchscreen-mode is enabled (bug #128968):
1206 * gtk/gtkmenushell.c (struct GtkMenuShellPrivate): added boolean
1207 "activated_submenu" to indicate that the current mouse operation
1208 (click or drag) has opened a submenu.
1210 (gtk_menu_shell_button_press): pop up submenus without delay
1211 and record the fact in "activated_submenu".
1213 (gtk_menu_shell_button_release): if a submenu was explicitely
1214 opened, or not opened by this release's button_press, or enough
1215 time has passed since timeout-opening it, close the submenu here.
1217 (gtk_menu_shell_enter_notify): when entering a menu item with
1218 any mouse button pressed, open its submenu.
1220 (gtk_real_menu_shell_move_current): in touchsreen mode, close the
1221 submenu when moving the focus away from it via keyboard-navigation.
1223 * gtk/gtkmenuitem.[ch] (_gtk_menu_item_popup_submenu): added
1224 parameter "gboolean with_delay" so GtkMenuShell can control this
1225 for the different scenarios of submenu showing.
1227 (_gtk_menu_item_popdown_submenu): new function. also needed by
1228 GtkMenuShell for closing submenus on click.
1230 Renamed internal function gtk_menu_item_select_timeout() to
1231 gtk_menu_item_popup_timeout().
1233 (gtk_menu_item_real_popup_submenu): new utility function which
1234 does the actual popup and records the exact time of the popup when
1235 the menu was timeout-opened (using g_get_current_time()).
1237 (gtk_real_menu_item_select): don't add the popup timeout when in
1240 * gtk/gtkmenu.c (gtk_menu_popup): in touchscreen mode, select the
1241 first item of every opened menu.
1243 2007-04-26 Matthias Clasen <mclasen@redhat.com>
1245 * gtk/gtkfilechooserentry.c: Append a '/' to directory names
1246 in the completion popup. (#431323, Maarten Maathuis)
1248 2007-04-26 Matthias Clasen <mclasen@redhat.com>
1250 * demo/gtk-demo/combobox.c: Add a simple validation demo.
1251 * gtk/gtkcomboboxentry.c: Make it possible to add arbitrary
1252 children to a GtkComboBoxEntry. (#426401, Paul Pogonyshev)
1254 2007-04-26 Tor Lillqvist <tml@novell.com>
1256 * gtk/gtkinputdialog.c (gtk_input_dialog_fill_axes)
1257 (gtk_input_dialog_fill_keys): Remove old child of scrolled window
1258 before adding a new one when switching what input device is being
1261 2007-04-26 Matthias Clasen <mclasen@redhat.com>
1263 * modules/printbackends/lpr/gtkprintbackendlpr.c
1264 (gtk_print_backend_lpr_init): Mark the printer list as done.
1265 (#428665, Bogdan Gheorghe)
1267 2007-04-26 Matthias Clasen <mclasen@redhat.com>
1270 * gtk/Makefile.am: Don't install UNIX-printing headers and
1271 support files on non-UNIX platforms. (#425655, Vincent Geddes)
1273 2007-04-26 Matthias Clasen <mclasen@redhat.com>
1275 * gtk/gtkuimanager.c (gtk_ui_manager_add_ui): Accept
1276 unnamed separators. (#369112, Christian Persch)
1278 2007-04-26 Matthias Clasen <mclasen@redhat.com>
1280 * gtk/gtkaccelgroup.c (gtk_accel_group_finalize): Don't access
1281 invalid memory. (#429732, Armin Burgmeier)
1283 2007-04-26 Cody Russell <bratsche@gnome.org>
1285 * gdk/win32/xcursors.h:
1286 * gdk/win32/gdkcursor-win32.c:
1288 Use Win32 native cursors instead of the ones built into GTK
1289 where it makes sense. (#128852, Tim Evans)
1291 2007-04-25 Cody Russell <bratsche@gnome.org>
1295 * gtk/gtkhandlebox.c:
1296 * gdk/directfb/gdkwindow-directfb.c:
1297 * gdk/linux-fb/gdkwindow-fb.c:
1298 * gdk/quartz/gdkwindow-quartz.c:
1299 * gdk/win32/gdkwindow-win32.c:
1300 * gdk/x11/gdkwindow-x11.c:
1301 Added window type hint and implement drop shadows on Win32
1302 for menus, tooltips, etc. (#148535, Tim Evans, Dom Lachowicz)
1304 2007-04-25 Jakub Steiner <jimmac@ximian.com>
1306 * gtk/stock-icons/16/gtk-close.{png,svg}: added 16x16 version of
1307 gtk-close as per discussion in bug #431740.
1309 2007-04-25 Matthias Clasen <mclasen@redhat.com>
1311 * gtk/gtktreeview.c (gtk_tree_view_style_set): Set the background
1312 of the header window again. (#431067, Benjamin Berg)
1314 2007-04-25 Matthias Clasen <mclasen@redhat.com>
1316 * gtk/gtkicontheme.c (theme_lookup_icon): Set the filename to
1317 NULL for builtin icons, sinc gtk_icon_info_get_builtin_pixbuf()
1320 * tests/testicontheme.c: Report builtin icons.
1322 2007-04-25 Matthias Clasen <mclasen@redhat.com>
1324 * gtk/gtkprintoperation.c (preview_iface_end_preview): Don't
1325 crash if end_run is not set. (#424168, Matthias Hasselmann)
1327 2007-04-25 Michael Natterer <mitch@imendio.com>
1329 * gtk/gtkmenu.c (gtk_menu_handle_scrolling): fix ACTIVE state of
1330 scroll buttons (we were setting the state to ACTIVE but
1331 immediately overwriting it with NORMAL or PRELIGHT). Also got rid
1332 of many separate calls to gdk_window_invalidate_rect() by
1333 remembering the old button state and only invalidating the area if
1334 the state has changed (addresses parts of bug #433242, Tommi
1337 (gtk_menu_scroll_to): change the arrow states only if changing
1338 from or to INSENSITIVE state, so we don't overwrite the ACTIVE
1339 state set by above function.
1341 2007-04-25 Michael Natterer <mitch@imendio.com>
1343 * gtk/gtkprintoperation.c (preview_iface_is_selected): fix the
1344 build. Dunno if the fix is right, but I think it is.
1346 2007-04-25 Kristian Rietveld <kris@imendio.com>
1348 * gtk/gtktooltip.c (find_topmost_widget_coords_from_event):
1349 cleanup/refactor some leftover code.
1351 2007-04-24 Matthias Clasen <mclasen@redhat.com>
1353 * gtk/gtkprintunixdialog.c (dialog_get_page_ranges): Parse
1354 half-open ranges like -2 or 3-, and be a bit more liberal
1356 (dialog_set_page_ranges): Support half-open ranges.
1358 * gtk/gtkprintoperation.c (print_pages_idle): Substitute the
1359 number of pages in half-open ranges.
1360 (preview_iface_is_selected): Support half-open ranges here, too.
1362 2007-04-24 Chris Wilson <chris@chris-wilson.co.uk>
1364 * gtk/gtkicontheme.c (scan_directory): Ensure the
1365 icon_theme->all_icons and dir->icons hash tables use the same string
1366 as their keys. (#418531)
1368 2007-04-23 Cody Russell <bratsche@gnome.org>
1369 * modules/engines/ms-windows/msw_style.c: Fixed one-pixel drawing error on
1370 left-most tab when notebooks are top-oriented. Also general cleanup of
1371 notebook tab related code. (Lieven van der Heide, Cody Russell)
1373 2007-04-23 Matthias Clasen <mclasen@redhat.com>
1375 * modules/printbackends/cups/gtkprintbackendcups.c: Reduce
1376 the amount of debug spew if we are not debugging.
1378 2007-04-23 Michael Natterer <mitch@imendio.com>
1380 * tests/Makefile.am (testtooltips_SOURCES): fix typo:
1381 testtoooltips_SOURCES -> testtooltips_SOURCES.
1383 2007-04-19 Cody Russell <bratsche@gnome.org>
1385 * modules/engines/ms-windows/msw_style.c: Fix menuitem rendering
1386 for Windows Vista. (#392015, Hiroyuki Yamamoto)
1388 2007-04-19 Dominic Lachowicz <domlachowicz@gmail.com>
1390 * modules/engines/ms-windows/msw_style.c: Fix pixbuf leaks in
1391 non-WinXP rendering paths. From Daniel Atallah (#403470)
1393 2007-04-19 Matthias Clasen <mclasen@redhat.com>
1395 * gtk/gtkicontheme.h:
1396 * gtk/gtkicontheme.c: Add GTK_ICON_LOOKUP_GENERIC_FALLBACK
1397 icon lookup flag and implement it. (#396901, Luca Ferreti)
1399 2007-04-18 Richard Hult <richard@imendio.com>
1401 * gdk/quartz/gdkwindow-quartz.c:
1402 (gdk_window_quartz_process_updates_internal),
1403 (gdk_window_quartz_process_all_updates),
1404 (gdk_window_impl_quartz_process_updates): Refactor the process
1405 updates functions to share code between them. Also fixes bug
1406 #427660 by not updating larger regions than necessary.
1408 2007-04-18 Matthias Clasen <mclasen@redhat.com>
1410 * gdk/gdkregion-generic.h (GROWREGION): Handle the case
1411 of nRects == 0 correctly.
1413 2007-04-18 Emmanuele Bassi <ebassi@gnome.org>
1415 * gtk/gtkrecentmanager.c (gtk_recent_manager_lookup_item): Fix
1416 a leak by not increasing the refcount of the GtkRecentInfo
1417 object when returning it (thanks to Matthias Clasen).
1419 2007-04-16 Alexander Larsson <alexl@redhat.com>
1421 * gtk/gtkprintoperation.c (gtk_print_operation_run):
1422 Make async print preview work by actually starting
1423 the print process in that case (#424168)
1425 2007-04-14 Yevgen Muntyan <muntyan@tamu.edu>
1427 * gtk/gtkselection.c (selection_get_text_plain): fixed
1428 wrong g_convert_with_fallback() call which caused
1429 gtk_selection_data_get_text() return invalid UTF-8 for
1430 non-ASCII text in text/plain selection (#382824).
1432 2007-04-12 Jakub Steiner <jimmac@ximian.com>
1434 * gtk/stock-icons/*: update the stock icons to follow the Tango
1437 2007-04-11 Chris Wilson <chris@chris-wilson.co.uk>
1439 * gtk/gtkiconfactory.c (_gtk_icon_factory_list_ids):
1440 * gtk/gtkstock.c (gtk_stock_list_ids):
1441 Switch over to use glib's new g_hash_table_get_keys() rather
1442 than our own static implementation.
1444 * gtk/gtkiconfactory.h: Update to return a GList.
1446 * configure.in: Bump required version to 2.13.1
1448 2007-04-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
1450 * gdk/quartz/gdkeventloop-quartz.c: Protect the polling thread
1451 setup and shutdown function by mutexes and read the wakeup
1452 pipe unconditionally and unblocking. This should make the main
1453 loop always be woken up when using g_idle_add() from another
1454 thread in the Quartz backend (#425271).
1456 2007-04-10 Matthias Clasen <mclasen@redhat.com>
1458 * gdk/x11/xsettings-client.[hc]: Change the XSettingsWatchFunc
1459 to return a Bool to indicate success. Update callers and
1460 implementors. Based on a patch by Owen Taylor.
1462 * gdk/x11/gdkevents-x11.c (gdk_xsettings_watch_cb): Don't
1463 leak a reference to gdkwin.
1465 2007-04-07 Xan Lopez <xan@gnome.org>
1467 * gtk/gtknotebook.c (gtk_notebook_class_init):
1468 s/arrow-size/arrow-spacing in the arrow-spacing
1469 style property docs.
1471 2007-04-06 Richard Hult <richard@imendio.com>
1473 * gdk/quartz/: Clean up namespaces to make the code more
1476 * gdk/quartz/gdkdrawable-quartz.c:
1477 * gdk/quartz/gdkgc-quartz.c: Fix bug #418384, alignment of tiled
1478 images, by setting the pattern phase for the CG pattern.
1480 2007-04-04 Kristian Rietveld <kris@imendio.com>
1482 * gtk/gtktooltip.c (tooltip_browse_mode_expired),
1483 (gtk_tooltip_hide_tooltip), (tooltip_popup_timeout),
1484 (gtk_tooltip_start_delay): use new gdk_threads API.
1486 2007-04-03 Behdad Esfahbod <behdad@gnome.org>
1488 * gtk/gtksettings.c (settings_update_font_options): Don't set
1489 metrics-hinting font option. Rely on the default value which is
1490 on for all raster cairo surfaces. (#425985)
1492 2007-04-03 Loïc Minier <lool@dooz.org>
1494 * gdk/x11/gdkscreen-x11.c: (check_xfree_xinerama): Revert to
1495 non-xinerama mode when XineramaQueryScreens returns NULL; patch from
1496 Simon McVittie; #425786.
1498 2007-04-02 Michael Natterer <mitch@imendio.com>
1500 * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): remove
1501 artifact from the time when type checking casts warned on NULL,
1502 some whitespace cleanup.
1504 2007-04-01 Cody Russell <bratsche@gnome.org>
1506 * modules/engines/ms-windows/msw_style.c: Fix rendering of
1507 notebook tabs when they are bottom-oriented. Fixes #399253.
1509 2007-03-31 Elijah Newren <newren gmail com>
1511 * gdk/x11/gdkwindow-x11.c (setup_toplevel_window,
1512 gdk_x11_window_set_user_time):
1513 Patch from Matthias to add support for the
1514 _NET_WM_USER_TIME_WINDOW EWMH protocol; see #354213.
1516 WARNING: This patch will make metacity <= 2.18.0 freeze on
1517 workspace switch. This is due to a weird problem that should only
1518 affect window managers using gdk in-process for decoration drawing
1519 and which make an unsafe assumption relating to doing so (i.e. it
1520 should only affect metacity). Upgrade your version of metacity if
1523 2007-03-29 Michael Natterer <mitch@imendio.com>
1525 Don't close menus on clicks on their border area (bug #423761).
1526 (modified patch from maemo-gtk).
1528 * gtk/gtkmenu.c (gtk_menu_button_press)
1529 (gtk_menu_button_release): bail out early if the click was on the
1530 menu's border (not on any item and not outside the window).
1532 (pointer_in_menu_window): new utility function which checks if
1533 passed root coords are inside the menu_shell or one of its
1536 2007-03-29 Michael Natterer <mitch@imendio.com>
1538 * gtk/gtkmenu.c: get rid of local GtkSettings variables by moving
1539 gtk_widget_get_settings() into the g_object_get() call. Some small
1542 2007-03-28 Matthias Clasen <mclasen@redhat.com>
1544 * modules/printbackends/cups/gtkcupsutils.[hc]:
1545 * modules/printbackends/cups/gtkprintbackendcups.c: Apply
1546 a patch by John Palmieri to make the cups print backend support
1549 2007-03-28 Kristian Rietveld <kris@imendio.com>
1551 * gtk/gtkwidget.c (gtk_widget_set_tooltip_window): don't unref
1552 tooltip_window, since this is handled by set_qdata_full() already.
1553 (#412001, Torsten Schoenfeld).
1555 2007-03-27 Tor Lillqvist <tml@novell.com>
1557 * modules/input/Makefile.am: Use LDADDS for im-multipress.la, too:
1559 2007-03-26 Christian Persch <chpe@gnome.org>
1561 * gtk/gtkrc.c: (gtk_rc_context_get): Initialise variable. Bug #423064.
1563 2007-03-24 Kristian Rietveld <kris@gtk.org>
1565 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
1566 calculate the depth with the corrected real_cell_area and don't
1567 subtract horizontal_separator/2.
1569 2007-03-24 Andreas Nilsson <andreas@andreasn.se>
1572 * gtk-no: More Tango love.
1574 2007-03-23 Jakub Steiner <jimmac@ximian.com>
1576 * gtk-dialog-authentication.svg
1577 * gtk-dialog-error.svg
1578 * gtk-dialog-info.svg
1579 * gtk-dialog-question.svg
1580 * gtk-dialog-warning.svg: Start with a Tango face-lift.
1582 2007-03-23 Rodney Dawes <dobey@novell.com>
1584 * gtk/gtkicontheme.c: Fix a couple of comment typos (#421627)
1586 2007-03-23 Matthias Clasen <mclasen@redhat.com>
1588 * gtk/gtkfilechooserdefault.c: Add a keybinding (C-h) to
1589 toggle whether to show hidden files. (#344657,
1590 Wouter Bolsterlee, Priit Laes, et al)
1592 2007-03-23 Matthias Clasen <mclasen@redhat.com>
1594 * gtk/gtkfilechooserdefault.c: Add a keybinding (C-l) to
1595 toggle the visibility of the location entry. (#383354,
1596 John Pye, patch by Carlos Garnacho)
1598 2007-03-22 Matthias Clasen <mclasen@redhat.com>
1600 * gtk/gtksettings.c (merge_color_scheme): Freeze property
1602 * gtk/gtksettings.c (_gtk_settings_handle_event): Handle
1603 the gtk-color-scheme xsetting being unset.
1605 * gtk/gtkrc.c (gtk_rc_reparse_all_for_settings): Handle
1608 2007-03-21 Matthias Clasen <mclasen@redhat.com>
1610 * gtk/gtkprintoperation-unix.c: Remove leftover debug spew.
1612 2007-03-21 Rodney Dawes <dobey@novell.com>
1615 * gtk/gtkicontheme.[ch]:
1616 * docs/reference/gtk/gtk-sections.txt:
1617 * tests/testicontheme.c:
1618 Add a new API call gtk_icon_theme_list_contexts so that one can
1619 choose icons from a theme by context (#420719)
1621 2007-03-21 Ross Burton <ross@burtonini.com>
1624 Document the ::event signal (#420703).
1626 2007-03-20 Kristian Rietveld <kris@gtk.org>
1628 * gtk/gtktreeviewcolumn.c:
1629 * gtk/gtktreeprivate.h: add _gtk_tree_view_column_get_focus_area().
1631 * gtk/gtktreeview.c (gtk_tree_view_clamp_column_visible): add
1632 focus_to_cell parameter, rework to handle clamping columns which
1633 are bigger than the available page size better,
1634 (gtk_tree_view_key_press): remove code handling moving the focus
1635 to other column headers,
1636 (gtk_tree_view_header_focus): add clamp_column_visible parameter,
1637 fix RTL support, don't wrap around when moving focus to other
1638 column headers, call gtk_tree_view_clamp_column_visible() instead
1639 of duplicating code,
1640 (gtk_tree_view_focus): only clamp the column visible when we are
1641 explicitly moving to another column header (fixes #399555, Charles
1643 (gtk_tree_view_move_cursor_left_right): update call to
1644 gtk_tree_view_clamp_column_visible().
1646 2007-03-19 Matthias Clasen <mclasen@redhat.com>
1648 * demos/gtk-demo/appwindow.c: Explicitly set the title on the
1651 2007-03-18 Matthias Clasen <mclasen@redhat.com>
1653 * gtk/gtkentrycompletion.c (gtk_entry_completion_compute_prefix):
1654 Ensure that the prefix is valid UTF-8. (#419568, Nickolay V. Shmyrev)
1656 2007-03-18 Matthias Clasen <mclasen@redhat.com>
1658 * modules/input/gtkimcontextmultipress.[hc]:
1659 * modules/input/im-multipress.conf:
1660 * modules/input/immultipress.c:
1661 * modules/input/README.multipress: Add the multipress input
1662 method. (#417446, Johannes Schmid, Murray Cumming)
1664 * modules/input/Makefile.am: Glue
1666 2007-03-17 Chris Wilson <chris@chris-wilson.co.uk>
1668 * gdk/x11/gdkvisual-x11.c (_gdk_visual_init):
1669 Initialise nxvisuals to 0 in order to handle XGetVisualInfo()
1670 failures gracefully. (#419171)
1672 2007-03-17 Emmanuele Bassi <ebassi@gnome.org>
1674 * gtk/gtkrecentaction.c (recent_chooser_set_property),
1675 (gtk_recent_action_set_property): Remove useless inlined
1676 function and propagate the properties to the GtkRecentChooser
1677 objects we create, instead of all the proxies.
1679 (set_current_filter): Remove 'inline' marker.
1681 2007-03-16 Emmanuele Bassi <ebassi@gnome.org>
1683 Apply changes suggested by Michael Natterer. (#338843)
1686 * gtk/gtkaction.c: Rename get_submenu() to create_menu();
1687 rename gtk_action_get_submenu() to gtk_action_create_menu().
1689 * gtk/gtkrecentaction.c: Update for GtkAction change.
1691 * gtk/gtkuimanager.c (update_node): Update for GtkAction change;
1692 also, use the menu from the GtkAction for both menuitem and
1695 2007-03-16 Xan Lopez <xan@gnome.org>
1697 * gtk/gtkwidget.c: Fix documentation error in
1698 gtk_widget_set_redraw_on_allocate.
1700 2007-03-16 Matthias Clasen <mclasen@redhat.com>
1702 * gtk/gtkprintunixdialog.c (printer_added_cb): Scroll to
1703 make the selected printer visible. (#418403, Nickolay V. Shmyrev,
1704 patch by Christian Persch)
1706 2007-03-15 Federico Mena Quintero <federico@novell.com>
1708 Merged from gtk-2-10:
1710 * gtk/gtkfilechooserdefault.c (find_good_size_from_style):
1711 PANGO_PIXELS() gives us device units, which are *points* in
1712 pangocairo's parlance, but we want actual pixels. So, get the
1713 screen's resolution to compute the actual number of pixels.
1716 2007-03-15 Emmanuele Bassi <ebassi@gnome.org>
1718 * gtk/gtkrecentmanager.c (gtk_recent_manager_add_item): Remove
1719 unused GError; do not allocate GtkRecentData and use a variable
1720 on the stack. (#418673, Morten Welinder)
1722 2007-03-15 Emmanuele Bassi <ebassi@gnome.org>
1724 * gtk/gtkaction.[ch]: Add GtkActionClass::get_submenu() vfunc:
1725 actions providing a menu item or a menu tool button with already
1726 a submenu should return the GtkMenu widget.
1728 * gtk/gtkuimanager.c (update_node): If an action provides its
1729 own submenu, use it instead of adding an empty one
1731 * gtk/gtkrecentaction.[ch]: Add GtkRecentAction, an action
1732 implementing the GtkRecentChooser interface for displaying the
1733 list of recently used files into menus and toolbars generated
1734 using GtkUIManager. (#338843)
1738 * gtk/gtk.symbols: Add GtkRecentAction API to the build.
1740 * tests/testactions.c: Exercise the GtkRecentAction API.
1742 2007-03-15 Chris Wilson <chris@chris-wilson.co.uk>
1744 * gtk/gtkicontheme.c (ensure_valid_themes), (rescan_themes),
1745 (gtk_icon_theme_rescan_if_needed): Protect ensure_valid_themes()
1746 from recursion, which can happen for example if the app tries to
1747 reload an icon from within a theme-changed handler. (#418531)
1749 2007-03-15 Richard Hult <richard@imendio.com>
1751 * gdk/quartz/gdkmain-quartz.c: Add stubs for
1752 gdk_notify_startup_complete_with_id and gdk_window_set_startup_id
1755 2007-03-15 Emmanuele Bassi <ebassi@gnome.org>
1757 * gtk/gtkrecentmanager.c: Fix documentation errors. (Morten
1760 2007-03-15 Tor Lillqvist <tml@novell.com>
1762 * gdk/gdk.symbols: Add gdk_notify_startup_complete_with_id and
1763 gdk_window_set_startup_id.
1765 * gdk/win32/gdkmain-win32.c: Add dummy implementations of the above.
1767 2007-03-15 Emmanuele Bassi <ebassi@gnome.org>
1769 * gtk/gtkrecentchooserprivate.h:
1770 * gtk/gtkrecentchooserutils.c: Move filtering of the recent
1771 files list into the shared implementation; do the filtering
1772 before the sorting, so that we always clamp on the desired
1775 * gtk/gtkrecentchoosermenu.c: Remove the filtering of the
1776 list, as it's already been done.
1778 * gtk/gtkrecentchooserdefault.c: Ditto; also remove the
1779 GtkTreeModelFilter: just reload the view if the sorting and
1780 filtering properties change.
1782 * gtk/testrecentchoosermenu.c: Exercise the limit property.
1784 2007-03-14 Michael Natterer <mitch@imendio.com>
1786 Make gtk_widget_set_extension_events() work on already realized
1787 widgets (bug #379550, Tommi Komulainen)
1789 * gdk/x11/gdkinput.c (gdk_input_set_extension_events): allow to be
1790 called multiple times without leaking and work correctly when
1791 already realized (don't rely on a configure event following).
1793 * gtk/gtkwidget.c (gtk_widget_set_extension_events_internal): new
1794 internal function which walks the GdkWindow tree and sets the
1795 extension events on all windows that belong to the widget.
1797 (gtk_widget_realize)
1798 (gtk_widget_set_extension_events): use the new function.
1800 2007-03-14 Emmanuele Bassi <ebassi@gnome.org>
1802 Various clean ups in the GtkRecent code. (see #338843)
1804 * gtk/gtkrecentchooserdefault.c:
1805 * gtk/gtkrecentchoosermenu.c:
1806 * gtk/gtkrecentchooserprivate.h:
1807 * gtk/gtkrecentchooserutils.c: Move the recent chooser function
1808 for getting the sorted and clamped list of recent files from the
1809 manager outside the implementations.
1811 * gtk/gtkrecentchooserdefault.c (chooser_set_sort_type): Repopulate
1812 the list when the sorting order changes.
1814 (gtk_recent_chooser_default_dispose),
1815 (gtk_recent_chooser_default_finalize): Move object unref and
1816 source removal from finalize to dispose.
1818 * gtk/gtkrecentchooser.c (gtk_recent_chooser_type_init): Relax the
1819 prerequisite for the GtkRecentChooser interface implementations,
1820 from GtkObject to GObject.
1822 (gtk_recent_chooser_class_init): Use GTK_PARAM_* instead of
1825 2007-03-13 Emmanuele Bassi <ebassi@gnome.org>
1827 Apply patch by Vytautas Liuolia for changing the startup
1828 notification id on a window in the X11 backend. (#347375)
1832 * gdk/x11/gdkdisplay-x11.c: Add gdk_notify_startup_complete_with_id()
1833 and gdk_x11_display_get_startup_notification_id().
1836 * gdk/x11/gdkwindow-x11.c: Add gdk_window_set_startup_id().
1839 * gtk/gtkwindow.c: Add gtk_window_set_startup_id(), used to
1840 change the startup notification id.
1842 (gtk_window_class_init), (gtk_window_init),
1843 (gtk_window_set_property): Add write-only "startup-id" property
1846 (gtk_window_realize): Set the startup notification id
1847 on a GtkWindow if it's valid.
1849 (gtk_window_map): If we have another valid startup notification
1850 id then finish the notification process.
1852 2007-03-13 Matthias Clasen <mclasen@redhat.com>
1854 * gtk/gtknotebook.c (gtk_notebook_real_insert_page):
1855 Fix tabbed browsing in epiphany. (#413664, Christian Persch)
1857 2007-03-12 Matthias Clasen <mclasen@redhat.com>
1859 * gtk/gtksizegroup.c (gtk_size_group_add_widget): Clarify
1860 docs. (#345844, Torsten Schoenfeld)
1862 * gdk/x11/gdkevents-x11.c (gdk_display_add_client_message_filter):
1863 * gdk/gdkwindow.c (gdk_window_add_filter): Add
1864 cross-references. (#351252, Vincent Untz)
1866 * gtk/gtkprintoperation.c: Fix an oversight in an
1867 example. (#381083, Ian Puleston)
1869 * gtk/gtkcombobox.c: Clean up and clarify docs. (#412484)
1871 2007-03-12 Matthias Clasen <mclasen@redhat.com>
1873 * gtk/gtkspinbutton.c (gtk_spin_button_style_set): Set
1874 the background of the panel window on style changes. (#402144,
1877 2007-03-12 Matthias Clasen <mclasen@redhat.com>
1879 * gtk/gtkbindings.c (gtk_binding_entry_add_signal): Remove
1880 an obsolete comment. (#402169, Xan Lopez)
1882 2007-03-12 Matthias Clasen <mclasen@redhat.com>
1884 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_property):
1885 Don't copy PangoLanguage. (#340031, Morten Welinder)
1887 2007-03-12 Matthias Clasen <mclasen@redhat.com>
1889 * gtk/gtkfilechooserbutton.c (change_icon_theme_get_info_cb):
1890 Handle the row reference path being NULL. (#410565, Joe Markus
1891 Clarke, patch by Chris Wilson)
1893 2007-03-11 Matthias Clasen <mclasen@redhat.com>
1895 * tests/testiconview.c: Handle Menu key presses without
1896 crash. (#385637, Christian Persch)
1898 2007-03-11 Matthias Clasen <mclasen@redhat.com>
1900 * gtk/gtktooltips.c (gtk_tooltips_get_info_from_tip_window):
1901 Don't crash if active_tips_data is NULL. (#382904, Li Yuan)
1903 2007-03-11 Matthias Clasen <mclasen@redhat.com>
1905 * gtk/gtktextview.c (gtk_text_view_set_buffer): Set first_para_mark
1906 to NULL. (#396805, Colin Leroy, patch by Mariano Suárez-Alvarez)
1908 2007-03-12 Kristian Rietveld <kris@gtk.org>
1910 * gtk/gtkfilechooserdefault.c (check_save_entry): immediately
1911 bail out if current_folder is NULL. (#350988, lots of reporters,
1912 modified patch by Jan Darmochwal).
1914 2007-03-10 Kristian Rietveld <kris@gtk.org>
1916 * gtk/gtktreeview.c (gtk_tree_view_search_dialog_hide): only
1917 hide the search dialog and send focus events if the search dialog
1918 is currently visible.
1920 2007-03-10 Richard Hult <richard@imendio.com>
1922 * gdk/quartz/gdkdrawable-quartz.c:
1923 (gdk_quartz_ref_cairo_surface): Reuse the surface during its lifetime.
1924 (gdk_quartz_drawable_get_context): Update for the new quartz cairo
1925 surface API (#410442). Don't lock focus unless called outside of an
1927 (gdk_quartz_drawable_release_context): Only flush the CG context and
1928 unlock focus if called outside of expose.
1929 (_gdk_quartz_drawable_finish): New function, used to free the cached
1932 * gdk/quartz/gdkwindow-quartz.c:
1933 (gdk_window_impl_quartz_begin_paint_region): A few small style changes.
1934 (_gdk_window_impl_quartz_get_type): No need to make the type info
1936 (gdk_window_quartz_process_all_updates): Move the autorelease pool
1937 allocation and freeing outside the loop.
1938 (_gdk_windowing_window_destroy): Finish the drawable.
1939 (move_resize_window_internal): Small cleanup and remove comment.
1941 * gdk/quartz/gdkpixmap-quartz.c: Finish the drawable.
1943 2007-03-10 Richard Hult <richard@imendio.com>
1945 * gdk/quartz/gdkprivate-quartz.h: Add missing function signature to fix
1948 2007-03-10 Richard Hult <richard@imendio.com>
1950 * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_get_name): Plug a leak.
1952 2007-03-10 Richard Hult <richard@imendio.com>
1954 * gdk/quartz/GdkQuartzView.c: Remove unneccesary exposure mask check.
1956 2007-03-10 Richard Hult <richard@imendio.com>
1958 * gdk/quartz/gdkevents-quartz.c: (gdk_screen_get_setting): Don't set
1959 the font name here, leave that to themes, fixes #387508.
1961 2007-03-10 Kristian Rietveld <kris@gtk.org>
1963 * gtk/gtktreemodelsort.c (gtk_tree_model_sort_ref_node),
1964 (gtk_tree_model_sort_real_unref_node): when (un)reffing an
1965 element, also (un)ref its parent elements. (Fixes #364946,
1966 reported by many, testcase by Andreas Koehler).
1968 2007-03-10 Matthias Clasen <mclasen@redhat.com>
1970 * gtk/gtkprintoperation-unix.c: Initialize the do_preview
1971 field of PrintResponseData. (#396703, Christian Persch)
1973 * tests/print-editor.c: Plug some leaks.
1975 2007-03-09 Matthias Clasen <mclasen@redhat.com>
1977 * gtk/gtktextview.c (gtk_text_view_end_selection_drag):
1978 Get rid of the unused event argument. Update all callers.
1980 * gtk/gtktextview.c (gtk_text_view_focus_out): Call
1981 gtk_text_view_end_selection_drag. (#351671, Boyd Timothy)
1983 2007-03-09 Matthias Clasen <mclasen@redhat.com>
1985 * modules/input/gtkimcontextxim.c
1986 (gtk_im_context_xim_filter_keypress): Don't commit
1987 modifier-adorned characters. (#331369, #335796, Lin Ma
1990 2007-03-09 Matthias Clasen <mclasen@redhat.com>
1992 * Everywhere: Remove unnecessary NULL checks before
1993 g_free(). (#369666, Morten Welinder, Djihed Afifi)
1995 * configure.in: Check for ftw.h
1997 2007-03-09 Matthias Clasen <mclasen@redhat.com>
1999 * gtk/gtkfilesystemwin32.c (get_icon_path): Remove
2000 C99isms. (#416525, Kazuki Iwamoto)
2002 2007-03-09 Tor Lillqvist <tml@novell.com>
2004 * README.win32: Update.
2006 2007-03-08 Matthias Clasen <mclasen@redhat.com>
2008 * gdk/x11/gdkasync.c (send_event_handler): Defer the callbacks
2009 to an idle to avoid deadlock with xcb-ified libX11. (#413032,
2012 2007-03-08 Matthias Clasen <mclasen@redhat.com>
2014 * gtk/gtknotebook.c (gtk_notebook_real_insert_page):
2015 Set child visibility to FALSE here; it will be turned
2016 back on in switch_page. (#413664, Carlos Garnacho)
2018 2007-03-08 Mathias Hasselmann <mathias.hasselmann@gmx.de>
2020 * modules/engines/ms-windows/msw_style.c: Use proper border style
2021 when drawing shadow of scrolled windows on Windows XP (#168326)
2022 * modules/engines/ms-windows/xp_theme.c: Explicitly set size of
2023 element_part_map array to ensure it always is large enough.
2025 2007-03-08 Mathias Hasselmann <mathias.hasselmann@gmx.de>
2027 * gtk/gtkcombobox.c: Add shadow-type style property, set shadow-type
2028 property of GtkEntry accordingly, unify size-allocation of toggle
2029 button (#411123, patch from Mathias Hasselmann).
2030 * gtk/gtkentry.c: Add shadow-type property. Query style properties
2031 on style changes only (#411123, patch from Mathias Hasselmann).
2032 * modules/engines/ms-windows/msw_style.c: Drop combo_box_draw_box
2033 hack as GtkComboBox emits drawing requests now (#411123, patch
2034 from Mathias Hasselmann).
2036 2007-03-08 Mathias Hasselmann <mathias.hasselmann@gmx.de>
2038 * gtk/gtkscrolledindow.c: Improve look of GtkScrolledWindow on Windows
2039 by implementing a scrollbars-within-bevel style property. (#168326)
2041 2007-03-08 Mathias Hasselmann <mathias.hasselmann@gmx.de>
2043 * gtk/gtkfilesystemwin32.c: Use Windows shell icons. Icons are
2044 stored in the current theme with the name
2045 "gtk-win32-shell-icon;PATH;INDEX". PATH and INDEX reference shell
2046 icons as reported by SHGetFileInfoW. (#412221)
2048 2007-03-07 Matthias Clasen <mclasen@redhat.com>
2050 * gtk/gtkexpander.c (gtk_expander_paint_focus): Draw the
2051 focus around the arrow if there is no label widget.
2052 (#124045, Cody Russell)
2054 2007-03-07 Matthias Clasen <mclasen@redhat.com>
2056 * gtk/gtkcombo.c: (gtk_combo_init):
2057 * gtk/gtkcombobox.c: (gtk_combo_box_set_popup_widget),
2058 (gtk_combo_box_menu_setup):
2059 Set names on the popup widgets to make them themable. (#414975,
2062 2007-03-07 Michael Natterer <mitch@imendio.com>
2064 * gtk/gtkcellrendereraccel.c: use multihead safe ungrab functions
2065 instead of gdk_keyboard_ungrab() and gdk_pointer_ungrab(), remove
2066 empty finalize() implementation, some cosmetic cleanup
2069 2007-03-06 Chris Wilson <chris@chris-wilson.co.uk>
2071 * gtk/gtkicontheme.c (update_current_theme), (gtk_icon_theme_init),
2072 (do_theme_change), (gtk_icon_theme_set_custom_theme),
2074 Be careful not to trigger a style reset before we have loaded
2075 the icon theme. (#414875).
2077 2007-03-06 Tor Lillqvist <tml@novell.com>
2080 * gtk/Makefile.am: Further fixes for building on Win32 outside
2081 srcdir. (#413492, Mathias Hasselmann)
2083 2007-03-04 Ihar Hrachyshka <iharh@gnome.org>
2085 * configure.in: Added be@latin to ALL_LINGUAS. Problems seems to be
2088 2007-03-04 Claudio Saavedra <csaavedra@alumnos.utalca.cl>
2090 * configure.in: Removed be@latin from ALL_LINGUAS, as it's currently
2093 2007-03-04 Ihar Hrachyshka <iharh@gnome.org>
2095 * configure.in: Added be@latin to ALL_LINGUAS
2097 2007-03-03 Guillaume Savaton <llumeao@gmail.com>
2099 * configure.in: Added Esperanto (eo) to ALL_LINGUAS
2101 2007-03-01 Matthias Clasen <mclasen@redhat.com>
2103 * gtk/gtksettings.c: Always store gtk-color-scheme
2104 values from all sources in the ColorSchemeData struct
2105 and ignore the property_value for gtk-color-scheme.
2106 This fixes #412596, reported by Thomas Wood.
2108 2007-02-28 Matthias Clasen <mclasen@redhat.com>
2110 * gtk/gtksettings.c: Make color scheme update properly
2111 when changing themes. (#402131, Benjamin Berg)
2113 2007-02-28 Matthias Clasen <mclasen@redhat.com>
2115 * gtk/gtkrc.c: Don't leak references to the color-hash
2116 gotten from GtkSettings. (#409357, Benjamin Berg)
2118 2007-02-28 Tristan Van Berkom <tvb@gnome.org>
2120 * gtk/gtkradiobutton.c: Fixed a warning from
2121 g_object_set (radiobutton, "group", NULL, NULL).
2123 2007-02-26 Matthias Clasen <mclasen@redhat.com>
2125 Apply a patch by Carlos Garnacho to fix several problems
2126 with filechooser size handling (#325477, #151169, 143213,
2129 * gtk/gtkfilechooserdefault.c: Increase NUM_LINES slightly.
2130 (browse_widgets_create): Don't force the paned position to 200.
2131 (find_good_size_from_style): Take the size of the extra widget
2134 * gtk/gtkfilechooserdialog.c (file_chooser_widget_update_hints):
2135 Accept a minimal width parameter. Update all callers.
2137 2007-02-26 Matthias Clasen <mclasen@redhat.com>
2139 * gtk/gtkprintunixdialog.c: Change the label to "Pages per side",
2140 which is more accurate, suggested by Tim Waugh. String change!
2142 2007-02-26 Matthias Clasen <mclasen@redhat.com>
2144 * gtk/gtkprinteroptionwidget.c: Make the folder selection for
2145 print-to-file work. Reported by Ian Collier.
2147 2007-02-26 Chris Wilson <chris@chris-wilson.co.uk>
2149 Bug 409101 – invalid read to gtkicontheme.c insert_theme(), might cause gnome-panel crash
2151 * gtk/gtkicontheme.c: (scan_directory):
2152 Reorder the replacement of the shared base_name key, so that we
2153 avoid dereferencing the string in the icon_theme->all_icon
2154 hash table after freeing it from the dir->icons hash table.
2156 2007-02-26 Tor Lillqvist <tml@novell.com>
2158 * gdk/win32/gdkwindow-win32.c (gdk_window_set_icon_name): Add
2159 comment clarifying that "icon name" here is not related to the
2160 freedesktop.org icon naming stuff.
2162 2007-02-23 Dom Lachowicz <domlachowicz@gmail.com>
2164 * modules/engines/ms-windows/msw_style.c: Bug 411118 - bad bevel for
2165 progress bar on windows classic. Match from Mathias Hasselmann.
2167 2007-02-19 Tor Lillqvist <tml@novell.com>
2169 * gdk/win32/gdkinput.c
2170 (gdk_device_finalize, gdk_device_class_init): Remove.
2171 (gdk_device_get_type): Drop class init function. The X11 version
2172 doesn't have one either.
2173 (gdk_devices_list): Call gdk_display_list_devices() on _gdk_display.
2174 (gdk_display_list_devices): Check that the argument is
2177 * gdk/win32/gdkinput-win32.h (GdkAxisInfo, GdkDevicePrivate):
2178 Cleanup: remove unused fields.
2179 * gdk/win32/gdkinput-win32.c: Corresponding changes. Fix function
2180 names in a few debugging printouts.
2182 2007-02-18 Matthias Clasen <mclasen@redhat.com>
2184 * gtk/gtktextlayout.c (gtk_text_layout_move_iter_visually):
2185 Ignore invisible text when going to end of the previous line.
2188 2007-02-18 Richard Hult <richard@imendio.com>
2190 * gdk/quartz/gdkwindow-quartz.c:
2191 (gdk_window_quartz_process_all_updates),
2192 (_gdk_windowing_window_destroy): Setup release pools to plug two leaks,
2193 patch from Erik van Pienbroek, fixes bug #396649.
2195 2007-02-18 Richard Hult <richard@imendio.com>
2197 * gdk/quartz/gdkevents-quartz.c: Add stub for
2198 gdk_display_add_client_message_filter, patch from Taybin Rutkin. Fixes
2201 * gdk/quartz/gdkprivate-quartz.h: Add prototypes to fix build warnings.
2203 2007-02-18 Richard Hult <richard@imendio.com>
2205 * gdk/quartz/GdkQuartzView.h:
2206 * gdk/quartz/GdkQuartzWindow.h:
2207 * gdk/quartz/gdkquartz.h: Import AppKit.h instead of Quartz.h.
2208 * gdk/quartz/gdkscreen-quartz.c: (get_mm_from_pixels): Don't use
2209 userSpaceScaleFactor for 10.3. Those changes bring us closer to working
2210 on panther, patch from Mathias Hasselmann.
2212 * gdk/quartz/gdkeventloop-quartz.c: Add includes to fix build warnings.
2214 2007-02-16 Behdad Esfahbod <behdad@gnome.org>
2216 * gdk/gdkpango.c (gdk_pango_layout_get_clip_region): Use PANGO_PIXELS
2217 instead of division. (#334617)
2219 2007-02-16 Kristian Rietveld <kris@gtk.org>
2221 * gtk/gtktreeprivate.h: add cursor_offset field.
2223 * gtk/gtktreeview.c (gtk_tree_view_init),
2224 (gtk_tree_view_move_cursor_page_up_down): fix off by one error
2225 in page up/down handling by memorizing the offset into the cursor
2226 row. (Fixes #399809, reported by Bruce Bowler).
2228 2007-02-16 Kristian Rietveld <kris@gtk.org>
2230 * gtk/gtktreeview.c (gtk_tree_view_search_dialog_hide): send
2231 a focus-in event to the tree view after hiding the search dialog.
2232 (#356515, Rich Burridge, Peter Parente).
2234 2007-02-16 Kristian Rietveld <kris@imendio.com>
2236 * tests/testtooltips.c (query_tooltip_text_view_cb): also handle
2237 keyboard tooltips. (#408325, Matthias Clasen).
2239 2007-02-16 Xan Lopez <xan@gnome.org>
2241 * gtk/gtkcombobox.c (gtk_combo_box_expose_event): Cleanup the logic
2242 in expose event handler. Reviewed by Matthias Clasen, #406112
2244 2007-02-16 Matthias Clasen <mclasen@redhat.com>
2246 * gtk/gtkmain.c: Run pre_parse_hook only once. (#403139, Kjartan
2249 2007-02-15 Matthias Clasen <mclasen@redhat.com>
2251 * gdk/x11/gdmain-x11.c (_gdk_xgrab_check_button_event): Be more
2252 careful when checking for ButtonRelease events that end implicit
2253 grabs. (#386618, Christof Krüger)
2255 2007-02-15 Matthias Clasen <mclasen@redhat.com>
2257 * gtk/gtktextbtree.c (_gtk_text_btree_delete): Free the lines
2258 even if there are no views. (#408018, Albert Huang)
2260 2007-02-15 Cody Russell <bratsche@gnome.org>
2262 * gdk/win32/gdkevents-win32.c: Make sure we get enough main context
2263 iterations while we're resizing so that the window contents are resized
2264 more smoothly (#389765).
2266 * gdk/win32/gdkevents-win32.c: Fix flickering widgets when window contents
2267 are resized (#310522).
2269 2007-02-15 Matthias Clasen <mclasen@redhat.com>
2271 * gtk/updateiconcache.c: Handle symlinked .icon files
2272 intelligently; also avoid storing duplicate strings.
2274 2007-02-15 Michael Natterer <mitch@imendio.com>
2276 * gtk/gtkmenushell.c: remove two antique function typedefs that
2277 are probably obsolete for ages.
2279 2007-02-14 Stefan Kost <ensonic@users.sf.net>
2281 reviewed by: Matthias Clasen <mclasen@redhat.com>
2283 * configure.in: determine installation prefixes of dependent libs to
2284 crossreference docs (#407146).
2286 2007-02-14 Kristian Rietveld <kris@imendio.com>
2288 * gtk/gtktooltip.c (child_location_foreach): check return value
2289 of gtk_widget_translate_coordinates() so we cannot end up
2290 using uninitialized x, y values. (#407863, patch from Carlos
2293 2007-02-14 Kristian Rietveld <kris@imendio.com>
2295 * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_realize_button):
2296 use TREE_VIEW_DRAG_WIDTH/2 when calculating the drag window
2297 position instead of a hardcoded value. (Taken from maemo-gtk).
2299 2007-02-14 Michael Natterer <mitch@imendio.com>
2301 * gtk/gtkmenu.c (gtk_menu_motion_notify): don't forget to set the
2302 state of the synthesized GDK_ENTER_NOTIFY event. Fix taken from
2305 2007-02-13 Kristian Rietveld <kris@imendio.com>
2307 * gtk/gtktooltip.c (gtk_tooltip_hide_tooltip): stop any
2308 pending tooltip timeout. (Fixes #406110, Carlos Garnacho).
2310 2007-02-10 Emmanuele Bassi <ebassi@gnome.org>
2312 * gtk/gtkrecentchoosermenu.c: Fix the english of the comment;
2313 remove some type checking; use better variable naming for the
2314 internal menu item markers.
2316 2007-02-09 Emmanuele Bassi <ebassi@gnome.org>
2318 * gtk/gtkrecentchoosermenu.c: Add support for both prepending
2319 and appending custom menu items.
2321 (gtk_recent_chooser_menu_constructor): Add a placeholder menu
2322 item for the empty menu case, and for giving us a starting
2323 point for the recent items populating process.
2325 (gtk_recent_chooser_menu_insert_item),
2326 (gtk_recent_chooser_menu_dispose_items): Insert an item at
2327 the position following the placeholder (and find that position
2330 (idle_populate_func), (idle_populate_clean_up): Show the
2331 placeholder menu item, instead of creating one each time.
2333 (gtk_recent_chooser_menu_populate): Kill some indirections
2334 and hide the placeholder before populating the menu.
2336 (set_recent_manager): Remember to remove the idle population
2337 source if the manager changes.
2339 * tests/testrecentchoosermenu.c: Test the appending and
2340 prepending of the menu items to the recent chooser menu
2343 2007-02-08 Emmanuele Bassi <ebassi@gnome.org>
2345 * gtk/gtkrecentchoosermenu.c (idle_populate_func): Keep count
2346 of the displayed items to build the menu items mnemonic instead
2347 of the overall item count. (#377164)
2349 (idle_populate_clean_up): Append a menu item if all the items
2350 got filtered in the idle populate function. (#405696)
2352 * tests/Makefile.am:
2353 * tests/testrecentchoosermenu.c: Add a test for the
2354 GtkRecentChooserMenu widget.
2356 Thu Feb 8 13:07:08 2007 Tim Janik <timj@imendio.com>
2358 * applied patch from Xan Lopez which adds GTK_BUTTONBOX_CENTER to
2359 GtkButtonBox (bug #336159).
2362 * gtk/gtkvbbox.c, gtk/gtkhbbox.c, gtk/gtkbbox.c:
2363 support GTK_BUTTONBOX_CENTER.
2365 * tests/testbbox.c: new button box test, which allows testing of
2366 the various button box properties.
2368 * tests/testgtk.c: added GTK_BUTTONBOX_CENTER. to button box test.
2370 2007-02-07 Cody Russell <bratsche@gnome.org>
2372 * gdk/gdk.symbols: Add gdk_event_request_motions
2374 Wed Feb 7 19:03:28 2007 Tim Janik <timj@gtk.org>
2376 * gtk/gtkentry.c (gtk_entry_motion_notify): fixed motion request
2377 condition which was wrongly ported with my last commit.
2379 Tue Feb 6 15:53:59 2007 Tim Janik <timj@imendio.com>
2381 * gtk/gtktextview.c (gtk_text_view_motion_event):
2382 * gtk/gtkspinbutton.c (gtk_spin_button_motion_notify):
2383 * gtk/gtkaboutdialog.c (credits_motion_notify_event):
2384 * gtk/gtkhruler.c (gtk_hruler_motion_notify):
2385 * gtk/gtkvruler.c (gtk_vruler_motion_notify):
2386 * gtk/gtkentry.c (gtk_entry_motion_notify):
2387 * gtk/gtktooltip.c (_gtk_tooltip_handle_event):
2388 * gtk/gtkhsv.c (gtk_hsv_motion): call gdk_event_request_motions()
2389 for new motion events after receiving motion hints.
2391 * gdk/gdkevents.[hc]: added gdk_event_request_motions().
2393 2007-02-06 Kristian Rietveld <kris@imendio.com>
2395 * gtk/gtktooltip.c (find_topmost_widget_coords_from_event):
2396 remove unused get of has_tooltip.
2398 * tests/testtooltips.c (query_tooltip_tree_view_cb): use the
2399 portable g_snprintf instead of snprintf.
2401 2007-02-06 Michael Natterer <mitch@imendio.com>
2403 * gtk/gtktooltip.c (gtk_tooltip_finalize): chain up.
2405 (gtk_tooltip_show_tooltip): move variables and code to local
2406 scope. Fixes warnings about maybe uninitialized variables.
2408 2007-02-06 Kristian Rietveld <kris@imendio.com>
2414 * gtk/gtk.symbols: build system foo.
2416 * gtk/gtkmain.c (gtk_main_do_event): call tooltip event handler
2417 hook for appropriate events.
2419 * gtk/gtkmarshalers.list: add BOOLEAN:INT,INT,BOOLEAN,OBJECT.
2421 * gtk/gtkrc.c: add style for gtk-tooltip.
2423 * gtk/gtksettings.c (gtk_settings_class_init): make the
2424 different tooltip timeouts configurable.
2426 * gtk/gtkwidget.[ch]: add new properties, signals, make sure
2427 tooltips are hidden on unmap, destroy, update window event
2428 mask on realize, hook into focus change and show help
2431 * gtk/gtkwindow.h: move GtkWindow typdef to gtkwidget.h ...
2433 * gtk/gtktooltip.[ch]: new files.
2436 * tests/testtooltips.c: add test application.
2438 2007-02-05 Dom Lachowicz <domlachowicz@gmail.com>
2440 * modules/engines/ms-windows/msw_style.c: Fix bug 404506, caused
2441 by prematurely releasing a DC. By Hiroyuki Yamamoto
2442 * modules/engines/ms-windows/msw_style.c: Fix bug 403470 - leaking
2443 pixbufs when drawing rotated tabs. By Daniel Atallah
2445 2007-02-05 Michael Natterer <mitch@imendio.com>
2447 * gtk/gtksettings.c: add new boolean settings gtk-enable-accels
2448 and gtk-enable-mnemonics which enable/disable accelerators and
2449 mnemonics (bug #72375, based on a patch from Tommi Komulainen).
2451 * gtk/gtkwindow.c (gtk_window_activate_key)
2452 * gtk/gtkmenushell.c (gtk_menu_shell_key_press): don't invoke them
2453 if the resp. setting is FALSE.
2455 * gtk/gtkaccellabel.c (gtk_accel_label_refetch)
2456 * gtk/gtklabel.c (gtk_label_set_pattern_internal): don't display
2457 them if the setting is FALSE.
2459 * gtk/gtklabel.c: added signal connection to the screen's settings
2460 object and traverse all widgets on the screen when the setting
2461 changes. It's slightly ugly to also update GtkAccelLabels here,
2462 but less ugly than connecting and traversing all widgets twice.
2464 2007-02-05 Michael Natterer <mitch@imendio.com>
2466 * gtk/gtktextbuffer.h (enum GtkTextBufferTargetInfo): changed
2467 values from G_MAXUINT-0, -1, -2 to -1, -2, -3 so we stay within
2468 ansi C enum value limits. Fixes bug #46757.
2470 2007-02-03 Soren Sandmann <sandmann@daimi.au.dk>
2472 * gtk/gtksequence.[ch]: Remove these files since GSequence has
2473 been moved into GLib.
2475 * gtk/gtkliststore.c: Port to GSequence instead of GtkSequence.
2477 * configure.in: Require glib-2.13.0
2479 2007-02-04 Tor Lillqvist <tml@novell.com>
2481 * gdk/win32/gdkcursor-win32.c: Don't define BITMAPV5HEADER on
2482 mingw with w32api >= 3.8, which has it in wingdi.h. (#403896)
2484 2007-02-02 Kristian Rietveld <kris@gtk.org>
2486 * gtk/gtktreeview.c (gtk_tree_view_row_changed): remove unused
2487 style_get of vertical-separator. (#403165, Chris Wilson).
2489 2007-02-02 Christian Persch <chpe@svn.gnome.org>
2491 * gtk/gtkfilechoosersettings.c: (get_config_filename),
2492 (ensure_settings_read), (_gtk_file_chooser_settings_init),
2493 (_gtk_file_chooser_settings_set_show_hidden),
2494 (_gtk_file_chooser_settings_set_expand_folders),
2495 (_gtk_file_chooser_settings_save): Use a simple key file instead of a
2496 markup file. Bug #399592.
2498 2007-02-02 Mariano Suárez-Alvarez <mariano@gnome.org>
2500 * gtk/gtkcellrenderertext.c(gtk_cell_renderer_text_class_init):
2501 be a little more helpful with the docs on GtkCellRendererText:alignment.
2504 2007-02-01 Michael Natterer <mitch@imendio.com>
2506 * gtk/gtkmenu.c (gtk_menu_paint): pass &event->area to
2507 gtk_paint_box() calls.
2509 2007-02-01 Michael Natterer <mitch@imendio.com>
2511 * gtk/gtkmenu.c (gtk_menu_button_press)
2512 (gtk_menu_button_release)
2513 (gtk_menu_button_scroll): remove redundant and confusing
2514 if (GTK_IS_MENU (widget)) checks because "widget" is always a
2517 Thu Feb 1 12:22:06 2007 Tim Janik <timj@imendio.com>
2519 * gtk/gtkcombobox.c (gtk_combo_box_list_destroy): remove extra reference
2520 that gtkcombobox keeps on priv->popup_widget if it's a tree view.
2522 2007-01-31 Christian Persch <chpe@svn.gnome.org>
2524 * gtk/gtkaboutdialog.c: (update_credits_button_visibility),
2525 (gtk_about_dialog_set_authors), (gtk_about_dialog_set_documenters),
2526 (gtk_about_dialog_set_artists),
2527 (gtk_about_dialog_set_translator_credits): Hide the Credits button iff
2528 there are no credits to show. Bug #402806.
2530 2007-01-31 Tor Lillqvist <tml@novell.com>
2532 * gdk/win32/gdkinput-win32.c (print_cursor): New debugging
2534 (_gdk_input_wintab_init_check): Call it when debugging output is
2536 (_gdk_input_wintab_init_check): Skip duplicated cursors for Wacom
2537 tablets. The Wacom driver reports duplicated cursors with
2538 physid==0. Fix verified by Robert Ögren.
2540 2007-01-30 Felix Riemann <friemann@svn.gnome.org>
2542 * modules/printbackends/file/gtkprintbackendfile.c:
2543 (file_printer_get_options): Fix leaked string. Fixes bug #402565.
2545 2007-01-30 Matthias Clasen <mclasen@redhat.com>
2547 * gdk/x11/gdkwindow-x11.c (gdk_x11_window_move_to_current_desktop):
2548 (gdk_x11_window_set_user_time): Be more careful about toplevel
2549 possibly being NULL. (#402453, Sebastian Bacher)
2551 Tue Jan 30 12:09:56 2007 Tim Janik <timj@gtk.org>
2553 * gtk/gtksettings.c: cleaned up ::color-hash registration to not abuse
2554 class_n_properties and leave an uninitialized value array behind.
2556 2007-01-29 Michael Natterer <mitch@imendio.com>
2558 * gtk/gtkmenuitem.c (gtk_menu_item_select)
2559 (gtk_menu_item_deselect): queue a draw on the parent_menu_item of
2560 this menu item's menu, to enable themeing menu items depending on
2561 whether something is selected in their submenu (patch taken from
2564 2007-01-28 Matthias Clasen <mclasen@redhat.com>
2566 * gtk/gtktoolbar.c: Reinstate gtk_toolbar_content_new_compatibility()
2567 that was mistakenly "cleaned up" a while ago. Also
2568 revert a problematic change to the screen_changed
2569 handler. (#401598, Søren Sandmann)
2571 2007-01-28 Matthias Clasen <mclasen@redhat.com>
2573 * gtk/gtkframe.c (gtk_frame_size_allocation): Fix a
2574 problem with large y thickness. (#136592, Xan Lopez)
2576 2007-01-28 Matthias Clasen <mclasen@redhat.com>
2578 * gtk/gtkaction.c (gtk_action_new): Use canonical
2581 2007-01-27 Matthias Clasen <mclasen@redhat.com>
2583 * gtk/gtknotebook.c (gtk_notebook_draw_arrow):
2584 (gtk_notebook_draw_focus): Avoid some unnecessary
2585 gtk_widget_get_style() calls.
2587 2007-01-27 Matthias Clasen <mclasen@redhat.com>
2590 * gtk/gtktoolitem.c:
2591 * gtk/gtktoolbutton.c: Rearrange things so that setting
2592 multiple properties causes not more than a single
2593 reconstruction of the contents.
2595 * gtk/gtkaction.c (connect_proxy): Set all tool button
2596 properties in one go.
2598 2007-01-27 Matthias Clasen <mclasen@redhat.com>
2600 * gtk/gtkstatusicon.c:
2601 * gtk/gtktrayicon-x11.c: Fix GtkStatusIcon to not
2602 take up space on the panel if it is invisible. (340110, Christian
2605 * tests/teststatusicon.c:
2606 * tests/Makefile.am: Updates
2608 2007-01-27 Matthias Clasen <mclasen@redhat.com>
2612 * gtk/gtk.symbols: Add deprecation guards for gtk_rc_style_ref/unref
2613 and the old file selector. (#348256)
2615 2007-01-26 Matthias Clasen <mclasen@redhat.com>
2617 * gtk/gtkiconview.c: Documentation fixes (#400530, Anders Brander)
2619 2007-01-26 Matthias Clasen <mclasen@redhat.com>
2621 * gtk/updateiconcache.c: Check the mtime of all directories,
2622 not just the toplevel, if ftw() is available. (#331671, Behdad
2625 * configure.in: Check for ftw.h.
2627 2007-01-26 Michael Natterer <mitch@imendio.com>
2629 * modules/input/gtkimcontextxim.c (gtk_im_context_xim_finalize):
2630 destroy the XIM only if it exists. While the code does look safe
2631 in general, there can be corner cases where the "reconnecting"
2632 boolean being FALSE does not correspond to the XIM being
2633 allocated (fixes #329450, fix taken from maemo-gtk).
2635 Fri Jan 26 13:07:07 2007 Tim Janik <timj@imendio.com>
2637 * gtk/gtkstyle.c (draw_insertion_cursor): clamp cursor coordinates to
2638 window bounds (fix from Maemo Gtk).
2640 2007-01-26 Michael Natterer <mitch@imendio.com>
2642 * gtk/gtkentrycompletion.c (gtk_entry_completion_insert_prefix):
2643 only block/unblock completion->priv->insert_text_id if it is
2644 actually connected. While this can't happen the way GtkEntry
2645 itself uses the completion, it's still public API and should not
2646 blindly call functions that will spit warnings (fix taken from
2649 2007-01-25 Matthias Clasen <mclasen@redhat.com>
2651 * gdk/gdkwindow.c: Reduce locking overhead by not repeatedly getting
2652 the paintable iface.
2654 2007-01-24 Michael Natterer <mitch@imendio.com>
2656 * gtk/gtkwidget.c (gtk_widget_set_state): revert generic disabling
2657 of PRELIGHT state for the reasons given in bug #135666. Widget
2658 states are sometimes abused or otherwise used wrongly for historic
2659 reasons, causing this part of the patch to break e.g. menu items.
2661 2007-01-24 Roozbeh Pournader <roozbeh@farsiweb.info>
2663 * README: Remove mention of no-longer-existing PATCH
2664 keyword in bugzilla. (#396899)
2666 2007-01-23 Carlos Garcia Campos <carlosgc@gnome.org>
2668 * gtk/gtkpagesetup.c
2669 (gtk_page_setup_set_paper_size_and_default_margins): Fix memory leak.
2672 2007-01-22 Chris Wilson <chris@chris-wilson.co.uk>
2674 Bug 399314 – Add G_GNUC_WARN_UNUSED_RESULT to gtk_style_attach
2677 Cause gcc to issue a warning if the style returned from
2678 gtk_style_attach is not used. Failure to update
2679 widget->style causes some very difficult to reproduce bugs,
2680 eg Bug 353498 – crash in Terminal: changing icon theme.
2682 2007-01-19 Michael Emmel <mike.emmel@gmail.com>
2684 * gdk/directfb/gdkevents-directfb.c: added fixes for window
2685 crossing events frm Attilio Fiandrotti<attilio.fiandrotti@gmail.com>
2687 2007-01-19 Matthias Clasen <mclasen@redhat.com>
2689 * gtk/gtkcalendar.c: Fix build breakage.
2691 2007-01-19 Kristian Rietveld <kris@imendio.com>
2693 * gtk/gtktreeview.c (gtk_tree_view_motion_bin_window),
2694 (add_scroll_timeout), (gtk_tree_view_drag_motion): factor out
2695 add_scroll_timeout(). (taken from maemo-gtk).
2697 2007-01-18 Matthias Clasen <mclasen@redhat.com>
2699 * gtk/gtkcalendar.c: Fix problems with the initial
2700 focus in GtkCalendar. (#397783, Vincent Untz)
2702 2007-01-19 Robert Ögren <gtk@roboros.com>
2704 Fix for bug #143460 - missed tablet clicks on Windows
2706 * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check):
2707 Request absolute reporting of tablet button state, and cut down
2708 the packet queue size a bit.
2709 (_gdk_input_other_event): Change button state handling
2710 accordingly. Also drop the no longer necessary code that detects
2711 missed clicks/releases for button 1. The switch to absolute button
2712 state should prevent missed events for all buttons. Additionally,
2713 swap button 2 and 3.
2714 (_gdk_input_grab_pointer): Don't reset button_state, that will only
2715 cause a new press event as soon as the next tablet packet arrives.
2717 2007-01-19 Tor Lillqvist <tml@novell.com>
2719 Build Wintab support always on Windows. Don't require the Wintab
2722 * configure.in: Drop the --with-wintab option. Drop the
2723 HAVE_WINTAB feature test macro and Automake variable.
2726 * config.h.win32.in: Drop HAVE_WINTAB.
2728 * gdk/win32/gdkevents-win32.c
2729 * gdk/win32/gdkinput.c
2730 * gdk/win32/gdkinput-win32.h
2731 * gdk/win32/gdkinput-win32.c
2732 * gdk/win32/gdkmain-win32.c: Make HAVE_WINTAB ifdef blocks
2735 * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Try
2736 to load wintab32.dll dynamically here. If it is found look up the
2737 handful Wintab functions we use.
2738 (rest of file): Use these function pointers instead of calling the
2739 functions from wntab32x.lib. The code in wntab32x.lib did the same
2740 thing anyway: tried to load wintab32.dll, and looked up the
2741 addresses of the actual functions from it.
2744 * gdk/win32/Makefile.am: Drop the libwntab32x hacks.
2746 * gdk/win32/wintab.h
2747 * gdk/win32/pktdef.h: New files. Copied from the Wintab
2748 SDK. Copyright blurb says: "The text and information contained in
2749 this file may be freely used, copied, or distributed without
2750 compensation or licensing restrictions."
2752 * README.win32: Update a bit. Remove the text about the Wintab
2755 2007-01-18 Tor Lillqvist <tml@novell.com>
2757 * gdk-pixbuf/Makefile.am
2759 * gdk/win32/Makefile.am
2760 * gtk/Makefile.am: Fixes for building outside srcdir on
2761 Win32. (#336819, #340013) Drop distributing the handmade .la
2762 libtool wrapper for the wntab32x library. It's too much trouble
2763 making it work when building outside srcdir. Just link to the
2764 library direcly using -Wl,win32/libwntab32x.a.
2766 2007-01-18 Michael Natterer <mitch@imendio.com>
2768 * gtk/gtkcheckbutton.c
2773 * gtk/gtkviewport.c: pass more clip rectangles to gtk_paint_foo()
2774 functions. Based on a patch from maemo-gtk (bug #398023).
2776 2007-01-17 Tor Lillqvist <tml@novell.com>
2778 * gtk-zip.sh.in: Include also the COPYING file.
2780 2007-01-17 Matthias Clasen <mclasen@redhat.com>
2782 * modules/printbackends/cups/gtkprintbackendcups.c: Don't use
2783 httpGetFd() when building against cups 1.1
2785 2007-01-17 Tor Lillqvist <tml@novell.com>
2787 Proper fix for #396175:
2789 * gtk/gtkimmulticontext.c: Revert change by Hans Breuer below: Do
2790 include gtkprivate.h. On Win32 we do want to use the redefinition
2791 of GTK_LOCALEDIR as a call to the function _gtk_get_localedir().
2793 * gtk/gtkimmodule.c: Instead, correct the prefix also on
2794 simple_context_info.domain_dirname. Do the prefix corrections
2795 always on Win32, not just when GTK_LIBDIR is defined. i.e., until
2796 now they were done only in the autoconfiscated gcc builds. Hans
2797 needs to make sure GTK_LIBDIR and GTK_LOCALEDIR are defined also
2799 (correct_localedir_prefix): New function, like
2800 correct_libdir_prefix(), but for GTK_LOCALEDIR, in case
2801 GTK_LOCALEDIR is not a descendant of GTK_LIBDIR.
2802 (gtk_im_module_initialize): Thus call correct_localedir_prefix()
2803 on the domain_dirname instead of correct_libdir_prefix().
2804 (_gtk_im_module_list): Call correct_localedir_prefix() on
2805 simple_context_info.domain_dirname.
2807 2007-01-16 Matthias Clasen <mclasen@redhat.com>
2809 * gtk/gtkrange.c (range_grab_remove): Queue a redraw when the
2810 grab changes. (#396470, Benjamin Berg)
2812 2007-01-15 Emmanuele Bassi <ebassi@gnome.org>
2814 * gtk/gtkrecentchoosermenu.c: Ellipsize the menu items label
2815 if they grow too much. (#357303)
2817 2007-01-14 Matthias Clasen <mclasen@redhat.com>
2819 * gtk/gtkicontheme.c (theme_lookup_icon): When finding a matching
2820 non-scalable dir, keep going and look for a closer match.
2821 (#395830, Luca Ferretti)
2823 2007-01-14 Christian Persch <chpe@svn.gnome.org>
2825 * gtk/gtkclipboard.c: (gtk_clipboard_set_text),
2826 (gtk_clipboard_set_image): Use gtk_target_table_new_from_list and
2827 gtk_target_table_free instead of duplicating the code. Bug #396493.
2829 2007-01-13 Matthias Clasen <mclasen@redhat.com>
2831 * gtk/gtkuimanager.c: Don't crash if menu or toolbar
2832 positions can't be found. (#396161, Hans Breuer)
2834 2007-01-13 Matthias Clasen <mclasen@redhat.com>
2836 * gtk/gtkselection.c (_gtk_selection_request): Plug
2837 memory leaks. (#396160, Carlos Garcia Campos)
2839 2007-01-13 Matthias Clasen <mclasen@redhat.com>
2841 * configure.in: Link libgtk against Xfixes. (#396074,
2844 2007-01-13 Matthias Clasen <mclasen@redhat.com>
2846 * gtk/gtkradiobutton.c (gtk_radio_button_focus): Avoid
2847 a compiler warning. (#395045, Chris Wilson)
2849 2007-01-13 Hans Breuer <hans@breuer.org>
2851 * gtk/gtkprintoperation-win32.c : take the custom tab label from
2852 gtk_print_operation_set_custom_tab_label() into account (bug #390746).
2854 * gtk/gtkimmulticontext.c : don't include "gtkprivate.h" to avoid
2855 differing definitions of GTK_LOCALEDIR (bug #396175).
2857 * gtk/gtktreeview.c : use g_snprintf instead of snprintf, which is
2858 not available everywhere
2860 * gtk/makefile.msc.in : updated
2862 2007-01-12 Michael Natterer <mitch@imendio.com>
2864 * gtk/gtkentry.c (gtk_entry_button_press): don't add
2865 entry->scroll_offset to entry->drag_start_y. Fixes the entry
2866 starting drags after ridiculously small mouse movements.
2868 2007-01-11 Richard Hult <richard@imendio.com>
2870 * demos/gtk-demo/main.c: (load_file): Close the file after it's
2871 loaded (bug #395316).
2873 2007-01-11 Kjartan Maraas <kmaraas@gnome.org>
2875 * gtk/gtkfilesystemunix.c: (expand_tilde):
2876 Make a single tilde go to $HOME in the location entry.
2877 Patch from Yevgen Muntyan. Closes the gtk+ part of
2880 2007-01-10 Behdad Esfahbod <behdad@gnome.org>
2882 * gdk/gdkpango.c (gdk_draw_layout_with_colors):
2883 * gtk/gtklabel.c (gtk_label_size_request):
2884 Use pango_matrix_transform_rectangle(). (#340141)
2886 * configure.in: Bump pango requirement to 1.15.3.
2888 2007-01-10 Kristian Rietveld <kris@imendio.com>
2890 * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_init):
2891 refactor to initialize indicator_size to TOGGLE_WIDTH instead
2892 of the hardcoded value of 12.
2894 2007-01-09 Matthias Clasen <mclasen@redhat.com>
2896 * configure.in: Fix the directfb cairo test. (#394855,
2899 2007-01-09 Behdad Esfahbod <behdad@gnome.org>
2901 * configure.in: Fix comment for --with-included-loaders. That option
2902 affects builds with module loading enabled too.
2904 2006-01-08 Peter Teichman <peter@novell.com>
2906 * gtk/gtkfilechooserdefault.c:
2907 * gtk/gtkfilechooserprivate.h:
2908 * gtk/gtkfilechoosersettings.c:
2909 * gtk/gtkfilechoosersettings.h:
2910 Save the expanded state of the folder browser with the file
2911 chooser settings. Resolves the expander portions of (#153828,
2914 2007-01-08 Emmanuele Bassi <ebassi@gnome.org>
2916 * gtk/gtkrecentchoosermenu.c (gtk_recent_chooser_menu_create_item):
2917 Don't leak the icon pixbuf after setting it to the image menu
2918 item. Found by Paolo Borelli.
2920 2007-01-08 Matthias Clasen <mclasen@redhat.com>
2922 * gtk/gtktreemodel.c (gtk_tree_path_to_string): Don't
2923 corrupt memory when faced with paths with ridiculously
2924 large indices. Found by the GTKVTS test suite.
2926 2007-01-08 Matthias Clasen <mclasen@redhat.com>
2928 * gtk/gtkmodules.c (_gtk_modules_init): Set
2929 default_display_opened before loading modules. (#393102,
2932 2007-01-07 Matthias Clasen <mclasen@redhat.com>
2934 * gtk/gtktextview.c (gtk_text_view_set_border_window_size):
2935 Call text_window_realize() with the correct parameters.
2936 (#393813, Yevgen Muntyan)
2938 2007-01-07 Matthias Clasen <mclasen@redhat.com>
2940 * gtk/gtkstatusbar.c: Move docs inline, and expand them
2943 2007-01-06 Matthias Clasen <mclasen@redhat.com>
2945 * gtk/gtklabel.c: Make line wrapping work with width-chars
2946 and max-width-chars, and simplify the storage of wrap-width.
2947 (#322580, Itai Bar-Haim)
2949 2007-01-06 Tor Lillqvist <tml@novell.com>
2951 * gdk/win32/cursor.bdf: New file. Downloaded from
2952 freedesktop.org's webcvs. Slighly edited cursors "crosshair",
2953 "diamond_cross", "draft_large", "gobbler" and "target" to fix
2954 #392504. It is possible that the same end result could have been
2955 achieved by tweaking bdfcursor.c instead.
2957 * gdk/win32/bdfcursor.c: Add optional debugging output.
2959 * gdk/win32/xcursors.h: Regenerated.
2961 2007-01-05 Matthias Clasen <mclasen@redhat.com>
2963 * gtk/gtknotebook.c (gtk_notebook_set_menu_label_text): Left-align
2964 menu labels. (#393255, Michail Crayson)
2966 2007-01-05 Kristian Rietveld <kris@gtk.org>
2968 * gtk/gtktreeview.c (gtk_tree_view_dy_to_top_row): handle tree
2969 == NULL. (Fixes #392685, reported by Yevgen Muntyan).
2971 2007-01-05 Kristian Rietveld <kris@gtk.org>
2973 * gtk/gtktreeview.c (gtk_tree_view_row_changed): do allow to
2974 invalidate nodes if the tree view is not realized. (#363147,
2975 Carlos Garnacho, Miguel Cabrera).
2977 2007-01-05 Matthias Clasen <mclasen@redhat.com>
2979 * gtk/gtkmenu.c (gtk_menu_paint): Take the scroll arrow into
2980 account when drawing the background. (#393166, Benjamin Berg)
2982 2007-01-05 Behdad Esfahbod <behdad@gnome.org>
2984 * gtk/gtklabel.c (get_layout_location): Fix broken width computation,
2987 2007-01-05 Carlos Garnacho <carlosg@gnome.org>
2989 * gtk/gtknotebook.c (gtk_notebook_size_request): take into account
2990 both scroll arrows when calculating size request in GTK_POS_LEFT or
2991 GTK_POS_RIGHT notebooks. (#393124, reported by Christian Persch)
2993 2007-01-05 Michael Natterer <mitch@imendio.com>
2995 * gtk/gtkwindow.c (gtk_window_key_release_event): chain up to
2996 the right function (fix taken from maemo-gtk).
2998 2007-01-05 Behdad Esfahbod <behdad@gnome.org>
3001 * gdk/gdkpango.c (gdk_draw_layout_line_with_colors),
3002 (gdk_draw_layout_with_colors):
3003 * gdk/gdkwindow.c (gdk_window_draw_glyphs_transformed):
3004 Avoid overflow when converting coordinates to Pango units. (#332266,
3007 2007-01-04 Matthias Clasen <mclasen@redhat.com>
3009 * gtk/gtkcombobox.c (gtk_combo_box_popup): move set_cursor
3010 after realization of the popup window, so clamp node doesn't fail.
3011 (#346616, Tommi Komulainen, patch by Kristian Rietveld).
3013 2007-01-04 Behdad Esfahbod <behdad@gnome.org>
3015 * gtk/gtklabel.c (get_layout_location): Fix uninitialized width
3018 2007-01-04 Matthias Clasen <mclasen@redhat.com>
3021 * gdk-pixbuf/Makefile.am:
3023 * gdk/win32/rc/gdk.rc.in: Cross-compilation fixes.
3024 (#392646, Yevgen Muntyan)
3026 2007-01-04 Matthias Clasen <mclasen@redhat.com>
3028 * demos/gtk-demo/textscroll.c:
3029 * gtk/gtkhandlebox.c:
3030 * gtk/gtkcolorsel.c: Fix some compiler warnings.
3032 2007-01-03 Matthias Clasen <mclasen@redhat.com>
3034 * gtk/gtktextview.c: Rework the beep-on-uninserted-text
3035 by calling the input method regardless of editability,
3036 and beeping from the commit/preedit-changed handlers.
3037 (#390514, Yevgen Muntyan)
3039 2007-01-03 Matthias Clasen <mclasen@redhat.com>
3041 Fix #332604, reported by Joe Wreschnig, patch
3042 by Jan Arne Petersen and Behdad Esfahbod.
3044 * gtk/gtklabel.c (gtk_label_size_allocate): Only
3045 set the width of the layout when necessary.
3046 (get_layout_location): Use pango_layout_get_pixel_extents()
3047 instead of pango_layout_get_width().
3049 2007-01-03 Matthias Clasen <mclasen@redhat.com>
3051 * modules/printbackends/cups/gtkprintbackendcups.c
3052 (available_choices): Don't leak conflicts.
3054 * gtk/gtkprintoperation.c (gtk_print_operation_finalize):
3055 Don't leak the status string.
3057 2007-01-03 Matthias Clasen <mclasen@redhat.com>
3059 * gtk/gtkfilechooserdefault.c (update_chooser_entry):
3060 Exit early if we can't get file info - this happens
3061 if the iter points to the row where we are editing
3062 the name for a newly created folder. (#392191, Michael
3063 Partridge, patch by Kristian Rietveld)
3065 2007-01-03 Matthias Clasen <mclasen@redhat.com>
3068 * gdk/x11/*.c: Apply a patch by Chris Wilson to
3069 avoid spurious valgrind warnings from XSendEvent()
3072 * modules/printbackends/cups/gtkprintbackendcups.c: Close
3073 the http connection after getting the PPD.
3075 * gtk/gtkprinteroptionwidget.c (filesave_changed_cb):
3078 2007-01-03 Matthias Clasen <mclasen@redhat.com>
3080 * gtk/gtkassistant.c (remove_page): If the current page
3081 is removed, always pick a different one. (#392457,
3084 2007-01-03 Matthias Clasen <mclasen@redhat.com>
3086 * modules/printbackend/cups/*.c: Coding style cleanups.
3088 2007-01-03 Matthias Clasen <mclasen@redhat.com>
3090 * configure.in: Export SED to make sourcing of
3091 libtool work. Tighten up the directfb pkgconfig check.
3093 2007-01-03 Michael Natterer <mitch@imendio.com>
3095 * gtk/gtkstyle.c (option_menu_get_props)
3096 * gtk/gtkoptionmenu.c (gtk_option_menu_get_props): Use
3097 gtk_border_free when freeing borders.
3099 2007-01-03 Matthias Clasen <mclasen@redhat.com>
3101 * gtk/gtkentry.c (get_text_area_size): Work when the
3102 entry is not realized. (#392315, Yevgen Muntyan)
3104 * gtk/gtkentry.c (gtk_entry_queue_draw): Use
3105 GTK_WIDGET_DRAWABLE() here. (#392227, Chris Wilson)
3107 * gtk/gtkentry.c (cursor_blinks): Don't get settings
3108 unnecessarily. (#392227)
3110 2007-01-02 Matthias Clasen <mclasen@redhat.com>
3112 * gtk/gtkwindow.c (gtk_window_move_resize): Only process
3113 updates on the window at hand, not on all windows, to
3114 avoid violating resize/redraw ordering constraints.
3115 (#362406, Owen Taylor)
3117 2007-01-03 Kristian Rietveld <kris@gtk.org>
3119 * gtk/gtkcellrendererprogress.c
3120 (gtk_cell_renderer_progress_class_init): fix docs.
3122 2007-01-02 Matthias Clasen <mclasen@redhat.com>
3124 * gtk/updateiconcache.c: Include locale.h
3126 2007-01-02 Matthias Clasen <mclasen@redhat.com>
3128 * gtk/updateiconcache.c (main): Call setlocale().
3131 * gtk/gtkfilesystemunix.c:
3132 * gtk/gtkfilesystemwin32.c:
3133 * gtk/gtkfilechoosersettings.c:
3134 * gtk/updateiconcache.c: Consistently use folder instead of
3135 directory in translated messages. (#344584, Javier F. Serrador)
3137 2007-01-02 Matthias Clasen <mclasen@redhat.com>
3139 Try to fix #315732, reported by Luke Hutchinson:
3141 * gdk/x11/xsettings-client.[hc]:
3142 * gdk/x11/gdkdevents-x11.c: Don't assume that ref'ing a GdkWindow
3143 will guarantee that it can be looked up in the xid hash later.
3144 Also, use the nesting server grab function during the xsettings
3145 client initialization. Finally, make xsettings client not
3146 eat DestroyNotifys so that GDK can do its regular cleanup.
3148 2007-01-02 Michael Natterer <mitch@imendio.com>
3150 * gtk/gtkrange.c (gtk_range_scroll) (gtk_range_move_slider): beep
3151 when a keybinding didn't change adjustment->value.
3153 2007-01-02 Matthias Clasen <mclasen@redhat.com>
3155 * gtk/gtktextbuffer.c (gtk_text_view_key_press_event):
3156 Try harder not to beep on events which are not meant to
3157 insert stuff in the buffer. (#390514, Yevgen Muntyan)
3159 2007-01-02 Matthias Clasen <mclasen@redhat.com>
3161 * gtk/gtktextbufferrichtext.c: Small documentation fixes.
3163 2007-01-02 Matthias Clasen <mclasen@redhat.com>
3165 * gtk/gtkentry.c (get_text_area_size): Center in the frame.
3166 (#304482, Rob Staudinger, patch by Richard Stellingwerff)
3168 2007-01-02 Michael Emmel <mike.emmel@gmail.com>
3170 * gdkwindow-directfb.c: fixed leak of dfb resource on destroy
3172 2007-01-01 Matthias Clasen <mclasen@redhat.com>
3174 * gtk/gtkscrolledwindow.h:
3175 * gtk/gtkscrolledwindow.c: Only handle key bindings
3176 for scrolling if the scrollbars are visible.
3177 (#340135, Christian Persch)
3179 2007-01-01 Matthias Clasen <mclasen@redhat.com>
3181 * gtk/gtktextview.c (gtk_text_view_scroll_hpages):
3182 Don't segfault on horizontal scrolling.
3184 2007-01-01 Matthias Clasen <mclasen@redhat.com>
3186 * gtk/gtknotebook.h:
3187 * gtk/gtknotebook.c: Only handle key bindings for
3188 tab reordering if the tabs are shown and reorderable.
3189 (#390468, Yevgen Muntyan)
3191 * gtk/gtkmarshalers.list: Add required marshaler
3193 2007-01-01 Matthias Clasen <mclasen@redhat.com>
3195 * gtk/gtkcontainer.c (gtk_container_class_list_child_properties):
3196 Mention in the docs that the return value is
3197 NULL-terminated. (#383373, Christian Neumair)
3199 2007-01-01 Matthias Clasen <mclasen@redhat.com>
3201 * gtk/gtkicontheme.c (load_themes): Waste less time
3202 with non-directories. (#391725, Chris Wilson)
3204 2007-01-01 Matthias Clasen <mclasen@redhat.com>
3206 * gtk/gtkcellrendererprogress.c: Implement activity mode
3207 for GtkCellRendererProgress. (#377851, Brad Taylor)
3209 2007-01-01 Matthias Clasen <mclasen@redhat.com>
3211 Fix some IPP compliance issues. (#391523, Albrecht Dress)
3213 * modules/printbackends/cups/gtkcupsutils.c
3214 (gtk_cups_request_encode_option): Use IPP_TAG_JOB, not
3216 * modules/printbackends/cups/gtkprintbackendcups.c
3217 (gtk_print_backend_cups_print_stream): Don't add the
3218 requesting-user-name attribute a second time.
3220 2007-01-01 Matthias Clasen <mclasen@redhat.com>
3222 * gtk/gtkimcontextsimple.c: Fix en/em dash confusion. (#378462)
3224 2006-12-31 Emmanuele Bassi <ebassi@gnome.org>
3226 * gtk/gtkrecentchoosermenu.c (set_recent_manager): Use the
3227 right object when disconnecting from the GtkRecentManager::changed
3228 signal; save us a few indirections using a variable.
3230 2006-12-31 Emmanuele Bassi <ebassi@gnome.org>
3232 * gtk/gtkrecentchoosermenu.c: Move the signal and idle
3233 disconnections into the dispose function, as well as the
3234 object unrefs; reset every handler id and the
3235 pointers. (suggested by Paolo Borelli, #390873)
3237 2006-12-31 Matthias Clasen <mclasen@redhat.com>
3239 * gtk/gtkprintoperation-win32.c: Include windows.h (#391229,
3242 2006-12-30 Matthias Clasen <mclasen@redhat.com>
3244 * gtk/gtktextview.c (gtk_text_view_destroy): Remove the
3245 scroll timeout. (#390872, Yevgen Muntyan)
3247 2006-12-30 Matthias Clasen <mclasen@redhat.com>
3249 * gtk/gtkprintoperation-unix.c:
3250 * gtk/gtkprintbackend.c:
3251 * gtk/gtkfilechooserdefault.c:
3252 * gtk/gtksettings.c: Move a few settings to gtksettings.c
3253 to make sure they show up in the docs. (#365364, Christian
3256 2006-12-30 Matthias Clasen <mclasen@redhat.com>
3258 * gtk/gtkassistant.c: Redraw assistant on reallocate
3259 to avoid rendering glitches. (#343956, Christian
3260 Persch, Carlos Garnacho)
3262 2006-12-30 Matthias Clasen <mclasen@redhat.com>
3264 * gtk/gtkrange.c: Typo fix. (#352121, Clytie Siddall)
3266 2006-12-30 Matthias Clasen <mclasen@redhat.com>
3268 * gtk/gtkaction.c: Improve the docs of the "label"
3269 property. (#341730, Kristof Vansant)
3271 2006-12-30 Matthias Clasen <mclasen@redhat.com>
3273 * gtk/gtkwindow.c (gtk_window_compute_configure_request_size):
3274 Correctly handle min size. (#320465, Philipp Langdale)
3276 2006-12-30 Matthias Clasen <mclasen@redhat.com>
3278 * gtk/prop-editor.c: Implement editing of flags.
3280 2006-12-30 Matthias Clasen <mclasen@redhat.com>
3285 * gtk/gtkstatusbar.c:
3286 * gtk/gtktextview.c: Don't install cursors on insensitive
3287 widgets. (#358864, Jan Schampera)
3289 2006-12-29 Matthias Clasen <mclasen@redhat.com>
3291 * gtk/gtkrecentmanager.h:
3292 * gtk/gtkprintoperation.c: Fix doc typos. (#370909,
3295 * gtk/gtkstyle.c (gtk_style_attach): Clarify docs. (#353423,
3298 * gtk/gtkentry.c (blink_cb):
3299 * gtk/gtktextview.c (blink_cb): Don't die in an assertion
3300 if focus went missing. Just warn, clean up and continue.
3303 2006-12-29 Carlos Garnacho <carlosg@gnome.org>
3305 * gtk/gtknotebook.c (gtk_notebook_scroll): return if the widget that
3306 originally received the event is a notebook page. (#315440, reported
3309 2006-12-29 Matthias Clasen <mclasen@redhat.com>
3311 * gdk/gdkcolor.c (gdk_color_hash): Fix a typo. (#390613,
3314 2006-12-29 Matthias Clasen <mclasen@redhat.com>
3316 * tests/prop-editor.c: Display children of containers
3317 and cell renderers of cell layouts.
3320 * gtk/gtkcelllayout.[hc] (gtk_cell_layout_get_cells):
3321 New function to get the cell renderers of a cell layout.
3323 * gtk/gtktreeviewcolumn.c:
3324 * gtk/gtkcellview.c:
3325 * gtk/gtkiconview.c: Implement get_cells.
3327 2006-12-28 Matthias Clasen <mclasen@redhat.com>
3329 * gtk/gtkiconview.c: Use word wrapping by default, and
3330 center multiline labels. (#318763, Ross Burton)
3332 * gtk/gtkcellrenderertext.c (get_layout): Remove a special
3333 case for single-line layouts.
3335 2006-12-28 Matthias Clasen <mclasen@redhat.com>
3337 * gtk/gtkarrow.c: Fix a typo in the docs. (#390423,
3340 * gtk/gtkuimanager.c (update_node): Only use the results
3341 of find_menu/toolbar_position() if they succeed. May fix
3344 2006-12-28 Matthias Clasen <mclasen@redhat.com>
3346 * gdk/gdk.c: Fix some formatting errors in docs.
3348 2006-12-28 Tor Lillqvist <tml@novell.com>
3350 * gtk/gtkstatusicon.c (gtk_status_icon_finalize)
3351 (gtk_status_icon_update_image): Don't leak HICONs on
3352 Win32. (#364868, Hiroyuki Yamamoto)
3354 2006-12-28 Carlos Garnacho <carlosg@gnome.org>
3356 Make GtkNotebook able to drop detached tabs anywhere. Bug #360225.
3358 * gtk/gtkwidget.c (gtk_widget_class_init): add "drag-failed" signal.
3359 * gtk/gtkmarshalers.list: add new marshaler definition.
3360 * gtk/gtkenums.h: add GtkDragResult enum.
3362 * gtk/gtkdnd.c (gtk_drag_drop_finished): emit "drag-failed" if DND
3363 operation wasn't successful.
3364 (_gtk_drag_source_handle_event) (gtk_drag_drop)
3365 (gtk_drag_selection_get) (gtk_drag_cancel) (gtk_drag_key_cb)
3366 (gtk_drag_grab_broken_event_cb) (gtk_drag_grab_notify_cb)
3367 (gtk_drag_button_release_cb) (gtk_drag_abort_timeout): tell
3368 gtk_drag_drop_finished() the operation result.
3370 * gtk/gtknotebook.c (gtk_notebook_drag_failed): new function.
3371 (gtk_notebook_drag_data_get): do not call window creation hook here.
3372 (gtk_notebook_init): do not set "application/x-rootwindow-drop"
3373 target, instead connect to "drag-failed".
3374 (gtk_notebook_draw_focus): fix potential crasher if cur_page is NULL.
3376 2006-12-28 Mikael Hallendal <micke@imendio.com>
3378 * gdk/quartz/gdkevents-quartz.c: Factored out the event loop
3379 integration into gdkeventloop-quartz.c.
3381 * gdk/quartz/Makefile.am: Added gdkeventloop-quartz.c
3383 * gdk/quartz/gdkeventloop-quartz.c: New file containing the event loop
3386 2006-12-27 Matthias Clasen <mclasen@redhat.com>
3388 * modules/printbackends/lpr/gtkprintbackendlpr.c
3389 (gtk_print_backend_lpr_print_stream): Close the io channel
3390 on unref. (#390159, Joe Markus Clarke)
3392 2006-12-27 Matthias Clasen <mclasen@redhat.com>
3394 * gdk/gdk.h: Remove redundant declarations (#390097,
3397 2006-12-27 Kristian Rietveld <kris@gtk.org>
3399 Support inverting arrows via XSetting. (#377979, Yevgen Muntyan).
3401 * gtk/gtksettings.c (gtk_settings_class_init): add new setting
3402 gtk-alternative-sort-arrows.
3404 * gdk/win32/gdkproperty-win32.c (gdk_screen_get_setting): add
3407 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: set new
3408 gtk-alternative-sort-arrows setting to true.
3410 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
3411 invert direction if gtk-alternative-sort-arrows is TRUE.
3413 2006-12-27 Tor Lillqvist <tml@novell.com>
3415 * gtk/gtk.symbols: Add gtk_status_icon_get_screen and
3416 gtk_status_icon_set_screen.
3418 * gtk/gtkstatusicon.c: Implement gtk_status_icon_position_menu()
3419 on Windows. Keep track of where the last button click on the
3420 taskbar icon took place, and return that. Obviously not correct if
3421 no button has ever been clicked on the icon, or if the geometry of
3422 the taskbar has changed since. But for most use cases where a menu
3423 is going to be displayed as a direct result of a button click on
3424 the status icon, works fine. (#377349)
3426 Implement getting the orientation property on Windows.
3428 (gtk_status_icon_embedded_changed)
3429 (gtk_status_icon_orientation_changed): Ifdefify these functions
3430 that are used only on X11.
3432 2006-12-27 Tor Lillqvist <tml@novell.com>
3434 * gtk/gtkfilesystemwin32.c (execute_callbacks): Fix
3435 typo. (#390035, Kazuki Iwamoto)
3437 2006-12-27 Matthias Clasen <mclasen@redhat.com>
3439 * gtk/gtkcellview.c (gtk_cell_view_set_model): Accept NULL.
3441 * gtk/gtkcombobox.c (gtk_combo_box_set_model):
3442 (gtk_combo_box_unset_model): Handle repeated unsetting
3443 of models without warnings. (#367529, Robert Ancell)
3445 2006-12-27 Matthias Clasen <mclasen@redhat.com>
3447 * modules/printbackends/cups/gtkcupsutils.c:
3448 * modules/printbackends/cups/gtkprintbackendcups.c: Use
3449 getters for http fields where available. (#364866,
3452 2006-12-27 Matthias Clasen <mclasen@redhat.com>
3454 * gtk/gtkwidget.c (gtk_widget_show): Add a g_return_if_fail.
3455 (#362614, Xan Lopez)
3457 2006-12-27 Matthias Clasen <mclasen@redhat.com>
3459 * gtk/gtkuimanager.c (update_node): If a required action
3460 is missing, don't recurse over the children. (#349119,
3463 2006-12-27 Matthias Clasen <mclasen@redhat.com>
3465 Fix a few problems with nested menus in comboboxes
3466 (#386694, Yevgen Muntyan)
3468 * gtk/gtkcombobox.c (gtk_combo_box_menu_fill_level): Always
3469 connect the activate callback.
3470 (gtk_combo_box_menu_item_activate): Do nothing if called on
3471 an item with a submenu.
3472 (gtk_combo_box_menu_row_deleted): Remove a submenu when it
3475 2006-12-26 Mariano Suárez-Alvarez <mariano@gnome.org>
3477 * gtk/gtkfilechooserbuuton.[hc]: Add a file-set signal to the
3478 filechooser button. Bug 353196.
3480 2006-12-26 Kristian Rietveld <kris@gtk.org>
3482 * gtk/gtktreeview.c (gtk_tree_view_search_init): fix typo causing
3483 the search dialog timeout never to be refreshed. (#389581,
3484 Andrzej Szombierski).
3486 2006-12-26 Kristian Rietveld <kris@gtk.org>
3488 Lots of scrolling fixes. Made scrolling work properly in not fully
3489 validated tree views; fixed a bunch of corner cases.
3491 * gtk/gtktreeview.c (validate_visible_area): if a row's dy is past
3492 upper - page_size, we know it is located at the end so the test for
3493 dy + height has been dropped.
3494 In the same case if area_below < 0, we know this is the last node
3495 in the tree view so area_above is page_size - height of this row.
3496 (validate_visible_area): got rid of subtracting new_height -
3497 old_height from area_{below,above}, it didn't make any sense at
3498 all and the full height of the row should be subtracted instead.
3499 (validate_visible_area): when scrolling to a given path, set the
3500 top row directly together with the dy offset, then sync that top_row
3502 (gtk_tree_view_set_top_row): new function to directly set a top_row.
3503 (gtk_tree_view_dy_to_top_row): refactored to use
3504 gtk_tree_view_set_top_row().
3505 (gtk_tree_view_top_row_to_dy): make sure dy >= 0 when done.
3506 (gtk_tree_view_adjustment_changed): only update our dy and
3507 top_row if the adjustment's dy actually changed.
3509 2006-12-26 Christian Persch <chpe@cvs.gnome.org>
3511 * gtk/gtknotebook.c: (gtk_notebook_real_insert_page):
3512 Return the correct value from gtk_notebook_insert_page if the
3513 page-added handler reorders the tabs. Bug #345094.
3515 2006-12-26 Carlos Garnacho <carlosg@gnome.org>
3517 Fix small regressions in GtkNotebook tab detaching. Bug #378852.
3519 * gtk/gtknotebook.c (gtk_notebook_do_arrow): grab focus to allow tabs
3520 scrolling when hovering with a detached tab.
3521 (gtk_notebook_stop_reorder): Do not deparent the wrong tab if the
3522 focus tab has changed during a tab DND operation.
3523 (gtk_notebook_drag_end): ensure that the dropped tab gets focused.
3524 (gtk_notebook_paint): do not take cur_page as a reference to paint the
3525 box if it's detached.
3526 (gtk_notebook_calculate_tabs_allocation): focus_tab may be different
3527 to the detached tab if we hover the arrows during a tabs detaching
3528 operation, do not allocate it unconditionally in 0,0.
3530 2006-12-26 Carlos Garnacho <carlosg@gnome.org>
3532 Expose improvements for GtkNotebook. Bug #383435
3534 * gtk/gtknotebook.c (gtk_notebook_expose): propagate the event to tab
3536 (gtk_notebook_draw_focus): do not repaint the whole focused tab again.
3537 (gtk_notebook_draw_tab): do not send handmade expose events to tab
3540 2006-12-26 Matthias Clasen <mclasen@redhat.com>
3542 * gtk/gtkfilesystemunix.c (execute_callbacks): Return
3543 FALSE. (#389623, Carlos Garnacho Parro)
3545 * gtk/gtkrange.c (stop_scrolling): Avoid spurious
3548 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
3550 * gtk/gtkplug.c: (gtk_plug_construct_for_display),
3551 (gtk_plug_unrealize): Notify the "embedded" property also on
3552 normal construction and when destroying the socket window.
3555 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
3557 * gtk/gtkaboutdialog.c: (gtk_about_dialog_class_init),
3558 (gtk_about_dialog_init), (display_credits_dialog),
3559 (display_license_dialog):
3560 * gtk/gtkfilechooserdialog.c: (gtk_file_chooser_dialog_class_init),
3561 (gtk_file_chooser_dialog_init),
3562 (gtk_file_chooser_dialog_constructor),
3563 (gtk_file_chooser_dialog_unmap):
3564 * gtk/gtkrecentchooserdefault.c:
3565 (_gtk_recent_chooser_default_init):
3566 * gtk/gtkrecentchooserdialog.c:
3567 (gtk_recent_chooser_dialog_class_init),
3568 (gtk_recent_chooser_dialog_init),
3569 (gtk_recent_chooser_dialog_constructor),
3570 (gtk_recent_chooser_dialog_unmap): Set the HIG spacings directly
3571 instead of using style-set handlers. Fix the filechooser's spacing
3572 between content and action area to 12px. Bug #372447.
3574 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
3576 * gtk/gtkstatusbar.c: (gtk_statusbar_size_allocate):
3577 Don't assume statusbar->label is the statusbar's frame's child when
3578 shrinking the size allocation when the grip is shown. Bug #372452.
3580 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
3582 * gtk/gtkpagesetupunixdialog.c: (printer_status_cb),
3583 (add_custom_paper): Fix mem leaks. Bug #389194.
3585 2006-12-24 Matthias Clasen <mclasen@redhat.com>
3587 * gtk/gtktextutil.c: Remove debug output.
3589 * gtk/gtktextview.c: Improve the DND scrolling
3590 behaviour. (#92387, Carlos Garnacho Parro)
3592 * gtk/gtkaccellabel.c: Improve translators comments.
3593 (#389298, Christian Persch)
3595 2006-12-24 Bastien Nocera <hadess@hadess.net>
3597 * gtk/gtkrecentmanager.c: Fix typo (s/expansive/expensive)
3600 2006-12-24 Christian Persch <chpe@cvs.gnome.org>
3602 * docs/reference/gtk/gtk-sections.txt:
3604 * gtk/gtkpagesetupunixdialog.c: (fill_paper_sizes_from_printer):
3605 * gtk/gtkprinter-private.h:
3606 * gtk/gtkprinter.c: (gtk_printer_list_papers):
3607 * gtk/gtkprinter.h: Make gtk_printer_list_papers public. Bug #345587.
3609 2006-12-24 Carlos Garcia Campos <carlosgc@gnome.org>
3611 * gtk/gtkpagesetupunixdialog.c: Don't ignore reverse portrait option
3612 when is selected in page setup dialog. Fixes bug #365047.
3614 2006-12-24 Behdad Esfahbod <behdad@gnome.org>
3616 * gtk/gtkentry.c (_gtk_entry_effective_inner_border):
3617 Use gtk_border_free when freeing border.
3619 2006-12-24 Matthias Clasen <mclasen@redhat.com>
3621 * gtk/gtkentry.c (gtk_entry_button_press): When
3622 shift-clicking, keep the larger part of the selection
3623 selected. (#353709, Benjamin Otte)
3625 * gtk/gtkbutton.c (gtk_button_get_props): Use
3626 gtk_border_free when freeing borders.
3628 * gtk/gtkbutton.c (gtk_button_grab_notify): Be more
3629 careful when faking a button release. (#323146,
3632 * gtk/gtkhandlebox.c (draw_textured_frame): Draw the
3633 handle with the right orientation, depending on the
3634 position of the handlebox. (#159764, Benjamin Berg)
3636 2006-12-24 Behdad Esfahbod <behdad@gnome.org>
3638 * gtk/gtkstyle.c (gtk_border_copy), (gtk_border_free): Use gslice for
3639 GtkBorder (#383557).
3641 2006-12-24 Behdad Esfahbod <behdad@gnome.org>
3643 Bug 340141 – Update to Pango 1.16 API
3645 * gdk/gdkpango.c (layout_iter_get_line_clip_region),
3646 (gdk_pango_layout_line_get_clip_region):
3647 * gtk/gtkcalendar.c (gtk_calendar_size_request):
3648 * gtk/gtkentry.c (gtk_entry_get_pixel_ranges),
3649 (get_layout_position), (gtk_entry_find_position),
3650 (gtk_entry_adjust_scroll):
3651 * gtk/gtkiconview.c (get_pango_text_offsets):
3652 * gtk/gtklabel.c (get_cursor_direction):
3653 * gtk/gtkstyle.c (get_insensitive_layout):
3654 * gtk/gtktextdisplay.c (render_para):
3655 * gtk/gtktextlayout.c (allocate_child_widgets),
3656 (find_display_line_below), (find_display_line_above),
3657 (gtk_text_layout_move_iter_to_previous_line),
3658 (gtk_text_layout_move_iter_to_next_line),
3659 (gtk_text_layout_move_iter_to_line_end),
3660 (gtk_text_layout_iter_starts_line),
3661 (gtk_text_layout_move_iter_to_x):
3662 * gtk/gtktextutil.c (limit_layout_lines):
3663 Use the _readonly version of pango_layout_iter_get_line(),
3664 pango_layout_iter_get_run(), pango_layout_get_line(), and
3665 pango_layout_get_lines().
3667 * gtk/gtkmain.c (gtk_get_default_language): Use
3668 pango_get_default_language().
3670 2006-12-24 Matthias Clasen <mclasen@redhat.com>
3672 * gtk/gtkentry.c (gtk_entry_set_text): Emit changed
3673 and notify:text only once. The same fix was applied
3674 for replacing the selection via DND or copy-and-paste.
3675 (#64998, Damon Chaplin, Sven Herzberg)
3677 2006-12-23 Matthias Clasen <mclasen@redhat.com>
3679 * gtk/gtkimmulticontext.c: Be careful to not override
3680 GTK+ translations with the translations of the input
3681 method. (#317080, Tor Lillqvist)
3683 * modules/input/imcedilla.c: Use standard macros
3684 for translation domain and locale dir.
3686 * gtk/gtkimcontextsimple.c: Allow composing l with
3687 stroke. (#349638, Daniel Lublin)
3689 * gtk/gen-paper-names.c: Fix a thinko in the suffix
3690 calculation. (#382369, Christian Persch)
3692 * gtk/paper_names_offsets.c: Regenerated.
3694 2006-12-22 Matthias Clasen <mclasen@redhat.com>
3696 * modules/engines/pixbuf/pixbuf.h:
3697 * modules/engines/pixbuf/pixbuf-rc-style.h:
3698 * modules/engines/pixbuf/pixbuf-style.h: Move
3699 G_GNUC_INTERNAL before function declarations. (#352276,
3702 2006-12-22 Matthias Clasen <mclasen@redhat.com>
3704 * demos/gtk-demo/*.c: Fix some leaks. (#348108, Chris
3707 2006-12-22 Matthias Clasen <mclasen@redhat.com>
3709 * *.c: Replace a lot of idle and timeout calls by
3710 the new gdk_threads api.
3714 * gdk/gdk.c: Add functions to allow threadsafe handling
3715 of idles and timeouts wrt. to the GDK lock. (#321886,
3718 2006-12-22 Matthias Clasen <mclasen@redhat.com>
3720 * gdk/gdkpango.c: Use pango_cairo_show_error_underline.
3721 (#340141, Behdad Esfahbod)
3723 * configure.in: Check for getc_unlocked.
3725 * gtk/xdgmime/xdgmimemagic.c: Use getc if getc_unlocked is
3726 unavailable. (#381499)
3728 * tests/teststatusicon.c: Fix a typo
3730 2006-12-22 Matthias Clasen <mclasen@redhat.com>
3732 Make it possible to track the embeddedness of
3733 statusicon (#387215, Martyn Russell, patch by Christian
3736 * gtk/gtkstatusicon.c: Add orientation and embedded properties.
3738 * gtk/gtkplug-x11.c: Add an embedded property.
3739 * tests/teststatusicon.c: Test the new properties.
3741 * gtk/gtkwidget.c (gtk_widget_get_draw_rectangle): Don't
3742 leak draw_border. (#387170, Kjartan Maraas)
3744 2006-12-21 Matthias Clasen <mclasen@redhat.com>
3746 * gtk/gtkfilechooserembed.c (_gtk_file_chooser_embed_set_delegate()):
3747 Typo fix. (#388123, Murray Cumming)
3749 * gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event):
3750 Generate double-click events. (#380421, Tommi Komulainen)
3752 * gdk/x1/gdkinput-xfree.c (_gdk_input_configure_event):
3753 (_gdk_input_enter_event): Correct return_if_fail checks.
3754 (#379803, Tommi Komulainen)
3756 * gdk/gdkdisplay.c: Improve the docs of some functions operating
3757 on the default display. (##353438, Mariano Suárez-Alvarez)
3759 2006-12-21 Matthew Barnes <mbarnes@redhat.com>
3761 * docs/reference/gdk/gdk-sections.txt:
3762 * gdk/gdkcolor.[ch] (gdk_color_to_string): Add a function for
3763 converting a GdkColor to a string (#373856).
3765 * configure.in: Bump pango requirement to 1.15.2.
3767 2006-12-20 Matthias Clasen <mclasen@redhat.com>
3769 * gdk/keynames.txt: Mark arrow keys as translatable. (#369506,
3772 * gdk/keyname-table.h: Regenerated
3774 * gtk/gtktextbuffer.c: Add signal documentation. (#317064,
3775 Søren Wedel Nielsen)
3777 * gtk/gtktextview.c (gtk_text_view_start_selection_drag):
3778 Silently return if a drag is already in progress, rather
3779 than asserting. (#335622, Li Yuan, testcase by Erwann Chenede)
3781 * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_new_with_dialog):
3782 Allow any GtkDialog that implements GtkFileChooser as
3783 dialog. (#335473, Tommi Komulainen)
3785 2006-12-20 Mikael Hallendal <micke@imendio.com>
3787 * gtk/gtkstatusicon.c: (gtk_status_icon_init): Fixed a last minute
3788 change in the quartz backend.
3790 2006-12-20 Mikael Hallendal <micke@imendio.com>
3792 * gtk/Makefile.am: Added gtkstatusicon-quartz.c
3793 * gtk/gtkstatusicon-quartz.c: Implements the quartz backend for the
3795 * gtk/gtkstatusicon.c: Hooked in the new quartz backend. Bug #387874.
3797 2006-12-19 Matthias Clasen <mclasen@redhat.com>
3799 * gtk/gtkprintunixdialog.c: Add a tooltip explaining the
3800 format of page ranges, and improve the page sequence icon
3801 for the case of n_copies == 1.
3803 2006-12-19 Mikael Hallendal <micke@imendio.com>
3805 * gdk/quartz/gdkcursor-quartz.c: Splitted out the GdkPixbuf to NSImage
3806 routine so that it can be used from libgtk as well (needed for
3807 upcoming GtkStatusIcon support in the Quartz port).
3808 * gdk/quartz/gdkevents-quartz.c: Don't assume that all NSWindows are
3809 created from GDK, this is not true for the status icon.
3810 * gdk/quartz/gdkprivate-quartz.h:
3811 * gdk/quartz/gdkquartz.h: Added
3812 gdk_quartz_pixbuf_to_ns_image_libgtk_only so that it is available to
3813 the status icon code.
3815 2006-12-16 Tristan Van Berkom <tvb@gnome.org>
3817 * gtk/gtkmessagedialog.c: Added return_if_fail (image) to
3818 gtk_message_dialog_set_image ()
3820 * gtk/gtkscrolledwindow.c: Fixed a bug in set_property()
3821 (setting "window-placement-set" could result in a crash because
3822 of boolean/enum mixup)
3824 2006-12-15 Federico Mena Quintero <federico@novell.com>
3826 Merged from gtk-2-10:
3828 * gtk/gtkmenu.c (gtk_menu_set_title): Don't try to optimize for
3829 the case where the new title is the same as the old title, to
3830 preserve the behavior from GTK+ 2.8 (NULL and "" titles are not
3831 equivalent). Handle the case where title == priv->title. This
3832 was found by the LSB compatibility tests:
3833 https://bugzilla.novell.com/show_bug.cgi?id=223882
3835 2006-12-15 Dom Lachowicz <domlachowicz@gmail.com>
3837 * gtk/gtkcombobox.c: Make GtkComboBox in "appears-as-list" mode
3838 more closely resemble its Win32 counterpart. Bug #340204.
3840 2006-12-14 Carlos Garnacho <carlosg@gnome.org>
3842 * gtk/gtkcalendar.c: draw arrows pointing to the right correctly
3843 placed inside their GdkWindow. Bug #385672.
3845 2006-12-14 Christian Persch <chpe@cvs.gnome.org>
3847 * gtk/gtkiconview.c: Fix docs typo. Bug #385642.
3849 2006-12-13 Dom Lachowicz <domlachowicz@gmail.com>
3851 * src/modules/engines/ms-windows/msw_style.c: Bug 351679 - Notebooks
3852 drawn with extra line below tab in MS-Windows theme. Patch by
3855 2006-12-13 Matthias Clasen <mclasen@redhat.com>
3857 * gtk/Makefile.am: Add --unlink-tempfile to the evince call
3858 for print preview. (#370041, Ghee Teo)
3860 2006-12-11 Matthias Clasen <mclasen@redhat.com>
3862 * gtk/gtkprogressbar.c (gtk_progress_bar_paint_text): Be more
3863 careful when overdrawing antialiased text. (#352435, Alex Jones,
3864 patch by Benjamin Otte)
3866 * gtk/gtksettings.c: Change the way in which color scheme information
3867 is merged to correctly handle vanishing colors. (#374420,
3868 Benjamin Berg, patch by Callum McKenzie)
3869 Also allow to separate entries in color schemes by ';'
3872 2006-12-10 Matthias Clasen <mclasen@redhat.com>
3874 * modules/printbackends/cups/gtkcupsutils.c (gtk_cups_request_encode_option):
3875 Properly pass multi-value options to cups. (#355350, Jürg Billeter)
3877 2006-12-10 Kristian Rietveld <kris@gtk.org>
3879 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_focus_out_event):
3880 cancel editing (ie. don't accept changes) when the entry loses
3881 focus. (Fixes #164494, reported by Chris Rouch).
3883 2006-12-10 Matthias Clasen <mclasen@redhat.com>
3885 * configure.in: Correct a misapplied patch.
3887 2006-12-10 Tor Lillqvist <tml@novell.com>
3889 * gtk-zip.sh.in: Put gdk-pixbuf-query-loaders.exe and
3890 gtk-query-immodules-2.0.exe in the runtime zipfile instead of
3891 developer zipfile. Users might add pixbuf loaders or immodules
3892 even if they are not interested in developing gtk+-using software.
3894 2006-12-10 Matthias Clasen <mclasen@redhat.com>
3896 * configure.in: Check for crt_extern.h and _NSGetEnviron.
3897 * gdk/x11/gdkspawn-x11.c: Fix compilation on Darwin where
3898 environ is not available. (#384168, Min Sik Kim)
3900 2006-12-07 Paolo Maggi <paolo@gnome.org>
3904 * gtk/gtkentry.c (gtk_entry_set_text): check for
3905 completion->priv->changed_id > 0 before calling
3906 g_signal_handler_[un]block.
3907 (gtk_entry_completion_key_press): does not block/unblock the "changed"
3908 signal before calling gtk_entry_set_text.
3910 2006-12-07 Carlos Garnacho <carlosg@gnome.org>
3912 * gtk/gtkcellrendererprogress (compute_dimensions): do not use
3913 xthickness/ythickness, they aren't used any longer for drawing.
3915 2006-12-07 Matthias Clasen <mclasen@redhat.com>
3917 * gtk/gtkrc.c (_gtk_rc_init): Fix clipping of accelerator
3918 underlines by giving labels a small draw-border.
3920 2006-12-06 Kristian Rietveld <kris@gtk.org>
3922 * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_render):
3923 draw progress bar through theme engine instead of using our own
3924 custom cairo drawing code (#377244, patch from Carlos Garnacho).
3926 2006-12-06 Matthias Clasen <mclasen@redhat.com>
3928 * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities):
3929 Update the sensitivity of the collate checkbutton more frequently,
3930 proposed by Tim Waugh.
3932 2006-12-04 Matthias Clasen <mclasen@redhat.com>
3934 * gtk/gtkmessagedialog.c (setup_type): Set a11y name and role
3935 since we no longer set window titles.
3937 2006-12-04 Christian Persch <chpe@cvs.gnome.org>
3939 * gtk/gtkpagesetup.c: (gtk_page_setup_get_paper_size),
3940 (gtk_page_setup_set_paper_size): Don't leak the old page size when
3941 setting a new one. Bug #382314.
3943 2006-12-03 Michael Natterer <mitch@gimp.org>
3945 * gtk/gtktextview.c: remove FIXME #include that is no longer needed.
3947 2006-12-03 Kristian Rietveld <kris@gtk.org>
3949 Make sure [xy]_offset are always being initialized, fix pixbuf
3950 renderer padding. (#108235, Sven Neumann).
3952 * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_get_size),
3953 (gtk_cell_renderer_pixbuf_render): add padding in _render instead
3956 * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_get_size):
3957 always initialize [xy]_offset.
3958 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size): ditto.
3959 * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_size):
3962 2006-12-03 Kristian Rietveld <kris@gtk.org>
3964 * gtk/gtktreeview.c (validate_visible_area): when not using an
3965 explicit alignment, use the full area of the row (not just dy)
3966 to determine how to implicitly align it. (Fixes #363191, reported
3967 by Federico Mena Quintero).
3969 2006-12-02 Matthias Clasen <mclasen@redhat.com>
3971 * gtk/gtkicontheme.c (insert_theme): Properly clean up
3972 if an icon theme index file has no directories. (#381236)
3974 2006-12-02 Dom Lachowicz <domlachowicz@gmail.com>
3976 * src/modules/engines/ms-windows/msw_style.c: Bug 351678 - Notebooks
3977 not with PositionType.Top drawn incorrectly. Patch by Cody Russell
3979 2006-11-28 Behdad Esfahbod <behdad@gnome.org>
3981 Remove the broken Thai input method and add a functional Thai and Lao
3982 input method by Theppitak Karoonboonyanan. (#81031)
3984 * modules/input/imthai.c:
3985 * modules/input/gtkimcontextthai.c:
3986 * modules/input/gtkimcontextthai.h:
3987 * modules/input/thai-charprop.c:
3988 * modules/input/thai-charprop.h:
3991 * modules/input/imthai-broken.c:
3994 * modules/input/Makefile.am:
3997 2006-11-27 Christian Persch <chpe@cvs.gnome.org>
3999 * gtk/gtkstatusicon.c: Notify when the screen changes. Bug #379793.
4001 Mon Nov 27 12:27:06 2006 Tim Janik <timj@imendio.com>
4003 * gtk/gtktextview.c: applied patch by Colin Leroy for
4004 Control+GDK_KP_Left to move one word to the left, #356255.
4006 2006-11-26 Benjamin Berg <benjamin@sipsolutions.net>
4008 * gtk/gtkstyle.c: (gtk_default_draw_flat_box): Protect against NULL
4011 2006-11-25 Matthias Clasen <mclasen@redhat.com>
4013 * modules/printbackends/cups/gtkprintbackendcups.c: Make
4014 print dialog work when 'BrowseShortNames Off' is specified
4015 in cups configuration. Patch by Tim Waugh.
4017 2006-11-24 Michael Natterer <mitch@imendio.com>
4019 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): if we
4020 can't go up/down, consult gtk_widget_keynav_failed() and leave the
4021 widget if it returns FALSE (bug #322640).
4023 2006-11-23 Behdad Esfahbod <behdad@gnome.org>
4025 * gtk/gtkmain.c: Fix minor typo in docs. (#378632, Hannes Mueller)
4027 2006-11-22 Emmanuele Bassi <ebassi@gnome.org>
4029 * gtk/gtkrecentmanager.c:
4030 (get_uri_shortname_for_display): g_filename_from_uri() might
4031 fail; catch the failure and fall back to the non-local URI
4034 2006-11-19 Mark McLoughlin <mark@skynet.ie>
4036 Fixes bug #376502 - multi-screen support for GtkStatusIcon
4038 * gtk/gtkstatusicon.[ch]:
4039 (gtk_status_icon_set_screen),
4040 (gtk_status_icon_get_screen): add multi-screen API. Allows
4041 an app to display an icon on a non-default screen
4042 (gtk_status_icon_class_init),
4043 (gtk_status_icon_set_property),
4044 (gtk_status_icon_get_property): add a "screen" property
4046 * tests/teststatusicon.c: update to test on multiple screens
4048 2006-11-17 Matthias Clasen <mclasen@redhat.com>
4050 Fix problems with drag cancellation. (#376535, Michael Natterer)
4052 * gtk/gtkdnd.c (gtk_drag_source_info_destroy): Disconnect signal
4053 handlers before emitting drag-end.
4054 (gtk_drag_end): Disconnect signal handlers before removing
4057 2006-11-16 Mariano Suárez-Alvarez <mariano@gnome.org>
4059 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init):
4060 add gtk-doc blurb on GtkCellRendererText::edited (#376094)
4062 2006-11-16 Michael Natterer <mitch@imendio.com>
4064 * gtk/gtkradiobutton.c (gtk_radio_button_focus): don't use
4065 gtk_widget_keynav_failed(). Instead, look at gtk-keynav-cursor-only
4066 and gtk-keynav-wrap-around and wrap around, beep or continue outside
4067 the group manually (bug #322640).
4069 2006-11-16 Michael Natterer <mitch@imendio.com>
4071 Add new infrastructure for notifications of failed keyboard
4072 navigation and navigation with restricted set of keys.
4074 The patch handles configurable beeping, navigating the GUI with
4075 cursor keys only (as in phone environments), and configurable
4076 wrap-around. Fixes bugs #322640, #70986, #318827, #334726, #334742
4079 * gtk/gtksettings.c: added properties gtk-keynav-cursor-only,
4080 gtk-keynav-wrap-around and gtk-error-bell.
4082 * gtk/gtkwidget.[ch]: added new signal "keynav-failed" and public
4083 API to emit it. Added New function gtk_widget_error_bell() which
4084 looks at the gtk-error-bell setting and calls gdk_window_beep()
4087 * gtk/gtk.symbols: add the new widget symbols.
4089 * gtk/gtkcellrendereraccel.c
4090 * gtk/gtkimcontextsimple.c
4092 * gtk/gtknotebook.c: use gtk_widget_error_bell() or look at the
4093 gtk-error-bell setting instead of calling gdk_display_beep()
4100 * gtk/gtkmenushell.c
4101 * gtk/gtkspinbutton.c
4103 * gtk/gtktreeview.c: call gtk_widget_error_bell() on failed keynav.
4108 * gtk/gtktextview.c: consult gtk_widget_keynav_failed() on failed
4109 cursor navigation and leave the widget if it returns FALSE.
4111 * gtk/gtkmenushell.c
4112 * gtk/gtknotebook.c: only wrap around if gtk-keynav-wrap-around
4115 * gtk/gtkradiobutton.c: ask gtk_widget_keynav_failed() to decide
4116 whether to to wrap-around, and don't select active items on cursor
4117 navigation if gtk-keynav-cursor-only is TRUE. Should look at
4118 gtk-keynav-wrap-around too, will look into that.
4120 2006-11-16 Emmanuele Bassi <ebassi@gnome.org>
4122 * gtk/gtkrecentmanager.c:
4123 (gtk_recent_info_get_uri_display): Return the URI
4124 of the GtkRecentInfo object (upgraded to UTF-8 if
4125 needed) in case of non-local file. (#351945)
4127 2006-11-16 Emmanuele Bassi <ebassi@gnome.org>
4129 * gtk/gtkrecentchoosermenu.c:
4130 (gtk_recent_chooser_menu_add_tip): Apply the tip only
4131 if we have a displayable name for the item. (#365031,
4132 patch by padraig.obriain(at)sun.com)
4134 2006-11-16 Emmanuele Bassi <ebassi@gnome.org>
4136 * gtk/gtkrecentmanager.c: Provide a fast path returning
4137 NULL when the limit is set to 0.
4139 * gtk/gtkrecentchooserdefault.c:
4140 * gtk/gtkrecentchoosermenu.c: Add the same fast path
4141 inside the RecentChooser implementation; add a check
4142 in the list clamping code. (#373466 and duplicates)
4144 2006-11-15 Matthias Clasen <mclasen@redhat.com>
4146 * modules/printbackends/cups/gtkprintbackendcups.c (cups_printer_get_options):
4147 Don't pass NULL to strncpy. (#359537, patch by Carlos Garcia Campos)
4149 2006-11-15 Michael Natterer <mitch@imendio.com>
4151 * gtk/gtkrange.[ch]: added properties "fill-level",
4152 "show-fill-level" and "restrict-to-fill-level" and getters/setters
4153 for them. The "fill level" is an additional marker on the range's
4154 trough than can be e.g. used to indicate the amount of
4155 pre-buffering in a range showing the play position of streamed
4156 media. See the embedded API docs for details. Made GtkRangeLayout
4157 a GTypeInstance private struct and removed finalize()
4158 implementation. Fixes bug #349808
4160 * gtk/gtk.symbols: added the new symbols.
4162 2006-11-14 Behdad Esfahbod <behdad@gnome.org>
4164 * configure.in: Make libtool magic robust. (#352795)
4166 2006-11-13 Paolo Borelli <pborelli@katamail.com>
4168 * gtk/gtkrc.c (gtk_rc_parse_icon_source): plug small memory
4171 2006-11-09 Kristian Rietveld <kris@imendio.com>
4173 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): disable
4174 don't move cursor case for SELECTION_NONE. (#371756, John Ellis).
4176 2006-11-09 Carlos Garnacho <carlosg@gnome.org>
4178 * gtk/gtkpathbar.c (on_slider_unmap): Fix parenthesis confusion.
4180 2006-11-08 Carlos Garnacho <carlosg@gnome.org>
4182 * gtk/gtkpathbar.c (on_slider_unmap): added, do not leave the scroll
4183 timeout running if the slider buttons are hidden. (#372527)
4185 2006-11-08 Christian Persch <chpe@cvs.gnome.org>
4187 * gtk/gtkfilechooserdefault.c (browse_widgets_create): Don't make
4188 the "Location" label bold. Bug #372449.
4190 2006-11-07 Carlos Garnacho <carlosg@gnome.org>
4192 * gtk/gtknotebook.c (gtk_notebook_calculate_tabs_allocation): make
4193 non-focused tabs xthickness/ythickness thinner. (#353962)
4195 2006-11-07 Paolo Borelli <pborelli@katamail.com>
4197 * gtk/gtktextbtree.c (_gtk_text_btree_delete): avoid memory
4198 corruption (#357050).
4200 2006-11-06 Alexander Larsson <alexl@redhat.com>
4202 * gtk/gtkdnd.c: (gtk_drag_begin_internal),
4203 (gtk_drag_source_info_destroy), (gtk_drag_end),
4204 (gtk_drag_grab_notify_cb):
4205 Cancel drag when the grab is shadowed. (#122688)
4207 2006-11-01 Kristian Rietveld <kris@imendio.com>
4209 * gtk/gtkcombobox.c (gtk_combo_box_class_init),
4210 (gtk_combo_box_size_request): add arrow-size property to control
4211 the minimum size of the arrow, have the arrow scale up with the
4212 font by default. (#357950).
4214 2006-10-30 Kristian Rietveld <kris@gtk.org>
4216 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): don't
4217 forget to queue a draw for the new cursor node. (Fixes #366548,
4218 reported by Sven Herzberg).
4220 2006-10-30 Michael Natterer <mitch@imendio.com>
4222 * gtk/gtkrange.c (gtk_range_key_press): consume the Escape key
4223 only if we actually cancel a drag. Fixes bug #58389.
4225 2006-10-30 Kristian Rietveld <kris@gtk.org>
4227 * gtk/gtktreeview.c (gtk_tree_view_class_init): change left/right
4228 keybindings to collapse/expand rows instead of moving the focus
4229 cursor. (#105895, Brian Bober and others).
4231 2006-10-29 Kristian Rietveld <kris@gtk.org>
4233 * gtk/gtktreeview.c (gtk_tree_view_real_expand_row): guard against
4234 child removal in row-expanded callback. (#366782, John Ellis).
4236 2006-10-29 Tor Lillqvist <tml@novell.com>
4238 * gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Improve handling
4239 of the small icon of the window class. (#152620, Kazuki Iwamoto)
4241 2006-10-29 Tor Lillqvist <tml@novell.com>
4243 * gdk/win32/gdkcursor-win32.c
4244 (gdk_win32_icon_to_pixbuf_libgtk_only): Implement for B&W cursors,
4245 for instance the built-in GDK ones.
4247 2006-10-27 Kristian Rietveld <kris@gtk.org>
4249 * gtk/gtktreeview.c (validate_visible_area): rework the area_above == 0
4250 case to not overwrite the variables in the lower scope (which are
4251 used later on ...), get the path correctly and bail out when there
4252 isn't a node above us. (#359231).
4254 2006-10-26 Christian Persch <chpe@cvs.gnome.org>
4256 * gtk/gtkaboutdialog.c: Put initial focus on Close button (#337261).
4258 2006-10-25 Johan Dahlin <jdahlin@async.com.br>
4260 * gtk/gtk.symbols: Add missing symbols to so make check can pass
4262 2006-10-23 Dom Lachowicz <domlachowicz@gmail.com>
4264 * src/modules/engines/ms-windows/msw_style.c (draw_expander): Remember
4265 to free GDI Pen resources, introduced by bug 340201.(#364514)
4267 2006-10-18 Kristian Rietveld <kris@imendio.com>
4269 * tests/testcombo.c (main): connect to notify::popup-shown instead of
4270 popup-show (the latter does not exist).
4272 2006-10-15 Paolo Borelli <pborelli@katamail.com>
4274 * gtk/gtkicontheme.c (pixbuf_supports_svg): plug memory leak.
4277 2006-10-12 Michael Natterer <mitch@imendio.com>
4279 * gtk/gtkcombobox.c (gtk_combo_box_class_init): fix commit below
4280 (committed the wrong patch).
4282 2006-10-12 Michael Natterer <mitch@imendio.com>
4284 * gtk/gtkcombobox.c: added "move-active" and "popup" signals and
4285 bindings to trigger them. Removed gtk_combo_box_key_press(), it's
4286 obsolete now. Fixes bug #358293.
4288 2006-10-11 Michael Emmel <mike.emmel@gmail.com>
4290 * gdkpixmap-directfb.c: add missing RGB24 case (#361176)
4292 2006-10-11 Tor Lillqvist <tml@novell.com>
4294 * configure.in: Enable having some gdk-pixbuf loaders built-in
4295 even if loading the others dynamically. Define Automake
4296 conditional INCLUDE_FOO for each loader as TRUE if that loader is
4297 built-in. See also gdk-pixbuf/ChangeLog.
4299 Wed Oct 11 14:31:30 2006 Tim Janik <timj@imendio.com>
4301 * docs/reference/gtk/gtk-sections.txt:
4302 * gtk/gtkbindings.c: document gtk_binding_entry_skip().
4304 2006-10-11 Tor Lillqvist <tml@novell.com>
4306 * gtk/gtk.symbols: Remove gtk_combo_string_key, which is a static
4309 2006-10-11 Tor Lillqvist <tml@novell.com>
4311 Merge from 2.10 branch:
4313 * gtk/gtkmain.c (do_pre_parse_initialization): On Win32, if
4314 environment variable LC_ALL or LANG is set, set the Win32 thread
4315 locale to the corresponding locale. Then call the C library
4316 setlocale() to set the C library locale accordingly. The
4317 inconsistency mentioned below is gone. (#339756) Do some special
4318 casing for Serbia and Montenegro. Handle the Latin and Cyrillic
4319 scripts for Azeri, Uzbek and Serbian.
4320 (enum_locale_proc): Helper function for the above functionality.
4322 * gtk/gtkcalendar.c (gtk_calendar_init): No longer need to check
4323 if the environment variables are set here, as they have already
4324 been taken into account and the Win32 thread locale has been
4327 Tue Oct 10 16:38:23 2006 Tim Janik <timj@imendio.com>
4329 * gtk/tmpl/gtkbindings.sgml:
4330 * gtk/gtkbindings.c: applied patch from Michael Natterer to move to
4331 inline docs. applied wording fixes suggested by Martyn Russell.
4333 2006-10-09 Matthias Clasen <mclasen@redhat.com>
4335 * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state):
4336 Update the docs to state which out parameters may be NULL.
4337 (#360870, Attilio Fiandrotti)
4339 2006-10-08 Matthias Clasen <mclasen@redhat.com>
4341 * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities): Fix
4342 a typo. (#359542, Ghee Teo)
4344 2006-10-08 Matthias Clasen <mclasen@redhat.com>
4346 * gtk/gtknotebook.c (gtk_notebook_reorder_tab): Only
4347 reorder tabs if the focus is in the tab. (#350342, Carlos
4350 2006-10-08 Michael Emmel <mike.emmel@gmail.com>
4352 * gdk/directfb/gdkproperty-directfb.c strdup atom name (#357611)
4354 2006-10-08 Kristian Rietveld <kris@gtk.org>
4356 * gtk/gtktreeview.[ch] (gtk_tree_view_set_property),
4357 (gtk_tree_view_set_show_expanders),
4358 (gtk_tree_view_get_show_expanders): add getter/setter for
4359 show-expanders property, queue a redraw when this property
4360 is toggled (#351167, Martin Ejdestig),
4361 (gtk_tree_view_set_level_indentation),
4362 (gtk_tree_view_get_level_indentation): also add getter/setter
4363 and docs for level-indentation property.
4365 2006-10-08 Matthias Clasen <mclasen@redhat.com>
4367 * gtk/gtkradiobutton.c (gtk_radio_button_focus): Don't
4368 leak a list. (#360350, Benjamin Berg)
4370 * Apply a cleanup patch by Kjartan Maraas (#341812)
4372 2006-10-07 Tor Lillqvist <tml@novell.com>
4374 * gtk/gtkcalendar.c (gtk_calendar_init): Use the Win32 thread
4375 locale's first day of week setting on Win32. (#339752, Bogdan
4376 Nicula) Don't do this if one of the environment variables that
4377 affect gettext is set, though. In that case use the week start day
4378 from the corresponding message catalog.
4380 Unfortunately the same logic isn't possible in the weekday and
4381 month name lookup; there even if you have set one of the
4382 aforementioned environment variables, you still get the weekday
4383 and month names from the Win32 thread locale. Yes, this is
4386 Use only wide-character API in the Win32 code in this file, too.
4388 2006-10-06 Matthias Clasen <mclasen@redhat.com>
4390 * gtk/gtkfilechooser.c (gtk_file_chooser_set_select_multiple):
4391 Fix the docs. (#360112)
4393 * gtk/gtkcellview.c: Don't set the background of the
4394 window in a no-window widget. (#359581, Xan Lopez)
4397 2006-10-05 Behdad Esfahbod <behdad@gnome.org>
4399 * gtk/Makefile.am, gtk/aliasfilescheck.sh: Propagate srcdir into the
4400 test correctly. (#359845)
4402 2006-10-05 Michael Natterer <mitch@imendio.com>
4404 * gtk/gtkrc.[ch]: added new scanner token "unbind" which gets
4405 rid of a key binding (in fact, it only lets it appear unbound).
4407 * gtk/gtkbindings.[ch] (struct GtkBindingEntry): added
4408 "guint marks_unbound : 1"
4410 (gtk_binding_entry_skip): new API which marks the entry as unbound.
4412 Changed code so it returns FALSE when "marks_unbound == TRUE" is
4413 encountered while activating bindings, effectively letting the
4414 binding appear unbound (regardless of still existing bindings in
4415 lower binding priority levels). Fixes bug #358329.
4417 (gtk_binding_entry_add)
4418 (gtk_binding_entry_clear)
4419 (gtk_binding_entry_add_signall)
4420 (gtk_binding_parse_binding): deprected these functions.
4422 (_gtk_binding_parse_binding)
4423 (_gtk_binding_entry_add_signall): new internal API.
4425 * gtk/gtk.symbols: changed accordingly.
4427 2006-10-03 Matthias Clasen <mclasen@redhat.com>
4429 Fix interaction of GtkEntryCompletion with input
4430 methods. (#354495, Diego Escalante Urrelo)
4432 * gtk/gtkentry.c (gtk_entry_completion_key_press): Only reset
4433 the im context if we actually handle the key event.
4435 * gtk/gtkentrycompletion.c: Also propagate key release events
4438 2006-10-03 Matthias Clasen <mclasen@redhat.com>
4440 * gtk/gtkprintsettings.c (gtk_print_settings_get_duplex):
4441 Fix a typo. (#359052, Ghee Teo)
4443 * gtk/*.c, gdk/*.c: Apply a patch by Behdad Esfahbod to
4444 reduce relocations. (#359053)
4446 2006-10-03 Matthias Clasen <mclasen@redhat.com>
4448 * modules/printbackends/cups/gtkcupsutils.c:
4449 * modules/printbackends/cups/gtkprintbackendcups.c: Complete
4450 the fix for bug 357280.
4452 2006-10-02 Behdad Esfahbod <behdad@gnome.org>
4454 * gdk-pixbuf/Makefile.am:
4457 Include pltcheck.sh in EXTRA_DIST.
4459 2006-10-02 Behdad Esfahbod <behdad@gnome.org>
4461 * gdk/x11/gdkevents-x11.c: Move all includes before including
4464 2006-10-02 Behdad Esfahbod <behdad@gnome.org>
4466 * gtk/Makefile.am: Fix typo in file name. (#358931)
4468 2006-10-02 Matthias Clasen <mclasen@redhat.com>
4470 * modules/printbackends/cups/gtkprintbackendcups.c (available_choices):
4471 Only use the group name field if cups is new enough. (#357280)
4473 * gtk/gtksizegroup.c: Make sure that the quarks are
4474 initialized before using them. (#353736)
4476 * gtk/Makefile.am (stamp-icons): Use rm instead of ln -f to
4477 replace existing links. (#354849, James Evans)
4479 2006-10-01 Matthias Clasen <mclasen@redhat.com>
4481 * gtk/gtkexpander.c (gtk_expander_realize)
4482 (gtk_expander_size_allocate): Make the event_window large
4483 enough to cover the full height of the label_widget. (#358351,
4486 2006-10-01 Tor Lillqvist <tml@novell.com>
4488 * gtk/gtkfilesystemwin32.c: Same change as to gtkfilesystemunix.c.
4490 2006-09-30 Matthias Clasen <mclasen@redhat.com>
4492 * gtk/gtkfilechooserbutton.c (update_combo_box): Protect
4493 against base_path being NULL. (#358405, many reporters)
4495 2006-09-29 Matthias Clasen <mclasen@redhat.com>
4497 * gtk/gtkfilesystemunix.c: Apply a patch by Padraig O'Briain
4498 to avoid a deadlock.
4500 2006-09-27 Kristian Rietveld <kris@imendio.com>
4502 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_free_level),
4503 (gtk_tree_model_filter_ref_node),
4504 (gtk_tree_model_filter_real_unref_node): bring zero ref count loops
4505 in sync with each other and the sort model.
4507 2006-09-27 Kristian Rietveld <kris@imendio.com>
4509 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_init),
4510 (gtk_tree_model_filter_finalize), (gtk_tree_model_filter_row_deleted),
4511 (gtk_tree_model_filter_new): unref the virtual root path once that
4512 node (or one if its ancestors) is deleted, set virtual_root_deleted
4513 so we only unref it once.
4515 2006-09-27 Kristian Rietveld <kris@imendio.com>
4517 * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_changed),
4518 (gtk_tree_model_sort_sort_level): ref count nodes the proper way,
4519 (gtk_tree_model_sort_ref_node), (gtk_tree_model_sort_real_unref_node),
4520 (gtk_tree_model_sort_free_level): bring zero ref count loops in
4522 (gtk_tree_model_sort_free_level): free child levels before
4523 decreasing the zero ref count of the current level,
4524 (gtk_tree_model_sort_clear_cache): only clear cache if zero_ref_count
4527 2006-09-25 Matthias Clasen <mclasen@redhat.com>
4529 * demos/gtk-demo/*.c:
4530 * gtk/gtkeventbox.c:
4531 * gtk/gtkprintoperation.c: Fix typos. String change.
4533 2006-09-25 Kristian Rietveld <kris@gtk.org>
4535 * gtk/gtktreeview.c (gtk_tree_view_scroll_to_cell): if the tree view
4536 has already been realized; scroll to background area instead of
4537 cell area. (Fixes #330683, Johan Dahlin, Tommi Komulainen).
4539 2006-09-25 Kristian Rietveld <kris@gtk.org>
4541 * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): only attempt
4542 to create the GCs if the widget is realized. (Fixes #357578).
4544 2006-09-25 Matthias Clasen <mclasen@redhat.com>
4546 * gtk/gtkuimanager.c (_gtk_menu_is_empty): Don't leak
4547 the list of children (#357454, Paolo Borelli)
4549 2006-09-25 Michael Natterer <mitch@imendio.com>
4551 * gdk/x11/gdkdisplay-x11.c (gdk_display_x11_finalize): free
4552 display->input_windows with g_free(), not g_object_unref()
4553 (#357566, Tommi Komulainen).
4555 2006-09-24 Kristian Rietveld <kris@gtk.org>
4557 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init),
4558 (gtk_cell_renderer_text_[sg]et_property): actually add align-set
4559 property to the API (left-over patch from #157439).
4561 2006-09-24 Kristian Rietveld <kris@gtk.org>
4563 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button): draw
4564 the indicator if the column has a sort column id (and the model is
4565 sortable) or if the user explicitly requested the indicator
4566 to be shown. (Fixes #352738, Chris Vine).
4568 2006-09-23 Tor Lillqvist <tml@novell.com>
4570 * gtk/Makefile.am: Use EXEEXT.
4572 2006-09-22 Michael Natterer <mitch@imendio.com>
4574 * gtk/gtkstyle.c (gtk_style_real_copy): also copy icon factories
4575 and color hashes. Fixes bug #357132.
4577 2006-09-22 Matthias Clasen <mclasen@redhat.com>
4579 Make remote bookmarks work better (#354887)
4581 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons):
4582 (shortcuts_insert_path):
4583 * gtk/gtkfilechooserbutton.c (change_icon_theme):
4584 (model_add_bookmarks):
4585 (model_update_current_folder):
4586 (update_label_and_image):
4587 If the bookmark points to a remote file, don't call get_info(),
4588 since that may a) take a long time and b) pop up an auth dialog.
4589 Instead, just use a folder icon and create a display name
4592 * gtk/gtkfilechooserdefault.c (_gtk_file_chooser_label_for_uri):
4593 New function to create a suitable display name for a remote
4594 uri. This should really be done in GtkFileSystem.
4596 2006-09-21 Michael Natterer <mitch@imendio.com>
4598 Implement lots of value setters for GdkGC, based on a heavily
4599 modified patch from Thomas Broyer (bug #328853):
4601 * gdk/quartz/gdkcolor-quartz.c: removed functions which set colors
4602 on the CGContext. Instead, added gdk_quartz_get_rgba_from_pixel()
4603 which simply returns RGBA values from a GdkColor's pixel value.
4604 See gdk_quartz_update_context_from_gc() below.
4606 * gdk/quartz/gdkprivate-quartz.h (struct GdkGCQuartz): added lots
4607 of members for the newly suppored GC values. Added enum
4608 GdkQuartzContextValuesMask which is used for setting up the
4609 CGContext for filling and/or stroking.
4611 * gdk/quartz/gdkgc-quartz.c (gdk_quartz_gc_get_values)
4612 (gdk_quartz_gc_set_values)
4613 (_gdk_windowing_gc_copy): support a lot more GC values.
4615 (gdk_quartz_update_context_from_gc): added
4616 GdkQuartzContextValuesMask parameter and set filling/stroking
4617 parameters accordingly. This function also gained full control
4618 over the FG and BG colors (they can't be set separately any more).
4620 The stipple mask part of the patch doesn't work but seems to take
4621 the right approach and doesn't make things worse, so I applied it.
4623 Did *not* apply the clipping part of the patch since I don't
4624 understand it (I don't understand the version in CVS either, but
4625 it at least works :-)
4627 * gdk/quartz/gdkdrawable-quartz.c: pass the right masks to
4628 gdk_quartz_update_context_from_gc() and removed separate color
4629 setting calls. Some minor fixes.
4631 * gdk/quartz/gdkwindow-quartz.c
4632 (gdk_window_impl_quartz_begin_paint_region): set the CGContext's
4633 fill color manually. We don't have/need a GC here.
4635 2006-09-21 Michael Natterer <mitch@imendio.com>
4637 * gdk/quartz/gdkwindow-quartz.c
4638 (gdk_window_impl_quartz_begin_paint_region): fix cast: it's
4639 drawable_impl->wrapper that is the GdkWindow, not the
4640 drawable_impl itself.
4642 2006-09-20 Behnam Esfahbod <behnam@zwnj.org>
4644 * gdk/x11/gdkkeys-x11.c:
4645 (get_direction): just check the first shift-level of keyboard
4646 layout for RTL and LTR keysyms() (compliment to #116626)
4648 Wed Sep 20 16:59:38 2006 Tim Janik <timj@imendio.com>
4650 * gtk/gtkviewport.c: always update the bin_window position and size
4651 in size_allocate, even if we don't have a visible child. this fixes
4652 expose artefacts as described in #313508.
4654 * gtk/gtkscrolledwindow.c: make hiding of automatic scrollbars when we
4655 have no visible child explicit.
4657 2006-09-19 Ryan Lortie <desrt@desrt.ca>
4659 * docs/reference/gdk/gdk-sections.txt:
4662 * gdk/gdkpango.c: Bug 355343. Add a GdkPangoAttrEmbossColor.
4663 (gdk_pango_layout_get_clip_region): Remove an unused variable.
4664 (gdk_pango_attr_embossed_new): Fix documentation.
4666 Tue Sep 19 17:00:04 2006 Tim Janik <timj@imendio.com>
4668 * gtk/gtkarrow.c: added GtkArrow::arrow-scaling style property to
4669 control the arrow/border ratio within the allocation.
4671 * tests/testgtk.c: added a GtkArrow to handle box test.
4673 * tests/testgtkrc: test ::arrow-scaling property.
4675 2006-09-19 Matthias Clasen <mclasen@redhat.com>
4677 * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
4678 Display an error when we come to the root.
4680 2006-09-16 Matthias Clasen <mclasen@redhat.com>
4682 * gtk/gtkfilechooserbutton.c: Use bookmark labels in
4685 * gtk/gtkfilechooserbutton.c: Don't add remote volumes and
4686 bookmarks to the model in local-only mode, to avoid
4687 authentication dialogs pop up for invisible bookmarks, and
4688 to fix issues with separators not being hidden when
4689 they should. (#354887, Dennis Cranston)
4691 2006-09-16 Matthias Clasen <mclasen@redhat.com>
4693 * gtk/gtkcombobox.c (gtk_combo_box_finalize): Unref the
4694 treeview use in list mode. (#355732, Richard Hult)
4696 * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): Send
4697 change notification for the right property. (#355308,
4700 2006-09-15 Michael Natterer <mitch@imendio.com>
4702 * gtk/gtktreeview.c (gtk_tree_view_key_press): refactored column
4703 header navigation/resizing/reordering to be more readable and lose
4704 one level of nesting.
4706 2006-09-15 Kristian Rietveld <kris@imendio.com>
4708 * gtk/gtktreeview.c (gtk_tree_view_key_press): actually directly
4709 return after handling column button focus; we disable wrap around
4710 with this (which actually happened via a really weird code path).
4713 2006-09-15 Kristian Rietveld <kris@imendio.com>
4715 * gtk/gtktreeview.c (gtk_tree_view_key_press): make column resizing
4716 code RTL aware, also break from the loops after we have seen the
4717 focussed column button (Michael Natterer).
4719 Thu Sep 14 12:28:51 2006 Tim Janik <timj@imendio.com>
4721 * tests/testrichtext.c (main): intialize random number generator state
4722 upon program start, to enable truely random testing.
4724 2006-09-13 Michael Emmel <mike.emmel@gmail.com>
4726 * gdk/directfb/gdkcolor-directfb.c small clean ups include order
4727 * gdk/directfb/gdkwindow-directfb.c fixed beep compile error
4728 * gdk/directfb/Makefile.am removed GDK_PIXBUF_DISABLE_DEPRECATED
4729 GDK_DISABLE_DEPRECATED to allow compile per Behdad
4730 * gdk/quartz/Makefile.am same change as directfb Makefile
4731 * gtk/Makefile.am fixed typo that cause socket stubs not to compile
4733 2006-09-13 Matthias Clasen <mclasen@redhat.com>
4735 * gtk/gtkcolorsel.c: Use a GtkWindow instead of a GtkInvisible
4736 for the grab widget, to make the color picker work with window
4739 2006-09-12 Hong Jen Yee <pcman.tw@gmail.com>
4741 signed off by: Dom Lachowicz
4743 * modules/engines/ms-windows/msw_style.c: Bug 340201. This contains
4744 a large number of improvements to the Microsoft Windows theme engine
4745 which are fully described in the bug report.
4747 Mon Sep 11 14:22:39 2006 Tim Janik <timj@imendio.com>
4749 * tests/testgtk.c: fixed compiler warnings.
4751 2006-09-10 Matthias Clasen <mclasen@redhat.com>
4753 * gtk/gtkfilechooserbutton.c (model_add_special): Request
4754 the display name too, otherwise "Desktop" does not appear
4755 in the file chooser button.
4757 2006-09-10 Tor Lillqvist <tml@novell.com>
4759 * gdk/win32/gdkprivate-win32.h
4760 * gdk/win32/gdkmain-win32.c
4761 * gdk/win32/gdkwindow-win32.c: Define WINVER and _WIN32_WINNT as
4762 0x0500 in gdkprivate-win32.h instead of doing it in two source
4763 files. (#355212, Mike Edenfield)
4765 * gdk/win32/gdkwindow-win32.c: We can also remove the ersatz
4766 GetAncestor() for the _MSC_VER && WINVER < 0x0500 case, I hope.
4768 2006-09-10 Matthias Clasen <mclasen@redhat.com>
4770 * Commit a patch by Behdad to fix typos, omissions and other
4771 errors in the symbol aliasing, and add checks for local PLT
4772 entries. (#354687, Behdad Esfahbod)
4774 * gtk/gtktreeview.c (gtk_tree_view_search_scroll_event): Renew
4775 the flush timeout. (#354043, Nelson Benitez)
4777 * gtk/gtkfilechoosersettings.c (set_unexpected_element_end_error):
4778 Improve wording. String change! (#355126, David Lodge)
4780 * gtk/updateiconcache.c: Improve wording. String change! (#355128,
4783 * gtk/paper_names_offsets.c: Fix a typo. String change! (#355134,
4786 2006-09-09 Matthias Clasen <mclasen@redhat.com>
4788 * gdk/x11/gdkfonts-x11.c: Fix small theoretical memory leaks.
4789 (#353916, Chris Wilson)
4791 * gtk/gtksettings.c (_gtk_settings_reset_rc_values):
4792 Don't leak the to_reset list. (#353914, Chris Wilson)
4794 * gtk/gtkwidget.c: Add docs for the parent-set signal.
4795 (#353772, Mariano Suárez-Alvarez)
4797 2006-09-08 Matthias Clasen <mclasen@redhat.com>
4799 * gtk/gtktextbuffer.c (remove_all_selection_clipboards):
4800 Don't clear clipboards here, since we are called from finalize
4801 and can't emit signals.
4803 * configure.in: Set version to 2.11.0
4805 2006-09-06 Richard Hult <richard@imendio.com>
4807 * gdk/quartz/gdkkeys-quartz.c: (maybe_update_keymap): Special-case
4808 shift-tab and map it to GDK_ISO_Left_Tab, fixes bug #350806.
4810 2006-09-04 Kristian Rietveld <kris@imendio.com>
4812 * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
4813 if setting the given folder failed, try setting the parent folder
4814 until we succeed; display an error box at the end.
4816 2006-09-04 Kristian Rietveld <kris@imendio.com>
4818 * gtk/gtkpathbar.c (gtk_path_bar_dispose): don't cancel the
4819 operations spawned by buttons here,
4820 (set_button_image_get_info_cb): bail out if button is NULL, but
4821 do free button_data,
4822 (button_data_free): only free the data if non NULL (since this
4823 function can be called multiple times for the same data), cancel
4824 handle if pending but don't free button_data in this case (will
4825 happen in the callback).
4827 2006-09-04 Michael Natterer <mitch@imendio.com>
4829 * gtk/gtkrc.c (rc_parse_token_or_compound)
4830 (gtk_rc_parse_assignment): serialize floating point values using
4831 locale-independent functions. (#346751, Frederic Crozat)
4833 2006-09-04 Tor Lillqvist <tml@novell.com>
4835 * gdk/win32/gdkevents-win32.c
4836 * gdk/win32/gdkwindow-win32.c: Use wide-char API for message and
4837 window handling (PeekMessage, PostMessage, SendMessage,
4838 DispatchMessage, DefWindowProc, RegisterClassEx,
4839 CreateWindowEx). (#321597)
4841 2006-09-03 Kristian Rietveld <kris@imendio.com>
4843 * gtk/gtkfilechooserdefault.c (save_entry_get_info_cb),
4844 (file_exists_get_info_cb), (gtk_file_chooser_default_should_respond):
4845 change file_exists_and_is_not_folder checks to get the file info
4846 for the path directly instead of querying the current file folder
4849 * gtk/gtkfilechooserprivate.h (struct _GtkFileChooserDefault): add
4852 * tests/autotestfilechooser.c (wait_for_idle_idle), (wait_for_idle),
4853 (test_reload_sequence), (test_button_folder_states_for_action): wait
4854 for idle after setting a folder to ensure the async operations to load
4855 the folder are finished,
4856 (test_confirm_overwrite), (test_confirm_overwrite_for_path):
4857 factor out test_confirm_overwrite code so we can add tests for more
4860 2006-09-03 Richard Hult <richard@imendio.com>
4862 * gdk/quartz/GdkQuartzView.c (drawRect): Don't do anything if
4863 exposure isn't in the event mask, plug a leak, and check that the
4864 window isn't destroyed.
4865 (isOpaque): Check that the window isn't destroyed, fixes bug
4868 2006-09-03 Matthias Clasen <mclasen@redhat.com>
4870 * gtk/gtkwidget.c (gtk_widget_class_init): Fix a typo.
4871 (#354035, Mariano Suárez-Alvarez)
4873 * gtk/gtkmain.c (post_parse_hook):
4874 * gdk/gdk.c (gdk_init): Handle display_name being NULL.
4875 (#354004, Chris Wilson)
4877 2006-09-03 Tor Lillqvist <tml@novell.com>
4879 * gdk/win32/gdkwindow-win32.c (gdk_window_beep): No
4880 GDK_WINDOW_DISPLAY in the Win32 backend.
4882 * gtk/gtkfilesystemwin32.c: Copy what Kris did to
4885 2006-09-02 Kristian Rietveld <kris@imendio.com>
4887 First part of file chooser fixes.
4889 * gtk/gtkfilechooserbutton.c (model_add_special): also set the
4890 handle in the model for the desktopdir case.
4892 * gtk/gtkfilechooserdefault.c (shortcuts_add_current_folder): free
4893 volume in case we retrieved it but don't pass it on to insert_path,
4894 (shortcuts_model_create): change the column type for the handles
4895 to pointer instead of GObject so our handle ref counting is not
4897 (show_and_select_paths_finished_loading): don't forget to unref
4900 * gtk/gtkfilesystemunix.c (gtk_file_system_unix_class_init),
4901 (gtk_file_system_unix_init), (gtk_file_system_unix_dispose):
4902 remove pending execute_callbacks_idle during dispose, also
4903 execute all callbacks waiting to be run in the next idle,
4904 (queue_*callback), (execute_callbacks_idle): refactor to maintain
4905 a list of callbacks to call per file system instead of globally,
4906 guard the file system during callback invocation,
4907 (gtk_file_system_unix_get_folder): only add load folder idle if
4908 none has been added yet.
4910 2006-09-01 Matthias Clasen <mclasen@redhat.com>
4912 * gtk/gtkentry.c: Don't unnecessarily reset the im context
4913 when deleting the selection. (#353803, Alex Larsson)
4915 2006-09-01 Abel Cheung <abel@oaka.org>
4917 * configure.in: Added 'ang' 'dz' to ALL_LINGUAS.
4919 2006-08-31 Matthias Clasen <mclasen@redhat.com>
4921 Stop cursor blinking after a configurable timeout.
4922 (#353670, #352442, Arjan van de Ven, Manu Cornet)
4924 * gtk/gtksettings.c (gtk_settings_class_init): Add a
4925 gtk-cursor-blink-timeout setting, which specifies the number
4926 of seconds that the cursor should blink after a user interaction.
4927 The default value is G_MAXINT to preserve the current behaviour.
4929 * gtk/gtkentry.c (blink_cb): Stop blinking after blink-timeout
4932 * gtk/gtkentry.c (gtk_entry_completion_key_press)
4933 (gtk_entry_button_press, gtk_entry_focus_in): Reset the
4936 * gtk/gtktextview.c (blink_cb): Stop blinking after blink-timeout
4939 * gtk/gtktextview.c (gtk_text_view_key_press_event)
4940 (gtk_text_view_button_press_event, gtk_text_view_focus_in_event):
4941 Reset the blink timer.
4943 2006-08-31 Matthias Clasen <mclasen@redhat.com>
4945 * gtk/gtkprintoperation-unix.c (get_print_dialog): Don't specify
4946 explicit format capabilities. (#346505, Christian Persch)
4948 * modules/printbackends/cups/gtkprintbackendcups.c (cups_request_printer_list_cb): Send printer-list-done on error.
4950 2006-08-31 Michael Natterer <mitch@imendio.com>
4952 * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Fix build.
4954 2006-08-30 Richard Hult <richard@imendio.com>
4956 * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep): Fix build.
4958 2006-08-30 Matthias Clasen <mclasen@redhat.com>
4960 * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Only use XKB
4961 for beeping if we are using XKB.
4963 2006-08-29 Matthias Clasen <mclasen@redhat.com>
4967 * gdk/directfb/gdkwindow-directfb.c (gdk_window_beep):
4968 * gdk/win32/gdkwindow-win32.c (gdk_window_beep):
4969 * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep):
4970 * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Add a function
4971 to beep on a window. For X11, implement this with
4972 XkbBell. (#353455, Mariano Suárez-Alvarez)
4974 2006-08-29 Tor Lillqvist <tml@novell.com>
4976 Remove support for Windows 9x/ME. GTK+ hasn't worked on Win9x
4977 since 2.6 or 2.8. It's pointless to keep the Win9x code in here as
4978 it isn't being maintained anyway. If somebody is interested, it
4979 can always be found in older GTK+ versions, and in CVS.
4984 * gdk/win32/Makefile.am
4985 * gdk/win32/libie55uid.la
4986 * gdk/win32/gdkevents-win32.c: Remove the --with-ie55 configure
4987 switch and associated stuff. Active IMM and the <dimm.h> header
4988 was used for IM support on NT4 and Win9x. Win2k and later have IM
4991 * gdk/win32/gdkcursor-win32.c
4992 * gdk/win32/gdkdnd-win32.c
4993 * gdk/win32/gdkdrawable-win32.c
4994 * gdk/win32/gdkevents-win32.c
4995 * gdk/win32/gdkgc-win32.c
4996 * gdk/win32/gdkglobals-win32.c
4997 * gdk/win32/gdkkeys-win32.c
4998 * gdk/win32/gdkmain-win32.c
4999 * gdk/win32/gdkproperty-win32.c
5000 * gdk/win32/gdkselection-win32.c
5001 * gdk/win32/gdkwindow-win32.c: Remove the G_WIN32_IS_NT_BASED()
5002 and G_WIN32_HAVE_WIDECHAR_API() tests and their false (Win9x)
5003 branches, and any variables or static functions used only by the
5006 * gdk/win32/gdkprivate-win32.h: Remove backup definitions for
5007 constants that aren't missing from current mingw and MSVC6
5010 * gdk/win32/gdkmain-win32.c
5011 * gdk/win32/gdkprivate-win32.h: Remove the _gdk_win32_gdi_failed()
5012 function. On NT-based Windows GetLastError() returns error codes
5013 also for failed GDI calls, so we can use _gdk_win32_api_failed()
5016 2006-08-29 Emmanuele Bassi <ebassi@gnome.org>
5018 * gtk/gtkrecentchoosermenu.c
5019 (gtk_recent_chooser_menu_set_current_uri): Break when an item
5020 is found and activated. (#353449, based on a patch by Jan Arne
5023 Fri Jul 14 16:13:37 2006 Tim Janik <timj@gtk.org>
5025 * gtk/gtkprogressbar.c: introduced ::xspacing and ::yspacing style
5026 properties which make all hardcoded padding and spacing values
5027 configurable. properly swap ::text-xalign treatment for RTL widgets.
5029 * gtk/gtkprogress.c: fixed style property blurbs. made alignment
5030 proeprty more consistent with GtkMisc alignment blurbs. mention
5031 RTL treatment for text-xalign.
5033 Tue Aug 29 11:57:40 2006 Tim Janik <timj@imendio.com>
5035 * tests/testgtk.c: allow (most) windows to be resizable.
5036 added ellipsization settings to progress bars.
5038 2006-08-28 Matthias Clasen <mclasen@redhat.com>
5040 * modules/printbackend/cups/gtkprintbackendcups.c: Use a
5041 resonable timeout of 3 seconds when polling for printer
5042 list updates, instead of 300000 seconds...
5044 2006-08-28 Michael Natterer <mitch@imendio.com>
5046 * gtk/gtktextbufferserialize.c (serialize_text): don't write out
5047 </apply_tag> for tags that have already been closed by the logic
5048 which turns overlapping spans into XML-able trees. Fixes broken
5049 XML when there are overlapping tags in the buffer. Also free two
5050 leaked GLists and did some cleanup.
5053 * tests/testrichtext.c: new test which creates randomly tagged
5054 GtkTextBuffers and serializes/deserializes them.
5056 2006-08-26 Matthias Clasen <mclasen@redhat.com>
5058 * gtk/gtkstatusicon.c (gtk_status_icon_reset_image_data):
5059 Don't leak pixbufs. (#352264, Ross Burton)
5061 * gtk/gtklinkbutton.c (set_link_underline): Don't leak
5062 PangoAttributes. (#352391, Paolo Borelli)
5064 2006-08-25 Matthias Clasen <mclasen@redhat.com>
5066 * demos/gtk-demo/Makefile.am:
5067 * demos/gtk-demo/textscroll.c: Add an example of automatic
5068 scrolling, thanks to Yevgen Muntyan. (#351206)
5070 * gtk/gtkmodules.c (find_module): Use local binding when
5071 loading modules. (#351868)
5073 2006-08-24 Michael Natterer <mitch@imendio.com>
5075 * gdk/quartz/gdkdisplay-quartz.c (gdk_display_get_name): return
5076 the hostname instead of NULL.
5078 2006-08-23 Matthias Clasen <mclasen@redhat.com>
5080 * gtk/gtkprinteroptionwidget.[hc]: Fix confusion about
5081 names and values in comboboxes, and clean up some
5082 coding style issues.
5084 2006-08-23 Tor Lillqvist <tml@novell.com>
5086 * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_make_path):
5087 Revert unintended translatable string addition. Use same string
5088 in GError as in gtkfilesystemunix.c.
5090 * gtk/gtkfilesystemwin32.c (_gtk_file_system_win32_path_compare):
5091 Fix logic at the end of strings.
5093 * gtk/gtkfilesystemwin32.c: Maintain a hash table of live
5094 handles and check that we have no outstanding handles at
5095 finalization time. (Copying what Matthias did for
5096 gtkfilesystemunix.c)
5098 2006-08-23 Matthias Clasen <mclasen@redhat.com>
5100 * gtk/gtkfilesystemunix.c: Maintain a hash table
5101 of live handles and check that we have no outstanding
5102 handles at finalization time. (Copying what
5103 Federico did for gtkfilesystemgnomevfs.c)
5105 2007-08-22 Matthias Clasen <mclasen@redhat.com>