1 2007-04-29 Matthias Clasen <mclasen@redhat.com>
3 * gtk/gtkprintjob.c (gtk_print_job_get_surface): Fix a
4 small memory leak. (#403251, Felix Riemann)
6 2007-04-29 Matthias Clasen <mclasen@redhat.com>
8 * modules/printbackends/cups/gtkprintbackendcups.c: Fix a
9 typo. String change ! (#406160, Stephane Raimbault)
11 2007-04-29 Matthias Clasen <mclasen@redhat.com>
14 * gtk/gtkpapersize.[hc]: Add a function to list the
15 builtin paper sizes. (#382355, Christian Persch)
17 2007-04-29 Matthias Clasen <mclasen@redhat.com>
20 * gtk/gtkprinter-private.h:
21 * gtk/gtkprinter.[hc]: Make gtk_printer_has_details() and
22 gtk_printer_request_details() public.
24 * gtk/gtkpagesetupunixdialog.c:
25 * gtk/gtkprintunixdialog.c: Update callers. (#389203,
28 2007-04-28 Matthias Clasen <mclasen@redhat.com>
30 * configure.in: Add --enable-test-print-backend, defaulting
33 * modules/printbackends/Makefile.am: Make building the test
34 print backend conditional.
36 2007-04-28 Matthias Clasen <mclasen@redhat.com>
38 * modules/printbackends/lpr/*:
39 * modules/printbackends/cups/*: Correct some copyright lines.
42 * modules/printbackends/Makefile.am:
43 * modules/printbackends/test/*: Add a test print backend.
44 (#409089, John Palmieri)
46 2007-04-28 Matthias Clasen <mclasen@redhat.com>
48 * gtk/gtktexttag.[hc]: Add a way to specify accumulative
49 margins. (#344499, Nate Nielsen)
51 2007-04-28 Matthias Clasen <mclasen@redhat.com>
53 * gtk/gtkeventbox.c (gtk_event_box_realize): Fix the offsets
54 of the input-only window if we also have a visible window.
57 2007-04-28 Matthias Clasen <mclasen@redhat.com>
59 * gtk/gtkliststore.c (gtk_list_store_set_valist_internal):
60 * gtk/gtktreestore.c (gtk_tree_store_set_valist_internal):
61 Recognize negative column indices as invalid. (#415260,
64 2007-04-28 Ronald Bultje <rbultje@ronald.bitfreak.net>
66 * gdk/quartz/gdkeventloop-quartz.c: (select_thread_func),
67 (poll_func): fix two more potential races that could happen when
68 an application is polling in the mainloop and a separate thread
69 tries to wake it up using g_idle_add(). Fixes #425271 comment 5.
71 2007-04-28 Matthias Clasen <mclasen@redhat.com>
73 * gtk/gtkentry.c (gtk_entry_grab_focus):
74 (gtk_entry_real_insert_text): Only call g_object_get()
75 when necessary. (#373137, Morten Welinder, patch by Xan Lopez)
77 2007-04-28 Matthias Clasen <mclasen@redhat.com>
79 * gtk/gtkstatusicon.c (gtk_status_icon_get_size): Add
80 a note about being embedded. (#340107, Christian Persch)
82 2007-04-28 Matthias Clasen <mclasen@redhat.com>
84 * gtk/gtkdnd.[hc]: Add GTK_TARGET_OTHER_{APP,WIDGET} to
85 restrict drags within an application/widget. (#163141,
88 2007-04-28 Matthias Clasen <mclasen@redhat.com>
90 * docs/tools/Makefile.am:
91 * gtk/Makefile.am: Make make clean clean. (#410160, Tommi
94 2007-04-28 Matthias Clasen <mclasen@redhat.com>
96 * gdk/win32/bdfcursor.c (compose_cursors_from_fonts):
97 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_reorder):
98 * gtk/gtkfilesystemmodel.c (got_root_folder_cb):
99 (get_children_folder_cb): Plug memory leaks caused by wrong
100 use of g_slist_remove_link(). (#405515, Nicolas Peninguy)
102 2007-04-28 Matthias Clasen <mclasen@redhat.com>
104 * demos/gtk-demo/printing.c: Fix the headers in the print
105 demo. (#423722, Yevgen Muntyan)
107 2007-04-28 Xan Lopez <xan@gnome.org>
109 * gtk/gtkentrycompletion.c (gtk_entry_completion_insert_completion_text):
110 Use strstr instead of g_strstr with -1 for length.
112 2007-04-28 Xan Lopez <xan@gnome.org>
115 * gtk/gtkentrycompletion.c:
116 * gtk/gtkentrycompletion.h:
117 * gtk/gtkentryprivate.h:
119 Remember the user input that triggered the completion, add
120 API to the retrieve it and reset the entry contents to it
121 if the user cancels the tentative completion during
122 the inline-selection.
124 2007-04-27 Matthias Clasen <mclasen@redhat.com>
126 * gdk/x11/gdkgeometry-x11.c: Factor out window movement
127 functions. (#63820, Tilman Sauerbeck)
129 2007-04-27 Matthias Clasen <mclasen@redhat.com>
131 * gdk/x11/gdkgeometry-x11.c: Factor out translate_pos().
132 (#63820, Tilman Sauerbeck)
134 2007-04-27 Matthias Clasen <mclasen@redhat.com>
136 * gdk/x11/gdkgeometry-x11.c: Factor out window mapping
137 and unmapping functions. (#63820, Tilman Sauerbeck)
139 2007-04-27 Matthias Clasen <mclasen@redhat.com>
141 * gdk/x11/gdkgeometry-x11.c: Make list handling code
142 easier to read. (#63820, Tilman Sauerbeck)
144 2007-04-27 Matthias Clasen <mclasen@redhat.com>
150 * gtkrecentmanager.c:
151 * gtktextiter.c: Internalize some strings, pointed out
154 2007-04-27 Xan Lopez <xan@gnome.org>
156 Support inline-selection in entries (#318459)
159 * gtk/gtkentrycompletion.c:
160 * gtk/gtkentrycompletion.h:
161 * gtk/gtkentryprivate.h:
163 When enabled cursor-match is emited when the cursor is on
164 a possible completion on the list. The default implementation
165 will replace the contents on the entry with the contents of
166 the text column in the completion model.
168 Review and improvements by Matthias Clasen.
170 2007-04-27 Michael Natterer <mitch@imendio.com>
172 Merged heavily modified patch from maemo-gtk which enables opening
173 and closing submenus on click, and introduces some usability
174 changes when gtk-touchscreen-mode is enabled (bug #128968):
176 * gtk/gtkmenushell.c (struct GtkMenuShellPrivate): added boolean
177 "activated_submenu" to indicate that the current mouse operation
178 (click or drag) has opened a submenu.
180 (gtk_menu_shell_button_press): pop up submenus without delay
181 and record the fact in "activated_submenu".
183 (gtk_menu_shell_button_release): if a submenu was explicitely
184 opened, or not opened by this release's button_press, or enough
185 time has passed since timeout-opening it, close the submenu here.
187 (gtk_menu_shell_enter_notify): when entering a menu item with
188 any mouse button pressed, open its submenu.
190 (gtk_real_menu_shell_move_current): in touchsreen mode, close the
191 submenu when moving the focus away from it via keyboard-navigation.
193 * gtk/gtkmenuitem.[ch] (_gtk_menu_item_popup_submenu): added
194 parameter "gboolean with_delay" so GtkMenuShell can control this
195 for the different scenarios of submenu showing.
197 (_gtk_menu_item_popdown_submenu): new function. also needed by
198 GtkMenuShell for closing submenus on click.
200 Renamed internal function gtk_menu_item_select_timeout() to
201 gtk_menu_item_popup_timeout().
203 (gtk_menu_item_real_popup_submenu): new utility function which
204 does the actual popup and records the exact time of the popup when
205 the menu was timeout-opened (using g_get_current_time()).
207 (gtk_real_menu_item_select): don't add the popup timeout when in
210 * gtk/gtkmenu.c (gtk_menu_popup): in touchscreen mode, select the
211 first item of every opened menu.
213 2007-04-26 Matthias Clasen <mclasen@redhat.com>
215 * gtk/gtkfilechooserentry.c: Append a '/' to directory names
216 in the completion popup. (#431323, Maarten Maathuis)
218 2007-04-26 Matthias Clasen <mclasen@redhat.com>
220 * demo/gtk-demo/combobox.c: Add a simple validation demo.
221 * gtk/gtkcomboboxentry.c: Make it possible to add arbitrary
222 children to a GtkComboBoxEntry. (#426401, Paul Pogonyshev)
224 2007-04-26 Tor Lillqvist <tml@novell.com>
226 * gtk/gtkinputdialog.c (gtk_input_dialog_fill_axes)
227 (gtk_input_dialog_fill_keys): Remove old child of scrolled window
228 before adding a new one when switching what input device is being
231 2007-04-26 Matthias Clasen <mclasen@redhat.com>
233 * modules/printbackends/lpr/gtkprintbackendlpr.c
234 (gtk_print_backend_lpr_init): Mark the printer list as done.
235 (#428665, Bogdan Gheorghe)
237 2007-04-26 Matthias Clasen <mclasen@redhat.com>
240 * gtk/Makefile.am: Don't install UNIX-printing headers and
241 support files on non-UNIX platforms. (#425655, Vincent Geddes)
243 2007-04-26 Matthias Clasen <mclasen@redhat.com>
245 * gtk/gtkuimanager.c (gtk_ui_manager_add_ui): Accept
246 unnamed separators. (#369112, Christian Persch)
248 2007-04-26 Matthias Clasen <mclasen@redhat.com>
250 * gtk/gtkaccelgroup.c (gtk_accel_group_finalize): Don't access
251 invalid memory. (#429732, Armin Burgmeier)
253 2007-04-26 Cody Russell <bratsche@gnome.org>
255 * gdk/win32/xcursors.h:
256 * gdk/win32/gdkcursor-win32.c:
258 Use Win32 native cursors instead of the ones built into GTK
259 where it makes sense. (#128852, Tim Evans)
261 2007-04-25 Cody Russell <bratsche@gnome.org>
265 * gtk/gtkhandlebox.c:
266 * gdk/directfb/gdkwindow-directfb.c:
267 * gdk/linux-fb/gdkwindow-fb.c:
268 * gdk/quartz/gdkwindow-quartz.c:
269 * gdk/win32/gdkwindow-win32.c:
270 * gdk/x11/gdkwindow-x11.c:
271 Added window type hint and implement drop shadows on Win32
272 for menus, tooltips, etc. (#148535, Tim Evans, Dom Lachowicz)
274 2007-04-25 Jakub Steiner <jimmac@ximian.com>
276 * gtk/stock-icons/16/gtk-close.{png,svg}: added 16x16 version of
277 gtk-close as per discussion in bug #431740.
279 2007-04-25 Matthias Clasen <mclasen@redhat.com>
281 * gtk/gtktreeview.c (gtk_tree_view_style_set): Set the background
282 of the header window again. (#431067, Benjamin Berg)
284 2007-04-25 Matthias Clasen <mclasen@redhat.com>
286 * gtk/gtkicontheme.c (theme_lookup_icon): Set the filename to
287 NULL for builtin icons, sinc gtk_icon_info_get_builtin_pixbuf()
290 * tests/testicontheme.c: Report builtin icons.
292 2007-04-25 Matthias Clasen <mclasen@redhat.com>
294 * gtk/gtkprintoperation.c (preview_iface_end_preview): Don't
295 crash if end_run is not set. (#424168, Matthias Hasselmann)
297 2007-04-25 Michael Natterer <mitch@imendio.com>
299 * gtk/gtkmenu.c (gtk_menu_handle_scrolling): fix ACTIVE state of
300 scroll buttons (we were setting the state to ACTIVE but
301 immediately overwriting it with NORMAL or PRELIGHT). Also got rid
302 of many separate calls to gdk_window_invalidate_rect() by
303 remembering the old button state and only invalidating the area if
304 the state has changed (addresses parts of bug #433242, Tommi
307 (gtk_menu_scroll_to): change the arrow states only if changing
308 from or to INSENSITIVE state, so we don't overwrite the ACTIVE
309 state set by above function.
311 2007-04-25 Michael Natterer <mitch@imendio.com>
313 * gtk/gtkprintoperation.c (preview_iface_is_selected): fix the
314 build. Dunno if the fix is right, but I think it is.
316 2007-04-25 Kristian Rietveld <kris@imendio.com>
318 * gtk/gtktooltip.c (find_topmost_widget_coords_from_event):
319 cleanup/refactor some leftover code.
321 2007-04-24 Matthias Clasen <mclasen@redhat.com>
323 * gtk/gtkprintunixdialog.c (dialog_get_page_ranges): Parse
324 half-open ranges like -2 or 3-, and be a bit more liberal
326 (dialog_set_page_ranges): Support half-open ranges.
328 * gtk/gtkprintoperation.c (print_pages_idle): Substitute the
329 number of pages in half-open ranges.
330 (preview_iface_is_selected): Support half-open ranges here, too.
332 2007-04-24 Chris Wilson <chris@chris-wilson.co.uk>
334 * gtk/gtkicontheme.c (scan_directory): Ensure the
335 icon_theme->all_icons and dir->icons hash tables use the same string
336 as their keys. (#418531)
338 2007-04-23 Cody Russell <bratsche@gnome.org>
339 * modules/engines/ms-windows/msw_style.c: Fixed one-pixel drawing error on
340 left-most tab when notebooks are top-oriented. Also general cleanup of
341 notebook tab related code. (Lieven van der Heide, Cody Russell)
343 2007-04-23 Matthias Clasen <mclasen@redhat.com>
345 * modules/printbackends/cups/gtkprintbackendcups.c: Reduce
346 the amount of debug spew if we are not debugging.
348 2007-04-23 Michael Natterer <mitch@imendio.com>
350 * tests/Makefile.am (testtooltips_SOURCES): fix typo:
351 testtoooltips_SOURCES -> testtooltips_SOURCES.
353 2007-04-19 Cody Russell <bratsche@gnome.org>
355 * modules/engines/ms-windows/msw_style.c: Fix menuitem rendering
356 for Windows Vista. (#392015, Hiroyuki Yamamoto)
358 2007-04-19 Dominic Lachowicz <domlachowicz@gmail.com>
360 * modules/engines/ms-windows/msw_style.c: Fix pixbuf leaks in
361 non-WinXP rendering paths. From Daniel Atallah (#403470)
363 2007-04-19 Matthias Clasen <mclasen@redhat.com>
365 * gtk/gtkicontheme.h:
366 * gtk/gtkicontheme.c: Add GTK_ICON_LOOKUP_GENERIC_FALLBACK
367 icon lookup flag and implement it. (#396901, Luca Ferreti)
369 2007-04-18 Richard Hult <richard@imendio.com>
371 * gdk/quartz/gdkwindow-quartz.c:
372 (gdk_window_quartz_process_updates_internal),
373 (gdk_window_quartz_process_all_updates),
374 (gdk_window_impl_quartz_process_updates): Refactor the process
375 updates functions to share code between them. Also fixes bug
376 #427660 by not updating larger regions than necessary.
378 2007-04-18 Matthias Clasen <mclasen@redhat.com>
380 * gdk/gdkregion-generic.h (GROWREGION): Handle the case
381 of nRects == 0 correctly.
383 2007-04-18 Emmanuele Bassi <ebassi@gnome.org>
385 * gtk/gtkrecentmanager.c (gtk_recent_manager_lookup_item): Fix
386 a leak by not increasing the refcount of the GtkRecentInfo
387 object when returning it (thanks to Matthias Clasen).
389 2007-04-16 Alexander Larsson <alexl@redhat.com>
391 * gtk/gtkprintoperation.c (gtk_print_operation_run):
392 Make async print preview work by actually starting
393 the print process in that case (#424168)
395 2007-04-14 Yevgen Muntyan <muntyan@tamu.edu>
397 * gtk/gtkselection.c (selection_get_text_plain): fixed
398 wrong g_convert_with_fallback() call which caused
399 gtk_selection_data_get_text() return invalid UTF-8 for
400 non-ASCII text in text/plain selection (#382824).
402 2007-04-12 Jakub Steiner <jimmac@ximian.com>
404 * gtk/stock-icons/*: update the stock icons to follow the Tango
407 2007-04-11 Chris Wilson <chris@chris-wilson.co.uk>
409 * gtk/gtkiconfactory.c (_gtk_icon_factory_list_ids):
410 * gtk/gtkstock.c (gtk_stock_list_ids):
411 Switch over to use glib's new g_hash_table_get_keys() rather
412 than our own static implementation.
414 * gtk/gtkiconfactory.h: Update to return a GList.
416 * configure.in: Bump required version to 2.13.1
418 2007-04-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
420 * gdk/quartz/gdkeventloop-quartz.c: Protect the polling thread
421 setup and shutdown function by mutexes and read the wakeup
422 pipe unconditionally and unblocking. This should make the main
423 loop always be woken up when using g_idle_add() from another
424 thread in the Quartz backend (#425271).
426 2007-04-10 Matthias Clasen <mclasen@redhat.com>
428 * gdk/x11/xsettings-client.[hc]: Change the XSettingsWatchFunc
429 to return a Bool to indicate success. Update callers and
430 implementors. Based on a patch by Owen Taylor.
432 * gdk/x11/gdkevents-x11.c (gdk_xsettings_watch_cb): Don't
433 leak a reference to gdkwin.
435 2007-04-07 Xan Lopez <xan@gnome.org>
437 * gtk/gtknotebook.c (gtk_notebook_class_init):
438 s/arrow-size/arrow-spacing in the arrow-spacing
441 2007-04-06 Richard Hult <richard@imendio.com>
443 * gdk/quartz/: Clean up namespaces to make the code more
446 * gdk/quartz/gdkdrawable-quartz.c:
447 * gdk/quartz/gdkgc-quartz.c: Fix bug #418384, alignment of tiled
448 images, by setting the pattern phase for the CG pattern.
450 2007-04-04 Kristian Rietveld <kris@imendio.com>
452 * gtk/gtktooltip.c (tooltip_browse_mode_expired),
453 (gtk_tooltip_hide_tooltip), (tooltip_popup_timeout),
454 (gtk_tooltip_start_delay): use new gdk_threads API.
456 2007-04-03 Behdad Esfahbod <behdad@gnome.org>
458 * gtk/gtksettings.c (settings_update_font_options): Don't set
459 metrics-hinting font option. Rely on the default value which is
460 on for all raster cairo surfaces. (#425985)
462 2007-04-03 Loïc Minier <lool@dooz.org>
464 * gdk/x11/gdkscreen-x11.c: (check_xfree_xinerama): Revert to
465 non-xinerama mode when XineramaQueryScreens returns NULL; patch from
466 Simon McVittie; #425786.
468 2007-04-02 Michael Natterer <mitch@imendio.com>
470 * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): remove
471 artifact from the time when type checking casts warned on NULL,
472 some whitespace cleanup.
474 2007-04-01 Cody Russell <bratsche@gnome.org>
476 * modules/engines/ms-windows/msw_style.c: Fix rendering of
477 notebook tabs when they are bottom-oriented. Fixes #399253.
479 2007-03-31 Elijah Newren <newren gmail com>
481 * gdk/x11/gdkwindow-x11.c (setup_toplevel_window,
482 gdk_x11_window_set_user_time):
483 Patch from Matthias to add support for the
484 _NET_WM_USER_TIME_WINDOW EWMH protocol; see #354213.
486 WARNING: This patch will make metacity <= 2.18.0 freeze on
487 workspace switch. This is due to a weird problem that should only
488 affect window managers using gdk in-process for decoration drawing
489 and which make an unsafe assumption relating to doing so (i.e. it
490 should only affect metacity). Upgrade your version of metacity if
493 2007-03-29 Michael Natterer <mitch@imendio.com>
495 Don't close menus on clicks on their border area (bug #423761).
496 (modified patch from maemo-gtk).
498 * gtk/gtkmenu.c (gtk_menu_button_press)
499 (gtk_menu_button_release): bail out early if the click was on the
500 menu's border (not on any item and not outside the window).
502 (pointer_in_menu_window): new utility function which checks if
503 passed root coords are inside the menu_shell or one of its
506 2007-03-29 Michael Natterer <mitch@imendio.com>
508 * gtk/gtkmenu.c: get rid of local GtkSettings variables by moving
509 gtk_widget_get_settings() into the g_object_get() call. Some small
512 2007-03-28 Matthias Clasen <mclasen@redhat.com>
514 * modules/printbackends/cups/gtkcupsutils.[hc]:
515 * modules/printbackends/cups/gtkprintbackendcups.c: Apply
516 a patch by John Palmieri to make the cups print backend support
519 2007-03-28 Kristian Rietveld <kris@imendio.com>
521 * gtk/gtkwidget.c (gtk_widget_set_tooltip_window): don't unref
522 tooltip_window, since this is handled by set_qdata_full() already.
523 (#412001, Torsten Schoenfeld).
525 2007-03-27 Tor Lillqvist <tml@novell.com>
527 * modules/input/Makefile.am: Use LDADDS for im-multipress.la, too:
529 2007-03-26 Christian Persch <chpe@gnome.org>
531 * gtk/gtkrc.c: (gtk_rc_context_get): Initialise variable. Bug #423064.
533 2007-03-24 Kristian Rietveld <kris@gtk.org>
535 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
536 calculate the depth with the corrected real_cell_area and don't
537 subtract horizontal_separator/2.
539 2007-03-24 Andreas Nilsson <andreas@andreasn.se>
542 * gtk-no: More Tango love.
544 2007-03-23 Jakub Steiner <jimmac@ximian.com>
546 * gtk-dialog-authentication.svg
547 * gtk-dialog-error.svg
548 * gtk-dialog-info.svg
549 * gtk-dialog-question.svg
550 * gtk-dialog-warning.svg: Start with a Tango face-lift.
552 2007-03-23 Rodney Dawes <dobey@novell.com>
554 * gtk/gtkicontheme.c: Fix a couple of comment typos (#421627)
556 2007-03-23 Matthias Clasen <mclasen@redhat.com>
558 * gtk/gtkfilechooserdefault.c: Add a keybinding (C-h) to
559 toggle whether to show hidden files. (#344657,
560 Wouter Bolsterlee, Priit Laes, et al)
562 2007-03-23 Matthias Clasen <mclasen@redhat.com>
564 * gtk/gtkfilechooserdefault.c: Add a keybinding (C-l) to
565 toggle the visibility of the location entry. (#383354,
566 John Pye, patch by Carlos Garnacho)
568 2007-03-22 Matthias Clasen <mclasen@redhat.com>
570 * gtk/gtksettings.c (merge_color_scheme): Freeze property
572 * gtk/gtksettings.c (_gtk_settings_handle_event): Handle
573 the gtk-color-scheme xsetting being unset.
575 * gtk/gtkrc.c (gtk_rc_reparse_all_for_settings): Handle
578 2007-03-21 Matthias Clasen <mclasen@redhat.com>
580 * gtk/gtkprintoperation-unix.c: Remove leftover debug spew.
582 2007-03-21 Rodney Dawes <dobey@novell.com>
585 * gtk/gtkicontheme.[ch]:
586 * docs/reference/gtk/gtk-sections.txt:
587 * tests/testicontheme.c:
588 Add a new API call gtk_icon_theme_list_contexts so that one can
589 choose icons from a theme by context (#420719)
591 2007-03-21 Ross Burton <ross@burtonini.com>
594 Document the ::event signal (#420703).
596 2007-03-20 Kristian Rietveld <kris@gtk.org>
598 * gtk/gtktreeviewcolumn.c:
599 * gtk/gtktreeprivate.h: add _gtk_tree_view_column_get_focus_area().
601 * gtk/gtktreeview.c (gtk_tree_view_clamp_column_visible): add
602 focus_to_cell parameter, rework to handle clamping columns which
603 are bigger than the available page size better,
604 (gtk_tree_view_key_press): remove code handling moving the focus
605 to other column headers,
606 (gtk_tree_view_header_focus): add clamp_column_visible parameter,
607 fix RTL support, don't wrap around when moving focus to other
608 column headers, call gtk_tree_view_clamp_column_visible() instead
610 (gtk_tree_view_focus): only clamp the column visible when we are
611 explicitly moving to another column header (fixes #399555, Charles
613 (gtk_tree_view_move_cursor_left_right): update call to
614 gtk_tree_view_clamp_column_visible().
616 2007-03-19 Matthias Clasen <mclasen@redhat.com>
618 * demos/gtk-demo/appwindow.c: Explicitly set the title on the
621 2007-03-18 Matthias Clasen <mclasen@redhat.com>
623 * gtk/gtkentrycompletion.c (gtk_entry_completion_compute_prefix):
624 Ensure that the prefix is valid UTF-8. (#419568, Nickolay V. Shmyrev)
626 2007-03-18 Matthias Clasen <mclasen@redhat.com>
628 * modules/input/gtkimcontextmultipress.[hc]:
629 * modules/input/im-multipress.conf:
630 * modules/input/immultipress.c:
631 * modules/input/README.multipress: Add the multipress input
632 method. (#417446, Johannes Schmid, Murray Cumming)
634 * modules/input/Makefile.am: Glue
636 2007-03-17 Chris Wilson <chris@chris-wilson.co.uk>
638 * gdk/x11/gdkvisual-x11.c (_gdk_visual_init):
639 Initialise nxvisuals to 0 in order to handle XGetVisualInfo()
640 failures gracefully. (#419171)
642 2007-03-17 Emmanuele Bassi <ebassi@gnome.org>
644 * gtk/gtkrecentaction.c (recent_chooser_set_property),
645 (gtk_recent_action_set_property): Remove useless inlined
646 function and propagate the properties to the GtkRecentChooser
647 objects we create, instead of all the proxies.
649 (set_current_filter): Remove 'inline' marker.
651 2007-03-16 Emmanuele Bassi <ebassi@gnome.org>
653 Apply changes suggested by Michael Natterer. (#338843)
656 * gtk/gtkaction.c: Rename get_submenu() to create_menu();
657 rename gtk_action_get_submenu() to gtk_action_create_menu().
659 * gtk/gtkrecentaction.c: Update for GtkAction change.
661 * gtk/gtkuimanager.c (update_node): Update for GtkAction change;
662 also, use the menu from the GtkAction for both menuitem and
665 2007-03-16 Xan Lopez <xan@gnome.org>
667 * gtk/gtkwidget.c: Fix documentation error in
668 gtk_widget_set_redraw_on_allocate.
670 2007-03-16 Matthias Clasen <mclasen@redhat.com>
672 * gtk/gtkprintunixdialog.c (printer_added_cb): Scroll to
673 make the selected printer visible. (#418403, Nickolay V. Shmyrev,
674 patch by Christian Persch)
676 2007-03-15 Federico Mena Quintero <federico@novell.com>
678 Merged from gtk-2-10:
680 * gtk/gtkfilechooserdefault.c (find_good_size_from_style):
681 PANGO_PIXELS() gives us device units, which are *points* in
682 pangocairo's parlance, but we want actual pixels. So, get the
683 screen's resolution to compute the actual number of pixels.
686 2007-03-15 Emmanuele Bassi <ebassi@gnome.org>
688 * gtk/gtkrecentmanager.c (gtk_recent_manager_add_item): Remove
689 unused GError; do not allocate GtkRecentData and use a variable
690 on the stack. (#418673, Morten Welinder)
692 2007-03-15 Emmanuele Bassi <ebassi@gnome.org>
694 * gtk/gtkaction.[ch]: Add GtkActionClass::get_submenu() vfunc:
695 actions providing a menu item or a menu tool button with already
696 a submenu should return the GtkMenu widget.
698 * gtk/gtkuimanager.c (update_node): If an action provides its
699 own submenu, use it instead of adding an empty one
701 * gtk/gtkrecentaction.[ch]: Add GtkRecentAction, an action
702 implementing the GtkRecentChooser interface for displaying the
703 list of recently used files into menus and toolbars generated
704 using GtkUIManager. (#338843)
708 * gtk/gtk.symbols: Add GtkRecentAction API to the build.
710 * tests/testactions.c: Exercise the GtkRecentAction API.
712 2007-03-15 Chris Wilson <chris@chris-wilson.co.uk>
714 * gtk/gtkicontheme.c (ensure_valid_themes), (rescan_themes),
715 (gtk_icon_theme_rescan_if_needed): Protect ensure_valid_themes()
716 from recursion, which can happen for example if the app tries to
717 reload an icon from within a theme-changed handler. (#418531)
719 2007-03-15 Richard Hult <richard@imendio.com>
721 * gdk/quartz/gdkmain-quartz.c: Add stubs for
722 gdk_notify_startup_complete_with_id and gdk_window_set_startup_id
725 2007-03-15 Emmanuele Bassi <ebassi@gnome.org>
727 * gtk/gtkrecentmanager.c: Fix documentation errors. (Morten
730 2007-03-15 Tor Lillqvist <tml@novell.com>
732 * gdk/gdk.symbols: Add gdk_notify_startup_complete_with_id and
733 gdk_window_set_startup_id.
735 * gdk/win32/gdkmain-win32.c: Add dummy implementations of the above.
737 2007-03-15 Emmanuele Bassi <ebassi@gnome.org>
739 * gtk/gtkrecentchooserprivate.h:
740 * gtk/gtkrecentchooserutils.c: Move filtering of the recent
741 files list into the shared implementation; do the filtering
742 before the sorting, so that we always clamp on the desired
745 * gtk/gtkrecentchoosermenu.c: Remove the filtering of the
746 list, as it's already been done.
748 * gtk/gtkrecentchooserdefault.c: Ditto; also remove the
749 GtkTreeModelFilter: just reload the view if the sorting and
750 filtering properties change.
752 * gtk/testrecentchoosermenu.c: Exercise the limit property.
754 2007-03-14 Michael Natterer <mitch@imendio.com>
756 Make gtk_widget_set_extension_events() work on already realized
757 widgets (bug #379550, Tommi Komulainen)
759 * gdk/x11/gdkinput.c (gdk_input_set_extension_events): allow to be
760 called multiple times without leaking and work correctly when
761 already realized (don't rely on a configure event following).
763 * gtk/gtkwidget.c (gtk_widget_set_extension_events_internal): new
764 internal function which walks the GdkWindow tree and sets the
765 extension events on all windows that belong to the widget.
768 (gtk_widget_set_extension_events): use the new function.
770 2007-03-14 Emmanuele Bassi <ebassi@gnome.org>
772 Various clean ups in the GtkRecent code. (see #338843)
774 * gtk/gtkrecentchooserdefault.c:
775 * gtk/gtkrecentchoosermenu.c:
776 * gtk/gtkrecentchooserprivate.h:
777 * gtk/gtkrecentchooserutils.c: Move the recent chooser function
778 for getting the sorted and clamped list of recent files from the
779 manager outside the implementations.
781 * gtk/gtkrecentchooserdefault.c (chooser_set_sort_type): Repopulate
782 the list when the sorting order changes.
784 (gtk_recent_chooser_default_dispose),
785 (gtk_recent_chooser_default_finalize): Move object unref and
786 source removal from finalize to dispose.
788 * gtk/gtkrecentchooser.c (gtk_recent_chooser_type_init): Relax the
789 prerequisite for the GtkRecentChooser interface implementations,
790 from GtkObject to GObject.
792 (gtk_recent_chooser_class_init): Use GTK_PARAM_* instead of
795 2007-03-13 Emmanuele Bassi <ebassi@gnome.org>
797 Apply patch by Vytautas Liuolia for changing the startup
798 notification id on a window in the X11 backend. (#347375)
802 * gdk/x11/gdkdisplay-x11.c: Add gdk_notify_startup_complete_with_id()
803 and gdk_x11_display_get_startup_notification_id().
806 * gdk/x11/gdkwindow-x11.c: Add gdk_window_set_startup_id().
809 * gtk/gtkwindow.c: Add gtk_window_set_startup_id(), used to
810 change the startup notification id.
812 (gtk_window_class_init), (gtk_window_init),
813 (gtk_window_set_property): Add write-only "startup-id" property
816 (gtk_window_realize): Set the startup notification id
817 on a GtkWindow if it's valid.
819 (gtk_window_map): If we have another valid startup notification
820 id then finish the notification process.
822 2007-03-13 Matthias Clasen <mclasen@redhat.com>
824 * gtk/gtknotebook.c (gtk_notebook_real_insert_page):
825 Fix tabbed browsing in epiphany. (#413664, Christian Persch)
827 2007-03-12 Matthias Clasen <mclasen@redhat.com>
829 * gtk/gtksizegroup.c (gtk_size_group_add_widget): Clarify
830 docs. (#345844, Torsten Schoenfeld)
832 * gdk/x11/gdkevents-x11.c (gdk_display_add_client_message_filter):
833 * gdk/gdkwindow.c (gdk_window_add_filter): Add
834 cross-references. (#351252, Vincent Untz)
836 * gtk/gtkprintoperation.c: Fix an oversight in an
837 example. (#381083, Ian Puleston)
839 * gtk/gtkcombobox.c: Clean up and clarify docs. (#412484)
841 2007-03-12 Matthias Clasen <mclasen@redhat.com>
843 * gtk/gtkspinbutton.c (gtk_spin_button_style_set): Set
844 the background of the panel window on style changes. (#402144,
847 2007-03-12 Matthias Clasen <mclasen@redhat.com>
849 * gtk/gtkbindings.c (gtk_binding_entry_add_signal): Remove
850 an obsolete comment. (#402169, Xan Lopez)
852 2007-03-12 Matthias Clasen <mclasen@redhat.com>
854 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_property):
855 Don't copy PangoLanguage. (#340031, Morten Welinder)
857 2007-03-12 Matthias Clasen <mclasen@redhat.com>
859 * gtk/gtkfilechooserbutton.c (change_icon_theme_get_info_cb):
860 Handle the row reference path being NULL. (#410565, Joe Markus
861 Clarke, patch by Chris Wilson)
863 2007-03-11 Matthias Clasen <mclasen@redhat.com>
865 * tests/testiconview.c: Handle Menu key presses without
866 crash. (#385637, Christian Persch)
868 2007-03-11 Matthias Clasen <mclasen@redhat.com>
870 * gtk/gtktooltips.c (gtk_tooltips_get_info_from_tip_window):
871 Don't crash if active_tips_data is NULL. (#382904, Li Yuan)
873 2007-03-11 Matthias Clasen <mclasen@redhat.com>
875 * gtk/gtktextview.c (gtk_text_view_set_buffer): Set first_para_mark
876 to NULL. (#396805, Colin Leroy, patch by Mariano Suárez-Alvarez)
878 2007-03-12 Kristian Rietveld <kris@gtk.org>
880 * gtk/gtkfilechooserdefault.c (check_save_entry): immediately
881 bail out if current_folder is NULL. (#350988, lots of reporters,
882 modified patch by Jan Darmochwal).
884 2007-03-10 Kristian Rietveld <kris@gtk.org>
886 * gtk/gtktreeview.c (gtk_tree_view_search_dialog_hide): only
887 hide the search dialog and send focus events if the search dialog
888 is currently visible.
890 2007-03-10 Richard Hult <richard@imendio.com>
892 * gdk/quartz/gdkdrawable-quartz.c:
893 (gdk_quartz_ref_cairo_surface): Reuse the surface during its lifetime.
894 (gdk_quartz_drawable_get_context): Update for the new quartz cairo
895 surface API (#410442). Don't lock focus unless called outside of an
897 (gdk_quartz_drawable_release_context): Only flush the CG context and
898 unlock focus if called outside of expose.
899 (_gdk_quartz_drawable_finish): New function, used to free the cached
902 * gdk/quartz/gdkwindow-quartz.c:
903 (gdk_window_impl_quartz_begin_paint_region): A few small style changes.
904 (_gdk_window_impl_quartz_get_type): No need to make the type info
906 (gdk_window_quartz_process_all_updates): Move the autorelease pool
907 allocation and freeing outside the loop.
908 (_gdk_windowing_window_destroy): Finish the drawable.
909 (move_resize_window_internal): Small cleanup and remove comment.
911 * gdk/quartz/gdkpixmap-quartz.c: Finish the drawable.
913 2007-03-10 Richard Hult <richard@imendio.com>
915 * gdk/quartz/gdkprivate-quartz.h: Add missing function signature to fix
918 2007-03-10 Richard Hult <richard@imendio.com>
920 * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_get_name): Plug a leak.
922 2007-03-10 Richard Hult <richard@imendio.com>
924 * gdk/quartz/GdkQuartzView.c: Remove unneccesary exposure mask check.
926 2007-03-10 Richard Hult <richard@imendio.com>
928 * gdk/quartz/gdkevents-quartz.c: (gdk_screen_get_setting): Don't set
929 the font name here, leave that to themes, fixes #387508.
931 2007-03-10 Kristian Rietveld <kris@gtk.org>
933 * gtk/gtktreemodelsort.c (gtk_tree_model_sort_ref_node),
934 (gtk_tree_model_sort_real_unref_node): when (un)reffing an
935 element, also (un)ref its parent elements. (Fixes #364946,
936 reported by many, testcase by Andreas Koehler).
938 2007-03-10 Matthias Clasen <mclasen@redhat.com>
940 * gtk/gtkprintoperation-unix.c: Initialize the do_preview
941 field of PrintResponseData. (#396703, Christian Persch)
943 * tests/print-editor.c: Plug some leaks.
945 2007-03-09 Matthias Clasen <mclasen@redhat.com>
947 * gtk/gtktextview.c (gtk_text_view_end_selection_drag):
948 Get rid of the unused event argument. Update all callers.
950 * gtk/gtktextview.c (gtk_text_view_focus_out): Call
951 gtk_text_view_end_selection_drag. (#351671, Boyd Timothy)
953 2007-03-09 Matthias Clasen <mclasen@redhat.com>
955 * modules/input/gtkimcontextxim.c
956 (gtk_im_context_xim_filter_keypress): Don't commit
957 modifier-adorned characters. (#331369, #335796, Lin Ma
960 2007-03-09 Matthias Clasen <mclasen@redhat.com>
962 * Everywhere: Remove unnecessary NULL checks before
963 g_free(). (#369666, Morten Welinder, Djihed Afifi)
965 * configure.in: Check for ftw.h
967 2007-03-09 Matthias Clasen <mclasen@redhat.com>
969 * gtk/gtkfilesystemwin32.c (get_icon_path): Remove
970 C99isms. (#416525, Kazuki Iwamoto)
972 2007-03-09 Tor Lillqvist <tml@novell.com>
974 * README.win32: Update.
976 2007-03-08 Matthias Clasen <mclasen@redhat.com>
978 * gdk/x11/gdkasync.c (send_event_handler): Defer the callbacks
979 to an idle to avoid deadlock with xcb-ified libX11. (#413032,
982 2007-03-08 Matthias Clasen <mclasen@redhat.com>
984 * gtk/gtknotebook.c (gtk_notebook_real_insert_page):
985 Set child visibility to FALSE here; it will be turned
986 back on in switch_page. (#413664, Carlos Garnacho)
988 2007-03-08 Mathias Hasselmann <mathias.hasselmann@gmx.de>
990 * modules/engines/ms-windows/msw_style.c: Use proper border style
991 when drawing shadow of scrolled windows on Windows XP (#168326)
992 * modules/engines/ms-windows/xp_theme.c: Explicitly set size of
993 element_part_map array to ensure it always is large enough.
995 2007-03-08 Mathias Hasselmann <mathias.hasselmann@gmx.de>
997 * gtk/gtkcombobox.c: Add shadow-type style property, set shadow-type
998 property of GtkEntry accordingly, unify size-allocation of toggle
999 button (#411123, patch from Mathias Hasselmann).
1000 * gtk/gtkentry.c: Add shadow-type property. Query style properties
1001 on style changes only (#411123, patch from Mathias Hasselmann).
1002 * modules/engines/ms-windows/msw_style.c: Drop combo_box_draw_box
1003 hack as GtkComboBox emits drawing requests now (#411123, patch
1004 from Mathias Hasselmann).
1006 2007-03-08 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1008 * gtk/gtkscrolledindow.c: Improve look of GtkScrolledWindow on Windows
1009 by implementing a scrollbars-within-bevel style property. (#168326)
1011 2007-03-08 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1013 * gtk/gtkfilesystemwin32.c: Use Windows shell icons. Icons are
1014 stored in the current theme with the name
1015 "gtk-win32-shell-icon;PATH;INDEX". PATH and INDEX reference shell
1016 icons as reported by SHGetFileInfoW. (#412221)
1018 2007-03-07 Matthias Clasen <mclasen@redhat.com>
1020 * gtk/gtkexpander.c (gtk_expander_paint_focus): Draw the
1021 focus around the arrow if there is no label widget.
1022 (#124045, Cody Russell)
1024 2007-03-07 Matthias Clasen <mclasen@redhat.com>
1026 * gtk/gtkcombo.c: (gtk_combo_init):
1027 * gtk/gtkcombobox.c: (gtk_combo_box_set_popup_widget),
1028 (gtk_combo_box_menu_setup):
1029 Set names on the popup widgets to make them themable. (#414975,
1032 2007-03-07 Michael Natterer <mitch@imendio.com>
1034 * gtk/gtkcellrendereraccel.c: use multihead safe ungrab functions
1035 instead of gdk_keyboard_ungrab() and gdk_pointer_ungrab(), remove
1036 empty finalize() implementation, some cosmetic cleanup
1039 2007-03-06 Chris Wilson <chris@chris-wilson.co.uk>
1041 * gtk/gtkicontheme.c (update_current_theme), (gtk_icon_theme_init),
1042 (do_theme_change), (gtk_icon_theme_set_custom_theme),
1044 Be careful not to trigger a style reset before we have loaded
1045 the icon theme. (#414875).
1047 2007-03-06 Tor Lillqvist <tml@novell.com>
1050 * gtk/Makefile.am: Further fixes for building on Win32 outside
1051 srcdir. (#413492, Mathias Hasselmann)
1053 2007-03-04 Ihar Hrachyshka <iharh@gnome.org>
1055 * configure.in: Added be@latin to ALL_LINGUAS. Problems seems to be
1058 2007-03-04 Claudio Saavedra <csaavedra@alumnos.utalca.cl>
1060 * configure.in: Removed be@latin from ALL_LINGUAS, as it's currently
1063 2007-03-04 Ihar Hrachyshka <iharh@gnome.org>
1065 * configure.in: Added be@latin to ALL_LINGUAS
1067 2007-03-03 Guillaume Savaton <llumeao@gmail.com>
1069 * configure.in: Added Esperanto (eo) to ALL_LINGUAS
1071 2007-03-01 Matthias Clasen <mclasen@redhat.com>
1073 * gtk/gtksettings.c: Always store gtk-color-scheme
1074 values from all sources in the ColorSchemeData struct
1075 and ignore the property_value for gtk-color-scheme.
1076 This fixes #412596, reported by Thomas Wood.
1078 2007-02-28 Matthias Clasen <mclasen@redhat.com>
1080 * gtk/gtksettings.c: Make color scheme update properly
1081 when changing themes. (#402131, Benjamin Berg)
1083 2007-02-28 Matthias Clasen <mclasen@redhat.com>
1085 * gtk/gtkrc.c: Don't leak references to the color-hash
1086 gotten from GtkSettings. (#409357, Benjamin Berg)
1088 2007-02-28 Tristan Van Berkom <tvb@gnome.org>
1090 * gtk/gtkradiobutton.c: Fixed a warning from
1091 g_object_set (radiobutton, "group", NULL, NULL).
1093 2007-02-26 Matthias Clasen <mclasen@redhat.com>
1095 Apply a patch by Carlos Garnacho to fix several problems
1096 with filechooser size handling (#325477, #151169, 143213,
1099 * gtk/gtkfilechooserdefault.c: Increase NUM_LINES slightly.
1100 (browse_widgets_create): Don't force the paned position to 200.
1101 (find_good_size_from_style): Take the size of the extra widget
1104 * gtk/gtkfilechooserdialog.c (file_chooser_widget_update_hints):
1105 Accept a minimal width parameter. Update all callers.
1107 2007-02-26 Matthias Clasen <mclasen@redhat.com>
1109 * gtk/gtkprintunixdialog.c: Change the label to "Pages per side",
1110 which is more accurate, suggested by Tim Waugh. String change!
1112 2007-02-26 Matthias Clasen <mclasen@redhat.com>
1114 * gtk/gtkprinteroptionwidget.c: Make the folder selection for
1115 print-to-file work. Reported by Ian Collier.
1117 2007-02-26 Chris Wilson <chris@chris-wilson.co.uk>
1119 Bug 409101 – invalid read to gtkicontheme.c insert_theme(), might cause gnome-panel crash
1121 * gtk/gtkicontheme.c: (scan_directory):
1122 Reorder the replacement of the shared base_name key, so that we
1123 avoid dereferencing the string in the icon_theme->all_icon
1124 hash table after freeing it from the dir->icons hash table.
1126 2007-02-26 Tor Lillqvist <tml@novell.com>
1128 * gdk/win32/gdkwindow-win32.c (gdk_window_set_icon_name): Add
1129 comment clarifying that "icon name" here is not related to the
1130 freedesktop.org icon naming stuff.
1132 2007-02-23 Dom Lachowicz <domlachowicz@gmail.com>
1134 * modules/engines/ms-windows/msw_style.c: Bug 411118 - bad bevel for
1135 progress bar on windows classic. Match from Mathias Hasselmann.
1137 2007-02-19 Tor Lillqvist <tml@novell.com>
1139 * gdk/win32/gdkinput.c
1140 (gdk_device_finalize, gdk_device_class_init): Remove.
1141 (gdk_device_get_type): Drop class init function. The X11 version
1142 doesn't have one either.
1143 (gdk_devices_list): Call gdk_display_list_devices() on _gdk_display.
1144 (gdk_display_list_devices): Check that the argument is
1147 * gdk/win32/gdkinput-win32.h (GdkAxisInfo, GdkDevicePrivate):
1148 Cleanup: remove unused fields.
1149 * gdk/win32/gdkinput-win32.c: Corresponding changes. Fix function
1150 names in a few debugging printouts.
1152 2007-02-18 Matthias Clasen <mclasen@redhat.com>
1154 * gtk/gtktextlayout.c (gtk_text_layout_move_iter_visually):
1155 Ignore invisible text when going to end of the previous line.
1158 2007-02-18 Richard Hult <richard@imendio.com>
1160 * gdk/quartz/gdkwindow-quartz.c:
1161 (gdk_window_quartz_process_all_updates),
1162 (_gdk_windowing_window_destroy): Setup release pools to plug two leaks,
1163 patch from Erik van Pienbroek, fixes bug #396649.
1165 2007-02-18 Richard Hult <richard@imendio.com>
1167 * gdk/quartz/gdkevents-quartz.c: Add stub for
1168 gdk_display_add_client_message_filter, patch from Taybin Rutkin. Fixes
1171 * gdk/quartz/gdkprivate-quartz.h: Add prototypes to fix build warnings.
1173 2007-02-18 Richard Hult <richard@imendio.com>
1175 * gdk/quartz/GdkQuartzView.h:
1176 * gdk/quartz/GdkQuartzWindow.h:
1177 * gdk/quartz/gdkquartz.h: Import AppKit.h instead of Quartz.h.
1178 * gdk/quartz/gdkscreen-quartz.c: (get_mm_from_pixels): Don't use
1179 userSpaceScaleFactor for 10.3. Those changes bring us closer to working
1180 on panther, patch from Mathias Hasselmann.
1182 * gdk/quartz/gdkeventloop-quartz.c: Add includes to fix build warnings.
1184 2007-02-16 Behdad Esfahbod <behdad@gnome.org>
1186 * gdk/gdkpango.c (gdk_pango_layout_get_clip_region): Use PANGO_PIXELS
1187 instead of division. (#334617)
1189 2007-02-16 Kristian Rietveld <kris@gtk.org>
1191 * gtk/gtktreeprivate.h: add cursor_offset field.
1193 * gtk/gtktreeview.c (gtk_tree_view_init),
1194 (gtk_tree_view_move_cursor_page_up_down): fix off by one error
1195 in page up/down handling by memorizing the offset into the cursor
1196 row. (Fixes #399809, reported by Bruce Bowler).
1198 2007-02-16 Kristian Rietveld <kris@gtk.org>
1200 * gtk/gtktreeview.c (gtk_tree_view_search_dialog_hide): send
1201 a focus-in event to the tree view after hiding the search dialog.
1202 (#356515, Rich Burridge, Peter Parente).
1204 2007-02-16 Kristian Rietveld <kris@imendio.com>
1206 * tests/testtooltips.c (query_tooltip_text_view_cb): also handle
1207 keyboard tooltips. (#408325, Matthias Clasen).
1209 2007-02-16 Xan Lopez <xan@gnome.org>
1211 * gtk/gtkcombobox.c (gtk_combo_box_expose_event): Cleanup the logic
1212 in expose event handler. Reviewed by Matthias Clasen, #406112
1214 2007-02-16 Matthias Clasen <mclasen@redhat.com>
1216 * gtk/gtkmain.c: Run pre_parse_hook only once. (#403139, Kjartan
1219 2007-02-15 Matthias Clasen <mclasen@redhat.com>
1221 * gdk/x11/gdmain-x11.c (_gdk_xgrab_check_button_event): Be more
1222 careful when checking for ButtonRelease events that end implicit
1223 grabs. (#386618, Christof Krüger)
1225 2007-02-15 Matthias Clasen <mclasen@redhat.com>
1227 * gtk/gtktextbtree.c (_gtk_text_btree_delete): Free the lines
1228 even if there are no views. (#408018, Albert Huang)
1230 2007-02-15 Cody Russell <bratsche@gnome.org>
1232 * gdk/win32/gdkevents-win32.c: Make sure we get enough main context
1233 iterations while we're resizing so that the window contents are resized
1234 more smoothly (#389765).
1236 * gdk/win32/gdkevents-win32.c: Fix flickering widgets when window contents
1237 are resized (#310522).
1239 2007-02-15 Matthias Clasen <mclasen@redhat.com>
1241 * gtk/updateiconcache.c: Handle symlinked .icon files
1242 intelligently; also avoid storing duplicate strings.
1244 2007-02-15 Michael Natterer <mitch@imendio.com>
1246 * gtk/gtkmenushell.c: remove two antique function typedefs that
1247 are probably obsolete for ages.
1249 2007-02-14 Stefan Kost <ensonic@users.sf.net>
1251 reviewed by: Matthias Clasen <mclasen@redhat.com>
1253 * configure.in: determine installation prefixes of dependent libs to
1254 crossreference docs (#407146).
1256 2007-02-14 Kristian Rietveld <kris@imendio.com>
1258 * gtk/gtktooltip.c (child_location_foreach): check return value
1259 of gtk_widget_translate_coordinates() so we cannot end up
1260 using uninitialized x, y values. (#407863, patch from Carlos
1263 2007-02-14 Kristian Rietveld <kris@imendio.com>
1265 * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_realize_button):
1266 use TREE_VIEW_DRAG_WIDTH/2 when calculating the drag window
1267 position instead of a hardcoded value. (Taken from maemo-gtk).
1269 2007-02-14 Michael Natterer <mitch@imendio.com>
1271 * gtk/gtkmenu.c (gtk_menu_motion_notify): don't forget to set the
1272 state of the synthesized GDK_ENTER_NOTIFY event. Fix taken from
1275 2007-02-13 Kristian Rietveld <kris@imendio.com>
1277 * gtk/gtktooltip.c (gtk_tooltip_hide_tooltip): stop any
1278 pending tooltip timeout. (Fixes #406110, Carlos Garnacho).
1280 2007-02-10 Emmanuele Bassi <ebassi@gnome.org>
1282 * gtk/gtkrecentchoosermenu.c: Fix the english of the comment;
1283 remove some type checking; use better variable naming for the
1284 internal menu item markers.
1286 2007-02-09 Emmanuele Bassi <ebassi@gnome.org>
1288 * gtk/gtkrecentchoosermenu.c: Add support for both prepending
1289 and appending custom menu items.
1291 (gtk_recent_chooser_menu_constructor): Add a placeholder menu
1292 item for the empty menu case, and for giving us a starting
1293 point for the recent items populating process.
1295 (gtk_recent_chooser_menu_insert_item),
1296 (gtk_recent_chooser_menu_dispose_items): Insert an item at
1297 the position following the placeholder (and find that position
1300 (idle_populate_func), (idle_populate_clean_up): Show the
1301 placeholder menu item, instead of creating one each time.
1303 (gtk_recent_chooser_menu_populate): Kill some indirections
1304 and hide the placeholder before populating the menu.
1306 (set_recent_manager): Remember to remove the idle population
1307 source if the manager changes.
1309 * tests/testrecentchoosermenu.c: Test the appending and
1310 prepending of the menu items to the recent chooser menu
1313 2007-02-08 Emmanuele Bassi <ebassi@gnome.org>
1315 * gtk/gtkrecentchoosermenu.c (idle_populate_func): Keep count
1316 of the displayed items to build the menu items mnemonic instead
1317 of the overall item count. (#377164)
1319 (idle_populate_clean_up): Append a menu item if all the items
1320 got filtered in the idle populate function. (#405696)
1322 * tests/Makefile.am:
1323 * tests/testrecentchoosermenu.c: Add a test for the
1324 GtkRecentChooserMenu widget.
1326 Thu Feb 8 13:07:08 2007 Tim Janik <timj@imendio.com>
1328 * applied patch from Xan Lopez which adds GTK_BUTTONBOX_CENTER to
1329 GtkButtonBox (bug #336159).
1332 * gtk/gtkvbbox.c, gtk/gtkhbbox.c, gtk/gtkbbox.c:
1333 support GTK_BUTTONBOX_CENTER.
1335 * tests/testbbox.c: new button box test, which allows testing of
1336 the various button box properties.
1338 * tests/testgtk.c: added GTK_BUTTONBOX_CENTER. to button box test.
1340 2007-02-07 Cody Russell <bratsche@gnome.org>
1342 * gdk/gdk.symbols: Add gdk_event_request_motions
1344 Wed Feb 7 19:03:28 2007 Tim Janik <timj@gtk.org>
1346 * gtk/gtkentry.c (gtk_entry_motion_notify): fixed motion request
1347 condition which was wrongly ported with my last commit.
1349 Tue Feb 6 15:53:59 2007 Tim Janik <timj@imendio.com>
1351 * gtk/gtktextview.c (gtk_text_view_motion_event):
1352 * gtk/gtkspinbutton.c (gtk_spin_button_motion_notify):
1353 * gtk/gtkaboutdialog.c (credits_motion_notify_event):
1354 * gtk/gtkhruler.c (gtk_hruler_motion_notify):
1355 * gtk/gtkvruler.c (gtk_vruler_motion_notify):
1356 * gtk/gtkentry.c (gtk_entry_motion_notify):
1357 * gtk/gtktooltip.c (_gtk_tooltip_handle_event):
1358 * gtk/gtkhsv.c (gtk_hsv_motion): call gdk_event_request_motions()
1359 for new motion events after receiving motion hints.
1361 * gdk/gdkevents.[hc]: added gdk_event_request_motions().
1363 2007-02-06 Kristian Rietveld <kris@imendio.com>
1365 * gtk/gtktooltip.c (find_topmost_widget_coords_from_event):
1366 remove unused get of has_tooltip.
1368 * tests/testtooltips.c (query_tooltip_tree_view_cb): use the
1369 portable g_snprintf instead of snprintf.
1371 2007-02-06 Michael Natterer <mitch@imendio.com>
1373 * gtk/gtktooltip.c (gtk_tooltip_finalize): chain up.
1375 (gtk_tooltip_show_tooltip): move variables and code to local
1376 scope. Fixes warnings about maybe uninitialized variables.
1378 2007-02-06 Kristian Rietveld <kris@imendio.com>
1384 * gtk/gtk.symbols: build system foo.
1386 * gtk/gtkmain.c (gtk_main_do_event): call tooltip event handler
1387 hook for appropriate events.
1389 * gtk/gtkmarshalers.list: add BOOLEAN:INT,INT,BOOLEAN,OBJECT.
1391 * gtk/gtkrc.c: add style for gtk-tooltip.
1393 * gtk/gtksettings.c (gtk_settings_class_init): make the
1394 different tooltip timeouts configurable.
1396 * gtk/gtkwidget.[ch]: add new properties, signals, make sure
1397 tooltips are hidden on unmap, destroy, update window event
1398 mask on realize, hook into focus change and show help
1401 * gtk/gtkwindow.h: move GtkWindow typdef to gtkwidget.h ...
1403 * gtk/gtktooltip.[ch]: new files.
1406 * tests/testtooltips.c: add test application.
1408 2007-02-05 Dom Lachowicz <domlachowicz@gmail.com>
1410 * modules/engines/ms-windows/msw_style.c: Fix bug 404506, caused
1411 by prematurely releasing a DC. By Hiroyuki Yamamoto
1412 * modules/engines/ms-windows/msw_style.c: Fix bug 403470 - leaking
1413 pixbufs when drawing rotated tabs. By Daniel Atallah
1415 2007-02-05 Michael Natterer <mitch@imendio.com>
1417 * gtk/gtksettings.c: add new boolean settings gtk-enable-accels
1418 and gtk-enable-mnemonics which enable/disable accelerators and
1419 mnemonics (bug #72375, based on a patch from Tommi Komulainen).
1421 * gtk/gtkwindow.c (gtk_window_activate_key)
1422 * gtk/gtkmenushell.c (gtk_menu_shell_key_press): don't invoke them
1423 if the resp. setting is FALSE.
1425 * gtk/gtkaccellabel.c (gtk_accel_label_refetch)
1426 * gtk/gtklabel.c (gtk_label_set_pattern_internal): don't display
1427 them if the setting is FALSE.
1429 * gtk/gtklabel.c: added signal connection to the screen's settings
1430 object and traverse all widgets on the screen when the setting
1431 changes. It's slightly ugly to also update GtkAccelLabels here,
1432 but less ugly than connecting and traversing all widgets twice.
1434 2007-02-05 Michael Natterer <mitch@imendio.com>
1436 * gtk/gtktextbuffer.h (enum GtkTextBufferTargetInfo): changed
1437 values from G_MAXUINT-0, -1, -2 to -1, -2, -3 so we stay within
1438 ansi C enum value limits. Fixes bug #46757.
1440 2007-02-03 Soren Sandmann <sandmann@daimi.au.dk>
1442 * gtk/gtksequence.[ch]: Remove these files since GSequence has
1443 been moved into GLib.
1445 * gtk/gtkliststore.c: Port to GSequence instead of GtkSequence.
1447 * configure.in: Require glib-2.13.0
1449 2007-02-04 Tor Lillqvist <tml@novell.com>
1451 * gdk/win32/gdkcursor-win32.c: Don't define BITMAPV5HEADER on
1452 mingw with w32api >= 3.8, which has it in wingdi.h. (#403896)
1454 2007-02-02 Kristian Rietveld <kris@gtk.org>
1456 * gtk/gtktreeview.c (gtk_tree_view_row_changed): remove unused
1457 style_get of vertical-separator. (#403165, Chris Wilson).
1459 2007-02-02 Christian Persch <chpe@svn.gnome.org>
1461 * gtk/gtkfilechoosersettings.c: (get_config_filename),
1462 (ensure_settings_read), (_gtk_file_chooser_settings_init),
1463 (_gtk_file_chooser_settings_set_show_hidden),
1464 (_gtk_file_chooser_settings_set_expand_folders),
1465 (_gtk_file_chooser_settings_save): Use a simple key file instead of a
1466 markup file. Bug #399592.
1468 2007-02-02 Mariano Suárez-Alvarez <mariano@gnome.org>
1470 * gtk/gtkcellrenderertext.c(gtk_cell_renderer_text_class_init):
1471 be a little more helpful with the docs on GtkCellRendererText:alignment.
1474 2007-02-01 Michael Natterer <mitch@imendio.com>
1476 * gtk/gtkmenu.c (gtk_menu_paint): pass &event->area to
1477 gtk_paint_box() calls.
1479 2007-02-01 Michael Natterer <mitch@imendio.com>
1481 * gtk/gtkmenu.c (gtk_menu_button_press)
1482 (gtk_menu_button_release)
1483 (gtk_menu_button_scroll): remove redundant and confusing
1484 if (GTK_IS_MENU (widget)) checks because "widget" is always a
1487 Thu Feb 1 12:22:06 2007 Tim Janik <timj@imendio.com>
1489 * gtk/gtkcombobox.c (gtk_combo_box_list_destroy): remove extra reference
1490 that gtkcombobox keeps on priv->popup_widget if it's a tree view.
1492 2007-01-31 Christian Persch <chpe@svn.gnome.org>
1494 * gtk/gtkaboutdialog.c: (update_credits_button_visibility),
1495 (gtk_about_dialog_set_authors), (gtk_about_dialog_set_documenters),
1496 (gtk_about_dialog_set_artists),
1497 (gtk_about_dialog_set_translator_credits): Hide the Credits button iff
1498 there are no credits to show. Bug #402806.
1500 2007-01-31 Tor Lillqvist <tml@novell.com>
1502 * gdk/win32/gdkinput-win32.c (print_cursor): New debugging
1504 (_gdk_input_wintab_init_check): Call it when debugging output is
1506 (_gdk_input_wintab_init_check): Skip duplicated cursors for Wacom
1507 tablets. The Wacom driver reports duplicated cursors with
1508 physid==0. Fix verified by Robert Ögren.
1510 2007-01-30 Felix Riemann <friemann@svn.gnome.org>
1512 * modules/printbackends/file/gtkprintbackendfile.c:
1513 (file_printer_get_options): Fix leaked string. Fixes bug #402565.
1515 2007-01-30 Matthias Clasen <mclasen@redhat.com>
1517 * gdk/x11/gdkwindow-x11.c (gdk_x11_window_move_to_current_desktop):
1518 (gdk_x11_window_set_user_time): Be more careful about toplevel
1519 possibly being NULL. (#402453, Sebastian Bacher)
1521 Tue Jan 30 12:09:56 2007 Tim Janik <timj@gtk.org>
1523 * gtk/gtksettings.c: cleaned up ::color-hash registration to not abuse
1524 class_n_properties and leave an uninitialized value array behind.
1526 2007-01-29 Michael Natterer <mitch@imendio.com>
1528 * gtk/gtkmenuitem.c (gtk_menu_item_select)
1529 (gtk_menu_item_deselect): queue a draw on the parent_menu_item of
1530 this menu item's menu, to enable themeing menu items depending on
1531 whether something is selected in their submenu (patch taken from
1534 2007-01-28 Matthias Clasen <mclasen@redhat.com>
1536 * gtk/gtktoolbar.c: Reinstate gtk_toolbar_content_new_compatibility()
1537 that was mistakenly "cleaned up" a while ago. Also
1538 revert a problematic change to the screen_changed
1539 handler. (#401598, Søren Sandmann)
1541 2007-01-28 Matthias Clasen <mclasen@redhat.com>
1543 * gtk/gtkframe.c (gtk_frame_size_allocation): Fix a
1544 problem with large y thickness. (#136592, Xan Lopez)
1546 2007-01-28 Matthias Clasen <mclasen@redhat.com>
1548 * gtk/gtkaction.c (gtk_action_new): Use canonical
1551 2007-01-27 Matthias Clasen <mclasen@redhat.com>
1553 * gtk/gtknotebook.c (gtk_notebook_draw_arrow):
1554 (gtk_notebook_draw_focus): Avoid some unnecessary
1555 gtk_widget_get_style() calls.
1557 2007-01-27 Matthias Clasen <mclasen@redhat.com>
1560 * gtk/gtktoolitem.c:
1561 * gtk/gtktoolbutton.c: Rearrange things so that setting
1562 multiple properties causes not more than a single
1563 reconstruction of the contents.
1565 * gtk/gtkaction.c (connect_proxy): Set all tool button
1566 properties in one go.
1568 2007-01-27 Matthias Clasen <mclasen@redhat.com>
1570 * gtk/gtkstatusicon.c:
1571 * gtk/gtktrayicon-x11.c: Fix GtkStatusIcon to not
1572 take up space on the panel if it is invisible. (340110, Christian
1575 * tests/teststatusicon.c:
1576 * tests/Makefile.am: Updates
1578 2007-01-27 Matthias Clasen <mclasen@redhat.com>
1582 * gtk/gtk.symbols: Add deprecation guards for gtk_rc_style_ref/unref
1583 and the old file selector. (#348256)
1585 2007-01-26 Matthias Clasen <mclasen@redhat.com>
1587 * gtk/gtkiconview.c: Documentation fixes (#400530, Anders Brander)
1589 2007-01-26 Matthias Clasen <mclasen@redhat.com>
1591 * gtk/updateiconcache.c: Check the mtime of all directories,
1592 not just the toplevel, if ftw() is available. (#331671, Behdad
1595 * configure.in: Check for ftw.h.
1597 2007-01-26 Michael Natterer <mitch@imendio.com>
1599 * modules/input/gtkimcontextxim.c (gtk_im_context_xim_finalize):
1600 destroy the XIM only if it exists. While the code does look safe
1601 in general, there can be corner cases where the "reconnecting"
1602 boolean being FALSE does not correspond to the XIM being
1603 allocated (fixes #329450, fix taken from maemo-gtk).
1605 Fri Jan 26 13:07:07 2007 Tim Janik <timj@imendio.com>
1607 * gtk/gtkstyle.c (draw_insertion_cursor): clamp cursor coordinates to
1608 window bounds (fix from Maemo Gtk).
1610 2007-01-26 Michael Natterer <mitch@imendio.com>
1612 * gtk/gtkentrycompletion.c (gtk_entry_completion_insert_prefix):
1613 only block/unblock completion->priv->insert_text_id if it is
1614 actually connected. While this can't happen the way GtkEntry
1615 itself uses the completion, it's still public API and should not
1616 blindly call functions that will spit warnings (fix taken from
1619 2007-01-25 Matthias Clasen <mclasen@redhat.com>
1621 * gdk/gdkwindow.c: Reduce locking overhead by not repeatedly getting
1622 the paintable iface.
1624 2007-01-24 Michael Natterer <mitch@imendio.com>
1626 * gtk/gtkwidget.c (gtk_widget_set_state): revert generic disabling
1627 of PRELIGHT state for the reasons given in bug #135666. Widget
1628 states are sometimes abused or otherwise used wrongly for historic
1629 reasons, causing this part of the patch to break e.g. menu items.
1631 2007-01-24 Roozbeh Pournader <roozbeh@farsiweb.info>
1633 * README: Remove mention of no-longer-existing PATCH
1634 keyword in bugzilla. (#396899)
1636 2007-01-23 Carlos Garcia Campos <carlosgc@gnome.org>
1638 * gtk/gtkpagesetup.c
1639 (gtk_page_setup_set_paper_size_and_default_margins): Fix memory leak.
1642 2007-01-22 Chris Wilson <chris@chris-wilson.co.uk>
1644 Bug 399314 – Add G_GNUC_WARN_UNUSED_RESULT to gtk_style_attach
1647 Cause gcc to issue a warning if the style returned from
1648 gtk_style_attach is not used. Failure to update
1649 widget->style causes some very difficult to reproduce bugs,
1650 eg Bug 353498 – crash in Terminal: changing icon theme.
1652 2007-01-19 Michael Emmel <mike.emmel@gmail.com>
1654 * gdk/directfb/gdkevents-directfb.c: added fixes for window
1655 crossing events frm Attilio Fiandrotti<attilio.fiandrotti@gmail.com>
1657 2007-01-19 Matthias Clasen <mclasen@redhat.com>
1659 * gtk/gtkcalendar.c: Fix build breakage.
1661 2007-01-19 Kristian Rietveld <kris@imendio.com>
1663 * gtk/gtktreeview.c (gtk_tree_view_motion_bin_window),
1664 (add_scroll_timeout), (gtk_tree_view_drag_motion): factor out
1665 add_scroll_timeout(). (taken from maemo-gtk).
1667 2007-01-18 Matthias Clasen <mclasen@redhat.com>
1669 * gtk/gtkcalendar.c: Fix problems with the initial
1670 focus in GtkCalendar. (#397783, Vincent Untz)
1672 2007-01-19 Robert Ögren <gtk@roboros.com>
1674 Fix for bug #143460 - missed tablet clicks on Windows
1676 * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check):
1677 Request absolute reporting of tablet button state, and cut down
1678 the packet queue size a bit.
1679 (_gdk_input_other_event): Change button state handling
1680 accordingly. Also drop the no longer necessary code that detects
1681 missed clicks/releases for button 1. The switch to absolute button
1682 state should prevent missed events for all buttons. Additionally,
1683 swap button 2 and 3.
1684 (_gdk_input_grab_pointer): Don't reset button_state, that will only
1685 cause a new press event as soon as the next tablet packet arrives.
1687 2007-01-19 Tor Lillqvist <tml@novell.com>
1689 Build Wintab support always on Windows. Don't require the Wintab
1692 * configure.in: Drop the --with-wintab option. Drop the
1693 HAVE_WINTAB feature test macro and Automake variable.
1696 * config.h.win32.in: Drop HAVE_WINTAB.
1698 * gdk/win32/gdkevents-win32.c
1699 * gdk/win32/gdkinput.c
1700 * gdk/win32/gdkinput-win32.h
1701 * gdk/win32/gdkinput-win32.c
1702 * gdk/win32/gdkmain-win32.c: Make HAVE_WINTAB ifdef blocks
1705 * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Try
1706 to load wintab32.dll dynamically here. If it is found look up the
1707 handful Wintab functions we use.
1708 (rest of file): Use these function pointers instead of calling the
1709 functions from wntab32x.lib. The code in wntab32x.lib did the same
1710 thing anyway: tried to load wintab32.dll, and looked up the
1711 addresses of the actual functions from it.
1714 * gdk/win32/Makefile.am: Drop the libwntab32x hacks.
1716 * gdk/win32/wintab.h
1717 * gdk/win32/pktdef.h: New files. Copied from the Wintab
1718 SDK. Copyright blurb says: "The text and information contained in
1719 this file may be freely used, copied, or distributed without
1720 compensation or licensing restrictions."
1722 * README.win32: Update a bit. Remove the text about the Wintab
1725 2007-01-18 Tor Lillqvist <tml@novell.com>
1727 * gdk-pixbuf/Makefile.am
1729 * gdk/win32/Makefile.am
1730 * gtk/Makefile.am: Fixes for building outside srcdir on
1731 Win32. (#336819, #340013) Drop distributing the handmade .la
1732 libtool wrapper for the wntab32x library. It's too much trouble
1733 making it work when building outside srcdir. Just link to the
1734 library direcly using -Wl,win32/libwntab32x.a.
1736 2007-01-18 Michael Natterer <mitch@imendio.com>
1738 * gtk/gtkcheckbutton.c
1743 * gtk/gtkviewport.c: pass more clip rectangles to gtk_paint_foo()
1744 functions. Based on a patch from maemo-gtk (bug #398023).
1746 2007-01-17 Tor Lillqvist <tml@novell.com>
1748 * gtk-zip.sh.in: Include also the COPYING file.
1750 2007-01-17 Matthias Clasen <mclasen@redhat.com>
1752 * modules/printbackends/cups/gtkprintbackendcups.c: Don't use
1753 httpGetFd() when building against cups 1.1
1755 2007-01-17 Tor Lillqvist <tml@novell.com>
1757 Proper fix for #396175:
1759 * gtk/gtkimmulticontext.c: Revert change by Hans Breuer below: Do
1760 include gtkprivate.h. On Win32 we do want to use the redefinition
1761 of GTK_LOCALEDIR as a call to the function _gtk_get_localedir().
1763 * gtk/gtkimmodule.c: Instead, correct the prefix also on
1764 simple_context_info.domain_dirname. Do the prefix corrections
1765 always on Win32, not just when GTK_LIBDIR is defined. i.e., until
1766 now they were done only in the autoconfiscated gcc builds. Hans
1767 needs to make sure GTK_LIBDIR and GTK_LOCALEDIR are defined also
1769 (correct_localedir_prefix): New function, like
1770 correct_libdir_prefix(), but for GTK_LOCALEDIR, in case
1771 GTK_LOCALEDIR is not a descendant of GTK_LIBDIR.
1772 (gtk_im_module_initialize): Thus call correct_localedir_prefix()
1773 on the domain_dirname instead of correct_libdir_prefix().
1774 (_gtk_im_module_list): Call correct_localedir_prefix() on
1775 simple_context_info.domain_dirname.
1777 2007-01-16 Matthias Clasen <mclasen@redhat.com>
1779 * gtk/gtkrange.c (range_grab_remove): Queue a redraw when the
1780 grab changes. (#396470, Benjamin Berg)
1782 2007-01-15 Emmanuele Bassi <ebassi@gnome.org>
1784 * gtk/gtkrecentchoosermenu.c: Ellipsize the menu items label
1785 if they grow too much. (#357303)
1787 2007-01-14 Matthias Clasen <mclasen@redhat.com>
1789 * gtk/gtkicontheme.c (theme_lookup_icon): When finding a matching
1790 non-scalable dir, keep going and look for a closer match.
1791 (#395830, Luca Ferretti)
1793 2007-01-14 Christian Persch <chpe@svn.gnome.org>
1795 * gtk/gtkclipboard.c: (gtk_clipboard_set_text),
1796 (gtk_clipboard_set_image): Use gtk_target_table_new_from_list and
1797 gtk_target_table_free instead of duplicating the code. Bug #396493.
1799 2007-01-13 Matthias Clasen <mclasen@redhat.com>
1801 * gtk/gtkuimanager.c: Don't crash if menu or toolbar
1802 positions can't be found. (#396161, Hans Breuer)
1804 2007-01-13 Matthias Clasen <mclasen@redhat.com>
1806 * gtk/gtkselection.c (_gtk_selection_request): Plug
1807 memory leaks. (#396160, Carlos Garcia Campos)
1809 2007-01-13 Matthias Clasen <mclasen@redhat.com>
1811 * configure.in: Link libgtk against Xfixes. (#396074,
1814 2007-01-13 Matthias Clasen <mclasen@redhat.com>
1816 * gtk/gtkradiobutton.c (gtk_radio_button_focus): Avoid
1817 a compiler warning. (#395045, Chris Wilson)
1819 2007-01-13 Hans Breuer <hans@breuer.org>
1821 * gtk/gtkprintoperation-win32.c : take the custom tab label from
1822 gtk_print_operation_set_custom_tab_label() into account (bug #390746).
1824 * gtk/gtkimmulticontext.c : don't include "gtkprivate.h" to avoid
1825 differing definitions of GTK_LOCALEDIR (bug #396175).
1827 * gtk/gtktreeview.c : use g_snprintf instead of snprintf, which is
1828 not available everywhere
1830 * gtk/makefile.msc.in : updated
1832 2007-01-12 Michael Natterer <mitch@imendio.com>
1834 * gtk/gtkentry.c (gtk_entry_button_press): don't add
1835 entry->scroll_offset to entry->drag_start_y. Fixes the entry
1836 starting drags after ridiculously small mouse movements.
1838 2007-01-11 Richard Hult <richard@imendio.com>
1840 * demos/gtk-demo/main.c: (load_file): Close the file after it's
1841 loaded (bug #395316).
1843 2007-01-11 Kjartan Maraas <kmaraas@gnome.org>
1845 * gtk/gtkfilesystemunix.c: (expand_tilde):
1846 Make a single tilde go to $HOME in the location entry.
1847 Patch from Yevgen Muntyan. Closes the gtk+ part of
1850 2007-01-10 Behdad Esfahbod <behdad@gnome.org>
1852 * gdk/gdkpango.c (gdk_draw_layout_with_colors):
1853 * gtk/gtklabel.c (gtk_label_size_request):
1854 Use pango_matrix_transform_rectangle(). (#340141)
1856 * configure.in: Bump pango requirement to 1.15.3.
1858 2007-01-10 Kristian Rietveld <kris@imendio.com>
1860 * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_init):
1861 refactor to initialize indicator_size to TOGGLE_WIDTH instead
1862 of the hardcoded value of 12.
1864 2007-01-09 Matthias Clasen <mclasen@redhat.com>
1866 * configure.in: Fix the directfb cairo test. (#394855,
1869 2007-01-09 Behdad Esfahbod <behdad@gnome.org>
1871 * configure.in: Fix comment for --with-included-loaders. That option
1872 affects builds with module loading enabled too.
1874 2006-01-08 Peter Teichman <peter@novell.com>
1876 * gtk/gtkfilechooserdefault.c:
1877 * gtk/gtkfilechooserprivate.h:
1878 * gtk/gtkfilechoosersettings.c:
1879 * gtk/gtkfilechoosersettings.h:
1880 Save the expanded state of the folder browser with the file
1881 chooser settings. Resolves the expander portions of (#153828,
1884 2007-01-08 Emmanuele Bassi <ebassi@gnome.org>
1886 * gtk/gtkrecentchoosermenu.c (gtk_recent_chooser_menu_create_item):
1887 Don't leak the icon pixbuf after setting it to the image menu
1888 item. Found by Paolo Borelli.
1890 2007-01-08 Matthias Clasen <mclasen@redhat.com>
1892 * gtk/gtktreemodel.c (gtk_tree_path_to_string): Don't
1893 corrupt memory when faced with paths with ridiculously
1894 large indices. Found by the GTKVTS test suite.
1896 2007-01-08 Matthias Clasen <mclasen@redhat.com>
1898 * gtk/gtkmodules.c (_gtk_modules_init): Set
1899 default_display_opened before loading modules. (#393102,
1902 2007-01-07 Matthias Clasen <mclasen@redhat.com>
1904 * gtk/gtktextview.c (gtk_text_view_set_border_window_size):
1905 Call text_window_realize() with the correct parameters.
1906 (#393813, Yevgen Muntyan)
1908 2007-01-07 Matthias Clasen <mclasen@redhat.com>
1910 * gtk/gtkstatusbar.c: Move docs inline, and expand them
1913 2007-01-06 Matthias Clasen <mclasen@redhat.com>
1915 * gtk/gtklabel.c: Make line wrapping work with width-chars
1916 and max-width-chars, and simplify the storage of wrap-width.
1917 (#322580, Itai Bar-Haim)
1919 2007-01-06 Tor Lillqvist <tml@novell.com>
1921 * gdk/win32/cursor.bdf: New file. Downloaded from
1922 freedesktop.org's webcvs. Slighly edited cursors "crosshair",
1923 "diamond_cross", "draft_large", "gobbler" and "target" to fix
1924 #392504. It is possible that the same end result could have been
1925 achieved by tweaking bdfcursor.c instead.
1927 * gdk/win32/bdfcursor.c: Add optional debugging output.
1929 * gdk/win32/xcursors.h: Regenerated.
1931 2007-01-05 Matthias Clasen <mclasen@redhat.com>
1933 * gtk/gtknotebook.c (gtk_notebook_set_menu_label_text): Left-align
1934 menu labels. (#393255, Michail Crayson)
1936 2007-01-05 Kristian Rietveld <kris@gtk.org>
1938 * gtk/gtktreeview.c (gtk_tree_view_dy_to_top_row): handle tree
1939 == NULL. (Fixes #392685, reported by Yevgen Muntyan).
1941 2007-01-05 Kristian Rietveld <kris@gtk.org>
1943 * gtk/gtktreeview.c (gtk_tree_view_row_changed): do allow to
1944 invalidate nodes if the tree view is not realized. (#363147,
1945 Carlos Garnacho, Miguel Cabrera).
1947 2007-01-05 Matthias Clasen <mclasen@redhat.com>
1949 * gtk/gtkmenu.c (gtk_menu_paint): Take the scroll arrow into
1950 account when drawing the background. (#393166, Benjamin Berg)
1952 2007-01-05 Behdad Esfahbod <behdad@gnome.org>
1954 * gtk/gtklabel.c (get_layout_location): Fix broken width computation,
1957 2007-01-05 Carlos Garnacho <carlosg@gnome.org>
1959 * gtk/gtknotebook.c (gtk_notebook_size_request): take into account
1960 both scroll arrows when calculating size request in GTK_POS_LEFT or
1961 GTK_POS_RIGHT notebooks. (#393124, reported by Christian Persch)
1963 2007-01-05 Michael Natterer <mitch@imendio.com>
1965 * gtk/gtkwindow.c (gtk_window_key_release_event): chain up to
1966 the right function (fix taken from maemo-gtk).
1968 2007-01-05 Behdad Esfahbod <behdad@gnome.org>
1971 * gdk/gdkpango.c (gdk_draw_layout_line_with_colors),
1972 (gdk_draw_layout_with_colors):
1973 * gdk/gdkwindow.c (gdk_window_draw_glyphs_transformed):
1974 Avoid overflow when converting coordinates to Pango units. (#332266,
1977 2007-01-04 Matthias Clasen <mclasen@redhat.com>
1979 * gtk/gtkcombobox.c (gtk_combo_box_popup): move set_cursor
1980 after realization of the popup window, so clamp node doesn't fail.
1981 (#346616, Tommi Komulainen, patch by Kristian Rietveld).
1983 2007-01-04 Behdad Esfahbod <behdad@gnome.org>
1985 * gtk/gtklabel.c (get_layout_location): Fix uninitialized width
1988 2007-01-04 Matthias Clasen <mclasen@redhat.com>
1991 * gdk-pixbuf/Makefile.am:
1993 * gdk/win32/rc/gdk.rc.in: Cross-compilation fixes.
1994 (#392646, Yevgen Muntyan)
1996 2007-01-04 Matthias Clasen <mclasen@redhat.com>
1998 * demos/gtk-demo/textscroll.c:
1999 * gtk/gtkhandlebox.c:
2000 * gtk/gtkcolorsel.c: Fix some compiler warnings.
2002 2007-01-03 Matthias Clasen <mclasen@redhat.com>
2004 * gtk/gtktextview.c: Rework the beep-on-uninserted-text
2005 by calling the input method regardless of editability,
2006 and beeping from the commit/preedit-changed handlers.
2007 (#390514, Yevgen Muntyan)
2009 2007-01-03 Matthias Clasen <mclasen@redhat.com>
2011 Fix #332604, reported by Joe Wreschnig, patch
2012 by Jan Arne Petersen and Behdad Esfahbod.
2014 * gtk/gtklabel.c (gtk_label_size_allocate): Only
2015 set the width of the layout when necessary.
2016 (get_layout_location): Use pango_layout_get_pixel_extents()
2017 instead of pango_layout_get_width().
2019 2007-01-03 Matthias Clasen <mclasen@redhat.com>
2021 * modules/printbackends/cups/gtkprintbackendcups.c
2022 (available_choices): Don't leak conflicts.
2024 * gtk/gtkprintoperation.c (gtk_print_operation_finalize):
2025 Don't leak the status string.
2027 2007-01-03 Matthias Clasen <mclasen@redhat.com>
2029 * gtk/gtkfilechooserdefault.c (update_chooser_entry):
2030 Exit early if we can't get file info - this happens
2031 if the iter points to the row where we are editing
2032 the name for a newly created folder. (#392191, Michael
2033 Partridge, patch by Kristian Rietveld)
2035 2007-01-03 Matthias Clasen <mclasen@redhat.com>
2038 * gdk/x11/*.c: Apply a patch by Chris Wilson to
2039 avoid spurious valgrind warnings from XSendEvent()
2042 * modules/printbackends/cups/gtkprintbackendcups.c: Close
2043 the http connection after getting the PPD.
2045 * gtk/gtkprinteroptionwidget.c (filesave_changed_cb):
2048 2007-01-03 Matthias Clasen <mclasen@redhat.com>
2050 * gtk/gtkassistant.c (remove_page): If the current page
2051 is removed, always pick a different one. (#392457,
2054 2007-01-03 Matthias Clasen <mclasen@redhat.com>
2056 * modules/printbackend/cups/*.c: Coding style cleanups.
2058 2007-01-03 Matthias Clasen <mclasen@redhat.com>
2060 * configure.in: Export SED to make sourcing of
2061 libtool work. Tighten up the directfb pkgconfig check.
2063 2007-01-03 Michael Natterer <mitch@imendio.com>
2065 * gtk/gtkstyle.c (option_menu_get_props)
2066 * gtk/gtkoptionmenu.c (gtk_option_menu_get_props): Use
2067 gtk_border_free when freeing borders.
2069 2007-01-03 Matthias Clasen <mclasen@redhat.com>
2071 * gtk/gtkentry.c (get_text_area_size): Work when the
2072 entry is not realized. (#392315, Yevgen Muntyan)
2074 * gtk/gtkentry.c (gtk_entry_queue_draw): Use
2075 GTK_WIDGET_DRAWABLE() here. (#392227, Chris Wilson)
2077 * gtk/gtkentry.c (cursor_blinks): Don't get settings
2078 unnecessarily. (#392227)
2080 2007-01-02 Matthias Clasen <mclasen@redhat.com>
2082 * gtk/gtkwindow.c (gtk_window_move_resize): Only process
2083 updates on the window at hand, not on all windows, to
2084 avoid violating resize/redraw ordering constraints.
2085 (#362406, Owen Taylor)
2087 2007-01-03 Kristian Rietveld <kris@gtk.org>
2089 * gtk/gtkcellrendererprogress.c
2090 (gtk_cell_renderer_progress_class_init): fix docs.
2092 2007-01-02 Matthias Clasen <mclasen@redhat.com>
2094 * gtk/updateiconcache.c: Include locale.h
2096 2007-01-02 Matthias Clasen <mclasen@redhat.com>
2098 * gtk/updateiconcache.c (main): Call setlocale().
2101 * gtk/gtkfilesystemunix.c:
2102 * gtk/gtkfilesystemwin32.c:
2103 * gtk/gtkfilechoosersettings.c:
2104 * gtk/updateiconcache.c: Consistently use folder instead of
2105 directory in translated messages. (#344584, Javier F. Serrador)
2107 2007-01-02 Matthias Clasen <mclasen@redhat.com>
2109 Try to fix #315732, reported by Luke Hutchinson:
2111 * gdk/x11/xsettings-client.[hc]:
2112 * gdk/x11/gdkdevents-x11.c: Don't assume that ref'ing a GdkWindow
2113 will guarantee that it can be looked up in the xid hash later.
2114 Also, use the nesting server grab function during the xsettings
2115 client initialization. Finally, make xsettings client not
2116 eat DestroyNotifys so that GDK can do its regular cleanup.
2118 2007-01-02 Michael Natterer <mitch@imendio.com>
2120 * gtk/gtkrange.c (gtk_range_scroll) (gtk_range_move_slider): beep
2121 when a keybinding didn't change adjustment->value.
2123 2007-01-02 Matthias Clasen <mclasen@redhat.com>
2125 * gtk/gtktextbuffer.c (gtk_text_view_key_press_event):
2126 Try harder not to beep on events which are not meant to
2127 insert stuff in the buffer. (#390514, Yevgen Muntyan)
2129 2007-01-02 Matthias Clasen <mclasen@redhat.com>
2131 * gtk/gtktextbufferrichtext.c: Small documentation fixes.
2133 2007-01-02 Matthias Clasen <mclasen@redhat.com>
2135 * gtk/gtkentry.c (get_text_area_size): Center in the frame.
2136 (#304482, Rob Staudinger, patch by Richard Stellingwerff)
2138 2007-01-02 Michael Emmel <mike.emmel@gmail.com>
2140 * gdkwindow-directfb.c: fixed leak of dfb resource on destroy
2142 2007-01-01 Matthias Clasen <mclasen@redhat.com>
2144 * gtk/gtkscrolledwindow.h:
2145 * gtk/gtkscrolledwindow.c: Only handle key bindings
2146 for scrolling if the scrollbars are visible.
2147 (#340135, Christian Persch)
2149 2007-01-01 Matthias Clasen <mclasen@redhat.com>
2151 * gtk/gtktextview.c (gtk_text_view_scroll_hpages):
2152 Don't segfault on horizontal scrolling.
2154 2007-01-01 Matthias Clasen <mclasen@redhat.com>
2156 * gtk/gtknotebook.h:
2157 * gtk/gtknotebook.c: Only handle key bindings for
2158 tab reordering if the tabs are shown and reorderable.
2159 (#390468, Yevgen Muntyan)
2161 * gtk/gtkmarshalers.list: Add required marshaler
2163 2007-01-01 Matthias Clasen <mclasen@redhat.com>
2165 * gtk/gtkcontainer.c (gtk_container_class_list_child_properties):
2166 Mention in the docs that the return value is
2167 NULL-terminated. (#383373, Christian Neumair)
2169 2007-01-01 Matthias Clasen <mclasen@redhat.com>
2171 * gtk/gtkicontheme.c (load_themes): Waste less time
2172 with non-directories. (#391725, Chris Wilson)
2174 2007-01-01 Matthias Clasen <mclasen@redhat.com>
2176 * gtk/gtkcellrendererprogress.c: Implement activity mode
2177 for GtkCellRendererProgress. (#377851, Brad Taylor)
2179 2007-01-01 Matthias Clasen <mclasen@redhat.com>
2181 Fix some IPP compliance issues. (#391523, Albrecht Dress)
2183 * modules/printbackends/cups/gtkcupsutils.c
2184 (gtk_cups_request_encode_option): Use IPP_TAG_JOB, not
2186 * modules/printbackends/cups/gtkprintbackendcups.c
2187 (gtk_print_backend_cups_print_stream): Don't add the
2188 requesting-user-name attribute a second time.
2190 2007-01-01 Matthias Clasen <mclasen@redhat.com>
2192 * gtk/gtkimcontextsimple.c: Fix en/em dash confusion. (#378462)
2194 2006-12-31 Emmanuele Bassi <ebassi@gnome.org>
2196 * gtk/gtkrecentchoosermenu.c (set_recent_manager): Use the
2197 right object when disconnecting from the GtkRecentManager::changed
2198 signal; save us a few indirections using a variable.
2200 2006-12-31 Emmanuele Bassi <ebassi@gnome.org>
2202 * gtk/gtkrecentchoosermenu.c: Move the signal and idle
2203 disconnections into the dispose function, as well as the
2204 object unrefs; reset every handler id and the
2205 pointers. (suggested by Paolo Borelli, #390873)
2207 2006-12-31 Matthias Clasen <mclasen@redhat.com>
2209 * gtk/gtkprintoperation-win32.c: Include windows.h (#391229,
2212 2006-12-30 Matthias Clasen <mclasen@redhat.com>
2214 * gtk/gtktextview.c (gtk_text_view_destroy): Remove the
2215 scroll timeout. (#390872, Yevgen Muntyan)
2217 2006-12-30 Matthias Clasen <mclasen@redhat.com>
2219 * gtk/gtkprintoperation-unix.c:
2220 * gtk/gtkprintbackend.c:
2221 * gtk/gtkfilechooserdefault.c:
2222 * gtk/gtksettings.c: Move a few settings to gtksettings.c
2223 to make sure they show up in the docs. (#365364, Christian
2226 2006-12-30 Matthias Clasen <mclasen@redhat.com>
2228 * gtk/gtkassistant.c: Redraw assistant on reallocate
2229 to avoid rendering glitches. (#343956, Christian
2230 Persch, Carlos Garnacho)
2232 2006-12-30 Matthias Clasen <mclasen@redhat.com>
2234 * gtk/gtkrange.c: Typo fix. (#352121, Clytie Siddall)
2236 2006-12-30 Matthias Clasen <mclasen@redhat.com>
2238 * gtk/gtkaction.c: Improve the docs of the "label"
2239 property. (#341730, Kristof Vansant)
2241 2006-12-30 Matthias Clasen <mclasen@redhat.com>
2243 * gtk/gtkwindow.c (gtk_window_compute_configure_request_size):
2244 Correctly handle min size. (#320465, Philipp Langdale)
2246 2006-12-30 Matthias Clasen <mclasen@redhat.com>
2248 * gtk/prop-editor.c: Implement editing of flags.
2250 2006-12-30 Matthias Clasen <mclasen@redhat.com>
2255 * gtk/gtkstatusbar.c:
2256 * gtk/gtktextview.c: Don't install cursors on insensitive
2257 widgets. (#358864, Jan Schampera)
2259 2006-12-29 Matthias Clasen <mclasen@redhat.com>
2261 * gtk/gtkrecentmanager.h:
2262 * gtk/gtkprintoperation.c: Fix doc typos. (#370909,
2265 * gtk/gtkstyle.c (gtk_style_attach): Clarify docs. (#353423,
2268 * gtk/gtkentry.c (blink_cb):
2269 * gtk/gtktextview.c (blink_cb): Don't die in an assertion
2270 if focus went missing. Just warn, clean up and continue.
2273 2006-12-29 Carlos Garnacho <carlosg@gnome.org>
2275 * gtk/gtknotebook.c (gtk_notebook_scroll): return if the widget that
2276 originally received the event is a notebook page. (#315440, reported
2279 2006-12-29 Matthias Clasen <mclasen@redhat.com>
2281 * gdk/gdkcolor.c (gdk_color_hash): Fix a typo. (#390613,
2284 2006-12-29 Matthias Clasen <mclasen@redhat.com>
2286 * tests/prop-editor.c: Display children of containers
2287 and cell renderers of cell layouts.
2290 * gtk/gtkcelllayout.[hc] (gtk_cell_layout_get_cells):
2291 New function to get the cell renderers of a cell layout.
2293 * gtk/gtktreeviewcolumn.c:
2294 * gtk/gtkcellview.c:
2295 * gtk/gtkiconview.c: Implement get_cells.
2297 2006-12-28 Matthias Clasen <mclasen@redhat.com>
2299 * gtk/gtkiconview.c: Use word wrapping by default, and
2300 center multiline labels. (#318763, Ross Burton)
2302 * gtk/gtkcellrenderertext.c (get_layout): Remove a special
2303 case for single-line layouts.
2305 2006-12-28 Matthias Clasen <mclasen@redhat.com>
2307 * gtk/gtkarrow.c: Fix a typo in the docs. (#390423,
2310 * gtk/gtkuimanager.c (update_node): Only use the results
2311 of find_menu/toolbar_position() if they succeed. May fix
2314 2006-12-28 Matthias Clasen <mclasen@redhat.com>
2316 * gdk/gdk.c: Fix some formatting errors in docs.
2318 2006-12-28 Tor Lillqvist <tml@novell.com>
2320 * gtk/gtkstatusicon.c (gtk_status_icon_finalize)
2321 (gtk_status_icon_update_image): Don't leak HICONs on
2322 Win32. (#364868, Hiroyuki Yamamoto)
2324 2006-12-28 Carlos Garnacho <carlosg@gnome.org>
2326 Make GtkNotebook able to drop detached tabs anywhere. Bug #360225.
2328 * gtk/gtkwidget.c (gtk_widget_class_init): add "drag-failed" signal.
2329 * gtk/gtkmarshalers.list: add new marshaler definition.
2330 * gtk/gtkenums.h: add GtkDragResult enum.
2332 * gtk/gtkdnd.c (gtk_drag_drop_finished): emit "drag-failed" if DND
2333 operation wasn't successful.
2334 (_gtk_drag_source_handle_event) (gtk_drag_drop)
2335 (gtk_drag_selection_get) (gtk_drag_cancel) (gtk_drag_key_cb)
2336 (gtk_drag_grab_broken_event_cb) (gtk_drag_grab_notify_cb)
2337 (gtk_drag_button_release_cb) (gtk_drag_abort_timeout): tell
2338 gtk_drag_drop_finished() the operation result.
2340 * gtk/gtknotebook.c (gtk_notebook_drag_failed): new function.
2341 (gtk_notebook_drag_data_get): do not call window creation hook here.
2342 (gtk_notebook_init): do not set "application/x-rootwindow-drop"
2343 target, instead connect to "drag-failed".
2344 (gtk_notebook_draw_focus): fix potential crasher if cur_page is NULL.
2346 2006-12-28 Mikael Hallendal <micke@imendio.com>
2348 * gdk/quartz/gdkevents-quartz.c: Factored out the event loop
2349 integration into gdkeventloop-quartz.c.
2351 * gdk/quartz/Makefile.am: Added gdkeventloop-quartz.c
2353 * gdk/quartz/gdkeventloop-quartz.c: New file containing the event loop
2356 2006-12-27 Matthias Clasen <mclasen@redhat.com>
2358 * modules/printbackends/lpr/gtkprintbackendlpr.c
2359 (gtk_print_backend_lpr_print_stream): Close the io channel
2360 on unref. (#390159, Joe Markus Clarke)
2362 2006-12-27 Matthias Clasen <mclasen@redhat.com>
2364 * gdk/gdk.h: Remove redundant declarations (#390097,
2367 2006-12-27 Kristian Rietveld <kris@gtk.org>
2369 Support inverting arrows via XSetting. (#377979, Yevgen Muntyan).
2371 * gtk/gtksettings.c (gtk_settings_class_init): add new setting
2372 gtk-alternative-sort-arrows.
2374 * gdk/win32/gdkproperty-win32.c (gdk_screen_get_setting): add
2377 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: set new
2378 gtk-alternative-sort-arrows setting to true.
2380 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
2381 invert direction if gtk-alternative-sort-arrows is TRUE.
2383 2006-12-27 Tor Lillqvist <tml@novell.com>
2385 * gtk/gtk.symbols: Add gtk_status_icon_get_screen and
2386 gtk_status_icon_set_screen.
2388 * gtk/gtkstatusicon.c: Implement gtk_status_icon_position_menu()
2389 on Windows. Keep track of where the last button click on the
2390 taskbar icon took place, and return that. Obviously not correct if
2391 no button has ever been clicked on the icon, or if the geometry of
2392 the taskbar has changed since. But for most use cases where a menu
2393 is going to be displayed as a direct result of a button click on
2394 the status icon, works fine. (#377349)
2396 Implement getting the orientation property on Windows.
2398 (gtk_status_icon_embedded_changed)
2399 (gtk_status_icon_orientation_changed): Ifdefify these functions
2400 that are used only on X11.
2402 2006-12-27 Tor Lillqvist <tml@novell.com>
2404 * gtk/gtkfilesystemwin32.c (execute_callbacks): Fix
2405 typo. (#390035, Kazuki Iwamoto)
2407 2006-12-27 Matthias Clasen <mclasen@redhat.com>
2409 * gtk/gtkcellview.c (gtk_cell_view_set_model): Accept NULL.
2411 * gtk/gtkcombobox.c (gtk_combo_box_set_model):
2412 (gtk_combo_box_unset_model): Handle repeated unsetting
2413 of models without warnings. (#367529, Robert Ancell)
2415 2006-12-27 Matthias Clasen <mclasen@redhat.com>
2417 * modules/printbackends/cups/gtkcupsutils.c:
2418 * modules/printbackends/cups/gtkprintbackendcups.c: Use
2419 getters for http fields where available. (#364866,
2422 2006-12-27 Matthias Clasen <mclasen@redhat.com>
2424 * gtk/gtkwidget.c (gtk_widget_show): Add a g_return_if_fail.
2425 (#362614, Xan Lopez)
2427 2006-12-27 Matthias Clasen <mclasen@redhat.com>
2429 * gtk/gtkuimanager.c (update_node): If a required action
2430 is missing, don't recurse over the children. (#349119,
2433 2006-12-27 Matthias Clasen <mclasen@redhat.com>
2435 Fix a few problems with nested menus in comboboxes
2436 (#386694, Yevgen Muntyan)
2438 * gtk/gtkcombobox.c (gtk_combo_box_menu_fill_level): Always
2439 connect the activate callback.
2440 (gtk_combo_box_menu_item_activate): Do nothing if called on
2441 an item with a submenu.
2442 (gtk_combo_box_menu_row_deleted): Remove a submenu when it
2445 2006-12-26 Mariano Suárez-Alvarez <mariano@gnome.org>
2447 * gtk/gtkfilechooserbuuton.[hc]: Add a file-set signal to the
2448 filechooser button. Bug 353196.
2450 2006-12-26 Kristian Rietveld <kris@gtk.org>
2452 * gtk/gtktreeview.c (gtk_tree_view_search_init): fix typo causing
2453 the search dialog timeout never to be refreshed. (#389581,
2454 Andrzej Szombierski).
2456 2006-12-26 Kristian Rietveld <kris@gtk.org>
2458 Lots of scrolling fixes. Made scrolling work properly in not fully
2459 validated tree views; fixed a bunch of corner cases.
2461 * gtk/gtktreeview.c (validate_visible_area): if a row's dy is past
2462 upper - page_size, we know it is located at the end so the test for
2463 dy + height has been dropped.
2464 In the same case if area_below < 0, we know this is the last node
2465 in the tree view so area_above is page_size - height of this row.
2466 (validate_visible_area): got rid of subtracting new_height -
2467 old_height from area_{below,above}, it didn't make any sense at
2468 all and the full height of the row should be subtracted instead.
2469 (validate_visible_area): when scrolling to a given path, set the
2470 top row directly together with the dy offset, then sync that top_row
2472 (gtk_tree_view_set_top_row): new function to directly set a top_row.
2473 (gtk_tree_view_dy_to_top_row): refactored to use
2474 gtk_tree_view_set_top_row().
2475 (gtk_tree_view_top_row_to_dy): make sure dy >= 0 when done.
2476 (gtk_tree_view_adjustment_changed): only update our dy and
2477 top_row if the adjustment's dy actually changed.
2479 2006-12-26 Christian Persch <chpe@cvs.gnome.org>
2481 * gtk/gtknotebook.c: (gtk_notebook_real_insert_page):
2482 Return the correct value from gtk_notebook_insert_page if the
2483 page-added handler reorders the tabs. Bug #345094.
2485 2006-12-26 Carlos Garnacho <carlosg@gnome.org>
2487 Fix small regressions in GtkNotebook tab detaching. Bug #378852.
2489 * gtk/gtknotebook.c (gtk_notebook_do_arrow): grab focus to allow tabs
2490 scrolling when hovering with a detached tab.
2491 (gtk_notebook_stop_reorder): Do not deparent the wrong tab if the
2492 focus tab has changed during a tab DND operation.
2493 (gtk_notebook_drag_end): ensure that the dropped tab gets focused.
2494 (gtk_notebook_paint): do not take cur_page as a reference to paint the
2495 box if it's detached.
2496 (gtk_notebook_calculate_tabs_allocation): focus_tab may be different
2497 to the detached tab if we hover the arrows during a tabs detaching
2498 operation, do not allocate it unconditionally in 0,0.
2500 2006-12-26 Carlos Garnacho <carlosg@gnome.org>
2502 Expose improvements for GtkNotebook. Bug #383435
2504 * gtk/gtknotebook.c (gtk_notebook_expose): propagate the event to tab
2506 (gtk_notebook_draw_focus): do not repaint the whole focused tab again.
2507 (gtk_notebook_draw_tab): do not send handmade expose events to tab
2510 2006-12-26 Matthias Clasen <mclasen@redhat.com>
2512 * gtk/gtkfilesystemunix.c (execute_callbacks): Return
2513 FALSE. (#389623, Carlos Garnacho Parro)
2515 * gtk/gtkrange.c (stop_scrolling): Avoid spurious
2518 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
2520 * gtk/gtkplug.c: (gtk_plug_construct_for_display),
2521 (gtk_plug_unrealize): Notify the "embedded" property also on
2522 normal construction and when destroying the socket window.
2525 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
2527 * gtk/gtkaboutdialog.c: (gtk_about_dialog_class_init),
2528 (gtk_about_dialog_init), (display_credits_dialog),
2529 (display_license_dialog):
2530 * gtk/gtkfilechooserdialog.c: (gtk_file_chooser_dialog_class_init),
2531 (gtk_file_chooser_dialog_init),
2532 (gtk_file_chooser_dialog_constructor),
2533 (gtk_file_chooser_dialog_unmap):
2534 * gtk/gtkrecentchooserdefault.c:
2535 (_gtk_recent_chooser_default_init):
2536 * gtk/gtkrecentchooserdialog.c:
2537 (gtk_recent_chooser_dialog_class_init),
2538 (gtk_recent_chooser_dialog_init),
2539 (gtk_recent_chooser_dialog_constructor),
2540 (gtk_recent_chooser_dialog_unmap): Set the HIG spacings directly
2541 instead of using style-set handlers. Fix the filechooser's spacing
2542 between content and action area to 12px. Bug #372447.
2544 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
2546 * gtk/gtkstatusbar.c: (gtk_statusbar_size_allocate):
2547 Don't assume statusbar->label is the statusbar's frame's child when
2548 shrinking the size allocation when the grip is shown. Bug #372452.
2550 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
2552 * gtk/gtkpagesetupunixdialog.c: (printer_status_cb),
2553 (add_custom_paper): Fix mem leaks. Bug #389194.
2555 2006-12-24 Matthias Clasen <mclasen@redhat.com>
2557 * gtk/gtktextutil.c: Remove debug output.
2559 * gtk/gtktextview.c: Improve the DND scrolling
2560 behaviour. (#92387, Carlos Garnacho Parro)
2562 * gtk/gtkaccellabel.c: Improve translators comments.
2563 (#389298, Christian Persch)
2565 2006-12-24 Bastien Nocera <hadess@hadess.net>
2567 * gtk/gtkrecentmanager.c: Fix typo (s/expansive/expensive)
2570 2006-12-24 Christian Persch <chpe@cvs.gnome.org>
2572 * docs/reference/gtk/gtk-sections.txt:
2574 * gtk/gtkpagesetupunixdialog.c: (fill_paper_sizes_from_printer):
2575 * gtk/gtkprinter-private.h:
2576 * gtk/gtkprinter.c: (gtk_printer_list_papers):
2577 * gtk/gtkprinter.h: Make gtk_printer_list_papers public. Bug #345587.
2579 2006-12-24 Carlos Garcia Campos <carlosgc@gnome.org>
2581 * gtk/gtkpagesetupunixdialog.c: Don't ignore reverse portrait option
2582 when is selected in page setup dialog. Fixes bug #365047.
2584 2006-12-24 Behdad Esfahbod <behdad@gnome.org>
2586 * gtk/gtkentry.c (_gtk_entry_effective_inner_border):
2587 Use gtk_border_free when freeing border.
2589 2006-12-24 Matthias Clasen <mclasen@redhat.com>
2591 * gtk/gtkentry.c (gtk_entry_button_press): When
2592 shift-clicking, keep the larger part of the selection
2593 selected. (#353709, Benjamin Otte)
2595 * gtk/gtkbutton.c (gtk_button_get_props): Use
2596 gtk_border_free when freeing borders.
2598 * gtk/gtkbutton.c (gtk_button_grab_notify): Be more
2599 careful when faking a button release. (#323146,
2602 * gtk/gtkhandlebox.c (draw_textured_frame): Draw the
2603 handle with the right orientation, depending on the
2604 position of the handlebox. (#159764, Benjamin Berg)
2606 2006-12-24 Behdad Esfahbod <behdad@gnome.org>
2608 * gtk/gtkstyle.c (gtk_border_copy), (gtk_border_free): Use gslice for
2609 GtkBorder (#383557).
2611 2006-12-24 Behdad Esfahbod <behdad@gnome.org>
2613 Bug 340141 – Update to Pango 1.16 API
2615 * gdk/gdkpango.c (layout_iter_get_line_clip_region),
2616 (gdk_pango_layout_line_get_clip_region):
2617 * gtk/gtkcalendar.c (gtk_calendar_size_request):
2618 * gtk/gtkentry.c (gtk_entry_get_pixel_ranges),
2619 (get_layout_position), (gtk_entry_find_position),
2620 (gtk_entry_adjust_scroll):
2621 * gtk/gtkiconview.c (get_pango_text_offsets):
2622 * gtk/gtklabel.c (get_cursor_direction):
2623 * gtk/gtkstyle.c (get_insensitive_layout):
2624 * gtk/gtktextdisplay.c (render_para):
2625 * gtk/gtktextlayout.c (allocate_child_widgets),
2626 (find_display_line_below), (find_display_line_above),
2627 (gtk_text_layout_move_iter_to_previous_line),
2628 (gtk_text_layout_move_iter_to_next_line),
2629 (gtk_text_layout_move_iter_to_line_end),
2630 (gtk_text_layout_iter_starts_line),
2631 (gtk_text_layout_move_iter_to_x):
2632 * gtk/gtktextutil.c (limit_layout_lines):
2633 Use the _readonly version of pango_layout_iter_get_line(),
2634 pango_layout_iter_get_run(), pango_layout_get_line(), and
2635 pango_layout_get_lines().
2637 * gtk/gtkmain.c (gtk_get_default_language): Use
2638 pango_get_default_language().
2640 2006-12-24 Matthias Clasen <mclasen@redhat.com>
2642 * gtk/gtkentry.c (gtk_entry_set_text): Emit changed
2643 and notify:text only once. The same fix was applied
2644 for replacing the selection via DND or copy-and-paste.
2645 (#64998, Damon Chaplin, Sven Herzberg)
2647 2006-12-23 Matthias Clasen <mclasen@redhat.com>
2649 * gtk/gtkimmulticontext.c: Be careful to not override
2650 GTK+ translations with the translations of the input
2651 method. (#317080, Tor Lillqvist)
2653 * modules/input/imcedilla.c: Use standard macros
2654 for translation domain and locale dir.
2656 * gtk/gtkimcontextsimple.c: Allow composing l with
2657 stroke. (#349638, Daniel Lublin)
2659 * gtk/gen-paper-names.c: Fix a thinko in the suffix
2660 calculation. (#382369, Christian Persch)
2662 * gtk/paper_names_offsets.c: Regenerated.
2664 2006-12-22 Matthias Clasen <mclasen@redhat.com>
2666 * modules/engines/pixbuf/pixbuf.h:
2667 * modules/engines/pixbuf/pixbuf-rc-style.h:
2668 * modules/engines/pixbuf/pixbuf-style.h: Move
2669 G_GNUC_INTERNAL before function declarations. (#352276,
2672 2006-12-22 Matthias Clasen <mclasen@redhat.com>
2674 * demos/gtk-demo/*.c: Fix some leaks. (#348108, Chris
2677 2006-12-22 Matthias Clasen <mclasen@redhat.com>
2679 * *.c: Replace a lot of idle and timeout calls by
2680 the new gdk_threads api.
2684 * gdk/gdk.c: Add functions to allow threadsafe handling
2685 of idles and timeouts wrt. to the GDK lock. (#321886,
2688 2006-12-22 Matthias Clasen <mclasen@redhat.com>
2690 * gdk/gdkpango.c: Use pango_cairo_show_error_underline.
2691 (#340141, Behdad Esfahbod)
2693 * configure.in: Check for getc_unlocked.
2695 * gtk/xdgmime/xdgmimemagic.c: Use getc if getc_unlocked is
2696 unavailable. (#381499)
2698 * tests/teststatusicon.c: Fix a typo
2700 2006-12-22 Matthias Clasen <mclasen@redhat.com>
2702 Make it possible to track the embeddedness of
2703 statusicon (#387215, Martyn Russell, patch by Christian
2706 * gtk/gtkstatusicon.c: Add orientation and embedded properties.
2708 * gtk/gtkplug-x11.c: Add an embedded property.
2709 * tests/teststatusicon.c: Test the new properties.
2711 * gtk/gtkwidget.c (gtk_widget_get_draw_rectangle): Don't
2712 leak draw_border. (#387170, Kjartan Maraas)
2714 2006-12-21 Matthias Clasen <mclasen@redhat.com>
2716 * gtk/gtkfilechooserembed.c (_gtk_file_chooser_embed_set_delegate()):
2717 Typo fix. (#388123, Murray Cumming)
2719 * gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event):
2720 Generate double-click events. (#380421, Tommi Komulainen)
2722 * gdk/x1/gdkinput-xfree.c (_gdk_input_configure_event):
2723 (_gdk_input_enter_event): Correct return_if_fail checks.
2724 (#379803, Tommi Komulainen)
2726 * gdk/gdkdisplay.c: Improve the docs of some functions operating
2727 on the default display. (##353438, Mariano Suárez-Alvarez)
2729 2006-12-21 Matthew Barnes <mbarnes@redhat.com>
2731 * docs/reference/gdk/gdk-sections.txt:
2732 * gdk/gdkcolor.[ch] (gdk_color_to_string): Add a function for
2733 converting a GdkColor to a string (#373856).
2735 * configure.in: Bump pango requirement to 1.15.2.
2737 2006-12-20 Matthias Clasen <mclasen@redhat.com>
2739 * gdk/keynames.txt: Mark arrow keys as translatable. (#369506,
2742 * gdk/keyname-table.h: Regenerated
2744 * gtk/gtktextbuffer.c: Add signal documentation. (#317064,
2745 Søren Wedel Nielsen)
2747 * gtk/gtktextview.c (gtk_text_view_start_selection_drag):
2748 Silently return if a drag is already in progress, rather
2749 than asserting. (#335622, Li Yuan, testcase by Erwann Chenede)
2751 * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_new_with_dialog):
2752 Allow any GtkDialog that implements GtkFileChooser as
2753 dialog. (#335473, Tommi Komulainen)
2755 2006-12-20 Mikael Hallendal <micke@imendio.com>
2757 * gtk/gtkstatusicon.c: (gtk_status_icon_init): Fixed a last minute
2758 change in the quartz backend.
2760 2006-12-20 Mikael Hallendal <micke@imendio.com>
2762 * gtk/Makefile.am: Added gtkstatusicon-quartz.c
2763 * gtk/gtkstatusicon-quartz.c: Implements the quartz backend for the
2765 * gtk/gtkstatusicon.c: Hooked in the new quartz backend. Bug #387874.
2767 2006-12-19 Matthias Clasen <mclasen@redhat.com>
2769 * gtk/gtkprintunixdialog.c: Add a tooltip explaining the
2770 format of page ranges, and improve the page sequence icon
2771 for the case of n_copies == 1.
2773 2006-12-19 Mikael Hallendal <micke@imendio.com>
2775 * gdk/quartz/gdkcursor-quartz.c: Splitted out the GdkPixbuf to NSImage
2776 routine so that it can be used from libgtk as well (needed for
2777 upcoming GtkStatusIcon support in the Quartz port).
2778 * gdk/quartz/gdkevents-quartz.c: Don't assume that all NSWindows are
2779 created from GDK, this is not true for the status icon.
2780 * gdk/quartz/gdkprivate-quartz.h:
2781 * gdk/quartz/gdkquartz.h: Added
2782 gdk_quartz_pixbuf_to_ns_image_libgtk_only so that it is available to
2783 the status icon code.
2785 2006-12-16 Tristan Van Berkom <tvb@gnome.org>
2787 * gtk/gtkmessagedialog.c: Added return_if_fail (image) to
2788 gtk_message_dialog_set_image ()
2790 * gtk/gtkscrolledwindow.c: Fixed a bug in set_property()
2791 (setting "window-placement-set" could result in a crash because
2792 of boolean/enum mixup)
2794 2006-12-15 Federico Mena Quintero <federico@novell.com>
2796 Merged from gtk-2-10:
2798 * gtk/gtkmenu.c (gtk_menu_set_title): Don't try to optimize for
2799 the case where the new title is the same as the old title, to
2800 preserve the behavior from GTK+ 2.8 (NULL and "" titles are not
2801 equivalent). Handle the case where title == priv->title. This
2802 was found by the LSB compatibility tests:
2803 https://bugzilla.novell.com/show_bug.cgi?id=223882
2805 2006-12-15 Dom Lachowicz <domlachowicz@gmail.com>
2807 * gtk/gtkcombobox.c: Make GtkComboBox in "appears-as-list" mode
2808 more closely resemble its Win32 counterpart. Bug #340204.
2810 2006-12-14 Carlos Garnacho <carlosg@gnome.org>
2812 * gtk/gtkcalendar.c: draw arrows pointing to the right correctly
2813 placed inside their GdkWindow. Bug #385672.
2815 2006-12-14 Christian Persch <chpe@cvs.gnome.org>
2817 * gtk/gtkiconview.c: Fix docs typo. Bug #385642.
2819 2006-12-13 Dom Lachowicz <domlachowicz@gmail.com>
2821 * src/modules/engines/ms-windows/msw_style.c: Bug 351679 - Notebooks
2822 drawn with extra line below tab in MS-Windows theme. Patch by
2825 2006-12-13 Matthias Clasen <mclasen@redhat.com>
2827 * gtk/Makefile.am: Add --unlink-tempfile to the evince call
2828 for print preview. (#370041, Ghee Teo)
2830 2006-12-11 Matthias Clasen <mclasen@redhat.com>
2832 * gtk/gtkprogressbar.c (gtk_progress_bar_paint_text): Be more
2833 careful when overdrawing antialiased text. (#352435, Alex Jones,
2834 patch by Benjamin Otte)
2836 * gtk/gtksettings.c: Change the way in which color scheme information
2837 is merged to correctly handle vanishing colors. (#374420,
2838 Benjamin Berg, patch by Callum McKenzie)
2839 Also allow to separate entries in color schemes by ';'
2842 2006-12-10 Matthias Clasen <mclasen@redhat.com>
2844 * modules/printbackends/cups/gtkcupsutils.c (gtk_cups_request_encode_option):
2845 Properly pass multi-value options to cups. (#355350, Jürg Billeter)
2847 2006-12-10 Kristian Rietveld <kris@gtk.org>
2849 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_focus_out_event):
2850 cancel editing (ie. don't accept changes) when the entry loses
2851 focus. (Fixes #164494, reported by Chris Rouch).
2853 2006-12-10 Matthias Clasen <mclasen@redhat.com>
2855 * configure.in: Correct a misapplied patch.
2857 2006-12-10 Tor Lillqvist <tml@novell.com>
2859 * gtk-zip.sh.in: Put gdk-pixbuf-query-loaders.exe and
2860 gtk-query-immodules-2.0.exe in the runtime zipfile instead of
2861 developer zipfile. Users might add pixbuf loaders or immodules
2862 even if they are not interested in developing gtk+-using software.
2864 2006-12-10 Matthias Clasen <mclasen@redhat.com>
2866 * configure.in: Check for crt_extern.h and _NSGetEnviron.
2867 * gdk/x11/gdkspawn-x11.c: Fix compilation on Darwin where
2868 environ is not available. (#384168, Min Sik Kim)
2870 2006-12-07 Paolo Maggi <paolo@gnome.org>
2874 * gtk/gtkentry.c (gtk_entry_set_text): check for
2875 completion->priv->changed_id > 0 before calling
2876 g_signal_handler_[un]block.
2877 (gtk_entry_completion_key_press): does not block/unblock the "changed"
2878 signal before calling gtk_entry_set_text.
2880 2006-12-07 Carlos Garnacho <carlosg@gnome.org>
2882 * gtk/gtkcellrendererprogress (compute_dimensions): do not use
2883 xthickness/ythickness, they aren't used any longer for drawing.
2885 2006-12-07 Matthias Clasen <mclasen@redhat.com>
2887 * gtk/gtkrc.c (_gtk_rc_init): Fix clipping of accelerator
2888 underlines by giving labels a small draw-border.
2890 2006-12-06 Kristian Rietveld <kris@gtk.org>
2892 * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_render):
2893 draw progress bar through theme engine instead of using our own
2894 custom cairo drawing code (#377244, patch from Carlos Garnacho).
2896 2006-12-06 Matthias Clasen <mclasen@redhat.com>
2898 * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities):
2899 Update the sensitivity of the collate checkbutton more frequently,
2900 proposed by Tim Waugh.
2902 2006-12-04 Matthias Clasen <mclasen@redhat.com>
2904 * gtk/gtkmessagedialog.c (setup_type): Set a11y name and role
2905 since we no longer set window titles.
2907 2006-12-04 Christian Persch <chpe@cvs.gnome.org>
2909 * gtk/gtkpagesetup.c: (gtk_page_setup_get_paper_size),
2910 (gtk_page_setup_set_paper_size): Don't leak the old page size when
2911 setting a new one. Bug #382314.
2913 2006-12-03 Michael Natterer <mitch@gimp.org>
2915 * gtk/gtktextview.c: remove FIXME #include that is no longer needed.
2917 2006-12-03 Kristian Rietveld <kris@gtk.org>
2919 Make sure [xy]_offset are always being initialized, fix pixbuf
2920 renderer padding. (#108235, Sven Neumann).
2922 * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_get_size),
2923 (gtk_cell_renderer_pixbuf_render): add padding in _render instead
2926 * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_get_size):
2927 always initialize [xy]_offset.
2928 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size): ditto.
2929 * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_size):
2932 2006-12-03 Kristian Rietveld <kris@gtk.org>
2934 * gtk/gtktreeview.c (validate_visible_area): when not using an
2935 explicit alignment, use the full area of the row (not just dy)
2936 to determine how to implicitly align it. (Fixes #363191, reported
2937 by Federico Mena Quintero).
2939 2006-12-02 Matthias Clasen <mclasen@redhat.com>
2941 * gtk/gtkicontheme.c (insert_theme): Properly clean up
2942 if an icon theme index file has no directories. (#381236)
2944 2006-12-02 Dom Lachowicz <domlachowicz@gmail.com>
2946 * src/modules/engines/ms-windows/msw_style.c: Bug 351678 - Notebooks
2947 not with PositionType.Top drawn incorrectly. Patch by Cody Russell
2949 2006-11-28 Behdad Esfahbod <behdad@gnome.org>
2951 Remove the broken Thai input method and add a functional Thai and Lao
2952 input method by Theppitak Karoonboonyanan. (#81031)
2954 * modules/input/imthai.c:
2955 * modules/input/gtkimcontextthai.c:
2956 * modules/input/gtkimcontextthai.h:
2957 * modules/input/thai-charprop.c:
2958 * modules/input/thai-charprop.h:
2961 * modules/input/imthai-broken.c:
2964 * modules/input/Makefile.am:
2967 2006-11-27 Christian Persch <chpe@cvs.gnome.org>
2969 * gtk/gtkstatusicon.c: Notify when the screen changes. Bug #379793.
2971 Mon Nov 27 12:27:06 2006 Tim Janik <timj@imendio.com>
2973 * gtk/gtktextview.c: applied patch by Colin Leroy for
2974 Control+GDK_KP_Left to move one word to the left, #356255.
2976 2006-11-26 Benjamin Berg <benjamin@sipsolutions.net>
2978 * gtk/gtkstyle.c: (gtk_default_draw_flat_box): Protect against NULL
2981 2006-11-25 Matthias Clasen <mclasen@redhat.com>
2983 * modules/printbackends/cups/gtkprintbackendcups.c: Make
2984 print dialog work when 'BrowseShortNames Off' is specified
2985 in cups configuration. Patch by Tim Waugh.
2987 2006-11-24 Michael Natterer <mitch@imendio.com>
2989 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): if we
2990 can't go up/down, consult gtk_widget_keynav_failed() and leave the
2991 widget if it returns FALSE (bug #322640).
2993 2006-11-23 Behdad Esfahbod <behdad@gnome.org>
2995 * gtk/gtkmain.c: Fix minor typo in docs. (#378632, Hannes Mueller)
2997 2006-11-22 Emmanuele Bassi <ebassi@gnome.org>
2999 * gtk/gtkrecentmanager.c:
3000 (get_uri_shortname_for_display): g_filename_from_uri() might
3001 fail; catch the failure and fall back to the non-local URI
3004 2006-11-19 Mark McLoughlin <mark@skynet.ie>
3006 Fixes bug #376502 - multi-screen support for GtkStatusIcon
3008 * gtk/gtkstatusicon.[ch]:
3009 (gtk_status_icon_set_screen),
3010 (gtk_status_icon_get_screen): add multi-screen API. Allows
3011 an app to display an icon on a non-default screen
3012 (gtk_status_icon_class_init),
3013 (gtk_status_icon_set_property),
3014 (gtk_status_icon_get_property): add a "screen" property
3016 * tests/teststatusicon.c: update to test on multiple screens
3018 2006-11-17 Matthias Clasen <mclasen@redhat.com>
3020 Fix problems with drag cancellation. (#376535, Michael Natterer)
3022 * gtk/gtkdnd.c (gtk_drag_source_info_destroy): Disconnect signal
3023 handlers before emitting drag-end.
3024 (gtk_drag_end): Disconnect signal handlers before removing
3027 2006-11-16 Mariano Suárez-Alvarez <mariano@gnome.org>
3029 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init):
3030 add gtk-doc blurb on GtkCellRendererText::edited (#376094)
3032 2006-11-16 Michael Natterer <mitch@imendio.com>
3034 * gtk/gtkradiobutton.c (gtk_radio_button_focus): don't use
3035 gtk_widget_keynav_failed(). Instead, look at gtk-keynav-cursor-only
3036 and gtk-keynav-wrap-around and wrap around, beep or continue outside
3037 the group manually (bug #322640).
3039 2006-11-16 Michael Natterer <mitch@imendio.com>
3041 Add new infrastructure for notifications of failed keyboard
3042 navigation and navigation with restricted set of keys.
3044 The patch handles configurable beeping, navigating the GUI with
3045 cursor keys only (as in phone environments), and configurable
3046 wrap-around. Fixes bugs #322640, #70986, #318827, #334726, #334742
3049 * gtk/gtksettings.c: added properties gtk-keynav-cursor-only,
3050 gtk-keynav-wrap-around and gtk-error-bell.
3052 * gtk/gtkwidget.[ch]: added new signal "keynav-failed" and public
3053 API to emit it. Added New function gtk_widget_error_bell() which
3054 looks at the gtk-error-bell setting and calls gdk_window_beep()
3057 * gtk/gtk.symbols: add the new widget symbols.
3059 * gtk/gtkcellrendereraccel.c
3060 * gtk/gtkimcontextsimple.c
3062 * gtk/gtknotebook.c: use gtk_widget_error_bell() or look at the
3063 gtk-error-bell setting instead of calling gdk_display_beep()
3070 * gtk/gtkmenushell.c
3071 * gtk/gtkspinbutton.c
3073 * gtk/gtktreeview.c: call gtk_widget_error_bell() on failed keynav.
3078 * gtk/gtktextview.c: consult gtk_widget_keynav_failed() on failed
3079 cursor navigation and leave the widget if it returns FALSE.
3081 * gtk/gtkmenushell.c
3082 * gtk/gtknotebook.c: only wrap around if gtk-keynav-wrap-around
3085 * gtk/gtkradiobutton.c: ask gtk_widget_keynav_failed() to decide
3086 whether to to wrap-around, and don't select active items on cursor
3087 navigation if gtk-keynav-cursor-only is TRUE. Should look at
3088 gtk-keynav-wrap-around too, will look into that.
3090 2006-11-16 Emmanuele Bassi <ebassi@gnome.org>
3092 * gtk/gtkrecentmanager.c:
3093 (gtk_recent_info_get_uri_display): Return the URI
3094 of the GtkRecentInfo object (upgraded to UTF-8 if
3095 needed) in case of non-local file. (#351945)
3097 2006-11-16 Emmanuele Bassi <ebassi@gnome.org>
3099 * gtk/gtkrecentchoosermenu.c:
3100 (gtk_recent_chooser_menu_add_tip): Apply the tip only
3101 if we have a displayable name for the item. (#365031,
3102 patch by padraig.obriain(at)sun.com)
3104 2006-11-16 Emmanuele Bassi <ebassi@gnome.org>
3106 * gtk/gtkrecentmanager.c: Provide a fast path returning
3107 NULL when the limit is set to 0.
3109 * gtk/gtkrecentchooserdefault.c:
3110 * gtk/gtkrecentchoosermenu.c: Add the same fast path
3111 inside the RecentChooser implementation; add a check
3112 in the list clamping code. (#373466 and duplicates)
3114 2006-11-15 Matthias Clasen <mclasen@redhat.com>
3116 * modules/printbackends/cups/gtkprintbackendcups.c (cups_printer_get_options):
3117 Don't pass NULL to strncpy. (#359537, patch by Carlos Garcia Campos)
3119 2006-11-15 Michael Natterer <mitch@imendio.com>
3121 * gtk/gtkrange.[ch]: added properties "fill-level",
3122 "show-fill-level" and "restrict-to-fill-level" and getters/setters
3123 for them. The "fill level" is an additional marker on the range's
3124 trough than can be e.g. used to indicate the amount of
3125 pre-buffering in a range showing the play position of streamed
3126 media. See the embedded API docs for details. Made GtkRangeLayout
3127 a GTypeInstance private struct and removed finalize()
3128 implementation. Fixes bug #349808
3130 * gtk/gtk.symbols: added the new symbols.
3132 2006-11-14 Behdad Esfahbod <behdad@gnome.org>
3134 * configure.in: Make libtool magic robust. (#352795)
3136 2006-11-13 Paolo Borelli <pborelli@katamail.com>
3138 * gtk/gtkrc.c (gtk_rc_parse_icon_source): plug small memory
3141 2006-11-09 Kristian Rietveld <kris@imendio.com>
3143 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): disable
3144 don't move cursor case for SELECTION_NONE. (#371756, John Ellis).
3146 2006-11-09 Carlos Garnacho <carlosg@gnome.org>
3148 * gtk/gtkpathbar.c (on_slider_unmap): Fix parenthesis confusion.
3150 2006-11-08 Carlos Garnacho <carlosg@gnome.org>
3152 * gtk/gtkpathbar.c (on_slider_unmap): added, do not leave the scroll
3153 timeout running if the slider buttons are hidden. (#372527)
3155 2006-11-08 Christian Persch <chpe@cvs.gnome.org>
3157 * gtk/gtkfilechooserdefault.c (browse_widgets_create): Don't make
3158 the "Location" label bold. Bug #372449.
3160 2006-11-07 Carlos Garnacho <carlosg@gnome.org>
3162 * gtk/gtknotebook.c (gtk_notebook_calculate_tabs_allocation): make
3163 non-focused tabs xthickness/ythickness thinner. (#353962)
3165 2006-11-07 Paolo Borelli <pborelli@katamail.com>
3167 * gtk/gtktextbtree.c (_gtk_text_btree_delete): avoid memory
3168 corruption (#357050).
3170 2006-11-06 Alexander Larsson <alexl@redhat.com>
3172 * gtk/gtkdnd.c: (gtk_drag_begin_internal),
3173 (gtk_drag_source_info_destroy), (gtk_drag_end),
3174 (gtk_drag_grab_notify_cb):
3175 Cancel drag when the grab is shadowed. (#122688)
3177 2006-11-01 Kristian Rietveld <kris@imendio.com>
3179 * gtk/gtkcombobox.c (gtk_combo_box_class_init),
3180 (gtk_combo_box_size_request): add arrow-size property to control
3181 the minimum size of the arrow, have the arrow scale up with the
3182 font by default. (#357950).
3184 2006-10-30 Kristian Rietveld <kris@gtk.org>
3186 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): don't
3187 forget to queue a draw for the new cursor node. (Fixes #366548,
3188 reported by Sven Herzberg).
3190 2006-10-30 Michael Natterer <mitch@imendio.com>
3192 * gtk/gtkrange.c (gtk_range_key_press): consume the Escape key
3193 only if we actually cancel a drag. Fixes bug #58389.
3195 2006-10-30 Kristian Rietveld <kris@gtk.org>
3197 * gtk/gtktreeview.c (gtk_tree_view_class_init): change left/right
3198 keybindings to collapse/expand rows instead of moving the focus
3199 cursor. (#105895, Brian Bober and others).
3201 2006-10-29 Kristian Rietveld <kris@gtk.org>
3203 * gtk/gtktreeview.c (gtk_tree_view_real_expand_row): guard against
3204 child removal in row-expanded callback. (#366782, John Ellis).
3206 2006-10-29 Tor Lillqvist <tml@novell.com>
3208 * gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Improve handling
3209 of the small icon of the window class. (#152620, Kazuki Iwamoto)
3211 2006-10-29 Tor Lillqvist <tml@novell.com>
3213 * gdk/win32/gdkcursor-win32.c
3214 (gdk_win32_icon_to_pixbuf_libgtk_only): Implement for B&W cursors,
3215 for instance the built-in GDK ones.
3217 2006-10-27 Kristian Rietveld <kris@gtk.org>
3219 * gtk/gtktreeview.c (validate_visible_area): rework the area_above == 0
3220 case to not overwrite the variables in the lower scope (which are
3221 used later on ...), get the path correctly and bail out when there
3222 isn't a node above us. (#359231).
3224 2006-10-26 Christian Persch <chpe@cvs.gnome.org>
3226 * gtk/gtkaboutdialog.c: Put initial focus on Close button (#337261).
3228 2006-10-25 Johan Dahlin <jdahlin@async.com.br>
3230 * gtk/gtk.symbols: Add missing symbols to so make check can pass
3232 2006-10-23 Dom Lachowicz <domlachowicz@gmail.com>
3234 * src/modules/engines/ms-windows/msw_style.c (draw_expander): Remember
3235 to free GDI Pen resources, introduced by bug 340201.(#364514)
3237 2006-10-18 Kristian Rietveld <kris@imendio.com>
3239 * tests/testcombo.c (main): connect to notify::popup-shown instead of
3240 popup-show (the latter does not exist).
3242 2006-10-15 Paolo Borelli <pborelli@katamail.com>
3244 * gtk/gtkicontheme.c (pixbuf_supports_svg): plug memory leak.
3247 2006-10-12 Michael Natterer <mitch@imendio.com>
3249 * gtk/gtkcombobox.c (gtk_combo_box_class_init): fix commit below
3250 (committed the wrong patch).
3252 2006-10-12 Michael Natterer <mitch@imendio.com>
3254 * gtk/gtkcombobox.c: added "move-active" and "popup" signals and
3255 bindings to trigger them. Removed gtk_combo_box_key_press(), it's
3256 obsolete now. Fixes bug #358293.
3258 2006-10-11 Michael Emmel <mike.emmel@gmail.com>
3260 * gdkpixmap-directfb.c: add missing RGB24 case (#361176)
3262 2006-10-11 Tor Lillqvist <tml@novell.com>
3264 * configure.in: Enable having some gdk-pixbuf loaders built-in
3265 even if loading the others dynamically. Define Automake
3266 conditional INCLUDE_FOO for each loader as TRUE if that loader is
3267 built-in. See also gdk-pixbuf/ChangeLog.
3269 Wed Oct 11 14:31:30 2006 Tim Janik <timj@imendio.com>
3271 * docs/reference/gtk/gtk-sections.txt:
3272 * gtk/gtkbindings.c: document gtk_binding_entry_skip().
3274 2006-10-11 Tor Lillqvist <tml@novell.com>
3276 * gtk/gtk.symbols: Remove gtk_combo_string_key, which is a static
3279 2006-10-11 Tor Lillqvist <tml@novell.com>
3281 Merge from 2.10 branch:
3283 * gtk/gtkmain.c (do_pre_parse_initialization): On Win32, if
3284 environment variable LC_ALL or LANG is set, set the Win32 thread
3285 locale to the corresponding locale. Then call the C library
3286 setlocale() to set the C library locale accordingly. The
3287 inconsistency mentioned below is gone. (#339756) Do some special
3288 casing for Serbia and Montenegro. Handle the Latin and Cyrillic
3289 scripts for Azeri, Uzbek and Serbian.
3290 (enum_locale_proc): Helper function for the above functionality.
3292 * gtk/gtkcalendar.c (gtk_calendar_init): No longer need to check
3293 if the environment variables are set here, as they have already
3294 been taken into account and the Win32 thread locale has been
3297 Tue Oct 10 16:38:23 2006 Tim Janik <timj@imendio.com>
3299 * gtk/tmpl/gtkbindings.sgml:
3300 * gtk/gtkbindings.c: applied patch from Michael Natterer to move to
3301 inline docs. applied wording fixes suggested by Martyn Russell.
3303 2006-10-09 Matthias Clasen <mclasen@redhat.com>
3305 * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state):
3306 Update the docs to state which out parameters may be NULL.
3307 (#360870, Attilio Fiandrotti)
3309 2006-10-08 Matthias Clasen <mclasen@redhat.com>
3311 * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities): Fix
3312 a typo. (#359542, Ghee Teo)
3314 2006-10-08 Matthias Clasen <mclasen@redhat.com>
3316 * gtk/gtknotebook.c (gtk_notebook_reorder_tab): Only
3317 reorder tabs if the focus is in the tab. (#350342, Carlos
3320 2006-10-08 Michael Emmel <mike.emmel@gmail.com>
3322 * gdk/directfb/gdkproperty-directfb.c strdup atom name (#357611)
3324 2006-10-08 Kristian Rietveld <kris@gtk.org>
3326 * gtk/gtktreeview.[ch] (gtk_tree_view_set_property),
3327 (gtk_tree_view_set_show_expanders),
3328 (gtk_tree_view_get_show_expanders): add getter/setter for
3329 show-expanders property, queue a redraw when this property
3330 is toggled (#351167, Martin Ejdestig),
3331 (gtk_tree_view_set_level_indentation),
3332 (gtk_tree_view_get_level_indentation): also add getter/setter
3333 and docs for level-indentation property.
3335 2006-10-08 Matthias Clasen <mclasen@redhat.com>
3337 * gtk/gtkradiobutton.c (gtk_radio_button_focus): Don't
3338 leak a list. (#360350, Benjamin Berg)
3340 * Apply a cleanup patch by Kjartan Maraas (#341812)
3342 2006-10-07 Tor Lillqvist <tml@novell.com>
3344 * gtk/gtkcalendar.c (gtk_calendar_init): Use the Win32 thread
3345 locale's first day of week setting on Win32. (#339752, Bogdan
3346 Nicula) Don't do this if one of the environment variables that
3347 affect gettext is set, though. In that case use the week start day
3348 from the corresponding message catalog.
3350 Unfortunately the same logic isn't possible in the weekday and
3351 month name lookup; there even if you have set one of the
3352 aforementioned environment variables, you still get the weekday
3353 and month names from the Win32 thread locale. Yes, this is
3356 Use only wide-character API in the Win32 code in this file, too.
3358 2006-10-06 Matthias Clasen <mclasen@redhat.com>
3360 * gtk/gtkfilechooser.c (gtk_file_chooser_set_select_multiple):
3361 Fix the docs. (#360112)
3363 * gtk/gtkcellview.c: Don't set the background of the
3364 window in a no-window widget. (#359581, Xan Lopez)
3367 2006-10-05 Behdad Esfahbod <behdad@gnome.org>
3369 * gtk/Makefile.am, gtk/aliasfilescheck.sh: Propagate srcdir into the
3370 test correctly. (#359845)
3372 2006-10-05 Michael Natterer <mitch@imendio.com>
3374 * gtk/gtkrc.[ch]: added new scanner token "unbind" which gets
3375 rid of a key binding (in fact, it only lets it appear unbound).
3377 * gtk/gtkbindings.[ch] (struct GtkBindingEntry): added
3378 "guint marks_unbound : 1"
3380 (gtk_binding_entry_skip): new API which marks the entry as unbound.
3382 Changed code so it returns FALSE when "marks_unbound == TRUE" is
3383 encountered while activating bindings, effectively letting the
3384 binding appear unbound (regardless of still existing bindings in
3385 lower binding priority levels). Fixes bug #358329.
3387 (gtk_binding_entry_add)
3388 (gtk_binding_entry_clear)
3389 (gtk_binding_entry_add_signall)
3390 (gtk_binding_parse_binding): deprected these functions.
3392 (_gtk_binding_parse_binding)
3393 (_gtk_binding_entry_add_signall): new internal API.
3395 * gtk/gtk.symbols: changed accordingly.
3397 2006-10-03 Matthias Clasen <mclasen@redhat.com>
3399 Fix interaction of GtkEntryCompletion with input
3400 methods. (#354495, Diego Escalante Urrelo)
3402 * gtk/gtkentry.c (gtk_entry_completion_key_press): Only reset
3403 the im context if we actually handle the key event.
3405 * gtk/gtkentrycompletion.c: Also propagate key release events
3408 2006-10-03 Matthias Clasen <mclasen@redhat.com>
3410 * gtk/gtkprintsettings.c (gtk_print_settings_get_duplex):
3411 Fix a typo. (#359052, Ghee Teo)
3413 * gtk/*.c, gdk/*.c: Apply a patch by Behdad Esfahbod to
3414 reduce relocations. (#359053)
3416 2006-10-03 Matthias Clasen <mclasen@redhat.com>
3418 * modules/printbackends/cups/gtkcupsutils.c:
3419 * modules/printbackends/cups/gtkprintbackendcups.c: Complete
3420 the fix for bug 357280.
3422 2006-10-02 Behdad Esfahbod <behdad@gnome.org>
3424 * gdk-pixbuf/Makefile.am:
3427 Include pltcheck.sh in EXTRA_DIST.
3429 2006-10-02 Behdad Esfahbod <behdad@gnome.org>
3431 * gdk/x11/gdkevents-x11.c: Move all includes before including
3434 2006-10-02 Behdad Esfahbod <behdad@gnome.org>
3436 * gtk/Makefile.am: Fix typo in file name. (#358931)
3438 2006-10-02 Matthias Clasen <mclasen@redhat.com>
3440 * modules/printbackends/cups/gtkprintbackendcups.c (available_choices):
3441 Only use the group name field if cups is new enough. (#357280)
3443 * gtk/gtksizegroup.c: Make sure that the quarks are
3444 initialized before using them. (#353736)
3446 * gtk/Makefile.am (stamp-icons): Use rm instead of ln -f to
3447 replace existing links. (#354849, James Evans)
3449 2006-10-01 Matthias Clasen <mclasen@redhat.com>
3451 * gtk/gtkexpander.c (gtk_expander_realize)
3452 (gtk_expander_size_allocate): Make the event_window large
3453 enough to cover the full height of the label_widget. (#358351,
3456 2006-10-01 Tor Lillqvist <tml@novell.com>
3458 * gtk/gtkfilesystemwin32.c: Same change as to gtkfilesystemunix.c.
3460 2006-09-30 Matthias Clasen <mclasen@redhat.com>
3462 * gtk/gtkfilechooserbutton.c (update_combo_box): Protect
3463 against base_path being NULL. (#358405, many reporters)
3465 2006-09-29 Matthias Clasen <mclasen@redhat.com>
3467 * gtk/gtkfilesystemunix.c: Apply a patch by Padraig O'Briain
3468 to avoid a deadlock.
3470 2006-09-27 Kristian Rietveld <kris@imendio.com>
3472 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_free_level),
3473 (gtk_tree_model_filter_ref_node),
3474 (gtk_tree_model_filter_real_unref_node): bring zero ref count loops
3475 in sync with each other and the sort model.
3477 2006-09-27 Kristian Rietveld <kris@imendio.com>
3479 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_init),
3480 (gtk_tree_model_filter_finalize), (gtk_tree_model_filter_row_deleted),
3481 (gtk_tree_model_filter_new): unref the virtual root path once that
3482 node (or one if its ancestors) is deleted, set virtual_root_deleted
3483 so we only unref it once.
3485 2006-09-27 Kristian Rietveld <kris@imendio.com>
3487 * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_changed),
3488 (gtk_tree_model_sort_sort_level): ref count nodes the proper way,
3489 (gtk_tree_model_sort_ref_node), (gtk_tree_model_sort_real_unref_node),
3490 (gtk_tree_model_sort_free_level): bring zero ref count loops in
3492 (gtk_tree_model_sort_free_level): free child levels before
3493 decreasing the zero ref count of the current level,
3494 (gtk_tree_model_sort_clear_cache): only clear cache if zero_ref_count
3497 2006-09-25 Matthias Clasen <mclasen@redhat.com>
3499 * demos/gtk-demo/*.c:
3500 * gtk/gtkeventbox.c:
3501 * gtk/gtkprintoperation.c: Fix typos. String change.
3503 2006-09-25 Kristian Rietveld <kris@gtk.org>
3505 * gtk/gtktreeview.c (gtk_tree_view_scroll_to_cell): if the tree view
3506 has already been realized; scroll to background area instead of
3507 cell area. (Fixes #330683, Johan Dahlin, Tommi Komulainen).
3509 2006-09-25 Kristian Rietveld <kris@gtk.org>
3511 * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): only attempt
3512 to create the GCs if the widget is realized. (Fixes #357578).
3514 2006-09-25 Matthias Clasen <mclasen@redhat.com>
3516 * gtk/gtkuimanager.c (_gtk_menu_is_empty): Don't leak
3517 the list of children (#357454, Paolo Borelli)
3519 2006-09-25 Michael Natterer <mitch@imendio.com>
3521 * gdk/x11/gdkdisplay-x11.c (gdk_display_x11_finalize): free
3522 display->input_windows with g_free(), not g_object_unref()
3523 (#357566, Tommi Komulainen).
3525 2006-09-24 Kristian Rietveld <kris@gtk.org>
3527 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init),
3528 (gtk_cell_renderer_text_[sg]et_property): actually add align-set
3529 property to the API (left-over patch from #157439).
3531 2006-09-24 Kristian Rietveld <kris@gtk.org>
3533 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button): draw
3534 the indicator if the column has a sort column id (and the model is
3535 sortable) or if the user explicitly requested the indicator
3536 to be shown. (Fixes #352738, Chris Vine).
3538 2006-09-23 Tor Lillqvist <tml@novell.com>
3540 * gtk/Makefile.am: Use EXEEXT.
3542 2006-09-22 Michael Natterer <mitch@imendio.com>
3544 * gtk/gtkstyle.c (gtk_style_real_copy): also copy icon factories
3545 and color hashes. Fixes bug #357132.
3547 2006-09-22 Matthias Clasen <mclasen@redhat.com>
3549 Make remote bookmarks work better (#354887)
3551 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons):
3552 (shortcuts_insert_path):
3553 * gtk/gtkfilechooserbutton.c (change_icon_theme):
3554 (model_add_bookmarks):
3555 (model_update_current_folder):
3556 (update_label_and_image):
3557 If the bookmark points to a remote file, don't call get_info(),
3558 since that may a) take a long time and b) pop up an auth dialog.
3559 Instead, just use a folder icon and create a display name
3562 * gtk/gtkfilechooserdefault.c (_gtk_file_chooser_label_for_uri):
3563 New function to create a suitable display name for a remote
3564 uri. This should really be done in GtkFileSystem.
3566 2006-09-21 Michael Natterer <mitch@imendio.com>
3568 Implement lots of value setters for GdkGC, based on a heavily
3569 modified patch from Thomas Broyer (bug #328853):
3571 * gdk/quartz/gdkcolor-quartz.c: removed functions which set colors
3572 on the CGContext. Instead, added gdk_quartz_get_rgba_from_pixel()
3573 which simply returns RGBA values from a GdkColor's pixel value.
3574 See gdk_quartz_update_context_from_gc() below.
3576 * gdk/quartz/gdkprivate-quartz.h (struct GdkGCQuartz): added lots
3577 of members for the newly suppored GC values. Added enum
3578 GdkQuartzContextValuesMask which is used for setting up the
3579 CGContext for filling and/or stroking.
3581 * gdk/quartz/gdkgc-quartz.c (gdk_quartz_gc_get_values)
3582 (gdk_quartz_gc_set_values)
3583 (_gdk_windowing_gc_copy): support a lot more GC values.
3585 (gdk_quartz_update_context_from_gc): added
3586 GdkQuartzContextValuesMask parameter and set filling/stroking
3587 parameters accordingly. This function also gained full control
3588 over the FG and BG colors (they can't be set separately any more).
3590 The stipple mask part of the patch doesn't work but seems to take
3591 the right approach and doesn't make things worse, so I applied it.
3593 Did *not* apply the clipping part of the patch since I don't
3594 understand it (I don't understand the version in CVS either, but
3595 it at least works :-)
3597 * gdk/quartz/gdkdrawable-quartz.c: pass the right masks to
3598 gdk_quartz_update_context_from_gc() and removed separate color
3599 setting calls. Some minor fixes.
3601 * gdk/quartz/gdkwindow-quartz.c
3602 (gdk_window_impl_quartz_begin_paint_region): set the CGContext's
3603 fill color manually. We don't have/need a GC here.
3605 2006-09-21 Michael Natterer <mitch@imendio.com>
3607 * gdk/quartz/gdkwindow-quartz.c
3608 (gdk_window_impl_quartz_begin_paint_region): fix cast: it's
3609 drawable_impl->wrapper that is the GdkWindow, not the
3610 drawable_impl itself.
3612 2006-09-20 Behnam Esfahbod <behnam@zwnj.org>
3614 * gdk/x11/gdkkeys-x11.c:
3615 (get_direction): just check the first shift-level of keyboard
3616 layout for RTL and LTR keysyms() (compliment to #116626)
3618 Wed Sep 20 16:59:38 2006 Tim Janik <timj@imendio.com>
3620 * gtk/gtkviewport.c: always update the bin_window position and size
3621 in size_allocate, even if we don't have a visible child. this fixes
3622 expose artefacts as described in #313508.
3624 * gtk/gtkscrolledwindow.c: make hiding of automatic scrollbars when we
3625 have no visible child explicit.
3627 2006-09-19 Ryan Lortie <desrt@desrt.ca>
3629 * docs/reference/gdk/gdk-sections.txt:
3632 * gdk/gdkpango.c: Bug 355343. Add a GdkPangoAttrEmbossColor.
3633 (gdk_pango_layout_get_clip_region): Remove an unused variable.
3634 (gdk_pango_attr_embossed_new): Fix documentation.
3636 Tue Sep 19 17:00:04 2006 Tim Janik <timj@imendio.com>
3638 * gtk/gtkarrow.c: added GtkArrow::arrow-scaling style property to
3639 control the arrow/border ratio within the allocation.
3641 * tests/testgtk.c: added a GtkArrow to handle box test.
3643 * tests/testgtkrc: test ::arrow-scaling property.
3645 2006-09-19 Matthias Clasen <mclasen@redhat.com>
3647 * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
3648 Display an error when we come to the root.
3650 2006-09-16 Matthias Clasen <mclasen@redhat.com>
3652 * gtk/gtkfilechooserbutton.c: Use bookmark labels in
3655 * gtk/gtkfilechooserbutton.c: Don't add remote volumes and
3656 bookmarks to the model in local-only mode, to avoid
3657 authentication dialogs pop up for invisible bookmarks, and
3658 to fix issues with separators not being hidden when
3659 they should. (#354887, Dennis Cranston)
3661 2006-09-16 Matthias Clasen <mclasen@redhat.com>
3663 * gtk/gtkcombobox.c (gtk_combo_box_finalize): Unref the
3664 treeview use in list mode. (#355732, Richard Hult)
3666 * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): Send
3667 change notification for the right property. (#355308,
3670 2006-09-15 Michael Natterer <mitch@imendio.com>
3672 * gtk/gtktreeview.c (gtk_tree_view_key_press): refactored column
3673 header navigation/resizing/reordering to be more readable and lose
3674 one level of nesting.
3676 2006-09-15 Kristian Rietveld <kris@imendio.com>
3678 * gtk/gtktreeview.c (gtk_tree_view_key_press): actually directly
3679 return after handling column button focus; we disable wrap around
3680 with this (which actually happened via a really weird code path).
3683 2006-09-15 Kristian Rietveld <kris@imendio.com>
3685 * gtk/gtktreeview.c (gtk_tree_view_key_press): make column resizing
3686 code RTL aware, also break from the loops after we have seen the
3687 focussed column button (Michael Natterer).
3689 Thu Sep 14 12:28:51 2006 Tim Janik <timj@imendio.com>
3691 * tests/testrichtext.c (main): intialize random number generator state
3692 upon program start, to enable truely random testing.
3694 2006-09-13 Michael Emmel <mike.emmel@gmail.com>
3696 * gdk/directfb/gdkcolor-directfb.c small clean ups include order
3697 * gdk/directfb/gdkwindow-directfb.c fixed beep compile error
3698 * gdk/directfb/Makefile.am removed GDK_PIXBUF_DISABLE_DEPRECATED
3699 GDK_DISABLE_DEPRECATED to allow compile per Behdad
3700 * gdk/quartz/Makefile.am same change as directfb Makefile
3701 * gtk/Makefile.am fixed typo that cause socket stubs not to compile
3703 2006-09-13 Matthias Clasen <mclasen@redhat.com>
3705 * gtk/gtkcolorsel.c: Use a GtkWindow instead of a GtkInvisible
3706 for the grab widget, to make the color picker work with window
3709 2006-09-12 Hong Jen Yee <pcman.tw@gmail.com>
3711 signed off by: Dom Lachowicz
3713 * modules/engines/ms-windows/msw_style.c: Bug 340201. This contains
3714 a large number of improvements to the Microsoft Windows theme engine
3715 which are fully described in the bug report.
3717 Mon Sep 11 14:22:39 2006 Tim Janik <timj@imendio.com>
3719 * tests/testgtk.c: fixed compiler warnings.
3721 2006-09-10 Matthias Clasen <mclasen@redhat.com>
3723 * gtk/gtkfilechooserbutton.c (model_add_special): Request
3724 the display name too, otherwise "Desktop" does not appear
3725 in the file chooser button.
3727 2006-09-10 Tor Lillqvist <tml@novell.com>
3729 * gdk/win32/gdkprivate-win32.h
3730 * gdk/win32/gdkmain-win32.c
3731 * gdk/win32/gdkwindow-win32.c: Define WINVER and _WIN32_WINNT as
3732 0x0500 in gdkprivate-win32.h instead of doing it in two source
3733 files. (#355212, Mike Edenfield)
3735 * gdk/win32/gdkwindow-win32.c: We can also remove the ersatz
3736 GetAncestor() for the _MSC_VER && WINVER < 0x0500 case, I hope.
3738 2006-09-10 Matthias Clasen <mclasen@redhat.com>
3740 * Commit a patch by Behdad to fix typos, omissions and other
3741 errors in the symbol aliasing, and add checks for local PLT
3742 entries. (#354687, Behdad Esfahbod)
3744 * gtk/gtktreeview.c (gtk_tree_view_search_scroll_event): Renew
3745 the flush timeout. (#354043, Nelson Benitez)
3747 * gtk/gtkfilechoosersettings.c (set_unexpected_element_end_error):
3748 Improve wording. String change! (#355126, David Lodge)
3750 * gtk/updateiconcache.c: Improve wording. String change! (#355128,
3753 * gtk/paper_names_offsets.c: Fix a typo. String change! (#355134,
3756 2006-09-09 Matthias Clasen <mclasen@redhat.com>
3758 * gdk/x11/gdkfonts-x11.c: Fix small theoretical memory leaks.
3759 (#353916, Chris Wilson)
3761 * gtk/gtksettings.c (_gtk_settings_reset_rc_values):
3762 Don't leak the to_reset list. (#353914, Chris Wilson)
3764 * gtk/gtkwidget.c: Add docs for the parent-set signal.
3765 (#353772, Mariano Suárez-Alvarez)
3767 2006-09-08 Matthias Clasen <mclasen@redhat.com>
3769 * gtk/gtktextbuffer.c (remove_all_selection_clipboards):
3770 Don't clear clipboards here, since we are called from finalize
3771 and can't emit signals.
3773 * configure.in: Set version to 2.11.0
3775 2006-09-06 Richard Hult <richard@imendio.com>
3777 * gdk/quartz/gdkkeys-quartz.c: (maybe_update_keymap): Special-case
3778 shift-tab and map it to GDK_ISO_Left_Tab, fixes bug #350806.
3780 2006-09-04 Kristian Rietveld <kris@imendio.com>
3782 * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
3783 if setting the given folder failed, try setting the parent folder
3784 until we succeed; display an error box at the end.
3786 2006-09-04 Kristian Rietveld <kris@imendio.com>
3788 * gtk/gtkpathbar.c (gtk_path_bar_dispose): don't cancel the
3789 operations spawned by buttons here,
3790 (set_button_image_get_info_cb): bail out if button is NULL, but
3791 do free button_data,
3792 (button_data_free): only free the data if non NULL (since this
3793 function can be called multiple times for the same data), cancel
3794 handle if pending but don't free button_data in this case (will
3795 happen in the callback).
3797 2006-09-04 Michael Natterer <mitch@imendio.com>
3799 * gtk/gtkrc.c (rc_parse_token_or_compound)
3800 (gtk_rc_parse_assignment): serialize floating point values using
3801 locale-independent functions. (#346751, Frederic Crozat)
3803 2006-09-04 Tor Lillqvist <tml@novell.com>
3805 * gdk/win32/gdkevents-win32.c
3806 * gdk/win32/gdkwindow-win32.c: Use wide-char API for message and
3807 window handling (PeekMessage, PostMessage, SendMessage,
3808 DispatchMessage, DefWindowProc, RegisterClassEx,
3809 CreateWindowEx). (#321597)
3811 2006-09-03 Kristian Rietveld <kris@imendio.com>
3813 * gtk/gtkfilechooserdefault.c (save_entry_get_info_cb),
3814 (file_exists_get_info_cb), (gtk_file_chooser_default_should_respond):
3815 change file_exists_and_is_not_folder checks to get the file info
3816 for the path directly instead of querying the current file folder
3819 * gtk/gtkfilechooserprivate.h (struct _GtkFileChooserDefault): add
3822 * tests/autotestfilechooser.c (wait_for_idle_idle), (wait_for_idle),
3823 (test_reload_sequence), (test_button_folder_states_for_action): wait
3824 for idle after setting a folder to ensure the async operations to load
3825 the folder are finished,
3826 (test_confirm_overwrite), (test_confirm_overwrite_for_path):
3827 factor out test_confirm_overwrite code so we can add tests for more
3830 2006-09-03 Richard Hult <richard@imendio.com>
3832 * gdk/quartz/GdkQuartzView.c (drawRect): Don't do anything if
3833 exposure isn't in the event mask, plug a leak, and check that the
3834 window isn't destroyed.
3835 (isOpaque): Check that the window isn't destroyed, fixes bug
3838 2006-09-03 Matthias Clasen <mclasen@redhat.com>
3840 * gtk/gtkwidget.c (gtk_widget_class_init): Fix a typo.
3841 (#354035, Mariano Suárez-Alvarez)
3843 * gtk/gtkmain.c (post_parse_hook):
3844 * gdk/gdk.c (gdk_init): Handle display_name being NULL.
3845 (#354004, Chris Wilson)
3847 2006-09-03 Tor Lillqvist <tml@novell.com>
3849 * gdk/win32/gdkwindow-win32.c (gdk_window_beep): No
3850 GDK_WINDOW_DISPLAY in the Win32 backend.
3852 * gtk/gtkfilesystemwin32.c: Copy what Kris did to
3855 2006-09-02 Kristian Rietveld <kris@imendio.com>
3857 First part of file chooser fixes.
3859 * gtk/gtkfilechooserbutton.c (model_add_special): also set the
3860 handle in the model for the desktopdir case.
3862 * gtk/gtkfilechooserdefault.c (shortcuts_add_current_folder): free
3863 volume in case we retrieved it but don't pass it on to insert_path,
3864 (shortcuts_model_create): change the column type for the handles
3865 to pointer instead of GObject so our handle ref counting is not
3867 (show_and_select_paths_finished_loading): don't forget to unref
3870 * gtk/gtkfilesystemunix.c (gtk_file_system_unix_class_init),
3871 (gtk_file_system_unix_init), (gtk_file_system_unix_dispose):
3872 remove pending execute_callbacks_idle during dispose, also
3873 execute all callbacks waiting to be run in the next idle,
3874 (queue_*callback), (execute_callbacks_idle): refactor to maintain
3875 a list of callbacks to call per file system instead of globally,
3876 guard the file system during callback invocation,
3877 (gtk_file_system_unix_get_folder): only add load folder idle if
3878 none has been added yet.
3880 2006-09-01 Matthias Clasen <mclasen@redhat.com>
3882 * gtk/gtkentry.c: Don't unnecessarily reset the im context
3883 when deleting the selection. (#353803, Alex Larsson)
3885 2006-09-01 Abel Cheung <abel@oaka.org>
3887 * configure.in: Added 'ang' 'dz' to ALL_LINGUAS.
3889 2006-08-31 Matthias Clasen <mclasen@redhat.com>
3891 Stop cursor blinking after a configurable timeout.
3892 (#353670, #352442, Arjan van de Ven, Manu Cornet)
3894 * gtk/gtksettings.c (gtk_settings_class_init): Add a
3895 gtk-cursor-blink-timeout setting, which specifies the number
3896 of seconds that the cursor should blink after a user interaction.
3897 The default value is G_MAXINT to preserve the current behaviour.
3899 * gtk/gtkentry.c (blink_cb): Stop blinking after blink-timeout
3902 * gtk/gtkentry.c (gtk_entry_completion_key_press)
3903 (gtk_entry_button_press, gtk_entry_focus_in): Reset the
3906 * gtk/gtktextview.c (blink_cb): Stop blinking after blink-timeout
3909 * gtk/gtktextview.c (gtk_text_view_key_press_event)
3910 (gtk_text_view_button_press_event, gtk_text_view_focus_in_event):
3911 Reset the blink timer.
3913 2006-08-31 Matthias Clasen <mclasen@redhat.com>
3915 * gtk/gtkprintoperation-unix.c (get_print_dialog): Don't specify
3916 explicit format capabilities. (#346505, Christian Persch)
3918 * modules/printbackends/cups/gtkprintbackendcups.c (cups_request_printer_list_cb): Send printer-list-done on error.
3920 2006-08-31 Michael Natterer <mitch@imendio.com>
3922 * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Fix build.
3924 2006-08-30 Richard Hult <richard@imendio.com>
3926 * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep): Fix build.
3928 2006-08-30 Matthias Clasen <mclasen@redhat.com>
3930 * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Only use XKB
3931 for beeping if we are using XKB.
3933 2006-08-29 Matthias Clasen <mclasen@redhat.com>
3937 * gdk/directfb/gdkwindow-directfb.c (gdk_window_beep):
3938 * gdk/win32/gdkwindow-win32.c (gdk_window_beep):
3939 * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep):
3940 * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Add a function
3941 to beep on a window. For X11, implement this with
3942 XkbBell. (#353455, Mariano Suárez-Alvarez)
3944 2006-08-29 Tor Lillqvist <tml@novell.com>
3946 Remove support for Windows 9x/ME. GTK+ hasn't worked on Win9x
3947 since 2.6 or 2.8. It's pointless to keep the Win9x code in here as
3948 it isn't being maintained anyway. If somebody is interested, it
3949 can always be found in older GTK+ versions, and in CVS.
3954 * gdk/win32/Makefile.am
3955 * gdk/win32/libie55uid.la
3956 * gdk/win32/gdkevents-win32.c: Remove the --with-ie55 configure
3957 switch and associated stuff. Active IMM and the <dimm.h> header
3958 was used for IM support on NT4 and Win9x. Win2k and later have IM
3961 * gdk/win32/gdkcursor-win32.c
3962 * gdk/win32/gdkdnd-win32.c
3963 * gdk/win32/gdkdrawable-win32.c
3964 * gdk/win32/gdkevents-win32.c
3965 * gdk/win32/gdkgc-win32.c
3966 * gdk/win32/gdkglobals-win32.c
3967 * gdk/win32/gdkkeys-win32.c
3968 * gdk/win32/gdkmain-win32.c
3969 * gdk/win32/gdkproperty-win32.c
3970 * gdk/win32/gdkselection-win32.c
3971 * gdk/win32/gdkwindow-win32.c: Remove the G_WIN32_IS_NT_BASED()
3972 and G_WIN32_HAVE_WIDECHAR_API() tests and their false (Win9x)
3973 branches, and any variables or static functions used only by the
3976 * gdk/win32/gdkprivate-win32.h: Remove backup definitions for
3977 constants that aren't missing from current mingw and MSVC6
3980 * gdk/win32/gdkmain-win32.c
3981 * gdk/win32/gdkprivate-win32.h: Remove the _gdk_win32_gdi_failed()
3982 function. On NT-based Windows GetLastError() returns error codes
3983 also for failed GDI calls, so we can use _gdk_win32_api_failed()
3986 2006-08-29 Emmanuele Bassi <ebassi@gnome.org>
3988 * gtk/gtkrecentchoosermenu.c
3989 (gtk_recent_chooser_menu_set_current_uri): Break when an item
3990 is found and activated. (#353449, based on a patch by Jan Arne
3993 Fri Jul 14 16:13:37 2006 Tim Janik <timj@gtk.org>
3995 * gtk/gtkprogressbar.c: introduced ::xspacing and ::yspacing style
3996 properties which make all hardcoded padding and spacing values
3997 configurable. properly swap ::text-xalign treatment for RTL widgets.
3999 * gtk/gtkprogress.c: fixed style property blurbs. made alignment
4000 proeprty more consistent with GtkMisc alignment blurbs. mention
4001 RTL treatment for text-xalign.
4003 Tue Aug 29 11:57:40 2006 Tim Janik <timj@imendio.com>
4005 * tests/testgtk.c: allow (most) windows to be resizable.
4006 added ellipsization settings to progress bars.
4008 2006-08-28 Matthias Clasen <mclasen@redhat.com>
4010 * modules/printbackend/cups/gtkprintbackendcups.c: Use a
4011 resonable timeout of 3 seconds when polling for printer
4012 list updates, instead of 300000 seconds...
4014 2006-08-28 Michael Natterer <mitch@imendio.com>
4016 * gtk/gtktextbufferserialize.c (serialize_text): don't write out
4017 </apply_tag> for tags that have already been closed by the logic
4018 which turns overlapping spans into XML-able trees. Fixes broken
4019 XML when there are overlapping tags in the buffer. Also free two
4020 leaked GLists and did some cleanup.
4023 * tests/testrichtext.c: new test which creates randomly tagged
4024 GtkTextBuffers and serializes/deserializes them.
4026 2006-08-26 Matthias Clasen <mclasen@redhat.com>
4028 * gtk/gtkstatusicon.c (gtk_status_icon_reset_image_data):
4029 Don't leak pixbufs. (#352264, Ross Burton)
4031 * gtk/gtklinkbutton.c (set_link_underline): Don't leak
4032 PangoAttributes. (#352391, Paolo Borelli)
4034 2006-08-25 Matthias Clasen <mclasen@redhat.com>
4036 * demos/gtk-demo/Makefile.am:
4037 * demos/gtk-demo/textscroll.c: Add an example of automatic
4038 scrolling, thanks to Yevgen Muntyan. (#351206)
4040 * gtk/gtkmodules.c (find_module): Use local binding when
4041 loading modules. (#351868)
4043 2006-08-24 Michael Natterer <mitch@imendio.com>
4045 * gdk/quartz/gdkdisplay-quartz.c (gdk_display_get_name): return
4046 the hostname instead of NULL.
4048 2006-08-23 Matthias Clasen <mclasen@redhat.com>
4050 * gtk/gtkprinteroptionwidget.[hc]: Fix confusion about
4051 names and values in comboboxes, and clean up some
4052 coding style issues.
4054 2006-08-23 Tor Lillqvist <tml@novell.com>
4056 * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_make_path):
4057 Revert unintended translatable string addition. Use same string
4058 in GError as in gtkfilesystemunix.c.
4060 * gtk/gtkfilesystemwin32.c (_gtk_file_system_win32_path_compare):
4061 Fix logic at the end of strings.
4063 * gtk/gtkfilesystemwin32.c: Maintain a hash table of live
4064 handles and check that we have no outstanding handles at
4065 finalization time. (Copying what Matthias did for
4066 gtkfilesystemunix.c)
4068 2006-08-23 Matthias Clasen <mclasen@redhat.com>
4070 * gtk/gtkfilesystemunix.c: Maintain a hash table
4071 of live handles and check that we have no outstanding
4072 handles at finalization time. (Copying what
4073 Federico did for gtkfilesystemgnomevfs.c)
4075 2007-08-22 Matthias Clasen <mclasen@redhat.com>