1 2007-04-28 Xan Lopez <xan@gnome.org>
4 * gtk/gtkentrycompletion.c:
5 * gtk/gtkentrycompletion.h:
6 * gtk/gtkentryprivate.h:
8 Rember the user input that triggered the completion, add
9 API to the retrieve it and reset the entry contents to it
10 if the user cancels the tentative completion during
13 2007-04-27 Matthias Clasen <mclasen@redhat.com>
15 * gdk/x11/gdkgeometry-x11.c: Factor out window movement
16 functions. (#63820, Tilman Sauerbeck)
18 2007-04-27 Matthias Clasen <mclasen@redhat.com>
20 * gdk/x11/gdkgeometry-x11.c: Factor out translate_pos().
21 (#63820, Tilman Sauerbeck)
23 2007-04-27 Matthias Clasen <mclasen@redhat.com>
25 * gdk/x11/gdkgeometry-x11.c: Factor out window mapping
26 and unmapping functions. (#63820, Tilman Sauerbeck)
28 2007-04-27 Matthias Clasen <mclasen@redhat.com>
30 * gdk/x11/gdkgeometry-x11.c: Make list handling code
31 easier to read. (#63820, Tilman Sauerbeck)
33 2007-04-27 Matthias Clasen <mclasen@redhat.com>
40 * gtktextiter.c: Internalize some strings, pointed out
43 2007-04-27 Xan Lopez <xan@gnome.org>
45 Support inline-selection in entries (#318459)
48 * gtk/gtkentrycompletion.c:
49 * gtk/gtkentrycompletion.h:
50 * gtk/gtkentryprivate.h:
52 When enabled cursor-match is emited when the cursor is on
53 a possible completion on the list. The default implementation
54 will replace the contents on the entry with the contents of
55 the text column in the completion model.
57 Review and improvements by Matthias Clasen.
59 2007-04-27 Michael Natterer <mitch@imendio.com>
61 Merged heavily modified patch from maemo-gtk which enables opening
62 and closing submenus on click, and introduces some usability
63 changes when gtk-touchscreen-mode is enabled (bug #128968):
65 * gtk/gtkmenushell.c (struct GtkMenuShellPrivate): added boolean
66 "activated_submenu" to indicate that the current mouse operation
67 (click or drag) has opened a submenu.
69 (gtk_menu_shell_button_press): pop up submenus without delay
70 and record the fact in "activated_submenu".
72 (gtk_menu_shell_button_release): if a submenu was explicitely
73 opened, or not opened by this release's button_press, or enough
74 time has passed since timeout-opening it, close the submenu here.
76 (gtk_menu_shell_enter_notify): when entering a menu item with
77 any mouse button pressed, open its submenu.
79 (gtk_real_menu_shell_move_current): in touchsreen mode, close the
80 submenu when moving the focus away from it via keyboard-navigation.
82 * gtk/gtkmenuitem.[ch] (_gtk_menu_item_popup_submenu): added
83 parameter "gboolean with_delay" so GtkMenuShell can control this
84 for the different scenarios of submenu showing.
86 (_gtk_menu_item_popdown_submenu): new function. also needed by
87 GtkMenuShell for closing submenus on click.
89 Renamed internal function gtk_menu_item_select_timeout() to
90 gtk_menu_item_popup_timeout().
92 (gtk_menu_item_real_popup_submenu): new utility function which
93 does the actual popup and records the exact time of the popup when
94 the menu was timeout-opened (using g_get_current_time()).
96 (gtk_real_menu_item_select): don't add the popup timeout when in
99 * gtk/gtkmenu.c (gtk_menu_popup): in touchscreen mode, select the
100 first item of every opened menu.
102 2007-04-26 Matthias Clasen <mclasen@redhat.com>
104 * gtk/gtkfilechooserentry.c: Append a '/' to directory names
105 in the completion popup. (#431323, Maarten Maathuis)
107 2007-04-26 Matthias Clasen <mclasen@redhat.com>
109 * demo/gtk-demo/combobox.c: Add a simple validation demo.
110 * gtk/gtkcomboboxentry.c: Make it possible to add arbitrary
111 children to a GtkComboBoxEntry. (#426401, Paul Pogonyshev)
113 2007-04-26 Tor Lillqvist <tml@novell.com>
115 * gtk/gtkinputdialog.c (gtk_input_dialog_fill_axes)
116 (gtk_input_dialog_fill_keys): Remove old child of scrolled window
117 before adding a new one when switching what input device is being
120 2007-04-26 Matthias Clasen <mclasen@redhat.com>
122 * modules/printbackends/lpr/gtkprintbackendlpr.c
123 (gtk_print_backend_lpr_init): Mark the printer list as done.
124 (#428665, Bogdan Gheorghe)
126 2007-04-26 Matthias Clasen <mclasen@redhat.com>
129 * gtk/Makefile.am: Don't install UNIX-printing headers and
130 support files on non-UNIX platforms. (#425655, Vincent Geddes)
132 2007-04-26 Matthias Clasen <mclasen@redhat.com>
134 * gtk/gtkuimanager.c (gtk_ui_manager_add_ui): Accept
135 unnamed separators. (#369112, Christian Persch)
137 2007-04-26 Matthias Clasen <mclasen@redhat.com>
139 * gtk/gtkaccelgroup.c (gtk_accel_group_finalize): Don't access
140 invalid memory. (#429732, Armin Burgmeier)
142 2007-04-26 Cody Russell <bratsche@gnome.org>
144 * gdk/win32/xcursors.h:
145 * gdk/win32/gdkcursor-win32.c:
147 Use Win32 native cursors instead of the ones built into GTK
148 where it makes sense. (#128852, Tim Evans)
150 2007-04-25 Cody Russell <bratsche@gnome.org>
154 * gtk/gtkhandlebox.c:
155 * gdk/directfb/gdkwindow-directfb.c:
156 * gdk/linux-fb/gdkwindow-fb.c:
157 * gdk/quartz/gdkwindow-quartz.c:
158 * gdk/win32/gdkwindow-win32.c:
159 * gdk/x11/gdkwindow-x11.c:
160 Added window type hint and implement drop shadows on Win32
161 for menus, tooltips, etc. (#148535, Tim Evans, Dom Lachowicz)
163 2007-04-25 Jakub Steiner <jimmac@ximian.com>
165 * gtk/stock-icons/16/gtk-close.{png,svg}: added 16x16 version of
166 gtk-close as per discussion in bug #431740.
168 2007-04-25 Matthias Clasen <mclasen@redhat.com>
170 * gtk/gtktreeview.c (gtk_tree_view_style_set): Set the background
171 of the header window again. (#431067, Benjamin Berg)
173 2007-04-25 Matthias Clasen <mclasen@redhat.com>
175 * gtk/gtkicontheme.c (theme_lookup_icon): Set the filename to
176 NULL for builtin icons, sinc gtk_icon_info_get_builtin_pixbuf()
179 * tests/testicontheme.c: Report builtin icons.
181 2007-04-25 Matthias Clasen <mclasen@redhat.com>
183 * gtk/gtkprintoperation.c (preview_iface_end_preview): Don't
184 crash if end_run is not set. (#424168, Matthias Hasselmann)
186 2007-04-25 Michael Natterer <mitch@imendio.com>
188 * gtk/gtkmenu.c (gtk_menu_handle_scrolling): fix ACTIVE state of
189 scroll buttons (we were setting the state to ACTIVE but
190 immediately overwriting it with NORMAL or PRELIGHT). Also got rid
191 of many separate calls to gdk_window_invalidate_rect() by
192 remembering the old button state and only invalidating the area if
193 the state has changed (addresses parts of bug #433242, Tommi
196 (gtk_menu_scroll_to): change the arrow states only if changing
197 from or to INSENSITIVE state, so we don't overwrite the ACTIVE
198 state set by above function.
200 2007-04-25 Michael Natterer <mitch@imendio.com>
202 * gtk/gtkprintoperation.c (preview_iface_is_selected): fix the
203 build. Dunno if the fix is right, but I think it is.
205 2007-04-25 Kristian Rietveld <kris@imendio.com>
207 * gtk/gtktooltip.c (find_topmost_widget_coords_from_event):
208 cleanup/refactor some leftover code.
210 2007-04-24 Matthias Clasen <mclasen@redhat.com>
212 * gtk/gtkprintunixdialog.c (dialog_get_page_ranges): Parse
213 half-open ranges like -2 or 3-, and be a bit more liberal
215 (dialog_set_page_ranges): Support half-open ranges.
217 * gtk/gtkprintoperation.c (print_pages_idle): Substitute the
218 number of pages in half-open ranges.
219 (preview_iface_is_selected): Support half-open ranges here, too.
221 2007-04-24 Chris Wilson <chris@chris-wilson.co.uk>
223 * gtk/gtkicontheme.c (scan_directory): Ensure the
224 icon_theme->all_icons and dir->icons hash tables use the same string
225 as their keys. (#418531)
227 2007-04-23 Cody Russell <bratsche@gnome.org>
228 * modules/engines/ms-windows/msw_style.c: Fixed one-pixel drawing error on
229 left-most tab when notebooks are top-oriented. Also general cleanup of
230 notebook tab related code. (Lieven van der Heide, Cody Russell)
232 2007-04-23 Matthias Clasen <mclasen@redhat.com>
234 * modules/printbackends/cups/gtkprintbackendcups.c: Reduce
235 the amount of debug spew if we are not debugging.
237 2007-04-23 Michael Natterer <mitch@imendio.com>
239 * tests/Makefile.am (testtooltips_SOURCES): fix typo:
240 testtoooltips_SOURCES -> testtooltips_SOURCES.
242 2007-04-19 Cody Russell <bratsche@gnome.org>
244 * modules/engines/ms-windows/msw_style.c: Fix menuitem rendering
245 for Windows Vista. (#392015, Hiroyuki Yamamoto)
247 2007-04-19 Dominic Lachowicz <domlachowicz@gmail.com>
249 * modules/engines/ms-windows/msw_style.c: Fix pixbuf leaks in
250 non-WinXP rendering paths. From Daniel Atallah (#403470)
252 2007-04-19 Matthias Clasen <mclasen@redhat.com>
254 * gtk/gtkicontheme.h:
255 * gtk/gtkicontheme.c: Add GTK_ICON_LOOKUP_GENERIC_FALLBACK
256 icon lookup flag and implement it. (#396901, Luca Ferreti)
258 2007-04-18 Richard Hult <richard@imendio.com>
260 * gdk/quartz/gdkwindow-quartz.c:
261 (gdk_window_quartz_process_updates_internal),
262 (gdk_window_quartz_process_all_updates),
263 (gdk_window_impl_quartz_process_updates): Refactor the process
264 updates functions to share code between them. Also fixes bug
265 #427660 by not updating larger regions than necessary.
267 2007-04-18 Matthias Clasen <mclasen@redhat.com>
269 * gdk/gdkregion-generic.h (GROWREGION): Handle the case
270 of nRects == 0 correctly.
272 2007-04-18 Emmanuele Bassi <ebassi@gnome.org>
274 * gtk/gtkrecentmanager.c (gtk_recent_manager_lookup_item): Fix
275 a leak by not increasing the refcount of the GtkRecentInfo
276 object when returning it (thanks to Matthias Clasen).
278 2007-04-16 Alexander Larsson <alexl@redhat.com>
280 * gtk/gtkprintoperation.c (gtk_print_operation_run):
281 Make async print preview work by actually starting
282 the print process in that case (#424168)
284 2007-04-14 Yevgen Muntyan <muntyan@tamu.edu>
286 * gtk/gtkselection.c (selection_get_text_plain): fixed
287 wrong g_convert_with_fallback() call which caused
288 gtk_selection_data_get_text() return invalid UTF-8 for
289 non-ASCII text in text/plain selection (#382824).
291 2007-04-12 Jakub Steiner <jimmac@ximian.com>
293 * gtk/stock-icons/*: update the stock icons to follow the Tango
296 2007-04-11 Chris Wilson <chris@chris-wilson.co.uk>
298 * gtk/gtkiconfactory.c (_gtk_icon_factory_list_ids):
299 * gtk/gtkstock.c (gtk_stock_list_ids):
300 Switch over to use glib's new g_hash_table_get_keys() rather
301 than our own static implementation.
303 * gtk/gtkiconfactory.h: Update to return a GList.
305 * configure.in: Bump required version to 2.13.1
307 2007-04-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
309 * gdk/quartz/gdkeventloop-quartz.c: Protect the polling thread
310 setup and shutdown function by mutexes and read the wakeup
311 pipe unconditionally and unblocking. This should make the main
312 loop always be woken up when using g_idle_add() from another
313 thread in the Quartz backend (#425271).
315 2007-04-10 Matthias Clasen <mclasen@redhat.com>
317 * gdk/x11/xsettings-client.[hc]: Change the XSettingsWatchFunc
318 to return a Bool to indicate success. Update callers and
319 implementors. Based on a patch by Owen Taylor.
321 * gdk/x11/gdkevents-x11.c (gdk_xsettings_watch_cb): Don't
322 leak a reference to gdkwin.
324 2007-04-07 Xan Lopez <xan@gnome.org>
326 * gtk/gtknotebook.c (gtk_notebook_class_init):
327 s/arrow-size/arrow-spacing in the arrow-spacing
330 2007-04-06 Richard Hult <richard@imendio.com>
332 * gdk/quartz/: Clean up namespaces to make the code more
335 * gdk/quartz/gdkdrawable-quartz.c:
336 * gdk/quartz/gdkgc-quartz.c: Fix bug #418384, alignment of tiled
337 images, by setting the pattern phase for the CG pattern.
339 2007-04-04 Kristian Rietveld <kris@imendio.com>
341 * gtk/gtktooltip.c (tooltip_browse_mode_expired),
342 (gtk_tooltip_hide_tooltip), (tooltip_popup_timeout),
343 (gtk_tooltip_start_delay): use new gdk_threads API.
345 2007-04-03 Behdad Esfahbod <behdad@gnome.org>
347 * gtk/gtksettings.c (settings_update_font_options): Don't set
348 metrics-hinting font option. Rely on the default value which is
349 on for all raster cairo surfaces. (#425985)
351 2007-04-03 Loïc Minier <lool@dooz.org>
353 * gdk/x11/gdkscreen-x11.c: (check_xfree_xinerama): Revert to
354 non-xinerama mode when XineramaQueryScreens returns NULL; patch from
355 Simon McVittie; #425786.
357 2007-04-02 Michael Natterer <mitch@imendio.com>
359 * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): remove
360 artifact from the time when type checking casts warned on NULL,
361 some whitespace cleanup.
363 2007-04-01 Cody Russell <bratsche@gnome.org>
365 * modules/engines/ms-windows/msw_style.c: Fix rendering of
366 notebook tabs when they are bottom-oriented. Fixes #399253.
368 2007-03-31 Elijah Newren <newren gmail com>
370 * gdk/x11/gdkwindow-x11.c (setup_toplevel_window,
371 gdk_x11_window_set_user_time):
372 Patch from Matthias to add support for the
373 _NET_WM_USER_TIME_WINDOW EWMH protocol; see #354213.
375 WARNING: This patch will make metacity <= 2.18.0 freeze on
376 workspace switch. This is due to a weird problem that should only
377 affect window managers using gdk in-process for decoration drawing
378 and which make an unsafe assumption relating to doing so (i.e. it
379 should only affect metacity). Upgrade your version of metacity if
382 2007-03-29 Michael Natterer <mitch@imendio.com>
384 Don't close menus on clicks on their border area (bug #423761).
385 (modified patch from maemo-gtk).
387 * gtk/gtkmenu.c (gtk_menu_button_press)
388 (gtk_menu_button_release): bail out early if the click was on the
389 menu's border (not on any item and not outside the window).
391 (pointer_in_menu_window): new utility function which checks if
392 passed root coords are inside the menu_shell or one of its
395 2007-03-29 Michael Natterer <mitch@imendio.com>
397 * gtk/gtkmenu.c: get rid of local GtkSettings variables by moving
398 gtk_widget_get_settings() into the g_object_get() call. Some small
401 2007-03-28 Matthias Clasen <mclasen@redhat.com>
403 * modules/printbackends/cups/gtkcupsutils.[hc]:
404 * modules/printbackends/cups/gtkprintbackendcups.c: Apply
405 a patch by John Palmieri to make the cups print backend support
408 2007-03-28 Kristian Rietveld <kris@imendio.com>
410 * gtk/gtkwidget.c (gtk_widget_set_tooltip_window): don't unref
411 tooltip_window, since this is handled by set_qdata_full() already.
412 (#412001, Torsten Schoenfeld).
414 2007-03-27 Tor Lillqvist <tml@novell.com>
416 * modules/input/Makefile.am: Use LDADDS for im-multipress.la, too:
418 2007-03-26 Christian Persch <chpe@gnome.org>
420 * gtk/gtkrc.c: (gtk_rc_context_get): Initialise variable. Bug #423064.
422 2007-03-24 Kristian Rietveld <kris@gtk.org>
424 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
425 calculate the depth with the corrected real_cell_area and don't
426 subtract horizontal_separator/2.
428 2007-03-24 Andreas Nilsson <andreas@andreasn.se>
431 * gtk-no: More Tango love.
433 2007-03-23 Jakub Steiner <jimmac@ximian.com>
435 * gtk-dialog-authentication.svg
436 * gtk-dialog-error.svg
437 * gtk-dialog-info.svg
438 * gtk-dialog-question.svg
439 * gtk-dialog-warning.svg: Start with a Tango face-lift.
441 2007-03-23 Rodney Dawes <dobey@novell.com>
443 * gtk/gtkicontheme.c: Fix a couple of comment typos (#421627)
445 2007-03-23 Matthias Clasen <mclasen@redhat.com>
447 * gtk/gtkfilechooserdefault.c: Add a keybinding (C-h) to
448 toggle whether to show hidden files. (#344657,
449 Wouter Bolsterlee, Priit Laes, et al)
451 2007-03-23 Matthias Clasen <mclasen@redhat.com>
453 * gtk/gtkfilechooserdefault.c: Add a keybinding (C-l) to
454 toggle the visibility of the location entry. (#383354,
455 John Pye, patch by Carlos Garnacho)
457 2007-03-22 Matthias Clasen <mclasen@redhat.com>
459 * gtk/gtksettings.c (merge_color_scheme): Freeze property
461 * gtk/gtksettings.c (_gtk_settings_handle_event): Handle
462 the gtk-color-scheme xsetting being unset.
464 * gtk/gtkrc.c (gtk_rc_reparse_all_for_settings): Handle
467 2007-03-21 Matthias Clasen <mclasen@redhat.com>
469 * gtk/gtkprintoperation-unix.c: Remove leftover debug spew.
471 2007-03-21 Rodney Dawes <dobey@novell.com>
474 * gtk/gtkicontheme.[ch]:
475 * docs/reference/gtk/gtk-sections.txt:
476 * tests/testicontheme.c:
477 Add a new API call gtk_icon_theme_list_contexts so that one can
478 choose icons from a theme by context (#420719)
480 2007-03-21 Ross Burton <ross@burtonini.com>
483 Document the ::event signal (#420703).
485 2007-03-20 Kristian Rietveld <kris@gtk.org>
487 * gtk/gtktreeviewcolumn.c:
488 * gtk/gtktreeprivate.h: add _gtk_tree_view_column_get_focus_area().
490 * gtk/gtktreeview.c (gtk_tree_view_clamp_column_visible): add
491 focus_to_cell parameter, rework to handle clamping columns which
492 are bigger than the available page size better,
493 (gtk_tree_view_key_press): remove code handling moving the focus
494 to other column headers,
495 (gtk_tree_view_header_focus): add clamp_column_visible parameter,
496 fix RTL support, don't wrap around when moving focus to other
497 column headers, call gtk_tree_view_clamp_column_visible() instead
499 (gtk_tree_view_focus): only clamp the column visible when we are
500 explicitly moving to another column header (fixes #399555, Charles
502 (gtk_tree_view_move_cursor_left_right): update call to
503 gtk_tree_view_clamp_column_visible().
505 2007-03-19 Matthias Clasen <mclasen@redhat.com>
507 * demos/gtk-demo/appwindow.c: Explicitly set the title on the
510 2007-03-18 Matthias Clasen <mclasen@redhat.com>
512 * gtk/gtkentrycompletion.c (gtk_entry_completion_compute_prefix):
513 Ensure that the prefix is valid UTF-8. (#419568, Nickolay V. Shmyrev)
515 2007-03-18 Matthias Clasen <mclasen@redhat.com>
517 * modules/input/gtkimcontextmultipress.[hc]:
518 * modules/input/im-multipress.conf:
519 * modules/input/immultipress.c:
520 * modules/input/README.multipress: Add the multipress input
521 method. (#417446, Johannes Schmid, Murray Cumming)
523 * modules/input/Makefile.am: Glue
525 2007-03-17 Chris Wilson <chris@chris-wilson.co.uk>
527 * gdk/x11/gdkvisual-x11.c (_gdk_visual_init):
528 Initialise nxvisuals to 0 in order to handle XGetVisualInfo()
529 failures gracefully. (#419171)
531 2007-03-17 Emmanuele Bassi <ebassi@gnome.org>
533 * gtk/gtkrecentaction.c (recent_chooser_set_property),
534 (gtk_recent_action_set_property): Remove useless inlined
535 function and propagate the properties to the GtkRecentChooser
536 objects we create, instead of all the proxies.
538 (set_current_filter): Remove 'inline' marker.
540 2007-03-16 Emmanuele Bassi <ebassi@gnome.org>
542 Apply changes suggested by Michael Natterer. (#338843)
545 * gtk/gtkaction.c: Rename get_submenu() to create_menu();
546 rename gtk_action_get_submenu() to gtk_action_create_menu().
548 * gtk/gtkrecentaction.c: Update for GtkAction change.
550 * gtk/gtkuimanager.c (update_node): Update for GtkAction change;
551 also, use the menu from the GtkAction for both menuitem and
554 2007-03-16 Xan Lopez <xan@gnome.org>
556 * gtk/gtkwidget.c: Fix documentation error in
557 gtk_widget_set_redraw_on_allocate.
559 2007-03-16 Matthias Clasen <mclasen@redhat.com>
561 * gtk/gtkprintunixdialog.c (printer_added_cb): Scroll to
562 make the selected printer visible. (#418403, Nickolay V. Shmyrev,
563 patch by Christian Persch)
565 2007-03-15 Federico Mena Quintero <federico@novell.com>
567 Merged from gtk-2-10:
569 * gtk/gtkfilechooserdefault.c (find_good_size_from_style):
570 PANGO_PIXELS() gives us device units, which are *points* in
571 pangocairo's parlance, but we want actual pixels. So, get the
572 screen's resolution to compute the actual number of pixels.
575 2007-03-15 Emmanuele Bassi <ebassi@gnome.org>
577 * gtk/gtkrecentmanager.c (gtk_recent_manager_add_item): Remove
578 unused GError; do not allocate GtkRecentData and use a variable
579 on the stack. (#418673, Morten Welinder)
581 2007-03-15 Emmanuele Bassi <ebassi@gnome.org>
583 * gtk/gtkaction.[ch]: Add GtkActionClass::get_submenu() vfunc:
584 actions providing a menu item or a menu tool button with already
585 a submenu should return the GtkMenu widget.
587 * gtk/gtkuimanager.c (update_node): If an action provides its
588 own submenu, use it instead of adding an empty one
590 * gtk/gtkrecentaction.[ch]: Add GtkRecentAction, an action
591 implementing the GtkRecentChooser interface for displaying the
592 list of recently used files into menus and toolbars generated
593 using GtkUIManager. (#338843)
597 * gtk/gtk.symbols: Add GtkRecentAction API to the build.
599 * tests/testactions.c: Exercise the GtkRecentAction API.
601 2007-03-15 Chris Wilson <chris@chris-wilson.co.uk>
603 * gtk/gtkicontheme.c (ensure_valid_themes), (rescan_themes),
604 (gtk_icon_theme_rescan_if_needed): Protect ensure_valid_themes()
605 from recursion, which can happen for example if the app tries to
606 reload an icon from within a theme-changed handler. (#418531)
608 2007-03-15 Richard Hult <richard@imendio.com>
610 * gdk/quartz/gdkmain-quartz.c: Add stubs for
611 gdk_notify_startup_complete_with_id and gdk_window_set_startup_id
614 2007-03-15 Emmanuele Bassi <ebassi@gnome.org>
616 * gtk/gtkrecentmanager.c: Fix documentation errors. (Morten
619 2007-03-15 Tor Lillqvist <tml@novell.com>
621 * gdk/gdk.symbols: Add gdk_notify_startup_complete_with_id and
622 gdk_window_set_startup_id.
624 * gdk/win32/gdkmain-win32.c: Add dummy implementations of the above.
626 2007-03-15 Emmanuele Bassi <ebassi@gnome.org>
628 * gtk/gtkrecentchooserprivate.h:
629 * gtk/gtkrecentchooserutils.c: Move filtering of the recent
630 files list into the shared implementation; do the filtering
631 before the sorting, so that we always clamp on the desired
634 * gtk/gtkrecentchoosermenu.c: Remove the filtering of the
635 list, as it's already been done.
637 * gtk/gtkrecentchooserdefault.c: Ditto; also remove the
638 GtkTreeModelFilter: just reload the view if the sorting and
639 filtering properties change.
641 * gtk/testrecentchoosermenu.c: Exercise the limit property.
643 2007-03-14 Michael Natterer <mitch@imendio.com>
645 Make gtk_widget_set_extension_events() work on already realized
646 widgets (bug #379550, Tommi Komulainen)
648 * gdk/x11/gdkinput.c (gdk_input_set_extension_events): allow to be
649 called multiple times without leaking and work correctly when
650 already realized (don't rely on a configure event following).
652 * gtk/gtkwidget.c (gtk_widget_set_extension_events_internal): new
653 internal function which walks the GdkWindow tree and sets the
654 extension events on all windows that belong to the widget.
657 (gtk_widget_set_extension_events): use the new function.
659 2007-03-14 Emmanuele Bassi <ebassi@gnome.org>
661 Various clean ups in the GtkRecent code. (see #338843)
663 * gtk/gtkrecentchooserdefault.c:
664 * gtk/gtkrecentchoosermenu.c:
665 * gtk/gtkrecentchooserprivate.h:
666 * gtk/gtkrecentchooserutils.c: Move the recent chooser function
667 for getting the sorted and clamped list of recent files from the
668 manager outside the implementations.
670 * gtk/gtkrecentchooserdefault.c (chooser_set_sort_type): Repopulate
671 the list when the sorting order changes.
673 (gtk_recent_chooser_default_dispose),
674 (gtk_recent_chooser_default_finalize): Move object unref and
675 source removal from finalize to dispose.
677 * gtk/gtkrecentchooser.c (gtk_recent_chooser_type_init): Relax the
678 prerequisite for the GtkRecentChooser interface implementations,
679 from GtkObject to GObject.
681 (gtk_recent_chooser_class_init): Use GTK_PARAM_* instead of
684 2007-03-13 Emmanuele Bassi <ebassi@gnome.org>
686 Apply patch by Vytautas Liuolia for changing the startup
687 notification id on a window in the X11 backend. (#347375)
691 * gdk/x11/gdkdisplay-x11.c: Add gdk_notify_startup_complete_with_id()
692 and gdk_x11_display_get_startup_notification_id().
695 * gdk/x11/gdkwindow-x11.c: Add gdk_window_set_startup_id().
698 * gtk/gtkwindow.c: Add gtk_window_set_startup_id(), used to
699 change the startup notification id.
701 (gtk_window_class_init), (gtk_window_init),
702 (gtk_window_set_property): Add write-only "startup-id" property
705 (gtk_window_realize): Set the startup notification id
706 on a GtkWindow if it's valid.
708 (gtk_window_map): If we have another valid startup notification
709 id then finish the notification process.
711 2007-03-13 Matthias Clasen <mclasen@redhat.com>
713 * gtk/gtknotebook.c (gtk_notebook_real_insert_page):
714 Fix tabbed browsing in epiphany. (#413664, Christian Persch)
716 2007-03-12 Matthias Clasen <mclasen@redhat.com>
718 * gtk/gtksizegroup.c (gtk_size_group_add_widget): Clarify
719 docs. (#345844, Torsten Schoenfeld)
721 * gdk/x11/gdkevents-x11.c (gdk_display_add_client_message_filter):
722 * gdk/gdkwindow.c (gdk_window_add_filter): Add
723 cross-references. (#351252, Vincent Untz)
725 * gtk/gtkprintoperation.c: Fix an oversight in an
726 example. (#381083, Ian Puleston)
728 * gtk/gtkcombobox.c: Clean up and clarify docs. (#412484)
730 2007-03-12 Matthias Clasen <mclasen@redhat.com>
732 * gtk/gtkspinbutton.c (gtk_spin_button_style_set): Set
733 the background of the panel window on style changes. (#402144,
736 2007-03-12 Matthias Clasen <mclasen@redhat.com>
738 * gtk/gtkbindings.c (gtk_binding_entry_add_signal): Remove
739 an obsolete comment. (#402169, Xan Lopez)
741 2007-03-12 Matthias Clasen <mclasen@redhat.com>
743 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_property):
744 Don't copy PangoLanguage. (#340031, Morten Welinder)
746 2007-03-12 Matthias Clasen <mclasen@redhat.com>
748 * gtk/gtkfilechooserbutton.c (change_icon_theme_get_info_cb):
749 Handle the row reference path being NULL. (#410565, Joe Markus
750 Clarke, patch by Chris Wilson)
752 2007-03-11 Matthias Clasen <mclasen@redhat.com>
754 * tests/testiconview.c: Handle Menu key presses without
755 crash. (#385637, Christian Persch)
757 2007-03-11 Matthias Clasen <mclasen@redhat.com>
759 * gtk/gtktooltips.c (gtk_tooltips_get_info_from_tip_window):
760 Don't crash if active_tips_data is NULL. (#382904, Li Yuan)
762 2007-03-11 Matthias Clasen <mclasen@redhat.com>
764 * gtk/gtktextview.c (gtk_text_view_set_buffer): Set first_para_mark
765 to NULL. (#396805, Colin Leroy, patch by Mariano Suárez-Alvarez)
767 2007-03-12 Kristian Rietveld <kris@gtk.org>
769 * gtk/gtkfilechooserdefault.c (check_save_entry): immediately
770 bail out if current_folder is NULL. (#350988, lots of reporters,
771 modified patch by Jan Darmochwal).
773 2007-03-10 Kristian Rietveld <kris@gtk.org>
775 * gtk/gtktreeview.c (gtk_tree_view_search_dialog_hide): only
776 hide the search dialog and send focus events if the search dialog
777 is currently visible.
779 2007-03-10 Richard Hult <richard@imendio.com>
781 * gdk/quartz/gdkdrawable-quartz.c:
782 (gdk_quartz_ref_cairo_surface): Reuse the surface during its lifetime.
783 (gdk_quartz_drawable_get_context): Update for the new quartz cairo
784 surface API (#410442). Don't lock focus unless called outside of an
786 (gdk_quartz_drawable_release_context): Only flush the CG context and
787 unlock focus if called outside of expose.
788 (_gdk_quartz_drawable_finish): New function, used to free the cached
791 * gdk/quartz/gdkwindow-quartz.c:
792 (gdk_window_impl_quartz_begin_paint_region): A few small style changes.
793 (_gdk_window_impl_quartz_get_type): No need to make the type info
795 (gdk_window_quartz_process_all_updates): Move the autorelease pool
796 allocation and freeing outside the loop.
797 (_gdk_windowing_window_destroy): Finish the drawable.
798 (move_resize_window_internal): Small cleanup and remove comment.
800 * gdk/quartz/gdkpixmap-quartz.c: Finish the drawable.
802 2007-03-10 Richard Hult <richard@imendio.com>
804 * gdk/quartz/gdkprivate-quartz.h: Add missing function signature to fix
807 2007-03-10 Richard Hult <richard@imendio.com>
809 * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_get_name): Plug a leak.
811 2007-03-10 Richard Hult <richard@imendio.com>
813 * gdk/quartz/GdkQuartzView.c: Remove unneccesary exposure mask check.
815 2007-03-10 Richard Hult <richard@imendio.com>
817 * gdk/quartz/gdkevents-quartz.c: (gdk_screen_get_setting): Don't set
818 the font name here, leave that to themes, fixes #387508.
820 2007-03-10 Kristian Rietveld <kris@gtk.org>
822 * gtk/gtktreemodelsort.c (gtk_tree_model_sort_ref_node),
823 (gtk_tree_model_sort_real_unref_node): when (un)reffing an
824 element, also (un)ref its parent elements. (Fixes #364946,
825 reported by many, testcase by Andreas Koehler).
827 2007-03-10 Matthias Clasen <mclasen@redhat.com>
829 * gtk/gtkprintoperation-unix.c: Initialize the do_preview
830 field of PrintResponseData. (#396703, Christian Persch)
832 * tests/print-editor.c: Plug some leaks.
834 2007-03-09 Matthias Clasen <mclasen@redhat.com>
836 * gtk/gtktextview.c (gtk_text_view_end_selection_drag):
837 Get rid of the unused event argument. Update all callers.
839 * gtk/gtktextview.c (gtk_text_view_focus_out): Call
840 gtk_text_view_end_selection_drag. (#351671, Boyd Timothy)
842 2007-03-09 Matthias Clasen <mclasen@redhat.com>
844 * modules/input/gtkimcontextxim.c
845 (gtk_im_context_xim_filter_keypress): Don't commit
846 modifier-adorned characters. (#331369, #335796, Lin Ma
849 2007-03-09 Matthias Clasen <mclasen@redhat.com>
851 * Everywhere: Remove unnecessary NULL checks before
852 g_free(). (#369666, Morten Welinder, Djihed Afifi)
854 * configure.in: Check for ftw.h
856 2007-03-09 Matthias Clasen <mclasen@redhat.com>
858 * gtk/gtkfilesystemwin32.c (get_icon_path): Remove
859 C99isms. (#416525, Kazuki Iwamoto)
861 2007-03-09 Tor Lillqvist <tml@novell.com>
863 * README.win32: Update.
865 2007-03-08 Matthias Clasen <mclasen@redhat.com>
867 * gdk/x11/gdkasync.c (send_event_handler): Defer the callbacks
868 to an idle to avoid deadlock with xcb-ified libX11. (#413032,
871 2007-03-08 Matthias Clasen <mclasen@redhat.com>
873 * gtk/gtknotebook.c (gtk_notebook_real_insert_page):
874 Set child visibility to FALSE here; it will be turned
875 back on in switch_page. (#413664, Carlos Garnacho)
877 2007-03-08 Mathias Hasselmann <mathias.hasselmann@gmx.de>
879 * modules/engines/ms-windows/msw_style.c: Use proper border style
880 when drawing shadow of scrolled windows on Windows XP (#168326)
881 * modules/engines/ms-windows/xp_theme.c: Explicitly set size of
882 element_part_map array to ensure it always is large enough.
884 2007-03-08 Mathias Hasselmann <mathias.hasselmann@gmx.de>
886 * gtk/gtkcombobox.c: Add shadow-type style property, set shadow-type
887 property of GtkEntry accordingly, unify size-allocation of toggle
888 button (#411123, patch from Mathias Hasselmann).
889 * gtk/gtkentry.c: Add shadow-type property. Query style properties
890 on style changes only (#411123, patch from Mathias Hasselmann).
891 * modules/engines/ms-windows/msw_style.c: Drop combo_box_draw_box
892 hack as GtkComboBox emits drawing requests now (#411123, patch
893 from Mathias Hasselmann).
895 2007-03-08 Mathias Hasselmann <mathias.hasselmann@gmx.de>
897 * gtk/gtkscrolledindow.c: Improve look of GtkScrolledWindow on Windows
898 by implementing a scrollbars-within-bevel style property. (#168326)
900 2007-03-08 Mathias Hasselmann <mathias.hasselmann@gmx.de>
902 * gtk/gtkfilesystemwin32.c: Use Windows shell icons. Icons are
903 stored in the current theme with the name
904 "gtk-win32-shell-icon;PATH;INDEX". PATH and INDEX reference shell
905 icons as reported by SHGetFileInfoW. (#412221)
907 2007-03-07 Matthias Clasen <mclasen@redhat.com>
909 * gtk/gtkexpander.c (gtk_expander_paint_focus): Draw the
910 focus around the arrow if there is no label widget.
911 (#124045, Cody Russell)
913 2007-03-07 Matthias Clasen <mclasen@redhat.com>
915 * gtk/gtkcombo.c: (gtk_combo_init):
916 * gtk/gtkcombobox.c: (gtk_combo_box_set_popup_widget),
917 (gtk_combo_box_menu_setup):
918 Set names on the popup widgets to make them themable. (#414975,
921 2007-03-07 Michael Natterer <mitch@imendio.com>
923 * gtk/gtkcellrendereraccel.c: use multihead safe ungrab functions
924 instead of gdk_keyboard_ungrab() and gdk_pointer_ungrab(), remove
925 empty finalize() implementation, some cosmetic cleanup
928 2007-03-06 Chris Wilson <chris@chris-wilson.co.uk>
930 * gtk/gtkicontheme.c (update_current_theme), (gtk_icon_theme_init),
931 (do_theme_change), (gtk_icon_theme_set_custom_theme),
933 Be careful not to trigger a style reset before we have loaded
934 the icon theme. (#414875).
936 2007-03-06 Tor Lillqvist <tml@novell.com>
939 * gtk/Makefile.am: Further fixes for building on Win32 outside
940 srcdir. (#413492, Mathias Hasselmann)
942 2007-03-04 Ihar Hrachyshka <iharh@gnome.org>
944 * configure.in: Added be@latin to ALL_LINGUAS. Problems seems to be
947 2007-03-04 Claudio Saavedra <csaavedra@alumnos.utalca.cl>
949 * configure.in: Removed be@latin from ALL_LINGUAS, as it's currently
952 2007-03-04 Ihar Hrachyshka <iharh@gnome.org>
954 * configure.in: Added be@latin to ALL_LINGUAS
956 2007-03-03 Guillaume Savaton <llumeao@gmail.com>
958 * configure.in: Added Esperanto (eo) to ALL_LINGUAS
960 2007-03-01 Matthias Clasen <mclasen@redhat.com>
962 * gtk/gtksettings.c: Always store gtk-color-scheme
963 values from all sources in the ColorSchemeData struct
964 and ignore the property_value for gtk-color-scheme.
965 This fixes #412596, reported by Thomas Wood.
967 2007-02-28 Matthias Clasen <mclasen@redhat.com>
969 * gtk/gtksettings.c: Make color scheme update properly
970 when changing themes. (#402131, Benjamin Berg)
972 2007-02-28 Matthias Clasen <mclasen@redhat.com>
974 * gtk/gtkrc.c: Don't leak references to the color-hash
975 gotten from GtkSettings. (#409357, Benjamin Berg)
977 2007-02-28 Tristan Van Berkom <tvb@gnome.org>
979 * gtk/gtkradiobutton.c: Fixed a warning from
980 g_object_set (radiobutton, "group", NULL, NULL).
982 2007-02-26 Matthias Clasen <mclasen@redhat.com>
984 Apply a patch by Carlos Garnacho to fix several problems
985 with filechooser size handling (#325477, #151169, 143213,
988 * gtk/gtkfilechooserdefault.c: Increase NUM_LINES slightly.
989 (browse_widgets_create): Don't force the paned position to 200.
990 (find_good_size_from_style): Take the size of the extra widget
993 * gtk/gtkfilechooserdialog.c (file_chooser_widget_update_hints):
994 Accept a minimal width parameter. Update all callers.
996 2007-02-26 Matthias Clasen <mclasen@redhat.com>
998 * gtk/gtkprintunixdialog.c: Change the label to "Pages per side",
999 which is more accurate, suggested by Tim Waugh. String change!
1001 2007-02-26 Matthias Clasen <mclasen@redhat.com>
1003 * gtk/gtkprinteroptionwidget.c: Make the folder selection for
1004 print-to-file work. Reported by Ian Collier.
1006 2007-02-26 Chris Wilson <chris@chris-wilson.co.uk>
1008 Bug 409101 – invalid read to gtkicontheme.c insert_theme(), might cause gnome-panel crash
1010 * gtk/gtkicontheme.c: (scan_directory):
1011 Reorder the replacement of the shared base_name key, so that we
1012 avoid dereferencing the string in the icon_theme->all_icon
1013 hash table after freeing it from the dir->icons hash table.
1015 2007-02-26 Tor Lillqvist <tml@novell.com>
1017 * gdk/win32/gdkwindow-win32.c (gdk_window_set_icon_name): Add
1018 comment clarifying that "icon name" here is not related to the
1019 freedesktop.org icon naming stuff.
1021 2007-02-23 Dom Lachowicz <domlachowicz@gmail.com>
1023 * modules/engines/ms-windows/msw_style.c: Bug 411118 - bad bevel for
1024 progress bar on windows classic. Match from Mathias Hasselmann.
1026 2007-02-19 Tor Lillqvist <tml@novell.com>
1028 * gdk/win32/gdkinput.c
1029 (gdk_device_finalize, gdk_device_class_init): Remove.
1030 (gdk_device_get_type): Drop class init function. The X11 version
1031 doesn't have one either.
1032 (gdk_devices_list): Call gdk_display_list_devices() on _gdk_display.
1033 (gdk_display_list_devices): Check that the argument is
1036 * gdk/win32/gdkinput-win32.h (GdkAxisInfo, GdkDevicePrivate):
1037 Cleanup: remove unused fields.
1038 * gdk/win32/gdkinput-win32.c: Corresponding changes. Fix function
1039 names in a few debugging printouts.
1041 2007-02-18 Matthias Clasen <mclasen@redhat.com>
1043 * gtk/gtktextlayout.c (gtk_text_layout_move_iter_visually):
1044 Ignore invisible text when going to end of the previous line.
1047 2007-02-18 Richard Hult <richard@imendio.com>
1049 * gdk/quartz/gdkwindow-quartz.c:
1050 (gdk_window_quartz_process_all_updates),
1051 (_gdk_windowing_window_destroy): Setup release pools to plug two leaks,
1052 patch from Erik van Pienbroek, fixes bug #396649.
1054 2007-02-18 Richard Hult <richard@imendio.com>
1056 * gdk/quartz/gdkevents-quartz.c: Add stub for
1057 gdk_display_add_client_message_filter, patch from Taybin Rutkin. Fixes
1060 * gdk/quartz/gdkprivate-quartz.h: Add prototypes to fix build warnings.
1062 2007-02-18 Richard Hult <richard@imendio.com>
1064 * gdk/quartz/GdkQuartzView.h:
1065 * gdk/quartz/GdkQuartzWindow.h:
1066 * gdk/quartz/gdkquartz.h: Import AppKit.h instead of Quartz.h.
1067 * gdk/quartz/gdkscreen-quartz.c: (get_mm_from_pixels): Don't use
1068 userSpaceScaleFactor for 10.3. Those changes bring us closer to working
1069 on panther, patch from Mathias Hasselmann.
1071 * gdk/quartz/gdkeventloop-quartz.c: Add includes to fix build warnings.
1073 2007-02-16 Behdad Esfahbod <behdad@gnome.org>
1075 * gdk/gdkpango.c (gdk_pango_layout_get_clip_region): Use PANGO_PIXELS
1076 instead of division. (#334617)
1078 2007-02-16 Kristian Rietveld <kris@gtk.org>
1080 * gtk/gtktreeprivate.h: add cursor_offset field.
1082 * gtk/gtktreeview.c (gtk_tree_view_init),
1083 (gtk_tree_view_move_cursor_page_up_down): fix off by one error
1084 in page up/down handling by memorizing the offset into the cursor
1085 row. (Fixes #399809, reported by Bruce Bowler).
1087 2007-02-16 Kristian Rietveld <kris@gtk.org>
1089 * gtk/gtktreeview.c (gtk_tree_view_search_dialog_hide): send
1090 a focus-in event to the tree view after hiding the search dialog.
1091 (#356515, Rich Burridge, Peter Parente).
1093 2007-02-16 Kristian Rietveld <kris@imendio.com>
1095 * tests/testtooltips.c (query_tooltip_text_view_cb): also handle
1096 keyboard tooltips. (#408325, Matthias Clasen).
1098 2007-02-16 Xan Lopez <xan@gnome.org>
1100 * gtk/gtkcombobox.c (gtk_combo_box_expose_event): Cleanup the logic
1101 in expose event handler. Reviewed by Matthias Clasen, #406112
1103 2007-02-16 Matthias Clasen <mclasen@redhat.com>
1105 * gtk/gtkmain.c: Run pre_parse_hook only once. (#403139, Kjartan
1108 2007-02-15 Matthias Clasen <mclasen@redhat.com>
1110 * gdk/x11/gdmain-x11.c (_gdk_xgrab_check_button_event): Be more
1111 careful when checking for ButtonRelease events that end implicit
1112 grabs. (#386618, Christof Krüger)
1114 2007-02-15 Matthias Clasen <mclasen@redhat.com>
1116 * gtk/gtktextbtree.c (_gtk_text_btree_delete): Free the lines
1117 even if there are no views. (#408018, Albert Huang)
1119 2007-02-15 Cody Russell <bratsche@gnome.org>
1121 * gdk/win32/gdkevents-win32.c: Make sure we get enough main context
1122 iterations while we're resizing so that the window contents are resized
1123 more smoothly (#389765).
1125 * gdk/win32/gdkevents-win32.c: Fix flickering widgets when window contents
1126 are resized (#310522).
1128 2007-02-15 Matthias Clasen <mclasen@redhat.com>
1130 * gtk/updateiconcache.c: Handle symlinked .icon files
1131 intelligently; also avoid storing duplicate strings.
1133 2007-02-15 Michael Natterer <mitch@imendio.com>
1135 * gtk/gtkmenushell.c: remove two antique function typedefs that
1136 are probably obsolete for ages.
1138 2007-02-14 Stefan Kost <ensonic@users.sf.net>
1140 reviewed by: Matthias Clasen <mclasen@redhat.com>
1142 * configure.in: determine installation prefixes of dependent libs to
1143 crossreference docs (#407146).
1145 2007-02-14 Kristian Rietveld <kris@imendio.com>
1147 * gtk/gtktooltip.c (child_location_foreach): check return value
1148 of gtk_widget_translate_coordinates() so we cannot end up
1149 using uninitialized x, y values. (#407863, patch from Carlos
1152 2007-02-14 Kristian Rietveld <kris@imendio.com>
1154 * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_realize_button):
1155 use TREE_VIEW_DRAG_WIDTH/2 when calculating the drag window
1156 position instead of a hardcoded value. (Taken from maemo-gtk).
1158 2007-02-14 Michael Natterer <mitch@imendio.com>
1160 * gtk/gtkmenu.c (gtk_menu_motion_notify): don't forget to set the
1161 state of the synthesized GDK_ENTER_NOTIFY event. Fix taken from
1164 2007-02-13 Kristian Rietveld <kris@imendio.com>
1166 * gtk/gtktooltip.c (gtk_tooltip_hide_tooltip): stop any
1167 pending tooltip timeout. (Fixes #406110, Carlos Garnacho).
1169 2007-02-10 Emmanuele Bassi <ebassi@gnome.org>
1171 * gtk/gtkrecentchoosermenu.c: Fix the english of the comment;
1172 remove some type checking; use better variable naming for the
1173 internal menu item markers.
1175 2007-02-09 Emmanuele Bassi <ebassi@gnome.org>
1177 * gtk/gtkrecentchoosermenu.c: Add support for both prepending
1178 and appending custom menu items.
1180 (gtk_recent_chooser_menu_constructor): Add a placeholder menu
1181 item for the empty menu case, and for giving us a starting
1182 point for the recent items populating process.
1184 (gtk_recent_chooser_menu_insert_item),
1185 (gtk_recent_chooser_menu_dispose_items): Insert an item at
1186 the position following the placeholder (and find that position
1189 (idle_populate_func), (idle_populate_clean_up): Show the
1190 placeholder menu item, instead of creating one each time.
1192 (gtk_recent_chooser_menu_populate): Kill some indirections
1193 and hide the placeholder before populating the menu.
1195 (set_recent_manager): Remember to remove the idle population
1196 source if the manager changes.
1198 * tests/testrecentchoosermenu.c: Test the appending and
1199 prepending of the menu items to the recent chooser menu
1202 2007-02-08 Emmanuele Bassi <ebassi@gnome.org>
1204 * gtk/gtkrecentchoosermenu.c (idle_populate_func): Keep count
1205 of the displayed items to build the menu items mnemonic instead
1206 of the overall item count. (#377164)
1208 (idle_populate_clean_up): Append a menu item if all the items
1209 got filtered in the idle populate function. (#405696)
1211 * tests/Makefile.am:
1212 * tests/testrecentchoosermenu.c: Add a test for the
1213 GtkRecentChooserMenu widget.
1215 Thu Feb 8 13:07:08 2007 Tim Janik <timj@imendio.com>
1217 * applied patch from Xan Lopez which adds GTK_BUTTONBOX_CENTER to
1218 GtkButtonBox (bug #336159).
1221 * gtk/gtkvbbox.c, gtk/gtkhbbox.c, gtk/gtkbbox.c:
1222 support GTK_BUTTONBOX_CENTER.
1224 * tests/testbbox.c: new button box test, which allows testing of
1225 the various button box properties.
1227 * tests/testgtk.c: added GTK_BUTTONBOX_CENTER. to button box test.
1229 2007-02-07 Cody Russell <bratsche@gnome.org>
1231 * gdk/gdk.symbols: Add gdk_event_request_motions
1233 Wed Feb 7 19:03:28 2007 Tim Janik <timj@gtk.org>
1235 * gtk/gtkentry.c (gtk_entry_motion_notify): fixed motion request
1236 condition which was wrongly ported with my last commit.
1238 Tue Feb 6 15:53:59 2007 Tim Janik <timj@imendio.com>
1240 * gtk/gtktextview.c (gtk_text_view_motion_event):
1241 * gtk/gtkspinbutton.c (gtk_spin_button_motion_notify):
1242 * gtk/gtkaboutdialog.c (credits_motion_notify_event):
1243 * gtk/gtkhruler.c (gtk_hruler_motion_notify):
1244 * gtk/gtkvruler.c (gtk_vruler_motion_notify):
1245 * gtk/gtkentry.c (gtk_entry_motion_notify):
1246 * gtk/gtktooltip.c (_gtk_tooltip_handle_event):
1247 * gtk/gtkhsv.c (gtk_hsv_motion): call gdk_event_request_motions()
1248 for new motion events after receiving motion hints.
1250 * gdk/gdkevents.[hc]: added gdk_event_request_motions().
1252 2007-02-06 Kristian Rietveld <kris@imendio.com>
1254 * gtk/gtktooltip.c (find_topmost_widget_coords_from_event):
1255 remove unused get of has_tooltip.
1257 * tests/testtooltips.c (query_tooltip_tree_view_cb): use the
1258 portable g_snprintf instead of snprintf.
1260 2007-02-06 Michael Natterer <mitch@imendio.com>
1262 * gtk/gtktooltip.c (gtk_tooltip_finalize): chain up.
1264 (gtk_tooltip_show_tooltip): move variables and code to local
1265 scope. Fixes warnings about maybe uninitialized variables.
1267 2007-02-06 Kristian Rietveld <kris@imendio.com>
1273 * gtk/gtk.symbols: build system foo.
1275 * gtk/gtkmain.c (gtk_main_do_event): call tooltip event handler
1276 hook for appropriate events.
1278 * gtk/gtkmarshalers.list: add BOOLEAN:INT,INT,BOOLEAN,OBJECT.
1280 * gtk/gtkrc.c: add style for gtk-tooltip.
1282 * gtk/gtksettings.c (gtk_settings_class_init): make the
1283 different tooltip timeouts configurable.
1285 * gtk/gtkwidget.[ch]: add new properties, signals, make sure
1286 tooltips are hidden on unmap, destroy, update window event
1287 mask on realize, hook into focus change and show help
1290 * gtk/gtkwindow.h: move GtkWindow typdef to gtkwidget.h ...
1292 * gtk/gtktooltip.[ch]: new files.
1295 * tests/testtooltips.c: add test application.
1297 2007-02-05 Dom Lachowicz <domlachowicz@gmail.com>
1299 * modules/engines/ms-windows/msw_style.c: Fix bug 404506, caused
1300 by prematurely releasing a DC. By Hiroyuki Yamamoto
1301 * modules/engines/ms-windows/msw_style.c: Fix bug 403470 - leaking
1302 pixbufs when drawing rotated tabs. By Daniel Atallah
1304 2007-02-05 Michael Natterer <mitch@imendio.com>
1306 * gtk/gtksettings.c: add new boolean settings gtk-enable-accels
1307 and gtk-enable-mnemonics which enable/disable accelerators and
1308 mnemonics (bug #72375, based on a patch from Tommi Komulainen).
1310 * gtk/gtkwindow.c (gtk_window_activate_key)
1311 * gtk/gtkmenushell.c (gtk_menu_shell_key_press): don't invoke them
1312 if the resp. setting is FALSE.
1314 * gtk/gtkaccellabel.c (gtk_accel_label_refetch)
1315 * gtk/gtklabel.c (gtk_label_set_pattern_internal): don't display
1316 them if the setting is FALSE.
1318 * gtk/gtklabel.c: added signal connection to the screen's settings
1319 object and traverse all widgets on the screen when the setting
1320 changes. It's slightly ugly to also update GtkAccelLabels here,
1321 but less ugly than connecting and traversing all widgets twice.
1323 2007-02-05 Michael Natterer <mitch@imendio.com>
1325 * gtk/gtktextbuffer.h (enum GtkTextBufferTargetInfo): changed
1326 values from G_MAXUINT-0, -1, -2 to -1, -2, -3 so we stay within
1327 ansi C enum value limits. Fixes bug #46757.
1329 2007-02-03 Soren Sandmann <sandmann@daimi.au.dk>
1331 * gtk/gtksequence.[ch]: Remove these files since GSequence has
1332 been moved into GLib.
1334 * gtk/gtkliststore.c: Port to GSequence instead of GtkSequence.
1336 * configure.in: Require glib-2.13.0
1338 2007-02-04 Tor Lillqvist <tml@novell.com>
1340 * gdk/win32/gdkcursor-win32.c: Don't define BITMAPV5HEADER on
1341 mingw with w32api >= 3.8, which has it in wingdi.h. (#403896)
1343 2007-02-02 Kristian Rietveld <kris@gtk.org>
1345 * gtk/gtktreeview.c (gtk_tree_view_row_changed): remove unused
1346 style_get of vertical-separator. (#403165, Chris Wilson).
1348 2007-02-02 Christian Persch <chpe@svn.gnome.org>
1350 * gtk/gtkfilechoosersettings.c: (get_config_filename),
1351 (ensure_settings_read), (_gtk_file_chooser_settings_init),
1352 (_gtk_file_chooser_settings_set_show_hidden),
1353 (_gtk_file_chooser_settings_set_expand_folders),
1354 (_gtk_file_chooser_settings_save): Use a simple key file instead of a
1355 markup file. Bug #399592.
1357 2007-02-02 Mariano Suárez-Alvarez <mariano@gnome.org>
1359 * gtk/gtkcellrenderertext.c(gtk_cell_renderer_text_class_init):
1360 be a little more helpful with the docs on GtkCellRendererText:alignment.
1363 2007-02-01 Michael Natterer <mitch@imendio.com>
1365 * gtk/gtkmenu.c (gtk_menu_paint): pass &event->area to
1366 gtk_paint_box() calls.
1368 2007-02-01 Michael Natterer <mitch@imendio.com>
1370 * gtk/gtkmenu.c (gtk_menu_button_press)
1371 (gtk_menu_button_release)
1372 (gtk_menu_button_scroll): remove redundant and confusing
1373 if (GTK_IS_MENU (widget)) checks because "widget" is always a
1376 Thu Feb 1 12:22:06 2007 Tim Janik <timj@imendio.com>
1378 * gtk/gtkcombobox.c (gtk_combo_box_list_destroy): remove extra reference
1379 that gtkcombobox keeps on priv->popup_widget if it's a tree view.
1381 2007-01-31 Christian Persch <chpe@svn.gnome.org>
1383 * gtk/gtkaboutdialog.c: (update_credits_button_visibility),
1384 (gtk_about_dialog_set_authors), (gtk_about_dialog_set_documenters),
1385 (gtk_about_dialog_set_artists),
1386 (gtk_about_dialog_set_translator_credits): Hide the Credits button iff
1387 there are no credits to show. Bug #402806.
1389 2007-01-31 Tor Lillqvist <tml@novell.com>
1391 * gdk/win32/gdkinput-win32.c (print_cursor): New debugging
1393 (_gdk_input_wintab_init_check): Call it when debugging output is
1395 (_gdk_input_wintab_init_check): Skip duplicated cursors for Wacom
1396 tablets. The Wacom driver reports duplicated cursors with
1397 physid==0. Fix verified by Robert Ögren.
1399 2007-01-30 Felix Riemann <friemann@svn.gnome.org>
1401 * modules/printbackends/file/gtkprintbackendfile.c:
1402 (file_printer_get_options): Fix leaked string. Fixes bug #402565.
1404 2007-01-30 Matthias Clasen <mclasen@redhat.com>
1406 * gdk/x11/gdkwindow-x11.c (gdk_x11_window_move_to_current_desktop):
1407 (gdk_x11_window_set_user_time): Be more careful about toplevel
1408 possibly being NULL. (#402453, Sebastian Bacher)
1410 Tue Jan 30 12:09:56 2007 Tim Janik <timj@gtk.org>
1412 * gtk/gtksettings.c: cleaned up ::color-hash registration to not abuse
1413 class_n_properties and leave an uninitialized value array behind.
1415 2007-01-29 Michael Natterer <mitch@imendio.com>
1417 * gtk/gtkmenuitem.c (gtk_menu_item_select)
1418 (gtk_menu_item_deselect): queue a draw on the parent_menu_item of
1419 this menu item's menu, to enable themeing menu items depending on
1420 whether something is selected in their submenu (patch taken from
1423 2007-01-28 Matthias Clasen <mclasen@redhat.com>
1425 * gtk/gtktoolbar.c: Reinstate gtk_toolbar_content_new_compatibility()
1426 that was mistakenly "cleaned up" a while ago. Also
1427 revert a problematic change to the screen_changed
1428 handler. (#401598, Søren Sandmann)
1430 2007-01-28 Matthias Clasen <mclasen@redhat.com>
1432 * gtk/gtkframe.c (gtk_frame_size_allocation): Fix a
1433 problem with large y thickness. (#136592, Xan Lopez)
1435 2007-01-28 Matthias Clasen <mclasen@redhat.com>
1437 * gtk/gtkaction.c (gtk_action_new): Use canonical
1440 2007-01-27 Matthias Clasen <mclasen@redhat.com>
1442 * gtk/gtknotebook.c (gtk_notebook_draw_arrow):
1443 (gtk_notebook_draw_focus): Avoid some unnecessary
1444 gtk_widget_get_style() calls.
1446 2007-01-27 Matthias Clasen <mclasen@redhat.com>
1449 * gtk/gtktoolitem.c:
1450 * gtk/gtktoolbutton.c: Rearrange things so that setting
1451 multiple properties causes not more than a single
1452 reconstruction of the contents.
1454 * gtk/gtkaction.c (connect_proxy): Set all tool button
1455 properties in one go.
1457 2007-01-27 Matthias Clasen <mclasen@redhat.com>
1459 * gtk/gtkstatusicon.c:
1460 * gtk/gtktrayicon-x11.c: Fix GtkStatusIcon to not
1461 take up space on the panel if it is invisible. (340110, Christian
1464 * tests/teststatusicon.c:
1465 * tests/Makefile.am: Updates
1467 2007-01-27 Matthias Clasen <mclasen@redhat.com>
1471 * gtk/gtk.symbols: Add deprecation guards for gtk_rc_style_ref/unref
1472 and the old file selector. (#348256)
1474 2007-01-26 Matthias Clasen <mclasen@redhat.com>
1476 * gtk/gtkiconview.c: Documentation fixes (#400530, Anders Brander)
1478 2007-01-26 Matthias Clasen <mclasen@redhat.com>
1480 * gtk/updateiconcache.c: Check the mtime of all directories,
1481 not just the toplevel, if ftw() is available. (#331671, Behdad
1484 * configure.in: Check for ftw.h.
1486 2007-01-26 Michael Natterer <mitch@imendio.com>
1488 * modules/input/gtkimcontextxim.c (gtk_im_context_xim_finalize):
1489 destroy the XIM only if it exists. While the code does look safe
1490 in general, there can be corner cases where the "reconnecting"
1491 boolean being FALSE does not correspond to the XIM being
1492 allocated (fixes #329450, fix taken from maemo-gtk).
1494 Fri Jan 26 13:07:07 2007 Tim Janik <timj@imendio.com>
1496 * gtk/gtkstyle.c (draw_insertion_cursor): clamp cursor coordinates to
1497 window bounds (fix from Maemo Gtk).
1499 2007-01-26 Michael Natterer <mitch@imendio.com>
1501 * gtk/gtkentrycompletion.c (gtk_entry_completion_insert_prefix):
1502 only block/unblock completion->priv->insert_text_id if it is
1503 actually connected. While this can't happen the way GtkEntry
1504 itself uses the completion, it's still public API and should not
1505 blindly call functions that will spit warnings (fix taken from
1508 2007-01-25 Matthias Clasen <mclasen@redhat.com>
1510 * gdk/gdkwindow.c: Reduce locking overhead by not repeatedly getting
1511 the paintable iface.
1513 2007-01-24 Michael Natterer <mitch@imendio.com>
1515 * gtk/gtkwidget.c (gtk_widget_set_state): revert generic disabling
1516 of PRELIGHT state for the reasons given in bug #135666. Widget
1517 states are sometimes abused or otherwise used wrongly for historic
1518 reasons, causing this part of the patch to break e.g. menu items.
1520 2007-01-24 Roozbeh Pournader <roozbeh@farsiweb.info>
1522 * README: Remove mention of no-longer-existing PATCH
1523 keyword in bugzilla. (#396899)
1525 2007-01-23 Carlos Garcia Campos <carlosgc@gnome.org>
1527 * gtk/gtkpagesetup.c
1528 (gtk_page_setup_set_paper_size_and_default_margins): Fix memory leak.
1531 2007-01-22 Chris Wilson <chris@chris-wilson.co.uk>
1533 Bug 399314 – Add G_GNUC_WARN_UNUSED_RESULT to gtk_style_attach
1536 Cause gcc to issue a warning if the style returned from
1537 gtk_style_attach is not used. Failure to update
1538 widget->style causes some very difficult to reproduce bugs,
1539 eg Bug 353498 – crash in Terminal: changing icon theme.
1541 2007-01-19 Michael Emmel <mike.emmel@gmail.com>
1543 * gdk/directfb/gdkevents-directfb.c: added fixes for window
1544 crossing events frm Attilio Fiandrotti<attilio.fiandrotti@gmail.com>
1546 2007-01-19 Matthias Clasen <mclasen@redhat.com>
1548 * gtk/gtkcalendar.c: Fix build breakage.
1550 2007-01-19 Kristian Rietveld <kris@imendio.com>
1552 * gtk/gtktreeview.c (gtk_tree_view_motion_bin_window),
1553 (add_scroll_timeout), (gtk_tree_view_drag_motion): factor out
1554 add_scroll_timeout(). (taken from maemo-gtk).
1556 2007-01-18 Matthias Clasen <mclasen@redhat.com>
1558 * gtk/gtkcalendar.c: Fix problems with the initial
1559 focus in GtkCalendar. (#397783, Vincent Untz)
1561 2007-01-19 Robert Ögren <gtk@roboros.com>
1563 Fix for bug #143460 - missed tablet clicks on Windows
1565 * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check):
1566 Request absolute reporting of tablet button state, and cut down
1567 the packet queue size a bit.
1568 (_gdk_input_other_event): Change button state handling
1569 accordingly. Also drop the no longer necessary code that detects
1570 missed clicks/releases for button 1. The switch to absolute button
1571 state should prevent missed events for all buttons. Additionally,
1572 swap button 2 and 3.
1573 (_gdk_input_grab_pointer): Don't reset button_state, that will only
1574 cause a new press event as soon as the next tablet packet arrives.
1576 2007-01-19 Tor Lillqvist <tml@novell.com>
1578 Build Wintab support always on Windows. Don't require the Wintab
1581 * configure.in: Drop the --with-wintab option. Drop the
1582 HAVE_WINTAB feature test macro and Automake variable.
1585 * config.h.win32.in: Drop HAVE_WINTAB.
1587 * gdk/win32/gdkevents-win32.c
1588 * gdk/win32/gdkinput.c
1589 * gdk/win32/gdkinput-win32.h
1590 * gdk/win32/gdkinput-win32.c
1591 * gdk/win32/gdkmain-win32.c: Make HAVE_WINTAB ifdef blocks
1594 * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Try
1595 to load wintab32.dll dynamically here. If it is found look up the
1596 handful Wintab functions we use.
1597 (rest of file): Use these function pointers instead of calling the
1598 functions from wntab32x.lib. The code in wntab32x.lib did the same
1599 thing anyway: tried to load wintab32.dll, and looked up the
1600 addresses of the actual functions from it.
1603 * gdk/win32/Makefile.am: Drop the libwntab32x hacks.
1605 * gdk/win32/wintab.h
1606 * gdk/win32/pktdef.h: New files. Copied from the Wintab
1607 SDK. Copyright blurb says: "The text and information contained in
1608 this file may be freely used, copied, or distributed without
1609 compensation or licensing restrictions."
1611 * README.win32: Update a bit. Remove the text about the Wintab
1614 2007-01-18 Tor Lillqvist <tml@novell.com>
1616 * gdk-pixbuf/Makefile.am
1618 * gdk/win32/Makefile.am
1619 * gtk/Makefile.am: Fixes for building outside srcdir on
1620 Win32. (#336819, #340013) Drop distributing the handmade .la
1621 libtool wrapper for the wntab32x library. It's too much trouble
1622 making it work when building outside srcdir. Just link to the
1623 library direcly using -Wl,win32/libwntab32x.a.
1625 2007-01-18 Michael Natterer <mitch@imendio.com>
1627 * gtk/gtkcheckbutton.c
1632 * gtk/gtkviewport.c: pass more clip rectangles to gtk_paint_foo()
1633 functions. Based on a patch from maemo-gtk (bug #398023).
1635 2007-01-17 Tor Lillqvist <tml@novell.com>
1637 * gtk-zip.sh.in: Include also the COPYING file.
1639 2007-01-17 Matthias Clasen <mclasen@redhat.com>
1641 * modules/printbackends/cups/gtkprintbackendcups.c: Don't use
1642 httpGetFd() when building against cups 1.1
1644 2007-01-17 Tor Lillqvist <tml@novell.com>
1646 Proper fix for #396175:
1648 * gtk/gtkimmulticontext.c: Revert change by Hans Breuer below: Do
1649 include gtkprivate.h. On Win32 we do want to use the redefinition
1650 of GTK_LOCALEDIR as a call to the function _gtk_get_localedir().
1652 * gtk/gtkimmodule.c: Instead, correct the prefix also on
1653 simple_context_info.domain_dirname. Do the prefix corrections
1654 always on Win32, not just when GTK_LIBDIR is defined. i.e., until
1655 now they were done only in the autoconfiscated gcc builds. Hans
1656 needs to make sure GTK_LIBDIR and GTK_LOCALEDIR are defined also
1658 (correct_localedir_prefix): New function, like
1659 correct_libdir_prefix(), but for GTK_LOCALEDIR, in case
1660 GTK_LOCALEDIR is not a descendant of GTK_LIBDIR.
1661 (gtk_im_module_initialize): Thus call correct_localedir_prefix()
1662 on the domain_dirname instead of correct_libdir_prefix().
1663 (_gtk_im_module_list): Call correct_localedir_prefix() on
1664 simple_context_info.domain_dirname.
1666 2007-01-16 Matthias Clasen <mclasen@redhat.com>
1668 * gtk/gtkrange.c (range_grab_remove): Queue a redraw when the
1669 grab changes. (#396470, Benjamin Berg)
1671 2007-01-15 Emmanuele Bassi <ebassi@gnome.org>
1673 * gtk/gtkrecentchoosermenu.c: Ellipsize the menu items label
1674 if they grow too much. (#357303)
1676 2007-01-14 Matthias Clasen <mclasen@redhat.com>
1678 * gtk/gtkicontheme.c (theme_lookup_icon): When finding a matching
1679 non-scalable dir, keep going and look for a closer match.
1680 (#395830, Luca Ferretti)
1682 2007-01-14 Christian Persch <chpe@svn.gnome.org>
1684 * gtk/gtkclipboard.c: (gtk_clipboard_set_text),
1685 (gtk_clipboard_set_image): Use gtk_target_table_new_from_list and
1686 gtk_target_table_free instead of duplicating the code. Bug #396493.
1688 2007-01-13 Matthias Clasen <mclasen@redhat.com>
1690 * gtk/gtkuimanager.c: Don't crash if menu or toolbar
1691 positions can't be found. (#396161, Hans Breuer)
1693 2007-01-13 Matthias Clasen <mclasen@redhat.com>
1695 * gtk/gtkselection.c (_gtk_selection_request): Plug
1696 memory leaks. (#396160, Carlos Garcia Campos)
1698 2007-01-13 Matthias Clasen <mclasen@redhat.com>
1700 * configure.in: Link libgtk against Xfixes. (#396074,
1703 2007-01-13 Matthias Clasen <mclasen@redhat.com>
1705 * gtk/gtkradiobutton.c (gtk_radio_button_focus): Avoid
1706 a compiler warning. (#395045, Chris Wilson)
1708 2007-01-13 Hans Breuer <hans@breuer.org>
1710 * gtk/gtkprintoperation-win32.c : take the custom tab label from
1711 gtk_print_operation_set_custom_tab_label() into account (bug #390746).
1713 * gtk/gtkimmulticontext.c : don't include "gtkprivate.h" to avoid
1714 differing definitions of GTK_LOCALEDIR (bug #396175).
1716 * gtk/gtktreeview.c : use g_snprintf instead of snprintf, which is
1717 not available everywhere
1719 * gtk/makefile.msc.in : updated
1721 2007-01-12 Michael Natterer <mitch@imendio.com>
1723 * gtk/gtkentry.c (gtk_entry_button_press): don't add
1724 entry->scroll_offset to entry->drag_start_y. Fixes the entry
1725 starting drags after ridiculously small mouse movements.
1727 2007-01-11 Richard Hult <richard@imendio.com>
1729 * demos/gtk-demo/main.c: (load_file): Close the file after it's
1730 loaded (bug #395316).
1732 2007-01-11 Kjartan Maraas <kmaraas@gnome.org>
1734 * gtk/gtkfilesystemunix.c: (expand_tilde):
1735 Make a single tilde go to $HOME in the location entry.
1736 Patch from Yevgen Muntyan. Closes the gtk+ part of
1739 2007-01-10 Behdad Esfahbod <behdad@gnome.org>
1741 * gdk/gdkpango.c (gdk_draw_layout_with_colors):
1742 * gtk/gtklabel.c (gtk_label_size_request):
1743 Use pango_matrix_transform_rectangle(). (#340141)
1745 * configure.in: Bump pango requirement to 1.15.3.
1747 2007-01-10 Kristian Rietveld <kris@imendio.com>
1749 * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_init):
1750 refactor to initialize indicator_size to TOGGLE_WIDTH instead
1751 of the hardcoded value of 12.
1753 2007-01-09 Matthias Clasen <mclasen@redhat.com>
1755 * configure.in: Fix the directfb cairo test. (#394855,
1758 2007-01-09 Behdad Esfahbod <behdad@gnome.org>
1760 * configure.in: Fix comment for --with-included-loaders. That option
1761 affects builds with module loading enabled too.
1763 2006-01-08 Peter Teichman <peter@novell.com>
1765 * gtk/gtkfilechooserdefault.c:
1766 * gtk/gtkfilechooserprivate.h:
1767 * gtk/gtkfilechoosersettings.c:
1768 * gtk/gtkfilechoosersettings.h:
1769 Save the expanded state of the folder browser with the file
1770 chooser settings. Resolves the expander portions of (#153828,
1773 2007-01-08 Emmanuele Bassi <ebassi@gnome.org>
1775 * gtk/gtkrecentchoosermenu.c (gtk_recent_chooser_menu_create_item):
1776 Don't leak the icon pixbuf after setting it to the image menu
1777 item. Found by Paolo Borelli.
1779 2007-01-08 Matthias Clasen <mclasen@redhat.com>
1781 * gtk/gtktreemodel.c (gtk_tree_path_to_string): Don't
1782 corrupt memory when faced with paths with ridiculously
1783 large indices. Found by the GTKVTS test suite.
1785 2007-01-08 Matthias Clasen <mclasen@redhat.com>
1787 * gtk/gtkmodules.c (_gtk_modules_init): Set
1788 default_display_opened before loading modules. (#393102,
1791 2007-01-07 Matthias Clasen <mclasen@redhat.com>
1793 * gtk/gtktextview.c (gtk_text_view_set_border_window_size):
1794 Call text_window_realize() with the correct parameters.
1795 (#393813, Yevgen Muntyan)
1797 2007-01-07 Matthias Clasen <mclasen@redhat.com>
1799 * gtk/gtkstatusbar.c: Move docs inline, and expand them
1802 2007-01-06 Matthias Clasen <mclasen@redhat.com>
1804 * gtk/gtklabel.c: Make line wrapping work with width-chars
1805 and max-width-chars, and simplify the storage of wrap-width.
1806 (#322580, Itai Bar-Haim)
1808 2007-01-06 Tor Lillqvist <tml@novell.com>
1810 * gdk/win32/cursor.bdf: New file. Downloaded from
1811 freedesktop.org's webcvs. Slighly edited cursors "crosshair",
1812 "diamond_cross", "draft_large", "gobbler" and "target" to fix
1813 #392504. It is possible that the same end result could have been
1814 achieved by tweaking bdfcursor.c instead.
1816 * gdk/win32/bdfcursor.c: Add optional debugging output.
1818 * gdk/win32/xcursors.h: Regenerated.
1820 2007-01-05 Matthias Clasen <mclasen@redhat.com>
1822 * gtk/gtknotebook.c (gtk_notebook_set_menu_label_text): Left-align
1823 menu labels. (#393255, Michail Crayson)
1825 2007-01-05 Kristian Rietveld <kris@gtk.org>
1827 * gtk/gtktreeview.c (gtk_tree_view_dy_to_top_row): handle tree
1828 == NULL. (Fixes #392685, reported by Yevgen Muntyan).
1830 2007-01-05 Kristian Rietveld <kris@gtk.org>
1832 * gtk/gtktreeview.c (gtk_tree_view_row_changed): do allow to
1833 invalidate nodes if the tree view is not realized. (#363147,
1834 Carlos Garnacho, Miguel Cabrera).
1836 2007-01-05 Matthias Clasen <mclasen@redhat.com>
1838 * gtk/gtkmenu.c (gtk_menu_paint): Take the scroll arrow into
1839 account when drawing the background. (#393166, Benjamin Berg)
1841 2007-01-05 Behdad Esfahbod <behdad@gnome.org>
1843 * gtk/gtklabel.c (get_layout_location): Fix broken width computation,
1846 2007-01-05 Carlos Garnacho <carlosg@gnome.org>
1848 * gtk/gtknotebook.c (gtk_notebook_size_request): take into account
1849 both scroll arrows when calculating size request in GTK_POS_LEFT or
1850 GTK_POS_RIGHT notebooks. (#393124, reported by Christian Persch)
1852 2007-01-05 Michael Natterer <mitch@imendio.com>
1854 * gtk/gtkwindow.c (gtk_window_key_release_event): chain up to
1855 the right function (fix taken from maemo-gtk).
1857 2007-01-05 Behdad Esfahbod <behdad@gnome.org>
1860 * gdk/gdkpango.c (gdk_draw_layout_line_with_colors),
1861 (gdk_draw_layout_with_colors):
1862 * gdk/gdkwindow.c (gdk_window_draw_glyphs_transformed):
1863 Avoid overflow when converting coordinates to Pango units. (#332266,
1866 2007-01-04 Matthias Clasen <mclasen@redhat.com>
1868 * gtk/gtkcombobox.c (gtk_combo_box_popup): move set_cursor
1869 after realization of the popup window, so clamp node doesn't fail.
1870 (#346616, Tommi Komulainen, patch by Kristian Rietveld).
1872 2007-01-04 Behdad Esfahbod <behdad@gnome.org>
1874 * gtk/gtklabel.c (get_layout_location): Fix uninitialized width
1877 2007-01-04 Matthias Clasen <mclasen@redhat.com>
1880 * gdk-pixbuf/Makefile.am:
1882 * gdk/win32/rc/gdk.rc.in: Cross-compilation fixes.
1883 (#392646, Yevgen Muntyan)
1885 2007-01-04 Matthias Clasen <mclasen@redhat.com>
1887 * demos/gtk-demo/textscroll.c:
1888 * gtk/gtkhandlebox.c:
1889 * gtk/gtkcolorsel.c: Fix some compiler warnings.
1891 2007-01-03 Matthias Clasen <mclasen@redhat.com>
1893 * gtk/gtktextview.c: Rework the beep-on-uninserted-text
1894 by calling the input method regardless of editability,
1895 and beeping from the commit/preedit-changed handlers.
1896 (#390514, Yevgen Muntyan)
1898 2007-01-03 Matthias Clasen <mclasen@redhat.com>
1900 Fix #332604, reported by Joe Wreschnig, patch
1901 by Jan Arne Petersen and Behdad Esfahbod.
1903 * gtk/gtklabel.c (gtk_label_size_allocate): Only
1904 set the width of the layout when necessary.
1905 (get_layout_location): Use pango_layout_get_pixel_extents()
1906 instead of pango_layout_get_width().
1908 2007-01-03 Matthias Clasen <mclasen@redhat.com>
1910 * modules/printbackends/cups/gtkprintbackendcups.c
1911 (available_choices): Don't leak conflicts.
1913 * gtk/gtkprintoperation.c (gtk_print_operation_finalize):
1914 Don't leak the status string.
1916 2007-01-03 Matthias Clasen <mclasen@redhat.com>
1918 * gtk/gtkfilechooserdefault.c (update_chooser_entry):
1919 Exit early if we can't get file info - this happens
1920 if the iter points to the row where we are editing
1921 the name for a newly created folder. (#392191, Michael
1922 Partridge, patch by Kristian Rietveld)
1924 2007-01-03 Matthias Clasen <mclasen@redhat.com>
1927 * gdk/x11/*.c: Apply a patch by Chris Wilson to
1928 avoid spurious valgrind warnings from XSendEvent()
1931 * modules/printbackends/cups/gtkprintbackendcups.c: Close
1932 the http connection after getting the PPD.
1934 * gtk/gtkprinteroptionwidget.c (filesave_changed_cb):
1937 2007-01-03 Matthias Clasen <mclasen@redhat.com>
1939 * gtk/gtkassistant.c (remove_page): If the current page
1940 is removed, always pick a different one. (#392457,
1943 2007-01-03 Matthias Clasen <mclasen@redhat.com>
1945 * modules/printbackend/cups/*.c: Coding style cleanups.
1947 2007-01-03 Matthias Clasen <mclasen@redhat.com>
1949 * configure.in: Export SED to make sourcing of
1950 libtool work. Tighten up the directfb pkgconfig check.
1952 2007-01-03 Michael Natterer <mitch@imendio.com>
1954 * gtk/gtkstyle.c (option_menu_get_props)
1955 * gtk/gtkoptionmenu.c (gtk_option_menu_get_props): Use
1956 gtk_border_free when freeing borders.
1958 2007-01-03 Matthias Clasen <mclasen@redhat.com>
1960 * gtk/gtkentry.c (get_text_area_size): Work when the
1961 entry is not realized. (#392315, Yevgen Muntyan)
1963 * gtk/gtkentry.c (gtk_entry_queue_draw): Use
1964 GTK_WIDGET_DRAWABLE() here. (#392227, Chris Wilson)
1966 * gtk/gtkentry.c (cursor_blinks): Don't get settings
1967 unnecessarily. (#392227)
1969 2007-01-02 Matthias Clasen <mclasen@redhat.com>
1971 * gtk/gtkwindow.c (gtk_window_move_resize): Only process
1972 updates on the window at hand, not on all windows, to
1973 avoid violating resize/redraw ordering constraints.
1974 (#362406, Owen Taylor)
1976 2007-01-03 Kristian Rietveld <kris@gtk.org>
1978 * gtk/gtkcellrendererprogress.c
1979 (gtk_cell_renderer_progress_class_init): fix docs.
1981 2007-01-02 Matthias Clasen <mclasen@redhat.com>
1983 * gtk/updateiconcache.c: Include locale.h
1985 2007-01-02 Matthias Clasen <mclasen@redhat.com>
1987 * gtk/updateiconcache.c (main): Call setlocale().
1990 * gtk/gtkfilesystemunix.c:
1991 * gtk/gtkfilesystemwin32.c:
1992 * gtk/gtkfilechoosersettings.c:
1993 * gtk/updateiconcache.c: Consistently use folder instead of
1994 directory in translated messages. (#344584, Javier F. Serrador)
1996 2007-01-02 Matthias Clasen <mclasen@redhat.com>
1998 Try to fix #315732, reported by Luke Hutchinson:
2000 * gdk/x11/xsettings-client.[hc]:
2001 * gdk/x11/gdkdevents-x11.c: Don't assume that ref'ing a GdkWindow
2002 will guarantee that it can be looked up in the xid hash later.
2003 Also, use the nesting server grab function during the xsettings
2004 client initialization. Finally, make xsettings client not
2005 eat DestroyNotifys so that GDK can do its regular cleanup.
2007 2007-01-02 Michael Natterer <mitch@imendio.com>
2009 * gtk/gtkrange.c (gtk_range_scroll) (gtk_range_move_slider): beep
2010 when a keybinding didn't change adjustment->value.
2012 2007-01-02 Matthias Clasen <mclasen@redhat.com>
2014 * gtk/gtktextbuffer.c (gtk_text_view_key_press_event):
2015 Try harder not to beep on events which are not meant to
2016 insert stuff in the buffer. (#390514, Yevgen Muntyan)
2018 2007-01-02 Matthias Clasen <mclasen@redhat.com>
2020 * gtk/gtktextbufferrichtext.c: Small documentation fixes.
2022 2007-01-02 Matthias Clasen <mclasen@redhat.com>
2024 * gtk/gtkentry.c (get_text_area_size): Center in the frame.
2025 (#304482, Rob Staudinger, patch by Richard Stellingwerff)
2027 2007-01-02 Michael Emmel <mike.emmel@gmail.com>
2029 * gdkwindow-directfb.c: fixed leak of dfb resource on destroy
2031 2007-01-01 Matthias Clasen <mclasen@redhat.com>
2033 * gtk/gtkscrolledwindow.h:
2034 * gtk/gtkscrolledwindow.c: Only handle key bindings
2035 for scrolling if the scrollbars are visible.
2036 (#340135, Christian Persch)
2038 2007-01-01 Matthias Clasen <mclasen@redhat.com>
2040 * gtk/gtktextview.c (gtk_text_view_scroll_hpages):
2041 Don't segfault on horizontal scrolling.
2043 2007-01-01 Matthias Clasen <mclasen@redhat.com>
2045 * gtk/gtknotebook.h:
2046 * gtk/gtknotebook.c: Only handle key bindings for
2047 tab reordering if the tabs are shown and reorderable.
2048 (#390468, Yevgen Muntyan)
2050 * gtk/gtkmarshalers.list: Add required marshaler
2052 2007-01-01 Matthias Clasen <mclasen@redhat.com>
2054 * gtk/gtkcontainer.c (gtk_container_class_list_child_properties):
2055 Mention in the docs that the return value is
2056 NULL-terminated. (#383373, Christian Neumair)
2058 2007-01-01 Matthias Clasen <mclasen@redhat.com>
2060 * gtk/gtkicontheme.c (load_themes): Waste less time
2061 with non-directories. (#391725, Chris Wilson)
2063 2007-01-01 Matthias Clasen <mclasen@redhat.com>
2065 * gtk/gtkcellrendererprogress.c: Implement activity mode
2066 for GtkCellRendererProgress. (#377851, Brad Taylor)
2068 2007-01-01 Matthias Clasen <mclasen@redhat.com>
2070 Fix some IPP compliance issues. (#391523, Albrecht Dress)
2072 * modules/printbackends/cups/gtkcupsutils.c
2073 (gtk_cups_request_encode_option): Use IPP_TAG_JOB, not
2075 * modules/printbackends/cups/gtkprintbackendcups.c
2076 (gtk_print_backend_cups_print_stream): Don't add the
2077 requesting-user-name attribute a second time.
2079 2007-01-01 Matthias Clasen <mclasen@redhat.com>
2081 * gtk/gtkimcontextsimple.c: Fix en/em dash confusion. (#378462)
2083 2006-12-31 Emmanuele Bassi <ebassi@gnome.org>
2085 * gtk/gtkrecentchoosermenu.c (set_recent_manager): Use the
2086 right object when disconnecting from the GtkRecentManager::changed
2087 signal; save us a few indirections using a variable.
2089 2006-12-31 Emmanuele Bassi <ebassi@gnome.org>
2091 * gtk/gtkrecentchoosermenu.c: Move the signal and idle
2092 disconnections into the dispose function, as well as the
2093 object unrefs; reset every handler id and the
2094 pointers. (suggested by Paolo Borelli, #390873)
2096 2006-12-31 Matthias Clasen <mclasen@redhat.com>
2098 * gtk/gtkprintoperation-win32.c: Include windows.h (#391229,
2101 2006-12-30 Matthias Clasen <mclasen@redhat.com>
2103 * gtk/gtktextview.c (gtk_text_view_destroy): Remove the
2104 scroll timeout. (#390872, Yevgen Muntyan)
2106 2006-12-30 Matthias Clasen <mclasen@redhat.com>
2108 * gtk/gtkprintoperation-unix.c:
2109 * gtk/gtkprintbackend.c:
2110 * gtk/gtkfilechooserdefault.c:
2111 * gtk/gtksettings.c: Move a few settings to gtksettings.c
2112 to make sure they show up in the docs. (#365364, Christian
2115 2006-12-30 Matthias Clasen <mclasen@redhat.com>
2117 * gtk/gtkassistant.c: Redraw assistant on reallocate
2118 to avoid rendering glitches. (#343956, Christian
2119 Persch, Carlos Garnacho)
2121 2006-12-30 Matthias Clasen <mclasen@redhat.com>
2123 * gtk/gtkrange.c: Typo fix. (#352121, Clytie Siddall)
2125 2006-12-30 Matthias Clasen <mclasen@redhat.com>
2127 * gtk/gtkaction.c: Improve the docs of the "label"
2128 property. (#341730, Kristof Vansant)
2130 2006-12-30 Matthias Clasen <mclasen@redhat.com>
2132 * gtk/gtkwindow.c (gtk_window_compute_configure_request_size):
2133 Correctly handle min size. (#320465, Philipp Langdale)
2135 2006-12-30 Matthias Clasen <mclasen@redhat.com>
2137 * gtk/prop-editor.c: Implement editing of flags.
2139 2006-12-30 Matthias Clasen <mclasen@redhat.com>
2144 * gtk/gtkstatusbar.c:
2145 * gtk/gtktextview.c: Don't install cursors on insensitive
2146 widgets. (#358864, Jan Schampera)
2148 2006-12-29 Matthias Clasen <mclasen@redhat.com>
2150 * gtk/gtkrecentmanager.h:
2151 * gtk/gtkprintoperation.c: Fix doc typos. (#370909,
2154 * gtk/gtkstyle.c (gtk_style_attach): Clarify docs. (#353423,
2157 * gtk/gtkentry.c (blink_cb):
2158 * gtk/gtktextview.c (blink_cb): Don't die in an assertion
2159 if focus went missing. Just warn, clean up and continue.
2162 2006-12-29 Carlos Garnacho <carlosg@gnome.org>
2164 * gtk/gtknotebook.c (gtk_notebook_scroll): return if the widget that
2165 originally received the event is a notebook page. (#315440, reported
2168 2006-12-29 Matthias Clasen <mclasen@redhat.com>
2170 * gdk/gdkcolor.c (gdk_color_hash): Fix a typo. (#390613,
2173 2006-12-29 Matthias Clasen <mclasen@redhat.com>
2175 * tests/prop-editor.c: Display children of containers
2176 and cell renderers of cell layouts.
2179 * gtk/gtkcelllayout.[hc] (gtk_cell_layout_get_cells):
2180 New function to get the cell renderers of a cell layout.
2182 * gtk/gtktreeviewcolumn.c:
2183 * gtk/gtkcellview.c:
2184 * gtk/gtkiconview.c: Implement get_cells.
2186 2006-12-28 Matthias Clasen <mclasen@redhat.com>
2188 * gtk/gtkiconview.c: Use word wrapping by default, and
2189 center multiline labels. (#318763, Ross Burton)
2191 * gtk/gtkcellrenderertext.c (get_layout): Remove a special
2192 case for single-line layouts.
2194 2006-12-28 Matthias Clasen <mclasen@redhat.com>
2196 * gtk/gtkarrow.c: Fix a typo in the docs. (#390423,
2199 * gtk/gtkuimanager.c (update_node): Only use the results
2200 of find_menu/toolbar_position() if they succeed. May fix
2203 2006-12-28 Matthias Clasen <mclasen@redhat.com>
2205 * gdk/gdk.c: Fix some formatting errors in docs.
2207 2006-12-28 Tor Lillqvist <tml@novell.com>
2209 * gtk/gtkstatusicon.c (gtk_status_icon_finalize)
2210 (gtk_status_icon_update_image): Don't leak HICONs on
2211 Win32. (#364868, Hiroyuki Yamamoto)
2213 2006-12-28 Carlos Garnacho <carlosg@gnome.org>
2215 Make GtkNotebook able to drop detached tabs anywhere. Bug #360225.
2217 * gtk/gtkwidget.c (gtk_widget_class_init): add "drag-failed" signal.
2218 * gtk/gtkmarshalers.list: add new marshaler definition.
2219 * gtk/gtkenums.h: add GtkDragResult enum.
2221 * gtk/gtkdnd.c (gtk_drag_drop_finished): emit "drag-failed" if DND
2222 operation wasn't successful.
2223 (_gtk_drag_source_handle_event) (gtk_drag_drop)
2224 (gtk_drag_selection_get) (gtk_drag_cancel) (gtk_drag_key_cb)
2225 (gtk_drag_grab_broken_event_cb) (gtk_drag_grab_notify_cb)
2226 (gtk_drag_button_release_cb) (gtk_drag_abort_timeout): tell
2227 gtk_drag_drop_finished() the operation result.
2229 * gtk/gtknotebook.c (gtk_notebook_drag_failed): new function.
2230 (gtk_notebook_drag_data_get): do not call window creation hook here.
2231 (gtk_notebook_init): do not set "application/x-rootwindow-drop"
2232 target, instead connect to "drag-failed".
2233 (gtk_notebook_draw_focus): fix potential crasher if cur_page is NULL.
2235 2006-12-28 Mikael Hallendal <micke@imendio.com>
2237 * gdk/quartz/gdkevents-quartz.c: Factored out the event loop
2238 integration into gdkeventloop-quartz.c.
2240 * gdk/quartz/Makefile.am: Added gdkeventloop-quartz.c
2242 * gdk/quartz/gdkeventloop-quartz.c: New file containing the event loop
2245 2006-12-27 Matthias Clasen <mclasen@redhat.com>
2247 * modules/printbackends/lpr/gtkprintbackendlpr.c
2248 (gtk_print_backend_lpr_print_stream): Close the io channel
2249 on unref. (#390159, Joe Markus Clarke)
2251 2006-12-27 Matthias Clasen <mclasen@redhat.com>
2253 * gdk/gdk.h: Remove redundant declarations (#390097,
2256 2006-12-27 Kristian Rietveld <kris@gtk.org>
2258 Support inverting arrows via XSetting. (#377979, Yevgen Muntyan).
2260 * gtk/gtksettings.c (gtk_settings_class_init): add new setting
2261 gtk-alternative-sort-arrows.
2263 * gdk/win32/gdkproperty-win32.c (gdk_screen_get_setting): add
2266 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: set new
2267 gtk-alternative-sort-arrows setting to true.
2269 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
2270 invert direction if gtk-alternative-sort-arrows is TRUE.
2272 2006-12-27 Tor Lillqvist <tml@novell.com>
2274 * gtk/gtk.symbols: Add gtk_status_icon_get_screen and
2275 gtk_status_icon_set_screen.
2277 * gtk/gtkstatusicon.c: Implement gtk_status_icon_position_menu()
2278 on Windows. Keep track of where the last button click on the
2279 taskbar icon took place, and return that. Obviously not correct if
2280 no button has ever been clicked on the icon, or if the geometry of
2281 the taskbar has changed since. But for most use cases where a menu
2282 is going to be displayed as a direct result of a button click on
2283 the status icon, works fine. (#377349)
2285 Implement getting the orientation property on Windows.
2287 (gtk_status_icon_embedded_changed)
2288 (gtk_status_icon_orientation_changed): Ifdefify these functions
2289 that are used only on X11.
2291 2006-12-27 Tor Lillqvist <tml@novell.com>
2293 * gtk/gtkfilesystemwin32.c (execute_callbacks): Fix
2294 typo. (#390035, Kazuki Iwamoto)
2296 2006-12-27 Matthias Clasen <mclasen@redhat.com>
2298 * gtk/gtkcellview.c (gtk_cell_view_set_model): Accept NULL.
2300 * gtk/gtkcombobox.c (gtk_combo_box_set_model):
2301 (gtk_combo_box_unset_model): Handle repeated unsetting
2302 of models without warnings. (#367529, Robert Ancell)
2304 2006-12-27 Matthias Clasen <mclasen@redhat.com>
2306 * modules/printbackends/cups/gtkcupsutils.c:
2307 * modules/printbackends/cups/gtkprintbackendcups.c: Use
2308 getters for http fields where available. (#364866,
2311 2006-12-27 Matthias Clasen <mclasen@redhat.com>
2313 * gtk/gtkwidget.c (gtk_widget_show): Add a g_return_if_fail.
2314 (#362614, Xan Lopez)
2316 2006-12-27 Matthias Clasen <mclasen@redhat.com>
2318 * gtk/gtkuimanager.c (update_node): If a required action
2319 is missing, don't recurse over the children. (#349119,
2322 2006-12-27 Matthias Clasen <mclasen@redhat.com>
2324 Fix a few problems with nested menus in comboboxes
2325 (#386694, Yevgen Muntyan)
2327 * gtk/gtkcombobox.c (gtk_combo_box_menu_fill_level): Always
2328 connect the activate callback.
2329 (gtk_combo_box_menu_item_activate): Do nothing if called on
2330 an item with a submenu.
2331 (gtk_combo_box_menu_row_deleted): Remove a submenu when it
2334 2006-12-26 Mariano Suárez-Alvarez <mariano@gnome.org>
2336 * gtk/gtkfilechooserbuuton.[hc]: Add a file-set signal to the
2337 filechooser button. Bug 353196.
2339 2006-12-26 Kristian Rietveld <kris@gtk.org>
2341 * gtk/gtktreeview.c (gtk_tree_view_search_init): fix typo causing
2342 the search dialog timeout never to be refreshed. (#389581,
2343 Andrzej Szombierski).
2345 2006-12-26 Kristian Rietveld <kris@gtk.org>
2347 Lots of scrolling fixes. Made scrolling work properly in not fully
2348 validated tree views; fixed a bunch of corner cases.
2350 * gtk/gtktreeview.c (validate_visible_area): if a row's dy is past
2351 upper - page_size, we know it is located at the end so the test for
2352 dy + height has been dropped.
2353 In the same case if area_below < 0, we know this is the last node
2354 in the tree view so area_above is page_size - height of this row.
2355 (validate_visible_area): got rid of subtracting new_height -
2356 old_height from area_{below,above}, it didn't make any sense at
2357 all and the full height of the row should be subtracted instead.
2358 (validate_visible_area): when scrolling to a given path, set the
2359 top row directly together with the dy offset, then sync that top_row
2361 (gtk_tree_view_set_top_row): new function to directly set a top_row.
2362 (gtk_tree_view_dy_to_top_row): refactored to use
2363 gtk_tree_view_set_top_row().
2364 (gtk_tree_view_top_row_to_dy): make sure dy >= 0 when done.
2365 (gtk_tree_view_adjustment_changed): only update our dy and
2366 top_row if the adjustment's dy actually changed.
2368 2006-12-26 Christian Persch <chpe@cvs.gnome.org>
2370 * gtk/gtknotebook.c: (gtk_notebook_real_insert_page):
2371 Return the correct value from gtk_notebook_insert_page if the
2372 page-added handler reorders the tabs. Bug #345094.
2374 2006-12-26 Carlos Garnacho <carlosg@gnome.org>
2376 Fix small regressions in GtkNotebook tab detaching. Bug #378852.
2378 * gtk/gtknotebook.c (gtk_notebook_do_arrow): grab focus to allow tabs
2379 scrolling when hovering with a detached tab.
2380 (gtk_notebook_stop_reorder): Do not deparent the wrong tab if the
2381 focus tab has changed during a tab DND operation.
2382 (gtk_notebook_drag_end): ensure that the dropped tab gets focused.
2383 (gtk_notebook_paint): do not take cur_page as a reference to paint the
2384 box if it's detached.
2385 (gtk_notebook_calculate_tabs_allocation): focus_tab may be different
2386 to the detached tab if we hover the arrows during a tabs detaching
2387 operation, do not allocate it unconditionally in 0,0.
2389 2006-12-26 Carlos Garnacho <carlosg@gnome.org>
2391 Expose improvements for GtkNotebook. Bug #383435
2393 * gtk/gtknotebook.c (gtk_notebook_expose): propagate the event to tab
2395 (gtk_notebook_draw_focus): do not repaint the whole focused tab again.
2396 (gtk_notebook_draw_tab): do not send handmade expose events to tab
2399 2006-12-26 Matthias Clasen <mclasen@redhat.com>
2401 * gtk/gtkfilesystemunix.c (execute_callbacks): Return
2402 FALSE. (#389623, Carlos Garnacho Parro)
2404 * gtk/gtkrange.c (stop_scrolling): Avoid spurious
2407 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
2409 * gtk/gtkplug.c: (gtk_plug_construct_for_display),
2410 (gtk_plug_unrealize): Notify the "embedded" property also on
2411 normal construction and when destroying the socket window.
2414 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
2416 * gtk/gtkaboutdialog.c: (gtk_about_dialog_class_init),
2417 (gtk_about_dialog_init), (display_credits_dialog),
2418 (display_license_dialog):
2419 * gtk/gtkfilechooserdialog.c: (gtk_file_chooser_dialog_class_init),
2420 (gtk_file_chooser_dialog_init),
2421 (gtk_file_chooser_dialog_constructor),
2422 (gtk_file_chooser_dialog_unmap):
2423 * gtk/gtkrecentchooserdefault.c:
2424 (_gtk_recent_chooser_default_init):
2425 * gtk/gtkrecentchooserdialog.c:
2426 (gtk_recent_chooser_dialog_class_init),
2427 (gtk_recent_chooser_dialog_init),
2428 (gtk_recent_chooser_dialog_constructor),
2429 (gtk_recent_chooser_dialog_unmap): Set the HIG spacings directly
2430 instead of using style-set handlers. Fix the filechooser's spacing
2431 between content and action area to 12px. Bug #372447.
2433 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
2435 * gtk/gtkstatusbar.c: (gtk_statusbar_size_allocate):
2436 Don't assume statusbar->label is the statusbar's frame's child when
2437 shrinking the size allocation when the grip is shown. Bug #372452.
2439 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
2441 * gtk/gtkpagesetupunixdialog.c: (printer_status_cb),
2442 (add_custom_paper): Fix mem leaks. Bug #389194.
2444 2006-12-24 Matthias Clasen <mclasen@redhat.com>
2446 * gtk/gtktextutil.c: Remove debug output.
2448 * gtk/gtktextview.c: Improve the DND scrolling
2449 behaviour. (#92387, Carlos Garnacho Parro)
2451 * gtk/gtkaccellabel.c: Improve translators comments.
2452 (#389298, Christian Persch)
2454 2006-12-24 Bastien Nocera <hadess@hadess.net>
2456 * gtk/gtkrecentmanager.c: Fix typo (s/expansive/expensive)
2459 2006-12-24 Christian Persch <chpe@cvs.gnome.org>
2461 * docs/reference/gtk/gtk-sections.txt:
2463 * gtk/gtkpagesetupunixdialog.c: (fill_paper_sizes_from_printer):
2464 * gtk/gtkprinter-private.h:
2465 * gtk/gtkprinter.c: (gtk_printer_list_papers):
2466 * gtk/gtkprinter.h: Make gtk_printer_list_papers public. Bug #345587.
2468 2006-12-24 Carlos Garcia Campos <carlosgc@gnome.org>
2470 * gtk/gtkpagesetupunixdialog.c: Don't ignore reverse portrait option
2471 when is selected in page setup dialog. Fixes bug #365047.
2473 2006-12-24 Behdad Esfahbod <behdad@gnome.org>
2475 * gtk/gtkentry.c (_gtk_entry_effective_inner_border):
2476 Use gtk_border_free when freeing border.
2478 2006-12-24 Matthias Clasen <mclasen@redhat.com>
2480 * gtk/gtkentry.c (gtk_entry_button_press): When
2481 shift-clicking, keep the larger part of the selection
2482 selected. (#353709, Benjamin Otte)
2484 * gtk/gtkbutton.c (gtk_button_get_props): Use
2485 gtk_border_free when freeing borders.
2487 * gtk/gtkbutton.c (gtk_button_grab_notify): Be more
2488 careful when faking a button release. (#323146,
2491 * gtk/gtkhandlebox.c (draw_textured_frame): Draw the
2492 handle with the right orientation, depending on the
2493 position of the handlebox. (#159764, Benjamin Berg)
2495 2006-12-24 Behdad Esfahbod <behdad@gnome.org>
2497 * gtk/gtkstyle.c (gtk_border_copy), (gtk_border_free): Use gslice for
2498 GtkBorder (#383557).
2500 2006-12-24 Behdad Esfahbod <behdad@gnome.org>
2502 Bug 340141 – Update to Pango 1.16 API
2504 * gdk/gdkpango.c (layout_iter_get_line_clip_region),
2505 (gdk_pango_layout_line_get_clip_region):
2506 * gtk/gtkcalendar.c (gtk_calendar_size_request):
2507 * gtk/gtkentry.c (gtk_entry_get_pixel_ranges),
2508 (get_layout_position), (gtk_entry_find_position),
2509 (gtk_entry_adjust_scroll):
2510 * gtk/gtkiconview.c (get_pango_text_offsets):
2511 * gtk/gtklabel.c (get_cursor_direction):
2512 * gtk/gtkstyle.c (get_insensitive_layout):
2513 * gtk/gtktextdisplay.c (render_para):
2514 * gtk/gtktextlayout.c (allocate_child_widgets),
2515 (find_display_line_below), (find_display_line_above),
2516 (gtk_text_layout_move_iter_to_previous_line),
2517 (gtk_text_layout_move_iter_to_next_line),
2518 (gtk_text_layout_move_iter_to_line_end),
2519 (gtk_text_layout_iter_starts_line),
2520 (gtk_text_layout_move_iter_to_x):
2521 * gtk/gtktextutil.c (limit_layout_lines):
2522 Use the _readonly version of pango_layout_iter_get_line(),
2523 pango_layout_iter_get_run(), pango_layout_get_line(), and
2524 pango_layout_get_lines().
2526 * gtk/gtkmain.c (gtk_get_default_language): Use
2527 pango_get_default_language().
2529 2006-12-24 Matthias Clasen <mclasen@redhat.com>
2531 * gtk/gtkentry.c (gtk_entry_set_text): Emit changed
2532 and notify:text only once. The same fix was applied
2533 for replacing the selection via DND or copy-and-paste.
2534 (#64998, Damon Chaplin, Sven Herzberg)
2536 2006-12-23 Matthias Clasen <mclasen@redhat.com>
2538 * gtk/gtkimmulticontext.c: Be careful to not override
2539 GTK+ translations with the translations of the input
2540 method. (#317080, Tor Lillqvist)
2542 * modules/input/imcedilla.c: Use standard macros
2543 for translation domain and locale dir.
2545 * gtk/gtkimcontextsimple.c: Allow composing l with
2546 stroke. (#349638, Daniel Lublin)
2548 * gtk/gen-paper-names.c: Fix a thinko in the suffix
2549 calculation. (#382369, Christian Persch)
2551 * gtk/paper_names_offsets.c: Regenerated.
2553 2006-12-22 Matthias Clasen <mclasen@redhat.com>
2555 * modules/engines/pixbuf/pixbuf.h:
2556 * modules/engines/pixbuf/pixbuf-rc-style.h:
2557 * modules/engines/pixbuf/pixbuf-style.h: Move
2558 G_GNUC_INTERNAL before function declarations. (#352276,
2561 2006-12-22 Matthias Clasen <mclasen@redhat.com>
2563 * demos/gtk-demo/*.c: Fix some leaks. (#348108, Chris
2566 2006-12-22 Matthias Clasen <mclasen@redhat.com>
2568 * *.c: Replace a lot of idle and timeout calls by
2569 the new gdk_threads api.
2573 * gdk/gdk.c: Add functions to allow threadsafe handling
2574 of idles and timeouts wrt. to the GDK lock. (#321886,
2577 2006-12-22 Matthias Clasen <mclasen@redhat.com>
2579 * gdk/gdkpango.c: Use pango_cairo_show_error_underline.
2580 (#340141, Behdad Esfahbod)
2582 * configure.in: Check for getc_unlocked.
2584 * gtk/xdgmime/xdgmimemagic.c: Use getc if getc_unlocked is
2585 unavailable. (#381499)
2587 * tests/teststatusicon.c: Fix a typo
2589 2006-12-22 Matthias Clasen <mclasen@redhat.com>
2591 Make it possible to track the embeddedness of
2592 statusicon (#387215, Martyn Russell, patch by Christian
2595 * gtk/gtkstatusicon.c: Add orientation and embedded properties.
2597 * gtk/gtkplug-x11.c: Add an embedded property.
2598 * tests/teststatusicon.c: Test the new properties.
2600 * gtk/gtkwidget.c (gtk_widget_get_draw_rectangle): Don't
2601 leak draw_border. (#387170, Kjartan Maraas)
2603 2006-12-21 Matthias Clasen <mclasen@redhat.com>
2605 * gtk/gtkfilechooserembed.c (_gtk_file_chooser_embed_set_delegate()):
2606 Typo fix. (#388123, Murray Cumming)
2608 * gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event):
2609 Generate double-click events. (#380421, Tommi Komulainen)
2611 * gdk/x1/gdkinput-xfree.c (_gdk_input_configure_event):
2612 (_gdk_input_enter_event): Correct return_if_fail checks.
2613 (#379803, Tommi Komulainen)
2615 * gdk/gdkdisplay.c: Improve the docs of some functions operating
2616 on the default display. (##353438, Mariano Suárez-Alvarez)
2618 2006-12-21 Matthew Barnes <mbarnes@redhat.com>
2620 * docs/reference/gdk/gdk-sections.txt:
2621 * gdk/gdkcolor.[ch] (gdk_color_to_string): Add a function for
2622 converting a GdkColor to a string (#373856).
2624 * configure.in: Bump pango requirement to 1.15.2.
2626 2006-12-20 Matthias Clasen <mclasen@redhat.com>
2628 * gdk/keynames.txt: Mark arrow keys as translatable. (#369506,
2631 * gdk/keyname-table.h: Regenerated
2633 * gtk/gtktextbuffer.c: Add signal documentation. (#317064,
2634 Søren Wedel Nielsen)
2636 * gtk/gtktextview.c (gtk_text_view_start_selection_drag):
2637 Silently return if a drag is already in progress, rather
2638 than asserting. (#335622, Li Yuan, testcase by Erwann Chenede)
2640 * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_new_with_dialog):
2641 Allow any GtkDialog that implements GtkFileChooser as
2642 dialog. (#335473, Tommi Komulainen)
2644 2006-12-20 Mikael Hallendal <micke@imendio.com>
2646 * gtk/gtkstatusicon.c: (gtk_status_icon_init): Fixed a last minute
2647 change in the quartz backend.
2649 2006-12-20 Mikael Hallendal <micke@imendio.com>
2651 * gtk/Makefile.am: Added gtkstatusicon-quartz.c
2652 * gtk/gtkstatusicon-quartz.c: Implements the quartz backend for the
2654 * gtk/gtkstatusicon.c: Hooked in the new quartz backend. Bug #387874.
2656 2006-12-19 Matthias Clasen <mclasen@redhat.com>
2658 * gtk/gtkprintunixdialog.c: Add a tooltip explaining the
2659 format of page ranges, and improve the page sequence icon
2660 for the case of n_copies == 1.
2662 2006-12-19 Mikael Hallendal <micke@imendio.com>
2664 * gdk/quartz/gdkcursor-quartz.c: Splitted out the GdkPixbuf to NSImage
2665 routine so that it can be used from libgtk as well (needed for
2666 upcoming GtkStatusIcon support in the Quartz port).
2667 * gdk/quartz/gdkevents-quartz.c: Don't assume that all NSWindows are
2668 created from GDK, this is not true for the status icon.
2669 * gdk/quartz/gdkprivate-quartz.h:
2670 * gdk/quartz/gdkquartz.h: Added
2671 gdk_quartz_pixbuf_to_ns_image_libgtk_only so that it is available to
2672 the status icon code.
2674 2006-12-16 Tristan Van Berkom <tvb@gnome.org>
2676 * gtk/gtkmessagedialog.c: Added return_if_fail (image) to
2677 gtk_message_dialog_set_image ()
2679 * gtk/gtkscrolledwindow.c: Fixed a bug in set_property()
2680 (setting "window-placement-set" could result in a crash because
2681 of boolean/enum mixup)
2683 2006-12-15 Federico Mena Quintero <federico@novell.com>
2685 Merged from gtk-2-10:
2687 * gtk/gtkmenu.c (gtk_menu_set_title): Don't try to optimize for
2688 the case where the new title is the same as the old title, to
2689 preserve the behavior from GTK+ 2.8 (NULL and "" titles are not
2690 equivalent). Handle the case where title == priv->title. This
2691 was found by the LSB compatibility tests:
2692 https://bugzilla.novell.com/show_bug.cgi?id=223882
2694 2006-12-15 Dom Lachowicz <domlachowicz@gmail.com>
2696 * gtk/gtkcombobox.c: Make GtkComboBox in "appears-as-list" mode
2697 more closely resemble its Win32 counterpart. Bug #340204.
2699 2006-12-14 Carlos Garnacho <carlosg@gnome.org>
2701 * gtk/gtkcalendar.c: draw arrows pointing to the right correctly
2702 placed inside their GdkWindow. Bug #385672.
2704 2006-12-14 Christian Persch <chpe@cvs.gnome.org>
2706 * gtk/gtkiconview.c: Fix docs typo. Bug #385642.
2708 2006-12-13 Dom Lachowicz <domlachowicz@gmail.com>
2710 * src/modules/engines/ms-windows/msw_style.c: Bug 351679 - Notebooks
2711 drawn with extra line below tab in MS-Windows theme. Patch by
2714 2006-12-13 Matthias Clasen <mclasen@redhat.com>
2716 * gtk/Makefile.am: Add --unlink-tempfile to the evince call
2717 for print preview. (#370041, Ghee Teo)
2719 2006-12-11 Matthias Clasen <mclasen@redhat.com>
2721 * gtk/gtkprogressbar.c (gtk_progress_bar_paint_text): Be more
2722 careful when overdrawing antialiased text. (#352435, Alex Jones,
2723 patch by Benjamin Otte)
2725 * gtk/gtksettings.c: Change the way in which color scheme information
2726 is merged to correctly handle vanishing colors. (#374420,
2727 Benjamin Berg, patch by Callum McKenzie)
2728 Also allow to separate entries in color schemes by ';'
2731 2006-12-10 Matthias Clasen <mclasen@redhat.com>
2733 * modules/printbackends/cups/gtkcupsutils.c (gtk_cups_request_encode_option):
2734 Properly pass multi-value options to cups. (#355350, Jürg Billeter)
2736 2006-12-10 Kristian Rietveld <kris@gtk.org>
2738 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_focus_out_event):
2739 cancel editing (ie. don't accept changes) when the entry loses
2740 focus. (Fixes #164494, reported by Chris Rouch).
2742 2006-12-10 Matthias Clasen <mclasen@redhat.com>
2744 * configure.in: Correct a misapplied patch.
2746 2006-12-10 Tor Lillqvist <tml@novell.com>
2748 * gtk-zip.sh.in: Put gdk-pixbuf-query-loaders.exe and
2749 gtk-query-immodules-2.0.exe in the runtime zipfile instead of
2750 developer zipfile. Users might add pixbuf loaders or immodules
2751 even if they are not interested in developing gtk+-using software.
2753 2006-12-10 Matthias Clasen <mclasen@redhat.com>
2755 * configure.in: Check for crt_extern.h and _NSGetEnviron.
2756 * gdk/x11/gdkspawn-x11.c: Fix compilation on Darwin where
2757 environ is not available. (#384168, Min Sik Kim)
2759 2006-12-07 Paolo Maggi <paolo@gnome.org>
2763 * gtk/gtkentry.c (gtk_entry_set_text): check for
2764 completion->priv->changed_id > 0 before calling
2765 g_signal_handler_[un]block.
2766 (gtk_entry_completion_key_press): does not block/unblock the "changed"
2767 signal before calling gtk_entry_set_text.
2769 2006-12-07 Carlos Garnacho <carlosg@gnome.org>
2771 * gtk/gtkcellrendererprogress (compute_dimensions): do not use
2772 xthickness/ythickness, they aren't used any longer for drawing.
2774 2006-12-07 Matthias Clasen <mclasen@redhat.com>
2776 * gtk/gtkrc.c (_gtk_rc_init): Fix clipping of accelerator
2777 underlines by giving labels a small draw-border.
2779 2006-12-06 Kristian Rietveld <kris@gtk.org>
2781 * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_render):
2782 draw progress bar through theme engine instead of using our own
2783 custom cairo drawing code (#377244, patch from Carlos Garnacho).
2785 2006-12-06 Matthias Clasen <mclasen@redhat.com>
2787 * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities):
2788 Update the sensitivity of the collate checkbutton more frequently,
2789 proposed by Tim Waugh.
2791 2006-12-04 Matthias Clasen <mclasen@redhat.com>
2793 * gtk/gtkmessagedialog.c (setup_type): Set a11y name and role
2794 since we no longer set window titles.
2796 2006-12-04 Christian Persch <chpe@cvs.gnome.org>
2798 * gtk/gtkpagesetup.c: (gtk_page_setup_get_paper_size),
2799 (gtk_page_setup_set_paper_size): Don't leak the old page size when
2800 setting a new one. Bug #382314.
2802 2006-12-03 Michael Natterer <mitch@gimp.org>
2804 * gtk/gtktextview.c: remove FIXME #include that is no longer needed.
2806 2006-12-03 Kristian Rietveld <kris@gtk.org>
2808 Make sure [xy]_offset are always being initialized, fix pixbuf
2809 renderer padding. (#108235, Sven Neumann).
2811 * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_get_size),
2812 (gtk_cell_renderer_pixbuf_render): add padding in _render instead
2815 * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_get_size):
2816 always initialize [xy]_offset.
2817 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size): ditto.
2818 * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_size):
2821 2006-12-03 Kristian Rietveld <kris@gtk.org>
2823 * gtk/gtktreeview.c (validate_visible_area): when not using an
2824 explicit alignment, use the full area of the row (not just dy)
2825 to determine how to implicitly align it. (Fixes #363191, reported
2826 by Federico Mena Quintero).
2828 2006-12-02 Matthias Clasen <mclasen@redhat.com>
2830 * gtk/gtkicontheme.c (insert_theme): Properly clean up
2831 if an icon theme index file has no directories. (#381236)
2833 2006-12-02 Dom Lachowicz <domlachowicz@gmail.com>
2835 * src/modules/engines/ms-windows/msw_style.c: Bug 351678 - Notebooks
2836 not with PositionType.Top drawn incorrectly. Patch by Cody Russell
2838 2006-11-28 Behdad Esfahbod <behdad@gnome.org>
2840 Remove the broken Thai input method and add a functional Thai and Lao
2841 input method by Theppitak Karoonboonyanan. (#81031)
2843 * modules/input/imthai.c:
2844 * modules/input/gtkimcontextthai.c:
2845 * modules/input/gtkimcontextthai.h:
2846 * modules/input/thai-charprop.c:
2847 * modules/input/thai-charprop.h:
2850 * modules/input/imthai-broken.c:
2853 * modules/input/Makefile.am:
2856 2006-11-27 Christian Persch <chpe@cvs.gnome.org>
2858 * gtk/gtkstatusicon.c: Notify when the screen changes. Bug #379793.
2860 Mon Nov 27 12:27:06 2006 Tim Janik <timj@imendio.com>
2862 * gtk/gtktextview.c: applied patch by Colin Leroy for
2863 Control+GDK_KP_Left to move one word to the left, #356255.
2865 2006-11-26 Benjamin Berg <benjamin@sipsolutions.net>
2867 * gtk/gtkstyle.c: (gtk_default_draw_flat_box): Protect against NULL
2870 2006-11-25 Matthias Clasen <mclasen@redhat.com>
2872 * modules/printbackends/cups/gtkprintbackendcups.c: Make
2873 print dialog work when 'BrowseShortNames Off' is specified
2874 in cups configuration. Patch by Tim Waugh.
2876 2006-11-24 Michael Natterer <mitch@imendio.com>
2878 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): if we
2879 can't go up/down, consult gtk_widget_keynav_failed() and leave the
2880 widget if it returns FALSE (bug #322640).
2882 2006-11-23 Behdad Esfahbod <behdad@gnome.org>
2884 * gtk/gtkmain.c: Fix minor typo in docs. (#378632, Hannes Mueller)
2886 2006-11-22 Emmanuele Bassi <ebassi@gnome.org>
2888 * gtk/gtkrecentmanager.c:
2889 (get_uri_shortname_for_display): g_filename_from_uri() might
2890 fail; catch the failure and fall back to the non-local URI
2893 2006-11-19 Mark McLoughlin <mark@skynet.ie>
2895 Fixes bug #376502 - multi-screen support for GtkStatusIcon
2897 * gtk/gtkstatusicon.[ch]:
2898 (gtk_status_icon_set_screen),
2899 (gtk_status_icon_get_screen): add multi-screen API. Allows
2900 an app to display an icon on a non-default screen
2901 (gtk_status_icon_class_init),
2902 (gtk_status_icon_set_property),
2903 (gtk_status_icon_get_property): add a "screen" property
2905 * tests/teststatusicon.c: update to test on multiple screens
2907 2006-11-17 Matthias Clasen <mclasen@redhat.com>
2909 Fix problems with drag cancellation. (#376535, Michael Natterer)
2911 * gtk/gtkdnd.c (gtk_drag_source_info_destroy): Disconnect signal
2912 handlers before emitting drag-end.
2913 (gtk_drag_end): Disconnect signal handlers before removing
2916 2006-11-16 Mariano Suárez-Alvarez <mariano@gnome.org>
2918 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init):
2919 add gtk-doc blurb on GtkCellRendererText::edited (#376094)
2921 2006-11-16 Michael Natterer <mitch@imendio.com>
2923 * gtk/gtkradiobutton.c (gtk_radio_button_focus): don't use
2924 gtk_widget_keynav_failed(). Instead, look at gtk-keynav-cursor-only
2925 and gtk-keynav-wrap-around and wrap around, beep or continue outside
2926 the group manually (bug #322640).
2928 2006-11-16 Michael Natterer <mitch@imendio.com>
2930 Add new infrastructure for notifications of failed keyboard
2931 navigation and navigation with restricted set of keys.
2933 The patch handles configurable beeping, navigating the GUI with
2934 cursor keys only (as in phone environments), and configurable
2935 wrap-around. Fixes bugs #322640, #70986, #318827, #334726, #334742
2938 * gtk/gtksettings.c: added properties gtk-keynav-cursor-only,
2939 gtk-keynav-wrap-around and gtk-error-bell.
2941 * gtk/gtkwidget.[ch]: added new signal "keynav-failed" and public
2942 API to emit it. Added New function gtk_widget_error_bell() which
2943 looks at the gtk-error-bell setting and calls gdk_window_beep()
2946 * gtk/gtk.symbols: add the new widget symbols.
2948 * gtk/gtkcellrendereraccel.c
2949 * gtk/gtkimcontextsimple.c
2951 * gtk/gtknotebook.c: use gtk_widget_error_bell() or look at the
2952 gtk-error-bell setting instead of calling gdk_display_beep()
2959 * gtk/gtkmenushell.c
2960 * gtk/gtkspinbutton.c
2962 * gtk/gtktreeview.c: call gtk_widget_error_bell() on failed keynav.
2967 * gtk/gtktextview.c: consult gtk_widget_keynav_failed() on failed
2968 cursor navigation and leave the widget if it returns FALSE.
2970 * gtk/gtkmenushell.c
2971 * gtk/gtknotebook.c: only wrap around if gtk-keynav-wrap-around
2974 * gtk/gtkradiobutton.c: ask gtk_widget_keynav_failed() to decide
2975 whether to to wrap-around, and don't select active items on cursor
2976 navigation if gtk-keynav-cursor-only is TRUE. Should look at
2977 gtk-keynav-wrap-around too, will look into that.
2979 2006-11-16 Emmanuele Bassi <ebassi@gnome.org>
2981 * gtk/gtkrecentmanager.c:
2982 (gtk_recent_info_get_uri_display): Return the URI
2983 of the GtkRecentInfo object (upgraded to UTF-8 if
2984 needed) in case of non-local file. (#351945)
2986 2006-11-16 Emmanuele Bassi <ebassi@gnome.org>
2988 * gtk/gtkrecentchoosermenu.c:
2989 (gtk_recent_chooser_menu_add_tip): Apply the tip only
2990 if we have a displayable name for the item. (#365031,
2991 patch by padraig.obriain(at)sun.com)
2993 2006-11-16 Emmanuele Bassi <ebassi@gnome.org>
2995 * gtk/gtkrecentmanager.c: Provide a fast path returning
2996 NULL when the limit is set to 0.
2998 * gtk/gtkrecentchooserdefault.c:
2999 * gtk/gtkrecentchoosermenu.c: Add the same fast path
3000 inside the RecentChooser implementation; add a check
3001 in the list clamping code. (#373466 and duplicates)
3003 2006-11-15 Matthias Clasen <mclasen@redhat.com>
3005 * modules/printbackends/cups/gtkprintbackendcups.c (cups_printer_get_options):
3006 Don't pass NULL to strncpy. (#359537, patch by Carlos Garcia Campos)
3008 2006-11-15 Michael Natterer <mitch@imendio.com>
3010 * gtk/gtkrange.[ch]: added properties "fill-level",
3011 "show-fill-level" and "restrict-to-fill-level" and getters/setters
3012 for them. The "fill level" is an additional marker on the range's
3013 trough than can be e.g. used to indicate the amount of
3014 pre-buffering in a range showing the play position of streamed
3015 media. See the embedded API docs for details. Made GtkRangeLayout
3016 a GTypeInstance private struct and removed finalize()
3017 implementation. Fixes bug #349808
3019 * gtk/gtk.symbols: added the new symbols.
3021 2006-11-14 Behdad Esfahbod <behdad@gnome.org>
3023 * configure.in: Make libtool magic robust. (#352795)
3025 2006-11-13 Paolo Borelli <pborelli@katamail.com>
3027 * gtk/gtkrc.c (gtk_rc_parse_icon_source): plug small memory
3030 2006-11-09 Kristian Rietveld <kris@imendio.com>
3032 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): disable
3033 don't move cursor case for SELECTION_NONE. (#371756, John Ellis).
3035 2006-11-09 Carlos Garnacho <carlosg@gnome.org>
3037 * gtk/gtkpathbar.c (on_slider_unmap): Fix parenthesis confusion.
3039 2006-11-08 Carlos Garnacho <carlosg@gnome.org>
3041 * gtk/gtkpathbar.c (on_slider_unmap): added, do not leave the scroll
3042 timeout running if the slider buttons are hidden. (#372527)
3044 2006-11-08 Christian Persch <chpe@cvs.gnome.org>
3046 * gtk/gtkfilechooserdefault.c (browse_widgets_create): Don't make
3047 the "Location" label bold. Bug #372449.
3049 2006-11-07 Carlos Garnacho <carlosg@gnome.org>
3051 * gtk/gtknotebook.c (gtk_notebook_calculate_tabs_allocation): make
3052 non-focused tabs xthickness/ythickness thinner. (#353962)
3054 2006-11-07 Paolo Borelli <pborelli@katamail.com>
3056 * gtk/gtktextbtree.c (_gtk_text_btree_delete): avoid memory
3057 corruption (#357050).
3059 2006-11-06 Alexander Larsson <alexl@redhat.com>
3061 * gtk/gtkdnd.c: (gtk_drag_begin_internal),
3062 (gtk_drag_source_info_destroy), (gtk_drag_end),
3063 (gtk_drag_grab_notify_cb):
3064 Cancel drag when the grab is shadowed. (#122688)
3066 2006-11-01 Kristian Rietveld <kris@imendio.com>
3068 * gtk/gtkcombobox.c (gtk_combo_box_class_init),
3069 (gtk_combo_box_size_request): add arrow-size property to control
3070 the minimum size of the arrow, have the arrow scale up with the
3071 font by default. (#357950).
3073 2006-10-30 Kristian Rietveld <kris@gtk.org>
3075 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): don't
3076 forget to queue a draw for the new cursor node. (Fixes #366548,
3077 reported by Sven Herzberg).
3079 2006-10-30 Michael Natterer <mitch@imendio.com>
3081 * gtk/gtkrange.c (gtk_range_key_press): consume the Escape key
3082 only if we actually cancel a drag. Fixes bug #58389.
3084 2006-10-30 Kristian Rietveld <kris@gtk.org>
3086 * gtk/gtktreeview.c (gtk_tree_view_class_init): change left/right
3087 keybindings to collapse/expand rows instead of moving the focus
3088 cursor. (#105895, Brian Bober and others).
3090 2006-10-29 Kristian Rietveld <kris@gtk.org>
3092 * gtk/gtktreeview.c (gtk_tree_view_real_expand_row): guard against
3093 child removal in row-expanded callback. (#366782, John Ellis).
3095 2006-10-29 Tor Lillqvist <tml@novell.com>
3097 * gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Improve handling
3098 of the small icon of the window class. (#152620, Kazuki Iwamoto)
3100 2006-10-29 Tor Lillqvist <tml@novell.com>
3102 * gdk/win32/gdkcursor-win32.c
3103 (gdk_win32_icon_to_pixbuf_libgtk_only): Implement for B&W cursors,
3104 for instance the built-in GDK ones.
3106 2006-10-27 Kristian Rietveld <kris@gtk.org>
3108 * gtk/gtktreeview.c (validate_visible_area): rework the area_above == 0
3109 case to not overwrite the variables in the lower scope (which are
3110 used later on ...), get the path correctly and bail out when there
3111 isn't a node above us. (#359231).
3113 2006-10-26 Christian Persch <chpe@cvs.gnome.org>
3115 * gtk/gtkaboutdialog.c: Put initial focus on Close button (#337261).
3117 2006-10-25 Johan Dahlin <jdahlin@async.com.br>
3119 * gtk/gtk.symbols: Add missing symbols to so make check can pass
3121 2006-10-23 Dom Lachowicz <domlachowicz@gmail.com>
3123 * src/modules/engines/ms-windows/msw_style.c (draw_expander): Remember
3124 to free GDI Pen resources, introduced by bug 340201.(#364514)
3126 2006-10-18 Kristian Rietveld <kris@imendio.com>
3128 * tests/testcombo.c (main): connect to notify::popup-shown instead of
3129 popup-show (the latter does not exist).
3131 2006-10-15 Paolo Borelli <pborelli@katamail.com>
3133 * gtk/gtkicontheme.c (pixbuf_supports_svg): plug memory leak.
3136 2006-10-12 Michael Natterer <mitch@imendio.com>
3138 * gtk/gtkcombobox.c (gtk_combo_box_class_init): fix commit below
3139 (committed the wrong patch).
3141 2006-10-12 Michael Natterer <mitch@imendio.com>
3143 * gtk/gtkcombobox.c: added "move-active" and "popup" signals and
3144 bindings to trigger them. Removed gtk_combo_box_key_press(), it's
3145 obsolete now. Fixes bug #358293.
3147 2006-10-11 Michael Emmel <mike.emmel@gmail.com>
3149 * gdkpixmap-directfb.c: add missing RGB24 case (#361176)
3151 2006-10-11 Tor Lillqvist <tml@novell.com>
3153 * configure.in: Enable having some gdk-pixbuf loaders built-in
3154 even if loading the others dynamically. Define Automake
3155 conditional INCLUDE_FOO for each loader as TRUE if that loader is
3156 built-in. See also gdk-pixbuf/ChangeLog.
3158 Wed Oct 11 14:31:30 2006 Tim Janik <timj@imendio.com>
3160 * docs/reference/gtk/gtk-sections.txt:
3161 * gtk/gtkbindings.c: document gtk_binding_entry_skip().
3163 2006-10-11 Tor Lillqvist <tml@novell.com>
3165 * gtk/gtk.symbols: Remove gtk_combo_string_key, which is a static
3168 2006-10-11 Tor Lillqvist <tml@novell.com>
3170 Merge from 2.10 branch:
3172 * gtk/gtkmain.c (do_pre_parse_initialization): On Win32, if
3173 environment variable LC_ALL or LANG is set, set the Win32 thread
3174 locale to the corresponding locale. Then call the C library
3175 setlocale() to set the C library locale accordingly. The
3176 inconsistency mentioned below is gone. (#339756) Do some special
3177 casing for Serbia and Montenegro. Handle the Latin and Cyrillic
3178 scripts for Azeri, Uzbek and Serbian.
3179 (enum_locale_proc): Helper function for the above functionality.
3181 * gtk/gtkcalendar.c (gtk_calendar_init): No longer need to check
3182 if the environment variables are set here, as they have already
3183 been taken into account and the Win32 thread locale has been
3186 Tue Oct 10 16:38:23 2006 Tim Janik <timj@imendio.com>
3188 * gtk/tmpl/gtkbindings.sgml:
3189 * gtk/gtkbindings.c: applied patch from Michael Natterer to move to
3190 inline docs. applied wording fixes suggested by Martyn Russell.
3192 2006-10-09 Matthias Clasen <mclasen@redhat.com>
3194 * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state):
3195 Update the docs to state which out parameters may be NULL.
3196 (#360870, Attilio Fiandrotti)
3198 2006-10-08 Matthias Clasen <mclasen@redhat.com>
3200 * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities): Fix
3201 a typo. (#359542, Ghee Teo)
3203 2006-10-08 Matthias Clasen <mclasen@redhat.com>
3205 * gtk/gtknotebook.c (gtk_notebook_reorder_tab): Only
3206 reorder tabs if the focus is in the tab. (#350342, Carlos
3209 2006-10-08 Michael Emmel <mike.emmel@gmail.com>
3211 * gdk/directfb/gdkproperty-directfb.c strdup atom name (#357611)
3213 2006-10-08 Kristian Rietveld <kris@gtk.org>
3215 * gtk/gtktreeview.[ch] (gtk_tree_view_set_property),
3216 (gtk_tree_view_set_show_expanders),
3217 (gtk_tree_view_get_show_expanders): add getter/setter for
3218 show-expanders property, queue a redraw when this property
3219 is toggled (#351167, Martin Ejdestig),
3220 (gtk_tree_view_set_level_indentation),
3221 (gtk_tree_view_get_level_indentation): also add getter/setter
3222 and docs for level-indentation property.
3224 2006-10-08 Matthias Clasen <mclasen@redhat.com>
3226 * gtk/gtkradiobutton.c (gtk_radio_button_focus): Don't
3227 leak a list. (#360350, Benjamin Berg)
3229 * Apply a cleanup patch by Kjartan Maraas (#341812)
3231 2006-10-07 Tor Lillqvist <tml@novell.com>
3233 * gtk/gtkcalendar.c (gtk_calendar_init): Use the Win32 thread
3234 locale's first day of week setting on Win32. (#339752, Bogdan
3235 Nicula) Don't do this if one of the environment variables that
3236 affect gettext is set, though. In that case use the week start day
3237 from the corresponding message catalog.
3239 Unfortunately the same logic isn't possible in the weekday and
3240 month name lookup; there even if you have set one of the
3241 aforementioned environment variables, you still get the weekday
3242 and month names from the Win32 thread locale. Yes, this is
3245 Use only wide-character API in the Win32 code in this file, too.
3247 2006-10-06 Matthias Clasen <mclasen@redhat.com>
3249 * gtk/gtkfilechooser.c (gtk_file_chooser_set_select_multiple):
3250 Fix the docs. (#360112)
3252 * gtk/gtkcellview.c: Don't set the background of the
3253 window in a no-window widget. (#359581, Xan Lopez)
3256 2006-10-05 Behdad Esfahbod <behdad@gnome.org>
3258 * gtk/Makefile.am, gtk/aliasfilescheck.sh: Propagate srcdir into the
3259 test correctly. (#359845)
3261 2006-10-05 Michael Natterer <mitch@imendio.com>
3263 * gtk/gtkrc.[ch]: added new scanner token "unbind" which gets
3264 rid of a key binding (in fact, it only lets it appear unbound).
3266 * gtk/gtkbindings.[ch] (struct GtkBindingEntry): added
3267 "guint marks_unbound : 1"
3269 (gtk_binding_entry_skip): new API which marks the entry as unbound.
3271 Changed code so it returns FALSE when "marks_unbound == TRUE" is
3272 encountered while activating bindings, effectively letting the
3273 binding appear unbound (regardless of still existing bindings in
3274 lower binding priority levels). Fixes bug #358329.
3276 (gtk_binding_entry_add)
3277 (gtk_binding_entry_clear)
3278 (gtk_binding_entry_add_signall)
3279 (gtk_binding_parse_binding): deprected these functions.
3281 (_gtk_binding_parse_binding)
3282 (_gtk_binding_entry_add_signall): new internal API.
3284 * gtk/gtk.symbols: changed accordingly.
3286 2006-10-03 Matthias Clasen <mclasen@redhat.com>
3288 Fix interaction of GtkEntryCompletion with input
3289 methods. (#354495, Diego Escalante Urrelo)
3291 * gtk/gtkentry.c (gtk_entry_completion_key_press): Only reset
3292 the im context if we actually handle the key event.
3294 * gtk/gtkentrycompletion.c: Also propagate key release events
3297 2006-10-03 Matthias Clasen <mclasen@redhat.com>
3299 * gtk/gtkprintsettings.c (gtk_print_settings_get_duplex):
3300 Fix a typo. (#359052, Ghee Teo)
3302 * gtk/*.c, gdk/*.c: Apply a patch by Behdad Esfahbod to
3303 reduce relocations. (#359053)
3305 2006-10-03 Matthias Clasen <mclasen@redhat.com>
3307 * modules/printbackends/cups/gtkcupsutils.c:
3308 * modules/printbackends/cups/gtkprintbackendcups.c: Complete
3309 the fix for bug 357280.
3311 2006-10-02 Behdad Esfahbod <behdad@gnome.org>
3313 * gdk-pixbuf/Makefile.am:
3316 Include pltcheck.sh in EXTRA_DIST.
3318 2006-10-02 Behdad Esfahbod <behdad@gnome.org>
3320 * gdk/x11/gdkevents-x11.c: Move all includes before including
3323 2006-10-02 Behdad Esfahbod <behdad@gnome.org>
3325 * gtk/Makefile.am: Fix typo in file name. (#358931)
3327 2006-10-02 Matthias Clasen <mclasen@redhat.com>
3329 * modules/printbackends/cups/gtkprintbackendcups.c (available_choices):
3330 Only use the group name field if cups is new enough. (#357280)
3332 * gtk/gtksizegroup.c: Make sure that the quarks are
3333 initialized before using them. (#353736)
3335 * gtk/Makefile.am (stamp-icons): Use rm instead of ln -f to
3336 replace existing links. (#354849, James Evans)
3338 2006-10-01 Matthias Clasen <mclasen@redhat.com>
3340 * gtk/gtkexpander.c (gtk_expander_realize)
3341 (gtk_expander_size_allocate): Make the event_window large
3342 enough to cover the full height of the label_widget. (#358351,
3345 2006-10-01 Tor Lillqvist <tml@novell.com>
3347 * gtk/gtkfilesystemwin32.c: Same change as to gtkfilesystemunix.c.
3349 2006-09-30 Matthias Clasen <mclasen@redhat.com>
3351 * gtk/gtkfilechooserbutton.c (update_combo_box): Protect
3352 against base_path being NULL. (#358405, many reporters)
3354 2006-09-29 Matthias Clasen <mclasen@redhat.com>
3356 * gtk/gtkfilesystemunix.c: Apply a patch by Padraig O'Briain
3357 to avoid a deadlock.
3359 2006-09-27 Kristian Rietveld <kris@imendio.com>
3361 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_free_level),
3362 (gtk_tree_model_filter_ref_node),
3363 (gtk_tree_model_filter_real_unref_node): bring zero ref count loops
3364 in sync with each other and the sort model.
3366 2006-09-27 Kristian Rietveld <kris@imendio.com>
3368 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_init),
3369 (gtk_tree_model_filter_finalize), (gtk_tree_model_filter_row_deleted),
3370 (gtk_tree_model_filter_new): unref the virtual root path once that
3371 node (or one if its ancestors) is deleted, set virtual_root_deleted
3372 so we only unref it once.
3374 2006-09-27 Kristian Rietveld <kris@imendio.com>
3376 * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_changed),
3377 (gtk_tree_model_sort_sort_level): ref count nodes the proper way,
3378 (gtk_tree_model_sort_ref_node), (gtk_tree_model_sort_real_unref_node),
3379 (gtk_tree_model_sort_free_level): bring zero ref count loops in
3381 (gtk_tree_model_sort_free_level): free child levels before
3382 decreasing the zero ref count of the current level,
3383 (gtk_tree_model_sort_clear_cache): only clear cache if zero_ref_count
3386 2006-09-25 Matthias Clasen <mclasen@redhat.com>
3388 * demos/gtk-demo/*.c:
3389 * gtk/gtkeventbox.c:
3390 * gtk/gtkprintoperation.c: Fix typos. String change.
3392 2006-09-25 Kristian Rietveld <kris@gtk.org>
3394 * gtk/gtktreeview.c (gtk_tree_view_scroll_to_cell): if the tree view
3395 has already been realized; scroll to background area instead of
3396 cell area. (Fixes #330683, Johan Dahlin, Tommi Komulainen).
3398 2006-09-25 Kristian Rietveld <kris@gtk.org>
3400 * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): only attempt
3401 to create the GCs if the widget is realized. (Fixes #357578).
3403 2006-09-25 Matthias Clasen <mclasen@redhat.com>
3405 * gtk/gtkuimanager.c (_gtk_menu_is_empty): Don't leak
3406 the list of children (#357454, Paolo Borelli)
3408 2006-09-25 Michael Natterer <mitch@imendio.com>
3410 * gdk/x11/gdkdisplay-x11.c (gdk_display_x11_finalize): free
3411 display->input_windows with g_free(), not g_object_unref()
3412 (#357566, Tommi Komulainen).
3414 2006-09-24 Kristian Rietveld <kris@gtk.org>
3416 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init),
3417 (gtk_cell_renderer_text_[sg]et_property): actually add align-set
3418 property to the API (left-over patch from #157439).
3420 2006-09-24 Kristian Rietveld <kris@gtk.org>
3422 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button): draw
3423 the indicator if the column has a sort column id (and the model is
3424 sortable) or if the user explicitly requested the indicator
3425 to be shown. (Fixes #352738, Chris Vine).
3427 2006-09-23 Tor Lillqvist <tml@novell.com>
3429 * gtk/Makefile.am: Use EXEEXT.
3431 2006-09-22 Michael Natterer <mitch@imendio.com>
3433 * gtk/gtkstyle.c (gtk_style_real_copy): also copy icon factories
3434 and color hashes. Fixes bug #357132.
3436 2006-09-22 Matthias Clasen <mclasen@redhat.com>
3438 Make remote bookmarks work better (#354887)
3440 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons):
3441 (shortcuts_insert_path):
3442 * gtk/gtkfilechooserbutton.c (change_icon_theme):
3443 (model_add_bookmarks):
3444 (model_update_current_folder):
3445 (update_label_and_image):
3446 If the bookmark points to a remote file, don't call get_info(),
3447 since that may a) take a long time and b) pop up an auth dialog.
3448 Instead, just use a folder icon and create a display name
3451 * gtk/gtkfilechooserdefault.c (_gtk_file_chooser_label_for_uri):
3452 New function to create a suitable display name for a remote
3453 uri. This should really be done in GtkFileSystem.
3455 2006-09-21 Michael Natterer <mitch@imendio.com>
3457 Implement lots of value setters for GdkGC, based on a heavily
3458 modified patch from Thomas Broyer (bug #328853):
3460 * gdk/quartz/gdkcolor-quartz.c: removed functions which set colors
3461 on the CGContext. Instead, added gdk_quartz_get_rgba_from_pixel()
3462 which simply returns RGBA values from a GdkColor's pixel value.
3463 See gdk_quartz_update_context_from_gc() below.
3465 * gdk/quartz/gdkprivate-quartz.h (struct GdkGCQuartz): added lots
3466 of members for the newly suppored GC values. Added enum
3467 GdkQuartzContextValuesMask which is used for setting up the
3468 CGContext for filling and/or stroking.
3470 * gdk/quartz/gdkgc-quartz.c (gdk_quartz_gc_get_values)
3471 (gdk_quartz_gc_set_values)
3472 (_gdk_windowing_gc_copy): support a lot more GC values.
3474 (gdk_quartz_update_context_from_gc): added
3475 GdkQuartzContextValuesMask parameter and set filling/stroking
3476 parameters accordingly. This function also gained full control
3477 over the FG and BG colors (they can't be set separately any more).
3479 The stipple mask part of the patch doesn't work but seems to take
3480 the right approach and doesn't make things worse, so I applied it.
3482 Did *not* apply the clipping part of the patch since I don't
3483 understand it (I don't understand the version in CVS either, but
3484 it at least works :-)
3486 * gdk/quartz/gdkdrawable-quartz.c: pass the right masks to
3487 gdk_quartz_update_context_from_gc() and removed separate color
3488 setting calls. Some minor fixes.
3490 * gdk/quartz/gdkwindow-quartz.c
3491 (gdk_window_impl_quartz_begin_paint_region): set the CGContext's
3492 fill color manually. We don't have/need a GC here.
3494 2006-09-21 Michael Natterer <mitch@imendio.com>
3496 * gdk/quartz/gdkwindow-quartz.c
3497 (gdk_window_impl_quartz_begin_paint_region): fix cast: it's
3498 drawable_impl->wrapper that is the GdkWindow, not the
3499 drawable_impl itself.
3501 2006-09-20 Behnam Esfahbod <behnam@zwnj.org>
3503 * gdk/x11/gdkkeys-x11.c:
3504 (get_direction): just check the first shift-level of keyboard
3505 layout for RTL and LTR keysyms() (compliment to #116626)
3507 Wed Sep 20 16:59:38 2006 Tim Janik <timj@imendio.com>
3509 * gtk/gtkviewport.c: always update the bin_window position and size
3510 in size_allocate, even if we don't have a visible child. this fixes
3511 expose artefacts as described in #313508.
3513 * gtk/gtkscrolledwindow.c: make hiding of automatic scrollbars when we
3514 have no visible child explicit.
3516 2006-09-19 Ryan Lortie <desrt@desrt.ca>
3518 * docs/reference/gdk/gdk-sections.txt:
3521 * gdk/gdkpango.c: Bug 355343. Add a GdkPangoAttrEmbossColor.
3522 (gdk_pango_layout_get_clip_region): Remove an unused variable.
3523 (gdk_pango_attr_embossed_new): Fix documentation.
3525 Tue Sep 19 17:00:04 2006 Tim Janik <timj@imendio.com>
3527 * gtk/gtkarrow.c: added GtkArrow::arrow-scaling style property to
3528 control the arrow/border ratio within the allocation.
3530 * tests/testgtk.c: added a GtkArrow to handle box test.
3532 * tests/testgtkrc: test ::arrow-scaling property.
3534 2006-09-19 Matthias Clasen <mclasen@redhat.com>
3536 * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
3537 Display an error when we come to the root.
3539 2006-09-16 Matthias Clasen <mclasen@redhat.com>
3541 * gtk/gtkfilechooserbutton.c: Use bookmark labels in
3544 * gtk/gtkfilechooserbutton.c: Don't add remote volumes and
3545 bookmarks to the model in local-only mode, to avoid
3546 authentication dialogs pop up for invisible bookmarks, and
3547 to fix issues with separators not being hidden when
3548 they should. (#354887, Dennis Cranston)
3550 2006-09-16 Matthias Clasen <mclasen@redhat.com>
3552 * gtk/gtkcombobox.c (gtk_combo_box_finalize): Unref the
3553 treeview use in list mode. (#355732, Richard Hult)
3555 * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): Send
3556 change notification for the right property. (#355308,
3559 2006-09-15 Michael Natterer <mitch@imendio.com>
3561 * gtk/gtktreeview.c (gtk_tree_view_key_press): refactored column
3562 header navigation/resizing/reordering to be more readable and lose
3563 one level of nesting.
3565 2006-09-15 Kristian Rietveld <kris@imendio.com>
3567 * gtk/gtktreeview.c (gtk_tree_view_key_press): actually directly
3568 return after handling column button focus; we disable wrap around
3569 with this (which actually happened via a really weird code path).
3572 2006-09-15 Kristian Rietveld <kris@imendio.com>
3574 * gtk/gtktreeview.c (gtk_tree_view_key_press): make column resizing
3575 code RTL aware, also break from the loops after we have seen the
3576 focussed column button (Michael Natterer).
3578 Thu Sep 14 12:28:51 2006 Tim Janik <timj@imendio.com>
3580 * tests/testrichtext.c (main): intialize random number generator state
3581 upon program start, to enable truely random testing.
3583 2006-09-13 Michael Emmel <mike.emmel@gmail.com>
3585 * gdk/directfb/gdkcolor-directfb.c small clean ups include order
3586 * gdk/directfb/gdkwindow-directfb.c fixed beep compile error
3587 * gdk/directfb/Makefile.am removed GDK_PIXBUF_DISABLE_DEPRECATED
3588 GDK_DISABLE_DEPRECATED to allow compile per Behdad
3589 * gdk/quartz/Makefile.am same change as directfb Makefile
3590 * gtk/Makefile.am fixed typo that cause socket stubs not to compile
3592 2006-09-13 Matthias Clasen <mclasen@redhat.com>
3594 * gtk/gtkcolorsel.c: Use a GtkWindow instead of a GtkInvisible
3595 for the grab widget, to make the color picker work with window
3598 2006-09-12 Hong Jen Yee <pcman.tw@gmail.com>
3600 signed off by: Dom Lachowicz
3602 * modules/engines/ms-windows/msw_style.c: Bug 340201. This contains
3603 a large number of improvements to the Microsoft Windows theme engine
3604 which are fully described in the bug report.
3606 Mon Sep 11 14:22:39 2006 Tim Janik <timj@imendio.com>
3608 * tests/testgtk.c: fixed compiler warnings.
3610 2006-09-10 Matthias Clasen <mclasen@redhat.com>
3612 * gtk/gtkfilechooserbutton.c (model_add_special): Request
3613 the display name too, otherwise "Desktop" does not appear
3614 in the file chooser button.
3616 2006-09-10 Tor Lillqvist <tml@novell.com>
3618 * gdk/win32/gdkprivate-win32.h
3619 * gdk/win32/gdkmain-win32.c
3620 * gdk/win32/gdkwindow-win32.c: Define WINVER and _WIN32_WINNT as
3621 0x0500 in gdkprivate-win32.h instead of doing it in two source
3622 files. (#355212, Mike Edenfield)
3624 * gdk/win32/gdkwindow-win32.c: We can also remove the ersatz
3625 GetAncestor() for the _MSC_VER && WINVER < 0x0500 case, I hope.
3627 2006-09-10 Matthias Clasen <mclasen@redhat.com>
3629 * Commit a patch by Behdad to fix typos, omissions and other
3630 errors in the symbol aliasing, and add checks for local PLT
3631 entries. (#354687, Behdad Esfahbod)
3633 * gtk/gtktreeview.c (gtk_tree_view_search_scroll_event): Renew
3634 the flush timeout. (#354043, Nelson Benitez)
3636 * gtk/gtkfilechoosersettings.c (set_unexpected_element_end_error):
3637 Improve wording. String change! (#355126, David Lodge)
3639 * gtk/updateiconcache.c: Improve wording. String change! (#355128,
3642 * gtk/paper_names_offsets.c: Fix a typo. String change! (#355134,
3645 2006-09-09 Matthias Clasen <mclasen@redhat.com>
3647 * gdk/x11/gdkfonts-x11.c: Fix small theoretical memory leaks.
3648 (#353916, Chris Wilson)
3650 * gtk/gtksettings.c (_gtk_settings_reset_rc_values):
3651 Don't leak the to_reset list. (#353914, Chris Wilson)
3653 * gtk/gtkwidget.c: Add docs for the parent-set signal.
3654 (#353772, Mariano Suárez-Alvarez)
3656 2006-09-08 Matthias Clasen <mclasen@redhat.com>
3658 * gtk/gtktextbuffer.c (remove_all_selection_clipboards):
3659 Don't clear clipboards here, since we are called from finalize
3660 and can't emit signals.
3662 * configure.in: Set version to 2.11.0
3664 2006-09-06 Richard Hult <richard@imendio.com>
3666 * gdk/quartz/gdkkeys-quartz.c: (maybe_update_keymap): Special-case
3667 shift-tab and map it to GDK_ISO_Left_Tab, fixes bug #350806.
3669 2006-09-04 Kristian Rietveld <kris@imendio.com>
3671 * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
3672 if setting the given folder failed, try setting the parent folder
3673 until we succeed; display an error box at the end.
3675 2006-09-04 Kristian Rietveld <kris@imendio.com>
3677 * gtk/gtkpathbar.c (gtk_path_bar_dispose): don't cancel the
3678 operations spawned by buttons here,
3679 (set_button_image_get_info_cb): bail out if button is NULL, but
3680 do free button_data,
3681 (button_data_free): only free the data if non NULL (since this
3682 function can be called multiple times for the same data), cancel
3683 handle if pending but don't free button_data in this case (will
3684 happen in the callback).
3686 2006-09-04 Michael Natterer <mitch@imendio.com>
3688 * gtk/gtkrc.c (rc_parse_token_or_compound)
3689 (gtk_rc_parse_assignment): serialize floating point values using
3690 locale-independent functions. (#346751, Frederic Crozat)
3692 2006-09-04 Tor Lillqvist <tml@novell.com>
3694 * gdk/win32/gdkevents-win32.c
3695 * gdk/win32/gdkwindow-win32.c: Use wide-char API for message and
3696 window handling (PeekMessage, PostMessage, SendMessage,
3697 DispatchMessage, DefWindowProc, RegisterClassEx,
3698 CreateWindowEx). (#321597)
3700 2006-09-03 Kristian Rietveld <kris@imendio.com>
3702 * gtk/gtkfilechooserdefault.c (save_entry_get_info_cb),
3703 (file_exists_get_info_cb), (gtk_file_chooser_default_should_respond):
3704 change file_exists_and_is_not_folder checks to get the file info
3705 for the path directly instead of querying the current file folder
3708 * gtk/gtkfilechooserprivate.h (struct _GtkFileChooserDefault): add
3711 * tests/autotestfilechooser.c (wait_for_idle_idle), (wait_for_idle),
3712 (test_reload_sequence), (test_button_folder_states_for_action): wait
3713 for idle after setting a folder to ensure the async operations to load
3714 the folder are finished,
3715 (test_confirm_overwrite), (test_confirm_overwrite_for_path):
3716 factor out test_confirm_overwrite code so we can add tests for more
3719 2006-09-03 Richard Hult <richard@imendio.com>
3721 * gdk/quartz/GdkQuartzView.c (drawRect): Don't do anything if
3722 exposure isn't in the event mask, plug a leak, and check that the
3723 window isn't destroyed.
3724 (isOpaque): Check that the window isn't destroyed, fixes bug
3727 2006-09-03 Matthias Clasen <mclasen@redhat.com>
3729 * gtk/gtkwidget.c (gtk_widget_class_init): Fix a typo.
3730 (#354035, Mariano Suárez-Alvarez)
3732 * gtk/gtkmain.c (post_parse_hook):
3733 * gdk/gdk.c (gdk_init): Handle display_name being NULL.
3734 (#354004, Chris Wilson)
3736 2006-09-03 Tor Lillqvist <tml@novell.com>
3738 * gdk/win32/gdkwindow-win32.c (gdk_window_beep): No
3739 GDK_WINDOW_DISPLAY in the Win32 backend.
3741 * gtk/gtkfilesystemwin32.c: Copy what Kris did to
3744 2006-09-02 Kristian Rietveld <kris@imendio.com>
3746 First part of file chooser fixes.
3748 * gtk/gtkfilechooserbutton.c (model_add_special): also set the
3749 handle in the model for the desktopdir case.
3751 * gtk/gtkfilechooserdefault.c (shortcuts_add_current_folder): free
3752 volume in case we retrieved it but don't pass it on to insert_path,
3753 (shortcuts_model_create): change the column type for the handles
3754 to pointer instead of GObject so our handle ref counting is not
3756 (show_and_select_paths_finished_loading): don't forget to unref
3759 * gtk/gtkfilesystemunix.c (gtk_file_system_unix_class_init),
3760 (gtk_file_system_unix_init), (gtk_file_system_unix_dispose):
3761 remove pending execute_callbacks_idle during dispose, also
3762 execute all callbacks waiting to be run in the next idle,
3763 (queue_*callback), (execute_callbacks_idle): refactor to maintain
3764 a list of callbacks to call per file system instead of globally,
3765 guard the file system during callback invocation,
3766 (gtk_file_system_unix_get_folder): only add load folder idle if
3767 none has been added yet.
3769 2006-09-01 Matthias Clasen <mclasen@redhat.com>
3771 * gtk/gtkentry.c: Don't unnecessarily reset the im context
3772 when deleting the selection. (#353803, Alex Larsson)
3774 2006-09-01 Abel Cheung <abel@oaka.org>
3776 * configure.in: Added 'ang' 'dz' to ALL_LINGUAS.
3778 2006-08-31 Matthias Clasen <mclasen@redhat.com>
3780 Stop cursor blinking after a configurable timeout.
3781 (#353670, #352442, Arjan van de Ven, Manu Cornet)
3783 * gtk/gtksettings.c (gtk_settings_class_init): Add a
3784 gtk-cursor-blink-timeout setting, which specifies the number
3785 of seconds that the cursor should blink after a user interaction.
3786 The default value is G_MAXINT to preserve the current behaviour.
3788 * gtk/gtkentry.c (blink_cb): Stop blinking after blink-timeout
3791 * gtk/gtkentry.c (gtk_entry_completion_key_press)
3792 (gtk_entry_button_press, gtk_entry_focus_in): Reset the
3795 * gtk/gtktextview.c (blink_cb): Stop blinking after blink-timeout
3798 * gtk/gtktextview.c (gtk_text_view_key_press_event)
3799 (gtk_text_view_button_press_event, gtk_text_view_focus_in_event):
3800 Reset the blink timer.
3802 2006-08-31 Matthias Clasen <mclasen@redhat.com>
3804 * gtk/gtkprintoperation-unix.c (get_print_dialog): Don't specify
3805 explicit format capabilities. (#346505, Christian Persch)
3807 * modules/printbackends/cups/gtkprintbackendcups.c (cups_request_printer_list_cb): Send printer-list-done on error.
3809 2006-08-31 Michael Natterer <mitch@imendio.com>
3811 * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Fix build.
3813 2006-08-30 Richard Hult <richard@imendio.com>
3815 * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep): Fix build.
3817 2006-08-30 Matthias Clasen <mclasen@redhat.com>
3819 * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Only use XKB
3820 for beeping if we are using XKB.
3822 2006-08-29 Matthias Clasen <mclasen@redhat.com>
3826 * gdk/directfb/gdkwindow-directfb.c (gdk_window_beep):
3827 * gdk/win32/gdkwindow-win32.c (gdk_window_beep):
3828 * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep):
3829 * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Add a function
3830 to beep on a window. For X11, implement this with
3831 XkbBell. (#353455, Mariano Suárez-Alvarez)
3833 2006-08-29 Tor Lillqvist <tml@novell.com>
3835 Remove support for Windows 9x/ME. GTK+ hasn't worked on Win9x
3836 since 2.6 or 2.8. It's pointless to keep the Win9x code in here as
3837 it isn't being maintained anyway. If somebody is interested, it
3838 can always be found in older GTK+ versions, and in CVS.
3843 * gdk/win32/Makefile.am
3844 * gdk/win32/libie55uid.la
3845 * gdk/win32/gdkevents-win32.c: Remove the --with-ie55 configure
3846 switch and associated stuff. Active IMM and the <dimm.h> header
3847 was used for IM support on NT4 and Win9x. Win2k and later have IM
3850 * gdk/win32/gdkcursor-win32.c
3851 * gdk/win32/gdkdnd-win32.c
3852 * gdk/win32/gdkdrawable-win32.c
3853 * gdk/win32/gdkevents-win32.c
3854 * gdk/win32/gdkgc-win32.c
3855 * gdk/win32/gdkglobals-win32.c
3856 * gdk/win32/gdkkeys-win32.c
3857 * gdk/win32/gdkmain-win32.c
3858 * gdk/win32/gdkproperty-win32.c
3859 * gdk/win32/gdkselection-win32.c
3860 * gdk/win32/gdkwindow-win32.c: Remove the G_WIN32_IS_NT_BASED()
3861 and G_WIN32_HAVE_WIDECHAR_API() tests and their false (Win9x)
3862 branches, and any variables or static functions used only by the
3865 * gdk/win32/gdkprivate-win32.h: Remove backup definitions for
3866 constants that aren't missing from current mingw and MSVC6
3869 * gdk/win32/gdkmain-win32.c
3870 * gdk/win32/gdkprivate-win32.h: Remove the _gdk_win32_gdi_failed()
3871 function. On NT-based Windows GetLastError() returns error codes
3872 also for failed GDI calls, so we can use _gdk_win32_api_failed()
3875 2006-08-29 Emmanuele Bassi <ebassi@gnome.org>
3877 * gtk/gtkrecentchoosermenu.c
3878 (gtk_recent_chooser_menu_set_current_uri): Break when an item
3879 is found and activated. (#353449, based on a patch by Jan Arne
3882 Fri Jul 14 16:13:37 2006 Tim Janik <timj@gtk.org>
3884 * gtk/gtkprogressbar.c: introduced ::xspacing and ::yspacing style
3885 properties which make all hardcoded padding and spacing values
3886 configurable. properly swap ::text-xalign treatment for RTL widgets.
3888 * gtk/gtkprogress.c: fixed style property blurbs. made alignment
3889 proeprty more consistent with GtkMisc alignment blurbs. mention
3890 RTL treatment for text-xalign.
3892 Tue Aug 29 11:57:40 2006 Tim Janik <timj@imendio.com>
3894 * tests/testgtk.c: allow (most) windows to be resizable.
3895 added ellipsization settings to progress bars.
3897 2006-08-28 Matthias Clasen <mclasen@redhat.com>
3899 * modules/printbackend/cups/gtkprintbackendcups.c: Use a
3900 resonable timeout of 3 seconds when polling for printer
3901 list updates, instead of 300000 seconds...
3903 2006-08-28 Michael Natterer <mitch@imendio.com>
3905 * gtk/gtktextbufferserialize.c (serialize_text): don't write out
3906 </apply_tag> for tags that have already been closed by the logic
3907 which turns overlapping spans into XML-able trees. Fixes broken
3908 XML when there are overlapping tags in the buffer. Also free two
3909 leaked GLists and did some cleanup.
3912 * tests/testrichtext.c: new test which creates randomly tagged
3913 GtkTextBuffers and serializes/deserializes them.
3915 2006-08-26 Matthias Clasen <mclasen@redhat.com>
3917 * gtk/gtkstatusicon.c (gtk_status_icon_reset_image_data):
3918 Don't leak pixbufs. (#352264, Ross Burton)
3920 * gtk/gtklinkbutton.c (set_link_underline): Don't leak
3921 PangoAttributes. (#352391, Paolo Borelli)
3923 2006-08-25 Matthias Clasen <mclasen@redhat.com>
3925 * demos/gtk-demo/Makefile.am:
3926 * demos/gtk-demo/textscroll.c: Add an example of automatic
3927 scrolling, thanks to Yevgen Muntyan. (#351206)
3929 * gtk/gtkmodules.c (find_module): Use local binding when
3930 loading modules. (#351868)
3932 2006-08-24 Michael Natterer <mitch@imendio.com>
3934 * gdk/quartz/gdkdisplay-quartz.c (gdk_display_get_name): return
3935 the hostname instead of NULL.
3937 2006-08-23 Matthias Clasen <mclasen@redhat.com>
3939 * gtk/gtkprinteroptionwidget.[hc]: Fix confusion about
3940 names and values in comboboxes, and clean up some
3941 coding style issues.
3943 2006-08-23 Tor Lillqvist <tml@novell.com>
3945 * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_make_path):
3946 Revert unintended translatable string addition. Use same string
3947 in GError as in gtkfilesystemunix.c.
3949 * gtk/gtkfilesystemwin32.c (_gtk_file_system_win32_path_compare):
3950 Fix logic at the end of strings.
3952 * gtk/gtkfilesystemwin32.c: Maintain a hash table of live
3953 handles and check that we have no outstanding handles at
3954 finalization time. (Copying what Matthias did for
3955 gtkfilesystemunix.c)
3957 2006-08-23 Matthias Clasen <mclasen@redhat.com>
3959 * gtk/gtkfilesystemunix.c: Maintain a hash table
3960 of live handles and check that we have no outstanding
3961 handles at finalization time. (Copying what
3962 Federico did for gtkfilesystemgnomevfs.c)
3964 2007-08-22 Matthias Clasen <mclasen@redhat.com>