1 2005-08-01 Matthias Clasen <mclasen@redhat.com>
3 * gtk/gtkuimanager.c (update_node): Update tooltips when
4 reconnecting toolitems. (#312173, Alex Graveley)
6 * gdk/x11/gdkxftdefaults.c: Define the hint styles to make
7 building against fc < 2.2.92 work. (#311839, Damien Carbery)
9 * gdk/x11/gdkevents-x11.c (gdk_check_wm_desktop_changed): Make
10 tracking the on_all_desktops state work better.
12 * gdk/x11/gdkwindow-x11.c (gdk_x11_window_move_to_current_desktop):
13 Don't do anything if the window is on all desktops. (#311803,
16 2005-08-01 Dom Lachowicz <cinamod@hotmail.com>
18 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: Part of #168326
20 2005-08-01 Matthias Clasen <mclasen@redhat.com>
22 * gtk/gtkclipboard.c (gtk_clipboard_set_image)
23 (gtk_clipboard_set_text): Don't leak atom names. (#311933,
26 * gtk/gtkmain.c (do_post_parse_initialization): Call
27 gettext_initialization() here as well. (#311612, Dan Winship)
29 2005-08-01 Tor Lillqvist <tml@novell.com>
31 * gdk/win32/gdkwindow-win32.c (gdk_window_set_urgency_hint):
32 Implement using FlashWindowEx(). (#309423)
34 2005-07-30 Hans Breuer <hans@breuer.org>
36 * gtk/makefile.msc.in tests/makefile.msc : updated
38 2005-07-30 Johan Dahlin <jdahlin@async.com.br>
40 * gtk/gtkctree.c (gtk_ctree_class_init): Do not use |
41 G_PARAM_STATIC_NAME in the type field, makes subclassing possible.
43 2005-07-29 Claudio Saavedra <csaavedra@alumnos.utalca.cl>
45 * docs/reference/gtk/migrating-GtkAction.sgml: Declaring the
46 GtkActionEntry arrays static const. Fixes #301612.
48 2005-07-29 J. Ali Harlow <ali@juiblex.co.uk>
50 * gtk/Makefile.am: Include gtkwin32embed.h in EXTRA_DIST
51 unconditionally. Fixes #311972.
53 2005-07-28 Federico Mena Quintero <federico@ximian.com>
55 * perf/README: Update for the new API of the profiler.
57 * perf/gtkwidgetprofiler.[ch]: New files with a widget profiler
58 object. This is the old content of timers.[ch] turned into a nice
59 object, with signals for creation and reporting. The profiler
60 needs to maintain some state when reusing the widget, so it's
61 useful to turn it into a real object.
63 Break down timing show_all into GTK_WIDGET_PROFILER_REPORT_MAP and
64 GTK_WIDGET_PROFILER_REPORT_EXPOSE.
66 * perf/main.c: Refactor to use GtkWidgetProfiler.
68 * perf/appwindow.c (content_area_new): Make this just create a
69 notebook, instead of a complex arrangement of panes.
71 * perf/widgets.h: New header file for all the "create a widget"
74 * perf/treeview.c: New file. Moved the tree view part from
75 appwindow.c over to here; GtkTreeView really needs its own tests.
76 (tree_view_new): Set the shadow type to IN.
78 * perf/textview.c: Likewise moved over from appwindow.c, but for
80 (text_view_new): Set the shadow type to IN.
82 * perf/Makefile.am (testperf_SOURCES): Add the new source files;
83 remove appwindow.h and timers.[ch].
85 * perf/timers.[ch]: Removed.
87 * perf/appwindow.h: Removed.
89 2005-07-29 Tor Lillqvist <tml@novell.com>
91 * gdk/win32/gdkevents-win32.c: Remove ifdeffed out code relating
92 to the gdk-ping message. Use the global _gdk_display instead of
93 calling gdk_display_get_default() or gdk_drawable_get_display()
94 which would return _gdk_display anyway.
95 (append_event, apply_filters, gdk_event_translate): Drop any
96 GdkDisplay parameter as we only have one display anyway. Use
97 _gdk_display where needed.
98 (gdk_event_apply_filters): Delete, move the code into its only
99 caller, apply_filters().
100 (generate_button_event): Factor out code from two places in
101 gdk_event_translate().
102 (gdk_event_translate): Call generate_button_event() in place of
105 * gdk/win32/gdkevents-win32.c (generate_grab_broken_event): New
106 static function to generate and append the GDK_GRAB_BROKEN events.
107 (gdk_pointer_grab, gdk_keyboard_grab): Generate grab broken events
108 when overriding a grab inside the application, like in the X11
109 backend. Final bits of the fix for #107320, hopefully.
110 (print_event): Handle also GDK_SETTING, GDK_OWNER_CHANGE and
111 GDK_GRAB_BROKEN events.
112 (gdk_event_translate): Call generate_grab_broken_event() in place
115 * gdk/win32/gdkdrawable-win32.c (blit_inside_drawable): Rename
116 from blit_inside_window(), as it now does blitting inside a
117 bitmap, too. No code change, still just call BitBlt().
118 (_gdk_win32_blit): Check for source equalling destination
119 first. (#169508, #131977)
120 Do away with the superfluous local draw_impl variable, the
121 parameter to this function is already a GdkDrawableImplWin32*, no
122 need to copy and cast it.
124 2005-07-28 Robert Ögren <gtk@roboros.com>
126 Avoid spurious core pointer events when the tablet pen is lifted.
129 * gdk/win32/gdkinput-win32.c (set_ignore_core): New static function,
130 handles delayed unsetting of _gdk_input_ignore_core.
131 (_gdk_input_other_event): Call set_ignore_core instead of setting
132 _gdk_input_ignore_core directly.
134 2005-07-28 Dom Lachowicz <cinamod@hotmail.com>
136 * modules/engines/ms-windows/*: Re-sync with gtk-wimp CVS. Notable
137 changes include: menu/toolbars have a gradient applied to them; better
138 handling of menu/toolbar shadows, tracking theme settings;
139 sliders/scales now use XP theming; status bar grippies drawn properly;
140 convincing toolbar grippies are drawn for the Win2k theme; notebook
141 tabs now have that orange stripe across their top; a host of scrollbar
144 2005-07-27 Tor Lillqvist <tml@novell.com>
146 * gdk/win32/gdkmain-win32.c (_gdk_win32_psstyle_to_string): Handle
149 * gdk/win32/gdkmain-win32.c (gdk_screen_get_height_mm): Fix for
150 multi-monitor cases. (#311677, Tim Evans)
152 2005-07-26 Owen Taylor <otaylor@redhat.com>
154 * gtk/gtknotebook.c (gtk_notebook_page_allocate): Fix to be
155 monotonic in the original size (#308145, Morten Welinder)
157 2005-07-26 Elijah Newren <newren@gmail.com>
159 Revert part of patch from #166379; don't have gtk_window_present()
160 change a window's desktop, but rather leave it up to the WM.
163 * gtk/gtkwindow.c (gtk_window_present_with_time): Don't change a
166 2005-07-26 Tor Lillqvist <tml@novell.com>
168 * gtk/gtkplug-win32.c: Declare GetAncestor() and define GA_PARENT
169 if missing (MSVC6). (#311633)
171 2005-07-26 Federico Mena Quintero <federico@ximian.com>
173 * perf/: New directory with the start of a framework for testing
176 * Makefile.am (SRC_SUBDIRS): Added the perf directory.
178 * configure.in (AC_OUTPUT): Generate perf/Makefile.
180 2005-07-26 Matthias Clasen <mclasen@redhat.com>
182 * gtk/gtkfilechooserdefault.c: Fix up includes on Win32.
183 (#311630, Kazuki Iwamoto)
185 * gtk/gtkimcontextsimple.c: Add ISO_Level3_Shift to
186 the list of keysyms to ignore for composition, since
187 AltGr keys produce it in some keyboard layouts. (#307283)
190 * gtk/gtk.symbols: Remove G_GNUC_NULL_TERMINATED from
191 gtk_widget_new as well, pointed out by Kjartan Maraas.
193 2005-07-25 Matthias Clasen <mclasen@redhat.com>
195 * gtk/gtkhsv.c (paint_triangle): Pad out the full width, in
196 an attempt to work around bug #311225.
198 * gtk/gtktreemodelsort.c: Trivial doc fixes.
200 * gtk/gtktreesortable.c: Talk about comparison functions, not
201 sort functions in some places. (#311398, Fabrice Bauzac)
204 * gtk/gtkobject.[hc]:
205 * gtk/gtkfilechooserdialog.[hc]
206 * gtk/gtkdialog.[hc]: Remove the G_GNUC_NULL_TERMINATED marker
207 from a number of varargs functions where we allow to omit the
208 varargs completely. (#311465, Callum McKenzie)
210 2005-07-22 Matthias Clasen <mclasen@redhat.com>
212 * === Released 2.7.4 ===
216 * gtk/gtkmessagedialog.c (gtk_message_dialog_format_secondary_markup):
217 Point out escaping oversight. (#311260, Owen Taylor)
219 2005-07-21 Matthias Clasen <mclasen@redhat.com>
221 * gtk/gtkcombobox.c (gtk_combo_box_list_destroy): Cleanup
222 a possible resize idle. (#311141, Robert Ögren)
224 * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_changed):
225 (gtk_tree_model_sort_sort_level): Ref the level while using it,
226 otherwise it may get nuked by gtk_tree_model_sort_increment_stamp.
227 (gtk_tree_model_sort_row_deleted): Don't leak the root level
228 here. (#300089, James Bramford, Markku Vire)
230 2005-07-21 Federico Mena Quintero <federico@ximian.com>
232 * gtk/gtkfilechooser.c (gtk_file_chooser_set_filename): Clarify
233 the usage of this function.
234 (gtk_file_chooser_set_uri): Likewise.
235 (gtk_file_chooser_set_current_name): Likewise.
237 * gtk/gtkfilechooserdefault.c (set_file_system_backend):
238 Instrument this function for profiling as well.
239 (gtk_file_chooser_default_init): Likewise; just to have a marker
240 of where instance initialization begins.
242 2005-07-21 Owen Taylor <otaylor@redhat.com>
244 * gtk/gtkwidget.c (update_pango_context): Fix a couple of leaks.
246 2005-07-21 Christian Rose <menthos@menthos.com>
248 * configure.in: Added "hy" to ALL_LINGUAS.
250 2005-07-21 Matthias Clasen <mclasen@redhat.com>
254 * gtk/gtkstatusbar.c (gtk_statusbar_size_allocate): Be
255 a bit more careful to not shrink the label to a negative
256 width. (#311175, Thomas Vander Stichele)
258 * gtk/gtk.symbols: mark gtk_socket_steal as deprecated.
260 * configure.in: Bump the cairo requirement.
262 2005-07-19 Owen Taylor <otaylor@redhat.com>
264 * gtk/gtksettings.c gtk/gtkwidget.c: Change machinery for
265 following font rendering xsettings to set cairo font
266 options on PangoContext
268 * gdk/x11/gdkxftdefaults.c gdk/x11/gdkevents-x11.c gdkscreen-x11.h
269 gdkprivate-x11.h: Get default values for rendering options
270 (such as antialiasing, dpi) from the Xft resources for the
271 display, borrowing a bit of code from Xft.
273 * gtk/gtksettings.c (gtk_settings_class_init): Fix docs for
274 values of gtk-xft-hintstyle.
276 2005-07-21 Tor Lillqvist <tml@novell.com>
278 Make GtkPlug/Socket cross-platform: Add Win32 implementation,
279 splice out X11 implementation to separate files. (#58541)
281 * gtk/gtk.symbols: Make GtkPlug/Socket API available with all
284 * gtk/Makefile.am: Changes to build GtkPlug/Socket with all
288 * gtk/gtkplug.c: Splice out backend-dependend parts to separate
291 * gtk/gtksocketprivate.h
292 * gtk/gtkplugprivate.h: New files. Declare the backend-specific
293 functions, and the private backend-independent functions they call
296 * gtk/gtksocket-stub.c
298 * gtk/gtksocket-x11.c
300 * gtk/gtksocket-win32.c
301 * gtk/gtkplug-win32.c
302 * gtk/gtkwin32embed.h
303 * gtk/gtkwin32embed.c: New files, containing the backend-specific
304 parts of GtkPlug/Socket.
307 * gtk/gtkxembed.c (_gtk_xembed_message_name): New function, used
308 in error messages and debugging output.
310 * gtk/gtkwindow.c (gtk_window_show): No need for ifdef, can now
311 use GTK_IS_PLUG() with all backends.
313 * tests/testsocket_common.c: Make it work on Win32, too.
315 2005-07-21 Tor Lillqvist <tml@novell.com>
317 * gdk/win32/gdkwindow-win32.c (gdk_window_set_title): Use
318 wide-char API when available. (#311079, Peter Zelezny)
320 2005-07-21 Matthias Clasen <mclasen@redhat.com>
322 * gtk/gtkwidget.c (gtk_widget_modify_bg, gtk_widget_modify_base):
323 Add hints on how to handle "no window" widgets. (#136347)
325 2005-07-20 Keith Packard <keithp@keithp.com>
327 * gdk/x11/gdkdrawable-x11.c: (gdk_x11_ref_cairo_surface):
329 Follow change in cairo API to add Screen* to
330 cairo_xlib_create_surface_for_bitmap
332 2005-07-20 Matthias Clasen <mclasen@redhat.com>
334 * gtk/gtkicontheme.c (load_svg_at_size): Explicitly use the
335 svg loader, if available. This should help with the fact that
336 svg is not reliably sniffable with the current gdk-pixbuf sniffing
339 * gtk/gtkstyle.c (gtk_default_draw_expander): Make sure expanded
340 expanders are not fuzzy. (#310172, reported by Alexander Larsson,
341 patch by Owen Taylor)
343 * gtk/gtkdnd.c (gtk_drag_begin_internal): Don't fail if we
344 can't get a keyboard grab. (#168351)
346 * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_[sg]et_property):
347 Add GTK_FILE_CHOOSER_PROP_DO_OVERWRITE_CONFIRMATION.
349 2005-07-19 Federico Mena Quintero <federico@ximian.com>
351 * gtk/gtkfilechooserdefault.c: Added a few utility functions for
352 profiling; instrument the code, make it conditional.
354 2005-07-19 Kristian Rietveld <kris@gtk.org>
356 * gtk/gtkentry.c (gtk_entry_move_forward_word): don't iterate
357 past the end of the string, so pango_layout_get_cursor_pos() won't
358 complain. (#309211, Tommi Komulainen).
360 2005-07-19 Tor Lillqvist <tml@novell.com>
362 * gtk/gtkmain.c (check_sizeof_GtkWindow, check_sizeof_GtkBox):
363 Don't bother mentioning the -fnative-struct (used by GCC 2) switch
364 in the error message any longer.
366 2005-07-18 Matthias Clasen <mclasen@redhat.com>
368 * gdk/gdkpixbuf-render.c: Small formatting fixes in doc comments.
370 * gtk/gtkcombobox.c (gtk_combo_box_model_row_deleted)
371 (gtk_combo_box_model_row_inserted): Remove useless calls
372 to gtk_tree_row_reference_inserted/deleted, since we
373 don't use manual row references here.
375 * gtk/gtkmain.c (gtk_parse_args, gtk_init_with_args): Call
376 gettext_initialization before checking gtk_initialized, otherwise
377 there are scenarios where it is not called at all. For an
378 example, see tests/testfilechooserbutton.c. (#310323,
381 2005-07-18 Tor Lillqvist <tml@novell.com>
383 * gdk/win32/gdkgc-win32.c (gdk_win32_hdc_get): Be sure to remove
384 any possible leftover clipping region in the DC if we don't want
385 any clipping. Thanks to Robert Ögren. (#309823)
387 * configure.in (GDK_EXTRA_LIBS): [Win32] Bypass libtool, use
388 -Wl,-luuid. This avoids a libtool warning as libuuid is static.
390 2005-07-18 Matthias Clasen <mclasen@redhat.com>
392 * gtk/gtkcombobox.c (gtk_combo_box_set_focus_on_click): Propagate
393 the focus-on-click value to the button. (#310543, Christian Persch)
395 * gtk/gtkwidget.c (gtk_widget_set_double_buffered): Add a note
396 about the need to handle expose events. We really need a chapter
397 on the GTK+ drawing model that we can refer to here... (#310765,
400 2005-07-16 Tor Lillqvist <tml@novell.com>
402 * configure.in (GDK_EXTRA_LIBS): [Win32] Put -luuid back, it is
403 needed in case one builds without the ie55 stuff. (#310582)
405 2005-07-15 Matthias Clasen <mclasen@redhat.com>
407 * configure.in: Bump version
409 * === Released 2.7.3 ===
411 * gdk/gdkdraw.c (gdk_draw_drawable): Add better docs.
412 (#310192, Owen Taylor)
414 2005-07-15 Matthias Clasen <mclasen@redhat.com>
418 * gtk/gtkentry.c (gtk_entry_move_forward_word):
419 (gtk_entry_move_backward_word): Don't treat whitespace as
420 words for keynav, pointed out by Owen Taylor.
422 2005-07-15 Federico Mena Quintero <federico@ximian.com>
424 * gtk/gtkfilechooserdefault.c
425 (should_respond_after_confirm_overwrite): Take the parent folder
426 path instead of the display name, to avoid doing duplicated work
427 in gtk_file_chooser_default_should_respond().
429 2005-07-15 Federico Mena Quintero <federico@ximian.com>
431 * gtk/gtkfilechooserdefault.c
432 (confirm_dialog_should_accept_filename): Take the display name of
433 the folder as well so that we can present a better message. Use a
434 stock cancel button, "_Replace", and GTK_STOCK_SAVE_AS.
435 (gtk_file_chooser_default_should_respond): Pass the file part and
436 folder display name directly to the function above. Oops, only do
437 the confirmation dialog if the file exists.
439 2005-07-15 Federico Mena Quintero <federico@ximian.com>
441 * gtk/gtkfilechooserdefault.c
442 (confirm_dialog_should_accept_filename): Use header capitalization
443 for the buttons, per the HIG.
445 * gtk/gtk.symbols: Add the new functions.
447 * tests/testfilechooser.c (confirm_overwrite_cb): Add a test for
448 the confirm-overwrite signal.
450 * gtk/gtkfilechooser.c (gtk_file_chooser_class_init): Remove the
451 stub documentation for the "confirm-overwrite" signal.
452 (gtk_file_chooser_set_do_overwrite_confirmation): Add "Since: 2.8"
454 (gtk_file_chooser_get_do_overwrite_confirmation): Likewise.
456 2005-07-14 Federico Mena Quintero <federico@ximian.com>
458 Add overwrite confirmation for SAVE mode. Fixes bug #152850:
460 * gtk/gtkfilechooser.h: Add prototypes for
461 gtk_file_chooser_set/get_do_overwrite_confirmation().
462 (GtkFileChooserConfirmation): New enum for the result of the
463 "confirm-overwrite" signal.
465 * gtk/gtkmarshalers.list: Add ENUM:VOID.
467 * gtk/gtkfilechooser.c (gtk_file_chooser_class_init): Add a
468 "do-overwrite-confirmation" boolean property.
469 (gtk_file_chooser_set_do_overwrite_confirmation): Implement.
470 (gtk_file_chooser_get_do_overwrite_confirmation): Implement.
471 (confirm_overwrite_accumulator): New accumulator for the signal.
473 * gtk/gtkfilechooserutils.h (GtkFileChooserProp): Add
474 GTK_FILE_CHOOSER_PROP_DO_OVERWRITE_CONFIRMATION.
476 * gtk/gtkfilechooserutils.c
477 (_gtk_file_chooser_install_properties): Override the
478 do-overwrite-confirmation property.
480 * gtk/gtkfilechooserprivate.h (struct _GtkFileChooserIface): Add a
481 confirm_overwrite signal to the vtable.
483 * gtk/gtkfilechooserdefault.c
484 (gtk_file_chooser_default_set_property): Handle the new property.
485 (gtk_file_chooser_default_get_property): Likewise.
486 (get_selected_file_info_from_file_list): New helper function; code
487 taken from list_selection_changed().
488 (list_selection_changed): Use get_selected_file_info_from_file_list().
489 (should_respond_after_confirm_overwrite): New function.
490 (gtk_file_chooser_default_should_respond): Confirm when necessary.
492 2005-07-14 Matthias Clasen <mclasen@redhat.com>
494 * gtk/gtk.symbols: Add new exported symbols.
496 2005-07-14 Tor Lillqvist <tml@novell.com>
498 * gtk/gtkfilesystemwin32.c (filename_get_info): Implement getting
499 the MIME type of a file. Look it up in the Registry. Bug reported
502 2005-07-14 Tor Lillqvist <tml@novell.com>
504 * configure.in (GDK_EXTRA_LIBS): Don't need -luuid on Win32. It
505 was some leftover, and in fact occasionally caused issues with
506 libtool as it made its way into the libgdk-win32-2.0.la file and
507 that way into the .la files of all libraries that depend on
508 GDK. (This happened only when building from CVS and not using a
509 full "make install" which would run the sanitize-la.sh script.)
511 2005-07-14 Matthias Clasen <mclasen@redhat.com>
513 * gdk/x11/gdkevents-x11.c (set_screen_from_root): Don't assert if
514 the xrootwin is invalid. (#309997, Barbie LeVille)
515 (gdk_event_translate): Ignore events with an invalid root field.
517 * configure.in: Set interface age to 0.
519 * gtk/gtkimmodule.h: Move G_BEGIN_DECLS to the right spot, noticed
522 2005-07-14 Kristian Rietveld <kris@gtk.org>
524 * gtk/gtktreeviewcolumn.[ch] (gtk_tree_view_column_queue_resize): new
525 function (fixes #169961, reported by Morten Welinder).
527 2005-07-14 Kristian Rietveld <kris@gtk.org>
529 * gtk/gtktreeview.[ch] (gtk_tree_view_get_visible_range): new
530 function. (fixes #105252, suggestion from Mikael Hallendal).
532 2005-07-13 Manish Singh <yosh@gimp.org>
534 * demos/gtk-demo/iconview_edit.c: remove unused variable.
536 2005-07-13 Kristian Rietveld <kris@gtk.org>
538 * gtk/gtktreemodel.[ch] (gtk_tree_row_reference_get_model): new
539 function. (#160879, Stefan Kost).
541 2005-07-13 Kristian Rietveld <kris@gtk.org>
543 * gtk/gtktreeview.c (gtk_tree_view_bin_expose): paint a flat box
544 on the area the treeview got allocated extra vertically (fixes
545 #142063, reported by Brian Bober).
547 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
548 make this function calculate real_cell_area and real_background_area
549 correctly. (fixes #309249, reported by Bernd Demian).
551 2005-07-13 Matthias Clasen <mclasen@redhat.com>
553 * gtk/gtkcalendar.c (calendar_realize_arrows): Fix an
554 unintentional case of width-for-height... (#310133, Luis Villa)
556 2005-07-13 Kristian Rietveld <kris@gtk.org>
558 * gtk/gtktreeview.c (gtk_tree_view_new_column_width): let's take
559 the MIN of width and max_width here, not width and max_width != -1.
560 (fixes #144480, reported by Mikael Magnusson).
562 2005-07-13 Matthias Clasen <mclasen@redhat.com>
564 * gtk/gtkicontheme.c (load_themes): Don't keep the caches
565 for unthemed directories in a separate list, instead append
566 them at the end of the dir_mtimes list, so that we can check
567 them for staleness like the other caches. (#310221, Mark
570 * configure.in: Check that we have a new enough Cairo.
572 2005-07-13 Robert Ögren <gtk@roboros.com>
574 Fix handling of Aiptek and Aiptek-like graphical tablets such as Trust
575 on Windows. (#167004, thanks to "pnohant" for testing)
577 Code cleanup: Remove the unused and unmaintained code for using a
578 non-system tablet context (USE_SYSCONTEXT ifdef:s), suggested
581 * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Handle
582 tablet drivers that don't support WTI_DDCTXS/WTI_DSCTXS gracefully.
583 Sligthly reorganize and simplify the code to support this.
584 (_gdk_input_wintab_init_check, _gdk_input_other_event): Remove
585 USE_SYSCONTEXT ifdef:s and the code for the case it was not defined.
586 (gdk_input_window_find_within): Removed.
588 2005-07-13 Matthias Clasen <mclasen@redhat.com>
590 * gdk/win32/bdfcursor.c: Add Copyright/License information.
592 2005-07-13 Kristian Rietveld <kris@gtk.org>
594 * gtk/gtktreeview.c (validate_row): when !separator, don't add
595 the focus_line_width to width/height (happens in
596 _column_cell_get_size), but do add the vertical-separator to height,
597 we weren't taking this into account before.
599 * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
600 take vertical-separator into account. (#309137, Ross Burton).
602 2005-07-13 Matthias Clasen <mclasen@redhat.com>
604 * tests/treestoretest.c:
605 * tests/testxinerama.c:
606 * tests/testtreeview.c:
607 * tests/testtreefocus.c:
608 * tests/testtreeflow.c:
609 * tests/testtreeedit.c:
610 * tests/testtreecolumns.c:
612 * tests/testtextbuffer.c:
613 * tests/testspinbutton.c:
614 * tests/testsocket_common.c:
615 * tests/testsocket_child.c:
616 * tests/testsocket.c:
617 * tests/testmultiscreen.c:
618 * tests/testmultidisplay.c:
621 * tests/testmenubars.c:
622 * tests/testicontheme.c:
623 * tests/testfilechooser.c:
624 * tests/testentrycompletion.c:
626 * tests/testcombochange.c:
627 * tests/testactions.c:
631 * gtk/gtktexttypes.h:
632 * gtk/gtktexttypes.c:
633 * gtk/gtktexttagprivate.h:
634 * gtk/gtktextsegment.h:
635 * gtk/gtktextiterprivate.h:
636 * gtk/gtktextchildprivate.h:
637 * gtk/gtktextbtree.h: Add Copyright/License information.
639 * gtk/gtkicontheme.c (gtk_icon_theme_get_default)
640 (gtk_icon_theme_get_for_screen): Add a warning about
641 unreffing icon themes. (#310163, Rodney Dawes)
643 2005-07-13 Kristian Rietveld <kris@gtk.org>
645 * gtk/gtktreeselection.c (gtk_tree_selection_selected_foreach): quit
646 maintaining the iter on every iteration, only get the iter when
647 we are about to call the foreach_func. Gives us a 10x speedup,
648 since maintaining iters is a lot more expensive than maintaining
649 paths. We lose a bit of sanity checking though. Thanks go to
650 Billy Biggs for pointing this out.
652 2005-07-12 Matthias Clasen <mclasen@redhat.com>
654 * tests/testcairo.c (draw): Fix the same confusion here, too.
656 * gdk/gdkgc.c (make_stipple_tile_surface): Fix
657 cairo_content_t <-> cairo_format_t confusion. (#310086,
658 Carlos Garnacho Parro)
660 * gtk/gtkfilesystemunix.c
661 (gtk_file_system_unix_volume_get_display_name): Follow
662 the Nautilus change and rename "Filesystem" to "File System",
663 string change. (#310047, Vincent Noel)
665 2005-07-12 Matthias Clasen <mclasen@redhat.com>
667 * demos/gtk-demo/iconview.c: Rename this demo.
669 * demos/gtk-demo/iconview_edit.c: Add a demo for icon view
670 editing and drag-and-drop.
672 * demos/gtk-demo/geninclude.pl.in: Accept dashes in demo titles.
674 2005-07-12 Matthias Clasen <mclasen@redhat.com>
676 * gtk/theme-bits/decompose-bits.c:
677 * gtk/gtkfilechooserembed.c:
678 * gtk/gtktextmarkprivate.h:
679 * gtk/gtktexttagtable.h:
680 * gtk/gtktexttagtable.c:
681 * gtk/gtkrc.key.emacs: Add Copyright/License information.
683 * gdk/linux-fb/gdkrender-fb.c:
684 * gdk/linux-fb/gdkpango-fb.c:
685 * gdk/linux-fb/gdkdrawable-fb2.c:
686 * gdk/linux-fb/gdkgc-fb.c:
687 * gdk/linux-fb/gdkfbswitch.c: Add Copyright/License information.
691 * gdk/gdkselection.h:
692 * gdk/gdkselection.c:
706 * gdk/gdkcolor.h: Add Copyright/License information.
708 2005-07-11 Matthias Clasen <mclasen@redhat.com>
710 * modules/input/imm-extra.h: Add Copyright/License information.
712 2005-07-11 Matthias Clasen <mclasen@redhat.com>
714 * gtk/gtktexttag.c (gtk_text_tag_class_init)
715 (gtk_text_tag_set_property): Remove the runtime warning about
716 the invisible property, add a warning about possible remaining
717 problems to the documentation of the property. (#66194)
719 * gtk/gtktextview.c (gtk_text_view_move_cursor_internal): Don't
720 ever go unconditionally to the buffer ends; that doesn't work
721 if the initial or final portion of the buffer are invisible.
723 2005-07-11 Kristian Rietveld <kris@gtk.org>
725 * gtk/gtktreeview.c (gtk_tree_view_class_init): add binding entry
726 for ctrl + backspace (move focus to parent without affecting
728 (gtk_tree_view_real_select_cursor_parent): implement ctrl+backspace
729 and simplify the function a bit. (#309296, Kathy Fernandes).
731 2005-07-11 Matthias Clasen <mclasen@redhat.com>
733 Make gtk_window_present() move the window to the current
734 desktop, instead of letting the WM change the current
735 desktop to where the window is. (#166379, Elijah Newren)
739 * gdk/x11/gdkwindow-x11.c (gdk_x11_window_move_to_current_desktop):
740 New function to move a window to the current desktop.
742 * gtk/gtkwindow.c (gtk_window_present_with_time): Move the
743 window to the current desktop before giving it focus.
745 2005-07-11 Matthias Clasen <mclasen@redhat.com>
747 When dragging text, use a drag icon showing the (ellipsized)
748 text that is being dragged: (#161132, Kevin Duffus, patch
749 by Carlos Garnacho Parro)
752 * gtk/gtktextutil.c (_gtk_text_util_create_drag_icon): Add
753 a function to create a pixmap for use when dragging text.
755 * gtk/gtktextview.c (gtk_text_view_start_selection_dnd):
756 * gtk/gtklabel.c (gtk_label_motion):
757 * gtk/gtkentry.c (gtk_entry_motion_notify): Use a drag icon
758 showing the text being dragged.
760 2005-07-11 Matthias Clasen <mclasen@redhat.com>
762 * gtk/gtkentry.c (gtk_entry_move_forward_word)
763 (gtk_entry_move_backward_word): Match the text view change
764 to allow selecting whitespace with double-click.
766 * gtk/gtktextview.c (extend_selection): Make double-clicking
767 between words select whitespace. (#309860, Mike Miller, patch
770 * gtk/gtkiconview.c: Documentation improvements. (#309946,
773 2005-07-10 Kristian Rietveld <kris@gtk.org>
775 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): remove
776 unneeded check for negative window_y.
778 2005-07-10 Kristian Rietveld <kris@gtk.org>
780 * gtk/gtktreeview.c (gtk_tree_view_search_key_press_event): also move
781 to the next match when ctrl+g is pressed. (#156657, Matt T. Proud).
783 2005-07-10 Kristian Rietveld <kris@gtk.org>
785 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): rework
786 function to make page up/down behave the same as in GtkTextView.
787 (Fixes #101220, Owen Taylor).
789 2005-07-09 Kristian Rietveld <kris@gtk.org>
791 Fix #305737, patch from Tomislav Jonjic. This makes the
792 gtk_tree_store_insert* family of functions emit row_has_child_toggled
793 when needed (they didn't do that before).
795 * gtk/gtktreestore.c (gtk_tree_store_insert): emit
796 row_has_child_toggled when needed,
797 (gtk_tree_store_insert_before): fix a possible memleak,
798 emit row_has_child_toggled when needed,
799 (gtk_tree_store_insert_after): ditto.
801 2005-07-09 Kristian Rietveld <kris@gtk.org>
803 * gtk/gtktreeview.c (gtk_tree_view_real_expand_row): when
804 open_all is TRUE, traverse the newly built tree to emit
805 row_expanded for the subitems. (rev 1.444, patch in #172319
806 broke this). Fixes #305582, reported by Billy Biggs.
808 2005-07-09 Tor Lillqvist <tml@novell.com>
810 * configure.in: Look for windres on Win32. Drop build/* from
813 * Makefile.am: Drop build from SUBDIRS.
815 * gdk/win32/rc/Makefile.am
817 * gtk/Makefile.am: Don't use the scripts in build/win32 to compile
818 the rc files into resource object files. (This means we lose the
819 build number increment magic, but I doubt it was that useful
820 anyway.) Instead use windres directly. To pass a normal .o file
821 produced by windres through libtool, which would want a .lo file,
822 pass it directly to the linker using a -Wl option.
824 * gdk/win32/rc/gdk.rc.in
825 * gtk/gtk-win32.rc.in: Replace BUILDNUMBER with 0.
827 2005-07-08 Kristian Rietveld <kris@gtk.org>
829 Fixes #165034, reported by Jorn Baayen.
831 * gtk/gtkrbtree.[ch] (_gtk_rbtree_set_fixed_height): add a
832 mark_valid parameter (so we can mark all nodes as valid when we
833 are setting them to the fixed height).
835 * gtk/gtktreeview.c (initialized_fixed_height_mode): mark all
836 nodes as valid when setting the fixed height,
837 (do_validate_rows): update call to _set_fixed_height,
838 (gtk_tree_view_row_inserted): mark node as valid when fixed
839 height mode is enabled and a height has been set,
840 (gtk_tree_view_build_tree): if fixed height mode is enabled,
841 mark new nodes as valid in addition to setting the height.
843 2005-07-08 Matthias Clasen <mclasen@redhat.com>
845 * configure.in: Bump version
847 * === Released 2.7.2 ===
851 * gtk/gtkcelllayout.c (gtk_cell_layout_pack_start):
852 (gtk_cell_layout_pack_end): Add a note about reusing cell
855 * gtk/gtkdnd.c (gtk_drag_update_cursor): Pass a GdkDragAction to
856 gtk_drag_get_cursor. (#309784, Sebastian Bacher)
858 2005-07-08 Tor Lillqvist <tml@novell.com>
860 * gtk/gtkfilesel.c: Use g_get_host_name().
862 2005-07-07 Matthias Clasen <mclasen@redhat.com>
864 * configure.in: Add -DHPPEX -DSHMLINK to CFLAGS for HP-UX.
865 (#162979, Paul Cornett)
867 * gtk/gtkhscale.c (gtk_hscale_new_with_range):
868 (gtk_vscale_new_with_range): Add some additional docs on
869 precision here too. (#309238, Steve Chaplin)
871 * gdk/x11/gdkmain-x11.c (generate_grab_broken_event): Don't
872 generate events on destroyed windows.
874 Implement Drag-and-Drop to the file list. (#145121, Sven Neumann)
876 * gtk/gtkfilechooserdefault.c (file_list_drag_data_received_cb)
877 (file_list_drag_drop_cb, file_list_drag_motion_cb): New functions
878 to handle drag-and-drop on the file list.
879 (create_file_list): Set up drag-and-drop handlers on the file list.
881 2005-07-07 Matthias Clasen <mclasen@redhat.com>
883 Fix #157787, reported by Jonathan Blandford:
885 * gtk/gtkfilechooserdefault.c
886 (gtk_file_chooser_default_set_current_folder): Don't leave a
887 "trail" behind when set_current_folder is called explicitly.
888 (gtk_file_chooser_default_update_current_folder): New function
889 that is called to update the current folder in response to
892 * gtk/gtkpathbar.c (_gtk_path_bar_set_path): Add a boolean
893 keep_trail argument, and don't leave a "trail" behind unless
896 2005-07-06 Manish Singh <yosh@gimp.org>
898 * demos/gtk-demo/menus.c: change_orientation() should return void,
899 remove unused variable in do_menus().
901 2005-07-06 Tor Lillqvist <tml@novell.com>
903 * gdk/win32/gdkcursor-win32.c
904 (gdk_win32_icon_to_pixbuf_libgtk_only): Don't create the GdkPixbuf
905 until we know that we have something to put in it.
907 2005-07-05 Matthias Clasen <mclasen@redhat.com>
909 * gtk/gtkspinbutton.c (gtk_spin_button_new_with_range): Add some
910 additional docs on precision. (#309238, Steve Chaplin)
912 * modules/input/imime.c: Fix includes. (#309462, Kazuki IWAMOTO)
914 2005-07-05 Matthias Clasen <mclasen@redhat.com>
916 * doc/tools/widgets.c: Actually generate a file-button
919 2005-07-06 Tor Lillqvist <tml@novell.com>
921 * gdk/win32/gdkcursor-win32.c: Add comment about the current named
922 cursor implementation, and what it maybe really should do.
923 (gdk_win32_icon_to_pixbuf_libgtk_only): New function, code moved
924 here from gtk/gtkfilesystemwin32.c:extract_icon().
925 (gdk_cursor_get_image): Use
926 gdk_win32_icon_to_pixbuf_libgtk_only().
929 * gdk/win32/gdkwin32.h: Declare gdk_win32_icon_to_pixbuf_libgtk_only().
931 * gtk/gtkfilesystemwin32.c (extract_icon): Use
932 gdk_win32_icon_to_pixbuf_libgtk_only().
934 2005-07-05 Matthias Clasen <mclasen@redhat.com>
936 * gtk/gtkmenu.c (gtk_menu_grab_notify): Take window
937 groups into account. (#309473, Diego Gonzalez)
939 * gtk/gtkwindow.[hc]: Add a non-exported function to
940 get the grab widget of a window group.
942 2005-07-05 Kristian Rietveld <kris@gtk.org>
944 * gtk/gtktreeview.c (gtk_tree_view_bin_expose): in the
945 'main' expose loop, add back the calls to _set_cell_data
946 removed earlier. (#309221, Matthias Clasen).
948 2005-07-05 Matthias Clasen <mclasen@redhat.com>
950 * demos/gtk-demo/menus.c: Demonstrate vertical menubars.
953 * gtk/gtkaboutdialog.[hc]: Add a wrap-license property
954 with getter and setter. (#165012, Christian Rose,
955 based on a patch by Christian Persch)
957 2005-07-05 Matthias Clasen <mclasen@redhat.com>
959 * gdk/Makefile.am: Distribute the keyname-table.h header
960 and the files that are used to construct it. (#309421,
963 2005-07-04 Matthias Clasen <mclasen@redhat.com>
965 * gtk/gtkmenubar.c (gtk_menu_bar_set_pack_direction)
966 (gtk_menu_bar_set_child_pack_direction): Queue a resize
967 on the contained menuitems as well.
969 * demos/gtk-demo/appwindow.c: Break some overlong lines.
971 2005-07-03 Hans Breuer <hans@breuer.org>
973 * **/makefile.msc[.in] : updated
974 * gtk/gtkiconcache.c : <io.h> for open()
975 * gtk/gtkstyle.c : use G_PI instead of M_PI
977 * gdk/win32/gdkcursor-win32.c : implement gdk_cursor_new_from_name()
978 by mapping the lower case win32 api name to the respective cursor.
979 E.g. pass "wait" to get the IDC_WAIT cursor. Also allows to load
980 cursors from named resources in the executable.
981 (gdk_cursor_get_image) : just return NULL for now.
983 * gdk/win32/gdkgeometry-win32.c : implement gdk_window_move_region()
984 by delegation to ScollWindowEx(), untested.
986 * gdk/win32/gdkwindow-win32.c : stub for gdk_window_set_urgency_hint()
988 2005-07-03 Matthias Clasen <mclasen@redhat.com>
990 * gtk/gtkimagemenuitem.c: Hmm, when committing my vertical
991 menubar patch, I forgot the GtkImageMenuItem changes. And I
992 managed to do 2 releases without noticing that...
994 * gtk/gtksettings.c (gtk_settings_class_init): Correct the
995 blurb for the icon-sizes setting. String change.
996 (#309355, Benjamin Berg)
998 2005-07-01 Matthias Clasen <mclasen@redhat.com>
1000 * configure.in: Bump version.
1002 * === Released 2.7.1 ===
1006 2005-07-01 Matthias Clasen <mclasen@redhat.com>
1008 * gtk/gtkfilesel.c (cmpl_init_state): Prevent an infinite
1009 loop when G_FILENAME_ENCODING is invalid. (#309280, Padraig Brady)
1011 Thu Jun 30 14:17:24 2005 Manish Singh <yosh@gimp.org>
1013 * gdk/x11/gdkprivate-x11.h: declare _gdk_xgrab_check_button_event.
1015 * gtk/gtkbutton.c: fix signature of gtk_button_grab_broken.
1017 2005-06-30 Matthias Clasen <mclasen@redhat.com>
1019 * gdk/x11/gdkvisual-x11.c (gdk_visual_decompose_mask): Avoid
1020 infinite loop if a mask is zero. (#309222, David Saxton)
1022 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_fetch_child):
1023 Clarify the code, gcc 4 complains about predecrement in MAX().
1025 * modules/input/gtkimcontextxim.c (gtk_im_context_xim_finalize): Don't
1026 prematurely unregister callbacks.
1030 2005-06-29 Matthias Clasen <mclasen@redhat.com>
1032 * gtk/gtkbutton.c (gtk_button_grab_broken): Handle broken
1035 * gtk/gtkrange.c (gtk_range_grab_broken): Handle broken
1038 * gdk/gdkevents.h: Add a boolean to specify wether the broken
1041 * gdk/x11/gdkdisplay-x11.c (gdk_display_pointer_is_grabbed):
1042 As the documentation states, don't return TRUE for
1045 * gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): Add
1046 a boolean field to store wether a pointer grab is implicit.
1048 * gdk/x11/gdkmain-x11.c (_gdk_xgrab_check_button_event):
1049 Track implicit grabs.
1051 * gdk/x11/gdkevents-x11.c (gdk_event_translate): Call
1052 _gdk_xgrab_check_button_event for button events.
1054 2005-06-28 Matthias Clasen <mclasen@redhat.com>
1056 * gtk/gtkiconview.c (gtk_icon_view_calculate_item_size2):
1057 Make sure that cell boxes are always completely inside
1060 2005-06-27 Matthias Clasen <mclasen@redhat.com>
1062 * demos/gtk-demo/main.c (create_tree): Make the list of
1065 * gtk/gtktextlayout.c (gtk_text_layout_move_iter_to_line_end):
1066 Fix positioning at the end of the line for lines ending
1067 in invisible characters.
1068 (gtk_text_layout_get_line_display): Set display->layout
1069 to a PangoLayout, even for totally invisible lines.
1071 * gtk/gtkmenushell.c (gtk_menu_shell_grab_broken): Ignore
1072 GrabBroken events which are caused by overgrabbing inside
1073 the application; menus rely on these for their operation.
1075 * gdk/gdkevents.h (struct _GdkEventGrabBroken): Add a
1078 * gdk/win32/gdkevents-win32.c (gdk_event_translate): Set
1079 grab_window to NULL when generating GrabBroken events for
1080 WM_KILLFOCUS messages.
1082 * gdk/x11/gdkmain-x11.c (_gdk_xgrab_check_unmap)
1083 (_gdk_xgrab_check_destroy): Set grab_window to NULL when
1084 generating GrabBroken events when the grab window becomes
1085 unviewable or is destroyed.
1087 * gdk/x11/gdkmain-x11.c (gdk_pointer_grab, gdk_keyboard_grab):
1088 Generate GrabBroken events when overriding a grab inside
1089 the application. In this case, set grab_window to the new
1092 2005-06-27 Matthias Clasen <mclasen@redhat.com>
1094 * gtk/gtkbutton.c (gtk_real_button_activate): Continue
1095 to activate even if we can't grab the keyboard.
1096 (gtk_button_finish_activate): Only ungrab when we have
1097 a keyboard grab. (#172998, William Jon McCann)
1099 2005-06-27 Matthias Clasen <mclasen@redhat.com>
1101 * modules/input/gtkimcontextxim.c (gtk_im_context_xim_finalize):
1102 Avoid a segfault. (#309054)
1104 2005-06-27 Matthias Clasen <mclasen@redhat.com>
1106 * gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): Add
1107 fields for grab timestamps.
1109 * gdk/x11/gdkmain-x11.c (gdk_pointer_grab, gdk_keyboard_grab):
1110 Store grab timestamps when grabbing.
1112 * gdk/x11/gdkdisplay-x11.c (gdk_display_keyboard_ungrab)
1113 (gdk_display_pointer_ungrab): Don't unset the grab_window
1114 if the timestamps indicate that the ungrab will fails.
1116 * gtk/gtkmenu.c (gtk_menu_grab_notify): Cancel menus when
1117 they are grab-shadowed by something thats not a
1118 submenu. (#145416, Euan MacGregor)
1120 2005-06-27 Owen Taylor <otaylor@redhat.com>
1122 * gtk/gtk[hv]ruler.c (gtk_[hv]ruler_draw_ticks):
1125 2005-06-27 Kjartan Maraas <kmaraas@gnome.org>
1127 * gtk/gtkhruler.c: (gtk_hruler_draw_ticks): Fix leaks
1128 * gtk/gtkvruler.c: (gtk_vruler_draw_ticks): Same
1131 2005-06-27 Matthias Clasen <mclasen@redhat.com>
1133 * gtk/gtkiconcache.c (_gtk_icon_cache_new_for_path): Use
1136 * configure.in: Require GLib 2.7.1
1138 2005-06-26 Matthias Clasen <mclasen@redhat.com>
1140 * modules/input/gtkimcontextxim.c (gtk_im_context_xim_finalize):
1141 Unregister XIM callbacks here. (#309054)
1143 * modules/input/gtkimcontextxim.h: Small cleanup.
1145 * gtk/gtkmenu.c (gtk_menu_paint): Pay attention to the
1146 scroll offset when drawing the box. (#308834, Tom von
1149 2005-06-26 Tor Lillqvist <tml@novell.com>
1152 * gtk/Makefile.am: Current GNU tools do understand the PRIVATE
1153 keyword, so no need to remove those entries from the import
1154 library. libtool installs the .dll.a import library itself, so no
1155 need to do it here. Install the .def file.
1157 Sun Jun 26 00:04:36 2005 Manish Singh <yosh@gimp.org>
1159 * gdk/gdkevents.c (gdk_event_get_time, gdk_event_get_state): add
1160 GDK_GRAB_BROKEN to the switch cases.
1162 * gtk/gtkmenushell.c (gtk_menu_shell_grab_broken): remove unused
1165 * gtk/gtkpaned.c (gtk_paned_grab_broken): return TRUE.
1167 2005-06-26 Matthias Clasen <mclasen@redhat.com>
1169 * gtk/gtktreeview.c (gtk_tree_view_grab_broken): Stop column
1170 header drag operations if the grab is broken.
1172 * gtk/gtkhsv.c (gtk_hsv_grab_broken): Stop the drag if
1175 * gtk/gtkcombobox.c (gtk_combo_box_popdown): Don't do
1176 explicitly ungrab pointer and keyboard. We're unmapping
1177 the grab window anyway.
1178 (gtk_combo_box_popup): Handle grab failures.
1180 2005-06-25 Matthias Clasen <mclasen@redhat.com>
1182 * gdk/x11/gdkmain-x11.c (gdk_keyboard_grab, gdk_pointer_grab):
1183 Don't emit grab-broken for overgrabbing, until we figure
1184 out how to do that without breaking the menu code.
1186 2005-06-25 Matthias Clasen <mclasen@redhat.com>
1188 Add a GrabBroken event to GDK, and a grab-broken-event
1189 signal to GtkWidget. (#107320, Simon Cooke, initial patch
1192 * gdk/gdkevents.h: Add a GDK_GRAB_BROKEN event type,
1193 define a GdkEventGrabBroken event struct.
1195 * gdk/win32/gdkevents-win32.c (gdk_event_translate):
1196 Generate GrabBroken events in response to WM_KILLFOCUS.
1198 * gdk/x11/gdkmain-x11.c: Generate GrabBroken events
1199 when a grab is broken by the window becoming unviewable,
1200 or by another grab from the same client.
1202 * gtk/gtkwidget.h (GtkWidgetClass): Add grab_broken_event.
1204 * gtk/gtkwidget.c (gtk_widget_event_internal): Translate
1205 GrabBroken events into grab_broken_event signals.
1207 * gtk/gtkmain.c (gtk_main_do_event): Propagate GrabBroken
1210 * gtk/gtkmenushell.c (gtk_menu_shell_grab_broken): Deactivate
1211 the menu when the grab is broken.
1213 * gtk/gtkcolorsel.c (gtk_color_selection_grab_broken): Stop
1214 the color picker if the grab is broken.
1216 * gtk/gtkpaned.c (gtk_paned_grab_broken): Stop the drag if
1219 2005-06-25 Matthias Clasen <mclasen@redhat.com>
1221 Add some new stock items. (#166480, Kristof Vansant)
1223 * gtk/stock-icons/stock_fullscreen_16.png:
1224 * gtk/stock-icons/stock_fullscreen_24.png:
1225 * gtk/stock-icons/stock_leave_fullscreen_16.png:
1226 * gtk/stock-icons/stock_leave_fullscreen_24.png:
1227 * gtk/stock-icons/stock_info_16.png:
1228 * gtk/stock-icons/stock_info_24.png: New icons.
1230 * gtk/stock-icons/Makefile.am: Add new icons.
1232 * gtk/gtkstock.h: Define names for the new icons.
1234 * gtk/gtkstock.c (builtin_items): Register new stock items.
1236 * gtk/gtkiconfactory.c (get_default_icons): Register new
1239 2005-06-24 Owen Taylor <otaylor@redhat.com>
1241 * gdk/gdkrgb.c (gdk_rgb_select_conv): Fix up selection of
1242 conversion functions for MSB machines: convert_0888[_br]
1243 now work on bytes so are endian independent.
1244 (Reported by David Zeuthen)
1246 2005-06-24 Matthias Clasen <mclasen@redhat.com>
1248 * gtk/gtktextview.c (gtk_text_view_scroll_hpages): Don't
1249 jump to the next line if we are at the end of the line.
1250 (gtk_text_view_move_cursor_internal): Make movement by
1251 paragraphs up/down symmetric. (#307055, Behnam Esfahbod)
1253 2005-06-23 Tor Lillqvist <tml@novell.com>
1255 Improve and simplify line segment rendering on Win32, especially
1256 the implementation of GDK_CAP_NOT_LAST, and dashed lines. Fixes
1257 bugs #306396 and #308413.
1259 * gdk/win32/gdkprivate-win32.h (GdkGCWin32): Save the GdkGC's
1260 line_style, cap_style and join_style as such in the
1261 GdkGCWin32. Don't need to keep the pen_double_dash flag, we can
1262 check the line_style.
1264 * gdk/win32/gdkgc-win32.c (fixup_pen): New internal function. Sets
1265 up the GDI pen type, style, end cap and join attributes to use
1266 based on the pen width, GDK line style, end cap style, and join
1269 For a narrow (zero-width) GDK pen with the GDK_CAP_NOT_LAST end
1270 cap style, which typically are used for XOR drawing where it is
1271 essential that the last pixel is not drawn, use a GDI cosmetic
1272 pen. Only for a cosmetic pen does GDI not draw the last pixel. I
1273 deduced this by experimetation, the documentation is rather vague.
1275 For other GDK pens use a geometric GDI pen. If the width is 0 or 1
1276 and the GDK end cap style is GDK_CAP_BUTT, and the line style is
1277 GDK_LINE_SOLID, use PS_ENDCAP_ROUND. This ensures that also
1278 single-pixel length lines are drawn. (For sngle-pixel width lines
1279 roundness as such is of course irrelevant.) For dashed lines, use
1282 For wide lines use PS_ENDCAP_FLAT, _ROUND or _SQUARE,
1283 respectively, for GDK_CAP_BUTT, GDK_CAP_ROUND and GDK_CAP_PROJECTING.
1285 For one pixel on-off dashed lines, use PS_ALTERNATE, it seems to
1286 work better than PS_USERSTYLE. For other dashed lines, use
1287 PS_USERSTYLE and the dashes as set by the user (or the default
1288 four-pixel on-off style).
1290 (gdk_win32_gc_values_to_win32values, gdk_win32_gc_set_dashes):
1291 Call fixup_pen() to do the pen settings after modifying some of
1292 the GDK GC attributes that affect pens.
1294 * gdk/win32/gdkdrawable-win32.c (render_line_horizontal,
1295 render_line_vertical, draw_segments): Check GdkGCWin32::line_style
1296 instead of the the removed pen_double_dash member. Don't use
1297 PATCOPY unconditionally in the PatBlt() call, use a raster op
1298 code that depends on the GC function in use.
1300 (draw_rectangle, draw_segments, draw_lines): Be more careful in
1301 deciding when to do the manual dash rendering.
1303 (draw_segments): Don't do any manual "last point" drawing at
1304 all. The above changes takes care of narrow line segments being
1305 drawn correctly in most cases, at least on NT-based Windows.
1307 2005-06-23 Matthias Clasen <mclasen@redhat.com>
1309 * gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_folder):
1310 Fix an error in the cache timeout logic. (#166601, Morten
1313 * gtk/gtktreeview.c (gtk_tree_view_key_press): Change the
1314 keynav for header reordering and resizing to Alt-arrows and
1315 Shift-Alt-arrows, following a proposal by the keynav
1316 authority. (#308666, Calum Benson)
1318 * gtk/gtkiconcache.c (_gtk_icon_cache_new_for_path): Remove
1319 a leftover debugging envvar.
1321 2005-06-23 Owen Taylor <otaylor@redhat.com>
1323 * gdk/gdkcairo.c (gdk_cairo_set_source_pixbuf): Fix the
1324 big endian case for 3-channel source. (Reported by
1327 2005-06-23 Matthias Clasen <mclasen@redhat.com>
1329 * gtk/gtkbutton.c (gtk_button_construct_child): Don't
1330 trigger warnings if there are extra references to the
1331 hbox. (#308677, Dan Winship)
1333 * gtk/gtkfilesystemunix.c (bookmark_list_write): Use
1334 g_file_set_contents(). (#308722, Morten Welinder)
1336 2005-06-22 Matthias Clasen <mclasen@redhat.com>
1338 * gdk/x11/gdkdnd-x11.c (xdnd_finished_filter): Set the
1339 time field in the event. (#308573, Morten Welinder)
1341 * gtk/gtkfilesystemunix.c: Remove gratitious differences
1342 between the stable branch and HEAD, which sneaked in with
1343 the bookmark renaming.
1345 2005-06-22 Kjartan Maraas <kmaraas@gnome.org>
1347 * gtk/gtkhsv.c: (gtk_hsv_expose): Don't leak the cairo context
1350 2005-06-21 Matthias Clasen <mclasen@redhat.com>
1355 * gtk/gtkpixmap.c: Modify all of the GtkMisc widgets to round down
1356 on centering calculations to match the behaviour of other parts
1357 of GTK+. (#307419, Ryan Lortie)
1359 2005-06-21 Matthias Clasen <mclasen@redhat.com>
1361 * gtk/gtkdnd.c (gtk_drag_source_set): Connect to
1362 button-release-event as well, to handle touchscreen
1363 scenarios better. (#171490, Markku Vire)
1365 * gtk/*.h: Trivial cleanups. (#169647, #303455,
1366 Fabricio Barros Cabral, Benoit Carpentier)
1370 * gdk/x11/gdkgeometry-x11.c (gdk_window_move_region): New
1371 function which can be used to implement scrolling in
1372 non-window widgets. (#135165, Søren Sandmann)
1374 2005-06-20 Matthias Clasen <mclasen@redhat.com>
1376 * gtk/gtkiconcache.c: Handle MAP_FAILED. (#308449, Georg
1379 2005-06-20 Matthias Clasen <mclasen@redhat.com>
1381 * configure.in: Bump version number.
1383 * === Released 2.7.0 ===
1385 2005-06-20 Matthias Clasen <mclasen@redhat.com>
1389 * gtk/gtkwindow.c (gtk_window_present_with_time): Variant of
1390 gtk_window_present which takes a timestamp. (#166379, Elijah Newren)
1392 2005-06-19 Matthias Clasen <mclasen@redhat.com>
1394 * gtk/gtk.symbols: Add a forgotten symbol
1398 2005-06-19 Kristian Rietveld <kris@gtk.org>
1400 * gtk/gtktreeview.c (gtk_tree_view_clamp_node_visible): added a
1401 check which avoids processing updates on bin_window and scrolling
1402 if the node is already visible. (#170600, Billy Biggs).
1404 2005-06-19 Kristian Rietveld <kris@gtk.org>
1406 * gtk/gtktreeview.c (validate_visible_area): only keep the
1407 row at the same position if the full row is visible. (#304623,
1410 2005-06-19 Kristian Rietveld <kris@gtk.org>
1412 * gtk/gtktreeview.c (gtk_tree_view_size_allocate): set dy to zero
1413 if treeview's height is smaller than the current page_size (just
1414 like we do elsewhere).
1416 2005-06-19 Kristian Rietveld <kris@gtk.org>
1418 Make mousewheel scrolling possible in typeahead mode, suggestion
1419 from Reinout van Schouwen (#307898).
1421 * gtk/gtktreeview.c (gtk_tree_view_ensure_interactive_directory):
1422 connect treeview search window to scroll_event signal,
1423 (gtk_tree_view_search_scroll_event): implement.
1425 2005-06-19 Kristian Rietveld <kris@gtk.org>
1427 * gtk/gtktreeview.c (gtk_tree_view_search_button_press_event): pass
1428 the event on to treeview, so it has a change of selecting a row, etc.
1429 (#169677, Kirk Bridger).
1431 2005-06-19 Kristian Rietveld <kris@gtk.org>
1433 This commit includes a fix for #169463, Stefan Kost.
1435 * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_get_size):
1436 when cell_area is set, return cell_area width/height as width/height,
1437 so the focus rectangle will be drawn correctly.
1439 * gtk/gtktreeview.c (gtk_tree_view_bin_expose): drop unneeded get
1440 of focus-line-width property,
1441 (validate_row): take focus_line_width into account.
1443 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
1444 also take focus_line_width into account when calculating the cell_area
1445 y and height (before, we only took it into account when calculating
1448 2005-06-19 Matthias Clasen <mclasen@redhat.com>
1451 * gtk/gtksizegroup.[hc]: Add an ignore-hidden property
1452 with getter and setter. (#171612, Christian Neumair)
1454 2005-06-18 Matthias Clasen <mclasen@redhat.com>
1456 * gtk/gtkuimanager.c (gtk_ui_manager_add_ui): Make this
1457 work for inserting before/after an existing menuitem or
1458 toolitem. (#155946, Christian Persch)
1460 * tests/testmerge.c (delayed_toggle_dynamic): Test the
1461 "insert after" functionality of gtk_ui_manager_add_ui.
1463 * gtk/gtkuimanager.c: Allow to construct menu tool buttons.
1464 (#300678, Sven Neumann)
1466 * demos/gtk-demo/appwindow.c: Demonstrate menu tool buttons
1467 constructed with GtkUIManager.
1471 * gtk/gtkimage.c (gtk_image_clear): Make this function
1472 public. (#64792, Havoc Pennington)
1474 2005-06-18 Kristian Rietveld <kris@gtk.org>
1476 * gtk/gtktreeview.c (gtk_tree_view_bin_expose): undo merging
1477 of the separate loop setting cell data with cell drawing loop
1478 (introduced in revision 1.280), since this breaks focus handling
1481 Sat Jun 18 04:22:51 2005 Manish Singh <yosh@gimp.org>
1483 * gdk/gdkcursor.h: remove GDK_CURSOR and GDK_IS_CURSOR, instance
1484 checks don't work on boxed types.
1486 * gdk/x11/gdkcursor-x11.c:
1487 * gdk/gdkcursor.c: make return_if_fail checks != NULL instead of
1490 Sat Jun 18 04:21:58 2005 Manish Singh <yosh@gimp.org>
1492 * gtk/gtktreeview.c (do_presize_handler): remove unused variable
1495 2005-06-18 Matthias Clasen <mclasen@redhat.com>
1497 * gtk/gtkcellrenderertoggle.c:
1498 * gtk/gtktextview.c:
1499 * gtk/gtktreeview.c: Typo fixes in comments.
1501 * gtk/gtkpaned.c (gtk_paned_add): Barf if more than
1502 2 children are added. (#308111, Morten Welinder)
1504 * gtk/gtkcalendar.c (gtk_calendar_init): _NL_FIRST_WEEKDAY is
1505 1-based. (#163842, Pierre Ossman)
1507 2005-06-17 Kristian Rietveld <kris@gtk.org>
1509 Fix #160281, testcase from Peter Bloomfield.
1511 * gtk/gtktreeview.c (do_presize_handler): always size request
1512 and update adjustments in fixed height mode,
1513 (gtk_tree_view_build_tree): if a fixed height is set, set this
1514 height on newly added nodes.
1516 2005-06-17 Tor Lillqvist <tml@novell.com>
1518 * gdk/win32/gdkdnd-win32.c (gdk_dropfiles_filter): Set the actions
1519 and suggested_action fields in the GdkDragContext to
1520 GDK_ACTION_COPY. Otherwise apps that check the suggested_action
1521 field, like eog, won't accept dropped files.
1523 2005-06-17 Matthias Clasen <mclasen@redhat.com>
1525 Support the ICCCM urgency hint. (#61858, Havoc Pennington)
1528 * gtk/gtkwindow.[hc]: Add a GtkWindow::urgency-hint property
1529 with getter and setter.
1533 * gdk/x11/gdkwindow-x11.c (gdk_window_set_urgency_hint):
1534 Add a setter for the urgency hint.
1536 * gdk/x11/gdkwindow-x11.h (struct _GdkToplevelX11): Store
1539 * gdk/x11/gdkwindow-x11.c (update_wm_hints): Set the urgency
1540 hint in the WM_HINTS property when appropriate.
1542 2005-06-17 Matthias Clasen <mclasen@redhat.com>
1544 * gdk/gdkcursor.h: Define GDK_IS_CURSOR() and GDK_CURSOR().
1546 * gdk/x11/gdkcursor-x11.c:
1547 * gdk/gdkcursor.c: Improve some return_if_fail checks,
1548 and add the missing non-Xcursor fallback for
1549 _gdk_x11_cursor_update_theme(), noticed by Jeroen
1552 * gtk/gtkbutton.c (gtk_button_class_init): Document
1553 several button signals as not useful.
1555 * gtk/gtkentrycompletion.c (gtk_entry_completion_complete):
1556 Resize the popup if necessary. (#308076, Vincent Noel)
1558 * gtk/gtkwindow.c (gtk_window_real_set_focus): Queue a
1559 draw on the old and new focus widgets, if their defaultness
1560 changes. (#305607, Billy Biggs)
1562 2005-06-17 Kristian Rietveld <kris@gtk.org>
1564 * gtk/gtktreeview.c (validate_visible_area): make sure the row
1565 above 'above_path' is always in a validated state, so it does
1566 not mess up scrolling. (#303319, testcase from Billy Biggs).
1568 2005-06-17 Matthias Clasen <mclasen@redhat.com>
1570 * gdk/x11/gdkprivate-x11.h:
1571 * gdk/x11/gdkcursor-x11.c: Handle cursor theme changes
1572 for cached cursors which are not associated with a window
1573 at the time of the theme change, by storing a serial
1574 number in each cursor, and updating the theme_serial
1575 counter whenever the cursor theme changes.
1577 * gdk/x11/gdkcursor-x11.c (_gdk_x11_cursor_update_theme):
1578 Private function to update a cursor to the current
1579 cursor theme if necessary.
1581 * gdk/x11/gdkmain-x11.c (gdk_pointer_grab):
1582 * gdk/x11/gdkwindow-x11.c (gdk_window_set_cursor): Call
1583 _gdk_x11_cursor_update_theme() here.
1585 2005-06-17 Owen Taylor <otaylor@redhat.com>
1587 * gdk/gdkcairo.c (gdk_cairo_set_source_pixbuf): Fix
1588 #if G_BYTE_ORDER == GDK_LSB_FIRST.
1590 2005-06-17 Kristian Rietveld <kris@gtk.org>
1592 * gtk/gtktreeview.c (validate_visible_area): don't try to update
1593 the top_row rowref ourselves here, but just have _dy_to_top_row()
1595 (gtk_tree_view_scroll_to_cell): handle scrolling via
1596 validate_visible_area() if the treeview is not visible or needs
1597 reallocation. (#165246, Nickolay V. Shmyrev).
1599 2005-06-17 Kristian Rietveld <kris@gtk.org>
1601 Fixes #307914 (Alexander Larsson), fixing some breakage caused
1602 by my previous commit.
1604 * gtk/gtktreeview.c (validate_visible_area): force dy to be zero
1605 when it fits on a single page,
1606 (scroll_sync_handler): same here.
1608 Thu Jun 16 15:33:42 2005 Manish Singh <yosh@gimp.org>
1610 * gdk/x11/gdkcursor-x11.c (update_cursor): remove unused variable.
1612 * gdk/x11/gdkwindow-x11.c (_gdk_x11_window_get_cursor): use
1613 g_return_val_if_fail.
1615 * gtk/gtkdnd.c (gtk_drag_get_cursor): initialize hot_x and hot_y
1618 * gtk/gtkfilechooserdefault.c (button_new): gtk_button_set_image
1619 takes a GtkWidget, not a GtkImage.
1621 2005-06-16 Matthias Clasen <mclasen@redhat.com>
1623 * gtk/gtkfilechooserdefault.c (button_new): Simplify
1624 the code and respect the show-button-images setting.
1625 (#307941, Vincent Noel)
1627 * gtk/gtkdnd.c: Update the RGBA cursor if an
1628 icon is set after the cursor has been constructed.
1629 Also handle repeated setting of icons correctly.
1631 2005-06-16 Matthias Clasen <mclasen@redhat.com>
1633 * gtk/gtkbutton.c (gtk_button_set_image): Add some more
1634 docs. (#307818, Christian Persch)
1636 2005-06-15 Matthias Clasen <mclasen@redhat.com>
1638 * gdk/gdkwindow.c (gdk_window_process_updates_internal):
1639 Initialize all fields of the expose event. (#151693,
1642 2005-06-15 Matthias Clasen <mclasen@redhat.com>
1644 * gdk/x11/gdkcursor-x11.c (gdk_cursor_get_image): Get
1645 red and blue in place.
1647 * gtk/gtkwindow.c (gtk_window_parse_geometry): Fox doc
1648 formatting, pointed out by Kjartan Maraas.
1650 * gtk/gtksettings.c: Add two new settings,
1651 gtk-cursor-theme-name and gtk-cursor-theme-size to
1652 control the cursor theme.
1654 * gdk/x11/gdkevents-x11.c: Add two new X settings,
1655 Gtk/CursorThemeName and Gtk/CursorThemeSize, and map
1656 these to the gtk settings.
1658 * tests/testgtk.c (create_cursors): Add a cursor theme
1661 * gdk/x11/gdkwindow-x11.[hc]: Keep a reference to the
1662 GdkCursor and add a private getter for it, so that we can
1663 update the cursor when the cursor theme changes.
1667 * gdk/x11/gdkcursor-x11.c (gdk_x11_display_set_cursor_theme):
1668 New function to change the cursor theme.
1670 * gdk/x11/gdkwindow-x11.c: Remove a lot of pointless
1671 g_return_if_fail() non-NULL checks.
1673 2005-06-15 Matthias Clasen <mclasen@redhat.com>
1675 * gdk/abicheck.sh: Use uniq to filter out duplicates.
1676 * gdk/gdk.symbols: Fix a define.
1678 2005-06-14 Matthias Clasen <mclasen@redhat.com>
1680 * gtk/gtkwindow.c (gtk_window_parse_geometry):
1681 Fix up the example. (#307699, Michal Suchanek)
1683 2005-06-14 Matthias Clasen <mclasen@redhat.com>
1685 * gtk/gtkcalendar.c: Update num_marked_dates as we
1686 used to do. (#307689, Thorsten Schoenfeld)
1688 2005-06-14 Federico Mena Quintero <federico@ximian.com>
1690 Merged from gtk-2-6:
1694 * gtk/gtkfilechooserdefault.c (list_selection_changed): Emit
1695 "selection-changed" and do the normal housekeeping even if we are
1696 in SAVE mode and there is nothing selected. We didn't emit that
1697 signal if we were in SAVE mode and unselect_all() got called.
1698 (gtk_file_chooser_default_unselect_all): Call
1699 pending_select_paths_free() so that we cancel any asynchronous
1701 (gtk_file_chooser_default_set_current_name): Likewise.
1703 2005-06-14 Federico Mena Quintero <federico@ximian.com>
1705 Merged from gtk-2-6:
1709 * gtk/gtkfilechooserdefault.c
1710 (gtk_file_chooser_default_should_respond): Oops, I broke SAVE
1711 mode. If the parent path is a folder, only create a subfolder if
1712 we are in CREATE_FOLDER mode; if we are in SAVE mode, just return
1713 and respond. Also, pick up the case where the user types
1714 "dirname/" instead of "dirname".
1715 (check_save_entry): Make the return type void. Add some return
1716 parameters so that we can do more thorough checking.
1717 (gtk_file_chooser_default_get_paths): If the file part is empty
1718 and we are in SAVE mode, return an empty selection.
1720 2005-06-15 Kristian Rietveld <kris@gtk.org>
1722 Patch for #163214 (reported by Tommi Komulainen) and fixes some
1723 other scrolling/validation related bugs along the why.
1725 * gtk/gtktreeview.c (gtk_tree_view_size_request): run
1726 do_validate_rows once and don't queue a size request there,
1727 (gtk_tree_view_size_allocate): don't update vadj value without
1728 reason, sync top_row/dy after the window sizes and adjustments
1730 (validate_visible_area): always update dy when scrolling,
1731 manually set top_row here after changing the vadj (don't depend
1732 on _adjustment_changed and top_row/dy sync to do this), since we
1733 now always set top_row here correctly, we can always free
1734 scroll_to_path at the end which avoids infinite expose loops,
1735 (do_validate_rows): add queue_resize boolean, remove top_row/dy
1736 sync here, we cannot do it safely at this place since the
1737 window sizes and adjustments are out of sync,
1738 (validate_rows), (validate_rows_handler): update call to
1741 2005-06-14 Matthias Clasen <mclasen@redhat.com>
1743 * gdk/x11/gdkcursor-x11.c (gdk_cursor_new_from_name): Add a
1744 stub for the no-Xcursor case. (noticed by Luis Villa)
1746 Use named cursors for the DND cursors, the names are "dnd-none",
1747 "dnd-copy", "dnd-link", "dnd-move" and "dnd-ask". Also use an RGBA
1748 cursor instead of cursor+window when possible. This saves
1749 roundtrips during the drag operation, and makes translucent icons
1752 * gtk/gtkdndcursors.h: New file, containing inlined pixbufs
1753 for the default dnd cursors.
1755 * gtk/gtkdnd.c (struct _GtkDragSourceInfo): Store the cursors
1756 used during the drag here, also store the icon pixbuf here.
1758 * gtk/gtkdnd.c (drag_cursors): Store the cursor names here. Also
1759 switch the default cursors from xbm to inlined pixbufs.
1761 * gtk/gtkdnd.c (gtk_drag_get_cursor): This function now takes the
1762 GtkDragSourceInfo as well, since it has to composite the
1763 drag-specific cursors. The cursors combined from the image of
1764 the themed cursor and the icon_pixbuf stored in the info.
1766 * gtk/gtkdnd.c (gtk_drag_begin_internal): Don't set the default
1767 icon if there is an icon_pixbuf, which will be composited into
1770 * gtk/gtkdnd.c (set_icon_stock_pixbuf): If appropriate, store
1771 the pixbuf in the info struct for later compositing into the
1772 cursor instead of creating an icon window.
1774 * gtk/gtkdnd.c (gtk_drag_drop_finished): If we used an
1775 RGBA cursor for the drag, and need to display the cancel
1776 animation, construct the icon window here.
1778 * gtk/gtkdnd.c (gtk_drag_source_info_destroy): Unref the
1779 drag-specific cursors and the icon_pixbuf when done with
1782 2005-06-14 Matthias Clasen <mclasen@redhat.com>
1784 * gtk/gtkcolorsel.c (make_picker_cursor): Use a named cursor
1785 with the name "color-picker", when available.
1789 * gdk/x11/gdkcursor-x11.c (gdk_cursor_get_image)
1790 (gdk_cursor_new_from_name): New functions to construct named
1791 cursors and to get the image used for a cursor.
1793 2005-06-13 Matthias Clasen <mclasen@redhat.com>
1795 * gtk/gtkpathbar.[hc]: Rework the way in which rerooting of the
1796 path bar is done, implementing the following principles:
1797 (#137289, patch by Benjamin Otte)
1799 1. Re-root only if $HOME is an ancestor of the current path.
1801 2. When re-rooting, make sure the Left arrow appears in the path
1802 bar, so that you can navigate up from $HOME to /. In that case,
1803 make sure the Right arrow doesn't appear if the sub-hierarchy from
1804 $HOME to the cwd fits in the window.
1806 3. Make sure that hitting Alt-Up takes you always one folder up,
1807 even when the path bar is re-rooted.
1809 * gtk/gtkaccellabel.c (_gtk_accel_label_class_get_accelerator_label):
1810 Try harder not to modify readonly strings. (#307541, Torsten Schoenfeld)
1812 * gtk/gtkfilechooserbutton.c (model_update_current_folder):
1813 Free the data of the row before overwriting it. (#307490,
1816 2005-06-13 Kjartan Maraas <kmaraas@gnome.org>
1818 * gtk/gtkcalendar.c: (calendar_paint_arrow): Don't
1819 leak the cairo context. Closes bug #307426.
1821 2005-06-13 Matthias Clasen <mclasen@redhat.com>
1823 Make invisible text work a bit better (#66194, patch by
1824 Jeroen Zwartepoorte)
1827 * gtk/gtktextiter.[hc]: Add function to move by
1830 * gtk/gtktextview.c (gtk_text_view_move_cursor_internal):
1831 Skip invisible text when moving by paragraphs.
1833 * gtk/gtktextlayout.c (gtk_text_layout_move_iter_visually):
1834 Skip invisible lines here too.
1836 2005-06-12 Matthias Clasen <mclasen@redhat.com>
1838 * gtk/gtkselection.c (gtk_target_list_add_image_targets):
1839 Don't leak the format names. (#307190, Morten Welinder)
1841 2005-06-12 Kjartan Maraas <kmaraas@gnome.org>
1843 * gdk/x11/gdkasync.c: (send_event_handler): Plug
1844 a leak. Closes bug #307281.
1846 2005-06-12 Matthias Clasen <mclasen@redhat.com>
1848 * gtk/gtkcalendar.c (calendar_paint_header):
1849 (gtk_calendar_size_request): Allow localization of the
1850 format in which the year is displayed. (#135451, Paisa
1853 * gdk/*.h: Cleanup. (#169648, Fabricio Barros Cabral)
1855 * gdk/gdkcairo.c: Small doc additions.
1857 * gtk/gtktreeview.c (gtk_tree_view_maybe_begin_dragging_row):
1858 Check start_button_mask before starting a drag. (#149058,
1861 * gtk/gtkfilesystemunix.c: Support .hidden files. (#129170,
1862 Sayamindu Dasgupta, patch by Jan Arne Petersen)
1864 2005-06-11 Matthias Clasen <mclasen@redhat.com>
1868 * gtk/gtkwidget.c (gtk_widget_set_app_paintable): More docs
1869 provided by Owen Taylor.
1872 * gtk/gtkiconview.h:
1873 * gtk/gtkiconview.c (gtk_icon_view_get_visible_range):
1874 Add a function to determine what parts of the model are
1875 visible. (#306726, Jonathan Blandford)
1877 * gtk/gtkfilesystemunix.c (create_file_info): Treat backup
1878 files the same way as hidden files, to be closer to what
1879 Nautilus does. (#136196, Sean Middleditch)
1881 2005-06-10 Matthias Clasen <mclasen@redhat.com>
1883 * gtk/gtkaccellabel.c (_gtk_accel_label_class_get_accelerator_label):
1884 Don't modify strings returned from gettext().
1886 Fri Jun 10 19:06:03 2005 Manish Singh <yosh@gimp.org>
1888 * gtk/gtktextdisplay.c (render_para): don't use deprecated
1889 gdk_gc_unref function.
1891 2005-06-10 Matthias Clasen <mclasen@redhat.com>
1893 Allow setting paragraph background. (#81045, Gustavo
1894 Carneiro, patch by Jeroen Zwartepoorte)
1896 * gtk/gtktextlayout.c (set_para_values): Propagate
1897 pg_bg_color to the display struct.
1898 (gtk_text_layout_free_line_display): Free it here.
1900 * gtk/gtktextdisplay.c (render_para): If pg_bg_color
1901 is set, draw a rectangle in that color behind
1904 * gtk/gtktexttag.c (gtk_text_tag_class_init): Add
1905 paragraph-background, paragraph-background-gdk and
1906 paragraph-background-set properties.
1907 (set_pg_bg_color): A setter for paragraph-background.
1909 * gtk/gtktextlayout.h (struct _GtkTextLineDisplay): Add
1912 * gtk/gtktexttag.h (struct _GtkTextAttributes): Add
1914 (struct _GtkTextTag): Add pg_bg_color_set.
1916 2005-06-10 Kjartan Maraas <kmaraas@gnome.org>
1918 * gdk/gdkcairo.c: (gdk_cairo_set_source_pixbuf): Destroy the
1919 cairo surface when done with it. Plugs a fairly large leak in
1921 ==6014== 1999824 (115640 direct, 1884184 indirect) bytes in
1922 826 blocks are definitely lost in loss record 25239 of 25250
1923 Like this from nautilus.
1925 2005-06-10 Michael Natterer <mitch@imendio.com>
1928 * gtk/gtkaction.[ch] (gtk_action_get_accel_closure): new function
1929 to get an action's accel_closure (Fixes #141750 and #148106).
1931 2005-06-10 Matthias Clasen <mclasen@redhat.com>
1933 * gdk/gen-keyname-table.pl: Generate N_() calls for
1934 translatable key names.
1936 * gdk/keynames.txt: Mark some key names as translatable.
1938 * gdk/keyname-table.h: Regenerated.
1940 * gtk/gtkaccellabel.c (gtk_accel_label_class_init): Add
1941 some context to the msg ids for keyboard modifiers and
1943 (_gtk_accel_label_class_get_accelerator_label): Try to
1944 translate key names. (#300224, Christian Rose)
1946 2005-06-10 Federico Mena Quintero <federico@ximian.com>
1948 Merged from gtk-2-6:
1952 * gtk/gtkfilechooserdefault.c (update_chooser_entry): Don't return
1953 immediately if we are in CREATE_FOLDER mode, so that we can fill
1954 the entry with the newly-selected folder.
1955 (gtk_file_chooser_default_set_property): Warn against turning on
1956 multiple selection for CREATE_FOLDER mode, or about setting that
1957 action while multiple selection is on.
1958 (update_chooser_entry): Change the entry's contents as well if we
1959 are in CREATE_FOLDER mode. If nothing is selected, clear the
1961 (trap_activate_cb): Don't trap enter/space if modifiers are
1962 pressed. This lets one use Ctrl-space to toggle rows in multiple
1964 (gtk_file_chooser_default_should_respond): Clean up the if-chain
1965 mess of special cases by using an array to determine what to do.
1966 Also, for the save-entry case in CREATE_FOLDER mode, actually fix
1967 the bug where the file chooser would switch to an existing folder
1968 rather than confirming with it, and create the folder ourselves.
1969 (error_creating_folder_over_existing_file_dialog): New function.
1971 * gtk/gtkfilechooserentry.c (check_completion_callback): Only
1972 insert the common prefix if we are in an "open" mode. Use a
1974 (append_common_prefix): New helper function; code moved over from
1975 check_completion_callback().
1976 (find_common_prefix): New helper function.
1977 (gtk_file_chooser_entry_focus): Append the common prefix if the
1978 user requests it explicitly.
1980 2005-06-10 Matthias Clasen <mclasen@redhat.com>
1982 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_expand):
1983 * gtk/gtktoolbar.c (gtk_toolbar_get_show_arrow):
1984 * gtk/gtktextview.c (gtk_text_view_get_iter_at_position):
1985 * gtk/gtkstock.c (gtk_stock_set_translate_func):
1986 * gtk/gtkspinbutton.c (gtk_spin_button_get_adjustment):
1987 * gtk/gtkscrolledwindow.h:
1988 * gtk/gtkmenushell.c (gtk_menu_shell_get_take_focus):
1990 * gtk/gtkiconview.c (gtk_icon_view_set_margin):
1991 * gtk/gtkicontheme.c (gtk_icon_info_load_icon):
1992 * gtk/gtkcalendar.c (gtk_calendar_thaw): Doc fixes.
1994 2005-06-09 Matthias Clasen <mclasen@redhat.com>
1996 * gdk/x11/gdkwindow-x11.c: Small markup fixes.
1998 * gtk/gtkwidget.c (gtk_widget_set_app_paintable): Add docs.
1999 (#306212, Steve Chaplin, docs provided by Billy Biggs)
2001 * gtk/gtktextbtree.c (_gtk_text_btree_char_is_invisible): Small
2002 cleanup. (#305539, Paolo Borelli)
2004 2005-06-09 Rodrigo Moya <rodrigo@novell.com>
2006 * configure.in: added cairo to list of $GTK_PACKAGES.
2008 2005-06-09 Matthias Clasen <mclasen@redhat.com>
2010 * gdk/x11/gdkdnd-x11.c (motif_drop_start, xdnd_drop_filter): Update
2011 the user time on the window when a drop happens. (#169364, Alexander
2012 Hunziker, patch by Elijah Newren)
2014 * gdk/x11/gdkwindow-x11.c: Small markup fixes.
2017 * gtk/gtkiconview.h:
2018 * gtk/gtkiconview.c (gtk_icon_view_scroll_to_path): New function
2019 to scroll to a path. (#306838, Jonathan Blandford)
2021 2005-06-08 Matthias Clasen <mclasen@redhat.com>
2023 * gtk/gtkiconview.c (gtk_icon_view_set_cursor): Scroll to the
2024 item. (#306839, Jonathan Blandford)
2026 * gtk/gtktreemodel.c (gtk_tree_path_new_from_string): Check for
2027 negative before appending the index, to avoid double error
2028 message. (#306393, Morten Welinder)
2030 * gtk/gtktreeview.c (gtk_tree_view_real_start_interactive_search):
2031 Don't crash if search_window is NULL. (#304914, Victor Osadci,
2032 testcase by Olaf Vitters)
2034 * gtk/gtkimage.c: Make the file property readable.
2035 (#170674, Lorenzo Gil Sanchez)
2038 2005-06-08 Matthias Clasen <mclasen@redhat.com>
2040 * gtk/gtkfilesystem.c (gtk_file_info_get_display_key): Use
2041 g_utf8_collate_key_for_filename().
2043 2005-06-07 Kjartan Maraas <kmaraas@gnome.org>
2045 * gtk/gtkfilechooserbutton.c: (update_label_and_image):
2046 Merge leak fix from stable. Bug 306754.
2048 2005-06-05 Tor Lillqvist <tml@novell.com>
2050 * gdk/win32/gdkscreen-win32.c
2051 (_gdk_windowing_substitute_screen_number): Return NULL unless
2052 screen number is zero. We have only one screen on Win32.
2053 (gdk_screen_make_display_name): Call gdk_display_get_name() and
2056 * modules/engines/Makefile.am
2057 * modules/input/Makefile.am: Decide whether to build the
2058 ms-windows theme engine based on the GDK backend, not based on
2059 platform. (I.e., if building for Cygwin with the X11 backend, we
2060 shouldn't build the ms-windows engine, but if building for Cygwin
2061 but with the Win32 backend, we should.) Ditto for the IME
2062 (Windows) input module. (#305832)
2064 2005-06-04 Tor Lillqvist <tml@novell.com>
2066 * gdk/win32/gdkcursor-win32.c
2067 * gdk/win32/gdkwindow-win32.c
2068 * gdk/win32/gdkprivate-win32.h: Support full-colour cursors.
2069 Support cursors with alpha on XP. Use code in common with the
2070 support for alpha icons that already was present. (#306101, Tim
2073 * modules/engines/ms-windows/msw_style.c: Render insensitive icons
2074 in a way that more closely matches Windows. (#305986, Tim Evans).
2076 * modules/engines/ms-windows/Makefile.am (LDADDS): Link with
2079 2005-06-03 Dom Lachowicz <cinamod@hotmail.com>
2081 * modules/engines/ms-windows/msw_style.c: Re-sync with gtk-wimp
2082 * modules/engines/ms-windows/xp_theme.c: Ditto
2083 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: Ditto
2085 Thu May 26 16:43:27 2005 Manish Singh <yosh@gimp.org>
2087 * gtk/gtkentrycompletion.h: Add declarations for
2088 gtk_entry_completion_{get,set}_popup_single_match.
2090 2005-05-26 Matthias Clasen <mclasen@redhat.com>
2093 * gtk/gtkentrycompletion.c: Add a property to suppress the
2094 popup for single matches. (#154711)
2096 * gtk/gtkentry.c (gtk_entry_completion_timeout): Respect it here.
2098 * gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_set_action):
2101 * gtk/gtktextbtree.c (_gtk_text_btree_tag): Queue the
2102 redisplay after modifying the tag in the btree, otherwise
2103 we end up showing the old tags until the next redraw comes
2104 around. (#143537, Gary Kramlich, Peter Wainwright)
2106 * gtk/gtkcombobox.c (gtk_combo_box_list_auto_scroll): Make
2107 autoscrolling work at the bottom of the screen.
2109 2005-05-26 Maciej Katafiasz <email@mathrick.org>
2111 * docs/reference/gtk/tmpl/gtkentry.sgml:
2112 Point to GtkTextView instead of GtkText. Fixes bug #305535
2114 2005-05-26 Sven Neumann <sven@gimp.org>
2116 * gtk/gtkselection.c (gtk_selection_data_set_pixbuf): use a less
2117 aggressive PNG compression level (bug #305340).
2119 2005-05-26 Tor Lillqvist <tml@novell.com>
2121 * gdk/win32/gdkdrawable-win32.c (_gdk_win32_blit): If blitting
2122 from the root window, take the multi-monitor offset into
2125 2005-05-25 Matthias Clasen <mclasen@redhat.com>
2127 * demos/gtk-demo/appwindow.c (do_appwindow): Set the window
2130 * gtk/gtkfilesystem.c (gtk_file_folder_is_finished_loading):
2131 Remove another C99ism.
2133 * gtk/gtktreeview.c (gtk_tree_view_bin_expose): Draw the
2134 background of rows insensitive when the treeview is insensitive.
2135 (pointed out by Billy Biggs)
2137 * demos/gtk-demo/clipboard.c: Demonstrate image copy-and-paste
2138 and DND, and clipboard persistency.
2140 * gtk/gtkselection.c (gtk_target_list_add_image_targets):
2141 Make sure png comes first, otherwise dnd may use bmp by
2142 default, loosing transparency.
2144 2005-05-25 Michael Natterer <mitch@imendio.com>
2146 * gtk/gtktextview.c (blink_cb): block the text_layout's "changed"
2147 handler when changing cursor visibility because it would expose
2148 the whole paragraph where the cursor is. Instead, expose the
2149 cursors' areas manually. (#173047).
2151 (text_window_invalidate_cursors): new function which exposes the
2154 * gtk/gtkstyle.c (draw_insertion_cursor): added comment that the
2155 same cursor size calculation is in text_window_invalidate_cursors().
2157 2005-05-25 Matthias Clasen <mclasen@redhat.com>
2159 * demos/gtk-demo/editable_cells.c (create_items_model): Also
2160 demonstrate GtkCellRendererProgress.
2162 * demos/gtk-demo/Makefile.am (demos):
2163 * demos/gtk-demo/combobox.c: Add a demo showing combo box
2166 * demos/gtk-demo/Makefile.am (demos):
2167 * demos/gtk-demo/pickers.c: Add a demo showing all picker widgets.
2169 2005-05-24 Matthias Clasen <mclasen@redhat.com>
2171 * demos/gtk-demo/iconview.c (do_iconview): Fix a typo.
2173 2005-05-24 Tor Lillqvist <tml@novell.com>
2175 * gdk/win32/gdkproperty-win32.c (gdk_screen_get_setting): Handle
2176 gtk-alternative-button-order (setting it to TRUE).
2178 2005-05-23 Matthias Clasen <mclasen@redhat.com>
2180 * gtk/gtktreeview.c (gtk_tree_view_search_init): Remove
2181 an unused variable. (#305130, Jaap A. Haitsma)
2183 * gtk/gtkfilechooserdefault.c (filter_create): Don't grab
2184 the focus away from the file list when operating the filter
2185 combo with the pointer. (#304844, Sven Neumann)
2187 2005-05-23 Tor Lillqvist <tml@novell.com>
2189 * gdk/win32/gdkkeys-win32.c (handle_special): Map VK_APPS to
2190 GDK_Menu. (#172383, Ivan Wong)
2192 * gdk/win32/gdkkeys-win32.c (handle_dead): If the keysym isn't one
2193 of the special cases this function takes care of, use it as
2194 such. This takes care of for instance the Bengali Virama, see bug
2197 2005-05-20 Matthias Clasen <mclasen@redhat.com>
2199 * gtk/gtkimcontextsimple.c (check_table): Avoid a possible
2200 buffer overrun. (#142444, Leonard Michlmayr)
2202 * gtk/gtkfilesystem.c: Remove C99-isms (#304879,
2205 2005-05-18 Matthias Clasen <mclasen@redhat.com>
2207 * gtk/gtkfilechooser.c (gtk_file_chooser_remove_shortcut_folder_uri):
2208 Use the correct function to conver the uri to a path. (#304565,
2211 * gtk/gtkfilechooserbutton.c (dialog_response_cb): Handle the
2212 Cancel button properly. (#304234, Sven Neumann)
2214 2005-05-18 Anders Carlsson <andersca@imendio.com>
2216 * gtk/gtktextview.c: (gtk_text_view_flush_scroll),
2217 (gtk_text_view_update_adjustments), (gtk_text_view_value_changed):
2218 * gtk/gtktextview.h:
2219 If the horizontal adjustment changes because of a change in the
2220 layout width, then do a complete redraw. This is because there
2221 might be right-aligned or centered text that needs to be redrawn.
2223 2005-05-18 Matthias Clasen <mclasen@redhat.com>
2225 * gtk/gtkwidget.c (gtk_widget_add_events): Try harder to set
2226 the event masks of descendent windows. (#169821, Tommi Komulainen)
2228 * gtk/gtktreeview.c (gtk_tree_view_get_drop_column)
2229 (gtk_tree_view_set_column_drag_info): Fix some errors in the
2230 handling of drop columns. (#143355, John Finlay)
2232 * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_init):
2233 Remove the no longer needed workaround.
2235 * gtk/gtkwidget.c (widget_add_child_draw_rectangle): Only collect
2236 allocations of mapped children.
2238 * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_init):
2239 Add a bug reference.
2241 2005-05-18 Tor Lillqvist <tml@novell.com>
2243 * gdk/win32/gdkevents-win32.c
2244 * gdk/win32/gdkkeys-win32.c
2245 * gdk/win32/gdkprivate-win32.h: Check the KF_EXTENDED bit in
2246 lParam of WM_KEY* messages to distinguish between left and right
2247 Control and Alt keys. Unfortunately, the right Shift key doesnt
2248 set KF_EXTENDED, so to distinguish between left and right Shift
2249 keys, check the scan code. (#304584)
2251 2005-05-18 Matthias Clasen <mclasen@redhat.com>
2253 * gdk/x11/gdkproperty-x11.c (gdk_property_get): Warn if
2254 length overflows. (#161520, Ian Wienand)
2256 * gtk/gtktoolbutton.c (gtk_tool_button_set_icon_name): Fix
2257 parameter names to make gtk-doc happy.
2259 * gtk/gtkscale.c (gtk_scale_class_init): Fix the default
2260 values of draw-value and value-pos to be the values we
2261 actually use in _init. (#304547, Mikael Hallendal)
2263 * gtk/gtkcellrendererpixbuf.c: Support named icons in
2264 cells by adding a icon-name property. (#165777, Anders
2268 * gtk/gtktoolbutton.h:
2269 * gtk/gtktoolbutton.c (gtk_tool_button_set_icon_name)
2270 (gtk_tool_button_get_icon_name): Support named icons in
2271 tool buttons by adding a icon-name property. (#116577,
2276 * gtk/gtkdnd.c (gtk_drag_source_set_icon_name)
2277 (gtk_drag_set_icon_name): New functions to support themed
2278 drag icons. (#116577, Christian Neumair)
2280 2005-05-17 Owen Taylor <otaylor@redhat.com>
2282 * gdk/x11/gdkdrawable-x11.c (gdk_x11_ref_cairo_surface):
2283 Update to changed cairo interface.
2285 * gdk/x11/gdkdrawable-x11.[ch]:
2286 Add _gdk_x11_drawable_update_size()
2288 * gdk/x11/gdkwindow-x11.c (gdk_window_resize)
2289 (gdk_window_move_resize)
2290 * gdk/x11/gdkevents-x11.c (gdk_event_translate):
2291 Call _gdk_x11_drawable_update_size().
2293 2005-05-17 Matthias Clasen <mclasen@redhat.com>
2295 * gtk/gtktextview.c (cursor_blinks): Don't blink the cursor
2296 if the text view is not editable.
2298 * gtk/gtkcombobox.c (gtk_combo_box_list_button_released): Keep
2299 the popup posted if the button is released over the cellview.
2300 This matches the behaviour of other combo box implementations.
2303 * gdk/gdkwindow.c (gdk_window_set_bg_pattern): Adjust offsets
2304 when recursing. (#153682, Felipe Heidrich)
2306 2005-05-16 Matthias Clasen <mclasen@redhat.com>
2308 * gtk/gtkscale.c (gtk_scale_class_init): Don't bind GDK_Page_Up
2309 and GDK_Page_Down twice. (#168333, Hazael Maldonado Torres)
2311 * gtk/gtkentry.c (cursor_blinks): Don't blink the cursor if
2312 the entry is not editable. (#304171, Nikos Kouremenos)
2314 * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_constructor):
2315 Make sure the action of the button and the dialog are in sync,
2316 when the dialog is provided by the app. (#303987, David A Knight)
2318 * gdk/gdkpango.c (gdk_pango_renderer_get_default): Fix a typo
2319 in the docs. (#303940, Masao Mutoh)
2321 * configure.in (GTK_DOC_CHECK): Check for gtk-doc 1.4.
2323 * gtk/gtktoggleaction.c (connect_proxy): Be more careful when
2324 casting. (#304089, Philip Langdale)
2326 * gtk/gtkstatusbar.c (gtk_statusbar_size_allocate): Only shrink
2327 the label if we need to. (#169390, Felix Riemann)
2329 Sat May 14 00:07:46 2005 Manish Singh <yosh@gimp.org>
2332 * gdk/gdkpango.c: #include gdkcairo.h for gdk_cairo_create()
2335 * gtk/gtkiconview.c (gtk_icon_view_create_drag_icon): actually
2336 call gdk_cairo_set_source_color() with a color.
2338 * gtk/gtkimage.c (gtk_image_expose): remove unused stock_id variable.
2340 * tests/testiconview.c (main): cast args of drag functions to the
2343 2005-05-13 Owen Taylor <otaylor@redhat.com>
2345 * gdk/x11/gdkdrawable-x11.c: Update for cairo-xlib API change.
2347 * gdk/x11/gdkpixmap-x11.[ch] gdk/gdk.symbols: Export
2348 gdk_pixmap_impl_x11_get_type(), needed in gdkdrawable-x11.c.
2350 2005-05-11 Owen Taylor <otaylor@redhat.com>
2352 * tests/testgtk.c (on_alpha_window_expose): Fix to use
2353 gdk_cairo_create(). (create_alpha_window): Hook up "response"
2354 to close the window.
2356 2005-05-11 Owen Taylor <otaylor@redhat.com>
2358 * gtk/gtkcolorbutton.c: Use a GtkAlignment rather than a GtkDrawingArea
2359 to draw the swatch in to avoid having an extraneous window.
2361 * gtk/gtkcolorsel.c (color_sample_draw_sample): Actually se tthe
2362 color when !has_opacity.
2364 2005-05-10 Owen Taylor <otaylor@redhat.com>
2366 * gdk/gdkcairo.[ch] gdk/gdkcolor.[ch] gdk/Makefile.am: Add source
2367 files for Cairo convenience functionality.
2369 * gdk/gdkcairo.h (gdk_cairo_rectangle, gdk_cairo_region): Add a
2370 convenience functions to add GdkRectangle, GdkRegion to a cairo path.
2372 * gdk/gdkwindow.c gdk/gdkgc.c gtk/gtkcolorsel.c gtk/gtkiconview.c
2373 gtk/gtkstyle.c: Use gdk_cairo_rectangle/region().
2375 * gdk/gdkcairo.[ch] gdk/gdkdrawable.h gdk/gdkdraw.c: Rename
2376 gdk_drawable_create_cairo_context() to gdk_cairo_create().
2378 * gdk/gdkcairo.c gdk/gdkpixbuf.h gdk/gdkpixbuf-render.c:
2379 Rename gdk_pixbuf_set_as_cairo_source() to
2380 gdk_cairo_set_source_pixbuf().
2382 * gdk/gdkdraw.c gdk/gdkpango.c gtk/gtkcolorsel.c gtk/gtkhruler.c
2383 gtk/gtkhsv.c gtk/gtkiconview.c gtk/gtkstyle.c gtk/gtkvruler.c:
2386 * gdk/gdk.symbols: Update.
2388 * gtk/gtkwidget.c (gtk_widget_queue_shallow_draw): Fix
2389 coordinate system problem that was causing the wrong portions
2392 * gtk/gtkcellrenderer.c (gtk_cell_renderer_render)
2393 gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render)
2394 gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_render)
2395 gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render)
2396 gtk/gtkcellview.c (gtk_cell_view_expose)
2397 gtk/gtkdnd.c (gtk_drag_highlight_expose)
2398 gtk/gtkentry.c (gtk_entry_draw_text)
2399 gtk/gtktextview.c (text_window_invalidate_rect): Some cairoization.
2401 * gtk/gtkcalendar.[ch]: Beat into something roughly resembling
2402 GTK+ style ... use instance-private data and standard names for
2403 private structure, etc. Move function docs inline.
2405 * gtk/gtkcalendar.[ch]: Switch to drawing everything in
2406 expose. Switch drawing to Cairo.
2408 * gtk/gtkcalendar.c (gtk_calendar_freeze): Deprecate
2409 gtk_calendar_freeze/thaw
2411 2005-05-10 Tor Lillqvist <tml@novell.com>
2413 * gdk/win32/gdkproperty-win32.c (gdk_screen_get_setting): Check
2414 that GDK_IS_SCREEN(screen) (like the X11 backend does), not screen
2415 == gdk_screen_get_default(), as that might return NULL when this
2418 2005-05-09 Matthias Clasen <mclasen@redhat.com>
2420 * gtk/gtkalignment.c (gtk_alignment_size_allocate): Flip the
2421 padding in RTL mode. (#303572, Maciej Katafiasz)
2423 2005-05-09 Owen Taylor <otaylor@redhat.com>
2425 * gdk/gdkrgb.c (gdk_rgb_convert_0888_br, gdk_rgb_convert_8880_br):
2426 Fill in unused bits so they can be used for the depth-32 target case.
2427 Rewrite so that that gives a marginal speedup rather than a
2428 marginal slowdown. (on x86)
2430 * gdk/gdkscreen.h gdk/x11/gdkscreen-x11.[ch] gdk/x11/gdkvisual-x11.c:
2431 Add gdk_screen_get_rgba_colormap/visual to get a visual for
2432 windows with an alpha channel, if one exists.
2434 * gdk/win32/gdkscreen-win32.c gdk/linux-fb/gdkscreen-fb.c:
2435 Stub out gdk_screen_get_rgba_colormap/visual.
2437 * gdk/x11/gdkcolor-x11.c (gdk_colormap_alloc_colors): computation of
2438 "unused" wasn't right for depth == 32, since it depended on
2441 * gdk/gdkrgb.c: Fill in alpha bits with 1s. (Based on patch from
2443 http://mail.gnome.org/archives/gtk-devel-list/2004-June/msg00080.html)
2445 * gdk/x11/gdkdrawable-x11.c (gdk_x11_drawable_get_picture):
2446 Implement again, without using Xft.
2448 * tests/testgtk.c: Add a test for windows with an alpha channel.
2450 2005-05-09 Matthias Clasen <mclasen@redhat.com>
2452 * autogen.sh: Revert accidental commit.
2454 2005-05-08 Matthias Clasen <mclasen@redhat.com>
2456 * gdk/gdkcolor.c (gdk_cairo_set_source_color):
2461 * gdk/x11/gdkcolor-x11.c: Small documentation additions.
2463 2005-05-07 Matthias Clasen <mclasen@redhat.com>
2465 * gtk/gtkscrolledwindow.h:
2466 * gtk/gtkscrolledwindow.c (gtk_scrolled_window_get_hscrollbar):
2467 (gtk_scrolled_window_get_cscrollbar): Change the return
2468 type to GtkWidget*, proposed by Owen Taylor.
2470 * gdk/x11/gdkscreen-x11.c (gdk_screen_get_width_mm)
2471 (gdk_screen_get_height_mm): Fix typos in the docs. (#303389,
2474 2005-05-07 Matthias Clasen <mclasen@redhat.com>
2476 * gtk/gtkiconview.c: Fix a copy-and-paste accident, spotted
2479 2005-05-07 Owen Taylor <otaylor@redhat.com>
2481 * gdk/gdkgc.c (gc_get_foreground): Get the foreground color, not
2482 the background color.
2484 2005-05-07 Owen Taylor <otaylor@redhat.com>
2486 * gdk/gdkpixbuf-render.c gdk/gdkpixbuf.h (gdk_pixbuf_set_as_cairo_source):
2487 Change prototype to match cairo_set_source_surface().
2489 * gdk/gdkdraw.c gdk/gdkgc.c gdk/gdkpixbuf-render.c gdk/gdkwindow.c
2490 gtk/gtkhsv.c tests/testcairo.c.
2492 2005-05-06 Federico Mena Quintero <federico@ximian.com>
2494 Merged from gtk-2-6:
2496 * gtk/gtkfilesystemunix.c (fill_in_mime_type): Don't fill the mime
2497 types if this is an AFS directory.
2498 (fill_in_names): If we are in an AFS directory, set the MIME type
2499 blindly to "x-directory/normal".
2501 2005-05-06 Matthias Clasen <mclasen@redhat.com>
2503 * gtk/gtknotebook.c (gtk_notebook_insert_page_menu): Always
2504 initialize child-visible to FALSE, otherwise we may end up
2505 with the wrong page visible initially. (#302283, Patrik Fimml)
2507 * gtk/gtktreeview.c (gtk_tree_view_draw_arrow): Make expanders
2508 appear insensitive in insensitive treeviews.
2510 2005-05-05 Matthias Clasen <mclasen@redhat.com>
2512 * gtk/gtktoolbar.c: Fix a typo in the docs. (#303024,
2515 2005-05-06 Matthias Clasen <mclasen@redhat.com>
2518 * gtk/gtkiconview.[hc]: Add DND support similar to the DND
2519 support in the tree view. (#150270)
2521 2005-05-05 Matthias Clasen <mclasen@redhat.com>
2524 * gtk/gtkwidget.h: Small cleanups.
2526 * gtk/gtktreeview.c (gtk_tree_view_get_dest_row_at_pos): Fix
2529 2005-05-04 Owen Taylor <otaylor@redhat.com>
2531 * gdk/x11/gdkevents-x11.c gdk/x11/gdkwindow-x11.h: Fix a bug
2532 in focus tracking when we move between has_pointer_focus and
2533 has_focus_window directly. (#109246, Billy Biggs, Niko Tyni
2536 * gdk/x11/gdkevents-x11.c: Also fix some confusion that could
2537 happen in the case of no window manager + keyboard grabs, by
2538 moving to a more consistent model of when we pay attention to
2539 mode=NotifyGrab/NotifyUngrab events.
2541 * docs/focus_tracking.txt: Extensive writeup about how to track
2544 Wed May 4 13:21:41 2005 Søren Sandmann <sandmann@redhat.com>
2546 * tests/testcairo.c (draw): Replace cairo_show_surface() uses with
2547 cairo_set_source_surface()/cairo_paint();
2549 2005-05-04 Tor Lillqvist <tml@novell.com>
2551 * gdk/win32/gdkdrawable-win32.c (generic_draw, blit_from_pixmap)
2552 * gdk/win32/gdkgc-win32.c (gdk_win32_gc_values_to_win32values,
2553 _gdk_win32_gc_new, _gdk_windowing_gc_set_clip_region,
2554 gdk_win32_hdc_get): Minor fixes to make Win32 backend compile
2557 2005-05-03 Matthias Clasen <mclasen@redhat.com>
2559 * gtk/gtkfilesystem.c:
2560 * gtk/gtkcelleditable.c:
2561 * gtk/gtktreemodel.c: Avoid getting the interface struct
2562 twice in the same function. (#300513, Billy Biggs)
2564 * gtk/gtkscrolledwindow.h:
2565 * gtk/gtkscrolledwindow.c (gtk_scrolled_window_get_vscrollbar):
2566 * gtk/gtk.symbols: Add getters for the scrollbars. (#167181,
2570 * gtk/gtkdialog.c (gtk_dialog_get_response_for_widget):
2571 Make this function public. (#170748, Morten Welinder)
2573 2005-05-02 Federico Mena Quintero <federico@ximian.com>
2575 Merged from gtk-2-6:
2579 * gtk/gtkfilesystemunix.c (struct _GtkFileSystemUnix): Add fields
2580 to store struct stat for /afs and /net, and boolean fields to say
2581 whether these are valid.
2582 (struct _GtkFileFolderUnix): Added a boolean is_network_dir field.
2583 (gtk_file_system_unix_get_folder): Fill in the is_network_dir
2584 field of the folder structure.
2585 (fill_in_names): If the folder is a network directory, create a
2586 fake struct stat for its entries.
2587 (fill_in_stats): Don't stat() the children of network directories.
2589 * gtk/gtkfilechooserdefault.c (list_mtime_data_func): If the mtime
2590 is 0, use "Unknown" for the cell's displayed text.
2592 2005-04-28 Owen Taylor <otaylor@redhat.com>
2594 * gtk/gtkwidget.c: Add a draw-border style property to allow
2595 themes to draw outside the widget's allocation.
2597 * gdk/gdkwindow.c gtk/gtkstyle.c: Remove some save/restore pairs
2598 that were working around the clip-leakage bug in Cairo.
2600 * gtk/gtkstyle.c: Use cairo_fill_preserve() rathe than
2603 * gdk/gdkgc.c gdk/gdkinternals.h: Add _gdk_gc_update_context()
2604 That updates a Cairo context to match a GC.
2606 * gdk/gdkdraw.c: Use _gdk_gc_update_context() to add support
2607 for tiles/stipples/clipping to gdk_draw_glyphs(),
2608 gdk_draw_trapezoids().
2610 * gdk/gdkpango.c: Use _gdk_gc_update_context() instead of internal
2611 implementation of stipples. Use one cairo_t across the entire
2612 drawing operation. Replace cairo_matrix_create() with
2613 stack-allocated matrices.
2615 * gdk/gdkgc.c gdk/gdkinternals.h gdk/x11/gdkgc-x11.c
2616 gdk/win32/gdkgc-win32.c: Save various aspects of the
2617 GC state (fill, tile, stipple, foreground, background, clip region)
2618 in instance-private-data for future use. Add getters.
2619 Get rid of _gdk_windowing_gc_get_foreground() function implemented
2622 * gdk/gdkgc.c gdk/gdkinternals.h gdk/x11/gdkgc-x11.c
2623 gdk/win32/gdkgc-win32.c gdk/linux-fb/gdkgc-fb.c: Add
2624 _gdk_gc_init() to do initial setup of the GC from values;
2625 fixes some problems from drawable redirection.
2627 * gdk/gdkgc.c gdk/gdkinternals.h gdk/x11/gdkgc-x11.c
2628 gdk/win32/gdkgc-win32.c gdk/linux-fb/gdkgc-fb.c: Move
2629 gdk_gc_copy() and gdk_gc_set_clip_{region,rectangle}() into
2630 the generic code, add _gdk_windowing_gc_copy(),
2631 _gdk_windowing_gc_set_clip_region() to do backend specific
2634 * gdk/x11/{gdkprivate-x11.h,gdkgc-x11.c.c,gdkdrawable-x11.c}
2635 gdk/win32/{gdkprivate-win32.h,gdkgc-x11.c.c,gdkdrawable-x11.c}
2636 gdk/linux-fb/{gdkprivate-fb.h,gdkgc-fb.c.c,gdkdrawable-fb.c}:
2637 Don't duplicate state that now is stored by the generic code.
2639 * gdk/gdk.symbols Update
2641 2005-05-02 Matthias Clasen <mclasen@redhat.com>
2643 * tests/testiconview.c: Test cell renderers.
2645 * gtk/gtk.symbols: Add new functions.
2647 * gtk/gtkiconview.[hc]: Implement GtkCellLayout and use
2648 cell renderers for drawing and editing. (#148144, #160242)
2650 2005-05-02 Matthias Clasen <mclasen@redhat.com>
2652 * gtk/gtkcellrenderertext.c (get_size): Return a sufficient
2653 width for cases where pango_layout_get_pixel_extents() returns
2654 a rectangle with nonzero x.
2656 * gtk/gtkselection.c: Small doc fixes.
2658 * gtk/gtkmenushell.c (gtk_menu_shell_set_take_focus):
2659 (gtk_menu_shell_get_take_focus): Fix up the docs a bit.
2661 2005-05-02 Michael Natterer <mitch@imendio.com>
2663 * gtk/gtkmain.c (do_post_parse_initialization): return silently if
2664 "gtk_initialized" is TRUE. Re-enables calling GTK's init functions
2665 multiple times when using gtk_get_option_group(), just as one can
2666 call gtk_init() multiple times without doing any harm.
2668 2005-05-01 Matthias Clasen <mclasen@redhat.com>
2670 * gtk/gtktextview.c (gtk_text_view_expose_event): Propagate
2671 the event to unanchored children in the text window.
2672 (#302494, Stephen Kennedy)
2674 2005-04-30 Tor Lillqvist <tml@novell.com>
2676 * gdk/win32/gdkdnd-win32.c (gdk_dropfiles_filter): Take
2677 multi-monitor offset into account. (#302525)
2679 2005-04-29 Matthias Clasen <mclasen@redhat.com>
2681 * gtk/gtkradioaction.c: Make the docs build. (#302230,
2684 * gtk/gtkiconview.c (gtk_icon_view_map): Get rid of this
2685 function, instead show the bin_window when it is created.
2687 * gtk/gtkradiobutton.c (gtk_radio_button_focus): Don't
2688 grab focus to unrealized widgets. (#302240, Philip Langdale)
2690 * gtk/gtktreeview.c (gtk_tree_view_state_changed): Set
2691 background upon state changes. (#301651, Billy Biggs)
2692 (gtk_tree_view_get_path_at_pos): Take RTL into account
2693 when iterating over the columns. (#302163)
2695 * configure.in: Check for nm.
2697 * gtk/Makefile.am: Use $(NM), not nm directly. (#301299,
2698 Nguyen Thai Ngoc Duy)
2700 * gtk/gtkiconview.c (gtk_icon_view_move_cursor_start_end): Use
2701 the internal unselect_all function, since we need the unselection
2702 to happen even in browse mode. (#300995, Mathias Hasselmann)
2704 * gtk/gtkuimanager.c (update_node): Use g_object_notify() instead
2705 of triggering a ::notify by re-setting the property. (#300982,
2708 * gtk/gtkaction.c (connect_proxy): Use gtk_action_sync_tooltip().
2710 * gtk/gtkiconview.c (gtk_icon_view_scroll_to_item): Also
2711 scroll horizontally when necessary, and keep the northwest
2712 corner of the item visible. (#300913, Mathias Hasselmann)
2714 * tests/testiconview.c: Add some more tests.
2716 * gtk/gtkiconview.c (gtk_icon_view_select_path): Don't crash
2717 if the path does not point to a row in the model. (#300909,
2719 (gtk_icon_view_rows_reordered): Re-layout here. (#301009,
2722 * tests/testtext.c: Add some more attribute tests.
2724 * gtk/gtktexttag.c (gtk_text_tag_class_init): Correct the documentation
2725 of the rise property. String change, but it is more important to
2726 be correct than to be translated. (#301740)
2728 2005-04-25 Tor Lillqvist <tml@novell.com>
2730 * gtk/gtkfilesystemwin32.c
2731 (gtk_file_system_win32_volume_get_display_name): Get volume name
2732 also on Win9x. (#301798, Daniel Atallah)
2733 (canonicalize_filename): Add explicit braces to silence compiler
2736 2005-04-22 Tor Lillqvist <tml@novell.com>
2738 * gtk/gtkmain.c: Initailize gettext before use. Calling
2739 bindtextdomain() and bind_textdomain_codeset() in
2740 do_post_parse_initialization() is too late. Put the calls in a new
2741 function gettext_initialization(), and call that from
2742 gtk_init_with_args() and gtk_parse_args(). Fixes #170948 for
2743 GTK+'s part, but the same problem occurs also at least in
2744 atk. Thanks to Robert Ögren, Daniel Atallah and Kevin Stange.
2746 2005-04-19 Ivan, Wong Yat Cheung <email@ivanwong.info>
2748 * gdk/win32/gdkfont-win32.c (gdk_font_load_internal): Match
2749 character height instead of cell height. Fix #301228.
2751 2005-04-18 Federico Mena Quintero <federico@ximian.com>
2753 Merged from gtk-2-6:
2755 * gtk/gtkfilechooserdefault.c (remove_selected_bookmarks): Remove
2756 obsolete assertion that the selected row can't be a volume; this
2757 is handled by the "removable" column now. Fixes #301017.
2759 2005-04-18 Owen Taylor <otaylor@redhat.com>
2761 * gtk/gtkstyle.c gtk/gtkcolorsel.c gtk/gtkhsv.c gtk/gtkiconview.c
2762 * gdk/gdkcolor.c gdk/gdkwindow.c gdk/gdkpixbuf-render.c
2763 gdk/gdkpango.c tests/testcairo.c: Update to new Cairo API for
2764 setting color and opacity. (#301066, Vincent Noel)
2766 2005-04-15 Federico Mena Quintero <federico@ximian.com>
2768 Merged from gtk-2-6:
2770 * gtk/gtkfilechooserdefault.c (pending_select_paths_process):
2771 Patch from Christian Neumair <chris@gnome-de.org>; only select the
2772 first row if we are in OPEN mode. The only other case we were
2773 letting pass through was SELECT_FOLDER, but selecting the first
2774 row when changing folders confuses people when folders are
2775 actually being selected. Fixes #171885.
2777 2005-04-13 Matthias Clasen <mclasen@redhat.com>
2779 * gtk/gtkimage.c (gtk_image_calc_size, gtk_image_expose):
2780 Revert the fix for #169870, adjust the documentation instead.
2782 * gtk/gtkactiongroup.c (gtk_action_group_add_action_with_accel):
2783 Revert the fix for #170727.
2785 2005-04-11 Ivan, Wong Yat Cheung <email@ivanwong.info>
2789 * gdk/win32/gdkselection-win32.c (gdk_selection_convert): Fix
2792 * gtk/updateiconcache.c: Guard inclusion of unistd.h and
2795 2005-04-09 Matthias Clasen <mclasen@redhat.com>
2797 * gdk/x11/gdkinput-xfree.c:
2798 * gdk/x11/gdkinput-none.c:
2799 * gdk/gtk.symbols: Some more fixes necessary to
2800 make building with gcc 4 work.
2802 Add 16x16 versions of the zoom icons and of
2803 GTK_STOCK_INDEX. Some of the images were taken from
2804 the hicolor icon theme, and were originally created
2805 by Jakub Steiner and Tuomas Kuosmanen. (#167515,
2808 * gtk/stock-icons/stock_index_16.png:
2809 * gtk/stock-icons/stock_zoom_1_16.png:
2810 * gtk/stock-icons/stock_zoom_fit_16.png:
2811 * gtk/stock-icons/stock_zoom_in_16.png:
2812 * gtk/stock-icons/stock_zoom_out_16.png: New images.
2814 * gtk/stock-icons/Makefile.am: Add the new images.
2816 * gtk/gtkimage.c (gtk_image_calc_size, gtk_image_expose):
2817 Don't display too many broken images. (#169870, Roman
2818 Kagan, patch by Ivan Wong)
2820 * gtk/gtkwidget.c (gtk_widget_unparent): Remove debugging
2821 output. (#300013, Tommi Komulainen)
2823 2005-04-08 Matthias Clasen <mclasen@redhat.com>
2825 * gtk/gtkimage.c (gtk_image_expose, gtk_image_calc_size):
2826 If a stock_id is unknown, display the missing image. (#169870,
2829 * gtk/gtkiconcache.c (icon_name_hash): Use the same function
2830 as in updateiconcache.c. (spotted by Morten Welinder)
2832 2005-04-08 Carl Worth <cworth@cworth.org>
2834 * gdk/gdkpango.c: (emboss_context): Simplify matrix manipulation
2835 now that cairo exposes the cairo_matrix_t structure.
2837 * gdk/gdkpixbuf-render.c: (gdk_pixbuf_set_as_cairo_source): Track
2838 cairo API change in signedness of data argument.
2840 2005-04-08 Matthias Clasen <mclasen@redhat.com>
2842 * gtk/gtkcombobox.c (gtk_combo_box_popdown): Make this
2843 work when called from gtk_combo_box_destroy(). (#172999,
2846 2005-04-08 Matthias Clasen <mclasen@redhat.com>
2848 Fix double-click to autosize treeview columns. This was
2849 probably broken since 2.2 ! (#169675)
2851 * gtk/gtktreeview.c (gtk_tree_view_button_press): Leave the
2852 "user-resized" state of the column on a double-click to
2854 (gtk_tree_view_button_press, gtk_tree_view_motion_resize_column):
2855 Enter the "user-resized" state of the column only if a drag
2856 actually changes the column width, not on any click.
2858 2005-04-07 Matthias Clasen <mclasen@redhat.com>
2860 * gtk/gtkmenu.c (gtk_menu_paint): Allow setting background
2861 images on menus. (#169532, Benjamin Otte)
2863 * gtk/updateiconcache.c (write_card16, write_card32): Avoid
2864 unaligned access. (#172947)
2866 * gtk/gtkfilechooserdefault.c (file_list_build_popup_menu):
2867 Consistently use the term "Bookmarks" in the UI. (#166906,
2870 Some fixes from Morten Welinder (#172947):
2872 * gtk/updateiconcache.c (icon_name_hash): Make this compiler-
2873 and platform-independent.
2874 (is_cache_up_to_date): Don't compare mtimes is a stat call failed.
2875 (build_cache): Error out if a stat fails.
2877 2005-04-07 Matthias Clasen <mclasen@redhat.com>
2879 * gtk/gtktreeview.c (gtk_tree_view_set_expander_column): Add
2880 a hint about hiding expanders.
2882 * gtk/updateiconcache.c (is_cache_up_to_date): Return
2883 TRUE if the cache is newer than the directory. (#172852,
2886 * configure.in: Replace an explicit pkg-config by
2887 $PKG_CONFIG. (#168074, Hans-Wolfgang Loidl)
2889 * gdk/gdkpango.c (gdk_pango_layout_line_get_clip_region):
2890 Ignore regions which fall completely outside the line.
2891 (#165862, Felipe Heidrich)
2893 2005-04-06 Matthias Clasen <mclasen@redhat.com>
2895 * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Document
2896 -1 as possible value.
2897 (gtk_tree_view_enable_model_drag_source)
2898 (gtk_tree_view_enable_model_drag_dest): Pass the target list
2899 to the underlying dnd implementation, otherwise we miss the
2900 target info in the drag-data-received signal. (#164085, Jorn
2903 2005-04-06 Matthias Clasen <mclasen@redhat.com>
2905 * gtk/gtktreeview.c (gtk_tree_view_motion_resize_column)
2906 (gtk_tree_view_bin_expose): Avoid a few unnecessary calls
2907 to gdk_window_get_pointer(). (#168015, Billy Biggs)
2909 * po/.cvsignore, po-properties/.cvsignore: Remove
2910 Makefile.in.in. (#171092, Stepan Kasal)
2912 * gtk/gtkrc.c (gtk_rc_parse_style): Don't modify
2913 scanner->value, copy it first. (#165693, Tommi Komulainen)
2915 2005-04-05 Matthias Clasen <mclasen@redhat.com>
2917 * gtk/gtkcomboboxentry.c (gtk_combo_box_entry_grab_focus):
2918 * gtk/gtkcombobox.c (gtk_combo_box_grab_focus): Implement
2919 grab_focus for GtkComboBox and GtkComboBoxEntry. (#171912,
2922 * gtk/gtkicontheme.c: Store icon caches along with the
2923 mtimes of the toplevel directories. The previous
2924 mechanism of a hashtable-per-theme caused duplicate icon
2925 caches for the same toplevel directory to be created.
2928 2005-04-05 Matthias Clasen <mclasen@redhat.com>
2930 * gtk/gtktreemodelsort.c (gtk_tree_model_sort_build_level):
2931 Fix a typo in a warning.
2933 * gtk/gtkaboutdialog.c (gtk_about_dialog_init): Protect
2934 the license and credits buttons from being affected by
2935 gtk_widget_show_all(). (#172724)
2937 2005-04-05 Matthias Clasen <mclasen@redhat.com>
2939 * gtk/gtkmenushell.c (gtk_menu_shell_activate_item): Keep a
2940 reference to the item. (#167920, Hazael Maldonado Torres)
2942 * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Add some
2943 more docs on interactive search.
2945 2005-04-05 Tor Lillqvist <tml@novell.com>
2947 * gdk/win32/gdkvisual-win32.c (_gdk_visual_init): Handle 16 colour
2948 display mode. For some reason, in this mode GetDeviceCaps(BITSPIXEL)
2949 returns 1 (but GetDeviceCaps(NUMCOLORS) does return 16). (#143415)
2951 * gdk/win32/gdkvisual-win32.c (_gdk_visual_init): Don't force
2952 24bpp GdkVisual on 32bpp displays. (#140706)
2954 Mon Apr 4 19:13:23 2005 Jonathan Blandford <jrb@redhat.com>
2956 Fix for #172319, Tristan Van Berkom:
2958 * gtk/gtktreeview.c (gtk_tree_view_expand_all): change to use
2959 gtk_tree_view_real_expand_row() instead of doing this by hand.
2961 2005-04-04 Johan Dahlin <johan@gnome.org>
2963 * gtk/gtktextbuffer.c: (gtk_text_buffer_class_init),
2964 (gtk_text_buffer_set_property), (gtk_text_buffer_get_property),
2965 (gtk_text_buffer_set_text): Add GtkTextBuffer::text (#172631)
2967 Mon Apr 4 14:33:55 2005 Manish Singh <yosh@gimp.org>
2969 * gtk/gtkcomboboxentry.c (gtk_combo_box_entry_get_active_text):
2970 cast combo->priv->entry to GTK_ENTRY()
2972 * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
2973 cast completion->priv->tree_view to GTK_TREE_VIEW()
2975 2005-04-04 Matthias Clasen <mclasen@redhat.com>
2977 * gtk/gtktextbuffer.c: Some trivial doc fixes.
2979 * gtk/gtkwidget.c (gtk_widget_set_redraw_on_allocate): Improve
2980 the wording of the doc comment. (#172422, Vincent Untz)
2982 2005-04-04 Owen Taylor <otaylor@redhat.com>
2984 * gtk/gtkstyle.c (gtk_default_draw_expander): Covert expander
2985 drawing to Cairo. Also always draw the entire triangle instead
2986 of just drawing the center for prelight. (Fixes inconsistent
2987 drawing in GtkTreeView.)
2989 2005-04-04 Johan Dahlin <johan@gnome.org>
2991 * gtk/gtk.symbols: Remove symbols accidentally added.
2992 * gtk/gtkentryprivate.h: Add boolean property popup_set_width
2993 * gtk/gtktoggletoolbutton.c: (gtk_toggle_tool_button_class_init):
2994 Use object_class instead of gobject_class
2996 Mon Apr 4 12:14:35 2005 Søren Sandmann <sandmann@redhat.com>
2998 * gtk/gtkmenu.c (gtk_menu_handle_scrolling): Translate x, y into
2999 widget coordinates instead of root coordinates. Patch from Jorn
3002 2005-04-04 Matthias Clasen <mclasen@redhat.com>
3004 * gtk/gtktoolbar.c: Add a tooltips property.
3006 * gtk/gtkradiomenuitem.c (gtk_radio_menu_item_class_init):
3007 * gtk/gtkruler.c (gtk_ruler_class_init): Add docs.
3009 * gtk/gtktoggletoolbutton.c: Add an active property.
3011 2005-04-04 Matthias Clasen <mclasen@redhat.com>
3013 Allow completion popups to be wider than the entry. (#131916,
3016 * gtk/gtkentrycompletion.[hc]: Add a boolean popup-set-width property.
3018 * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
3019 Don't force the popup to have the same width as the entry if
3020 popup-set-width is FALSE.
3022 * gtk/gtk.symbols: Add new functions.
3024 2005-04-04 Matthias Clasen <mclasen@redhat.com>
3026 * gtk/gtkactiongroup.c (gtk_action_group_add_action_with_accel):
3027 Use gtk_accel_map_change_entry(), so that reusing the same
3028 action name works. (#170727, Paolo Borelli)
3030 2005-04-04 Tor Lillqvist <tml@novell.com>
3032 * gdk/win32/gdkmain.c (_gdk_win32_cf_to_string): New debugging
3033 function, to log a clipboard format name symbolically.
3034 (_gdk_win32_data_to_string): Also new, to log random data bytes.
3036 Implement delayed rendering on Win32, specifically for transfering
3037 images through the clipboard from GTK+ apps to other
3038 apps (#168173, implementation by Ivan Wong):
3040 * gdk/win32/gdkevents-win32.c (gdk_event_translate):
3041 Handle WM_RENDERFORMAT.
3043 * gdk/win32/gdkprivate-win32.h
3044 * gdk/win32/gdkglobals-win32.c: Add _format_atom_table,
3045 _delayed_rendering_data and _image_bmp.
3047 * gdk/win32/gdkmain-win32.c: Initialize _image_bmp.
3049 * gdk/win32/gdkproperty-win32.c (gdk_property_change):
3050 Accept formats other than GDK_TARGET_STRING or _utf8_string, and
3051 assume they are handled through delayed rendering.
3053 * gdk/win32/gdkselection-win32.c (gdk_selection_convert):
3054 Return all available formats (including those registered by GTK+
3055 apps) on request_targets.
3056 (gdk_selection_property_get): We should append a zero byte like
3058 (gdk_win32_selection_add_targets): New function, for
3059 gtkselection's use. Win32 requires that the clipboard owner
3060 registers all valid formats even if the owner wants delayed
3062 (_gdk_win32_selection_convert_to_dib): New function. Convert
3063 images to DIB using gdk-pixbuf.
3065 * gdk/win32/gdkwin32.h: Declare gdk_win32_selection_add_targets().
3067 * gtk/gtkselection.c (gtk_selection_add_target,
3068 gtk_selection_add_targets): Call gdk_win32_selection_add_targets()
3069 to register target formats.
3071 * gdk/gdk.symbols: Add gdk_win32_selection_add_targets().
3073 2005-04-03 Hans Breuer <hans@breuer.org>
3075 [merged from gtk-2-6 branch]
3076 * gdk/win32/gdkdrawable-win32.c : let dash_offset shift the start of
3077 the line pattern not the start of the line. Fixes bug #171641.
3079 * gtk/makefile.msc.in : follow .symbols changes
3081 * gdk/win32/gdkwindow-win32.c : declare and resolve GetAncestor()
3082 dynamically. (It is not available in _WIN_VER <= 0x0400)
3084 * gdk/win32/makefile.msc : removed gdkpango-win32.obj
3086 * gtk/gtkhsv.c gtk/gtkstyle.c : use G_PI instead of M_PI
3088 [also applied to gtk-2-6 branch]
3089 * gdk/makefile.msc gdk-pixbuf/makefile.msc : handle gdk*alias.def
3091 * gdk/makefile.msc.in : add gtkmnemonichash.obj
3093 * test/testgtk.c(set_parent_signal) : use g_message instead of
3094 g_print to keep the 'testgtk --bench=all' output clean
3096 2005-04-03 Matthias Clasen <mclasen@redhat.com>
3098 * gtk/gtkruler.c: Add a "metric" property.
3100 * gtk/gtkradiomenuitem.c: Add a "group" property like
3101 the one found in radio buttons.
3103 * gtk/gtkradiobutton.c (gtk_radio_button_class_init): Fix
3105 (gtk_radio_button_set_group): Add change notification.
3107 2005-04-01 Matthias Clasen <mclasen@redhat.com>
3109 * gtk/gtkselection.c: Move documentation inline, document
3110 if add_target functions append or prepend. (#172350,
3113 2005-04-01 Matthias Clasen <mclasen@redhat.com>
3115 Make gtk_combo_box_get_active_text do the right thing for
3116 GtkComboBoxEntry (#171373, Robert Staudinger)
3118 * gtk/gtkcombobox.h: Add a get_active_text vfunc.
3120 * gtk/gtkcombobox.c (gtk_combo_box_real_get_active_text): And
3123 * gtk/gtkcomboboxentry.c (gtk_combo_box_entry_get_active_text):
3124 Implement get_active_text by always returning the content of
3127 2005-03-31 Sven Neumann <sven@gimp.org>
3129 Merged from gtk-2-6:
3132 * gtk/gtkiconview.c: fixed gtk-doc comments.
3134 2005-03-31 Michael Natterer <mitch@gimp.org>
3136 Allow to pop up menus without grabbing the keyboard. Useful for
3137 stuff like virtual keyboards. Fixes bug #159890
3140 * gtk/gtkmenushell.[ch]: added boolean property "take-focus"
3141 and public API gtk_menu_shell_set/get_take_focus().
3143 * gtk/gtkmenu.c (gtk_menu_popup)
3144 (popup_grab_on_window): don't grab the keyboard if take_focus
3147 * gtk/gtkmenuitem.c (_gtk_menu_item_popup_submen): propagate the
3148 parent menu_shell's take_focus property to the submenu which is
3149 about to be popped up.
3151 2005-03-30 Federico Mena Quintero <federico@ximian.com>
3153 Merged from gtk-2-6:
3157 * gtk/gtktreeview.c (gtk_tree_view_row_changed): Only stop editing
3158 if the row which changed is the same as the row being edited.
3160 2005-03-30 Matthias Clasen <mclasen@redhat.com>
3162 * gtk/gtktreeview.c (gtk_tree_view_real_start_interactive_search):
3163 Make enable_search control only typeahead, not C-f. (#170435,
3165 (gtk_tree_view_start_interactive_search): Pass keybinding == TRUE.
3167 * gdk/gdkpixbuf.h: Include cairo.h
3169 * gtk/gtkclipboard.c (gtk_clipboard_set_can_store):
3170 Don't accept n_targets == -1.
3171 (clipboard_unset): unref the old_data, not the
3172 user_data which we have just cleared. (#172038, Sven
3175 * gtk/gtkcombobox.c (gtk_combo_box_popup): Don't
3176 segfault if somebody tries to popup an unrealized
3177 combo box. (#172031, Felipe Heidrich)
3179 2005-03-30 Tor Lillqvist <tml@novell.com>
3181 * gdk/win32/gdkevents-win32.c (build_pointer_event_state): The
3182 state field should represent the state before the event, like on
3184 (gdk_event_translate): Fix event filter handling. If an event
3185 filter (global, client message filter, of window-specific) returns
3186 GDK_FILTER_CONTINUE, continue as if nothing happened. If it
3187 returns GDK_FILTER_REMOVE or GDK_FILTER_TRANSLATE, return TRUE
3188 from gdk_event_translate() which means that DefWindowProc() will
3190 (gdk_event_translate): Fix client message handling. Append a
3191 GDK_CLIENT_EVENT unless there is a filter that matches and returns
3192 something other than GDK_FILTER_CONTINUE. (#135552)
3194 2005-03-29 Matthias Clasen <mclasen@redhat.com>
3196 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_set_visible_func):
3197 Document the need to refilter if parameters of the visibility function
3198 change. (#169516, Olivier Sessink)
3200 Mon Mar 28 15:13:42 2005 Søren Sandmann <sandmann@redhat.com>
3202 * gdk/gdkwindow.c (gdk_window_invalidate_maybe_recurse): Don't
3203 invalidate areas that are covered by mapped input-output child
3204 windows. Bug 141380.
3206 2005-03-28 Jeroen Zwartepoorte <jeroen.zwartepoorte@gmail.com>
3208 * gtk/gtkfilechooserdefault.c: (update_preview_widget_visibility): Make
3209 the preview label ellipsize so the dialog layout stays constant.
3212 2005-03-28 Matthias Clasen <mclasen@redhat.com>
3214 * gtk/gtktreeview.c (gtk_tree_view_key_press): Don't pop up
3215 the context menu of the search entry if it is not visible.
3216 (#169534, Billy Biggs)
3218 2005-03-27 Tor Lillqvist <tml@novell.com>
3220 * configure.in: Apparently AC_LIBTOOL_WIN32_DLL isn't deprecated
3221 after all, and in fact necessary with HEAD libtool.
3223 2005-03-26 Matthias Clasen <mclasen@redhat.com>
3226 * gdk/gdkdisplaymanager.c:
3227 Use canonical names for g_object_notify() as well.
3229 2005-03-24 Tor Lillqvist <tml@novell.com>
3231 * configure.in (GTK_EXTRA_CFLAGS): Include the -mms-bitfields flag
3232 in GTK_EXTRA_CFLAGS on Win32, so that it gets included in the
3233 gtk+-2.0.pc file and automatically used by dependents. MSVC users
3234 who use pkg-config will have to manually edit it out from
3235 gtk+-2.0.pc, sorry. Maybe pkg-config should be enhanced to support
3236 some kind of conditionals in .pc files?
3238 2005-03-23 Matthias Clasen <mclasen@redhat.com>
3240 * gtk/gtkfilechooserbutton.c (update_combo_box): Remove
3241 a call whose result was unused and leaked. (#170776,
3244 Some cleanups to the GtkDialog code: (#170746,
3246 * gtk/gtkdialog.c (action_widget_activated): Simplify,
3247 use _gtk_dialog_get_response_for_widget.
3248 (gtk_dialog_add_action_widget): Use the correct signal
3250 (gtk_dialog_set_response_sensitive):
3251 (gtk_dialog_set_default_response): Use get_response_data.
3252 (gtk_dialog_run): Don't disconnect the signals if the
3253 dialog was destroyed while running.
3255 Tue Mar 22 14:16:31 2005 Manish Singh <yosh@gimp.org>
3257 * gtk/gtkfilesystem.c (gtk_file_system_set_bookmark_label):
3258 Use g_return_if_fail, not g_return_val_if_fail.
3260 2005-03-22 Matthias Clasen <mclasen@redhat.com>
3262 Implement bookmark renaming (#136216, Sean Middleditch)
3264 * gtk/gtkfilesystem.h (struct _GtkFileSystemIface): Add
3265 get_bookmark_label and set_bookmark_label vfuncs.
3267 * gtk/gtkfilesystem.h:
3268 * gtk/gtkfilesystem.c (gtk_file_system_set_bookmark_label):
3269 (gtk_file_system_get_bookmark_label): Wrappers for the
3272 * gtk/gtk.symbols: Add new exported symbols.
3274 * gtk/gtkfilesystemunix.c (gtk_file_system_unix_set_bookmark_label):
3275 (gtk_file_system_unix_get_bookmark_label): Implementations
3276 for the Unix backend.
3278 * gtk/gtkfilechooserdefault.c: Add a context menu to
3279 the bookmarks pane, and allow to rename bookmarks.
3281 2005-03-22 Matthias Clasen <mclasen@redhat.com>
3283 * gtk/gtkpathbar.c (gtk_path_bar_unmap):
3284 * gtk/gtkspinbutton.c (gtk_spin_button_unmap):
3285 * gtk/gtknotebook.c (gtk_notebook_unmap):
3286 * gtk/gtkrange.c (gtk_range_unmap): Stop scrolling when
3287 the widget is unmapped. (#168791, Ryan Lortie)
3289 2005-03-21 Matthias Clasen <mclasen@redhat.com>
3291 * gtk/gtkprivate.h: Define macros GTK_PARAM_READABLE,
3292 GTK_PARAM_WRITABLE, GTK_PARAM_READWRITE which are like
3293 their G_ counterparts, but also mark the name, nick
3294 and blurb as static.
3296 * gtk/*.c: Mark param spec strings as static, using
3299 * gtk/gtkspinbutton.h: Fix a typo.
3301 2005-03-21 Matthias Clasen <mclasen@redhat.com>
3303 * gtk/gtkcellrendererprogress.c:
3304 * gtk/gtkcellrendererpixbuf.c:
3305 * gtk/gtkcellrenderercombo.c:
3306 * gtk/gtkcellrenderer.c:
3307 * gtk/gtkcalendar.c:
3311 * gtk/gtkaspectframe.c:
3313 * gtk/gtkalignment.c:
3314 * gtk/gtkactiongroup.c:
3316 * gtk/gtkaccellabel.c:
3317 * gtk/gtkaboutdialog.c: Mark param spec strings as static.
3319 * gdk/gdkpango.c (gdk_pango_renderer_class_init):
3320 * gdk/gdkdisplaymanager.c (gdk_display_manager_class_init): Mark
3321 param spec strings as static.
3323 2005-03-21 Tor Lillqvist <tml@novell.com>
3325 * modules/engines/ms-windows/*.c: Silence gcc warnings (unused
3326 variables, unhandled enum value in switch). Use g_object_unref()
3327 instead of deprecated gdk_gc_unref() and gdk_drawable_unref().
3329 * modules/engines/ms-windows/xp_theme.c (xp_theme_map_gtk_state):
3330 Add missing "case" keyword.
3332 * modules/engines/ms-windows/Makefile.am: Link with -lgdi32
3335 2005-03-20 Tor Lillqvist <tml@novell.com>
3337 * gdk/win32/gdkdisplay-win32.c (gdk_display_get_name): Return the
3338 Terminal Services session number, window station name (always
3339 "WinSta0" in interactive processes), and desktop name (typically
3340 "Default"), concatenated with backslash separators.
3341 (gdk_display_open): Accept only NULL or the string
3342 gdk_display_get_name() returns as display name.
3344 2005-03-20 Matthias Clasen <mclasen@redhat.com>
3346 Make PLT-reduction work with gcc4, and don't include
3347 everything in gdkalias.h:
3349 * gtk/grk.symbols: Group symbols by header and source file.
3350 * gtk/makegtkalias.pl: Protect definitions by the same
3351 preprocessor symbols used to guard the headers. Move
3352 the alias declarations to a separate file which is
3353 produced when calling makegtkalias.pl -def
3354 * gdk/Makefile.am (gtkaliasdef.c): Add a rule to generate
3356 * gtk/*.c: Include gtkalias.h after the other headers,
3357 include gtkaliasdef.c at the bottom.
3358 * gtk/*.h: Small cleanups.
3360 Fri Mar 18 23:59:49 2005 Soeren Sandmann <sandmann@redhat.com>
3362 * gtk/gtkmenutoolbutton.c (arrow_button_button_press_event_cb):
3363 Make right-clicks not pop up the menu.
3365 2005-03-18 Owen Taylor <otaylor@redhat.com>
3367 * gdk/x11/gdkdrawable-x11.c (_gdk_x11_drawable_finish):
3368 Call cairo_surface_finish()
3370 * gdk/gdkinternals.c gdk/x11/gdkdrawable-x11.c: Remoev
3371 _gdk_windowing_set_surface_device_offset().
3373 2005-03-18 Tor Lillqvist <tml@novell.com>
3375 * gdk/win32/gdkevents-win32.c (gdk_event_translate): On
3376 WM_MOUSEMOVE, don't check if this process owns the active
3377 window. This makes cross-application widget embedding work better.
3378 On WM_MOVE, don't bother checking for window visibility.
3380 * gdk/win32/gdkim-win32.c: Remove bogus empty doc comment. Remove
3381 unused variables. Add some casts to silence gcc.
3383 2005-02-24 Owen Taylor <otaylor@redhat.com>
3385 * gdk/gdkwindow.c: Use cairo_set_device_offset().
3387 * gdk/win32/gdkdrawable-win32.[ch] gdk/win32/gdkwindow-win32.c
3388 gdk/win32/gdkpixmap-win32.c:
3389 Add_gdk_win32_drawable_acquire/release_dc() to get a DC for the
3390 drawable. Add _gdk_drawable_win32_finish() to clean up resources
3391 when a drawable is destroyed.
3393 * gdk/win32/gdkgc-win32.c gdk/win32/gdkdrawable-win32.c
3394 (blit_from_pixmap) gdk/win32/gdkprivate-win32.h : Use
3395 acquire/release_dc when getting a DC to use with a GC or for
3396 blitting from a pixmap.
3398 * gdk/win32/gdkdrawable-win32.[ch]: Implement ref_cairo_surface()
3400 * gdk/win32/gdkpango-win32.c gdk/win32/gdkdrawable-win32.c Makefile.am:
3401 Remove gdk_screen_get_pango_context(), draw_glyph[_transformed]
3404 * gdk/win32/gdkdrawable-win32.c: Remove
3405 gdk_draw_rectangle_alpha_libgtk_only()
3407 2005-03-17 Owen Taylor <otaylor@redhat.com>
3409 * gdk/gdkpango.c: Fix get_stipple_surface to actually work, set
3410 EXTEND_REPEAT on the stipple pattern.
3412 2005-03-17 Matthias Clasen <mclasen@redhat.com>
3414 * gtk/gtklabel.c (gtk_label_set_markup): Fix formatting
3415 in example in the docs. (#170611, Jianfei Wang)
3417 * gtk/gtkiconview.c (gtk_icon_view_size_allocate): Clamp
3418 adjustment values on resize. (#170567, Tomislav Jonjic)
3420 * gtk/gtkicontheme.c (theme_lookup_icon): Don't crash
3421 if there is no cache. (#170652, Diego Gonzalez)
3423 * gtk/gtkentrycompletion.c (gtk_entry_completion_real_insert_prefix):
3424 Make inline completion insert the prefix at the
3425 right spot. (#170146, Doug Quale)
3427 2005-03-17 Tor Lillqvist <tml@novell.com>
3429 * gdk/gdkkeynames.c: gdk_key is a typedef, not a struct tag.
3431 2005-03-16 Matthias Clasen <mclasen@redhat.com>
3433 * gtk/gtkprogressbar.c (gtk_progress_bar_get_ellipsize):
3434 Typo fix in the docs.
3436 * gtk/gtkmenutoolbutton.c (gtk_menu_tool_button_set_arrow_tooltip):
3437 Typo fix in the docs.
3439 * gtk/gtkiconview.c (gtk_icon_view_set_columns)
3440 (gtk_icon_view_get_columns, gtk_icon_view_set_item_width)
3441 (gtk_icon_view_get_item_width, gtk_icon_view_set_spacing)
3442 (gtk_icon_view_get_spacing, gtk_icon_view_set_row_spacing)
3443 (gtk_icon_view_set_column_spacing)
3444 (gtk_icon_view_get_row_spacing, gtk_icon_view_get_margin)
3445 (gtk_icon_view_set_margin): Add docs.
3447 * gtk/gtkcellview.c (gtk_cell_view_get_displayed_row):
3450 2005-03-15 Owen Taylor <otaylor@redhat.com>
3452 * gdk/gdkdrawable.h gdk/gdkdraw.c gdk/gdkpixmap.c gdk/gdkwindow.c
3453 gdk/x11/gdkdrawable-x11.c gdk/x11/gdkpixmap-x11.c gdk/x11/gdkwindow-x11.c
3454 gdk/gdkinternals.h: Switch set_cairo_target() virtual function to
3457 * gdk/gdkdrawable.h gdk/gdkdraw.h: Switch set_cairo_target() virtual
3458 function to create_cairo_context()
3460 * gdk/gdkwindow.c: Clear double buffer pixmaps with Cairo.
3462 * gdk/x11/gdkwindow-x11.c: Keep all components in GdkWindowObject.bg_color,
3465 * tests/testcairo.c: Update for create_cairo_context()
3467 * gdk/gdkdraw.c (gdk_draw_trapezoids, gdk_draw_glyphs[_transformed]):
3468 Reimplement in terms of Cairo, bypass the vtable entries.
3470 * gdk/x11/gdkdrawable-x11.[ch] gdk/x11/gdkdisplay-x11.[ch]
3471 gdk/x11/gdkgc-x11.c gdk/x11/gdkpango-x11.c
3472 gdk/x11/gdkprivate-x11.h gdk/x11/Makefile.am: Remove
3473 implementation of draw_trapezoids / draw_glyphs[_transformed].
3475 * gdk/gdkpango.c: Switch GdkPangoRenderer to use Cairo
3477 * gdk/gdkpango.c gdk/x11/gdkpango-x11.c: Move
3478 gdk_pango_context_get_for_screen() into the backend independent code.
3480 * gdk/x11/gdkdrawable-x11.[ch]: Remove Xft use, use RENDER directly
3483 * gdk/gdkdrawable.h gdk/x11/gdkdrawable-x11.c: Remove
3484 gdk_draw_rectangle_alpha_libgtk_only.
3486 * gdk/gdkpixbuf.h gdk/gdkpixbuf-render.c: Add
3487 gdk_pixbuf_set_as_cairo_source()
3489 * gdk/gdk.symbols: Update
3491 * gtk/gtkcolorsel.c gtk/gtkhsv.c gtk/gtkiconview.c gtk/gtkruler.[ch]
3492 gtk/gtk[hv]ruler.c: Convert to Cairo rendering.
3494 * gtk/gtkstyle.c (gtk_default_draw_check, gtk_default_draw_focus,
3495 gtk_default_draw_option): Switch to Cairo. Simplify the checkbutton,
3496 radio button style for now to get something more scalable.
3498 * gtk/gtksettings.c: #if 0 out the code to use PangoXft for hinting/
3499 antialiasing/dpi settings.
3501 2005-03-16 Matthias Clasen <mclasen@redhat.com>
3503 * demos/gtk-demo/editable_cells.c: Also demonstrate
3504 GtkCellRenderer::editing-started and separators.
3506 Tue Mar 15 20:34:33 2005 Manish Singh <yosh@gimp.org>
3508 * gdk/x11/gdkinput-xfree.c: #include gdkaliasdef.c here too.
3510 2005-03-15 Matthias Clasen <mclasen@redhat.com>
3512 Make PLT-reduction work with gcc4, and don't include
3513 everything in gdkalias.h:
3515 * gdk/gdk.symbols: Group symbols by header and source file.
3516 * gdk/makegdkalias.pl: Protect definitions by the same
3517 preprocessor symbols used to guard the headers. Move
3518 the alias declarations to a separate file which is
3519 produced when calling makegdkalias.pl -def
3520 * gdk/Makefile.am (gdkaliasdef.c): Add a rule to generate this
3522 * gdk/*.c, gdk/x11/*.c: Include gdkalias.h after the other
3523 headers, include gdkaliasdef.c at the bottom.
3525 2005-03-16 Tor Lillqvist <tml@novell.com>
3527 * gdk/win32/gdkdisplay-win32.c (_win32_on_clipboard_change): Print
3528 debugging output only if asked for, not always.
3530 * gdk/win32/*.c: Use the %+d%+d format for coordinate pairs in
3531 debugging printout instead of +%d+%d. Misc other additions and
3532 cosmetic improvements to debugging printouts. Use API_CALL() and
3533 GDI_CALL() macros in more places.
3535 * gdk/win32/gdkwindow-win32.c (gdk_window_move, gdk_window_resize,
3536 gdk_window_move_resize): To detect child windows, check whether
3537 the real parent is not the desktop window, instead of relying on
3538 the GDK window type being GDK_WINDOW_CHILD. Foreign GtkPlug
3539 windows have a GDK window type GDK_WINDOW_FOREIGN, but are still
3540 de facto child windows.
3542 * gdk/win32/gdkprivate-win32.h
3543 * gdk/win32/*.c: Drop global variable _gdk_root_window, just call
3544 GetDesktopWindow(). Rename the GdkWindow* _gdk_parent_root to
3547 * gdk/win32/gdkwindow-win32.h (GdkWindowImplWin32): Add
3548 toplevel_window_type field.
3550 * gdk/win32/gdkwindow-win32.c: As there is only one root window in
3551 GDK on Win32, we can compare directly to _gdk_root instead of
3552 checking the window type.
3553 (gdk_window_reparent): When reparenting a child of the desktop
3554 clear out the window decorations. Correspondingly, when
3555 reparenting to the desktop, add decorations. As in the X11
3556 backend, save the window type of a toplevel window when
3557 reparenting, in case it is reparented back to toplevel.
3559 2005-03-15 Matthias Clasen <mclasen@redhat.com>
3561 * gtk/gtkradioaction.c (gtk_radio_action_get_group): Add an
3562 example for manually setting up a group of actions.
3564 * gtk/gtkentrycompletion.c (gtk_entry_completion_class_init):
3565 Document that inline completion requires text-column to be set.
3566 (gtk_entry_completion_compute_prefix): Return NULL if text-column
3569 * gtk/gtkentry.c (check_completion_callback): Call
3570 gtk_entry_completion_complete() before inserting the prefix,
3571 otherwise the prefix may depend on (random) state of the
3574 2005-03-15 Anders Carlsson <andersca@imendio.com>
3576 * docs/iconcache.txt:
3579 * gtk/gtkiconcache.c: (find_image_offset),
3580 (_gtk_icon_cache_get_icon_flags), (_gtk_icon_cache_add_icons),
3581 (_gtk_icon_cache_get_icon), (_gtk_icon_cache_get_icon_data):
3582 * gtk/gtkiconcache.h:
3583 Update to be able to fetch pixbuf data and icon metadata.
3585 * gtk/gtkicontheme.c: (theme_lookup_icon), (gtk_icon_info_free),
3586 (icon_info_ensure_scale_and_pixbuf):
3587 Use new cache functions.
3589 * gtk/updateiconcache.c: (foreach_remove_func), (load_icon_data),
3590 (maybe_cache_image_data), (scan_directory), (write_pixdata),
3591 (get_image_meta_data_size), (get_image_pixel_data_size),
3592 (get_image_data_size), (get_single_node_size), (get_bucket_size),
3593 (write_bucket), (main):
3594 Update to write pixbuf data as well as information from .icon
3597 2005-03-15 Tor Lillqvist <tml@novell.com>
3599 * gdk/win32/gdkmain-win32.c (_gdk_win32_key_to_string): New
3600 debugging function. As GetKeyNameText() returns a localized key
3601 name we need to convert it to UTF-8.
3603 * gdk/win32/gdkprivate-win32.h: Declare it.
3605 * gdk/win32/gdkevents-win32.c: Use it.
3607 * gdk/win32/gdkwindow-win32.c (gdk_window_new_internal): Fix
3608 handling of children of foreign windows. They should be child
3609 windows from Windows's perspective, even if they are toplevel GDK
3612 2005-03-13 Ivan, Wong Yat Cheung <email@ivanwong.info>
3614 * gdk/win32/gdkgeometry-win32.c (gdk_window_scroll): A further fix
3615 for big window support. Now also the test in testgtk works.
3617 2005-03-11 Matthias Clasen <mclasen@redhat.com>
3619 * gtk/gtkaboutdialog.c (add_credits_page): Don't crash on
3620 style changes. (#169334, Yury Puzis)
3622 * gtk/gtkicontheme.c (gtk_icon_theme_set_custom_theme): Fix
3623 the doc comments. (#169967, Masao Mutoh)
3625 2005-03-12 Ivan, Wong Yat Cheung <email@ivanwong.info>
3627 Big window fix for Win32. Big windows are still emulated within
3628 16-bit coordinate limits, though. Big windows now work on NT-based
3631 * gdk/win32/gdkgc-win32.c (_gdk_win32_gdkregion_to_hrgn): Use
3634 * gdk/win32/gdkgeometry-win32.c: Largely rewrite.
3636 * gdk/win32/gdkwindow-win32.c: Minor related changes.
3638 2005-03-10 Matthias Clasen <mclasen@redhat.com>
3640 * gtk/gtkliststore.c (gtk_list_store_insert_with_valuesv):
3641 Fix a doc typo. (#169873, Johan Dahlin)
3643 * gtk/gtkdialog.c (gtk_dialog_map): Don't
3644 try to focus the default_widget if there is
3645 none. (#169881, Thomas Leonard)
3647 Wed Mar 9 19:20:44 2005 Manish Singh <yosh@gimp.org>
3649 * configure.in: Remove inadvertent gail references, require
3652 2005-03-09 Matthias Clasen <mclasen@redhat.com>
3654 * configure.in: Require GLib 2.7.0
3656 2005-03-09 Matthias Clasen <mclasen@redhat.com>
3658 * gtk/gtkwidget.h (struct _GtkWidget): Typo fixes in comments.
3659 (#169728, Morten Welinder, Owen Taylor)
3661 * gtk/gtkwidget.c (gtk_widget_add_mnemonic_label): Fix a typo
3662 in the docs. (#169729, Morten Welinder)
3664 * gtk/gtkimage.c (gtk_image_class_init): Fix a typo.
3666 * gtk/gtkiconview.c (gtk_icon_view_set_model): Queue a resize
3667 when the model is unset. (#169528, Tomislav Jonjic)
3669 2005-03-09 Matthias Clasen <mclasen@redhat.com>
3671 * gtk/gtkviewport.c (gtk_viewport_class_init):
3672 * gtk/gtkuimanager.c (gtk_ui_manager_class_init):
3673 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_class_init):
3674 * gtk/gtktipsquery.c (gtk_tips_query_class_init):
3675 * gtk/gtktext.c (gtk_text_class_init):
3676 * gtk/gtkstatusbar.c (gtk_statusbar_class_init):
3677 * gtk/gtkspinbutton.c (gtk_spin_button_class_init):
3678 * gtk/gtktoggleaction.c (gtk_toggle_action_class_init):
3679 * gtk/gtkoptionmenu.c (gtk_option_menu_class_init):
3680 * gtk/gtkoldeditable.c (gtk_old_editable_class_init):
3681 * gtk/gtkmessagedialog.c (gtk_message_dialog_class_init):
3682 * gtk/gtktoolbutton.c (gtk_tool_button_class_init):
3683 * gtk/gtktoolitem.c (gtk_tool_item_class_init):
3684 * gtk/gtkimage.c (gtk_image_class_init):
3685 * gtk/gtkruler.c (gtk_ruler_class_init):
3686 * gtk/gtkiconview.c (gtk_icon_view_class_init):
3687 * gtk/gtkprogressbar.c (gtk_progress_bar_class_init):
3688 * gtk/gtkprogress.c (gtk_progress_class_init):
3689 * gtk/gtkmenu.c (gtk_menu_class_init):
3690 * gtk/gtkscale.c (gtk_scale_class_init):
3691 * gtk/gtkpaned.c (gtk_paned_class_init):
3692 * gtk/gtkhandlebox.c (gtk_handle_box_class_init):
3693 * gtk/gtkfontbutton.c (gtk_font_button_class_init):
3694 * gtk/gtkfontsel.c (gtk_font_selection_class_init):
3695 * gtk/gtkfilesel.c (gtk_file_selection_class_init):
3696 * gtk/gtkentrycompletion.c (gtk_entry_completion_class_init):
3697 * gtk/gtkcurve.c (gtk_curve_class_init):
3698 * gtk/gtkcombo.c (gtk_combo_class_init):
3699 * gtk/gtkcombobox.c (gtk_combo_box_class_init):
3700 * gtk/gtkcolorbutton.c (gtk_color_button_class_init):
3701 * gtk/gtkcheckmenuitem.c (gtk_check_menu_item_class_init):
3702 * gtk/gtkmenuitem.c (gtk_menu_item_class_init):
3703 * gtk/gtkcheckbutton.c (gtk_check_button_class_init):
3704 * gtk/gtktogglebutton.c (gtk_toggle_button_class_init):
3705 * gtk/gtkcellview.c (gtk_cell_view_class_init):
3706 * gtk/gtktoolbar.c (gtk_toolbar_class_init):
3707 * gtk/gtkmenubar.c (gtk_menu_bar_class_init):
3708 * gtk/gtkclist.c (gtk_clist_class_init):
3709 * gtk/gtkctree.c (gtk_ctree_class_init):
3710 * gtk/gtkcolorsel.c (gtk_color_selection_class_init):
3711 * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_class_init):
3712 * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init):
3713 * gtk/gtkcomboboxentry.c (gtk_combo_box_entry_class_init):
3714 * gtk/gtkcalendar.c (gtk_calendar_class_init):
3715 * gtk/gtkbbox.c (gtk_button_box_class_init):
3716 * gtk/gtktable.c (gtk_table_class_init):
3717 * gtk/gtkaspectframe.c (gtk_aspect_frame_class_init):
3718 * gtk/gtkframe.c (gtk_frame_class_init):
3719 * gtk/gtkaction.c (gtk_action_class_init):
3720 * gtk/gtkaccellabel.c (gtk_accel_label_class_init):
3721 * gtk/gtkaboutdialog.c (gtk_about_dialog_class_init):
3722 * gtk/gtkdialog.c (gtk_dialog_class_init): More of the same.
3724 2005-03-08 Matthias Clasen <mclasen@redhat.com>
3726 * gtk/gtktextbuffer.c (gtk_text_buffer_class_init):
3727 * gtk/gtkrange.c (gtk_range_class_init):
3728 * gtk/gtkscrolledwindow.c (gtk_scrolled_window_class_init):
3729 * gtk/gtktexttag.c (gtk_text_tag_class_init):
3730 * gtk/gtktextview.c (gtk_text_view_class_init):
3731 * gtk/gtkscrollbar.c (gtk_scrollbar_class_init):
3732 * gtk/gtknotebook.c (gtk_notebook_class_init):
3733 * gtk/gtkentry.c (gtk_entry_class_init):
3734 * gtk/gtkexpander.c (gtk_expander_class_init):
3735 * gtk/gtkarrow.c (gtk_arrow_class_init):
3736 * gtk/gtkalignment.c (gtk_alignment_class_init):
3737 * gtk/gtkbutton.c (gtk_button_class_init):
3738 * gtk/gtklabel.c (gtk_label_class_init):
3739 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_class_init):
3740 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init):
3741 * gtk/gtkcellrenderer.c (gtk_cell_renderer_class_init):
3742 * gtk/gtktreeview.c (gtk_tree_view_class_init):
3743 * gtk/gtkbox.c (gtk_box_class_init):
3744 * gtk/gtkwindow.c (gtk_window_class_init, gtk_window_class_init):
3745 * gtk/gtkcontainer.c (gtk_container_class_init):
3746 * gtk/gtkwidget.c (gtk_widget_class_init):
3747 * gtk/gtkobject.c (gtk_object_class_init): Use canonical names
3748 when registering param specs.
3750 * demos/gtk-demo/editable_cells.c: Use GtkCellRendererCombo
3751 (#169607, Mark McLoughlin)
3753 * gtk/gtk.symbols: Add the new attributes here, too.
3756 * gtk/gtktreeview.h:
3757 * gtk/gtktreeviewcolumn.h:
3758 * gtk/gtktextbuffer.h:
3760 * gtk/gtkfilechooserdialog.h:
3762 * gtk/gtkcontainer.h:
3763 * gtk/gtkcelllayout.h:
3764 * gtk/gtkaboutdialog.h: Use G_GNUC_NULL_TERMINATED where
3765 appropriate. (#165682, Marc Meissner)
3767 2005-03-07 Matthias Clasen <mclasen@redhat.com>
3769 Convert the gdk keyval-keyname tables to a big string
3770 + offsets. (#168901)
3772 * gdk/gen-keyname-table.pl: Perl script inspired by
3773 pango/tools/gen-color-table.pl to create the
3774 gdk_keys_by_keyval and gdk_keys_by_name tables as lists
3775 of offsets pointing into a big const string.
3777 * gdk/keynames.txt: List of keyval-keyname pairs.
3778 * gdk/keyname-table.h: Generated tables.
3780 * gdk/gdkkeynames.c: Include keyname-table.h and don't
3781 generate the inverse table at runtime.
3783 2005-03-07 Matthias Clasen <mclasen@redhat.com>
3785 * gtk/gtkstyle.c: Document which parameters may be NULL.
3786 (#166855, Frank Naumann)
3788 2005-03-07 Matthias Clasen <mclasen@redhat.com>
3790 * AUTHORS: Add original authors of incorporated software.
3792 Thu Mar 3 16:59:44 2005 Manish Singh <yosh@gimp.org>
3794 * configure.in: URL escape the '+' in gtk+ in the bugzilla URL.
3796 2005-03-03 Matthias Clasen <mclasen@redhat.com>
3798 * gtk/gtksettings.c (gtk_settings_get_property):
3799 * gtk/gtkrc.c (gtk_rc_parse_assignment): Don't leak
3800 the values here. (#169047, Philip Langdale)
3802 * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render):
3803 Don't warn if a stock icon cannot be found. (#168830,
3806 2005-03-03 Matthias Clasen <mclasen@redhat.com>
3808 * gtk/gtkwidget.c (gtk_widget_reparent_subwindows):
3809 Avoid warnings if gtk_widget_reparent() is called at
3810 unusual times. (#168966, Christian Persch)
3812 Tue Mar 1 14:04:08 2005 Manish Singh <yosh@gimp.org>
3814 * gdk/x11/gdkproperty-x11.c (virtual_atom_check_init): Cast to avoid
3815 const warnings on data structure seeding.
3817 Tue Mar 1 13:53:56 2005 Manish Singh <yosh@gimp.org>
3819 * gtk/xdgmime/xdgmime.[ch]: revert previous change, maintain ABI.
3821 2005-03-01 Matthias Clasen <mclasen@redhat.com>
3823 * gtk/gtkmenutoolbutton.c (button_state_changed_cb):
3824 Fix prelighting. (#157392, Vincent Noel, patch by
3827 * gtk/gtkicontheme.c (theme_lookup_icon): Make
3828 icon data caching work again. (#168851, Alexander Larsson)
3830 * gdk-pixbuf/gdk-pixbuf.c:
3831 * gdk-pixbuf/gdk-pixbuf-features.h.in:
3832 Revert the previous change, since it breaks
3835 2005-03-01 Matthias Clasen <mclasen@redhat.com>
3838 * gdk/gdkpixbuf-drawable.c
3840 * gdk/x11/gdkdnd-x11.c
3841 * gdk/x11/gdkevents-x11.c
3842 * gdk/x11/gdkproperty-x11.c
3843 * gdk/x11/gdkvisual-x11.c
3844 * gdk-pixbuf/gdk-pixbuf.c
3845 * gdk-pixbuf/gdk-pixbuf-features.h.in
3848 * gtk/gtkcolorbutton.c
3850 * gtk/gtkcontainer.c
3851 * gtk/gtkfilechooserdefault.c
3855 * gtk/gtkinputdialog.c
3856 * gtk/gtkitemfactory.c
3860 * gtk/gtktreedatalist.c
3861 * gtk/gtkuimanager.c
3862 * gtk/tree_minus.xpm
3864 * gtk/xdgmime/xdgmime.c
3865 * gtk/xdgmime/xdgmime.h:
3866 Move constant data to .rodata.
3868 2005-02-27 Matthias Clasen <mclasen@redhat.com>
3870 * gtk/gtkaction.c (connect_proxy): Improve the handling
3871 of buttons as action proxys. (#165534, Milosz Derezynski)
3873 * gtk/gtklabel.c (gtk_label_size_request): Fix a typo.
3874 (#168646, Vincent Untz)
3876 * gtk/gtkfilechooserdefault.c (save_folder_combo_create):
3877 Unset "focus-on-click" for the save folder combo. (#168688,
3880 2005-02-25 Matthias Clasen <mclasen@redhat.com>
3882 * demos/testpixbuf.c (main): Remove a C++ comment. (#168531,
3885 * gtk/gtkcombobox.c (gtk_combo_box_menu_fill_level): Don't leak a
3886 path here. (#168443, Morten Welinder)
3888 2005-02-24 Robert Ögren <gtk@roboros.com>
3890 Implement better handling of Wintab tablet context overlap on
3893 * gdk/win32/gdkinput-win32.c (_gdk_input_set_tablet_active): New
3894 function that brings any tablet contexts to the top of the overlap
3896 * gdk/win32/gdkinput-win32.h: Declare _gdk_input_set_tablet_active ()
3897 * gdk/win32/gdkevents-win32.c (gdk_event_translate):
3898 Call _gdk_input_set_tablet_active when a window is activated (on
3901 2005-02-24 Matthias Clasen <mclasen@redhat.com>
3903 * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_select_path):
3904 Don't leak parent_path. (#168435, Morten Welinder)
3906 Thu Feb 24 14:20:16 2005 Søren Sandmann <sandmann@redhat.com>
3908 * gtk/gtkstyle.c: Add
3910 g_return_if_fail (style->depth == gdk_drawable_get_depth(window));
3914 2005-02-24 Matthias Clasen <mclasen@redhat.com>
3916 * gtk/gtkcombobox.c: Consistently use gtk_tree_row_reference_valid().
3917 (gtk_combo_box_model_row_deleted): Update the displayed row in
3918 the cell_view. (#167842, Gustavo Carneiro)
3920 2005-02-24 Matthias Clasen <mclasen@redhat.com>
3922 Fix #167259, reported by Christian Persch:
3924 * gtk/gtkwidget.c (gtk_widget_unparent): Unmap the reparented
3925 widget, even if we avoid the unrealizing.
3926 (gtk_widget_reparent_subwindows): Make reparenting work for
3927 !NO_WINDOW widgets which have other windows which are siblings
3928 of widget->window (as e.g. GtkSpinButton).
3930 2005-02-24 Matthias Clasen <mclasen@redhat.com>
3932 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_changed):
3933 Don't emit a warning if a parent node is filtered out. (#164726,
3936 2005-02-23 Matthias Clasen <mclasen@redhat.com>
3938 * gtk/gtklabel.c (gtk_label_style_set): Revert the last
3939 change, since gtk_widget_set_style_internal() already
3942 2005-02-23 Matthias Clasen <mclasen@redhat.com>
3944 * gtk/gtklabel.c (gtk_label_style_set): Queue a resize, since
3945 fonts may have changed. (#164128, Phil Blundell)
3947 * gtk/gtkaboutdialog.c (gtk_about_dialog_init)
3948 (gtk_about_dialog_new): Move initialization code from _new to
3949 _init. (#168249, Murray Cumming)
3951 Wed Feb 23 17:34:01 2005 Jonathan Blandford <jrb@redhat.com>
3953 * gtk/gtktreeview.c (gtk_tree_view_node_queue_redraw): Patch from
3954 jorn@nl.linux.org (Jorn Baayen) to notice changes to fixed-height
3957 2005-02-23 Tor Lillqvist <tml@novell.com>
3959 * gdk/win32/gdkkeys-win32.c (update_keymap): Workaround for bug in
3960 MapVirtualKey(VK_DIVIDE, 0) in some Windows versions. (#142998)
3962 Tue Feb 22 13:49:09 2005 Manish Singh <yosh@gimp.org>
3964 * gtk/updateiconcache.c: #include <config.h>
3966 2005-02-22 Federico Mena Quintero <federico@ximian.com>
3968 Merged from gtk-2-6:
3970 Fix #164940, patch by Ben Maurer and Tommi Komulainen.
3972 * gdk/gdkrgb.c (gdk_rgb_convert_565_d): Constify the "dmp" variable.
3973 (gdk_rgb_convert_565_d): Likewise.
3974 (DM_565): Made a static const precomputed array to avoid
3975 allocating it at runtime.
3976 (gdk_rgb_preprocess_dm_565): #ifdef out.
3978 2005-02-20 Matthias Clasen <mclasen@redhat.com>
3981 * gtk/gtkclipboard.c: Fix links to freedesktop.org specs
3982 in the documentation.
3984 * gdk/x11/gdkdrawable-x11.c (_gdk_x11_have_render_with_trapezoids):
3985 Set have_render_with_trapezoids to GDK_YES when we have
3986 a new enough Render extension. (#167965,Billy Biggs)
3988 * gtk/gtkwindow.c (gtk_window_present): Use the timestamp of
3989 the last user interaction when focusing the window. (#166379,
3992 Thu Feb 17 14:58:16 2005 Manish Singh <yosh@gimp.org>
3994 * gtk/gtkuimanager.c (start_element_handler): make sure expand
3995 is initialized, cast to GTK_SEPARATOR_TOOL_ITEM.
3997 Thu Feb 17 14:52:57 2005 Manish Singh <yosh@gimp.org>
3999 * gtk/gtkcombobox.c: Pass gtk_widget_get_toplevel() a GTK_WIDGET.
4001 2005-02-16 Matthias Clasen <mclasen@redhat.com>
4003 * docs/iconcache.txt: Add some information about the
4004 icon cache format (since I can't locate it at freedesktop.org)
4006 Fixes for #143829, Tommi Komulainen, Christian Persch:
4008 * gtk/gtktreeview.c (gtk_tree_view_destroy): Remove the
4009 typeselect_flush_timeout when destroying the widgets
4011 (gtk_tree_view_ensure_interactive_directory): Add the
4012 popup to the window group of the toplevel it belongs to.
4014 * gtk/gtkcombobox.c (gtk_combo_box_set_popup_widget)
4015 (gtk_combo_box_popup): Do the same here.
4017 2005-02-14 Matthias Clasen <mclasen@redhat.com>
4019 * configure.in: Kill --enable-ansi (#164394)
4021 2005-02-11 Matthias Clasen <mclasen@redhat.com>
4023 * gtk/gtkpathbar.c (gtk_path_bar_finalize): Stop scrolling
4024 when the pathbar goes away. (#167094, Rodney Dawes)
4025 (change_icon_theme): Use GTK_ICON_SIZE_MENU here as
4028 2005-02-11 Matthias Clasen <mclasen@redhat.com>
4030 Support vertical menubars (#166632):
4032 * gtk/gtkenums.h (GtkPackDirection): New enumeration for pack
4033 directions, with values for left-to-right, right-to-left,
4034 top-to-bottom and bottom-to-top.
4038 * gtk/gtkmenubar.c: Add two properties, pack-direction and
4039 child-pack-direction, which specify how children and
4040 grandchildren of a menubar are packed, with getters and setters.
4042 * gtk/gtkmenubar.c (gtk_menu_bar_set_property):
4043 (gtk_menu_bar_get_property): Implement set_property and get_property.
4045 * gtk/gtkmenubar.c (gtk_menu_bar_size_request):
4046 (gtk_menu_bar_size_allocate): Take pack direction into account.
4048 * gtk/gtkmenubar.c (gtk_menu_bar_move_current): Implement
4049 move_current here move all the menubar-specific direction
4050 tweaking from the generic menushell implementation here.
4052 * gtk/gtkmenu.c (gtk_menu_move_current): Move menu-specific
4053 direction tweaking from the generic menushell implementation here.
4055 * gtk/gtkmenuitem.c (gtk_menu_item_size_request):
4056 (gtk_menu_bar_size_allocate): Take pack direction into account.
4058 * gtk/gtkimagemenuitem.c (gtk_image_menu_item_size_request)
4059 (gtk_image_menu_item_size_allocate):
4060 (gtk_image_menu_item_toggle_size_request): Take child pack
4061 direction into account and pack the image vertically if
4064 * gtk/gtkmenushell.c (gtk_menu_shell_real_select_item):
4065 Set the submenu direction to left-right for menuitems in
4067 (gtk_real_menu_shell_move_current): Simplify by moving
4068 direction tweaking to menu- and menubar-specific
4069 implementations. Take pack direction into account when
4072 * tests/testmenubars.c: Test menubars in various packing
4073 direction combinations.
4075 * tests/Makefile.am (noinst_PROGRAMS): Add testmenubars.
4077 2005-02-11 Matthias Clasen <mclasen@redhat.com>
4079 Complete the fix for #165770, Vincent Noel:
4081 * gtk/gtkfilechooserbutton.c (FALLBACK_ICON_SIZE): Make the
4082 fallback size be 16, to be equal to the default for
4083 GTK_ICON_SIZE_MENU (in gtkiconfactory.c:init_icon_sizes()).
4084 (gtk_file_chooser_button_init):
4085 (change_icon_theme): Use GTK_ICON_SIZE_MENU instead of
4086 GTK_ICON_SIZE_SMALL_TOOLBAR.
4088 2005-02-09 Matthias Clasen <mclasen@redhat.com>
4090 * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): Fix RTL
4091 keynav for going from menubar to menu.
4093 2005-02-08 Christian Rose <menthos@menthos.com>
4095 * configure.in: Added "xh" to ALL_LINGUAS.
4097 2005-02-08 Matthias Clasen <mclasen@redhat.com>
4099 * gtk/gtkuimanager.c (start_element_handler): Accept
4100 the "expand" attribute and set a flag in the node if it
4102 (update_node): If the expand flag is set, make separator
4103 toolitems non-drawn and expanding. (#166489, Christian Persch)
4105 2005-02-05 Hans Breuer <hans@breuer.org>
4107 * gdk/makefile.msc gdk/win32/makefile.msc gtk/makefile.msc.in :
4108 build with Cairo dependency. The patch to acually use Cairo
4109 on win32 will be on gtk-devel-list soon.
4110 * tests/makefile.msc : add testcairo building
4112 * gtk/stock-icons/makefile.msc : split command line into two to
4113 work with the shells default
4115 Fri Feb 4 14:16:31 2005 Manish Singh <yosh@gimp.org>
4117 * gtk/gtkaccelgroup.c (substitute_underscores): remove unused
4120 * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render):
4121 Add some extra parens for bitop order of operations disambiguiation.
4123 * gtk/gtkstock.c: Fix const confusion, make our own copy of the
4124 domain when setting a translate function.
4126 * tests/testcombo.c: removed unused variable.
4128 2005-02-04 Matthias Clasen <mclasen@redhat.com>
4130 * gtk/gtkstock.c (gtk_stock_lookup): Handle item->translation_domain
4131 being NULL. (#166179, Diego Gonzalez)
4133 2005-02-04 Owen Taylor <otaylor@redhat.com>
4135 * configure.in: Revert gtk_binary_version to 2.4.0. Fix
4136 up comment to talk only about backwards compat, not
4137 forward/backwards compat. (#166293, reported by Vincent Noel)
4139 2005-02-04 Matthias Clasen <mclasen@redhat.com>
4141 * gtk/gtkpaned.c (gtk_paned_compute_position): Work better
4142 when there is not enough space. This avoids a nasty size
4143 allocation loop in the file chooser. (#154007, reported
4144 by Milosz Derezynski, patch by Robert Ögren)
4146 2005-02-04 Matthias Clasen <mclasen@redhat.com>
4148 * gtk/gtkentry.c (gtk_entry_create_layout): Avoid spurious
4149 selection of RTL direction if the widget does not have
4150 focus. (#164125, Frederic Crozat)
4152 Thu Feb 3 19:15:55 2005 Manish Singh <yosh@gimp.org>
4154 * gdk/x11/gdkdrawable-x11.c: #include cairo-xlib.h
4156 2005-02-03 Owen Taylor <otaylor@redhat.com>
4158 * gdk/gdkdrawable.[ch] gdkpixmap.c gdkwindow.c: Add
4159 gdk_drawable_set_cairo_target().
4161 * tests/testtreeflow.c (enum): Use grand not rand as a variable
4162 name because one of the cairo headers is pulling in stdlib.h.
4164 * tests/testcairo.c tests/Makefile.am: Add a simple cairo based
4167 * configure.in: Bump release to 2.7.0, gtk_binary_version to 2.7.0.
4169 * Require libpangocairo for all backends.
4171 2005-02-03 Tor Lillqvist <tml@novell.com>
4173 * modules/input/gtkimcontextime.c (get_pango_attr_list): Use the
4174 wide character version of ImmGetCompositionString() here,
4175 too. (#165278, Takuro Ashie)
4177 2005-02-03 Matthias Clasen <mclasen@redhat.com>
4179 * gtk/gtkmenu.c (gtk_menu_handle_scrolling): Don't do
4180 one roundtrip per motion event. (#166173, pointed out
4181 by Chris Lee, patch by Søren Sandmann)
4185 * gtk/gtkstock.c (gtk_stock_set_translate_func):
4186 New function which allows to change the function used for
4187 translation stock labels, on a per-domain basis. Use this
4188 functionality to switch the GTK+ stock items to use Q_()
4189 prefixed msgids. (#166179, Funda Wang)
4191 * gdk/gdkkeynames.c: Make the gdk_key array const (#166075,
4194 2005-02-02 Federico Mena Quintero <federico@ximian.com>
4196 Merged from gtk-2-6:
4198 * gtk/gtkfilechooserdefault.c (pending_select_paths_process):
4199 Don't select the first row if the chooser is not mapped. This
4200 happens when it's acting on behalf of GtkFileChooserButton. Also,
4201 don't select the first row if we are in SAVE or CREATE_FOLDER
4202 modes --- I had missed that (see the ChangeLog entry from
4203 2005-01-18). Fixes #165264.
4205 2005-02-02 Tor Lillqvist <tml@novell.com>
4207 Implement lazy extended input initialization on Win32, by Robert
4208 Ögren. Fixes #163163, possibly #162334. Lazy initialization would
4209 be a good idea in any case even if it didn't fix any visible
4212 The Wacom tablet driver seems to get confused if Wintab is
4213 initialized but no window is shown before the process exits. This
4214 is the case for some GIMP plug-ins, for instance.
4216 * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Made
4217 non-static (and renamed).
4218 (_gdk_input_init): Don't call _gdk_input_wintab_init_check().
4220 * gdk/win32/gdkinput-win32.h: Declare _gdk_input_wintab_init_check().
4222 * gdk/win32/gdkinput.c (gdk_devices_list,
4223 gdk_display_list_devices, gdk_input_set_extension_events): Call
4224 _gdk_input_wintab_init_check() here instead.
4226 2005-02-02 Ivan, Wong Yat Cheung <email@ivanwong.info>
4228 * gdk/win32/gdkselection.c: Use a FIFO list for storing GdkSelProp
4229 of a single window so that gtk_clipboard_request_contents() can be
4230 called inside a GtkClipboardReceivedFunc(). (#163844)
4232 2005-02-01 Matthias Clasen <mclasen@redhat.com>
4234 * gtk/gtkicontheme.c (gtk_icon_theme_init): Look for icons
4235 in XDG_DATA_DIRS/pixmaps. (#165950, Thomas Zajic)
4237 * gtk/gtkwindow.c (gtk_window_set_icon_name): Set info->icon_list
4238 to NULL after freeing it. (#165800, Damon Chaplin)
4240 2005-02-01 Michael Natterer <mitch@gimp.org>
4242 * configure.in: depend on stable pango-1.8, not unstable 1.7
4244 2005-02-01 Federico Mena Quintero <federico@ximian.com>
4246 Merged from gtk-2-6:
4248 * gtk/gtkfilechooserdefault.c
4249 (browse_files_model_finished_loading_cb): Don't
4250 g_assert_not_reached() if we are in any other state. Another code
4251 path may have triggered a folder reload. Fixes #165556.
4253 2005-02-01 Federico Mena Quintero <federico@ximian.com>
4255 Merged from gtk-2-6:
4259 * gtk/gtkfilechooserdefault.c (FALLBACK_ICON_SIZE): Make the
4260 fallback size be 16, to be equal to the default for
4261 GTK_ICON_SIZE_MENU (in gtkiconfactory.c:init_icon_sizes()).
4262 (change_icon_theme): Use GTK_ICON_SIZE_MENU instead of
4263 GTK_ICON_SIZE_SMALL_TOOLBAR.
4265 2005-02-01 Matthias Clasen <mclasen@redhat.com>
4267 * */*.c: Fix many instances of "the the" in docs and
4268 comments. (#165815, Masao Mutoh)
4270 * gtk/updateiconcache.c (main): Add a --quiet option.
4272 2005-02-01 Tor Lillqvist <tml@novell.com>
4274 * gdk/win32/gdkkeys-win32.c (handle_special, set_shift_vks,
4275 reset_after_dead, handle_dead): New functions, code blocks
4276 refactored out of update_keymap(). No functionality change.
4278 (update_keymap): Use ToUnicodeEx() when available (on NT-based
4279 Windows) instead of ToAsciiEx(). Makes keyboard input work in
4280 Unicode-only input locales that don't have any ANSI codepage, for
4281 instance Hindi and Bengali. Use _gdk_input_codepage only on
4284 * gdk/win32/gdkevents-win32.c (gdk_event_translate): On
4285 WM_INPUTLANGCHANGE, use GetLocaleInfo() instead of
4286 TranslateCharsetInfo() to get the input locale's corresponding
4289 2005-01-31 Matthias Clasen <mclasen@redhat.com>
4291 * modules/input/gtkimcontextxim.c: Use NULL, not 0 to terminate
4292 NULL-terminated va lists. (#165683)
4294 2005-01-29 Matthias Clasen <mclasen@redhat.com>
4296 * gtk/gtkseparatortoolitem.c (gtk_separator_tool_item_set_draw):
4297 Typo fix. (#165581, Masao Mutoh)
4299 Thu Jan 27 14:25:45 2005 Manish Singh <yosh@gimp.org>
4301 * README.cvs-commits: update ancient IRC info.
4303 2005-01-27 Federico Mena Quintero <federico@ximian.com>
4305 Merged from gtk-2-6:
4307 * gtk/gtkfilechooserdefault.c
4308 (gtk_file_chooser_default_select_path): Oops, don't assert that we
4309 can't reach the end of the function; this happens if we are still
4310 loading but don't need a path change. Fixes #165213.
4312 2005-01-27 Matthias Clasen <mclasen@redhat.com>
4314 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render):
4315 Make wrapping work in RTL mode.
4317 * gtk/gtkaboutdialog.c: Some visual tweaks to the about dialog,
4318 obey HIG spacing a bit more, add a hand cursor when over the
4319 link button. (#163979, Jorn Baayen)
4321 2005-01-26 Matthias Clasen <mclasen@redhat.com>
4323 * gtk/gtkentrycompletion.c (gtk_entry_completion_class_init):
4324 Don't allow -1 as minimum-key-length.
4325 (gtk_entry_completion_set_model): Add missing notification.
4326 (gtk_entry_completion_set_minimum_key_length): Add missing
4327 notification, allow setting minimum-key-length to 0. (#165194,
4330 2005-01-26 Matthias Clasen <mclasen@redhat.com>
4332 * gtk/gtkaboutdialog.c (display_license_dialog): Make sure
4333 the license dialog is initially displayed without a horizontal
4335 (gtk_about_dialog_class_init): Document the fact that the
4336 license text is not wrapped. (#165012, Christian Rose)
4338 2005-01-25 Matthias Clasen <mclasen@redhat.com>
4340 * gtk/gtkbutton.c (gtk_button_set_image): Fix docs. (#165180,
4343 * gdk/x11/gdkwindow-x11.c (gdk_window_configure_finished): Fix
4344 docs. (#165163, Jeff Franks)
4346 * gtk/gtkimage.c (gtk_image_get_property): Use the correct setter
4347 for a string GValue. (#165203, Damon Chaplin)
4349 2005-01-24 Matthias Clasen <mclasen@redhat.com>
4351 * gdk/x11/gdkdisplay-x11.c (_gdk_windowing_set_default_display):
4352 Initialize user_time from DESKTOP_STARTUP_ID. (#165131,
4355 2005-01-24 Federico Mena Quintero <federico@ximian.com>
4357 * gtk/gtkfilechooserdefault.c: Removed leftover comments.
4359 2005-01-24 Federico Mena Quintero <federico@ximian.com>
4361 Merged from gtk-2-6:
4363 Fix #147785 and clean up the loading code:
4365 * gtk/gtkfilechooserdefault.c (LoadState): Make the set of states
4366 be EMPTY, PRELOAD, LOADING, FINISHED.
4367 (gtk_file_chooser_default_init): Start in the LOAD_EMPTY state.
4368 (struct _GtkFileChooserDefault): Added a pending_select_paths
4370 (load_remove_timer): Add the new states.
4371 (load_setup_timer): Likewise.
4372 (load_timeout_cb): Likewise. Switch to the LOAD_LOADING state.
4373 (browse_files_model_finished_loading_cb): Switch to the
4374 LOAD_FINISHED state.
4375 (enum PendingOp): Removed.
4376 (struct _GtkFileChooserDefault): Removed the pending_op and
4377 pending_select_path fields.
4378 (pending_select_paths_free): New utility function.
4379 (pending_select_paths_add): New utility function.
4380 (gtk_file_chooser_default_finalize): Call
4381 pending_select_paths_free().
4382 (pending_op_queue): Removed.
4383 (pending_op_process): Removed.
4384 (pending_select_paths_process): New function.
4385 (browse_files_model_finished_loading_cb): Call
4386 pending_select_paths_process().
4387 (center_selected_row_foreach_cb): Handle multiple selection by
4388 only centering the first row.
4389 (get_is_file_filtered): Constify.
4390 (gtk_file_chooser_default_select_path): Queue into a list of paths
4391 to select if we are not finished loading.
4392 (show_and_select_paths): New utility function.
4393 (up_folder_handler): Use pending_select_paths_add().
4394 (gtk_file_chooser_default_should_respond): Do not call
4395 pending_op_queue(); free the pending_selected_paths instead.
4396 (gtk_file_chooser_default_initial_focus): Don't queue a pending
4397 operation, and don't select the first row unconditionally --- this
4398 will happen when the folder is done loading.
4399 (shortcuts_row_activated_cb): Free the pending_select_paths.
4400 (pending_select_paths_store_selection): New utility function.
4401 (gtk_file_chooser_default_map): Call
4402 pending_select_paths_store_selection() to save the selection
4403 before reloading the folder.
4404 (select_func): Umm? Call gtk_tree_selection_select_iter(). Don't
4405 move the cursor here; it will be done when processing the pending paths.
4407 * tests/testfilechooser.c (main): Add a button to the command
4408 window to unmap and remap the file chooser.
4410 2005-01-24 Matthias Clasen <mclasen@redhat.com>
4412 * docs/tutorial/gtk-tut.sgml:
4413 * docs/tutorial/gtk_tut.sgml:
4414 * docs/reference/gtk/tmpl/gtkliststore.sgml:
4415 * gtk/gtkactiongroup.c:
4416 * gtk/gtksizegroup.c:
4417 * gtk/gtksizegroup.h:
4418 * gtk/gtktogglebutton.c: Replace "effect" by "affect" where
4419 appropriate. (#165108, Dan Winship)
4421 2005-01-24 Matthias Clasen <mclasen@redhat.com>
4423 * gtk/gtkwidget.c (gtk_widget_class_init): Document
4424 GtkWidget::style-set. (#164222, Alex Graveley)
4426 2005-01-22 Matthias Clasen <mclasen@redhat.com>
4428 * gdk/gdkdisplay.h (gdk_display_add_client_message_filter_full):
4429 Remove the accidentally added prototype for this unimplemented
4430 function. (#164893, Jeff Franks)
4432 * gtk/gtktreeview.c (gtk_tree_view_leave_notify): Avoid spurious
4435 2005-01-23 Tor Lillqvist <tml@novell.com>
4437 * gdk/win32/gdkkeys-win32.c (update_keymap): Handle Greek tonos
4438 dead accent key. (#164859, reported and fix verified by Daniel
4441 * gtk/gtkimcontextsimple.c (gtk_compose_seqs): Handle
4442 GDK_Greek_accentdieresis (tonos and dialytika) combining with iota
4445 * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_volume_get_display_name):
4446 Don't call GetVolumeInformation() for network drives. They might
4447 be disconnected, and calling GetVolumeInformation() will then
4448 cause long delays. (#164448, reported by Dave Neary.) It seems to
4449 be very hard to reliably find out whether a network drive is
4450 connected or not, so it's easier to just not try getting the
4451 volume name for them. See the bug report for discussion.
4453 Make volume name display formats translatable.
4455 Fix for #163702, from Ivan Wong:
4457 * gdk/win32/gdkprivate-win32.h
4458 * gdk/win32/gdkglobals-win32.c: New flag _ignore_destroy_clipboard.
4460 * gdk/win32/gdkevents-win32.c (gdk_event_translate): Handle
4461 WM_DESTROYCLIPBOARD. Unless _ignore_destroy_clipboard, generate a
4462 GDK_SELECTION_CLEAR event.
4464 * gdk/win32/gdkselection-win32.c
4465 (gdk_selection_owner_set_for_display): Set _ignore_destroy_clipboard
4466 when emptying the clipboard ourselves.
4468 (gdk_selection_send_notify_for_display): Remove the artifical
4469 GDK_SELECTION_CLEAR event generation.
4471 2005-01-21 Matthias Clasen <mclasen@redhat.com>
4473 * gtk/gtkwidget.c (gtk_widget_get_accessible): More details
4474 provided by Bill Haneman.
4476 2005-01-20 Matthias Clasen <mclasen@redhat.com>
4478 * gtk/gtkwidget.c (gtk_widget_get_accessible): Add docs. (#164725,
4481 * gtk/gtkdialog.c (gtk_dialog_map): Don't loop forever
4482 here, even if the only focusable widgets are labels.
4484 2005-01-20 Matthias Clasen <mclasen@redhat.com>
4486 Support tinting in GtkCellRendererPixbuf (#162903, Jorn Baayen):
4488 * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_class_init)
4489 Add a follow-state property which when TRUE causes the pixbuf
4490 to be tinted according to state.
4492 * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render):
4493 Use follow-state and colorize the pixbuf when appropriate.
4495 2005-01-20 Matthias Clasen <mclasen@redhat.com>
4497 Support wrapping in GtkCellRendererText (#163608):
4499 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init):
4500 Add wrap-mode and wrap-width properties which cause a
4501 text cell to break to a specified width when set.
4503 * gtk/gtkcellrenderertext.c (get_layout): Use wrap-mode
4504 and wrap-width when they are set.
4506 2005-01-20 Matthias Clasen <mclasen@redhat.com>
4508 * gtk/gtkmodules.c (load_module): Don't reverse the order
4509 of modules when putting them in gtk_modules. (#162676, Dennis
4510 Cranston, patch by Remus Draica)
4512 * gtk/gtktreeview.c (gtk_tree_view_search_move): Don't crash
4513 if the tree is empty. (#164669, Priit Laes)
4515 Wed Jan 19 18:57:02 2005 Manish Singh <yosh@gimp.org>
4517 * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents): Call
4518 GDK_DISPLAY_XDISPLAY with a display, not a window. Clean up the
4521 Wed Jan 19 17:17:31 2005 Manish Singh <yosh@gimp.org>
4523 * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents): Squash
4524 strict aliasing warning in _NET_VIRTUAL_ROOTS code.
4526 2005-01-19 Tor Lillqvist <tml@novell.com>
4528 * gdk/win32/gdkkeys-win32.c (update_keymap,
4529 gdk_keymap_translate_keyboard_state): Handle keyboards with
4530 ShiftLock (and not CapsLock) correctly. (#161814)
4532 2005-01-19 Matthias Clasen <mclasen@redhat.com>
4534 * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_should_respond):
4535 In save mode, don't return paths containing nonexisting
4536 directories. (#162443, Jean Marie Favreau)
4538 * gtk/gtkobject.c (gtk_object_add_arg_type): Use GLib limit
4539 macros to avoid sparse warnings. Pointed out by Kjartan Maraas.
4541 * gdk/x11/gdkdisplay-x11.c: Precache the _NET_VIRTUAL_ROOTS
4544 * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents):
4545 Support _NET_VIRTUAL_ROOTS. (#163910, Carsten Haitzler)
4549 * gdk/x11/gdkdisplay-x11.c (gdk_x11_display_get_user_time):
4550 Add a function to obtain the last user interaction
4551 time. (#163119, Elijah Newren)
4553 Tue Jan 18 13:56:09 2005 Manish Singh <yosh@gimp.org>
4555 * gtk/gtkfilechooserdefault.c (pending_op_queue): Actually assign
4558 Tue Jan 18 13:46:46 2005 Manish Singh <yosh@gimp.org>
4560 * gdk/x11/gdkdrawable-x11.c (_gdk_x11_have_render_with_trapezoids):
4561 disambiguate nested if/else.
4563 2005-01-18 Federico Mena Quintero <federico@ximian.com>
4565 Merged from gtk-2-6:
4567 * gtk/gtkfilechooserdefault.c (pending_op_queue): Don't queue an
4568 operation to select the first file if we are in SAVE or
4569 CREATE_FOLDER modes. Executing that operation would overwrite the
4570 contents of the save-name entry.
4572 2005-01-18 Matthias Clasen <mclasen@redhat.com>
4575 * gdk/x11/gdkwindow-x11.c (gdk_display_warp_pointer):
4576 * gdk/win32/gdkwindow-win32.c (gdk_display_warp_pointer): Add
4577 pointer warping to GDK. (#160437)
4579 * gtk/gtkcolorsel.c (key_press): Use gdk_display_warp_pointer.
4581 2005-01-18 Matthias Clasen <mclasen@redhat.com>
4583 * gtk/gtkstyle.c (gtk_default_draw_check)
4584 (gtk_default_draw_option, gtk_default_draw_handle): Add some
4585 more NULL checks, patch by Michael Natterer.
4587 Tue Jan 18 10:55:47 2005 Søren Sandmann <sandmann@redhat.com>
4589 * gtk/gtkstyle.c (gtk_default_draw_handle): Check for NULL detail
4592 * gtk/gtkstyle.c (gtk_default_draw_box): Check for NULL detail and
4593 NULL widget. (#164477, Michael Natterer)
4595 2005-01-18 Matthias Clasen <mclasen@redhat.com>
4597 Avoid X errors when running against servers which
4598 implement XRender < 0.4. (#164427, Albert Chin)
4600 * gdk/x11/gdkprivate-x11.h:
4601 * gdk/x11/gdkdrawable-x11.c (_gdk_x11_have_render_with_trapezoids):
4602 New function to check for trapezoid support in XRender.
4603 (gdk_x11_draw_trapezoids, _gdk_x11_drawable_draw_xtrapezoids):
4606 * gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): Add a
4607 separate have_render_with_trapezoids field.
4609 * gdk/x11/gdkdisplay-x11.c (gdk_display_open): Initialize it.
4611 2005-01-17 Matthias Clasen <mclasen@redhat.com>
4613 * gtk/gtkiconview.c: Remove debug output. (#164376, Jens Finke)
4615 Mon Jan 17 16:44:36 2005 Jonathan Blandford <jrb@redhat.com>
4617 * docs/Makefile.am (EXTRA_DIST): add tree-column-sizing.png to
4620 2005-01-17 Matthias Clasen <mclasen@redhat.com>
4622 * gtk/gtkfilechooserdefault.c (shortcuts_add_bookmarks): Save
4623 and restore the selected row in the bookmark list and the
4624 save folder combo. (#164290)
4626 2005-01-16 Matthias Clasen <mclasen@redhat.com>
4628 * gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_new_with_backend):
4629 Fix argument order in docs.
4631 2005-01-15 Matthias Clasen <mclasen@redhat.com>
4633 * gtk/gtktextview.c (gtk_text_view_check_keymap_direction):
4634 * gtk/gtkentry.c (gtk_entry_create_layout): Prefer LTR over RTL
4635 if the keymap is neutral. (#164125, Phil Blundell)
4637 2005-01-14 Matthias Clasen <mclasen@redhat.com>
4639 * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Allow to
4640 reset the property to its default value -1.
4641 (gtk_tree_view_get_search_column): Return the default value in
4642 the g_return_val_if_fail() check. (#163864, Richard Hult)
4644 * gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_set_value):
4645 Add a translator hint. (#163889)
4647 * configure.in: Check for _NL_TIME_FIRST_WEEKDAY too, since it
4648 is an enum value, not a define. Pointed out by Tommi Komulainen.
4649 * gtk/gtkcalendar.c (gtk_calendar_init): Adapt.
4651 2005-01-13 Matthias Clasen <mclasen@redhat.com>
4653 * configure.in: Check for nl_langinfo()
4654 * gtk/gtkcalendar.c (gtk_calendar_init): Use nl_langinfo() when it's
4655 available to determine first day of week (#163842, Vincent Untz)
4657 * gtk/gtkuimanager.c (gtk_ui_manager_get_widget): Add hints about
4658 the lifecycle of widgets. (#159503, Christian Persch)
4660 * demos/gtk-demo/main.c (create_text): Use monospace for the
4661 source code view. (#163526, Theerud Lawtrakul)
4663 * gtk/gtkaboutdialog.c (gtk_about_dialog_init): Use R as mnemonic
4664 for the Credits button to avoid duplicate. (#163465, Tim-Philipp
4667 * configure.in: Add an OS_LINUX conditional.
4669 * gdk/Makefile.am (TESTS):
4670 * gdk-pixbuf/Makefile.am (TESTS):
4671 * gtk/Makefile.am (TESTS): Only run abicheck on Linux. (#163917,
4674 2005-01-13 Matthias Clasen <mclasen@redhat.com>
4676 * gtk/gtktreeview.c: (gtk_tree_view_class_init),
4677 (gtk_tree_view_set_headers_clickable): Make the headers-visible
4678 property readwrite instead of just writable, and remove the
4679 g_return_if_fail check that there is a model when setting this
4680 property. Also improve the blurb. (#163851, Richard Hult)
4682 2005-01-12 Owen Taylor <otaylor@redhat.com>
4684 * configure.in: Remove GLIB_DIVERT_BEFORE_HELP() on
4685 initialization of gdktarget, that was causing it to be
4686 evaluated before host was set. Simplify --with-gdktarget help
4689 * gtk/Makefile.am: Use grep | head -n 1 instead of grep -m 1
4690 which doesn't work with slightly older versions of GNU grep
4691 in install-libtool-import-lib rule.
4693 2005-01-12 Tor Lillqvist <tlillqvist@novell.com>
4695 Fix for #162790, by Iwan Wong:
4697 * gdk/win32/gdkdrawable-win32.c: Implement dashed lines
4698 correctly. Simplify the interface to render_line_horizontal() and
4699 render_line_vertical(). Need to draw lines "manually" also on
4700 NT-based Windowses if we have a dash offset or are drawing
4701 double-dashed lines.
4703 * gdk/win32/gdkprivate-win32.h: Keep also the dash offset,
4704 double-dash flag, and a brush for the background colour (used by
4705 the odd dashes in the double-dash line style) in the GdkGCWin32
4708 * gdk/win32/gdkgc-win32.c: Set up above new fields.
4710 2005-01-10 Federico Mena Quintero <federico@ximian.com>
4714 * gtk/gtkfilesystemunix.c (STAT_NEEDED_MASK): Take out
4715 GTK_FILE_INFO_IS_HIDDEN; we don't need to stat() to know this.
4716 (gtk_file_system_unix_get_folder): Make error reporting more
4717 accurate. Don't bail out if we can't read the directory.
4718 (fill_in_stats): Don't return an error; just assume we don't have
4719 stat info for this folder's files.
4720 (fill_in_names): Don't create the hash table for the names if we
4721 can't open the directory.
4722 (gtk_file_folder_unix_list_children): Don't emit the
4723 "finished-loading" signal --- we don't do asynchronous loads, so
4724 we are always finished loading.
4725 (gtk_file_folder_unix_get_info): Use helper functions; handle the
4726 case where we can't stat '/'.
4727 (get_icon_type_from_path): Don't call fill_in_stats() here; only
4728 use the info we have.
4729 (fill_in_mime_type): Don't return an error. Don't do anything if
4730 we don't have the stat info.
4732 2005-01-10 Owen Taylor <otaylor@redhat.com>
4734 * Makefile.am (EXTRA_DIST): Adding missing ChangeLog.pre*
4737 2005-01-10 Matthias Clasen <mclasen@redhat.com>
4739 * gtk/gtkaccelgroup.c (gtk_accel_group_class_init): Document
4740 signals. (#163319, Murray Cumming)
4742 2005-01-09 Tor Lillqvist <tlillqvist@novell.com>
4744 * gdk/win32/gdkwindow-win32.c (gdk_window_set_cursor): Set current
4745 cursor also when changing the cursor of a window that is the first
4746 ancestor of the window containing the pointer that has a cursor
4747 defined. (#163035, Ivan Wong)
4749 2005-01-09 Anders Carlsson <andersca@gnome.org>
4751 * gtk/gtkcellrenderertext.c: (get_size):
4752 * gtk/gtklabel.c: (gtk_label_size_request):
4753 * gtk/gtkprogressbar.c: (gtk_progress_bar_size_request):
4754 Don't pass NULL to pango_context_get_metrics. Use
4755 pango_context_get_language instead, which is way faster.
4757 2005-01-08 Matthias Clasen <mclasen@redhat.com>
4759 * configure.in: Bump version
4761 * === Released 2.6.1 ===
4763 * gdk-pixbuf-2.0.pc.in: Require gmodule-no-export-2.0
4765 2005-01-07 Tor Lillqvist <tml@iki.fi>
4767 * gdk/win32/gdkselection-win32.c (_gdk_selection_property_store):
4768 Fix braino. (#163232, Arnaud Charlet)
4770 2005-01-06 Matthias Clasen <mclasen@redhat.com>
4772 * gtk/gtkiconview.c: Make markup_column work, and fix some
4773 layout issues when either icon or text is missing. (#163065)
4775 2005-01-06 Federico Mena Quintero <federico@ximian.com>
4777 * gtk/gtkfilechooserdefault.c (file_list_build_popup_menu): Add an
4778 "Open _Location" item. Fixes #148839.
4780 2005-01-06 Matthias Clasen <mclasen@redhat.com>
4782 * README.in: Fix a typo. (#163128, kentaro fukuchi)
4784 2005-01-06 James M. Cape <jcape@ignore-your.tv>
4786 * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_new)
4787 (gtk_file_chooser_button_new_with_backend): Use default title if
4790 * docs/reference/gtk/tmpl/gtkfilechooserbutton.sgml: Make examples
4793 2005-01-05 Federico Mena Quintero <federico@ximian.com>
4797 * gtk/gtkfilechooserdefault.c (shortcuts_row_activated_cb): Queue
4798 a pending operation to select the first row.
4800 2005-01-05 Federico Mena Quintero <federico@ximian.com>
4802 * gtk/gtkpathbar.c (_gtk_path_bar_set_path): Don't call
4803 button_data_free() explicitly; the button is weak-reffed and the
4804 callback will free the button data. Fixes #163010.
4805 (_gtk_path_bar_set_path): Don't ref/sink the button. And for the
4806 failure case, call gtk_widget_destroy() on it.
4808 * gtk/gtkfilechooserdefault.c (check_is_folder): Use
4809 gtk_file_system_get_folder() again (see the ChangeLog entry from
4810 2004-08-25). We can't first get the parent folder and then
4811 request the info for the path in question, as the parent folder
4812 may not be readable. See bug #162617.
4813 (gtk_file_chooser_default_set_current_folder): Assert that the
4814 passed-in path is not null.
4815 (shortcuts_find_current_folder): Likewise.
4816 (shortcuts_add_current_folder): Likewise.
4817 (set_list_model): Likewise.
4818 (gtk_file_chooser_default_map): Only reload the current folder if
4820 (bookmarks_check_add_sensitivity): Check for the current folder
4822 (browse_files_select_first_row): Don't set the cursor if there is
4825 2005-01-05 Matthias Clasen <mclasen@redhat.com>
4827 * gtk/gtkfilechooserdefault.c: Don't construct errors from
4828 the GTK_FILE_SYSTEM_ERROR domain. Partial fix for #162911.
4829 (get_file_info, check_is_folder): Translate errors from
4830 the filesystem into the GTK_FILE_CHOOSER_ERROR domain. Rest
4831 of the fix for #162911, noticed by Murray Cumming.
4833 Wed Jan 5 11:42:49 2005 Søren Sandmann <sandmann@redhat.com>
4835 * gtk/gtkviewport.c (gtk_viewport_realize):
4836 * gtk/gtktextview.c ((text_window_realize): Set the background of
4837 the windows to None instead of adding EXPOSURE_MASK, as suggested
4840 * gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter): Update
4841 the user time when receiving a WM_DELETE message. (#162980,
4844 Tue Jan 4 16:52:14 2005 Jonathan Blandford <jrb@redhat.com>
4846 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_button_event):
4847 only reorder on button 1, part of #141937
4849 Tue Jan 4 11:36:43 2005 Søren Sandmann <sandmann@redhat.com>
4853 * gtk/gtktextview.c (text_window_realize): Add GDK_EXPOSURE_MASK
4854 to win->window's event_mask
4856 * gtk/gtkviewport.c (gtk_viewport_realize): Add GDK_EXPOSURE_MASK
4857 to viewport->view_window.
4859 2005-01-04 Matthias Clasen <mclasen@redhat.com>
4861 * demos/testpixbuf.c (main): Remove the size_prepared callback,
4862 to test incremental display.
4863 (new_testrgb_window): Return the drawing area, not the window,
4864 since we want to queue draws on the drawing area.
4866 2005-01-03 Matthias Clasen <mclasen@redhat.com>
4868 * examples/*: Re-extract.
4870 * docs/tutorial/gtk-tut.sgml: Small corrections.
4872 * docs/tutorial/gtk-tut.sgml: Some updates for the drawing
4873 section. (#161414, Robert Ancell)
4875 * docs/tutorial/gtk-tut.sgml: Make it build.
4877 * gtk/gtkdialog.c (gtk_dialog_run): Some clarification
4878 regarding modality. (#112903, Dave Bordoley)
4880 * gtk/gtkfixed.c (gtk_fixed_set_has_window):
4881 Add a little motivation. (#145556, Tommi Komulainen)
4883 * docs/tutorial/gtk-tut.sgml: Clarify section on
4884 g_signal_connect_swapped. (#120543, David Bourguignon)
4886 Make gtk_icon_theme_load_icon() work independent of
4887 icon factory initialization. (#162791, Tristan Van Berkom)
4889 * gtk/gtkiconfactory.[hc]: Rename ensure_default_icons to
4890 _gtk_icon_factory_ensure_default_icons, and make it non-static.
4892 * gtk/gtkicontheme.c (find_builtin_icon): ..and call it here.
4894 2005-01-02 Matthias Clasen <mclasen@redhat.com>
4896 * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_remove_shortcut_folder):
4897 Don't add a shortcut here. (#162752, Tor Lillqvist)
4899 2005-01-02 Tor Lillqvist <tml@iki.fi>
4901 * gtk/Makefile.am (libgtk_target_ldflags): Add -lole32, needed for
4902 CoTaskMemFree in get_special_folder() below.
4904 * gtk/gtkfilesystem.h: Implement case-insensitive path compare on
4905 Win32 using _gtk_file_system_win32_path_compare().
4907 * gtk/gtk.symbols: Add _gtk_file_system_win32_path_compare.
4909 * gtk/gtkfilechooserbutton.c (model_add_special)
4910 * gtk/gtkfilechooserdefault.c (shortcuts_append_desktop): Use
4911 _gtk_file_system_win32_get_desktop() to get correct Desktop folder
4914 * gtk/gtkfilesystemwin32.c: Remove unnecessary includes. Do
4915 consider all drives "mounted", including floppies. Trying to
4916 inspect the contents of a nonexistent floppy will cause errors
4917 later that are handled normally, no need to avoid them
4918 completely. Keep the drive type in the GtkFileSystemVolume.
4919 Support UNC paths. (#161797, #137874) Fix error message
4920 capitalizations as in gtkfilesystemunix.c.
4922 (gtk_file_system_win32_init): Start one timeout per
4925 (gtk_file_system_win32_finalize): Remove the timeout.
4927 (get_special_folder): Copied from GLib.
4929 (_gtk_file_system_win32_get_desktop): New function, uses
4930 get_special_folder().
4932 (gtk_file_system_win32_list_volumes): Don't start a timeout at
4933 each call to this function. Don't assume A: and B: are floppies.
4935 (gtk_file_system_win32_get_volume_for_path): Don't assume all
4936 volumes are drive roots, i.e. support share roots of UNC paths
4939 (gtk_file_system_win32_get_folder): Don't assume errno is set
4940 after g_file_test() returns FALSE. It isn't on Win32 (and even on
4941 Unix I don't think one should assume anything about errno after
4944 (gtk_file_system_win32_volume_get_is_mounted): Always return TRUE.
4946 (gtk_file_system_win32_volume_get_display_name): Don't call
4947 GetVolumeInformation() on drives A: or B: if they are removable,
4948 as they might then be floppies, causing an unnecessary
4951 (gtk_file_system_win32_volume_render_icon): Use network icon for
4952 unrecognized drive types.
4954 (canonicalize_filename, gtk_file_system_win32_parse): Don't get
4955 confused by UNC paths.
4957 (bookmarks_serialize): Use _gtk_file_system_win32_path_compare()
4958 for case-insensitive UTF-8 path comparison.
4960 (extract_icon): Use SHGetFileInfo() which is faster than
4961 ExtractAssociatedIcon(). Icon extraction is still slow, though,
4964 (win32_pseudo_mime_lookup): Don't use the same icon for all
4965 shortcuts or executables. Cache only other file type icons.
4967 (gtk_file_system_win32_render_icon): Use network stock icon for
4968 remote drives and UNC server share roots. Compare home directory
4969 case-insensitively. Do lookup icons also for executable files,
4970 after all, it's these files that can have individual icons in the
4971 first place. Yes, it can be slow. Needs work.
4973 (filename_is_drive_root): Require also the slash after the colon.
4975 (filename_is_server_share): New function.
4977 (_gtk_file_system_win32_path_compare): New function, does
4978 case-folded UTF-8 comparison.
4980 * gtk/gtkfilesystemwin32.h: Declare
4981 _gtk_file_system_win32_path_compare().
4983 2005-01-01 Matthias Clasen <mclasen@redhat.com>
4985 * gtk/gtkbutton.c (gtk_button_set_image): Allow unsetting the
4986 custom image by passing NULL.
4987 (gtk_button_init): Initialize image_is_stock to TRUE, fixing
4988 a problem with changing stock labels. (#162273, Marcin
4991 2005-01-01 Tor Lillqvist <tml@iki.fi>
4993 * gtk/gtkmodules.c (get_module_path)
4994 * gtk/gtkrc.c (gtk_rc_make_default_dir, gtk_rc_get_im_module_file,
4995 gtk_rc_get_theme_dir, gtk_rc_add_initial_default_files): With
4996 g_getenv() now returning UTF-8 on Win32, no need to call
4999 2004-12-31 Matthias Clasen <mclasen@redhat.com>
5001 * gtk/gtkkeyhash.c (_gtk_key_hash_lookup_keyval)
5002 (_gtk_key_hash_lookup): Don't sort a list of values as if
5003 it was a list of entries. This fixes crashes during mnemonic
5004 activation in the presence of multiple keymaps. (#162488,
5007 2004-12-30 Matthias Clasen <mclasen@redhat.com>
5009 * gtk/gtkcombobox.c (gtk_combo_box_button_state_changed): Fix
5010 state propagation when making an insensitive combo box sensitive
5011 again. (#162524, Carlos Garnacho Parro)
5013 * gtk/gtkfilechooserdefault.c: Use secondary text for error
5016 * gtk/gtkfilesystemunix.c: Clean up some cases of errno handling
5017 (#162496, noted by Tor Lillqvist), and use g_filename_display_name()
5018 for error messages. Also mark some error messages for translation,
5019 fix capitalization of error messages.
5021 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_set_property):
5022 Use g_value_get_boolean() for ellipsize_set. (#162447,
5025 2004-12-30 Tor Lillqvist <tml@iki.fi>
5027 * gtk/gtkicontheme.c (gtk_icon_theme_init): Use /usr/share/pixmaps
5030 2004-12-28 Matthias Clasen <mclasen@redhat.com>
5032 * gtk/gtkmenuitem.c (gtk_menu_item_position_menu): Inherit
5033 submenu direction from the parent menu.
5035 * gtk/gtkmenushell.c (gtk_menu_shell_select_submenu_first):
5036 Return a boolean indicating whether an item in the submenu
5038 (gtk_real_menu_shell_move_current): When going in child
5039 direction, don't get stuck at completely insensitive
5040 submenus. (#162055, Billy Biggs)
5042 2004-12-27 Matthias Clasen <mclasen@redhat.com>
5044 Make the clipboard image API more robust (#162357,
5045 Torsten Schoenfeld):
5047 * gtk/gtkclipboard.c (clipboard_image_received_func): Don't
5048 ref the pixbuf if it is NULL.
5050 * gtk/gtkselection.c (gtk_selection_data_set_pixbuf):
5051 NULL-terminate the varargs in the call to
5052 gdk_pixbuf_save_to_buffer().
5053 (gtk_selection_data_get_pixbuf): Only use a pixbuf loader
5054 if there is data to load.
5056 2004-12-27 Matthias Clasen <mclasen@redhat.com>
5058 * gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event):
5059 Set x_root and y_root in button and motion events from
5060 extended input devices. (#148715, Robert Ögren)
5062 * gtk/gtktreeview.c (gtk_tree_view_class_init): Fix a
5063 typo. (#162339, Alessio Dessi)
5065 * gtk/gtkadjustment.c (gtk_adjustment_class_init): Document
5066 properties as new since 2.4. (#156101, Billy Biggs)
5068 * configure.in: Add a warning about the linux-fb
5069 target. (#155488, Zeeshan Ali)
5071 * gtk/gtkmain.c (gtk_init_with_args): Typo fix. (#162278,
5074 2004-12-26 Matthias Clasen <mclasen@redhat.com>
5076 * gtk/gtkfilechooser.c (gtk_file_chooser_set_action):
5077 Typo fix. (#162219, Masao Mutoh)
5078 (gtk_file_chooser_set_preview_widget_active):
5079 Another typo. (#162218, Masao Mutoh)
5081 2004-12-23 Matthias Clasen <mclasen@redhat.com>
5083 * gtk/gtkliststore.c (gtk_list_store_iter_children):
5084 Return TRUE if there are children. (#162134, Iñigo Serna,
5085 patch by John Finlay)
5087 * gtk/gtkcombobox.c (gtk_combo_box_button_state_changed):
5088 Transfer state from the button to the cell view to get
5089 prelighting right. (#156327, Ricardo Veguilla)
5091 Wed Dec 22 14:22:19 2004 Søren Sandmann <sandmann@redhat.com>
5093 * tests/testtoolbar.c (timeout_cb): Add sensitivity-changing
5094 timeout. Written by Christian Persch.
5096 Wed Dec 22 14:14:02 2004 Søren Sandmann <sandmann@redhat.com>
5100 * gdk/x11/gdkwindow-x11.c (tmp_{re,un}set_bg): Only set/reset the
5101 background for windows that get expose events.
5103 * gdk/gdkwindow.c (gdk_window_process_updates_internal): Remove
5104 hack to repaint !expose windows.
5106 Wed Dec 22 11:35:41 2004 Søren Sandmann <sandmann@redhat.com>
5108 Bug #147497, make menu items activate immediately when you release
5111 * gtk/gtkmenu.c (gtk_menu_enter_notify, menu_motion_notify): Make
5112 items activate immediately.
5114 * gtk/gtkmenu.c (definitely_within_item): New function
5115 * gtk/gtkmenu.c (check_threshold): New function
5117 2004-12-22 Matthias Clasen <mclasen@redhat.com>
5119 * gtk/gtklabel.c (gtk_label_setup_mnemonic): Don't forget to
5120 null the mnemonic_menu when unsetting a mnemonic, reported
5123 2004-12-21 Matthias Clasen <mclasen@redhat.com>
5125 * gtk/gtkliststore.c (generate_order): Generate the order the
5126 way it is supposed to be, order[new_pos] == old_pos.
5127 (gtk_list_store_reorder): Invert the order before using it.
5129 2004-12-22 Matthias Clasen <mclasen@redhat.com>
5131 Fix sorting of list stores. (#161886, Marcin Krzyzanowski)
5133 * gtk/gtkliststore.c (generate_order): Generate the order the
5134 way it is supposed to be, order[new_pos] == old_pos.
5135 (gtk_list_store_reorder): Invert the order before using it.
5137 * gtk/gtkiconview.c (gtk_icon_view_rows_reordered): Adapt to the
5140 Wed Dec 22 01:24:01 2004 Jonathan Blandford <jrb@redhat.com>
5142 * gtk/queryimmodules.c (main): print out the version and binary
5143 name in the header comment. Problem reported by Seth Nickell.
5145 2004-12-20 Matthias Clasen <mclasen@redhat.com>
5147 * gtk/gtkliststore.c (gtk_list_store_sort_iter_changed): Pass a
5148 root path to gtk_tree_model_rows_reordered(). (#161720,
5149 Marcin Krzyzanowski)
5151 * gtk/gtkactiongroup.c (gtk_action_group_translate_string): Don't
5152 translate NULL messages. (#161789, Morten Welinder)
5154 * gtk/gtkmessagedialog.c (setup_primary_label_font): Don't show
5155 the secondary label on show_all(). (#161707, Christian Persch)
5157 2004-12-19 Tor Lillqvist <tml@iki.fi>
5159 * gdk/win32/gdkdnd-win32.c (resolve_link, gdk_dropfiles_filter):
5160 Use wide character API when available. Use UTF-8 for filenames.
5162 * gdk/win32/gdkselection-win32.c (_gdk_dropfiles_store): Include
5163 the string's trailing zero byte in the property's length, just for
5166 2004-12-18 Matthias Clasen <mclasen@redhat.com>
5168 * gtk/gtkfilechooserentry.c (check_completion_callback)
5169 (load_directory_callback): Add missing GDK_THREADS_ENTER/LEAVE.
5171 * gtk/gtkfilechooserdefault.c (edited_idle_cb)
5172 (shortcuts_drag_outside_idle_cb): Add missing
5173 GDK_THREADS_ENTER/LEAVE. (#161604)
5175 * gtk/gtkfilechooserdefault.c (selection_check_foreach_cb):
5176 (list_select_func): Don't call gtk_file_info_get_is_folder()
5179 * gtk/gtkaboutdialog.c (gtk_about_dialog_get_logo_icon_name):
5180 (gtk_about_dialog_init): Add missing initializations. (#161646,