1 2007-04-30 Michael Natterer <mitch@imendio.com>
3 * gtk/gtkmenushell.c (gtk_menu_shell_enter_notify): pop up the
4 submenu explicitely only in touchscreen mode since otherwise
5 selecting the item already pops up the submenu. Restores the
6 drag-selection timeout (spotted by Søren Sandmann, #128968).
8 2007-04-30 Michael Natterer <mitch@imendio.com>
10 * gtk/gtkpapersize.h: really rename gtk_paper_size_get_builtins()
11 to gtk_paper_size_get_paper_sizes().
13 2007-04-30 Tor Lillqvist <tml@novell.com>
15 * gtk/gtkpapersize.c (gtk_paper_size_get_paper_sizes):
16 _gtk_load_custom_papers() exists only on Unix.
18 2007-04-30 Tor Lillqvist <tml@novell.com>
20 Add functionality to set overall opacity of a top-level
23 * gdk/gdk.symbols: Add gdk_window_set_opacity.
25 * gdk/x11/gdkwindow-x11.c
26 * gdk/win32/gdkwindow-win32.c: Implement
27 gdk_window_set_opacity(). On X11 use the _NET_WM_WINDOW_OPACITY
28 property. On Win32 use SetLayeredWindowAttributes(LWA_ALPHA).
30 * gdk/gdkwindow.h: Declare gdk_window_set_opacity().
32 * gdk/x11/gdkscreen-x11.c (gdk_screen_get_rgba_colormap): Document
33 that this is not implemented in the Windows backend. Add reference
34 to gdk_window_set_opacity().
36 * gtk/gtk.symbols: Add gtk_window_set_opacity and
37 gtk_window_get_opacity.
39 * gtk/gtkwindow.c (struct _GtkWindowPrivate)
40 (gtk_window_class_init): Add opacity property, a double in the
42 (gtk_window_set_opacity, gtk_window_get_opacity): Implement.
43 (gtk_window_realize): If opacity is set, call
44 gdk_window_set_opacity().
46 * gtk/gtkwindow.h: Declare gtk_window_set_opacity() and
47 gtk_window_get_opacity().
49 2007-04-30 Matthias Clasen <mclasen@redhat.com>
52 * gtk/gtkpapersize.[hc]: Rename gtk_paper_size_get_builtins()
53 to gtk_paper_size_get_paper_sizes() and optionally include
56 * gtk/gtkpagesetupunixdialog.c: Internally export a function
57 to load custom paper sizes.
59 * modules/printbackends/file/gtkprintbackendfile.c: Implement
60 printer_list_papers, returning all paper sizes. (#434329,
63 2007-04-30 Matthias Clasen <mclasen@redhat.com>
65 * gtk/gtkprintoperation.c: Translate the default job
66 name, and don't utf8-validate the job name in the
67 setter. (#421993, Morten Welinder)
69 2007-04-30 Matthias Clasen <mclasen@redhat.com>
71 * gtk/gtkprintjob.c (gtk_print_job_get_surface): Use
72 g_unlink. (#421990, Morten Welinder)
74 2007-04-29 Matthias Clasen <mclasen@redhat.com>
76 Fix some issues with reference handling in the printing
77 code. (#429902, Mathias Hasselmann)
79 * gtk/gtkprintoperation.c (gtk_print_operation_finalize):
80 Unref the print context, if we have one.
81 (gtk_print_operation_done): Add a default ::done handler
82 that unrefs the print context.
83 (preview_ready): Take a reference on the print operation
85 (print_pages_idle): ...not here,
86 (preview_print_idle_done): ...and release it here.
88 * tests/print-editor.c (preview_cb): Take a reference
89 on the print operation here.
91 2007-04-29 Matthias Clasen <mclasen@redhat.com>
93 * gtk/gtkprintoperation.c (print_pages_idle): Don't get
94 stuck in a recursive mainloop if a synchronous preview
97 2007-04-29 Matthias Clasen <mclasen@redhat.com>
99 Make the emission of ::end-print and ::done consistent
100 for previews. (#347567, Yevgen Muntyan)
102 * gtk/gtkprintoperation.c (preview_iface_end_preview): Set
103 the finished status here.
104 (preview_end_run): ...and not here.
105 (print_pages_idle_done): Emit ::done for a cancelled preview.
106 (print_pages_idle): If a preview has been cancelled, don't
107 emit ::ready, but emit ::end-print.
109 * tests/print-editor.c: Use ::end-print to undo allocations
112 2007-04-29 Matthias Clasen <mclasen@redhat.com>
114 * gtk/gtkpapersize.c (gtk_paper_size_new): Mark paper sizes
115 in the PWG "custom" namespace as custom. Add a link to
116 the spec in the docs. (#426416, Andreas Guelzow)
118 2007-04-29 Matthias Clasen <mclasen@redhat.com>
120 * gtk/gtkprintoperation.c (gtk_print_operation_run): Document
121 that a print operation can be run only once, and add a
122 corresponding g_return_if_fail(). (#379399, Masao Mutoh)
124 2007-04-29 Dan Winship <danw@novell.com>
126 * gdk/x11/gdkdisplay-x11.c
127 (gdk_x11_display_broadcast_startup_message): New method to
128 marshall and send a Startup Notification message. (from #415070)
129 (gdk_notify_startup_complete_with_id): Use that
131 2007-04-29 Mattthias Clasen <mclasen@redhat.com>
133 * gtk/gtkprintoperation-unix.c
134 (_gtk_print_operation_platform_backend_launch_preview):
135 Don't leak a file descriptor, and don't make the error
136 dialog modal. (#421985, Morten Welinder, Christian Persch)
138 2007-04-29 Xan Lopez <xan@gnome.org>
140 * docs/faq/gtk-faq.sgml: Fix typo in FAQ (#373706,
141 Diego Escalante Urrelo).
143 I'm fixing gtk-faq.sgml as it seems this is the file
146 2007-04-29 Matthias Clasen <mclasen@redhat.com>
148 * gtk/gtktoolbar.c (_gtk_toolbar_elide_underscores):
149 Only strip parentheses of the form (_x). (#434261,
152 2007-04-29 Matthias Clasen <mclasen@redhat.com>
154 * gtk/gtkprintoperation-unix.c
155 (_gtk_print_operation_platform_backend_launch_preview):
156 Support passing a print settings file to the preview
157 command. (#403717, Christian Persch)
159 * gtk/gtksettings.c: Document %s in the
160 gtk-print-preview-command setting.
162 2007-04-29 Matthias Clasen <mclasen@redhat.com>
164 * gtk/gtkprintoperation.c (print_pages_idle): Also check
165 the default handler when deciding whether to emit the
166 paginate signal. (#345345, Yevgen Muntyan)
168 2007-04-29 Matthias Clasen <mclasen@redhat.com>
170 * gtk/gtkprintoperation.h: Add a new error code
173 * gtk/gtkpagesetup.[hc]:
174 * gtk/gtkpapersize.[hc]:
175 * gtk/gtkprintsettings.[hc]: Add functions to serialize
176 and deserialize page setups and print settings to files
177 and key files. (#344515, Christian Persch)
179 * gtk/gtkpagesetupunixdialog.c: Adapt to the new functions.
181 * tests/print-editor.c: Use the new functions to persist
182 page setup and print settings.
184 2007-04-29 Matthias Clasen <mclasen@redhat.com>
186 * gtk/gtkpagesetupunixdialog.c (gtk_page_setup_unix_dialog_finalize):
187 Free the custom paper list. (#403267, Felix Riemann)
189 2007-04-29 Matthias Clasen <mclasen@redhat.com>
191 * gtk/gtkprintjob.c (gtk_print_job_get_surface): Fix a
192 small memory leak. (#403251, Felix Riemann)
194 2007-04-29 Matthias Clasen <mclasen@redhat.com>
196 * modules/printbackends/cups/gtkprintbackendcups.c: Fix a
197 typo. String change ! (#406160, Stephane Raimbault)
199 2007-04-29 Matthias Clasen <mclasen@redhat.com>
202 * gtk/gtkpapersize.[hc]: Add a function to list the
203 builtin paper sizes. (#382355, Christian Persch)
205 2007-04-29 Matthias Clasen <mclasen@redhat.com>
208 * gtk/gtkprinter-private.h:
209 * gtk/gtkprinter.[hc]: Make gtk_printer_has_details() and
210 gtk_printer_request_details() public.
212 * gtk/gtkpagesetupunixdialog.c:
213 * gtk/gtkprintunixdialog.c: Update callers. (#389203,
216 2007-04-28 Matthias Clasen <mclasen@redhat.com>
218 * configure.in: Add --enable-test-print-backend, defaulting
221 * modules/printbackends/Makefile.am: Make building the test
222 print backend conditional.
224 2007-04-28 Matthias Clasen <mclasen@redhat.com>
226 * modules/printbackends/lpr/*:
227 * modules/printbackends/cups/*: Correct some copyright lines.
230 * modules/printbackends/Makefile.am:
231 * modules/printbackends/test/*: Add a test print backend.
232 (#409089, John Palmieri)
234 2007-04-28 Matthias Clasen <mclasen@redhat.com>
236 * gtk/gtktexttag.[hc]: Add a way to specify accumulative
237 margins. (#344499, Nate Nielsen)
239 2007-04-28 Matthias Clasen <mclasen@redhat.com>
241 * gtk/gtkeventbox.c (gtk_event_box_realize): Fix the offsets
242 of the input-only window if we also have a visible window.
245 2007-04-28 Matthias Clasen <mclasen@redhat.com>
247 * gtk/gtkliststore.c (gtk_list_store_set_valist_internal):
248 * gtk/gtktreestore.c (gtk_tree_store_set_valist_internal):
249 Recognize negative column indices as invalid. (#415260,
252 2007-04-28 Ronald Bultje <rbultje@ronald.bitfreak.net>
254 * gdk/quartz/gdkeventloop-quartz.c: (select_thread_func),
255 (poll_func): fix two more potential races that could happen when
256 an application is polling in the mainloop and a separate thread
257 tries to wake it up using g_idle_add(). Fixes #425271 comment 5.
259 2007-04-28 Matthias Clasen <mclasen@redhat.com>
261 * gtk/gtkentry.c (gtk_entry_grab_focus):
262 (gtk_entry_real_insert_text): Only call g_object_get()
263 when necessary. (#373137, Morten Welinder, patch by Xan Lopez)
265 2007-04-28 Matthias Clasen <mclasen@redhat.com>
267 * gtk/gtkstatusicon.c (gtk_status_icon_get_size): Add
268 a note about being embedded. (#340107, Christian Persch)
270 2007-04-28 Matthias Clasen <mclasen@redhat.com>
272 * gtk/gtkdnd.[hc]: Add GTK_TARGET_OTHER_{APP,WIDGET} to
273 restrict drags within an application/widget. (#163141,
276 2007-04-28 Matthias Clasen <mclasen@redhat.com>
278 * docs/tools/Makefile.am:
279 * gtk/Makefile.am: Make make clean clean. (#410160, Tommi
282 2007-04-28 Matthias Clasen <mclasen@redhat.com>
284 * gdk/win32/bdfcursor.c (compose_cursors_from_fonts):
285 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_reorder):
286 * gtk/gtkfilesystemmodel.c (got_root_folder_cb):
287 (get_children_folder_cb): Plug memory leaks caused by wrong
288 use of g_slist_remove_link(). (#405515, Nicolas Peninguy)
290 2007-04-28 Matthias Clasen <mclasen@redhat.com>
292 * demos/gtk-demo/printing.c: Fix the headers in the print
293 demo. (#423722, Yevgen Muntyan)
295 2007-04-28 Xan Lopez <xan@gnome.org>
297 * gtk/gtkentrycompletion.c (gtk_entry_completion_insert_completion_text):
298 Use strstr instead of g_strstr with -1 for length.
300 2007-04-28 Xan Lopez <xan@gnome.org>
303 * gtk/gtkentrycompletion.c:
304 * gtk/gtkentrycompletion.h:
305 * gtk/gtkentryprivate.h:
307 Remember the user input that triggered the completion, add
308 API to the retrieve it and reset the entry contents to it
309 if the user cancels the tentative completion during
310 the inline-selection.
312 2007-04-27 Matthias Clasen <mclasen@redhat.com>
314 * gdk/x11/gdkgeometry-x11.c: Factor out window movement
315 functions. (#63820, Tilman Sauerbeck)
317 2007-04-27 Matthias Clasen <mclasen@redhat.com>
319 * gdk/x11/gdkgeometry-x11.c: Factor out translate_pos().
320 (#63820, Tilman Sauerbeck)
322 2007-04-27 Matthias Clasen <mclasen@redhat.com>
324 * gdk/x11/gdkgeometry-x11.c: Factor out window mapping
325 and unmapping functions. (#63820, Tilman Sauerbeck)
327 2007-04-27 Matthias Clasen <mclasen@redhat.com>
329 * gdk/x11/gdkgeometry-x11.c: Make list handling code
330 easier to read. (#63820, Tilman Sauerbeck)
332 2007-04-27 Matthias Clasen <mclasen@redhat.com>
338 * gtkrecentmanager.c:
339 * gtktextiter.c: Internalize some strings, pointed out
342 2007-04-27 Xan Lopez <xan@gnome.org>
344 Support inline-selection in entries (#318459)
347 * gtk/gtkentrycompletion.c:
348 * gtk/gtkentrycompletion.h:
349 * gtk/gtkentryprivate.h:
351 When enabled cursor-match is emited when the cursor is on
352 a possible completion on the list. The default implementation
353 will replace the contents on the entry with the contents of
354 the text column in the completion model.
356 Review and improvements by Matthias Clasen.
358 2007-04-27 Michael Natterer <mitch@imendio.com>
360 Merged heavily modified patch from maemo-gtk which enables opening
361 and closing submenus on click, and introduces some usability
362 changes when gtk-touchscreen-mode is enabled (bug #128968):
364 * gtk/gtkmenushell.c (struct GtkMenuShellPrivate): added boolean
365 "activated_submenu" to indicate that the current mouse operation
366 (click or drag) has opened a submenu.
368 (gtk_menu_shell_button_press): pop up submenus without delay
369 and record the fact in "activated_submenu".
371 (gtk_menu_shell_button_release): if a submenu was explicitely
372 opened, or not opened by this release's button_press, or enough
373 time has passed since timeout-opening it, close the submenu here.
375 (gtk_menu_shell_enter_notify): when entering a menu item with
376 any mouse button pressed, open its submenu.
378 (gtk_real_menu_shell_move_current): in touchsreen mode, close the
379 submenu when moving the focus away from it via keyboard-navigation.
381 * gtk/gtkmenuitem.[ch] (_gtk_menu_item_popup_submenu): added
382 parameter "gboolean with_delay" so GtkMenuShell can control this
383 for the different scenarios of submenu showing.
385 (_gtk_menu_item_popdown_submenu): new function. also needed by
386 GtkMenuShell for closing submenus on click.
388 Renamed internal function gtk_menu_item_select_timeout() to
389 gtk_menu_item_popup_timeout().
391 (gtk_menu_item_real_popup_submenu): new utility function which
392 does the actual popup and records the exact time of the popup when
393 the menu was timeout-opened (using g_get_current_time()).
395 (gtk_real_menu_item_select): don't add the popup timeout when in
398 * gtk/gtkmenu.c (gtk_menu_popup): in touchscreen mode, select the
399 first item of every opened menu.
401 2007-04-26 Matthias Clasen <mclasen@redhat.com>
403 * gtk/gtkfilechooserentry.c: Append a '/' to directory names
404 in the completion popup. (#431323, Maarten Maathuis)
406 2007-04-26 Matthias Clasen <mclasen@redhat.com>
408 * demo/gtk-demo/combobox.c: Add a simple validation demo.
409 * gtk/gtkcomboboxentry.c: Make it possible to add arbitrary
410 children to a GtkComboBoxEntry. (#426401, Paul Pogonyshev)
412 2007-04-26 Tor Lillqvist <tml@novell.com>
414 * gtk/gtkinputdialog.c (gtk_input_dialog_fill_axes)
415 (gtk_input_dialog_fill_keys): Remove old child of scrolled window
416 before adding a new one when switching what input device is being
419 2007-04-26 Matthias Clasen <mclasen@redhat.com>
421 * modules/printbackends/lpr/gtkprintbackendlpr.c
422 (gtk_print_backend_lpr_init): Mark the printer list as done.
423 (#428665, Bogdan Gheorghe)
425 2007-04-26 Matthias Clasen <mclasen@redhat.com>
428 * gtk/Makefile.am: Don't install UNIX-printing headers and
429 support files on non-UNIX platforms. (#425655, Vincent Geddes)
431 2007-04-26 Matthias Clasen <mclasen@redhat.com>
433 * gtk/gtkuimanager.c (gtk_ui_manager_add_ui): Accept
434 unnamed separators. (#369112, Christian Persch)
436 2007-04-26 Matthias Clasen <mclasen@redhat.com>
438 * gtk/gtkaccelgroup.c (gtk_accel_group_finalize): Don't access
439 invalid memory. (#429732, Armin Burgmeier)
441 2007-04-26 Cody Russell <bratsche@gnome.org>
443 * gdk/win32/xcursors.h:
444 * gdk/win32/gdkcursor-win32.c:
446 Use Win32 native cursors instead of the ones built into GTK
447 where it makes sense. (#128852, Tim Evans)
449 2007-04-25 Cody Russell <bratsche@gnome.org>
453 * gtk/gtkhandlebox.c:
454 * gdk/directfb/gdkwindow-directfb.c:
455 * gdk/linux-fb/gdkwindow-fb.c:
456 * gdk/quartz/gdkwindow-quartz.c:
457 * gdk/win32/gdkwindow-win32.c:
458 * gdk/x11/gdkwindow-x11.c:
459 Added window type hint and implement drop shadows on Win32
460 for menus, tooltips, etc. (#148535, Tim Evans, Dom Lachowicz)
462 2007-04-25 Jakub Steiner <jimmac@ximian.com>
464 * gtk/stock-icons/16/gtk-close.{png,svg}: added 16x16 version of
465 gtk-close as per discussion in bug #431740.
467 2007-04-25 Matthias Clasen <mclasen@redhat.com>
469 * gtk/gtktreeview.c (gtk_tree_view_style_set): Set the background
470 of the header window again. (#431067, Benjamin Berg)
472 2007-04-25 Matthias Clasen <mclasen@redhat.com>
474 * gtk/gtkicontheme.c (theme_lookup_icon): Set the filename to
475 NULL for builtin icons, sinc gtk_icon_info_get_builtin_pixbuf()
478 * tests/testicontheme.c: Report builtin icons.
480 2007-04-25 Matthias Clasen <mclasen@redhat.com>
482 * gtk/gtkprintoperation.c (preview_iface_end_preview): Don't
483 crash if end_run is not set. (#424168, Matthias Hasselmann)
485 2007-04-25 Michael Natterer <mitch@imendio.com>
487 * gtk/gtkmenu.c (gtk_menu_handle_scrolling): fix ACTIVE state of
488 scroll buttons (we were setting the state to ACTIVE but
489 immediately overwriting it with NORMAL or PRELIGHT). Also got rid
490 of many separate calls to gdk_window_invalidate_rect() by
491 remembering the old button state and only invalidating the area if
492 the state has changed (addresses parts of bug #433242, Tommi
495 (gtk_menu_scroll_to): change the arrow states only if changing
496 from or to INSENSITIVE state, so we don't overwrite the ACTIVE
497 state set by above function.
499 2007-04-25 Michael Natterer <mitch@imendio.com>
501 * gtk/gtkprintoperation.c (preview_iface_is_selected): fix the
502 build. Dunno if the fix is right, but I think it is.
504 2007-04-25 Kristian Rietveld <kris@imendio.com>
506 * gtk/gtktooltip.c (find_topmost_widget_coords_from_event):
507 cleanup/refactor some leftover code.
509 2007-04-24 Matthias Clasen <mclasen@redhat.com>
511 * gtk/gtkprintunixdialog.c (dialog_get_page_ranges): Parse
512 half-open ranges like -2 or 3-, and be a bit more liberal
514 (dialog_set_page_ranges): Support half-open ranges.
516 * gtk/gtkprintoperation.c (print_pages_idle): Substitute the
517 number of pages in half-open ranges.
518 (preview_iface_is_selected): Support half-open ranges here, too.
520 2007-04-24 Chris Wilson <chris@chris-wilson.co.uk>
522 * gtk/gtkicontheme.c (scan_directory): Ensure the
523 icon_theme->all_icons and dir->icons hash tables use the same string
524 as their keys. (#418531)
526 2007-04-23 Cody Russell <bratsche@gnome.org>
527 * modules/engines/ms-windows/msw_style.c: Fixed one-pixel drawing error on
528 left-most tab when notebooks are top-oriented. Also general cleanup of
529 notebook tab related code. (Lieven van der Heide, Cody Russell)
531 2007-04-23 Matthias Clasen <mclasen@redhat.com>
533 * modules/printbackends/cups/gtkprintbackendcups.c: Reduce
534 the amount of debug spew if we are not debugging.
536 2007-04-23 Michael Natterer <mitch@imendio.com>
538 * tests/Makefile.am (testtooltips_SOURCES): fix typo:
539 testtoooltips_SOURCES -> testtooltips_SOURCES.
541 2007-04-19 Cody Russell <bratsche@gnome.org>
543 * modules/engines/ms-windows/msw_style.c: Fix menuitem rendering
544 for Windows Vista. (#392015, Hiroyuki Yamamoto)
546 2007-04-19 Dominic Lachowicz <domlachowicz@gmail.com>
548 * modules/engines/ms-windows/msw_style.c: Fix pixbuf leaks in
549 non-WinXP rendering paths. From Daniel Atallah (#403470)
551 2007-04-19 Matthias Clasen <mclasen@redhat.com>
553 * gtk/gtkicontheme.h:
554 * gtk/gtkicontheme.c: Add GTK_ICON_LOOKUP_GENERIC_FALLBACK
555 icon lookup flag and implement it. (#396901, Luca Ferreti)
557 2007-04-18 Richard Hult <richard@imendio.com>
559 * gdk/quartz/gdkwindow-quartz.c:
560 (gdk_window_quartz_process_updates_internal),
561 (gdk_window_quartz_process_all_updates),
562 (gdk_window_impl_quartz_process_updates): Refactor the process
563 updates functions to share code between them. Also fixes bug
564 #427660 by not updating larger regions than necessary.
566 2007-04-18 Matthias Clasen <mclasen@redhat.com>
568 * gdk/gdkregion-generic.h (GROWREGION): Handle the case
569 of nRects == 0 correctly.
571 2007-04-18 Emmanuele Bassi <ebassi@gnome.org>
573 * gtk/gtkrecentmanager.c (gtk_recent_manager_lookup_item): Fix
574 a leak by not increasing the refcount of the GtkRecentInfo
575 object when returning it (thanks to Matthias Clasen).
577 2007-04-16 Alexander Larsson <alexl@redhat.com>
579 * gtk/gtkprintoperation.c (gtk_print_operation_run):
580 Make async print preview work by actually starting
581 the print process in that case (#424168)
583 2007-04-14 Yevgen Muntyan <muntyan@tamu.edu>
585 * gtk/gtkselection.c (selection_get_text_plain): fixed
586 wrong g_convert_with_fallback() call which caused
587 gtk_selection_data_get_text() return invalid UTF-8 for
588 non-ASCII text in text/plain selection (#382824).
590 2007-04-12 Jakub Steiner <jimmac@ximian.com>
592 * gtk/stock-icons/*: update the stock icons to follow the Tango
595 2007-04-11 Chris Wilson <chris@chris-wilson.co.uk>
597 * gtk/gtkiconfactory.c (_gtk_icon_factory_list_ids):
598 * gtk/gtkstock.c (gtk_stock_list_ids):
599 Switch over to use glib's new g_hash_table_get_keys() rather
600 than our own static implementation.
602 * gtk/gtkiconfactory.h: Update to return a GList.
604 * configure.in: Bump required version to 2.13.1
606 2007-04-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
608 * gdk/quartz/gdkeventloop-quartz.c: Protect the polling thread
609 setup and shutdown function by mutexes and read the wakeup
610 pipe unconditionally and unblocking. This should make the main
611 loop always be woken up when using g_idle_add() from another
612 thread in the Quartz backend (#425271).
614 2007-04-10 Matthias Clasen <mclasen@redhat.com>
616 * gdk/x11/xsettings-client.[hc]: Change the XSettingsWatchFunc
617 to return a Bool to indicate success. Update callers and
618 implementors. Based on a patch by Owen Taylor.
620 * gdk/x11/gdkevents-x11.c (gdk_xsettings_watch_cb): Don't
621 leak a reference to gdkwin.
623 2007-04-07 Xan Lopez <xan@gnome.org>
625 * gtk/gtknotebook.c (gtk_notebook_class_init):
626 s/arrow-size/arrow-spacing in the arrow-spacing
629 2007-04-06 Richard Hult <richard@imendio.com>
631 * gdk/quartz/: Clean up namespaces to make the code more
634 * gdk/quartz/gdkdrawable-quartz.c:
635 * gdk/quartz/gdkgc-quartz.c: Fix bug #418384, alignment of tiled
636 images, by setting the pattern phase for the CG pattern.
638 2007-04-04 Kristian Rietveld <kris@imendio.com>
640 * gtk/gtktooltip.c (tooltip_browse_mode_expired),
641 (gtk_tooltip_hide_tooltip), (tooltip_popup_timeout),
642 (gtk_tooltip_start_delay): use new gdk_threads API.
644 2007-04-03 Behdad Esfahbod <behdad@gnome.org>
646 * gtk/gtksettings.c (settings_update_font_options): Don't set
647 metrics-hinting font option. Rely on the default value which is
648 on for all raster cairo surfaces. (#425985)
650 2007-04-03 Loïc Minier <lool@dooz.org>
652 * gdk/x11/gdkscreen-x11.c: (check_xfree_xinerama): Revert to
653 non-xinerama mode when XineramaQueryScreens returns NULL; patch from
654 Simon McVittie; #425786.
656 2007-04-02 Michael Natterer <mitch@imendio.com>
658 * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): remove
659 artifact from the time when type checking casts warned on NULL,
660 some whitespace cleanup.
662 2007-04-01 Cody Russell <bratsche@gnome.org>
664 * modules/engines/ms-windows/msw_style.c: Fix rendering of
665 notebook tabs when they are bottom-oriented. Fixes #399253.
667 2007-03-31 Elijah Newren <newren gmail com>
669 * gdk/x11/gdkwindow-x11.c (setup_toplevel_window,
670 gdk_x11_window_set_user_time):
671 Patch from Matthias to add support for the
672 _NET_WM_USER_TIME_WINDOW EWMH protocol; see #354213.
674 WARNING: This patch will make metacity <= 2.18.0 freeze on
675 workspace switch. This is due to a weird problem that should only
676 affect window managers using gdk in-process for decoration drawing
677 and which make an unsafe assumption relating to doing so (i.e. it
678 should only affect metacity). Upgrade your version of metacity if
681 2007-03-29 Michael Natterer <mitch@imendio.com>
683 Don't close menus on clicks on their border area (bug #423761).
684 (modified patch from maemo-gtk).
686 * gtk/gtkmenu.c (gtk_menu_button_press)
687 (gtk_menu_button_release): bail out early if the click was on the
688 menu's border (not on any item and not outside the window).
690 (pointer_in_menu_window): new utility function which checks if
691 passed root coords are inside the menu_shell or one of its
694 2007-03-29 Michael Natterer <mitch@imendio.com>
696 * gtk/gtkmenu.c: get rid of local GtkSettings variables by moving
697 gtk_widget_get_settings() into the g_object_get() call. Some small
700 2007-03-28 Matthias Clasen <mclasen@redhat.com>
702 * modules/printbackends/cups/gtkcupsutils.[hc]:
703 * modules/printbackends/cups/gtkprintbackendcups.c: Apply
704 a patch by John Palmieri to make the cups print backend support
707 2007-03-28 Kristian Rietveld <kris@imendio.com>
709 * gtk/gtkwidget.c (gtk_widget_set_tooltip_window): don't unref
710 tooltip_window, since this is handled by set_qdata_full() already.
711 (#412001, Torsten Schoenfeld).
713 2007-03-27 Tor Lillqvist <tml@novell.com>
715 * modules/input/Makefile.am: Use LDADDS for im-multipress.la, too:
717 2007-03-26 Christian Persch <chpe@gnome.org>
719 * gtk/gtkrc.c: (gtk_rc_context_get): Initialise variable. Bug #423064.
721 2007-03-24 Kristian Rietveld <kris@gtk.org>
723 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
724 calculate the depth with the corrected real_cell_area and don't
725 subtract horizontal_separator/2.
727 2007-03-24 Andreas Nilsson <andreas@andreasn.se>
730 * gtk-no: More Tango love.
732 2007-03-23 Jakub Steiner <jimmac@ximian.com>
734 * gtk-dialog-authentication.svg
735 * gtk-dialog-error.svg
736 * gtk-dialog-info.svg
737 * gtk-dialog-question.svg
738 * gtk-dialog-warning.svg: Start with a Tango face-lift.
740 2007-03-23 Rodney Dawes <dobey@novell.com>
742 * gtk/gtkicontheme.c: Fix a couple of comment typos (#421627)
744 2007-03-23 Matthias Clasen <mclasen@redhat.com>
746 * gtk/gtkfilechooserdefault.c: Add a keybinding (C-h) to
747 toggle whether to show hidden files. (#344657,
748 Wouter Bolsterlee, Priit Laes, et al)
750 2007-03-23 Matthias Clasen <mclasen@redhat.com>
752 * gtk/gtkfilechooserdefault.c: Add a keybinding (C-l) to
753 toggle the visibility of the location entry. (#383354,
754 John Pye, patch by Carlos Garnacho)
756 2007-03-22 Matthias Clasen <mclasen@redhat.com>
758 * gtk/gtksettings.c (merge_color_scheme): Freeze property
760 * gtk/gtksettings.c (_gtk_settings_handle_event): Handle
761 the gtk-color-scheme xsetting being unset.
763 * gtk/gtkrc.c (gtk_rc_reparse_all_for_settings): Handle
766 2007-03-21 Matthias Clasen <mclasen@redhat.com>
768 * gtk/gtkprintoperation-unix.c: Remove leftover debug spew.
770 2007-03-21 Rodney Dawes <dobey@novell.com>
773 * gtk/gtkicontheme.[ch]:
774 * docs/reference/gtk/gtk-sections.txt:
775 * tests/testicontheme.c:
776 Add a new API call gtk_icon_theme_list_contexts so that one can
777 choose icons from a theme by context (#420719)
779 2007-03-21 Ross Burton <ross@burtonini.com>
782 Document the ::event signal (#420703).
784 2007-03-20 Kristian Rietveld <kris@gtk.org>
786 * gtk/gtktreeviewcolumn.c:
787 * gtk/gtktreeprivate.h: add _gtk_tree_view_column_get_focus_area().
789 * gtk/gtktreeview.c (gtk_tree_view_clamp_column_visible): add
790 focus_to_cell parameter, rework to handle clamping columns which
791 are bigger than the available page size better,
792 (gtk_tree_view_key_press): remove code handling moving the focus
793 to other column headers,
794 (gtk_tree_view_header_focus): add clamp_column_visible parameter,
795 fix RTL support, don't wrap around when moving focus to other
796 column headers, call gtk_tree_view_clamp_column_visible() instead
798 (gtk_tree_view_focus): only clamp the column visible when we are
799 explicitly moving to another column header (fixes #399555, Charles
801 (gtk_tree_view_move_cursor_left_right): update call to
802 gtk_tree_view_clamp_column_visible().
804 2007-03-19 Matthias Clasen <mclasen@redhat.com>
806 * demos/gtk-demo/appwindow.c: Explicitly set the title on the
809 2007-03-18 Matthias Clasen <mclasen@redhat.com>
811 * gtk/gtkentrycompletion.c (gtk_entry_completion_compute_prefix):
812 Ensure that the prefix is valid UTF-8. (#419568, Nickolay V. Shmyrev)
814 2007-03-18 Matthias Clasen <mclasen@redhat.com>
816 * modules/input/gtkimcontextmultipress.[hc]:
817 * modules/input/im-multipress.conf:
818 * modules/input/immultipress.c:
819 * modules/input/README.multipress: Add the multipress input
820 method. (#417446, Johannes Schmid, Murray Cumming)
822 * modules/input/Makefile.am: Glue
824 2007-03-17 Chris Wilson <chris@chris-wilson.co.uk>
826 * gdk/x11/gdkvisual-x11.c (_gdk_visual_init):
827 Initialise nxvisuals to 0 in order to handle XGetVisualInfo()
828 failures gracefully. (#419171)
830 2007-03-17 Emmanuele Bassi <ebassi@gnome.org>
832 * gtk/gtkrecentaction.c (recent_chooser_set_property),
833 (gtk_recent_action_set_property): Remove useless inlined
834 function and propagate the properties to the GtkRecentChooser
835 objects we create, instead of all the proxies.
837 (set_current_filter): Remove 'inline' marker.
839 2007-03-16 Emmanuele Bassi <ebassi@gnome.org>
841 Apply changes suggested by Michael Natterer. (#338843)
844 * gtk/gtkaction.c: Rename get_submenu() to create_menu();
845 rename gtk_action_get_submenu() to gtk_action_create_menu().
847 * gtk/gtkrecentaction.c: Update for GtkAction change.
849 * gtk/gtkuimanager.c (update_node): Update for GtkAction change;
850 also, use the menu from the GtkAction for both menuitem and
853 2007-03-16 Xan Lopez <xan@gnome.org>
855 * gtk/gtkwidget.c: Fix documentation error in
856 gtk_widget_set_redraw_on_allocate.
858 2007-03-16 Matthias Clasen <mclasen@redhat.com>
860 * gtk/gtkprintunixdialog.c (printer_added_cb): Scroll to
861 make the selected printer visible. (#418403, Nickolay V. Shmyrev,
862 patch by Christian Persch)
864 2007-03-15 Federico Mena Quintero <federico@novell.com>
866 Merged from gtk-2-10:
868 * gtk/gtkfilechooserdefault.c (find_good_size_from_style):
869 PANGO_PIXELS() gives us device units, which are *points* in
870 pangocairo's parlance, but we want actual pixels. So, get the
871 screen's resolution to compute the actual number of pixels.
874 2007-03-15 Emmanuele Bassi <ebassi@gnome.org>
876 * gtk/gtkrecentmanager.c (gtk_recent_manager_add_item): Remove
877 unused GError; do not allocate GtkRecentData and use a variable
878 on the stack. (#418673, Morten Welinder)
880 2007-03-15 Emmanuele Bassi <ebassi@gnome.org>
882 * gtk/gtkaction.[ch]: Add GtkActionClass::get_submenu() vfunc:
883 actions providing a menu item or a menu tool button with already
884 a submenu should return the GtkMenu widget.
886 * gtk/gtkuimanager.c (update_node): If an action provides its
887 own submenu, use it instead of adding an empty one
889 * gtk/gtkrecentaction.[ch]: Add GtkRecentAction, an action
890 implementing the GtkRecentChooser interface for displaying the
891 list of recently used files into menus and toolbars generated
892 using GtkUIManager. (#338843)
896 * gtk/gtk.symbols: Add GtkRecentAction API to the build.
898 * tests/testactions.c: Exercise the GtkRecentAction API.
900 2007-03-15 Chris Wilson <chris@chris-wilson.co.uk>
902 * gtk/gtkicontheme.c (ensure_valid_themes), (rescan_themes),
903 (gtk_icon_theme_rescan_if_needed): Protect ensure_valid_themes()
904 from recursion, which can happen for example if the app tries to
905 reload an icon from within a theme-changed handler. (#418531)
907 2007-03-15 Richard Hult <richard@imendio.com>
909 * gdk/quartz/gdkmain-quartz.c: Add stubs for
910 gdk_notify_startup_complete_with_id and gdk_window_set_startup_id
913 2007-03-15 Emmanuele Bassi <ebassi@gnome.org>
915 * gtk/gtkrecentmanager.c: Fix documentation errors. (Morten
918 2007-03-15 Tor Lillqvist <tml@novell.com>
920 * gdk/gdk.symbols: Add gdk_notify_startup_complete_with_id and
921 gdk_window_set_startup_id.
923 * gdk/win32/gdkmain-win32.c: Add dummy implementations of the above.
925 2007-03-15 Emmanuele Bassi <ebassi@gnome.org>
927 * gtk/gtkrecentchooserprivate.h:
928 * gtk/gtkrecentchooserutils.c: Move filtering of the recent
929 files list into the shared implementation; do the filtering
930 before the sorting, so that we always clamp on the desired
933 * gtk/gtkrecentchoosermenu.c: Remove the filtering of the
934 list, as it's already been done.
936 * gtk/gtkrecentchooserdefault.c: Ditto; also remove the
937 GtkTreeModelFilter: just reload the view if the sorting and
938 filtering properties change.
940 * gtk/testrecentchoosermenu.c: Exercise the limit property.
942 2007-03-14 Michael Natterer <mitch@imendio.com>
944 Make gtk_widget_set_extension_events() work on already realized
945 widgets (bug #379550, Tommi Komulainen)
947 * gdk/x11/gdkinput.c (gdk_input_set_extension_events): allow to be
948 called multiple times without leaking and work correctly when
949 already realized (don't rely on a configure event following).
951 * gtk/gtkwidget.c (gtk_widget_set_extension_events_internal): new
952 internal function which walks the GdkWindow tree and sets the
953 extension events on all windows that belong to the widget.
956 (gtk_widget_set_extension_events): use the new function.
958 2007-03-14 Emmanuele Bassi <ebassi@gnome.org>
960 Various clean ups in the GtkRecent code. (see #338843)
962 * gtk/gtkrecentchooserdefault.c:
963 * gtk/gtkrecentchoosermenu.c:
964 * gtk/gtkrecentchooserprivate.h:
965 * gtk/gtkrecentchooserutils.c: Move the recent chooser function
966 for getting the sorted and clamped list of recent files from the
967 manager outside the implementations.
969 * gtk/gtkrecentchooserdefault.c (chooser_set_sort_type): Repopulate
970 the list when the sorting order changes.
972 (gtk_recent_chooser_default_dispose),
973 (gtk_recent_chooser_default_finalize): Move object unref and
974 source removal from finalize to dispose.
976 * gtk/gtkrecentchooser.c (gtk_recent_chooser_type_init): Relax the
977 prerequisite for the GtkRecentChooser interface implementations,
978 from GtkObject to GObject.
980 (gtk_recent_chooser_class_init): Use GTK_PARAM_* instead of
983 2007-03-13 Emmanuele Bassi <ebassi@gnome.org>
985 Apply patch by Vytautas Liuolia for changing the startup
986 notification id on a window in the X11 backend. (#347375)
990 * gdk/x11/gdkdisplay-x11.c: Add gdk_notify_startup_complete_with_id()
991 and gdk_x11_display_get_startup_notification_id().
994 * gdk/x11/gdkwindow-x11.c: Add gdk_window_set_startup_id().
997 * gtk/gtkwindow.c: Add gtk_window_set_startup_id(), used to
998 change the startup notification id.
1000 (gtk_window_class_init), (gtk_window_init),
1001 (gtk_window_set_property): Add write-only "startup-id" property
1004 (gtk_window_realize): Set the startup notification id
1005 on a GtkWindow if it's valid.
1007 (gtk_window_map): If we have another valid startup notification
1008 id then finish the notification process.
1010 2007-03-13 Matthias Clasen <mclasen@redhat.com>
1012 * gtk/gtknotebook.c (gtk_notebook_real_insert_page):
1013 Fix tabbed browsing in epiphany. (#413664, Christian Persch)
1015 2007-03-12 Matthias Clasen <mclasen@redhat.com>
1017 * gtk/gtksizegroup.c (gtk_size_group_add_widget): Clarify
1018 docs. (#345844, Torsten Schoenfeld)
1020 * gdk/x11/gdkevents-x11.c (gdk_display_add_client_message_filter):
1021 * gdk/gdkwindow.c (gdk_window_add_filter): Add
1022 cross-references. (#351252, Vincent Untz)
1024 * gtk/gtkprintoperation.c: Fix an oversight in an
1025 example. (#381083, Ian Puleston)
1027 * gtk/gtkcombobox.c: Clean up and clarify docs. (#412484)
1029 2007-03-12 Matthias Clasen <mclasen@redhat.com>
1031 * gtk/gtkspinbutton.c (gtk_spin_button_style_set): Set
1032 the background of the panel window on style changes. (#402144,
1035 2007-03-12 Matthias Clasen <mclasen@redhat.com>
1037 * gtk/gtkbindings.c (gtk_binding_entry_add_signal): Remove
1038 an obsolete comment. (#402169, Xan Lopez)
1040 2007-03-12 Matthias Clasen <mclasen@redhat.com>
1042 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_property):
1043 Don't copy PangoLanguage. (#340031, Morten Welinder)
1045 2007-03-12 Matthias Clasen <mclasen@redhat.com>
1047 * gtk/gtkfilechooserbutton.c (change_icon_theme_get_info_cb):
1048 Handle the row reference path being NULL. (#410565, Joe Markus
1049 Clarke, patch by Chris Wilson)
1051 2007-03-11 Matthias Clasen <mclasen@redhat.com>
1053 * tests/testiconview.c: Handle Menu key presses without
1054 crash. (#385637, Christian Persch)
1056 2007-03-11 Matthias Clasen <mclasen@redhat.com>
1058 * gtk/gtktooltips.c (gtk_tooltips_get_info_from_tip_window):
1059 Don't crash if active_tips_data is NULL. (#382904, Li Yuan)
1061 2007-03-11 Matthias Clasen <mclasen@redhat.com>
1063 * gtk/gtktextview.c (gtk_text_view_set_buffer): Set first_para_mark
1064 to NULL. (#396805, Colin Leroy, patch by Mariano Suárez-Alvarez)
1066 2007-03-12 Kristian Rietveld <kris@gtk.org>
1068 * gtk/gtkfilechooserdefault.c (check_save_entry): immediately
1069 bail out if current_folder is NULL. (#350988, lots of reporters,
1070 modified patch by Jan Darmochwal).
1072 2007-03-10 Kristian Rietveld <kris@gtk.org>
1074 * gtk/gtktreeview.c (gtk_tree_view_search_dialog_hide): only
1075 hide the search dialog and send focus events if the search dialog
1076 is currently visible.
1078 2007-03-10 Richard Hult <richard@imendio.com>
1080 * gdk/quartz/gdkdrawable-quartz.c:
1081 (gdk_quartz_ref_cairo_surface): Reuse the surface during its lifetime.
1082 (gdk_quartz_drawable_get_context): Update for the new quartz cairo
1083 surface API (#410442). Don't lock focus unless called outside of an
1085 (gdk_quartz_drawable_release_context): Only flush the CG context and
1086 unlock focus if called outside of expose.
1087 (_gdk_quartz_drawable_finish): New function, used to free the cached
1090 * gdk/quartz/gdkwindow-quartz.c:
1091 (gdk_window_impl_quartz_begin_paint_region): A few small style changes.
1092 (_gdk_window_impl_quartz_get_type): No need to make the type info
1094 (gdk_window_quartz_process_all_updates): Move the autorelease pool
1095 allocation and freeing outside the loop.
1096 (_gdk_windowing_window_destroy): Finish the drawable.
1097 (move_resize_window_internal): Small cleanup and remove comment.
1099 * gdk/quartz/gdkpixmap-quartz.c: Finish the drawable.
1101 2007-03-10 Richard Hult <richard@imendio.com>
1103 * gdk/quartz/gdkprivate-quartz.h: Add missing function signature to fix
1106 2007-03-10 Richard Hult <richard@imendio.com>
1108 * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_get_name): Plug a leak.
1110 2007-03-10 Richard Hult <richard@imendio.com>
1112 * gdk/quartz/GdkQuartzView.c: Remove unneccesary exposure mask check.
1114 2007-03-10 Richard Hult <richard@imendio.com>
1116 * gdk/quartz/gdkevents-quartz.c: (gdk_screen_get_setting): Don't set
1117 the font name here, leave that to themes, fixes #387508.
1119 2007-03-10 Kristian Rietveld <kris@gtk.org>
1121 * gtk/gtktreemodelsort.c (gtk_tree_model_sort_ref_node),
1122 (gtk_tree_model_sort_real_unref_node): when (un)reffing an
1123 element, also (un)ref its parent elements. (Fixes #364946,
1124 reported by many, testcase by Andreas Koehler).
1126 2007-03-10 Matthias Clasen <mclasen@redhat.com>
1128 * gtk/gtkprintoperation-unix.c: Initialize the do_preview
1129 field of PrintResponseData. (#396703, Christian Persch)
1131 * tests/print-editor.c: Plug some leaks.
1133 2007-03-09 Matthias Clasen <mclasen@redhat.com>
1135 * gtk/gtktextview.c (gtk_text_view_end_selection_drag):
1136 Get rid of the unused event argument. Update all callers.
1138 * gtk/gtktextview.c (gtk_text_view_focus_out): Call
1139 gtk_text_view_end_selection_drag. (#351671, Boyd Timothy)
1141 2007-03-09 Matthias Clasen <mclasen@redhat.com>
1143 * modules/input/gtkimcontextxim.c
1144 (gtk_im_context_xim_filter_keypress): Don't commit
1145 modifier-adorned characters. (#331369, #335796, Lin Ma
1148 2007-03-09 Matthias Clasen <mclasen@redhat.com>
1150 * Everywhere: Remove unnecessary NULL checks before
1151 g_free(). (#369666, Morten Welinder, Djihed Afifi)
1153 * configure.in: Check for ftw.h
1155 2007-03-09 Matthias Clasen <mclasen@redhat.com>
1157 * gtk/gtkfilesystemwin32.c (get_icon_path): Remove
1158 C99isms. (#416525, Kazuki Iwamoto)
1160 2007-03-09 Tor Lillqvist <tml@novell.com>
1162 * README.win32: Update.
1164 2007-03-08 Matthias Clasen <mclasen@redhat.com>
1166 * gdk/x11/gdkasync.c (send_event_handler): Defer the callbacks
1167 to an idle to avoid deadlock with xcb-ified libX11. (#413032,
1170 2007-03-08 Matthias Clasen <mclasen@redhat.com>
1172 * gtk/gtknotebook.c (gtk_notebook_real_insert_page):
1173 Set child visibility to FALSE here; it will be turned
1174 back on in switch_page. (#413664, Carlos Garnacho)
1176 2007-03-08 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1178 * modules/engines/ms-windows/msw_style.c: Use proper border style
1179 when drawing shadow of scrolled windows on Windows XP (#168326)
1180 * modules/engines/ms-windows/xp_theme.c: Explicitly set size of
1181 element_part_map array to ensure it always is large enough.
1183 2007-03-08 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1185 * gtk/gtkcombobox.c: Add shadow-type style property, set shadow-type
1186 property of GtkEntry accordingly, unify size-allocation of toggle
1187 button (#411123, patch from Mathias Hasselmann).
1188 * gtk/gtkentry.c: Add shadow-type property. Query style properties
1189 on style changes only (#411123, patch from Mathias Hasselmann).
1190 * modules/engines/ms-windows/msw_style.c: Drop combo_box_draw_box
1191 hack as GtkComboBox emits drawing requests now (#411123, patch
1192 from Mathias Hasselmann).
1194 2007-03-08 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1196 * gtk/gtkscrolledindow.c: Improve look of GtkScrolledWindow on Windows
1197 by implementing a scrollbars-within-bevel style property. (#168326)
1199 2007-03-08 Mathias Hasselmann <mathias.hasselmann@gmx.de>
1201 * gtk/gtkfilesystemwin32.c: Use Windows shell icons. Icons are
1202 stored in the current theme with the name
1203 "gtk-win32-shell-icon;PATH;INDEX". PATH and INDEX reference shell
1204 icons as reported by SHGetFileInfoW. (#412221)
1206 2007-03-07 Matthias Clasen <mclasen@redhat.com>
1208 * gtk/gtkexpander.c (gtk_expander_paint_focus): Draw the
1209 focus around the arrow if there is no label widget.
1210 (#124045, Cody Russell)
1212 2007-03-07 Matthias Clasen <mclasen@redhat.com>
1214 * gtk/gtkcombo.c: (gtk_combo_init):
1215 * gtk/gtkcombobox.c: (gtk_combo_box_set_popup_widget),
1216 (gtk_combo_box_menu_setup):
1217 Set names on the popup widgets to make them themable. (#414975,
1220 2007-03-07 Michael Natterer <mitch@imendio.com>
1222 * gtk/gtkcellrendereraccel.c: use multihead safe ungrab functions
1223 instead of gdk_keyboard_ungrab() and gdk_pointer_ungrab(), remove
1224 empty finalize() implementation, some cosmetic cleanup
1227 2007-03-06 Chris Wilson <chris@chris-wilson.co.uk>
1229 * gtk/gtkicontheme.c (update_current_theme), (gtk_icon_theme_init),
1230 (do_theme_change), (gtk_icon_theme_set_custom_theme),
1232 Be careful not to trigger a style reset before we have loaded
1233 the icon theme. (#414875).
1235 2007-03-06 Tor Lillqvist <tml@novell.com>
1238 * gtk/Makefile.am: Further fixes for building on Win32 outside
1239 srcdir. (#413492, Mathias Hasselmann)
1241 2007-03-04 Ihar Hrachyshka <iharh@gnome.org>
1243 * configure.in: Added be@latin to ALL_LINGUAS. Problems seems to be
1246 2007-03-04 Claudio Saavedra <csaavedra@alumnos.utalca.cl>
1248 * configure.in: Removed be@latin from ALL_LINGUAS, as it's currently
1251 2007-03-04 Ihar Hrachyshka <iharh@gnome.org>
1253 * configure.in: Added be@latin to ALL_LINGUAS
1255 2007-03-03 Guillaume Savaton <llumeao@gmail.com>
1257 * configure.in: Added Esperanto (eo) to ALL_LINGUAS
1259 2007-03-01 Matthias Clasen <mclasen@redhat.com>
1261 * gtk/gtksettings.c: Always store gtk-color-scheme
1262 values from all sources in the ColorSchemeData struct
1263 and ignore the property_value for gtk-color-scheme.
1264 This fixes #412596, reported by Thomas Wood.
1266 2007-02-28 Matthias Clasen <mclasen@redhat.com>
1268 * gtk/gtksettings.c: Make color scheme update properly
1269 when changing themes. (#402131, Benjamin Berg)
1271 2007-02-28 Matthias Clasen <mclasen@redhat.com>
1273 * gtk/gtkrc.c: Don't leak references to the color-hash
1274 gotten from GtkSettings. (#409357, Benjamin Berg)
1276 2007-02-28 Tristan Van Berkom <tvb@gnome.org>
1278 * gtk/gtkradiobutton.c: Fixed a warning from
1279 g_object_set (radiobutton, "group", NULL, NULL).
1281 2007-02-26 Matthias Clasen <mclasen@redhat.com>
1283 Apply a patch by Carlos Garnacho to fix several problems
1284 with filechooser size handling (#325477, #151169, 143213,
1287 * gtk/gtkfilechooserdefault.c: Increase NUM_LINES slightly.
1288 (browse_widgets_create): Don't force the paned position to 200.
1289 (find_good_size_from_style): Take the size of the extra widget
1292 * gtk/gtkfilechooserdialog.c (file_chooser_widget_update_hints):
1293 Accept a minimal width parameter. Update all callers.
1295 2007-02-26 Matthias Clasen <mclasen@redhat.com>
1297 * gtk/gtkprintunixdialog.c: Change the label to "Pages per side",
1298 which is more accurate, suggested by Tim Waugh. String change!
1300 2007-02-26 Matthias Clasen <mclasen@redhat.com>
1302 * gtk/gtkprinteroptionwidget.c: Make the folder selection for
1303 print-to-file work. Reported by Ian Collier.
1305 2007-02-26 Chris Wilson <chris@chris-wilson.co.uk>
1307 Bug 409101 – invalid read to gtkicontheme.c insert_theme(), might cause gnome-panel crash
1309 * gtk/gtkicontheme.c: (scan_directory):
1310 Reorder the replacement of the shared base_name key, so that we
1311 avoid dereferencing the string in the icon_theme->all_icon
1312 hash table after freeing it from the dir->icons hash table.
1314 2007-02-26 Tor Lillqvist <tml@novell.com>
1316 * gdk/win32/gdkwindow-win32.c (gdk_window_set_icon_name): Add
1317 comment clarifying that "icon name" here is not related to the
1318 freedesktop.org icon naming stuff.
1320 2007-02-23 Dom Lachowicz <domlachowicz@gmail.com>
1322 * modules/engines/ms-windows/msw_style.c: Bug 411118 - bad bevel for
1323 progress bar on windows classic. Match from Mathias Hasselmann.
1325 2007-02-19 Tor Lillqvist <tml@novell.com>
1327 * gdk/win32/gdkinput.c
1328 (gdk_device_finalize, gdk_device_class_init): Remove.
1329 (gdk_device_get_type): Drop class init function. The X11 version
1330 doesn't have one either.
1331 (gdk_devices_list): Call gdk_display_list_devices() on _gdk_display.
1332 (gdk_display_list_devices): Check that the argument is
1335 * gdk/win32/gdkinput-win32.h (GdkAxisInfo, GdkDevicePrivate):
1336 Cleanup: remove unused fields.
1337 * gdk/win32/gdkinput-win32.c: Corresponding changes. Fix function
1338 names in a few debugging printouts.
1340 2007-02-18 Matthias Clasen <mclasen@redhat.com>
1342 * gtk/gtktextlayout.c (gtk_text_layout_move_iter_visually):
1343 Ignore invisible text when going to end of the previous line.
1346 2007-02-18 Richard Hult <richard@imendio.com>
1348 * gdk/quartz/gdkwindow-quartz.c:
1349 (gdk_window_quartz_process_all_updates),
1350 (_gdk_windowing_window_destroy): Setup release pools to plug two leaks,
1351 patch from Erik van Pienbroek, fixes bug #396649.
1353 2007-02-18 Richard Hult <richard@imendio.com>
1355 * gdk/quartz/gdkevents-quartz.c: Add stub for
1356 gdk_display_add_client_message_filter, patch from Taybin Rutkin. Fixes
1359 * gdk/quartz/gdkprivate-quartz.h: Add prototypes to fix build warnings.
1361 2007-02-18 Richard Hult <richard@imendio.com>
1363 * gdk/quartz/GdkQuartzView.h:
1364 * gdk/quartz/GdkQuartzWindow.h:
1365 * gdk/quartz/gdkquartz.h: Import AppKit.h instead of Quartz.h.
1366 * gdk/quartz/gdkscreen-quartz.c: (get_mm_from_pixels): Don't use
1367 userSpaceScaleFactor for 10.3. Those changes bring us closer to working
1368 on panther, patch from Mathias Hasselmann.
1370 * gdk/quartz/gdkeventloop-quartz.c: Add includes to fix build warnings.
1372 2007-02-16 Behdad Esfahbod <behdad@gnome.org>
1374 * gdk/gdkpango.c (gdk_pango_layout_get_clip_region): Use PANGO_PIXELS
1375 instead of division. (#334617)
1377 2007-02-16 Kristian Rietveld <kris@gtk.org>
1379 * gtk/gtktreeprivate.h: add cursor_offset field.
1381 * gtk/gtktreeview.c (gtk_tree_view_init),
1382 (gtk_tree_view_move_cursor_page_up_down): fix off by one error
1383 in page up/down handling by memorizing the offset into the cursor
1384 row. (Fixes #399809, reported by Bruce Bowler).
1386 2007-02-16 Kristian Rietveld <kris@gtk.org>
1388 * gtk/gtktreeview.c (gtk_tree_view_search_dialog_hide): send
1389 a focus-in event to the tree view after hiding the search dialog.
1390 (#356515, Rich Burridge, Peter Parente).
1392 2007-02-16 Kristian Rietveld <kris@imendio.com>
1394 * tests/testtooltips.c (query_tooltip_text_view_cb): also handle
1395 keyboard tooltips. (#408325, Matthias Clasen).
1397 2007-02-16 Xan Lopez <xan@gnome.org>
1399 * gtk/gtkcombobox.c (gtk_combo_box_expose_event): Cleanup the logic
1400 in expose event handler. Reviewed by Matthias Clasen, #406112
1402 2007-02-16 Matthias Clasen <mclasen@redhat.com>
1404 * gtk/gtkmain.c: Run pre_parse_hook only once. (#403139, Kjartan
1407 2007-02-15 Matthias Clasen <mclasen@redhat.com>
1409 * gdk/x11/gdmain-x11.c (_gdk_xgrab_check_button_event): Be more
1410 careful when checking for ButtonRelease events that end implicit
1411 grabs. (#386618, Christof Krüger)
1413 2007-02-15 Matthias Clasen <mclasen@redhat.com>
1415 * gtk/gtktextbtree.c (_gtk_text_btree_delete): Free the lines
1416 even if there are no views. (#408018, Albert Huang)
1418 2007-02-15 Cody Russell <bratsche@gnome.org>
1420 * gdk/win32/gdkevents-win32.c: Make sure we get enough main context
1421 iterations while we're resizing so that the window contents are resized
1422 more smoothly (#389765).
1424 * gdk/win32/gdkevents-win32.c: Fix flickering widgets when window contents
1425 are resized (#310522).
1427 2007-02-15 Matthias Clasen <mclasen@redhat.com>
1429 * gtk/updateiconcache.c: Handle symlinked .icon files
1430 intelligently; also avoid storing duplicate strings.
1432 2007-02-15 Michael Natterer <mitch@imendio.com>
1434 * gtk/gtkmenushell.c: remove two antique function typedefs that
1435 are probably obsolete for ages.
1437 2007-02-14 Stefan Kost <ensonic@users.sf.net>
1439 reviewed by: Matthias Clasen <mclasen@redhat.com>
1441 * configure.in: determine installation prefixes of dependent libs to
1442 crossreference docs (#407146).
1444 2007-02-14 Kristian Rietveld <kris@imendio.com>
1446 * gtk/gtktooltip.c (child_location_foreach): check return value
1447 of gtk_widget_translate_coordinates() so we cannot end up
1448 using uninitialized x, y values. (#407863, patch from Carlos
1451 2007-02-14 Kristian Rietveld <kris@imendio.com>
1453 * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_realize_button):
1454 use TREE_VIEW_DRAG_WIDTH/2 when calculating the drag window
1455 position instead of a hardcoded value. (Taken from maemo-gtk).
1457 2007-02-14 Michael Natterer <mitch@imendio.com>
1459 * gtk/gtkmenu.c (gtk_menu_motion_notify): don't forget to set the
1460 state of the synthesized GDK_ENTER_NOTIFY event. Fix taken from
1463 2007-02-13 Kristian Rietveld <kris@imendio.com>
1465 * gtk/gtktooltip.c (gtk_tooltip_hide_tooltip): stop any
1466 pending tooltip timeout. (Fixes #406110, Carlos Garnacho).
1468 2007-02-10 Emmanuele Bassi <ebassi@gnome.org>
1470 * gtk/gtkrecentchoosermenu.c: Fix the english of the comment;
1471 remove some type checking; use better variable naming for the
1472 internal menu item markers.
1474 2007-02-09 Emmanuele Bassi <ebassi@gnome.org>
1476 * gtk/gtkrecentchoosermenu.c: Add support for both prepending
1477 and appending custom menu items.
1479 (gtk_recent_chooser_menu_constructor): Add a placeholder menu
1480 item for the empty menu case, and for giving us a starting
1481 point for the recent items populating process.
1483 (gtk_recent_chooser_menu_insert_item),
1484 (gtk_recent_chooser_menu_dispose_items): Insert an item at
1485 the position following the placeholder (and find that position
1488 (idle_populate_func), (idle_populate_clean_up): Show the
1489 placeholder menu item, instead of creating one each time.
1491 (gtk_recent_chooser_menu_populate): Kill some indirections
1492 and hide the placeholder before populating the menu.
1494 (set_recent_manager): Remember to remove the idle population
1495 source if the manager changes.
1497 * tests/testrecentchoosermenu.c: Test the appending and
1498 prepending of the menu items to the recent chooser menu
1501 2007-02-08 Emmanuele Bassi <ebassi@gnome.org>
1503 * gtk/gtkrecentchoosermenu.c (idle_populate_func): Keep count
1504 of the displayed items to build the menu items mnemonic instead
1505 of the overall item count. (#377164)
1507 (idle_populate_clean_up): Append a menu item if all the items
1508 got filtered in the idle populate function. (#405696)
1510 * tests/Makefile.am:
1511 * tests/testrecentchoosermenu.c: Add a test for the
1512 GtkRecentChooserMenu widget.
1514 Thu Feb 8 13:07:08 2007 Tim Janik <timj@imendio.com>
1516 * applied patch from Xan Lopez which adds GTK_BUTTONBOX_CENTER to
1517 GtkButtonBox (bug #336159).
1520 * gtk/gtkvbbox.c, gtk/gtkhbbox.c, gtk/gtkbbox.c:
1521 support GTK_BUTTONBOX_CENTER.
1523 * tests/testbbox.c: new button box test, which allows testing of
1524 the various button box properties.
1526 * tests/testgtk.c: added GTK_BUTTONBOX_CENTER. to button box test.
1528 2007-02-07 Cody Russell <bratsche@gnome.org>
1530 * gdk/gdk.symbols: Add gdk_event_request_motions
1532 Wed Feb 7 19:03:28 2007 Tim Janik <timj@gtk.org>
1534 * gtk/gtkentry.c (gtk_entry_motion_notify): fixed motion request
1535 condition which was wrongly ported with my last commit.
1537 Tue Feb 6 15:53:59 2007 Tim Janik <timj@imendio.com>
1539 * gtk/gtktextview.c (gtk_text_view_motion_event):
1540 * gtk/gtkspinbutton.c (gtk_spin_button_motion_notify):
1541 * gtk/gtkaboutdialog.c (credits_motion_notify_event):
1542 * gtk/gtkhruler.c (gtk_hruler_motion_notify):
1543 * gtk/gtkvruler.c (gtk_vruler_motion_notify):
1544 * gtk/gtkentry.c (gtk_entry_motion_notify):
1545 * gtk/gtktooltip.c (_gtk_tooltip_handle_event):
1546 * gtk/gtkhsv.c (gtk_hsv_motion): call gdk_event_request_motions()
1547 for new motion events after receiving motion hints.
1549 * gdk/gdkevents.[hc]: added gdk_event_request_motions().
1551 2007-02-06 Kristian Rietveld <kris@imendio.com>
1553 * gtk/gtktooltip.c (find_topmost_widget_coords_from_event):
1554 remove unused get of has_tooltip.
1556 * tests/testtooltips.c (query_tooltip_tree_view_cb): use the
1557 portable g_snprintf instead of snprintf.
1559 2007-02-06 Michael Natterer <mitch@imendio.com>
1561 * gtk/gtktooltip.c (gtk_tooltip_finalize): chain up.
1563 (gtk_tooltip_show_tooltip): move variables and code to local
1564 scope. Fixes warnings about maybe uninitialized variables.
1566 2007-02-06 Kristian Rietveld <kris@imendio.com>
1572 * gtk/gtk.symbols: build system foo.
1574 * gtk/gtkmain.c (gtk_main_do_event): call tooltip event handler
1575 hook for appropriate events.
1577 * gtk/gtkmarshalers.list: add BOOLEAN:INT,INT,BOOLEAN,OBJECT.
1579 * gtk/gtkrc.c: add style for gtk-tooltip.
1581 * gtk/gtksettings.c (gtk_settings_class_init): make the
1582 different tooltip timeouts configurable.
1584 * gtk/gtkwidget.[ch]: add new properties, signals, make sure
1585 tooltips are hidden on unmap, destroy, update window event
1586 mask on realize, hook into focus change and show help
1589 * gtk/gtkwindow.h: move GtkWindow typdef to gtkwidget.h ...
1591 * gtk/gtktooltip.[ch]: new files.
1594 * tests/testtooltips.c: add test application.
1596 2007-02-05 Dom Lachowicz <domlachowicz@gmail.com>
1598 * modules/engines/ms-windows/msw_style.c: Fix bug 404506, caused
1599 by prematurely releasing a DC. By Hiroyuki Yamamoto
1600 * modules/engines/ms-windows/msw_style.c: Fix bug 403470 - leaking
1601 pixbufs when drawing rotated tabs. By Daniel Atallah
1603 2007-02-05 Michael Natterer <mitch@imendio.com>
1605 * gtk/gtksettings.c: add new boolean settings gtk-enable-accels
1606 and gtk-enable-mnemonics which enable/disable accelerators and
1607 mnemonics (bug #72375, based on a patch from Tommi Komulainen).
1609 * gtk/gtkwindow.c (gtk_window_activate_key)
1610 * gtk/gtkmenushell.c (gtk_menu_shell_key_press): don't invoke them
1611 if the resp. setting is FALSE.
1613 * gtk/gtkaccellabel.c (gtk_accel_label_refetch)
1614 * gtk/gtklabel.c (gtk_label_set_pattern_internal): don't display
1615 them if the setting is FALSE.
1617 * gtk/gtklabel.c: added signal connection to the screen's settings
1618 object and traverse all widgets on the screen when the setting
1619 changes. It's slightly ugly to also update GtkAccelLabels here,
1620 but less ugly than connecting and traversing all widgets twice.
1622 2007-02-05 Michael Natterer <mitch@imendio.com>
1624 * gtk/gtktextbuffer.h (enum GtkTextBufferTargetInfo): changed
1625 values from G_MAXUINT-0, -1, -2 to -1, -2, -3 so we stay within
1626 ansi C enum value limits. Fixes bug #46757.
1628 2007-02-03 Soren Sandmann <sandmann@daimi.au.dk>
1630 * gtk/gtksequence.[ch]: Remove these files since GSequence has
1631 been moved into GLib.
1633 * gtk/gtkliststore.c: Port to GSequence instead of GtkSequence.
1635 * configure.in: Require glib-2.13.0
1637 2007-02-04 Tor Lillqvist <tml@novell.com>
1639 * gdk/win32/gdkcursor-win32.c: Don't define BITMAPV5HEADER on
1640 mingw with w32api >= 3.8, which has it in wingdi.h. (#403896)
1642 2007-02-02 Kristian Rietveld <kris@gtk.org>
1644 * gtk/gtktreeview.c (gtk_tree_view_row_changed): remove unused
1645 style_get of vertical-separator. (#403165, Chris Wilson).
1647 2007-02-02 Christian Persch <chpe@svn.gnome.org>
1649 * gtk/gtkfilechoosersettings.c: (get_config_filename),
1650 (ensure_settings_read), (_gtk_file_chooser_settings_init),
1651 (_gtk_file_chooser_settings_set_show_hidden),
1652 (_gtk_file_chooser_settings_set_expand_folders),
1653 (_gtk_file_chooser_settings_save): Use a simple key file instead of a
1654 markup file. Bug #399592.
1656 2007-02-02 Mariano Suárez-Alvarez <mariano@gnome.org>
1658 * gtk/gtkcellrenderertext.c(gtk_cell_renderer_text_class_init):
1659 be a little more helpful with the docs on GtkCellRendererText:alignment.
1662 2007-02-01 Michael Natterer <mitch@imendio.com>
1664 * gtk/gtkmenu.c (gtk_menu_paint): pass &event->area to
1665 gtk_paint_box() calls.
1667 2007-02-01 Michael Natterer <mitch@imendio.com>
1669 * gtk/gtkmenu.c (gtk_menu_button_press)
1670 (gtk_menu_button_release)
1671 (gtk_menu_button_scroll): remove redundant and confusing
1672 if (GTK_IS_MENU (widget)) checks because "widget" is always a
1675 Thu Feb 1 12:22:06 2007 Tim Janik <timj@imendio.com>
1677 * gtk/gtkcombobox.c (gtk_combo_box_list_destroy): remove extra reference
1678 that gtkcombobox keeps on priv->popup_widget if it's a tree view.
1680 2007-01-31 Christian Persch <chpe@svn.gnome.org>
1682 * gtk/gtkaboutdialog.c: (update_credits_button_visibility),
1683 (gtk_about_dialog_set_authors), (gtk_about_dialog_set_documenters),
1684 (gtk_about_dialog_set_artists),
1685 (gtk_about_dialog_set_translator_credits): Hide the Credits button iff
1686 there are no credits to show. Bug #402806.
1688 2007-01-31 Tor Lillqvist <tml@novell.com>
1690 * gdk/win32/gdkinput-win32.c (print_cursor): New debugging
1692 (_gdk_input_wintab_init_check): Call it when debugging output is
1694 (_gdk_input_wintab_init_check): Skip duplicated cursors for Wacom
1695 tablets. The Wacom driver reports duplicated cursors with
1696 physid==0. Fix verified by Robert Ögren.
1698 2007-01-30 Felix Riemann <friemann@svn.gnome.org>
1700 * modules/printbackends/file/gtkprintbackendfile.c:
1701 (file_printer_get_options): Fix leaked string. Fixes bug #402565.
1703 2007-01-30 Matthias Clasen <mclasen@redhat.com>
1705 * gdk/x11/gdkwindow-x11.c (gdk_x11_window_move_to_current_desktop):
1706 (gdk_x11_window_set_user_time): Be more careful about toplevel
1707 possibly being NULL. (#402453, Sebastian Bacher)
1709 Tue Jan 30 12:09:56 2007 Tim Janik <timj@gtk.org>
1711 * gtk/gtksettings.c: cleaned up ::color-hash registration to not abuse
1712 class_n_properties and leave an uninitialized value array behind.
1714 2007-01-29 Michael Natterer <mitch@imendio.com>
1716 * gtk/gtkmenuitem.c (gtk_menu_item_select)
1717 (gtk_menu_item_deselect): queue a draw on the parent_menu_item of
1718 this menu item's menu, to enable themeing menu items depending on
1719 whether something is selected in their submenu (patch taken from
1722 2007-01-28 Matthias Clasen <mclasen@redhat.com>
1724 * gtk/gtktoolbar.c: Reinstate gtk_toolbar_content_new_compatibility()
1725 that was mistakenly "cleaned up" a while ago. Also
1726 revert a problematic change to the screen_changed
1727 handler. (#401598, Søren Sandmann)
1729 2007-01-28 Matthias Clasen <mclasen@redhat.com>
1731 * gtk/gtkframe.c (gtk_frame_size_allocation): Fix a
1732 problem with large y thickness. (#136592, Xan Lopez)
1734 2007-01-28 Matthias Clasen <mclasen@redhat.com>
1736 * gtk/gtkaction.c (gtk_action_new): Use canonical
1739 2007-01-27 Matthias Clasen <mclasen@redhat.com>
1741 * gtk/gtknotebook.c (gtk_notebook_draw_arrow):
1742 (gtk_notebook_draw_focus): Avoid some unnecessary
1743 gtk_widget_get_style() calls.
1745 2007-01-27 Matthias Clasen <mclasen@redhat.com>
1748 * gtk/gtktoolitem.c:
1749 * gtk/gtktoolbutton.c: Rearrange things so that setting
1750 multiple properties causes not more than a single
1751 reconstruction of the contents.
1753 * gtk/gtkaction.c (connect_proxy): Set all tool button
1754 properties in one go.
1756 2007-01-27 Matthias Clasen <mclasen@redhat.com>
1758 * gtk/gtkstatusicon.c:
1759 * gtk/gtktrayicon-x11.c: Fix GtkStatusIcon to not
1760 take up space on the panel if it is invisible. (340110, Christian
1763 * tests/teststatusicon.c:
1764 * tests/Makefile.am: Updates
1766 2007-01-27 Matthias Clasen <mclasen@redhat.com>
1770 * gtk/gtk.symbols: Add deprecation guards for gtk_rc_style_ref/unref
1771 and the old file selector. (#348256)
1773 2007-01-26 Matthias Clasen <mclasen@redhat.com>
1775 * gtk/gtkiconview.c: Documentation fixes (#400530, Anders Brander)
1777 2007-01-26 Matthias Clasen <mclasen@redhat.com>
1779 * gtk/updateiconcache.c: Check the mtime of all directories,
1780 not just the toplevel, if ftw() is available. (#331671, Behdad
1783 * configure.in: Check for ftw.h.
1785 2007-01-26 Michael Natterer <mitch@imendio.com>
1787 * modules/input/gtkimcontextxim.c (gtk_im_context_xim_finalize):
1788 destroy the XIM only if it exists. While the code does look safe
1789 in general, there can be corner cases where the "reconnecting"
1790 boolean being FALSE does not correspond to the XIM being
1791 allocated (fixes #329450, fix taken from maemo-gtk).
1793 Fri Jan 26 13:07:07 2007 Tim Janik <timj@imendio.com>
1795 * gtk/gtkstyle.c (draw_insertion_cursor): clamp cursor coordinates to
1796 window bounds (fix from Maemo Gtk).
1798 2007-01-26 Michael Natterer <mitch@imendio.com>
1800 * gtk/gtkentrycompletion.c (gtk_entry_completion_insert_prefix):
1801 only block/unblock completion->priv->insert_text_id if it is
1802 actually connected. While this can't happen the way GtkEntry
1803 itself uses the completion, it's still public API and should not
1804 blindly call functions that will spit warnings (fix taken from
1807 2007-01-25 Matthias Clasen <mclasen@redhat.com>
1809 * gdk/gdkwindow.c: Reduce locking overhead by not repeatedly getting
1810 the paintable iface.
1812 2007-01-24 Michael Natterer <mitch@imendio.com>
1814 * gtk/gtkwidget.c (gtk_widget_set_state): revert generic disabling
1815 of PRELIGHT state for the reasons given in bug #135666. Widget
1816 states are sometimes abused or otherwise used wrongly for historic
1817 reasons, causing this part of the patch to break e.g. menu items.
1819 2007-01-24 Roozbeh Pournader <roozbeh@farsiweb.info>
1821 * README: Remove mention of no-longer-existing PATCH
1822 keyword in bugzilla. (#396899)
1824 2007-01-23 Carlos Garcia Campos <carlosgc@gnome.org>
1826 * gtk/gtkpagesetup.c
1827 (gtk_page_setup_set_paper_size_and_default_margins): Fix memory leak.
1830 2007-01-22 Chris Wilson <chris@chris-wilson.co.uk>
1832 Bug 399314 – Add G_GNUC_WARN_UNUSED_RESULT to gtk_style_attach
1835 Cause gcc to issue a warning if the style returned from
1836 gtk_style_attach is not used. Failure to update
1837 widget->style causes some very difficult to reproduce bugs,
1838 eg Bug 353498 – crash in Terminal: changing icon theme.
1840 2007-01-19 Michael Emmel <mike.emmel@gmail.com>
1842 * gdk/directfb/gdkevents-directfb.c: added fixes for window
1843 crossing events frm Attilio Fiandrotti<attilio.fiandrotti@gmail.com>
1845 2007-01-19 Matthias Clasen <mclasen@redhat.com>
1847 * gtk/gtkcalendar.c: Fix build breakage.
1849 2007-01-19 Kristian Rietveld <kris@imendio.com>
1851 * gtk/gtktreeview.c (gtk_tree_view_motion_bin_window),
1852 (add_scroll_timeout), (gtk_tree_view_drag_motion): factor out
1853 add_scroll_timeout(). (taken from maemo-gtk).
1855 2007-01-18 Matthias Clasen <mclasen@redhat.com>
1857 * gtk/gtkcalendar.c: Fix problems with the initial
1858 focus in GtkCalendar. (#397783, Vincent Untz)
1860 2007-01-19 Robert Ögren <gtk@roboros.com>
1862 Fix for bug #143460 - missed tablet clicks on Windows
1864 * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check):
1865 Request absolute reporting of tablet button state, and cut down
1866 the packet queue size a bit.
1867 (_gdk_input_other_event): Change button state handling
1868 accordingly. Also drop the no longer necessary code that detects
1869 missed clicks/releases for button 1. The switch to absolute button
1870 state should prevent missed events for all buttons. Additionally,
1871 swap button 2 and 3.
1872 (_gdk_input_grab_pointer): Don't reset button_state, that will only
1873 cause a new press event as soon as the next tablet packet arrives.
1875 2007-01-19 Tor Lillqvist <tml@novell.com>
1877 Build Wintab support always on Windows. Don't require the Wintab
1880 * configure.in: Drop the --with-wintab option. Drop the
1881 HAVE_WINTAB feature test macro and Automake variable.
1884 * config.h.win32.in: Drop HAVE_WINTAB.
1886 * gdk/win32/gdkevents-win32.c
1887 * gdk/win32/gdkinput.c
1888 * gdk/win32/gdkinput-win32.h
1889 * gdk/win32/gdkinput-win32.c
1890 * gdk/win32/gdkmain-win32.c: Make HAVE_WINTAB ifdef blocks
1893 * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Try
1894 to load wintab32.dll dynamically here. If it is found look up the
1895 handful Wintab functions we use.
1896 (rest of file): Use these function pointers instead of calling the
1897 functions from wntab32x.lib. The code in wntab32x.lib did the same
1898 thing anyway: tried to load wintab32.dll, and looked up the
1899 addresses of the actual functions from it.
1902 * gdk/win32/Makefile.am: Drop the libwntab32x hacks.
1904 * gdk/win32/wintab.h
1905 * gdk/win32/pktdef.h: New files. Copied from the Wintab
1906 SDK. Copyright blurb says: "The text and information contained in
1907 this file may be freely used, copied, or distributed without
1908 compensation or licensing restrictions."
1910 * README.win32: Update a bit. Remove the text about the Wintab
1913 2007-01-18 Tor Lillqvist <tml@novell.com>
1915 * gdk-pixbuf/Makefile.am
1917 * gdk/win32/Makefile.am
1918 * gtk/Makefile.am: Fixes for building outside srcdir on
1919 Win32. (#336819, #340013) Drop distributing the handmade .la
1920 libtool wrapper for the wntab32x library. It's too much trouble
1921 making it work when building outside srcdir. Just link to the
1922 library direcly using -Wl,win32/libwntab32x.a.
1924 2007-01-18 Michael Natterer <mitch@imendio.com>
1926 * gtk/gtkcheckbutton.c
1931 * gtk/gtkviewport.c: pass more clip rectangles to gtk_paint_foo()
1932 functions. Based on a patch from maemo-gtk (bug #398023).
1934 2007-01-17 Tor Lillqvist <tml@novell.com>
1936 * gtk-zip.sh.in: Include also the COPYING file.
1938 2007-01-17 Matthias Clasen <mclasen@redhat.com>
1940 * modules/printbackends/cups/gtkprintbackendcups.c: Don't use
1941 httpGetFd() when building against cups 1.1
1943 2007-01-17 Tor Lillqvist <tml@novell.com>
1945 Proper fix for #396175:
1947 * gtk/gtkimmulticontext.c: Revert change by Hans Breuer below: Do
1948 include gtkprivate.h. On Win32 we do want to use the redefinition
1949 of GTK_LOCALEDIR as a call to the function _gtk_get_localedir().
1951 * gtk/gtkimmodule.c: Instead, correct the prefix also on
1952 simple_context_info.domain_dirname. Do the prefix corrections
1953 always on Win32, not just when GTK_LIBDIR is defined. i.e., until
1954 now they were done only in the autoconfiscated gcc builds. Hans
1955 needs to make sure GTK_LIBDIR and GTK_LOCALEDIR are defined also
1957 (correct_localedir_prefix): New function, like
1958 correct_libdir_prefix(), but for GTK_LOCALEDIR, in case
1959 GTK_LOCALEDIR is not a descendant of GTK_LIBDIR.
1960 (gtk_im_module_initialize): Thus call correct_localedir_prefix()
1961 on the domain_dirname instead of correct_libdir_prefix().
1962 (_gtk_im_module_list): Call correct_localedir_prefix() on
1963 simple_context_info.domain_dirname.
1965 2007-01-16 Matthias Clasen <mclasen@redhat.com>
1967 * gtk/gtkrange.c (range_grab_remove): Queue a redraw when the
1968 grab changes. (#396470, Benjamin Berg)
1970 2007-01-15 Emmanuele Bassi <ebassi@gnome.org>
1972 * gtk/gtkrecentchoosermenu.c: Ellipsize the menu items label
1973 if they grow too much. (#357303)
1975 2007-01-14 Matthias Clasen <mclasen@redhat.com>
1977 * gtk/gtkicontheme.c (theme_lookup_icon): When finding a matching
1978 non-scalable dir, keep going and look for a closer match.
1979 (#395830, Luca Ferretti)
1981 2007-01-14 Christian Persch <chpe@svn.gnome.org>
1983 * gtk/gtkclipboard.c: (gtk_clipboard_set_text),
1984 (gtk_clipboard_set_image): Use gtk_target_table_new_from_list and
1985 gtk_target_table_free instead of duplicating the code. Bug #396493.
1987 2007-01-13 Matthias Clasen <mclasen@redhat.com>
1989 * gtk/gtkuimanager.c: Don't crash if menu or toolbar
1990 positions can't be found. (#396161, Hans Breuer)
1992 2007-01-13 Matthias Clasen <mclasen@redhat.com>
1994 * gtk/gtkselection.c (_gtk_selection_request): Plug
1995 memory leaks. (#396160, Carlos Garcia Campos)
1997 2007-01-13 Matthias Clasen <mclasen@redhat.com>
1999 * configure.in: Link libgtk against Xfixes. (#396074,
2002 2007-01-13 Matthias Clasen <mclasen@redhat.com>
2004 * gtk/gtkradiobutton.c (gtk_radio_button_focus): Avoid
2005 a compiler warning. (#395045, Chris Wilson)
2007 2007-01-13 Hans Breuer <hans@breuer.org>
2009 * gtk/gtkprintoperation-win32.c : take the custom tab label from
2010 gtk_print_operation_set_custom_tab_label() into account (bug #390746).
2012 * gtk/gtkimmulticontext.c : don't include "gtkprivate.h" to avoid
2013 differing definitions of GTK_LOCALEDIR (bug #396175).
2015 * gtk/gtktreeview.c : use g_snprintf instead of snprintf, which is
2016 not available everywhere
2018 * gtk/makefile.msc.in : updated
2020 2007-01-12 Michael Natterer <mitch@imendio.com>
2022 * gtk/gtkentry.c (gtk_entry_button_press): don't add
2023 entry->scroll_offset to entry->drag_start_y. Fixes the entry
2024 starting drags after ridiculously small mouse movements.
2026 2007-01-11 Richard Hult <richard@imendio.com>
2028 * demos/gtk-demo/main.c: (load_file): Close the file after it's
2029 loaded (bug #395316).
2031 2007-01-11 Kjartan Maraas <kmaraas@gnome.org>
2033 * gtk/gtkfilesystemunix.c: (expand_tilde):
2034 Make a single tilde go to $HOME in the location entry.
2035 Patch from Yevgen Muntyan. Closes the gtk+ part of
2038 2007-01-10 Behdad Esfahbod <behdad@gnome.org>
2040 * gdk/gdkpango.c (gdk_draw_layout_with_colors):
2041 * gtk/gtklabel.c (gtk_label_size_request):
2042 Use pango_matrix_transform_rectangle(). (#340141)
2044 * configure.in: Bump pango requirement to 1.15.3.
2046 2007-01-10 Kristian Rietveld <kris@imendio.com>
2048 * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_init):
2049 refactor to initialize indicator_size to TOGGLE_WIDTH instead
2050 of the hardcoded value of 12.
2052 2007-01-09 Matthias Clasen <mclasen@redhat.com>
2054 * configure.in: Fix the directfb cairo test. (#394855,
2057 2007-01-09 Behdad Esfahbod <behdad@gnome.org>
2059 * configure.in: Fix comment for --with-included-loaders. That option
2060 affects builds with module loading enabled too.
2062 2006-01-08 Peter Teichman <peter@novell.com>
2064 * gtk/gtkfilechooserdefault.c:
2065 * gtk/gtkfilechooserprivate.h:
2066 * gtk/gtkfilechoosersettings.c:
2067 * gtk/gtkfilechoosersettings.h:
2068 Save the expanded state of the folder browser with the file
2069 chooser settings. Resolves the expander portions of (#153828,
2072 2007-01-08 Emmanuele Bassi <ebassi@gnome.org>
2074 * gtk/gtkrecentchoosermenu.c (gtk_recent_chooser_menu_create_item):
2075 Don't leak the icon pixbuf after setting it to the image menu
2076 item. Found by Paolo Borelli.
2078 2007-01-08 Matthias Clasen <mclasen@redhat.com>
2080 * gtk/gtktreemodel.c (gtk_tree_path_to_string): Don't
2081 corrupt memory when faced with paths with ridiculously
2082 large indices. Found by the GTKVTS test suite.
2084 2007-01-08 Matthias Clasen <mclasen@redhat.com>
2086 * gtk/gtkmodules.c (_gtk_modules_init): Set
2087 default_display_opened before loading modules. (#393102,
2090 2007-01-07 Matthias Clasen <mclasen@redhat.com>
2092 * gtk/gtktextview.c (gtk_text_view_set_border_window_size):
2093 Call text_window_realize() with the correct parameters.
2094 (#393813, Yevgen Muntyan)
2096 2007-01-07 Matthias Clasen <mclasen@redhat.com>
2098 * gtk/gtkstatusbar.c: Move docs inline, and expand them
2101 2007-01-06 Matthias Clasen <mclasen@redhat.com>
2103 * gtk/gtklabel.c: Make line wrapping work with width-chars
2104 and max-width-chars, and simplify the storage of wrap-width.
2105 (#322580, Itai Bar-Haim)
2107 2007-01-06 Tor Lillqvist <tml@novell.com>
2109 * gdk/win32/cursor.bdf: New file. Downloaded from
2110 freedesktop.org's webcvs. Slighly edited cursors "crosshair",
2111 "diamond_cross", "draft_large", "gobbler" and "target" to fix
2112 #392504. It is possible that the same end result could have been
2113 achieved by tweaking bdfcursor.c instead.
2115 * gdk/win32/bdfcursor.c: Add optional debugging output.
2117 * gdk/win32/xcursors.h: Regenerated.
2119 2007-01-05 Matthias Clasen <mclasen@redhat.com>
2121 * gtk/gtknotebook.c (gtk_notebook_set_menu_label_text): Left-align
2122 menu labels. (#393255, Michail Crayson)
2124 2007-01-05 Kristian Rietveld <kris@gtk.org>
2126 * gtk/gtktreeview.c (gtk_tree_view_dy_to_top_row): handle tree
2127 == NULL. (Fixes #392685, reported by Yevgen Muntyan).
2129 2007-01-05 Kristian Rietveld <kris@gtk.org>
2131 * gtk/gtktreeview.c (gtk_tree_view_row_changed): do allow to
2132 invalidate nodes if the tree view is not realized. (#363147,
2133 Carlos Garnacho, Miguel Cabrera).
2135 2007-01-05 Matthias Clasen <mclasen@redhat.com>
2137 * gtk/gtkmenu.c (gtk_menu_paint): Take the scroll arrow into
2138 account when drawing the background. (#393166, Benjamin Berg)
2140 2007-01-05 Behdad Esfahbod <behdad@gnome.org>
2142 * gtk/gtklabel.c (get_layout_location): Fix broken width computation,
2145 2007-01-05 Carlos Garnacho <carlosg@gnome.org>
2147 * gtk/gtknotebook.c (gtk_notebook_size_request): take into account
2148 both scroll arrows when calculating size request in GTK_POS_LEFT or
2149 GTK_POS_RIGHT notebooks. (#393124, reported by Christian Persch)
2151 2007-01-05 Michael Natterer <mitch@imendio.com>
2153 * gtk/gtkwindow.c (gtk_window_key_release_event): chain up to
2154 the right function (fix taken from maemo-gtk).
2156 2007-01-05 Behdad Esfahbod <behdad@gnome.org>
2159 * gdk/gdkpango.c (gdk_draw_layout_line_with_colors),
2160 (gdk_draw_layout_with_colors):
2161 * gdk/gdkwindow.c (gdk_window_draw_glyphs_transformed):
2162 Avoid overflow when converting coordinates to Pango units. (#332266,
2165 2007-01-04 Matthias Clasen <mclasen@redhat.com>
2167 * gtk/gtkcombobox.c (gtk_combo_box_popup): move set_cursor
2168 after realization of the popup window, so clamp node doesn't fail.
2169 (#346616, Tommi Komulainen, patch by Kristian Rietveld).
2171 2007-01-04 Behdad Esfahbod <behdad@gnome.org>
2173 * gtk/gtklabel.c (get_layout_location): Fix uninitialized width
2176 2007-01-04 Matthias Clasen <mclasen@redhat.com>
2179 * gdk-pixbuf/Makefile.am:
2181 * gdk/win32/rc/gdk.rc.in: Cross-compilation fixes.
2182 (#392646, Yevgen Muntyan)
2184 2007-01-04 Matthias Clasen <mclasen@redhat.com>
2186 * demos/gtk-demo/textscroll.c:
2187 * gtk/gtkhandlebox.c:
2188 * gtk/gtkcolorsel.c: Fix some compiler warnings.
2190 2007-01-03 Matthias Clasen <mclasen@redhat.com>
2192 * gtk/gtktextview.c: Rework the beep-on-uninserted-text
2193 by calling the input method regardless of editability,
2194 and beeping from the commit/preedit-changed handlers.
2195 (#390514, Yevgen Muntyan)
2197 2007-01-03 Matthias Clasen <mclasen@redhat.com>
2199 Fix #332604, reported by Joe Wreschnig, patch
2200 by Jan Arne Petersen and Behdad Esfahbod.
2202 * gtk/gtklabel.c (gtk_label_size_allocate): Only
2203 set the width of the layout when necessary.
2204 (get_layout_location): Use pango_layout_get_pixel_extents()
2205 instead of pango_layout_get_width().
2207 2007-01-03 Matthias Clasen <mclasen@redhat.com>
2209 * modules/printbackends/cups/gtkprintbackendcups.c
2210 (available_choices): Don't leak conflicts.
2212 * gtk/gtkprintoperation.c (gtk_print_operation_finalize):
2213 Don't leak the status string.
2215 2007-01-03 Matthias Clasen <mclasen@redhat.com>
2217 * gtk/gtkfilechooserdefault.c (update_chooser_entry):
2218 Exit early if we can't get file info - this happens
2219 if the iter points to the row where we are editing
2220 the name for a newly created folder. (#392191, Michael
2221 Partridge, patch by Kristian Rietveld)
2223 2007-01-03 Matthias Clasen <mclasen@redhat.com>
2226 * gdk/x11/*.c: Apply a patch by Chris Wilson to
2227 avoid spurious valgrind warnings from XSendEvent()
2230 * modules/printbackends/cups/gtkprintbackendcups.c: Close
2231 the http connection after getting the PPD.
2233 * gtk/gtkprinteroptionwidget.c (filesave_changed_cb):
2236 2007-01-03 Matthias Clasen <mclasen@redhat.com>
2238 * gtk/gtkassistant.c (remove_page): If the current page
2239 is removed, always pick a different one. (#392457,
2242 2007-01-03 Matthias Clasen <mclasen@redhat.com>
2244 * modules/printbackend/cups/*.c: Coding style cleanups.
2246 2007-01-03 Matthias Clasen <mclasen@redhat.com>
2248 * configure.in: Export SED to make sourcing of
2249 libtool work. Tighten up the directfb pkgconfig check.
2251 2007-01-03 Michael Natterer <mitch@imendio.com>
2253 * gtk/gtkstyle.c (option_menu_get_props)
2254 * gtk/gtkoptionmenu.c (gtk_option_menu_get_props): Use
2255 gtk_border_free when freeing borders.
2257 2007-01-03 Matthias Clasen <mclasen@redhat.com>
2259 * gtk/gtkentry.c (get_text_area_size): Work when the
2260 entry is not realized. (#392315, Yevgen Muntyan)
2262 * gtk/gtkentry.c (gtk_entry_queue_draw): Use
2263 GTK_WIDGET_DRAWABLE() here. (#392227, Chris Wilson)
2265 * gtk/gtkentry.c (cursor_blinks): Don't get settings
2266 unnecessarily. (#392227)
2268 2007-01-02 Matthias Clasen <mclasen@redhat.com>
2270 * gtk/gtkwindow.c (gtk_window_move_resize): Only process
2271 updates on the window at hand, not on all windows, to
2272 avoid violating resize/redraw ordering constraints.
2273 (#362406, Owen Taylor)
2275 2007-01-03 Kristian Rietveld <kris@gtk.org>
2277 * gtk/gtkcellrendererprogress.c
2278 (gtk_cell_renderer_progress_class_init): fix docs.
2280 2007-01-02 Matthias Clasen <mclasen@redhat.com>
2282 * gtk/updateiconcache.c: Include locale.h
2284 2007-01-02 Matthias Clasen <mclasen@redhat.com>
2286 * gtk/updateiconcache.c (main): Call setlocale().
2289 * gtk/gtkfilesystemunix.c:
2290 * gtk/gtkfilesystemwin32.c:
2291 * gtk/gtkfilechoosersettings.c:
2292 * gtk/updateiconcache.c: Consistently use folder instead of
2293 directory in translated messages. (#344584, Javier F. Serrador)
2295 2007-01-02 Matthias Clasen <mclasen@redhat.com>
2297 Try to fix #315732, reported by Luke Hutchinson:
2299 * gdk/x11/xsettings-client.[hc]:
2300 * gdk/x11/gdkdevents-x11.c: Don't assume that ref'ing a GdkWindow
2301 will guarantee that it can be looked up in the xid hash later.
2302 Also, use the nesting server grab function during the xsettings
2303 client initialization. Finally, make xsettings client not
2304 eat DestroyNotifys so that GDK can do its regular cleanup.
2306 2007-01-02 Michael Natterer <mitch@imendio.com>
2308 * gtk/gtkrange.c (gtk_range_scroll) (gtk_range_move_slider): beep
2309 when a keybinding didn't change adjustment->value.
2311 2007-01-02 Matthias Clasen <mclasen@redhat.com>
2313 * gtk/gtktextbuffer.c (gtk_text_view_key_press_event):
2314 Try harder not to beep on events which are not meant to
2315 insert stuff in the buffer. (#390514, Yevgen Muntyan)
2317 2007-01-02 Matthias Clasen <mclasen@redhat.com>
2319 * gtk/gtktextbufferrichtext.c: Small documentation fixes.
2321 2007-01-02 Matthias Clasen <mclasen@redhat.com>
2323 * gtk/gtkentry.c (get_text_area_size): Center in the frame.
2324 (#304482, Rob Staudinger, patch by Richard Stellingwerff)
2326 2007-01-02 Michael Emmel <mike.emmel@gmail.com>
2328 * gdkwindow-directfb.c: fixed leak of dfb resource on destroy
2330 2007-01-01 Matthias Clasen <mclasen@redhat.com>
2332 * gtk/gtkscrolledwindow.h:
2333 * gtk/gtkscrolledwindow.c: Only handle key bindings
2334 for scrolling if the scrollbars are visible.
2335 (#340135, Christian Persch)
2337 2007-01-01 Matthias Clasen <mclasen@redhat.com>
2339 * gtk/gtktextview.c (gtk_text_view_scroll_hpages):
2340 Don't segfault on horizontal scrolling.
2342 2007-01-01 Matthias Clasen <mclasen@redhat.com>
2344 * gtk/gtknotebook.h:
2345 * gtk/gtknotebook.c: Only handle key bindings for
2346 tab reordering if the tabs are shown and reorderable.
2347 (#390468, Yevgen Muntyan)
2349 * gtk/gtkmarshalers.list: Add required marshaler
2351 2007-01-01 Matthias Clasen <mclasen@redhat.com>
2353 * gtk/gtkcontainer.c (gtk_container_class_list_child_properties):
2354 Mention in the docs that the return value is
2355 NULL-terminated. (#383373, Christian Neumair)
2357 2007-01-01 Matthias Clasen <mclasen@redhat.com>
2359 * gtk/gtkicontheme.c (load_themes): Waste less time
2360 with non-directories. (#391725, Chris Wilson)
2362 2007-01-01 Matthias Clasen <mclasen@redhat.com>
2364 * gtk/gtkcellrendererprogress.c: Implement activity mode
2365 for GtkCellRendererProgress. (#377851, Brad Taylor)
2367 2007-01-01 Matthias Clasen <mclasen@redhat.com>
2369 Fix some IPP compliance issues. (#391523, Albrecht Dress)
2371 * modules/printbackends/cups/gtkcupsutils.c
2372 (gtk_cups_request_encode_option): Use IPP_TAG_JOB, not
2374 * modules/printbackends/cups/gtkprintbackendcups.c
2375 (gtk_print_backend_cups_print_stream): Don't add the
2376 requesting-user-name attribute a second time.
2378 2007-01-01 Matthias Clasen <mclasen@redhat.com>
2380 * gtk/gtkimcontextsimple.c: Fix en/em dash confusion. (#378462)
2382 2006-12-31 Emmanuele Bassi <ebassi@gnome.org>
2384 * gtk/gtkrecentchoosermenu.c (set_recent_manager): Use the
2385 right object when disconnecting from the GtkRecentManager::changed
2386 signal; save us a few indirections using a variable.
2388 2006-12-31 Emmanuele Bassi <ebassi@gnome.org>
2390 * gtk/gtkrecentchoosermenu.c: Move the signal and idle
2391 disconnections into the dispose function, as well as the
2392 object unrefs; reset every handler id and the
2393 pointers. (suggested by Paolo Borelli, #390873)
2395 2006-12-31 Matthias Clasen <mclasen@redhat.com>
2397 * gtk/gtkprintoperation-win32.c: Include windows.h (#391229,
2400 2006-12-30 Matthias Clasen <mclasen@redhat.com>
2402 * gtk/gtktextview.c (gtk_text_view_destroy): Remove the
2403 scroll timeout. (#390872, Yevgen Muntyan)
2405 2006-12-30 Matthias Clasen <mclasen@redhat.com>
2407 * gtk/gtkprintoperation-unix.c:
2408 * gtk/gtkprintbackend.c:
2409 * gtk/gtkfilechooserdefault.c:
2410 * gtk/gtksettings.c: Move a few settings to gtksettings.c
2411 to make sure they show up in the docs. (#365364, Christian
2414 2006-12-30 Matthias Clasen <mclasen@redhat.com>
2416 * gtk/gtkassistant.c: Redraw assistant on reallocate
2417 to avoid rendering glitches. (#343956, Christian
2418 Persch, Carlos Garnacho)
2420 2006-12-30 Matthias Clasen <mclasen@redhat.com>
2422 * gtk/gtkrange.c: Typo fix. (#352121, Clytie Siddall)
2424 2006-12-30 Matthias Clasen <mclasen@redhat.com>
2426 * gtk/gtkaction.c: Improve the docs of the "label"
2427 property. (#341730, Kristof Vansant)
2429 2006-12-30 Matthias Clasen <mclasen@redhat.com>
2431 * gtk/gtkwindow.c (gtk_window_compute_configure_request_size):
2432 Correctly handle min size. (#320465, Philipp Langdale)
2434 2006-12-30 Matthias Clasen <mclasen@redhat.com>
2436 * gtk/prop-editor.c: Implement editing of flags.
2438 2006-12-30 Matthias Clasen <mclasen@redhat.com>
2443 * gtk/gtkstatusbar.c:
2444 * gtk/gtktextview.c: Don't install cursors on insensitive
2445 widgets. (#358864, Jan Schampera)
2447 2006-12-29 Matthias Clasen <mclasen@redhat.com>
2449 * gtk/gtkrecentmanager.h:
2450 * gtk/gtkprintoperation.c: Fix doc typos. (#370909,
2453 * gtk/gtkstyle.c (gtk_style_attach): Clarify docs. (#353423,
2456 * gtk/gtkentry.c (blink_cb):
2457 * gtk/gtktextview.c (blink_cb): Don't die in an assertion
2458 if focus went missing. Just warn, clean up and continue.
2461 2006-12-29 Carlos Garnacho <carlosg@gnome.org>
2463 * gtk/gtknotebook.c (gtk_notebook_scroll): return if the widget that
2464 originally received the event is a notebook page. (#315440, reported
2467 2006-12-29 Matthias Clasen <mclasen@redhat.com>
2469 * gdk/gdkcolor.c (gdk_color_hash): Fix a typo. (#390613,
2472 2006-12-29 Matthias Clasen <mclasen@redhat.com>
2474 * tests/prop-editor.c: Display children of containers
2475 and cell renderers of cell layouts.
2478 * gtk/gtkcelllayout.[hc] (gtk_cell_layout_get_cells):
2479 New function to get the cell renderers of a cell layout.
2481 * gtk/gtktreeviewcolumn.c:
2482 * gtk/gtkcellview.c:
2483 * gtk/gtkiconview.c: Implement get_cells.
2485 2006-12-28 Matthias Clasen <mclasen@redhat.com>
2487 * gtk/gtkiconview.c: Use word wrapping by default, and
2488 center multiline labels. (#318763, Ross Burton)
2490 * gtk/gtkcellrenderertext.c (get_layout): Remove a special
2491 case for single-line layouts.
2493 2006-12-28 Matthias Clasen <mclasen@redhat.com>
2495 * gtk/gtkarrow.c: Fix a typo in the docs. (#390423,
2498 * gtk/gtkuimanager.c (update_node): Only use the results
2499 of find_menu/toolbar_position() if they succeed. May fix
2502 2006-12-28 Matthias Clasen <mclasen@redhat.com>
2504 * gdk/gdk.c: Fix some formatting errors in docs.
2506 2006-12-28 Tor Lillqvist <tml@novell.com>
2508 * gtk/gtkstatusicon.c (gtk_status_icon_finalize)
2509 (gtk_status_icon_update_image): Don't leak HICONs on
2510 Win32. (#364868, Hiroyuki Yamamoto)
2512 2006-12-28 Carlos Garnacho <carlosg@gnome.org>
2514 Make GtkNotebook able to drop detached tabs anywhere. Bug #360225.
2516 * gtk/gtkwidget.c (gtk_widget_class_init): add "drag-failed" signal.
2517 * gtk/gtkmarshalers.list: add new marshaler definition.
2518 * gtk/gtkenums.h: add GtkDragResult enum.
2520 * gtk/gtkdnd.c (gtk_drag_drop_finished): emit "drag-failed" if DND
2521 operation wasn't successful.
2522 (_gtk_drag_source_handle_event) (gtk_drag_drop)
2523 (gtk_drag_selection_get) (gtk_drag_cancel) (gtk_drag_key_cb)
2524 (gtk_drag_grab_broken_event_cb) (gtk_drag_grab_notify_cb)
2525 (gtk_drag_button_release_cb) (gtk_drag_abort_timeout): tell
2526 gtk_drag_drop_finished() the operation result.
2528 * gtk/gtknotebook.c (gtk_notebook_drag_failed): new function.
2529 (gtk_notebook_drag_data_get): do not call window creation hook here.
2530 (gtk_notebook_init): do not set "application/x-rootwindow-drop"
2531 target, instead connect to "drag-failed".
2532 (gtk_notebook_draw_focus): fix potential crasher if cur_page is NULL.
2534 2006-12-28 Mikael Hallendal <micke@imendio.com>
2536 * gdk/quartz/gdkevents-quartz.c: Factored out the event loop
2537 integration into gdkeventloop-quartz.c.
2539 * gdk/quartz/Makefile.am: Added gdkeventloop-quartz.c
2541 * gdk/quartz/gdkeventloop-quartz.c: New file containing the event loop
2544 2006-12-27 Matthias Clasen <mclasen@redhat.com>
2546 * modules/printbackends/lpr/gtkprintbackendlpr.c
2547 (gtk_print_backend_lpr_print_stream): Close the io channel
2548 on unref. (#390159, Joe Markus Clarke)
2550 2006-12-27 Matthias Clasen <mclasen@redhat.com>
2552 * gdk/gdk.h: Remove redundant declarations (#390097,
2555 2006-12-27 Kristian Rietveld <kris@gtk.org>
2557 Support inverting arrows via XSetting. (#377979, Yevgen Muntyan).
2559 * gtk/gtksettings.c (gtk_settings_class_init): add new setting
2560 gtk-alternative-sort-arrows.
2562 * gdk/win32/gdkproperty-win32.c (gdk_screen_get_setting): add
2565 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: set new
2566 gtk-alternative-sort-arrows setting to true.
2568 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
2569 invert direction if gtk-alternative-sort-arrows is TRUE.
2571 2006-12-27 Tor Lillqvist <tml@novell.com>
2573 * gtk/gtk.symbols: Add gtk_status_icon_get_screen and
2574 gtk_status_icon_set_screen.
2576 * gtk/gtkstatusicon.c: Implement gtk_status_icon_position_menu()
2577 on Windows. Keep track of where the last button click on the
2578 taskbar icon took place, and return that. Obviously not correct if
2579 no button has ever been clicked on the icon, or if the geometry of
2580 the taskbar has changed since. But for most use cases where a menu
2581 is going to be displayed as a direct result of a button click on
2582 the status icon, works fine. (#377349)
2584 Implement getting the orientation property on Windows.
2586 (gtk_status_icon_embedded_changed)
2587 (gtk_status_icon_orientation_changed): Ifdefify these functions
2588 that are used only on X11.
2590 2006-12-27 Tor Lillqvist <tml@novell.com>
2592 * gtk/gtkfilesystemwin32.c (execute_callbacks): Fix
2593 typo. (#390035, Kazuki Iwamoto)
2595 2006-12-27 Matthias Clasen <mclasen@redhat.com>
2597 * gtk/gtkcellview.c (gtk_cell_view_set_model): Accept NULL.
2599 * gtk/gtkcombobox.c (gtk_combo_box_set_model):
2600 (gtk_combo_box_unset_model): Handle repeated unsetting
2601 of models without warnings. (#367529, Robert Ancell)
2603 2006-12-27 Matthias Clasen <mclasen@redhat.com>
2605 * modules/printbackends/cups/gtkcupsutils.c:
2606 * modules/printbackends/cups/gtkprintbackendcups.c: Use
2607 getters for http fields where available. (#364866,
2610 2006-12-27 Matthias Clasen <mclasen@redhat.com>
2612 * gtk/gtkwidget.c (gtk_widget_show): Add a g_return_if_fail.
2613 (#362614, Xan Lopez)
2615 2006-12-27 Matthias Clasen <mclasen@redhat.com>
2617 * gtk/gtkuimanager.c (update_node): If a required action
2618 is missing, don't recurse over the children. (#349119,
2621 2006-12-27 Matthias Clasen <mclasen@redhat.com>
2623 Fix a few problems with nested menus in comboboxes
2624 (#386694, Yevgen Muntyan)
2626 * gtk/gtkcombobox.c (gtk_combo_box_menu_fill_level): Always
2627 connect the activate callback.
2628 (gtk_combo_box_menu_item_activate): Do nothing if called on
2629 an item with a submenu.
2630 (gtk_combo_box_menu_row_deleted): Remove a submenu when it
2633 2006-12-26 Mariano Suárez-Alvarez <mariano@gnome.org>
2635 * gtk/gtkfilechooserbuuton.[hc]: Add a file-set signal to the
2636 filechooser button. Bug 353196.
2638 2006-12-26 Kristian Rietveld <kris@gtk.org>
2640 * gtk/gtktreeview.c (gtk_tree_view_search_init): fix typo causing
2641 the search dialog timeout never to be refreshed. (#389581,
2642 Andrzej Szombierski).
2644 2006-12-26 Kristian Rietveld <kris@gtk.org>
2646 Lots of scrolling fixes. Made scrolling work properly in not fully
2647 validated tree views; fixed a bunch of corner cases.
2649 * gtk/gtktreeview.c (validate_visible_area): if a row's dy is past
2650 upper - page_size, we know it is located at the end so the test for
2651 dy + height has been dropped.
2652 In the same case if area_below < 0, we know this is the last node
2653 in the tree view so area_above is page_size - height of this row.
2654 (validate_visible_area): got rid of subtracting new_height -
2655 old_height from area_{below,above}, it didn't make any sense at
2656 all and the full height of the row should be subtracted instead.
2657 (validate_visible_area): when scrolling to a given path, set the
2658 top row directly together with the dy offset, then sync that top_row
2660 (gtk_tree_view_set_top_row): new function to directly set a top_row.
2661 (gtk_tree_view_dy_to_top_row): refactored to use
2662 gtk_tree_view_set_top_row().
2663 (gtk_tree_view_top_row_to_dy): make sure dy >= 0 when done.
2664 (gtk_tree_view_adjustment_changed): only update our dy and
2665 top_row if the adjustment's dy actually changed.
2667 2006-12-26 Christian Persch <chpe@cvs.gnome.org>
2669 * gtk/gtknotebook.c: (gtk_notebook_real_insert_page):
2670 Return the correct value from gtk_notebook_insert_page if the
2671 page-added handler reorders the tabs. Bug #345094.
2673 2006-12-26 Carlos Garnacho <carlosg@gnome.org>
2675 Fix small regressions in GtkNotebook tab detaching. Bug #378852.
2677 * gtk/gtknotebook.c (gtk_notebook_do_arrow): grab focus to allow tabs
2678 scrolling when hovering with a detached tab.
2679 (gtk_notebook_stop_reorder): Do not deparent the wrong tab if the
2680 focus tab has changed during a tab DND operation.
2681 (gtk_notebook_drag_end): ensure that the dropped tab gets focused.
2682 (gtk_notebook_paint): do not take cur_page as a reference to paint the
2683 box if it's detached.
2684 (gtk_notebook_calculate_tabs_allocation): focus_tab may be different
2685 to the detached tab if we hover the arrows during a tabs detaching
2686 operation, do not allocate it unconditionally in 0,0.
2688 2006-12-26 Carlos Garnacho <carlosg@gnome.org>
2690 Expose improvements for GtkNotebook. Bug #383435
2692 * gtk/gtknotebook.c (gtk_notebook_expose): propagate the event to tab
2694 (gtk_notebook_draw_focus): do not repaint the whole focused tab again.
2695 (gtk_notebook_draw_tab): do not send handmade expose events to tab
2698 2006-12-26 Matthias Clasen <mclasen@redhat.com>
2700 * gtk/gtkfilesystemunix.c (execute_callbacks): Return
2701 FALSE. (#389623, Carlos Garnacho Parro)
2703 * gtk/gtkrange.c (stop_scrolling): Avoid spurious
2706 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
2708 * gtk/gtkplug.c: (gtk_plug_construct_for_display),
2709 (gtk_plug_unrealize): Notify the "embedded" property also on
2710 normal construction and when destroying the socket window.
2713 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
2715 * gtk/gtkaboutdialog.c: (gtk_about_dialog_class_init),
2716 (gtk_about_dialog_init), (display_credits_dialog),
2717 (display_license_dialog):
2718 * gtk/gtkfilechooserdialog.c: (gtk_file_chooser_dialog_class_init),
2719 (gtk_file_chooser_dialog_init),
2720 (gtk_file_chooser_dialog_constructor),
2721 (gtk_file_chooser_dialog_unmap):
2722 * gtk/gtkrecentchooserdefault.c:
2723 (_gtk_recent_chooser_default_init):
2724 * gtk/gtkrecentchooserdialog.c:
2725 (gtk_recent_chooser_dialog_class_init),
2726 (gtk_recent_chooser_dialog_init),
2727 (gtk_recent_chooser_dialog_constructor),
2728 (gtk_recent_chooser_dialog_unmap): Set the HIG spacings directly
2729 instead of using style-set handlers. Fix the filechooser's spacing
2730 between content and action area to 12px. Bug #372447.
2732 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
2734 * gtk/gtkstatusbar.c: (gtk_statusbar_size_allocate):
2735 Don't assume statusbar->label is the statusbar's frame's child when
2736 shrinking the size allocation when the grip is shown. Bug #372452.
2738 2006-12-25 Christian Persch <chpe@cvs.gnome.org>
2740 * gtk/gtkpagesetupunixdialog.c: (printer_status_cb),
2741 (add_custom_paper): Fix mem leaks. Bug #389194.
2743 2006-12-24 Matthias Clasen <mclasen@redhat.com>
2745 * gtk/gtktextutil.c: Remove debug output.
2747 * gtk/gtktextview.c: Improve the DND scrolling
2748 behaviour. (#92387, Carlos Garnacho Parro)
2750 * gtk/gtkaccellabel.c: Improve translators comments.
2751 (#389298, Christian Persch)
2753 2006-12-24 Bastien Nocera <hadess@hadess.net>
2755 * gtk/gtkrecentmanager.c: Fix typo (s/expansive/expensive)
2758 2006-12-24 Christian Persch <chpe@cvs.gnome.org>
2760 * docs/reference/gtk/gtk-sections.txt:
2762 * gtk/gtkpagesetupunixdialog.c: (fill_paper_sizes_from_printer):
2763 * gtk/gtkprinter-private.h:
2764 * gtk/gtkprinter.c: (gtk_printer_list_papers):
2765 * gtk/gtkprinter.h: Make gtk_printer_list_papers public. Bug #345587.
2767 2006-12-24 Carlos Garcia Campos <carlosgc@gnome.org>
2769 * gtk/gtkpagesetupunixdialog.c: Don't ignore reverse portrait option
2770 when is selected in page setup dialog. Fixes bug #365047.
2772 2006-12-24 Behdad Esfahbod <behdad@gnome.org>
2774 * gtk/gtkentry.c (_gtk_entry_effective_inner_border):
2775 Use gtk_border_free when freeing border.
2777 2006-12-24 Matthias Clasen <mclasen@redhat.com>
2779 * gtk/gtkentry.c (gtk_entry_button_press): When
2780 shift-clicking, keep the larger part of the selection
2781 selected. (#353709, Benjamin Otte)
2783 * gtk/gtkbutton.c (gtk_button_get_props): Use
2784 gtk_border_free when freeing borders.
2786 * gtk/gtkbutton.c (gtk_button_grab_notify): Be more
2787 careful when faking a button release. (#323146,
2790 * gtk/gtkhandlebox.c (draw_textured_frame): Draw the
2791 handle with the right orientation, depending on the
2792 position of the handlebox. (#159764, Benjamin Berg)
2794 2006-12-24 Behdad Esfahbod <behdad@gnome.org>
2796 * gtk/gtkstyle.c (gtk_border_copy), (gtk_border_free): Use gslice for
2797 GtkBorder (#383557).
2799 2006-12-24 Behdad Esfahbod <behdad@gnome.org>
2801 Bug 340141 – Update to Pango 1.16 API
2803 * gdk/gdkpango.c (layout_iter_get_line_clip_region),
2804 (gdk_pango_layout_line_get_clip_region):
2805 * gtk/gtkcalendar.c (gtk_calendar_size_request):
2806 * gtk/gtkentry.c (gtk_entry_get_pixel_ranges),
2807 (get_layout_position), (gtk_entry_find_position),
2808 (gtk_entry_adjust_scroll):
2809 * gtk/gtkiconview.c (get_pango_text_offsets):
2810 * gtk/gtklabel.c (get_cursor_direction):
2811 * gtk/gtkstyle.c (get_insensitive_layout):
2812 * gtk/gtktextdisplay.c (render_para):
2813 * gtk/gtktextlayout.c (allocate_child_widgets),
2814 (find_display_line_below), (find_display_line_above),
2815 (gtk_text_layout_move_iter_to_previous_line),
2816 (gtk_text_layout_move_iter_to_next_line),
2817 (gtk_text_layout_move_iter_to_line_end),
2818 (gtk_text_layout_iter_starts_line),
2819 (gtk_text_layout_move_iter_to_x):
2820 * gtk/gtktextutil.c (limit_layout_lines):
2821 Use the _readonly version of pango_layout_iter_get_line(),
2822 pango_layout_iter_get_run(), pango_layout_get_line(), and
2823 pango_layout_get_lines().
2825 * gtk/gtkmain.c (gtk_get_default_language): Use
2826 pango_get_default_language().
2828 2006-12-24 Matthias Clasen <mclasen@redhat.com>
2830 * gtk/gtkentry.c (gtk_entry_set_text): Emit changed
2831 and notify:text only once. The same fix was applied
2832 for replacing the selection via DND or copy-and-paste.
2833 (#64998, Damon Chaplin, Sven Herzberg)
2835 2006-12-23 Matthias Clasen <mclasen@redhat.com>
2837 * gtk/gtkimmulticontext.c: Be careful to not override
2838 GTK+ translations with the translations of the input
2839 method. (#317080, Tor Lillqvist)
2841 * modules/input/imcedilla.c: Use standard macros
2842 for translation domain and locale dir.
2844 * gtk/gtkimcontextsimple.c: Allow composing l with
2845 stroke. (#349638, Daniel Lublin)
2847 * gtk/gen-paper-names.c: Fix a thinko in the suffix
2848 calculation. (#382369, Christian Persch)
2850 * gtk/paper_names_offsets.c: Regenerated.
2852 2006-12-22 Matthias Clasen <mclasen@redhat.com>
2854 * modules/engines/pixbuf/pixbuf.h:
2855 * modules/engines/pixbuf/pixbuf-rc-style.h:
2856 * modules/engines/pixbuf/pixbuf-style.h: Move
2857 G_GNUC_INTERNAL before function declarations. (#352276,
2860 2006-12-22 Matthias Clasen <mclasen@redhat.com>
2862 * demos/gtk-demo/*.c: Fix some leaks. (#348108, Chris
2865 2006-12-22 Matthias Clasen <mclasen@redhat.com>
2867 * *.c: Replace a lot of idle and timeout calls by
2868 the new gdk_threads api.
2872 * gdk/gdk.c: Add functions to allow threadsafe handling
2873 of idles and timeouts wrt. to the GDK lock. (#321886,
2876 2006-12-22 Matthias Clasen <mclasen@redhat.com>
2878 * gdk/gdkpango.c: Use pango_cairo_show_error_underline.
2879 (#340141, Behdad Esfahbod)
2881 * configure.in: Check for getc_unlocked.
2883 * gtk/xdgmime/xdgmimemagic.c: Use getc if getc_unlocked is
2884 unavailable. (#381499)
2886 * tests/teststatusicon.c: Fix a typo
2888 2006-12-22 Matthias Clasen <mclasen@redhat.com>
2890 Make it possible to track the embeddedness of
2891 statusicon (#387215, Martyn Russell, patch by Christian
2894 * gtk/gtkstatusicon.c: Add orientation and embedded properties.
2896 * gtk/gtkplug-x11.c: Add an embedded property.
2897 * tests/teststatusicon.c: Test the new properties.
2899 * gtk/gtkwidget.c (gtk_widget_get_draw_rectangle): Don't
2900 leak draw_border. (#387170, Kjartan Maraas)
2902 2006-12-21 Matthias Clasen <mclasen@redhat.com>
2904 * gtk/gtkfilechooserembed.c (_gtk_file_chooser_embed_set_delegate()):
2905 Typo fix. (#388123, Murray Cumming)
2907 * gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event):
2908 Generate double-click events. (#380421, Tommi Komulainen)
2910 * gdk/x1/gdkinput-xfree.c (_gdk_input_configure_event):
2911 (_gdk_input_enter_event): Correct return_if_fail checks.
2912 (#379803, Tommi Komulainen)
2914 * gdk/gdkdisplay.c: Improve the docs of some functions operating
2915 on the default display. (##353438, Mariano Suárez-Alvarez)
2917 2006-12-21 Matthew Barnes <mbarnes@redhat.com>
2919 * docs/reference/gdk/gdk-sections.txt:
2920 * gdk/gdkcolor.[ch] (gdk_color_to_string): Add a function for
2921 converting a GdkColor to a string (#373856).
2923 * configure.in: Bump pango requirement to 1.15.2.
2925 2006-12-20 Matthias Clasen <mclasen@redhat.com>
2927 * gdk/keynames.txt: Mark arrow keys as translatable. (#369506,
2930 * gdk/keyname-table.h: Regenerated
2932 * gtk/gtktextbuffer.c: Add signal documentation. (#317064,
2933 Søren Wedel Nielsen)
2935 * gtk/gtktextview.c (gtk_text_view_start_selection_drag):
2936 Silently return if a drag is already in progress, rather
2937 than asserting. (#335622, Li Yuan, testcase by Erwann Chenede)
2939 * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_new_with_dialog):
2940 Allow any GtkDialog that implements GtkFileChooser as
2941 dialog. (#335473, Tommi Komulainen)
2943 2006-12-20 Mikael Hallendal <micke@imendio.com>
2945 * gtk/gtkstatusicon.c: (gtk_status_icon_init): Fixed a last minute
2946 change in the quartz backend.
2948 2006-12-20 Mikael Hallendal <micke@imendio.com>
2950 * gtk/Makefile.am: Added gtkstatusicon-quartz.c
2951 * gtk/gtkstatusicon-quartz.c: Implements the quartz backend for the
2953 * gtk/gtkstatusicon.c: Hooked in the new quartz backend. Bug #387874.
2955 2006-12-19 Matthias Clasen <mclasen@redhat.com>
2957 * gtk/gtkprintunixdialog.c: Add a tooltip explaining the
2958 format of page ranges, and improve the page sequence icon
2959 for the case of n_copies == 1.
2961 2006-12-19 Mikael Hallendal <micke@imendio.com>
2963 * gdk/quartz/gdkcursor-quartz.c: Splitted out the GdkPixbuf to NSImage
2964 routine so that it can be used from libgtk as well (needed for
2965 upcoming GtkStatusIcon support in the Quartz port).
2966 * gdk/quartz/gdkevents-quartz.c: Don't assume that all NSWindows are
2967 created from GDK, this is not true for the status icon.
2968 * gdk/quartz/gdkprivate-quartz.h:
2969 * gdk/quartz/gdkquartz.h: Added
2970 gdk_quartz_pixbuf_to_ns_image_libgtk_only so that it is available to
2971 the status icon code.
2973 2006-12-16 Tristan Van Berkom <tvb@gnome.org>
2975 * gtk/gtkmessagedialog.c: Added return_if_fail (image) to
2976 gtk_message_dialog_set_image ()
2978 * gtk/gtkscrolledwindow.c: Fixed a bug in set_property()
2979 (setting "window-placement-set" could result in a crash because
2980 of boolean/enum mixup)
2982 2006-12-15 Federico Mena Quintero <federico@novell.com>
2984 Merged from gtk-2-10:
2986 * gtk/gtkmenu.c (gtk_menu_set_title): Don't try to optimize for
2987 the case where the new title is the same as the old title, to
2988 preserve the behavior from GTK+ 2.8 (NULL and "" titles are not
2989 equivalent). Handle the case where title == priv->title. This
2990 was found by the LSB compatibility tests:
2991 https://bugzilla.novell.com/show_bug.cgi?id=223882
2993 2006-12-15 Dom Lachowicz <domlachowicz@gmail.com>
2995 * gtk/gtkcombobox.c: Make GtkComboBox in "appears-as-list" mode
2996 more closely resemble its Win32 counterpart. Bug #340204.
2998 2006-12-14 Carlos Garnacho <carlosg@gnome.org>
3000 * gtk/gtkcalendar.c: draw arrows pointing to the right correctly
3001 placed inside their GdkWindow. Bug #385672.
3003 2006-12-14 Christian Persch <chpe@cvs.gnome.org>
3005 * gtk/gtkiconview.c: Fix docs typo. Bug #385642.
3007 2006-12-13 Dom Lachowicz <domlachowicz@gmail.com>
3009 * src/modules/engines/ms-windows/msw_style.c: Bug 351679 - Notebooks
3010 drawn with extra line below tab in MS-Windows theme. Patch by
3013 2006-12-13 Matthias Clasen <mclasen@redhat.com>
3015 * gtk/Makefile.am: Add --unlink-tempfile to the evince call
3016 for print preview. (#370041, Ghee Teo)
3018 2006-12-11 Matthias Clasen <mclasen@redhat.com>
3020 * gtk/gtkprogressbar.c (gtk_progress_bar_paint_text): Be more
3021 careful when overdrawing antialiased text. (#352435, Alex Jones,
3022 patch by Benjamin Otte)
3024 * gtk/gtksettings.c: Change the way in which color scheme information
3025 is merged to correctly handle vanishing colors. (#374420,
3026 Benjamin Berg, patch by Callum McKenzie)
3027 Also allow to separate entries in color schemes by ';'
3030 2006-12-10 Matthias Clasen <mclasen@redhat.com>
3032 * modules/printbackends/cups/gtkcupsutils.c (gtk_cups_request_encode_option):
3033 Properly pass multi-value options to cups. (#355350, Jürg Billeter)
3035 2006-12-10 Kristian Rietveld <kris@gtk.org>
3037 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_focus_out_event):
3038 cancel editing (ie. don't accept changes) when the entry loses
3039 focus. (Fixes #164494, reported by Chris Rouch).
3041 2006-12-10 Matthias Clasen <mclasen@redhat.com>
3043 * configure.in: Correct a misapplied patch.
3045 2006-12-10 Tor Lillqvist <tml@novell.com>
3047 * gtk-zip.sh.in: Put gdk-pixbuf-query-loaders.exe and
3048 gtk-query-immodules-2.0.exe in the runtime zipfile instead of
3049 developer zipfile. Users might add pixbuf loaders or immodules
3050 even if they are not interested in developing gtk+-using software.
3052 2006-12-10 Matthias Clasen <mclasen@redhat.com>
3054 * configure.in: Check for crt_extern.h and _NSGetEnviron.
3055 * gdk/x11/gdkspawn-x11.c: Fix compilation on Darwin where
3056 environ is not available. (#384168, Min Sik Kim)
3058 2006-12-07 Paolo Maggi <paolo@gnome.org>
3062 * gtk/gtkentry.c (gtk_entry_set_text): check for
3063 completion->priv->changed_id > 0 before calling
3064 g_signal_handler_[un]block.
3065 (gtk_entry_completion_key_press): does not block/unblock the "changed"
3066 signal before calling gtk_entry_set_text.
3068 2006-12-07 Carlos Garnacho <carlosg@gnome.org>
3070 * gtk/gtkcellrendererprogress (compute_dimensions): do not use
3071 xthickness/ythickness, they aren't used any longer for drawing.
3073 2006-12-07 Matthias Clasen <mclasen@redhat.com>
3075 * gtk/gtkrc.c (_gtk_rc_init): Fix clipping of accelerator
3076 underlines by giving labels a small draw-border.
3078 2006-12-06 Kristian Rietveld <kris@gtk.org>
3080 * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_render):
3081 draw progress bar through theme engine instead of using our own
3082 custom cairo drawing code (#377244, patch from Carlos Garnacho).
3084 2006-12-06 Matthias Clasen <mclasen@redhat.com>
3086 * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities):
3087 Update the sensitivity of the collate checkbutton more frequently,
3088 proposed by Tim Waugh.
3090 2006-12-04 Matthias Clasen <mclasen@redhat.com>
3092 * gtk/gtkmessagedialog.c (setup_type): Set a11y name and role
3093 since we no longer set window titles.
3095 2006-12-04 Christian Persch <chpe@cvs.gnome.org>
3097 * gtk/gtkpagesetup.c: (gtk_page_setup_get_paper_size),
3098 (gtk_page_setup_set_paper_size): Don't leak the old page size when
3099 setting a new one. Bug #382314.
3101 2006-12-03 Michael Natterer <mitch@gimp.org>
3103 * gtk/gtktextview.c: remove FIXME #include that is no longer needed.
3105 2006-12-03 Kristian Rietveld <kris@gtk.org>
3107 Make sure [xy]_offset are always being initialized, fix pixbuf
3108 renderer padding. (#108235, Sven Neumann).
3110 * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_get_size),
3111 (gtk_cell_renderer_pixbuf_render): add padding in _render instead
3114 * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_get_size):
3115 always initialize [xy]_offset.
3116 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size): ditto.
3117 * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_size):
3120 2006-12-03 Kristian Rietveld <kris@gtk.org>
3122 * gtk/gtktreeview.c (validate_visible_area): when not using an
3123 explicit alignment, use the full area of the row (not just dy)
3124 to determine how to implicitly align it. (Fixes #363191, reported
3125 by Federico Mena Quintero).
3127 2006-12-02 Matthias Clasen <mclasen@redhat.com>
3129 * gtk/gtkicontheme.c (insert_theme): Properly clean up
3130 if an icon theme index file has no directories. (#381236)
3132 2006-12-02 Dom Lachowicz <domlachowicz@gmail.com>
3134 * src/modules/engines/ms-windows/msw_style.c: Bug 351678 - Notebooks
3135 not with PositionType.Top drawn incorrectly. Patch by Cody Russell
3137 2006-11-28 Behdad Esfahbod <behdad@gnome.org>
3139 Remove the broken Thai input method and add a functional Thai and Lao
3140 input method by Theppitak Karoonboonyanan. (#81031)
3142 * modules/input/imthai.c:
3143 * modules/input/gtkimcontextthai.c:
3144 * modules/input/gtkimcontextthai.h:
3145 * modules/input/thai-charprop.c:
3146 * modules/input/thai-charprop.h:
3149 * modules/input/imthai-broken.c:
3152 * modules/input/Makefile.am:
3155 2006-11-27 Christian Persch <chpe@cvs.gnome.org>
3157 * gtk/gtkstatusicon.c: Notify when the screen changes. Bug #379793.
3159 Mon Nov 27 12:27:06 2006 Tim Janik <timj@imendio.com>
3161 * gtk/gtktextview.c: applied patch by Colin Leroy for
3162 Control+GDK_KP_Left to move one word to the left, #356255.
3164 2006-11-26 Benjamin Berg <benjamin@sipsolutions.net>
3166 * gtk/gtkstyle.c: (gtk_default_draw_flat_box): Protect against NULL
3169 2006-11-25 Matthias Clasen <mclasen@redhat.com>
3171 * modules/printbackends/cups/gtkprintbackendcups.c: Make
3172 print dialog work when 'BrowseShortNames Off' is specified
3173 in cups configuration. Patch by Tim Waugh.
3175 2006-11-24 Michael Natterer <mitch@imendio.com>
3177 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): if we
3178 can't go up/down, consult gtk_widget_keynav_failed() and leave the
3179 widget if it returns FALSE (bug #322640).
3181 2006-11-23 Behdad Esfahbod <behdad@gnome.org>
3183 * gtk/gtkmain.c: Fix minor typo in docs. (#378632, Hannes Mueller)
3185 2006-11-22 Emmanuele Bassi <ebassi@gnome.org>
3187 * gtk/gtkrecentmanager.c:
3188 (get_uri_shortname_for_display): g_filename_from_uri() might
3189 fail; catch the failure and fall back to the non-local URI
3192 2006-11-19 Mark McLoughlin <mark@skynet.ie>
3194 Fixes bug #376502 - multi-screen support for GtkStatusIcon
3196 * gtk/gtkstatusicon.[ch]:
3197 (gtk_status_icon_set_screen),
3198 (gtk_status_icon_get_screen): add multi-screen API. Allows
3199 an app to display an icon on a non-default screen
3200 (gtk_status_icon_class_init),
3201 (gtk_status_icon_set_property),
3202 (gtk_status_icon_get_property): add a "screen" property
3204 * tests/teststatusicon.c: update to test on multiple screens
3206 2006-11-17 Matthias Clasen <mclasen@redhat.com>
3208 Fix problems with drag cancellation. (#376535, Michael Natterer)
3210 * gtk/gtkdnd.c (gtk_drag_source_info_destroy): Disconnect signal
3211 handlers before emitting drag-end.
3212 (gtk_drag_end): Disconnect signal handlers before removing
3215 2006-11-16 Mariano Suárez-Alvarez <mariano@gnome.org>
3217 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init):
3218 add gtk-doc blurb on GtkCellRendererText::edited (#376094)
3220 2006-11-16 Michael Natterer <mitch@imendio.com>
3222 * gtk/gtkradiobutton.c (gtk_radio_button_focus): don't use
3223 gtk_widget_keynav_failed(). Instead, look at gtk-keynav-cursor-only
3224 and gtk-keynav-wrap-around and wrap around, beep or continue outside
3225 the group manually (bug #322640).
3227 2006-11-16 Michael Natterer <mitch@imendio.com>
3229 Add new infrastructure for notifications of failed keyboard
3230 navigation and navigation with restricted set of keys.
3232 The patch handles configurable beeping, navigating the GUI with
3233 cursor keys only (as in phone environments), and configurable
3234 wrap-around. Fixes bugs #322640, #70986, #318827, #334726, #334742
3237 * gtk/gtksettings.c: added properties gtk-keynav-cursor-only,
3238 gtk-keynav-wrap-around and gtk-error-bell.
3240 * gtk/gtkwidget.[ch]: added new signal "keynav-failed" and public
3241 API to emit it. Added New function gtk_widget_error_bell() which
3242 looks at the gtk-error-bell setting and calls gdk_window_beep()
3245 * gtk/gtk.symbols: add the new widget symbols.
3247 * gtk/gtkcellrendereraccel.c
3248 * gtk/gtkimcontextsimple.c
3250 * gtk/gtknotebook.c: use gtk_widget_error_bell() or look at the
3251 gtk-error-bell setting instead of calling gdk_display_beep()
3258 * gtk/gtkmenushell.c
3259 * gtk/gtkspinbutton.c
3261 * gtk/gtktreeview.c: call gtk_widget_error_bell() on failed keynav.
3266 * gtk/gtktextview.c: consult gtk_widget_keynav_failed() on failed
3267 cursor navigation and leave the widget if it returns FALSE.
3269 * gtk/gtkmenushell.c
3270 * gtk/gtknotebook.c: only wrap around if gtk-keynav-wrap-around
3273 * gtk/gtkradiobutton.c: ask gtk_widget_keynav_failed() to decide
3274 whether to to wrap-around, and don't select active items on cursor
3275 navigation if gtk-keynav-cursor-only is TRUE. Should look at
3276 gtk-keynav-wrap-around too, will look into that.
3278 2006-11-16 Emmanuele Bassi <ebassi@gnome.org>
3280 * gtk/gtkrecentmanager.c:
3281 (gtk_recent_info_get_uri_display): Return the URI
3282 of the GtkRecentInfo object (upgraded to UTF-8 if
3283 needed) in case of non-local file. (#351945)
3285 2006-11-16 Emmanuele Bassi <ebassi@gnome.org>
3287 * gtk/gtkrecentchoosermenu.c:
3288 (gtk_recent_chooser_menu_add_tip): Apply the tip only
3289 if we have a displayable name for the item. (#365031,
3290 patch by padraig.obriain(at)sun.com)
3292 2006-11-16 Emmanuele Bassi <ebassi@gnome.org>
3294 * gtk/gtkrecentmanager.c: Provide a fast path returning
3295 NULL when the limit is set to 0.
3297 * gtk/gtkrecentchooserdefault.c:
3298 * gtk/gtkrecentchoosermenu.c: Add the same fast path
3299 inside the RecentChooser implementation; add a check
3300 in the list clamping code. (#373466 and duplicates)
3302 2006-11-15 Matthias Clasen <mclasen@redhat.com>
3304 * modules/printbackends/cups/gtkprintbackendcups.c (cups_printer_get_options):
3305 Don't pass NULL to strncpy. (#359537, patch by Carlos Garcia Campos)
3307 2006-11-15 Michael Natterer <mitch@imendio.com>
3309 * gtk/gtkrange.[ch]: added properties "fill-level",
3310 "show-fill-level" and "restrict-to-fill-level" and getters/setters
3311 for them. The "fill level" is an additional marker on the range's
3312 trough than can be e.g. used to indicate the amount of
3313 pre-buffering in a range showing the play position of streamed
3314 media. See the embedded API docs for details. Made GtkRangeLayout
3315 a GTypeInstance private struct and removed finalize()
3316 implementation. Fixes bug #349808
3318 * gtk/gtk.symbols: added the new symbols.
3320 2006-11-14 Behdad Esfahbod <behdad@gnome.org>
3322 * configure.in: Make libtool magic robust. (#352795)
3324 2006-11-13 Paolo Borelli <pborelli@katamail.com>
3326 * gtk/gtkrc.c (gtk_rc_parse_icon_source): plug small memory
3329 2006-11-09 Kristian Rietveld <kris@imendio.com>
3331 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): disable
3332 don't move cursor case for SELECTION_NONE. (#371756, John Ellis).
3334 2006-11-09 Carlos Garnacho <carlosg@gnome.org>
3336 * gtk/gtkpathbar.c (on_slider_unmap): Fix parenthesis confusion.
3338 2006-11-08 Carlos Garnacho <carlosg@gnome.org>
3340 * gtk/gtkpathbar.c (on_slider_unmap): added, do not leave the scroll
3341 timeout running if the slider buttons are hidden. (#372527)
3343 2006-11-08 Christian Persch <chpe@cvs.gnome.org>
3345 * gtk/gtkfilechooserdefault.c (browse_widgets_create): Don't make
3346 the "Location" label bold. Bug #372449.
3348 2006-11-07 Carlos Garnacho <carlosg@gnome.org>
3350 * gtk/gtknotebook.c (gtk_notebook_calculate_tabs_allocation): make
3351 non-focused tabs xthickness/ythickness thinner. (#353962)
3353 2006-11-07 Paolo Borelli <pborelli@katamail.com>
3355 * gtk/gtktextbtree.c (_gtk_text_btree_delete): avoid memory
3356 corruption (#357050).
3358 2006-11-06 Alexander Larsson <alexl@redhat.com>
3360 * gtk/gtkdnd.c: (gtk_drag_begin_internal),
3361 (gtk_drag_source_info_destroy), (gtk_drag_end),
3362 (gtk_drag_grab_notify_cb):
3363 Cancel drag when the grab is shadowed. (#122688)
3365 2006-11-01 Kristian Rietveld <kris@imendio.com>
3367 * gtk/gtkcombobox.c (gtk_combo_box_class_init),
3368 (gtk_combo_box_size_request): add arrow-size property to control
3369 the minimum size of the arrow, have the arrow scale up with the
3370 font by default. (#357950).
3372 2006-10-30 Kristian Rietveld <kris@gtk.org>
3374 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): don't
3375 forget to queue a draw for the new cursor node. (Fixes #366548,
3376 reported by Sven Herzberg).
3378 2006-10-30 Michael Natterer <mitch@imendio.com>
3380 * gtk/gtkrange.c (gtk_range_key_press): consume the Escape key
3381 only if we actually cancel a drag. Fixes bug #58389.
3383 2006-10-30 Kristian Rietveld <kris@gtk.org>
3385 * gtk/gtktreeview.c (gtk_tree_view_class_init): change left/right
3386 keybindings to collapse/expand rows instead of moving the focus
3387 cursor. (#105895, Brian Bober and others).
3389 2006-10-29 Kristian Rietveld <kris@gtk.org>
3391 * gtk/gtktreeview.c (gtk_tree_view_real_expand_row): guard against
3392 child removal in row-expanded callback. (#366782, John Ellis).
3394 2006-10-29 Tor Lillqvist <tml@novell.com>
3396 * gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Improve handling
3397 of the small icon of the window class. (#152620, Kazuki Iwamoto)
3399 2006-10-29 Tor Lillqvist <tml@novell.com>
3401 * gdk/win32/gdkcursor-win32.c
3402 (gdk_win32_icon_to_pixbuf_libgtk_only): Implement for B&W cursors,
3403 for instance the built-in GDK ones.
3405 2006-10-27 Kristian Rietveld <kris@gtk.org>
3407 * gtk/gtktreeview.c (validate_visible_area): rework the area_above == 0
3408 case to not overwrite the variables in the lower scope (which are
3409 used later on ...), get the path correctly and bail out when there
3410 isn't a node above us. (#359231).
3412 2006-10-26 Christian Persch <chpe@cvs.gnome.org>
3414 * gtk/gtkaboutdialog.c: Put initial focus on Close button (#337261).
3416 2006-10-25 Johan Dahlin <jdahlin@async.com.br>
3418 * gtk/gtk.symbols: Add missing symbols to so make check can pass
3420 2006-10-23 Dom Lachowicz <domlachowicz@gmail.com>
3422 * src/modules/engines/ms-windows/msw_style.c (draw_expander): Remember
3423 to free GDI Pen resources, introduced by bug 340201.(#364514)
3425 2006-10-18 Kristian Rietveld <kris@imendio.com>
3427 * tests/testcombo.c (main): connect to notify::popup-shown instead of
3428 popup-show (the latter does not exist).
3430 2006-10-15 Paolo Borelli <pborelli@katamail.com>
3432 * gtk/gtkicontheme.c (pixbuf_supports_svg): plug memory leak.
3435 2006-10-12 Michael Natterer <mitch@imendio.com>
3437 * gtk/gtkcombobox.c (gtk_combo_box_class_init): fix commit below
3438 (committed the wrong patch).
3440 2006-10-12 Michael Natterer <mitch@imendio.com>
3442 * gtk/gtkcombobox.c: added "move-active" and "popup" signals and
3443 bindings to trigger them. Removed gtk_combo_box_key_press(), it's
3444 obsolete now. Fixes bug #358293.
3446 2006-10-11 Michael Emmel <mike.emmel@gmail.com>
3448 * gdkpixmap-directfb.c: add missing RGB24 case (#361176)
3450 2006-10-11 Tor Lillqvist <tml@novell.com>
3452 * configure.in: Enable having some gdk-pixbuf loaders built-in
3453 even if loading the others dynamically. Define Automake
3454 conditional INCLUDE_FOO for each loader as TRUE if that loader is
3455 built-in. See also gdk-pixbuf/ChangeLog.
3457 Wed Oct 11 14:31:30 2006 Tim Janik <timj@imendio.com>
3459 * docs/reference/gtk/gtk-sections.txt:
3460 * gtk/gtkbindings.c: document gtk_binding_entry_skip().
3462 2006-10-11 Tor Lillqvist <tml@novell.com>
3464 * gtk/gtk.symbols: Remove gtk_combo_string_key, which is a static
3467 2006-10-11 Tor Lillqvist <tml@novell.com>
3469 Merge from 2.10 branch:
3471 * gtk/gtkmain.c (do_pre_parse_initialization): On Win32, if
3472 environment variable LC_ALL or LANG is set, set the Win32 thread
3473 locale to the corresponding locale. Then call the C library
3474 setlocale() to set the C library locale accordingly. The
3475 inconsistency mentioned below is gone. (#339756) Do some special
3476 casing for Serbia and Montenegro. Handle the Latin and Cyrillic
3477 scripts for Azeri, Uzbek and Serbian.
3478 (enum_locale_proc): Helper function for the above functionality.
3480 * gtk/gtkcalendar.c (gtk_calendar_init): No longer need to check
3481 if the environment variables are set here, as they have already
3482 been taken into account and the Win32 thread locale has been
3485 Tue Oct 10 16:38:23 2006 Tim Janik <timj@imendio.com>
3487 * gtk/tmpl/gtkbindings.sgml:
3488 * gtk/gtkbindings.c: applied patch from Michael Natterer to move to
3489 inline docs. applied wording fixes suggested by Martyn Russell.
3491 2006-10-09 Matthias Clasen <mclasen@redhat.com>
3493 * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state):
3494 Update the docs to state which out parameters may be NULL.
3495 (#360870, Attilio Fiandrotti)
3497 2006-10-08 Matthias Clasen <mclasen@redhat.com>
3499 * gtk/gtkprintunixdialog.c (update_dialog_from_capabilities): Fix
3500 a typo. (#359542, Ghee Teo)
3502 2006-10-08 Matthias Clasen <mclasen@redhat.com>
3504 * gtk/gtknotebook.c (gtk_notebook_reorder_tab): Only
3505 reorder tabs if the focus is in the tab. (#350342, Carlos
3508 2006-10-08 Michael Emmel <mike.emmel@gmail.com>
3510 * gdk/directfb/gdkproperty-directfb.c strdup atom name (#357611)
3512 2006-10-08 Kristian Rietveld <kris@gtk.org>
3514 * gtk/gtktreeview.[ch] (gtk_tree_view_set_property),
3515 (gtk_tree_view_set_show_expanders),
3516 (gtk_tree_view_get_show_expanders): add getter/setter for
3517 show-expanders property, queue a redraw when this property
3518 is toggled (#351167, Martin Ejdestig),
3519 (gtk_tree_view_set_level_indentation),
3520 (gtk_tree_view_get_level_indentation): also add getter/setter
3521 and docs for level-indentation property.
3523 2006-10-08 Matthias Clasen <mclasen@redhat.com>
3525 * gtk/gtkradiobutton.c (gtk_radio_button_focus): Don't
3526 leak a list. (#360350, Benjamin Berg)
3528 * Apply a cleanup patch by Kjartan Maraas (#341812)
3530 2006-10-07 Tor Lillqvist <tml@novell.com>
3532 * gtk/gtkcalendar.c (gtk_calendar_init): Use the Win32 thread
3533 locale's first day of week setting on Win32. (#339752, Bogdan
3534 Nicula) Don't do this if one of the environment variables that
3535 affect gettext is set, though. In that case use the week start day
3536 from the corresponding message catalog.
3538 Unfortunately the same logic isn't possible in the weekday and
3539 month name lookup; there even if you have set one of the
3540 aforementioned environment variables, you still get the weekday
3541 and month names from the Win32 thread locale. Yes, this is
3544 Use only wide-character API in the Win32 code in this file, too.
3546 2006-10-06 Matthias Clasen <mclasen@redhat.com>
3548 * gtk/gtkfilechooser.c (gtk_file_chooser_set_select_multiple):
3549 Fix the docs. (#360112)
3551 * gtk/gtkcellview.c: Don't set the background of the
3552 window in a no-window widget. (#359581, Xan Lopez)
3555 2006-10-05 Behdad Esfahbod <behdad@gnome.org>
3557 * gtk/Makefile.am, gtk/aliasfilescheck.sh: Propagate srcdir into the
3558 test correctly. (#359845)
3560 2006-10-05 Michael Natterer <mitch@imendio.com>
3562 * gtk/gtkrc.[ch]: added new scanner token "unbind" which gets
3563 rid of a key binding (in fact, it only lets it appear unbound).
3565 * gtk/gtkbindings.[ch] (struct GtkBindingEntry): added
3566 "guint marks_unbound : 1"
3568 (gtk_binding_entry_skip): new API which marks the entry as unbound.
3570 Changed code so it returns FALSE when "marks_unbound == TRUE" is
3571 encountered while activating bindings, effectively letting the
3572 binding appear unbound (regardless of still existing bindings in
3573 lower binding priority levels). Fixes bug #358329.
3575 (gtk_binding_entry_add)
3576 (gtk_binding_entry_clear)
3577 (gtk_binding_entry_add_signall)
3578 (gtk_binding_parse_binding): deprected these functions.
3580 (_gtk_binding_parse_binding)
3581 (_gtk_binding_entry_add_signall): new internal API.
3583 * gtk/gtk.symbols: changed accordingly.
3585 2006-10-03 Matthias Clasen <mclasen@redhat.com>
3587 Fix interaction of GtkEntryCompletion with input
3588 methods. (#354495, Diego Escalante Urrelo)
3590 * gtk/gtkentry.c (gtk_entry_completion_key_press): Only reset
3591 the im context if we actually handle the key event.
3593 * gtk/gtkentrycompletion.c: Also propagate key release events
3596 2006-10-03 Matthias Clasen <mclasen@redhat.com>
3598 * gtk/gtkprintsettings.c (gtk_print_settings_get_duplex):
3599 Fix a typo. (#359052, Ghee Teo)
3601 * gtk/*.c, gdk/*.c: Apply a patch by Behdad Esfahbod to
3602 reduce relocations. (#359053)
3604 2006-10-03 Matthias Clasen <mclasen@redhat.com>
3606 * modules/printbackends/cups/gtkcupsutils.c:
3607 * modules/printbackends/cups/gtkprintbackendcups.c: Complete
3608 the fix for bug 357280.
3610 2006-10-02 Behdad Esfahbod <behdad@gnome.org>
3612 * gdk-pixbuf/Makefile.am:
3615 Include pltcheck.sh in EXTRA_DIST.
3617 2006-10-02 Behdad Esfahbod <behdad@gnome.org>
3619 * gdk/x11/gdkevents-x11.c: Move all includes before including
3622 2006-10-02 Behdad Esfahbod <behdad@gnome.org>
3624 * gtk/Makefile.am: Fix typo in file name. (#358931)
3626 2006-10-02 Matthias Clasen <mclasen@redhat.com>
3628 * modules/printbackends/cups/gtkprintbackendcups.c (available_choices):
3629 Only use the group name field if cups is new enough. (#357280)
3631 * gtk/gtksizegroup.c: Make sure that the quarks are
3632 initialized before using them. (#353736)
3634 * gtk/Makefile.am (stamp-icons): Use rm instead of ln -f to
3635 replace existing links. (#354849, James Evans)
3637 2006-10-01 Matthias Clasen <mclasen@redhat.com>
3639 * gtk/gtkexpander.c (gtk_expander_realize)
3640 (gtk_expander_size_allocate): Make the event_window large
3641 enough to cover the full height of the label_widget. (#358351,
3644 2006-10-01 Tor Lillqvist <tml@novell.com>
3646 * gtk/gtkfilesystemwin32.c: Same change as to gtkfilesystemunix.c.
3648 2006-09-30 Matthias Clasen <mclasen@redhat.com>
3650 * gtk/gtkfilechooserbutton.c (update_combo_box): Protect
3651 against base_path being NULL. (#358405, many reporters)
3653 2006-09-29 Matthias Clasen <mclasen@redhat.com>
3655 * gtk/gtkfilesystemunix.c: Apply a patch by Padraig O'Briain
3656 to avoid a deadlock.
3658 2006-09-27 Kristian Rietveld <kris@imendio.com>
3660 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_free_level),
3661 (gtk_tree_model_filter_ref_node),
3662 (gtk_tree_model_filter_real_unref_node): bring zero ref count loops
3663 in sync with each other and the sort model.
3665 2006-09-27 Kristian Rietveld <kris@imendio.com>
3667 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_init),
3668 (gtk_tree_model_filter_finalize), (gtk_tree_model_filter_row_deleted),
3669 (gtk_tree_model_filter_new): unref the virtual root path once that
3670 node (or one if its ancestors) is deleted, set virtual_root_deleted
3671 so we only unref it once.
3673 2006-09-27 Kristian Rietveld <kris@imendio.com>
3675 * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_changed),
3676 (gtk_tree_model_sort_sort_level): ref count nodes the proper way,
3677 (gtk_tree_model_sort_ref_node), (gtk_tree_model_sort_real_unref_node),
3678 (gtk_tree_model_sort_free_level): bring zero ref count loops in
3680 (gtk_tree_model_sort_free_level): free child levels before
3681 decreasing the zero ref count of the current level,
3682 (gtk_tree_model_sort_clear_cache): only clear cache if zero_ref_count
3685 2006-09-25 Matthias Clasen <mclasen@redhat.com>
3687 * demos/gtk-demo/*.c:
3688 * gtk/gtkeventbox.c:
3689 * gtk/gtkprintoperation.c: Fix typos. String change.
3691 2006-09-25 Kristian Rietveld <kris@gtk.org>
3693 * gtk/gtktreeview.c (gtk_tree_view_scroll_to_cell): if the tree view
3694 has already been realized; scroll to background area instead of
3695 cell area. (Fixes #330683, Johan Dahlin, Tommi Komulainen).
3697 2006-09-25 Kristian Rietveld <kris@gtk.org>
3699 * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): only attempt
3700 to create the GCs if the widget is realized. (Fixes #357578).
3702 2006-09-25 Matthias Clasen <mclasen@redhat.com>
3704 * gtk/gtkuimanager.c (_gtk_menu_is_empty): Don't leak
3705 the list of children (#357454, Paolo Borelli)
3707 2006-09-25 Michael Natterer <mitch@imendio.com>
3709 * gdk/x11/gdkdisplay-x11.c (gdk_display_x11_finalize): free
3710 display->input_windows with g_free(), not g_object_unref()
3711 (#357566, Tommi Komulainen).
3713 2006-09-24 Kristian Rietveld <kris@gtk.org>
3715 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init),
3716 (gtk_cell_renderer_text_[sg]et_property): actually add align-set
3717 property to the API (left-over patch from #157439).
3719 2006-09-24 Kristian Rietveld <kris@gtk.org>
3721 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button): draw
3722 the indicator if the column has a sort column id (and the model is
3723 sortable) or if the user explicitly requested the indicator
3724 to be shown. (Fixes #352738, Chris Vine).
3726 2006-09-23 Tor Lillqvist <tml@novell.com>
3728 * gtk/Makefile.am: Use EXEEXT.
3730 2006-09-22 Michael Natterer <mitch@imendio.com>
3732 * gtk/gtkstyle.c (gtk_style_real_copy): also copy icon factories
3733 and color hashes. Fixes bug #357132.
3735 2006-09-22 Matthias Clasen <mclasen@redhat.com>
3737 Make remote bookmarks work better (#354887)
3739 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons):
3740 (shortcuts_insert_path):
3741 * gtk/gtkfilechooserbutton.c (change_icon_theme):
3742 (model_add_bookmarks):
3743 (model_update_current_folder):
3744 (update_label_and_image):
3745 If the bookmark points to a remote file, don't call get_info(),
3746 since that may a) take a long time and b) pop up an auth dialog.
3747 Instead, just use a folder icon and create a display name
3750 * gtk/gtkfilechooserdefault.c (_gtk_file_chooser_label_for_uri):
3751 New function to create a suitable display name for a remote
3752 uri. This should really be done in GtkFileSystem.
3754 2006-09-21 Michael Natterer <mitch@imendio.com>
3756 Implement lots of value setters for GdkGC, based on a heavily
3757 modified patch from Thomas Broyer (bug #328853):
3759 * gdk/quartz/gdkcolor-quartz.c: removed functions which set colors
3760 on the CGContext. Instead, added gdk_quartz_get_rgba_from_pixel()
3761 which simply returns RGBA values from a GdkColor's pixel value.
3762 See gdk_quartz_update_context_from_gc() below.
3764 * gdk/quartz/gdkprivate-quartz.h (struct GdkGCQuartz): added lots
3765 of members for the newly suppored GC values. Added enum
3766 GdkQuartzContextValuesMask which is used for setting up the
3767 CGContext for filling and/or stroking.
3769 * gdk/quartz/gdkgc-quartz.c (gdk_quartz_gc_get_values)
3770 (gdk_quartz_gc_set_values)
3771 (_gdk_windowing_gc_copy): support a lot more GC values.
3773 (gdk_quartz_update_context_from_gc): added
3774 GdkQuartzContextValuesMask parameter and set filling/stroking
3775 parameters accordingly. This function also gained full control
3776 over the FG and BG colors (they can't be set separately any more).
3778 The stipple mask part of the patch doesn't work but seems to take
3779 the right approach and doesn't make things worse, so I applied it.
3781 Did *not* apply the clipping part of the patch since I don't
3782 understand it (I don't understand the version in CVS either, but
3783 it at least works :-)
3785 * gdk/quartz/gdkdrawable-quartz.c: pass the right masks to
3786 gdk_quartz_update_context_from_gc() and removed separate color
3787 setting calls. Some minor fixes.
3789 * gdk/quartz/gdkwindow-quartz.c
3790 (gdk_window_impl_quartz_begin_paint_region): set the CGContext's
3791 fill color manually. We don't have/need a GC here.
3793 2006-09-21 Michael Natterer <mitch@imendio.com>
3795 * gdk/quartz/gdkwindow-quartz.c
3796 (gdk_window_impl_quartz_begin_paint_region): fix cast: it's
3797 drawable_impl->wrapper that is the GdkWindow, not the
3798 drawable_impl itself.
3800 2006-09-20 Behnam Esfahbod <behnam@zwnj.org>
3802 * gdk/x11/gdkkeys-x11.c:
3803 (get_direction): just check the first shift-level of keyboard
3804 layout for RTL and LTR keysyms() (compliment to #116626)
3806 Wed Sep 20 16:59:38 2006 Tim Janik <timj@imendio.com>
3808 * gtk/gtkviewport.c: always update the bin_window position and size
3809 in size_allocate, even if we don't have a visible child. this fixes
3810 expose artefacts as described in #313508.
3812 * gtk/gtkscrolledwindow.c: make hiding of automatic scrollbars when we
3813 have no visible child explicit.
3815 2006-09-19 Ryan Lortie <desrt@desrt.ca>
3817 * docs/reference/gdk/gdk-sections.txt:
3820 * gdk/gdkpango.c: Bug 355343. Add a GdkPangoAttrEmbossColor.
3821 (gdk_pango_layout_get_clip_region): Remove an unused variable.
3822 (gdk_pango_attr_embossed_new): Fix documentation.
3824 Tue Sep 19 17:00:04 2006 Tim Janik <timj@imendio.com>
3826 * gtk/gtkarrow.c: added GtkArrow::arrow-scaling style property to
3827 control the arrow/border ratio within the allocation.
3829 * tests/testgtk.c: added a GtkArrow to handle box test.
3831 * tests/testgtkrc: test ::arrow-scaling property.
3833 2006-09-19 Matthias Clasen <mclasen@redhat.com>
3835 * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
3836 Display an error when we come to the root.
3838 2006-09-16 Matthias Clasen <mclasen@redhat.com>
3840 * gtk/gtkfilechooserbutton.c: Use bookmark labels in
3843 * gtk/gtkfilechooserbutton.c: Don't add remote volumes and
3844 bookmarks to the model in local-only mode, to avoid
3845 authentication dialogs pop up for invisible bookmarks, and
3846 to fix issues with separators not being hidden when
3847 they should. (#354887, Dennis Cranston)
3849 2006-09-16 Matthias Clasen <mclasen@redhat.com>
3851 * gtk/gtkcombobox.c (gtk_combo_box_finalize): Unref the
3852 treeview use in list mode. (#355732, Richard Hult)
3854 * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): Send
3855 change notification for the right property. (#355308,
3858 2006-09-15 Michael Natterer <mitch@imendio.com>
3860 * gtk/gtktreeview.c (gtk_tree_view_key_press): refactored column
3861 header navigation/resizing/reordering to be more readable and lose
3862 one level of nesting.
3864 2006-09-15 Kristian Rietveld <kris@imendio.com>
3866 * gtk/gtktreeview.c (gtk_tree_view_key_press): actually directly
3867 return after handling column button focus; we disable wrap around
3868 with this (which actually happened via a really weird code path).
3871 2006-09-15 Kristian Rietveld <kris@imendio.com>
3873 * gtk/gtktreeview.c (gtk_tree_view_key_press): make column resizing
3874 code RTL aware, also break from the loops after we have seen the
3875 focussed column button (Michael Natterer).
3877 Thu Sep 14 12:28:51 2006 Tim Janik <timj@imendio.com>
3879 * tests/testrichtext.c (main): intialize random number generator state
3880 upon program start, to enable truely random testing.
3882 2006-09-13 Michael Emmel <mike.emmel@gmail.com>
3884 * gdk/directfb/gdkcolor-directfb.c small clean ups include order
3885 * gdk/directfb/gdkwindow-directfb.c fixed beep compile error
3886 * gdk/directfb/Makefile.am removed GDK_PIXBUF_DISABLE_DEPRECATED
3887 GDK_DISABLE_DEPRECATED to allow compile per Behdad
3888 * gdk/quartz/Makefile.am same change as directfb Makefile
3889 * gtk/Makefile.am fixed typo that cause socket stubs not to compile
3891 2006-09-13 Matthias Clasen <mclasen@redhat.com>
3893 * gtk/gtkcolorsel.c: Use a GtkWindow instead of a GtkInvisible
3894 for the grab widget, to make the color picker work with window
3897 2006-09-12 Hong Jen Yee <pcman.tw@gmail.com>
3899 signed off by: Dom Lachowicz
3901 * modules/engines/ms-windows/msw_style.c: Bug 340201. This contains
3902 a large number of improvements to the Microsoft Windows theme engine
3903 which are fully described in the bug report.
3905 Mon Sep 11 14:22:39 2006 Tim Janik <timj@imendio.com>
3907 * tests/testgtk.c: fixed compiler warnings.
3909 2006-09-10 Matthias Clasen <mclasen@redhat.com>
3911 * gtk/gtkfilechooserbutton.c (model_add_special): Request
3912 the display name too, otherwise "Desktop" does not appear
3913 in the file chooser button.
3915 2006-09-10 Tor Lillqvist <tml@novell.com>
3917 * gdk/win32/gdkprivate-win32.h
3918 * gdk/win32/gdkmain-win32.c
3919 * gdk/win32/gdkwindow-win32.c: Define WINVER and _WIN32_WINNT as
3920 0x0500 in gdkprivate-win32.h instead of doing it in two source
3921 files. (#355212, Mike Edenfield)
3923 * gdk/win32/gdkwindow-win32.c: We can also remove the ersatz
3924 GetAncestor() for the _MSC_VER && WINVER < 0x0500 case, I hope.
3926 2006-09-10 Matthias Clasen <mclasen@redhat.com>
3928 * Commit a patch by Behdad to fix typos, omissions and other
3929 errors in the symbol aliasing, and add checks for local PLT
3930 entries. (#354687, Behdad Esfahbod)
3932 * gtk/gtktreeview.c (gtk_tree_view_search_scroll_event): Renew
3933 the flush timeout. (#354043, Nelson Benitez)
3935 * gtk/gtkfilechoosersettings.c (set_unexpected_element_end_error):
3936 Improve wording. String change! (#355126, David Lodge)
3938 * gtk/updateiconcache.c: Improve wording. String change! (#355128,
3941 * gtk/paper_names_offsets.c: Fix a typo. String change! (#355134,
3944 2006-09-09 Matthias Clasen <mclasen@redhat.com>
3946 * gdk/x11/gdkfonts-x11.c: Fix small theoretical memory leaks.
3947 (#353916, Chris Wilson)
3949 * gtk/gtksettings.c (_gtk_settings_reset_rc_values):
3950 Don't leak the to_reset list. (#353914, Chris Wilson)
3952 * gtk/gtkwidget.c: Add docs for the parent-set signal.
3953 (#353772, Mariano Suárez-Alvarez)
3955 2006-09-08 Matthias Clasen <mclasen@redhat.com>
3957 * gtk/gtktextbuffer.c (remove_all_selection_clipboards):
3958 Don't clear clipboards here, since we are called from finalize
3959 and can't emit signals.
3961 * configure.in: Set version to 2.11.0
3963 2006-09-06 Richard Hult <richard@imendio.com>
3965 * gdk/quartz/gdkkeys-quartz.c: (maybe_update_keymap): Special-case
3966 shift-tab and map it to GDK_ISO_Left_Tab, fixes bug #350806.
3968 2006-09-04 Kristian Rietveld <kris@imendio.com>
3970 * gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
3971 if setting the given folder failed, try setting the parent folder
3972 until we succeed; display an error box at the end.
3974 2006-09-04 Kristian Rietveld <kris@imendio.com>
3976 * gtk/gtkpathbar.c (gtk_path_bar_dispose): don't cancel the
3977 operations spawned by buttons here,
3978 (set_button_image_get_info_cb): bail out if button is NULL, but
3979 do free button_data,
3980 (button_data_free): only free the data if non NULL (since this
3981 function can be called multiple times for the same data), cancel
3982 handle if pending but don't free button_data in this case (will
3983 happen in the callback).
3985 2006-09-04 Michael Natterer <mitch@imendio.com>
3987 * gtk/gtkrc.c (rc_parse_token_or_compound)
3988 (gtk_rc_parse_assignment): serialize floating point values using
3989 locale-independent functions. (#346751, Frederic Crozat)
3991 2006-09-04 Tor Lillqvist <tml@novell.com>
3993 * gdk/win32/gdkevents-win32.c
3994 * gdk/win32/gdkwindow-win32.c: Use wide-char API for message and
3995 window handling (PeekMessage, PostMessage, SendMessage,
3996 DispatchMessage, DefWindowProc, RegisterClassEx,
3997 CreateWindowEx). (#321597)
3999 2006-09-03 Kristian Rietveld <kris@imendio.com>
4001 * gtk/gtkfilechooserdefault.c (save_entry_get_info_cb),
4002 (file_exists_get_info_cb), (gtk_file_chooser_default_should_respond):
4003 change file_exists_and_is_not_folder checks to get the file info
4004 for the path directly instead of querying the current file folder
4007 * gtk/gtkfilechooserprivate.h (struct _GtkFileChooserDefault): add
4010 * tests/autotestfilechooser.c (wait_for_idle_idle), (wait_for_idle),
4011 (test_reload_sequence), (test_button_folder_states_for_action): wait
4012 for idle after setting a folder to ensure the async operations to load
4013 the folder are finished,
4014 (test_confirm_overwrite), (test_confirm_overwrite_for_path):
4015 factor out test_confirm_overwrite code so we can add tests for more
4018 2006-09-03 Richard Hult <richard@imendio.com>
4020 * gdk/quartz/GdkQuartzView.c (drawRect): Don't do anything if
4021 exposure isn't in the event mask, plug a leak, and check that the
4022 window isn't destroyed.
4023 (isOpaque): Check that the window isn't destroyed, fixes bug
4026 2006-09-03 Matthias Clasen <mclasen@redhat.com>
4028 * gtk/gtkwidget.c (gtk_widget_class_init): Fix a typo.
4029 (#354035, Mariano Suárez-Alvarez)
4031 * gtk/gtkmain.c (post_parse_hook):
4032 * gdk/gdk.c (gdk_init): Handle display_name being NULL.
4033 (#354004, Chris Wilson)
4035 2006-09-03 Tor Lillqvist <tml@novell.com>
4037 * gdk/win32/gdkwindow-win32.c (gdk_window_beep): No
4038 GDK_WINDOW_DISPLAY in the Win32 backend.
4040 * gtk/gtkfilesystemwin32.c: Copy what Kris did to
4043 2006-09-02 Kristian Rietveld <kris@imendio.com>
4045 First part of file chooser fixes.
4047 * gtk/gtkfilechooserbutton.c (model_add_special): also set the
4048 handle in the model for the desktopdir case.
4050 * gtk/gtkfilechooserdefault.c (shortcuts_add_current_folder): free
4051 volume in case we retrieved it but don't pass it on to insert_path,
4052 (shortcuts_model_create): change the column type for the handles
4053 to pointer instead of GObject so our handle ref counting is not
4055 (show_and_select_paths_finished_loading): don't forget to unref
4058 * gtk/gtkfilesystemunix.c (gtk_file_system_unix_class_init),
4059 (gtk_file_system_unix_init), (gtk_file_system_unix_dispose):
4060 remove pending execute_callbacks_idle during dispose, also
4061 execute all callbacks waiting to be run in the next idle,
4062 (queue_*callback), (execute_callbacks_idle): refactor to maintain
4063 a list of callbacks to call per file system instead of globally,
4064 guard the file system during callback invocation,
4065 (gtk_file_system_unix_get_folder): only add load folder idle if
4066 none has been added yet.
4068 2006-09-01 Matthias Clasen <mclasen@redhat.com>
4070 * gtk/gtkentry.c: Don't unnecessarily reset the im context
4071 when deleting the selection. (#353803, Alex Larsson)
4073 2006-09-01 Abel Cheung <abel@oaka.org>
4075 * configure.in: Added 'ang' 'dz' to ALL_LINGUAS.
4077 2006-08-31 Matthias Clasen <mclasen@redhat.com>
4079 Stop cursor blinking after a configurable timeout.
4080 (#353670, #352442, Arjan van de Ven, Manu Cornet)
4082 * gtk/gtksettings.c (gtk_settings_class_init): Add a
4083 gtk-cursor-blink-timeout setting, which specifies the number
4084 of seconds that the cursor should blink after a user interaction.
4085 The default value is G_MAXINT to preserve the current behaviour.
4087 * gtk/gtkentry.c (blink_cb): Stop blinking after blink-timeout
4090 * gtk/gtkentry.c (gtk_entry_completion_key_press)
4091 (gtk_entry_button_press, gtk_entry_focus_in): Reset the
4094 * gtk/gtktextview.c (blink_cb): Stop blinking after blink-timeout
4097 * gtk/gtktextview.c (gtk_text_view_key_press_event)
4098 (gtk_text_view_button_press_event, gtk_text_view_focus_in_event):
4099 Reset the blink timer.
4101 2006-08-31 Matthias Clasen <mclasen@redhat.com>
4103 * gtk/gtkprintoperation-unix.c (get_print_dialog): Don't specify
4104 explicit format capabilities. (#346505, Christian Persch)
4106 * modules/printbackends/cups/gtkprintbackendcups.c (cups_request_printer_list_cb): Send printer-list-done on error.
4108 2006-08-31 Michael Natterer <mitch@imendio.com>
4110 * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Fix build.
4112 2006-08-30 Richard Hult <richard@imendio.com>
4114 * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep): Fix build.
4116 2006-08-30 Matthias Clasen <mclasen@redhat.com>
4118 * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Only use XKB
4119 for beeping if we are using XKB.
4121 2006-08-29 Matthias Clasen <mclasen@redhat.com>
4125 * gdk/directfb/gdkwindow-directfb.c (gdk_window_beep):
4126 * gdk/win32/gdkwindow-win32.c (gdk_window_beep):
4127 * gdk/quartz/gdkwindow-quartz.c (gdk_window_beep):
4128 * gdk/x11/gdkwindow-x11.c (gdk_window_beep): Add a function
4129 to beep on a window. For X11, implement this with
4130 XkbBell. (#353455, Mariano Suárez-Alvarez)
4132 2006-08-29 Tor Lillqvist <tml@novell.com>
4134 Remove support for Windows 9x/ME. GTK+ hasn't worked on Win9x
4135 since 2.6 or 2.8. It's pointless to keep the Win9x code in here as
4136 it isn't being maintained anyway. If somebody is interested, it
4137 can always be found in older GTK+ versions, and in CVS.
4142 * gdk/win32/Makefile.am
4143 * gdk/win32/libie55uid.la
4144 * gdk/win32/gdkevents-win32.c: Remove the --with-ie55 configure
4145 switch and associated stuff. Active IMM and the <dimm.h> header
4146 was used for IM support on NT4 and Win9x. Win2k and later have IM
4149 * gdk/win32/gdkcursor-win32.c
4150 * gdk/win32/gdkdnd-win32.c
4151 * gdk/win32/gdkdrawable-win32.c
4152 * gdk/win32/gdkevents-win32.c
4153 * gdk/win32/gdkgc-win32.c
4154 * gdk/win32/gdkglobals-win32.c
4155 * gdk/win32/gdkkeys-win32.c
4156 * gdk/win32/gdkmain-win32.c
4157 * gdk/win32/gdkproperty-win32.c
4158 * gdk/win32/gdkselection-win32.c
4159 * gdk/win32/gdkwindow-win32.c: Remove the G_WIN32_IS_NT_BASED()
4160 and G_WIN32_HAVE_WIDECHAR_API() tests and their false (Win9x)
4161 branches, and any variables or static functions used only by the
4164 * gdk/win32/gdkprivate-win32.h: Remove backup definitions for
4165 constants that aren't missing from current mingw and MSVC6
4168 * gdk/win32/gdkmain-win32.c
4169 * gdk/win32/gdkprivate-win32.h: Remove the _gdk_win32_gdi_failed()
4170 function. On NT-based Windows GetLastError() returns error codes
4171 also for failed GDI calls, so we can use _gdk_win32_api_failed()
4174 2006-08-29 Emmanuele Bassi <ebassi@gnome.org>
4176 * gtk/gtkrecentchoosermenu.c
4177 (gtk_recent_chooser_menu_set_current_uri): Break when an item
4178 is found and activated. (#353449, based on a patch by Jan Arne
4181 Fri Jul 14 16:13:37 2006 Tim Janik <timj@gtk.org>
4183 * gtk/gtkprogressbar.c: introduced ::xspacing and ::yspacing style
4184 properties which make all hardcoded padding and spacing values
4185 configurable. properly swap ::text-xalign treatment for RTL widgets.
4187 * gtk/gtkprogress.c: fixed style property blurbs. made alignment
4188 proeprty more consistent with GtkMisc alignment blurbs. mention
4189 RTL treatment for text-xalign.
4191 Tue Aug 29 11:57:40 2006 Tim Janik <timj@imendio.com>
4193 * tests/testgtk.c: allow (most) windows to be resizable.
4194 added ellipsization settings to progress bars.
4196 2006-08-28 Matthias Clasen <mclasen@redhat.com>
4198 * modules/printbackend/cups/gtkprintbackendcups.c: Use a
4199 resonable timeout of 3 seconds when polling for printer
4200 list updates, instead of 300000 seconds...
4202 2006-08-28 Michael Natterer <mitch@imendio.com>
4204 * gtk/gtktextbufferserialize.c (serialize_text): don't write out
4205 </apply_tag> for tags that have already been closed by the logic
4206 which turns overlapping spans into XML-able trees. Fixes broken
4207 XML when there are overlapping tags in the buffer. Also free two
4208 leaked GLists and did some cleanup.
4211 * tests/testrichtext.c: new test which creates randomly tagged
4212 GtkTextBuffers and serializes/deserializes them.
4214 2006-08-26 Matthias Clasen <mclasen@redhat.com>
4216 * gtk/gtkstatusicon.c (gtk_status_icon_reset_image_data):
4217 Don't leak pixbufs. (#352264, Ross Burton)
4219 * gtk/gtklinkbutton.c (set_link_underline): Don't leak
4220 PangoAttributes. (#352391, Paolo Borelli)
4222 2006-08-25 Matthias Clasen <mclasen@redhat.com>
4224 * demos/gtk-demo/Makefile.am:
4225 * demos/gtk-demo/textscroll.c: Add an example of automatic
4226 scrolling, thanks to Yevgen Muntyan. (#351206)
4228 * gtk/gtkmodules.c (find_module): Use local binding when
4229 loading modules. (#351868)
4231 2006-08-24 Michael Natterer <mitch@imendio.com>
4233 * gdk/quartz/gdkdisplay-quartz.c (gdk_display_get_name): return
4234 the hostname instead of NULL.
4236 2006-08-23 Matthias Clasen <mclasen@redhat.com>
4238 * gtk/gtkprinteroptionwidget.[hc]: Fix confusion about
4239 names and values in comboboxes, and clean up some
4240 coding style issues.
4242 2006-08-23 Tor Lillqvist <tml@novell.com>
4244 * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_make_path):
4245 Revert unintended translatable string addition. Use same string
4246 in GError as in gtkfilesystemunix.c.
4248 * gtk/gtkfilesystemwin32.c (_gtk_file_system_win32_path_compare):
4249 Fix logic at the end of strings.
4251 * gtk/gtkfilesystemwin32.c: Maintain a hash table of live
4252 handles and check that we have no outstanding handles at
4253 finalization time. (Copying what Matthias did for
4254 gtkfilesystemunix.c)
4256 2006-08-23 Matthias Clasen <mclasen@redhat.com>
4258 * gtk/gtkfilesystemunix.c: Maintain a hash table
4259 of live handles and check that we have no outstanding
4260 handles at finalization time. (Copying what
4261 Federico did for gtkfilesystemgnomevfs.c)
4263 2007-08-22 Matthias Clasen <mclasen@redhat.com>