ChangeLog.pre-2-8 190 KB
Newer Older
1 2 3 4 5
2005-08-23  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilechooserdefault.c (shortcuts_append_desktop): Fix a
	C99ism.  (#314262, Robert Jeff Mitchell)
	
6 7 8 9 10 11
2005-08-22  Manish Singh  <yosh@gimp.org>

	* gtk/gtkicontheme.h: add declaration for _gtk_icon_theme_check_reload.

	* gtk/gtkwindow.c: remove declaration of gtk_window_read_rcfiles.

12 13 14 15 16 17 18 19 20 21 22
2005-08-22  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkwindow.c (gtk_window_client_event): 
	* gtk/gtkicontheme.c (ensure_valid_themes) 
	(_gtk_icon_theme_check_reload): Implement a clientmessage based
	scheme for makeing sure that all GTK+ applications notice if an
	icon theme has been updated. This should prevent multiple versions
	of an icon theme cache to be mapped in memory at the same time,
	which can cause excessive memory consumption.  (#313156, Chris 
	Lahey)

23 24
2005-08-22  Matthias Clasen  <mclasen@redhat.com>

25 26 27 28 29 30 31 32 33
	* gtk/gtkicontheme.c (gtk_icon_theme_load_icon): Add a note
	regarding icon theme changes.

	* gtk/gtkiconcache.c (_gtk_icon_cache_get_icon): When returning
	pixbufs which are backed by the mmapped memory of an icon cache,
	increase the refcount of the icon cache, so that the memory is not
	munmapped away underneath the pixbuf upon icon theme changes.  
	(#314170, Kjartan Maraas)

34 35 36
	* docs/tools/Makefile.am (LDADDS): Add GTK_DEP_LIBS, in order 
	to link against Xext.  (#314062)

37 38 39
	* gtk/gtkhsv.c (paint_triangle): One more fix to prevent buffer
	overruns.  (#314081, Hans Breuer)

40 41 42 43 44
2005-08-20  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkentry.c (gtk_entry_get_layout): Clarify that the
	returned layout must not be modified.

45 46 47 48 49 50 51 52 53 54 55 56
Sat Aug 20 16:12:14 2005  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_set_model): clear
	scroll_to_path if the model changes.

	* gtk/gtkiconview.c: (gtk_icon_view_destroy),
	(gtk_icon_view_size_allocate), (gtk_icon_view_set_cursor),
	(gtk_icon_view_scroll_to_path): Handle scrolling to a path before
	we're realized, #312798
	(gtk_icon_view_set_model): clear scroll_to_path if the model
	changes.

57 58 59 60 61 62
2005-08-20  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkrange.c (gtk_range_adjustment_changed) 
	(gtk_range_adjustment_value_changed):  Don't queue a draw
	if the layout has not changed.  (#313991, Benjamin Berg)

63 64
2005-08-19  Matthias Clasen  <mclasen@redhat.com>

65 66 67
	* gtk/gtktreeitem.c: Remove duplicate lines.  (#313344,
	Benoit Carpentier)

Matthias Clasen's avatar
Matthias Clasen committed
68 69 70
	* modules/engines/ms-windows/msw_style.c (setup_system_styles): 
	Fix a typo. 

71 72 73 74 75
	* gtk/gtkfilechooserbutton.c (change_icon_theme) 
	(model_add_special, model_add_special, model_add_volumes):
	Handle pixbuf being NULL without warnings. Also, don't
	leak pixbuf references when the icon theme is changed.

76 77 78 79
	* gtk/gtkmain.c (gtk_get_event_widget): Don't access
	the user data on destroyed windows, since at best
	it can be a stale pointer.  (#313953, Robin Green)	

80 81
2005-08-19  Matthias Clasen  <mclasen@redhat.com>

82 83 84
	* gtk/gtkhsv.c (paint_triangle): Avoid a buffer overrun.  
	(#313900, Sebastien Bacher)

85 86 87
	* gtk/gtktreeview.c (gtk_tree_view_get_visible_range): Return
	FALSE if the tree is empty.  (#313891, Guillaume Cottenceau)

88 89 90 91 92 93 94 95
	* gdk/x11/gdkdnd-x11.c (_gdk_drag_get_protocol_for_display) 
	(xdnd_read_actions, get_client_window_at_coords_recurse): 
	Free data returned from XGetWindowProperty. 

	* gdk/x11/gdkevents-x11.c (fetch_net_wm_check_window) 
	Free data returned from XGetWindowProperty.  (313867, Kjartan
	Maraas)
	
96 97 98
	* gdk/x11/gdkdnd-x11.c (get_client_window_at_coords_recurse): Free
	children in all cases.  (#313862, Kjartan Maraas)

99 100 101 102 103
	* gtk/gtkicontheme.c (theme_lookup_icon): Store GtkIconData structs 
	in the per-directory hash, even if they come from the icon cache. 
	We tried to avoid that before, but as a result leaked icon data
	structs.  (#313852, Kjartan Maraas)

104 105 106 107 108
2005-08-18  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkmenutoolbutton.c (gtk_menu_tool_button_destroy): Disconnect
	signal handlers on destroy, not on finalize.  (#313759, Brett Atoms)

109 110 111 112 113
2005-08-15  Owen Taylor  <otaylor@redhat.com>

	* configure.in: Add -lXext to GDK_EXTRA_LIBS in absence of pkg-config
	files for x11/xext. (Jonas Bonn)

114 115 116 117 118
2005-08-15  Tor Lillqvist  <tml@novell.com>

	* gtk/gtkicontheme.c (theme_lookup_icon): Put debugging printout
	inside GTK_NOTE.

119 120 121 122 123 124 125 126 127 128
2005-08-15  Owen Taylor  <otaylor@redhat.com>

	* configure.in: Fix have_base_pc / have_base_x_pc typo.

	* gdk/x11/gdkdrawable-x11.c gtk/gtksettings.c: Remove panoxft.h includes.
	(#313417, James Andrewartha)

	* configure.in: Add fontconfig to X_PACKAGES, since we use it for
	FcNameConstant(). (More of #313417)

129 130
2005-08-15  Matthias Clasen  <mclasen@redhat.com>

131 132 133 134 135 136 137 138
	* gtk/gtkfilechooserdefault.c: When using gtk_dialog_run() for
	modal dialogs, make sure to inherit the window group from 
	the parent, since we don't inherit window groups across
	transient parents currently.  (#312918, Christian Persch)

	* gtk/gtkmessagedialog.c (gtk_message_dialog_new): 
	* gtk/gtkdialog.c (gtk_dialog_run): Slight update to the docs. 

139 140 141 142
	* gtk/gtkiconview.c (gtk_icon_view_select_path) 
	(gtk_icon_view_scroll_to_path): Handle paths of depth 0
	gracefully.  (#312796, Jonathan Blandford)

143 144 145 146 147 148 149
	* tests/testtoolbar.c: Add some more tests for menu placement.

	* gtk/gtkmenutoolbutton.c (menu_position_func): 
	* gtk/gtktoolbar.c (menu_position_func): Improve positioning
	of toolbutton menus and of the overflow menu.  (#312937, 
	#153870, Christian Persch, Paolo Borelli)

150 151 152 153 154
2005-08-15  Tor Lillqvist  <tml@novell.com>

	* gtk/updateiconcache.c: Use g_path_get_dirname() instead of
	the nonportable <libgen.h> and dirname().

155 156
2005-08-15  Matthias Clasen  <mclasen@redhat.com>

157 158 159 160 161
	* gtk/gtksizegroup.c: Use object data to mark widgets and
	groups as visited, so that we avoid constant extra list
	traversals. Also allocate quarks in class_init.  (#311618,
	Michael Natterer)

162 163 164 165
	* gtk/gtkicontheme.c (gtk_icon_theme_lookup_icon): Correct the 
	download location for the hicolor icon theme. (#313475, Olexiy 
	Avramchenko)

166 167
	* gtk/gtkicontheme.c: Remove debug spew. 

168 169 170 171 172 173 174 175
2005-08-15  Owen Taylor  <otaylor@redhat.com>

	* gdk/linux-fb/gdkwindow-fb.c (gdk_window_set_back_pixmap): 
	* gdk/win32/gdkwindow-win32.c (gdk_window_set_back_pixmap): 
	* gdk/x11/gdkwindow-x11.c (gdk_window_set_back_pixmap):
	Handle pixmap == NULL when checking for a colormap.
	(Allin Cottrell).

176 177 178 179 180 181 182 183 184 185 186 187
2005-08-14  Matthias Clasen  <mclasen@redhat.com>

	* gtk/updateiconcache.c: Store only one copy of the pixel data
	for symlinked icons. To achieve this, maintain a hashtable 
	mapping pathnames to pixel data, and share the pixel data for
	all symlinks resolving to the same pathname. When writing out
	the image data, write out the pixel data only the first time
	it is met, and store the offset pointing to the first copy
	for use in all later cases.
	This reduces the size of the Bluecurve icon cache from 40
	to 13MB. (#312972)

Matthias Clasen's avatar
Matthias Clasen committed
188 189
2005-08-13  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
190 191
	* configure.in: Bump version

Matthias Clasen's avatar
2.8.0  
Matthias Clasen committed
192 193 194 195
	* === Released 2.8.0 ===

	* NEWS: Updates

Matthias Clasen's avatar
Matthias Clasen committed
196 197
	* configure.in: Require cairo 0.9.2

198 199
2005-08-12  Matthias Clasen  <mclasen@redhat.com>

200 201 202
	* gtk/gtkcheckmenuitem.c (gtk_real_check_menu_item_draw_indicator): 
	Remove a line without effect.

203 204 205 206 207 208 209
	* gtk/gtkicontheme.c: When changing the icon theme, defer
	the resetting of rc styles to an idle, so that it does
	not happen e.g during expose handling (which is problematic,
	since some widgets, like the toolbar, are changing the
	hierarchy in response to style changes).  (#300539, reported
	by many people, analyzed by Owen Taylor)

210 211 212 213 214 215 216
2005-08-12  Owen Taylor  <otaylor@redhat.com>

	* gdk/linux-fb/gdkwindow-fb.c (gdk_window_set_back_pixmap)
	* gdk/win32/gdkwindow-win32.c (gdk_window_set_back_pixmap) 
	* gdk/x11/gdkwindow-x11.c (gdk_window_set_back_pixmap): Warn if
	gdk_drawable_get_colormap (pixmap) is NULL and return.

Matthias Clasen's avatar
Matthias Clasen committed
217 218 219 220
2005-08-12  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Bump version to 2.8.0

221 222 223 224 225 226 227
2005-08-11  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilechooserdefault.c: Work around some problems
	with the gnome-vfs backends which could lead to crashes
	in the bookmark handling.  (#310270, Diego Gonzalez, patch
	by Michael Meeks)

228 229 230 231 232 233 234 235 236 237
2005-08-11  Kristian Rietveld  <kris@gtk.org>

	Fix for #312924, by John Finlay.

	* gtk/gtkliststore.c (gtk_list_store_increment_stamp),
	(gtk_list_store_clear): increment stamp on store clearance.

	* gtk/gtktreestore.c (gtk_tree_store_increment_stamp),
	(gtk_tree_store_clear): ditto.

238 239 240 241 242 243
2005-08-11  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_size_allocate_columns): queue
	a draw for the entire widget if any column changes width. (Fixes
	#311026, reported by Frederic Crozat).

244 245 246 247 248
2005-08-10  J. Ali Harlow  <ali@juiblex.co.uk>

	* configure.in: Revert to linking against pangowin32 under win32
	platform (Owen Taylor).

249 250 251 252 253
2005-08-10  J. Ali Harlow  <ali@juiblex.co.uk>

	* gdk/win32/gdkfont-win32.c (gdk_font_from_description_for_display): Make
	the last change compile.

254 255 256 257 258 259
2005-08-10  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_deleted) 
	(gtk_tree_model_filter_remove_node): Remove ambiguities pointed
	out by gcc.

260 261 262 263 264
2005-08-10  James Henstridge  <james@jamesh.id.au>

	* configure.in: fix definition of GDK_DEP_CFLAGS so that it
	doesn't cause build failures if $X_PACKAGES is not empty.

265 266 267 268 269
2005-08-09  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkwindow.c (gdk_window_ref_cairo_surface): Remove superfluous
	call to gdk_window_get_offsets (). (#313051, Bertram Felgenhauer)

270 271 272 273 274 275 276 277 278 279 280 281 282 283 284
2005-08-09  Owen Taylor  <otaylor@redhat.com>

	* configure.in: Strip out all Xft, FreeType, and pangoxft checking.
	Rewrite X checks to use pkg-config as much as possible.

	* gdk/win32/gdkfont-win32.c (gdk_font_from_description_for_display): Make
	this return Arial always to avoid using PangoWin32FontMap. (X11 backend
	has always been returned "fixed" for a long time)

	* gdk/linux-fb/gdkdrawable-fb2.c: Remove draw_glyphs() implementations,
	fall through to the default implementation in terms of Cairo.

	* gdk/linux-fb/gdkdrawable-fb2.c (gdk_fb_draw_text): Use gdk_draw_glyphs()
	on the wrapper rather than gdk_fb_draw_glyphs().

285 286 287 288 289 290 291 292
2005-08-09  Mark McLoughlin  <mark@skynet.ie>

	Fixes "notification area leaks space" (bug #312687)

	* gtk/gtksocket-x11.c: (_gtk_socket_windowing_filter_func):
	  gtk/gtkplug.c: (_gtk_plug_add_to_socket): don't pass a 
	detail to g_signal_emit_by_name()

Matthias Clasen's avatar
Matthias Clasen committed
293 294 295 296
2005-08-09  Matthias Clasen  <mclasen@redhat.com>

	* NEWS: Updates

297 298 299 300 301
2005-08-09  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtksizegroup.c (get_size_groups, set_size_groups): Use
	g_quark_from_static_string here. 

302 303 304 305 306 307 308 309 310
2005-08-08  Christian Persch  <chpe@cvs.gnome.org>

	* gtk/gtkmenutoolbutton.c: (gtk_menu_tool_button_state_changed),
	(gtk_menu_tool_button_class_init), (popup_menu_under_arrow),
	(gtk_menu_tool_button_init):

	Deactivate the menu when the button becomes insensitive, and remove
	dead code. Fixes bug #312920.

Matthias Clasen's avatar
Matthias Clasen committed
311 312 313 314
2005-08-08  Matthias Clasen  <mclasen@redhat.com>

	* gdk/gdk.symbols: Make the last change compile.

315 316 317 318 319 320 321 322 323 324
2005-08-08  Christian Persch  <chpe@cvs.gnome.org>

	* gtk/gtkmenutoolbutton.c:
	(gtk_menu_tool_button_construct_contents),
	(button_state_changed_cb), (menu_position_func),
	(arrow_button_toggled_cb):

	Use ->priv instead of GTK_MENU_TOOL_BUTTON_GET_PRIVATE.
	Surviving part of bug #310589.

325 326
2005-08-07  Matthias Clasen  <mclasen@redhat.com>

327 328 329
	* gdk/gdk.symbols: Add the gdk_display variable.

	* gdk/abicheck.sh:
330 331
	* gtk/abicheck.sh: Also check exported variables.

332 333 334 335 336 337
Fri Aug  5 16:54:19 2005  Søren Sandmann  <sandmann@redhat.com>

	* gtk/gtkmenutoolbutton.c
	(gtk_menu_tool_button_construct_contents): Set the relief of the
	arrow button to the value returned by
	gtk_tool_item_get_relief_style(). Patch from Benjamin Berg.
338
	Bug 312695.
339

340 341 342 343 344
2005-08-04  Sunil Mohan Adapa  <sunil@atc.tcs.co.in>

	* configure.in: Re-added "te" to ALL_LINGUAS after
	correcting the problem.

Matthias Clasen's avatar
Matthias Clasen committed
345 346 347 348
2005-08-04  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Require cairo 0.6

349 350 351 352
2005-08-04  Christian Persch  <chpe@cvs.gnome.org>

	* configure.in: Remove "te" since it breaks the build.

353 354 355 356
2005-08-04  Sunil Mohan Adapa  <sunil@atc.tcs.co.in>

	* configure.in: Added "te" to ALL_LINGUAS.

357 358 359 360 361 362
2005-08-04  Tor Lillqvist  <tml@novell.com>

	* gtk-zip.sh.in: Reflect the change of the default theme's name to
	"Raleigh". Include the MS-Windows theme's gtkrc file. Include the
	theme engine DLLs.

Matthias Clasen's avatar
Matthias Clasen committed
363 364
2005-08-02  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
365 366
	* configure.in: Bump version

Matthias Clasen's avatar
2.7.5  
Matthias Clasen committed
367 368 369 370
	* === Released 2.7.5 ===

	* configure.in: Bump version

Matthias Clasen's avatar
Matthias Clasen committed
371 372
	* NEWS: Updates

373 374
2005-08-01  Matthias Clasen  <mclasen@redhat.com>

375 376 377
	* gtk/gtkfixed.c (gtk_fixed_put): Fix a typo, spotted by
	David Odin.

378 379 380 381
	* gtk/Makefile.am (install-data-local): 
	* gtk/gtksettings.c (gtk_settings_class_init): Rename the 
	default theme to "Raleigh".  (#312254, Thomas Wood)

382 383 384
	* gtk/gtkdnd.c (set_icon_stock_pixbuf): Create the icon window
	with the correct dimensions.  (#312256, Mike Morrison)

385 386 387 388
	* gtk/gtktextbuffer.h: 
	* gtk/gtk.symbols: Remove G_GNUC_NULL_TERMINATED here
	as well.

389 390 391
	* gtk/gtkuimanager.c (update_node): Update tooltips when 
	reconnecting toolitems.  (#312173, Alex Graveley)

392 393 394
	* gdk/x11/gdkxftdefaults.c: Define the hint styles to make
	building against fc < 2.2.92 work.  (#311839, Damien Carbery)

395 396 397 398 399 400 401
	* gdk/x11/gdkevents-x11.c (gdk_check_wm_desktop_changed): Make
	tracking the on_all_desktops state work better.

	* gdk/x11/gdkwindow-x11.c (gdk_x11_window_move_to_current_desktop): 
	Don't do anything if the window is on all desktops.  (#311803,
	Elijah Newren)

Dom Lachowicz's avatar
Dom Lachowicz committed
402 403 404 405
2005-08-01  Dom Lachowicz <cinamod@hotmail.com>

	* modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: Part of #168326

406 407
2005-08-01  Matthias Clasen  <mclasen@redhat.com>

408 409 410 411
	* gtk/gtkclipboard.c (gtk_clipboard_set_image) 
	(gtk_clipboard_set_text): Don't leak atom names.  (#311933,
	Peter Zelezny)

412 413 414
	* gtk/gtkmain.c (do_post_parse_initialization): Call
	gettext_initialization() here as well.  (#311612, Dan Winship)

415 416 417 418 419
2005-08-01  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkwindow-win32.c (gdk_window_set_urgency_hint):
	Implement using FlashWindowEx(). (#309423)

Hans Breuer's avatar
Hans Breuer committed
420 421 422 423
2005-07-30  Hans Breuer  <hans@breuer.org>

	* gtk/makefile.msc.in tests/makefile.msc : updated

424 425 426 427 428
2005-07-30  Johan Dahlin  <jdahlin@async.com.br>

	* gtk/gtkctree.c (gtk_ctree_class_init): Do not use | 
	G_PARAM_STATIC_NAME in the type field, makes subclassing possible.

429 430 431 432 433
2005-07-29  Claudio Saavedra  <csaavedra@alumnos.utalca.cl>

	* docs/reference/gtk/migrating-GtkAction.sgml: Declaring the 
	GtkActionEntry arrays static const. Fixes #301612.

434 435 436 437 438
2005-07-29  J. Ali Harlow  <ali@juiblex.co.uk>

	* gtk/Makefile.am: Include gtkwin32embed.h in EXTRA_DIST
	unconditionally. Fixes #311972.

439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474
2005-07-28  Federico Mena Quintero  <federico@ximian.com>

	* perf/README: Update for the new API of the profiler.

	* perf/gtkwidgetprofiler.[ch]: New files with a widget profiler
	object.  This is the old content of timers.[ch] turned into a nice
	object, with signals for creation and reporting.  The profiler
	needs to maintain some state when reusing the widget, so it's
	useful to turn it into a real object.

	Break down timing show_all into GTK_WIDGET_PROFILER_REPORT_MAP and
	GTK_WIDGET_PROFILER_REPORT_EXPOSE.

	* perf/main.c: Refactor to use GtkWidgetProfiler.

	* perf/appwindow.c (content_area_new): Make this just create a
	notebook, instead of a complex arrangement of panes.

	* perf/widgets.h: New header file for all the "create a widget"
	utility functions.

	* perf/treeview.c: New file.  Moved the tree view part from
	appwindow.c over to here; GtkTreeView really needs its own tests.
	(tree_view_new): Set the shadow type to IN.

	* perf/textview.c: Likewise moved over from appwindow.c, but for
	GtkTextView.
	(text_view_new): Set the shadow type to IN.

	* perf/Makefile.am (testperf_SOURCES): Add the new source files;
	remove appwindow.h and timers.[ch].

	* perf/timers.[ch]: Removed.

	* perf/appwindow.h: Removed.

475 476
2005-07-29  Tor Lillqvist  <tml@novell.com>

477 478
	* gdk/win32/gdkevents-win32.c: Remove ifdeffed out code relating
	to the gdk-ping message. Use the global _gdk_display instead of
Tor Lillqvist's avatar
Tor Lillqvist committed
479 480
	calling gdk_display_get_default() or gdk_drawable_get_display()
	which would return _gdk_display anyway.
481 482 483 484 485 486 487 488 489 490
	(append_event, apply_filters, gdk_event_translate): Drop any
	GdkDisplay parameter as we only have one display anyway. Use
	_gdk_display where needed.
	(gdk_event_apply_filters): Delete, move the code into its only
	caller, apply_filters().
	(generate_button_event): Factor out code from two places in
	gdk_event_translate().
	(gdk_event_translate): Call generate_button_event() in place of
	inline code.

491 492 493 494 495 496 497 498 499 500
	* gdk/win32/gdkevents-win32.c (generate_grab_broken_event): New
	static function to generate and append the GDK_GRAB_BROKEN events.
	(gdk_pointer_grab, gdk_keyboard_grab): Generate grab broken events
	when overriding a grab inside the application, like in the X11
	backend. Final bits of the fix for #107320, hopefully.
	(print_event): Handle also GDK_SETTING, GDK_OWNER_CHANGE and
	GDK_GRAB_BROKEN events.
	(gdk_event_translate): Call generate_grab_broken_event() in place
	of inline code.
	
501 502 503 504 505 506 507 508 509
	* gdk/win32/gdkdrawable-win32.c (blit_inside_drawable): Rename
	from blit_inside_window(), as it now does blitting inside a
	bitmap, too. No code change, still just call BitBlt().
	(_gdk_win32_blit): Check for source equalling destination
	first. (#169508, #131977) 
	Do away with the superfluous local draw_impl variable, the
	parameter to this function is already a GdkDrawableImplWin32*, no
	need to copy and cast it.

510 511 512 513 514 515 516 517 518 519
2005-07-28  Robert Ögren  <gtk@roboros.com>

	Avoid spurious core pointer events when the tablet pen is lifted.
	(#167000)

	* gdk/win32/gdkinput-win32.c (set_ignore_core): New static function,
	handles delayed unsetting of _gdk_input_ignore_core.
	(_gdk_input_other_event): Call set_ignore_core instead of setting
	_gdk_input_ignore_core directly.

Dom Lachowicz's avatar
Dom Lachowicz committed
520 521 522 523 524 525 526 527 528 529
2005-07-28  Dom Lachowicz <cinamod@hotmail.com>

	* modules/engines/ms-windows/*: Re-sync with gtk-wimp CVS. Notable
	changes include: menu/toolbars have a gradient applied to them; better
	handling of menu/toolbar shadows, tracking theme settings;
	sliders/scales now use XP theming; status bar grippies drawn properly;
	convincing toolbar grippies are drawn for the Win2k theme; notebook
	tabs now have that orange stripe across their top; a host of scrollbar
	bugs are fixed
	
Tor Lillqvist's avatar
Tor Lillqvist committed
530 531 532 533 534 535 536 537
2005-07-27  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkmain-win32.c (_gdk_win32_psstyle_to_string): Handle
	PS_ALTERNATE, too.

	* gdk/win32/gdkmain-win32.c (gdk_screen_get_height_mm): Fix for
	multi-monitor cases. (#311677, Tim Evans)

538 539
2005-07-26  Owen Taylor  <otaylor@redhat.com>

540 541
	* gtk/gtknotebook.c (gtk_notebook_page_allocate): Fix to be
	monotonic in the original size (#308145, Morten Welinder)
542

543 544 545 546 547 548 549 550 551
2005-07-26  Elijah Newren  <newren@gmail.com>

	Revert part of patch from #166379; don't have gtk_window_present()
	change a window's desktop, but rather leave it up to the WM.
	(#311653)
	
	* gtk/gtkwindow.c (gtk_window_present_with_time): Don't change a
	window's workspace

552 553 554 555 556
2005-07-26  Tor Lillqvist  <tml@novell.com>

	* gtk/gtkplug-win32.c: Declare GetAncestor() and define GA_PARENT
	if missing (MSVC6). (#311633)

557 558 559 560 561 562 563 564 565
2005-07-26  Federico Mena Quintero  <federico@ximian.com>

	* perf/: New directory with the start of a framework for testing
	performance in GTK+.

	* Makefile.am (SRC_SUBDIRS): Added the perf directory.

	* configure.in (AC_OUTPUT): Generate perf/Makefile.

566 567
2005-07-26  Matthias Clasen  <mclasen@redhat.com>

568 569 570
	* gtk/gtkfilechooserdefault.c: Fix up includes on Win32.  
	(#311630, Kazuki Iwamoto)

571 572 573 574
	* gtk/gtkimcontextsimple.c: Add ISO_Level3_Shift to 
	the list of keysyms to ignore for composition, since
	AltGr keys produce it in some keyboard layouts.  (#307283)

575 576 577 578
	* gtk/gtkwidget.h: 
	* gtk/gtk.symbols: Remove G_GNUC_NULL_TERMINATED from
	gtk_widget_new as well, pointed out by Kjartan Maraas.

579 580
2005-07-25  Matthias Clasen  <mclasen@redhat.com>

581 582 583
	* gtk/gtkhsv.c (paint_triangle): Pad out the full width, in 
	an attempt to work around bug #311225. 

Matthias Clasen's avatar
Matthias Clasen committed
584 585 586 587 588
	* gtk/gtktreemodelsort.c: Trivial doc fixes.

	* gtk/gtktreesortable.c: Talk about comparison functions, not
	sort functions in some places.  (#311398, Fabrice Bauzac)

589 590 591 592 593 594 595
	* gtk/gtk.symbols: 
	* gtk/gtkobject.[hc]: 
	* gtk/gtkfilechooserdialog.[hc] 
	* gtk/gtkdialog.[hc]: Remove the G_GNUC_NULL_TERMINATED marker
	from a number of varargs functions where we allow to omit the
	varargs completely.  (#311465, Callum McKenzie)

596 597
2005-07-22  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
2.7.4  
Matthias Clasen committed
598 599
	* === Released 2.7.4 === 

Matthias Clasen's avatar
Matthias Clasen committed
600 601
	* NEWS: Updates

602 603 604
	* gtk/gtkmessagedialog.c (gtk_message_dialog_format_secondary_markup): 
	Point out escaping oversight.  (#311260, Owen Taylor)

605 606 607 608 609 610 611 612 613 614 615
2005-07-21  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcombobox.c (gtk_combo_box_list_destroy): Cleanup
	a possible resize idle.  (#311141, Robert Ögren)

	* gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_changed): 
	(gtk_tree_model_sort_sort_level): Ref the level while using it,
	otherwise it may get nuked by gtk_tree_model_sort_increment_stamp.
	(gtk_tree_model_sort_row_deleted): Don't leak the root level 
	here.  (#300089, James Bramford, Markku Vire)

616 617 618 619 620 621 622 623 624 625 626 627
2005-07-21  Federico Mena Quintero  <federico@ximian.com>

	* gtk/gtkfilechooser.c (gtk_file_chooser_set_filename): Clarify
	the usage of this function.
	(gtk_file_chooser_set_uri): Likewise.
	(gtk_file_chooser_set_current_name): Likewise.

	* gtk/gtkfilechooserdefault.c (set_file_system_backend):
	Instrument this function for profiling as well.
	(gtk_file_chooser_default_init): Likewise; just to have a marker
	of where instance initialization begins.

Owen Taylor's avatar
Owen Taylor committed
628 629 630 631
2005-07-21  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwidget.c (update_pango_context): Fix a couple of leaks.

632 633 634 635
2005-07-21  Christian Rose  <menthos@menthos.com>

	* configure.in: Added "hy" to ALL_LINGUAS.

636 637
2005-07-21  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
638 639
	* NEWS: Updates

640 641 642 643
	* gtk/gtkstatusbar.c (gtk_statusbar_size_allocate): Be
	a bit more careful to not shrink the label to a negative
	width.  (#311175, Thomas Vander Stichele)

644 645 646 647
	* gtk/gtk.symbols: mark gtk_socket_steal as deprecated.

	* configure.in: Bump the cairo requirement.

648 649 650 651 652 653 654 655 656 657 658 659 660 661
2005-07-19  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtksettings.c gtk/gtkwidget.c: Change machinery for
	following font rendering xsettings to set cairo font
	options on PangoContext

	* gdk/x11/gdkxftdefaults.c gdk/x11/gdkevents-x11.c gdkscreen-x11.h
	gdkprivate-x11.h: Get default values for rendering options
	(such as antialiasing, dpi) from the Xft resources for the
	display, borrowing a bit of code from Xft.

	* gtk/gtksettings.c (gtk_settings_class_init): Fix docs for
	values of gtk-xft-hintstyle.

662 663
2005-07-21  Tor Lillqvist  <tml@novell.com>

664 665 666
	Make GtkPlug/Socket cross-platform: Add Win32 implementation,
	splice out X11 implementation to separate files. (#58541)
	    
667 668 669 670 671
	* gtk/gtk.symbols: Make GtkPlug/Socket API available with all
	backends.

	* gtk/Makefile.am: Changes to build GtkPlug/Socket with all
	backends.
672

673 674 675 676 677 678 679 680 681
	* gtk/gtksocket.c
	* gtk/gtkplug.c: Splice out backend-dependend parts to separate
	files, see below.

	* gtk/gtksocketprivate.h
	* gtk/gtkplugprivate.h: New files. Declare the backend-specific
	functions, and the private backend-independent functions they call
	back to.

682 683 684 685 686 687 688 689 690 691
	* gtk/gtksocket-stub.c
	* gtk/gtkplug-stub.c
	* gtk/gtksocket-x11.c
	* gtk/gtkplug-x11.c
	* gtk/gtksocket-win32.c
	* gtk/gtkplug-win32.c
	* gtk/gtkwin32embed.h
	* gtk/gtkwin32embed.c: New files, containing the backend-specific
	parts of GtkPlug/Socket.

692 693 694 695
	* gtk/gtkxembed.h
	* gtk/gtkxembed.c (_gtk_xembed_message_name): New function, used
	in error messages and debugging output.
	
Tor Lillqvist's avatar
Tor Lillqvist committed
696 697 698 699 700
	* gtk/gtkwindow.c (gtk_window_show): No need for ifdef, can now
	use GTK_IS_PLUG() with all backends.

	* tests/testsocket_common.c: Make it work on Win32, too.

701 702 703 704 705
2005-07-21  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkwindow-win32.c (gdk_window_set_title): Use
	wide-char API when available. (#311079, Peter Zelezny)

706 707 708 709
2005-07-21  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkwidget.c (gtk_widget_modify_bg, gtk_widget_modify_base): 
	Add hints on how to handle "no window" widgets.  (#136347)
710

711 712 713 714 715 716 717
2005-07-20  Keith Packard  <keithp@keithp.com>

	* gdk/x11/gdkdrawable-x11.c: (gdk_x11_ref_cairo_surface):

	Follow change in cairo API to add Screen* to
	cairo_xlib_create_surface_for_bitmap

718 719
2005-07-20  Matthias Clasen  <mclasen@redhat.com>

720 721 722 723 724
	* gtk/gtkicontheme.c (load_svg_at_size): Explicitly use the 
	svg loader, if available. This should help with the fact that
	svg is not reliably sniffable with the current gdk-pixbuf sniffing
	code. 

725 726 727 728
	* gtk/gtkstyle.c (gtk_default_draw_expander): Make sure expanded
	expanders are not fuzzy.  (#310172, reported by Alexander Larsson,
	patch by Owen Taylor)

729 730 731
	* gtk/gtkdnd.c (gtk_drag_begin_internal): Don't fail if we
	can't get a keyboard grab.  (#168351)

732 733 734
	* gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_[sg]et_property):
	Add GTK_FILE_CHOOSER_PROP_DO_OVERWRITE_CONFIRMATION. 

735 736 737 738 739
2005-07-19  Federico Mena Quintero  <federico@ximian.com>

	* gtk/gtkfilechooserdefault.c: Added a few utility functions for
	profiling; instrument the code, make it conditional.

740 741 742 743 744 745
2005-07-19  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtkentry.c (gtk_entry_move_forward_word): don't iterate
	past the end of the string, so pango_layout_get_cursor_pos() won't
	complain. (#309211, Tommi Komulainen).

746 747 748 749 750 751
2005-07-19  Tor Lillqvist  <tml@novell.com>

	* gtk/gtkmain.c (check_sizeof_GtkWindow, check_sizeof_GtkBox):
	Don't bother mentioning the -fnative-struct (used by GCC 2) switch
	in the error message any longer.

752 753
2005-07-18  Matthias Clasen  <mclasen@redhat.com>

754 755
	* gdk/gdkpixbuf-render.c: Small formatting fixes in doc comments. 

756 757 758 759 760
	* gtk/gtkcombobox.c (gtk_combo_box_model_row_deleted) 
	(gtk_combo_box_model_row_inserted): Remove useless calls
	to gtk_tree_row_reference_inserted/deleted, since we
	don't use manual row references here. 

761 762 763 764 765 766
	* gtk/gtkmain.c (gtk_parse_args, gtk_init_with_args): Call
	gettext_initialization before checking gtk_initialized, otherwise
	there are scenarios where it is not called at all. For an
	example, see tests/testfilechooserbutton.c.  (#310323, 
	Arkady L. Shane)

767 768 769 770 771 772 773 774 775
2005-07-18  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkgc-win32.c (gdk_win32_hdc_get): Be sure to remove
	any possible leftover clipping region in the DC if we don't want
	any clipping. Thanks to Robert Ögren. (#309823)

	* configure.in (GDK_EXTRA_LIBS): [Win32] Bypass libtool, use
	-Wl,-luuid. This avoids a libtool warning as libuuid is static.

776 777
2005-07-18  Matthias Clasen  <mclasen@redhat.com>

778 779 780
	* gtk/gtkcombobox.c (gtk_combo_box_set_focus_on_click): Propagate
	the focus-on-click value to the button.  (#310543, Christian Persch)

781 782 783 784 785
	* gtk/gtkwidget.c (gtk_widget_set_double_buffered): Add a note
	about the need to handle expose events. We really need a chapter
	on the GTK+ drawing model that we can refer to here... (#310765,
	Steve Chaplin)

786 787 788 789 790
2005-07-16  Tor Lillqvist  <tml@novell.com>

	* configure.in (GDK_EXTRA_LIBS): [Win32] Put -luuid back, it is
	needed in case one builds without the ie55 stuff. (#310582)

Matthias Clasen's avatar
2.7.3  
Matthias Clasen committed
791
2005-07-15  Matthias Clasen  <mclasen@redhat.com>
Matthias Clasen's avatar
Matthias Clasen committed
792 793
	
	* configure.in: Bump version
Matthias Clasen's avatar
2.7.3  
Matthias Clasen committed
794 795 796 797 798 799

	* === Released 2.7.3 ===
	
	* gdk/gdkdraw.c (gdk_draw_drawable): Add better docs.  
	(#310192, Owen Taylor)

800 801
2005-07-15  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
802 803
	* NEWS: Updates

804 805 806 807
	* gtk/gtkentry.c (gtk_entry_move_forward_word): 
	(gtk_entry_move_backward_word): Don't treat whitespace as
	words for keynav, pointed out by Owen Taylor.

808 809 810 811 812 813 814
2005-07-15  Federico Mena Quintero  <federico@ximian.com>

	* gtk/gtkfilechooserdefault.c
	(should_respond_after_confirm_overwrite): Take the parent folder
	path instead of the display name, to avoid doing duplicated work
	in gtk_file_chooser_default_should_respond().

815 816 817 818 819 820 821 822 823 824
2005-07-15  Federico Mena Quintero  <federico@ximian.com>

	* gtk/gtkfilechooserdefault.c
	(confirm_dialog_should_accept_filename): Take the display name of
	the folder as well so that we can present a better message.  Use a
	stock cancel button, "_Replace", and GTK_STOCK_SAVE_AS.
	(gtk_file_chooser_default_should_respond): Pass the file part and
	folder display name directly to the function above.  Oops, only do
	the confirmation dialog if the file exists.

825 826
2005-07-15  Federico Mena Quintero  <federico@ximian.com>

827 828 829 830
	* gtk/gtkfilechooserdefault.c
	(confirm_dialog_should_accept_filename): Use header capitalization
	for the buttons, per the HIG.

831 832
	* gtk/gtk.symbols: Add the new functions.

833 834 835 836 837 838 839 840 841
	* tests/testfilechooser.c (confirm_overwrite_cb): Add a test for
	the confirm-overwrite signal.

	* gtk/gtkfilechooser.c (gtk_file_chooser_class_init): Remove the
	stub documentation for the "confirm-overwrite" signal.
	(gtk_file_chooser_set_do_overwrite_confirmation): Add "Since: 2.8"
	to the docs.
	(gtk_file_chooser_get_do_overwrite_confirmation): Likewise.

842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877
2005-07-14  Federico Mena Quintero  <federico@ximian.com>

	Add overwrite confirmation for SAVE mode.  Fixes bug #152850:

	* gtk/gtkfilechooser.h: Add prototypes for
	gtk_file_chooser_set/get_do_overwrite_confirmation().
	(GtkFileChooserConfirmation): New enum for the result of the
	"confirm-overwrite" signal.

	* gtk/gtkmarshalers.list: Add ENUM:VOID.

	* gtk/gtkfilechooser.c (gtk_file_chooser_class_init): Add a
	"do-overwrite-confirmation" boolean property.
	(gtk_file_chooser_set_do_overwrite_confirmation): Implement.
	(gtk_file_chooser_get_do_overwrite_confirmation): Implement.
	(confirm_overwrite_accumulator): New accumulator for the signal.

	* gtk/gtkfilechooserutils.h (GtkFileChooserProp): Add
	GTK_FILE_CHOOSER_PROP_DO_OVERWRITE_CONFIRMATION.

	* gtk/gtkfilechooserutils.c
	(_gtk_file_chooser_install_properties): Override the
	do-overwrite-confirmation property.

	* gtk/gtkfilechooserprivate.h (struct _GtkFileChooserIface): Add a
	confirm_overwrite signal to the vtable.

	* gtk/gtkfilechooserdefault.c
	(gtk_file_chooser_default_set_property): Handle the new property.
	(gtk_file_chooser_default_get_property): Likewise.
	(get_selected_file_info_from_file_list): New helper function; code
	taken from list_selection_changed().
	(list_selection_changed): Use get_selected_file_info_from_file_list().
	(should_respond_after_confirm_overwrite): New function.
	(gtk_file_chooser_default_should_respond): Confirm when necessary.

Matthias Clasen's avatar
Matthias Clasen committed
878 879 880 881
2005-07-14  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk.symbols: Add new exported symbols.

882 883 884 885 886 887
2005-07-14  Tor Lillqvist  <tml@novell.com>

	* gtk/gtkfilesystemwin32.c (filename_get_info): Implement getting
	the MIME type of a file. Look it up in the Registry. Bug reported
	by Hans Oesterholt.

888 889 890 891 892 893 894 895 896
2005-07-14  Tor Lillqvist  <tml@novell.com>

	* configure.in (GDK_EXTRA_LIBS): Don't need -luuid on Win32. It
	was some leftover, and in fact occasionally caused issues with
	libtool as it made its way into the libgdk-win32-2.0.la file and
	that way into the .la files of all libraries that depend on
	GDK. (This happened only when building from CVS and not using a
	full "make install" which would run the sanitize-la.sh script.)

Matthias Clasen's avatar
Matthias Clasen committed
897 898
2005-07-14  Matthias Clasen  <mclasen@redhat.com>

899 900 901 902
	* gdk/x11/gdkevents-x11.c (set_screen_from_root): Don't assert if 
	the xrootwin is invalid.  (#309997, Barbie LeVille)
	(gdk_event_translate): Ignore events with an invalid root field.

Matthias Clasen's avatar
Matthias Clasen committed
903 904 905 906 907
	* configure.in: Set interface age to 0.

	* gtk/gtkimmodule.h: Move G_BEGIN_DECLS to the right spot, noticed
	by Akira Tagoh.

908 909 910 911 912
2005-07-14  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeviewcolumn.[ch] (gtk_tree_view_column_queue_resize): new
	function (fixes #169961, reported by Morten Welinder).

913 914 915 916 917
2005-07-14  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.[ch] (gtk_tree_view_get_visible_range): new
	function. (fixes #105252, suggestion from Mikael Hallendal).

Manish Singh's avatar
Manish Singh committed
918 919 920 921
2005-07-13  Manish Singh  <yosh@gimp.org>

	* demos/gtk-demo/iconview_edit.c: remove unused variable.

922 923 924 925 926
2005-07-13  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreemodel.[ch] (gtk_tree_row_reference_get_model): new
	function. (#160879, Stefan Kost).

927 928 929 930 931 932 933 934 935 936
2005-07-13  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_bin_expose): paint a flat box
	on the area the treeview got allocated extra vertically (fixes
	#142063, reported by Brian Bober).

	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
	make this function calculate real_cell_area and real_background_area
	correctly. (fixes #309249, reported by Bernd Demian).

937 938 939 940 941
2005-07-13  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcalendar.c (calendar_realize_arrows): Fix an 
	unintentional case of width-for-height... (#310133, Luis Villa)

942 943 944 945 946 947
2005-07-13  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_new_column_width): let's take
	the MIN of width and max_width here, not width and max_width != -1.
	(fixes #144480, reported by Mikael Magnusson).

Matthias Clasen's avatar
Matthias Clasen committed
948 949
2005-07-13  Matthias Clasen  <mclasen@redhat.com>

950 951 952 953 954 955
	* gtk/gtkicontheme.c (load_themes): Don't keep the caches
	for unthemed directories in a separate list, instead append
	them at the end of the dir_mtimes list, so that we can check
	them for staleness like the other caches.  (#310221, Mark 
	McLoughlin)

Matthias Clasen's avatar
Matthias Clasen committed
956 957
	* configure.in: Check that we have a new enough Cairo.

958
2005-07-13  Robert Ögren  <gtk@roboros.com>
959 960 961 962 963 964 965 966 967 968 969 970 971 972 973

	Fix handling of Aiptek and Aiptek-like graphical tablets such as Trust
	on Windows. (#167004, thanks to	"pnohant" for testing)

	Code cleanup: Remove the unused and unmaintained code for using a
	non-system tablet context (USE_SYSCONTEXT ifdef:s), suggested
	by Tor Lillqvist.

	* gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Handle
	tablet drivers that don't support WTI_DDCTXS/WTI_DSCTXS gracefully.
	Sligthly reorganize and simplify the code to support this.
	(_gdk_input_wintab_init_check, _gdk_input_other_event): Remove
	USE_SYSCONTEXT ifdef:s and the code for the case it was not defined.
	(gdk_input_window_find_within): Removed.

974 975 976 977
2005-07-13  Matthias Clasen  <mclasen@redhat.com>

	* gdk/win32/bdfcursor.c: Add Copyright/License information.
	
978 979 980 981 982 983 984 985 986 987
2005-07-13  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (validate_row): when !separator, don't add
	the focus_line_width to width/height (happens in
	_column_cell_get_size), but do add the vertical-separator to height,
	we weren't taking this into account before.

	* gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
	take vertical-separator into account. (#309137, Ross Burton).

988 989
2005-07-13  Matthias Clasen  <mclasen@redhat.com>

990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024
	* tests/treestoretest.c: 
	* tests/testxinerama.c: 
	* tests/testtreeview.c: 
	* tests/testtreefocus.c: 
	* tests/testtreeflow.c:
	* tests/testtreeedit.c: 
	* tests/testtreecolumns.c: 
	* tests/testtext.c: 
	* tests/testtextbuffer.c: 
	* tests/testspinbutton.c: 
	* tests/testsocket_common.c: 
	* tests/testsocket_child.c: 
	* tests/testsocket.c: 
	* tests/testmultiscreen.c: 
	* tests/testmultidisplay.c: 
	* tests/testmerge.c: 
	* tests/testmenus.c: 
	* tests/testmenubars.c: 
	* tests/testicontheme.c: 
	* tests/testfilechooser.c: 
	* tests/testentrycompletion.c: 
	* tests/testdnd.c: 
	* tests/testcombochange.c: 
	* tests/testactions.c: 
	* tests/testcombo.c: 
	* tests/simple.c: 
	* gtk/gtktextutil.c: 
	* gtk/gtktexttypes.h: 
	* gtk/gtktexttypes.c: 
	* gtk/gtktexttagprivate.h: 
	* gtk/gtktextsegment.h: 
	* gtk/gtktextiterprivate.h: 
	* gtk/gtktextchildprivate.h: 
	* gtk/gtktextbtree.h: Add Copyright/License information.

1025 1026 1027 1028
	* gtk/gtkicontheme.c (gtk_icon_theme_get_default) 
	(gtk_icon_theme_get_for_screen): Add a warning about
	unreffing icon themes.  (#310163, Rodney Dawes)

1029 1030 1031 1032 1033 1034 1035 1036 1037
2005-07-13  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeselection.c (gtk_tree_selection_selected_foreach): quit
	maintaining the iter on every iteration, only get the iter when
	we are about to call the foreach_func. Gives us a 10x speedup,
	since maintaining iters is a lot more expensive than maintaining
	paths. We lose a bit of sanity checking though. Thanks go to
	Billy Biggs for pointing this out.

1038 1039
2005-07-12  Matthias Clasen  <mclasen@redhat.com>

1040 1041
	* tests/testcairo.c (draw): Fix the same confusion here, too.

1042 1043 1044 1045
	* gdk/gdkgc.c (make_stipple_tile_surface): Fix 
	cairo_content_t <-> cairo_format_t confusion.  (#310086,
	Carlos Garnacho Parro)

1046 1047 1048 1049 1050
	* gtk/gtkfilesystemunix.c 
	(gtk_file_system_unix_volume_get_display_name): Follow
	the Nautilus change and rename "Filesystem" to "File System",
	string change.  (#310047, Vincent Noel)
	
1051 1052
2005-07-12  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
1053 1054 1055 1056 1057
	* demos/gtk-demo/iconview.c: Rename this demo.

	* demos/gtk-demo/iconview_edit.c: Add a demo for icon view
	editing and drag-and-drop.

1058 1059
	* demos/gtk-demo/geninclude.pl.in: Accept dashes in demo titles.

1060 1061
2005-07-12  Matthias Clasen  <mclasen@redhat.com>

1062 1063 1064 1065 1066 1067 1068
	* gtk/theme-bits/decompose-bits.c: 
	* gtk/gtkfilechooserembed.c: 
	* gtk/gtktextmarkprivate.h: 
	* gtk/gtktexttagtable.h: 
	* gtk/gtktexttagtable.c: 
	* gtk/gtkrc.key.emacs: Add Copyright/License information.

1069 1070 1071 1072 1073 1074
	* gdk/linux-fb/gdkrender-fb.c: 
	* gdk/linux-fb/gdkpango-fb.c: 
	* gdk/linux-fb/gdkdrawable-fb2.c: 
	* gdk/linux-fb/gdkgc-fb.c: 
	* gdk/linux-fb/gdkfbswitch.c: Add Copyright/License information.

1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093
	* gdk/gdkwindow.h: 
	* gdk/gdkvisual.h: 
	* gdk/gdkselection.h: 
	* gdk/gdkselection.c: 
	* gdk/gdkregion.h: 
	* gdk/gdkproperty.h: 
	* gdk/gdkpixmap.h: 
	* gdk/gdkpixbuf.h: 
	* gdk/gdkkeyuni.c: 
	* gdk/gdkintl.h: 
	* gdk/gdkinput.h: 
	* gdk/gdkimage.h: 
	* gdk/gdkgc.h: 
	* gdk/gdkfont.h: 
	* gdk/gdkevents.h: 
	* gdk/gdkdnd.h: 
	* gdk/gdkcursor.h: 
	* gdk/gdkcolor.h: Add Copyright/License information.

1094 1095 1096 1097
2005-07-11  Matthias Clasen  <mclasen@redhat.com>

	* modules/input/imm-extra.h: Add Copyright/License information.

1098 1099
2005-07-11  Matthias Clasen  <mclasen@redhat.com>

1100 1101 1102 1103 1104
	* gtk/gtktexttag.c (gtk_text_tag_class_init) 
	(gtk_text_tag_set_property): Remove the runtime warning about 
	the invisible property, add a warning about possible remaining
	problems to the documentation of the property.  (#66194)

1105 1106 1107 1108
	* gtk/gtktextview.c (gtk_text_view_move_cursor_internal): Don't
	ever go unconditionally to the buffer ends; that doesn't work
	if the initial or final portion of the buffer are invisible.

1109 1110 1111 1112 1113 1114 1115 1116
2005-07-11  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_class_init): add binding entry
	for ctrl + backspace (move focus to parent without affecting
	selection),
	(gtk_tree_view_real_select_cursor_parent): implement ctrl+backspace
	and simplify the function a bit. (#309296, Kathy Fernandes).

1117 1118
2005-07-11  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
1119
	Make gtk_window_present() move the window to the current
1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130
	desktop, instead of letting the WM change the current
	desktop to where the window is.  (#166379, Elijah Newren)
	
	* gdk/gdk.symbols: 
	* gdk/x11/gdkx.h: 
	* gdk/x11/gdkwindow-x11.c (gdk_x11_window_move_to_current_desktop): 
	New function to move a window to the current desktop.
	
	* gtk/gtkwindow.c (gtk_window_present_with_time): Move the
	window to the current desktop before giving it focus.  

1131 1132
2005-07-11  Matthias Clasen  <mclasen@redhat.com>

1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151
	When dragging text, use a drag icon showing the (ellipsized)
	text that is being dragged: (#161132, Kevin Duffus, patch
	by Carlos Garnacho Parro)
	
	* gtk/gtktextutil.h: 
	* gtk/gtktextutil.c (_gtk_text_util_create_drag_icon): Add
	a function to create a pixmap for use when dragging text.

	* gtk/gtktextview.c (gtk_text_view_start_selection_dnd): 
	* gtk/gtklabel.c (gtk_label_motion): 
	* gtk/gtkentry.c (gtk_entry_motion_notify): Use a drag icon
	showing the text being dragged.  

2005-07-11  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkentry.c (gtk_entry_move_forward_word) 
	(gtk_entry_move_backward_word): Match the text view change
	to allow selecting whitespace with double-click.

1152 1153 1154 1155
	* gtk/gtktextview.c (extend_selection): Make double-clicking
	between words select whitespace.  (#309860, Mike Miller, patch
	by Paolo Borelli)

1156 1157 1158
	* gtk/gtkiconview.c: Documentation improvements.  (#309946, 
	Torsten Schoenfeld)

1159 1160 1161 1162 1163
2005-07-10  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): remove
	unneeded check for negative window_y.

1164 1165 1166 1167 1168
2005-07-10  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_search_key_press_event): also move
	to the next match when ctrl+g is pressed. (#156657, Matt T. Proud).

1169 1170 1171 1172 1173 1174
2005-07-10  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): rework
	function to make page up/down behave the same as in GtkTextView.
	(Fixes #101220, Owen Taylor).

1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186
2005-07-09  Kristian Rietveld  <kris@gtk.org>

	Fix #305737, patch from Tomislav Jonjic. This makes the
	gtk_tree_store_insert* family of functions emit row_has_child_toggled
	when needed (they didn't do that before).

	* gtk/gtktreestore.c (gtk_tree_store_insert): emit
	row_has_child_toggled when needed,
	(gtk_tree_store_insert_before): fix a possible memleak,
	emit row_has_child_toggled when needed,
	(gtk_tree_store_insert_after): ditto.

1187 1188 1189 1190 1191 1192 1193
2005-07-09  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_real_expand_row): when
	open_all is TRUE, traverse the newly built tree to emit
	row_expanded for the subitems. (rev 1.444, patch in #172319
	broke this). Fixes #305582, reported by Billy Biggs.

Tor Lillqvist's avatar
Tor Lillqvist committed
1194 1195
2005-07-09  Tor Lillqvist  <tml@novell.com>

1196 1197 1198 1199
	* configure.in: Look for windres on Win32. Drop build/* from
	AC_CONFIG_FILES.

	* Makefile.am: Drop build from SUBDIRS. 
Tor Lillqvist's avatar
Tor Lillqvist committed
1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212

	* gdk/win32/rc/Makefile.am
	* gdk/Makefile.am
	* gtk/Makefile.am: Don't use the scripts in build/win32 to compile
	the rc files into resource object files. (This means we lose the
	build number increment magic, but I doubt it was that useful
	anyway.) Instead use windres directly. To pass a normal .o file
	produced by windres through libtool, which would want a .lo file,
	pass it directly to the linker using a -Wl option.

	* gdk/win32/rc/gdk.rc.in
	* gtk/gtk-win32.rc.in: Replace BUILDNUMBER with 0.

1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228
2005-07-08  Kristian Rietveld  <kris@gtk.org>

	Fixes #165034, reported by Jorn Baayen.

	* gtk/gtkrbtree.[ch] (_gtk_rbtree_set_fixed_height): add a
	mark_valid parameter (so we can mark all nodes as valid when we
	are setting them to the fixed height).

	* gtk/gtktreeview.c (initialized_fixed_height_mode): mark all
	nodes as valid when setting the fixed height,
	(do_validate_rows): update call to _set_fixed_height,
	(gtk_tree_view_row_inserted): mark node as valid when fixed
	height mode is enabled and a height has been set,
	(gtk_tree_view_build_tree): if fixed height mode is enabled,
	mark new nodes as valid in addition to setting the height.

1229
2005-07-08  Matthias Clasen  <mclasen@redhat.com>
Matthias Clasen's avatar
Matthias Clasen committed
1230 1231

	* configure.in: Bump version
Matthias Clasen's avatar
2.7.2  
Matthias Clasen committed
1232 1233 1234 1235 1236 1237 1238 1239
	
	* === Released 2.7.2 ===

	* NEWS: Updates

	* gtk/gtkcelllayout.c (gtk_cell_layout_pack_start): 
	(gtk_cell_layout_pack_end): Add a note about reusing cell
	renderers.
1240 1241

	* gtk/gtkdnd.c (gtk_drag_update_cursor): Pass a GdkDragAction to
Matthias Clasen's avatar
Matthias Clasen committed
1242
	gtk_drag_get_cursor.  (#309784, Sebastien Bacher)
1243

Tor Lillqvist's avatar
Tor Lillqvist committed
1244 1245 1246 1247
2005-07-08  Tor Lillqvist  <tml@novell.com>

	* gtk/gtkfilesel.c: Use g_get_host_name().

1248 1249
2005-07-07  Matthias Clasen  <mclasen@redhat.com>

1250 1251 1252
	* configure.in: Add -DHPPEX -DSHMLINK to CFLAGS for HP-UX.  
	(#162979, Paul Cornett)

1253 1254 1255 1256
	* gtk/gtkhscale.c (gtk_hscale_new_with_range): 
	(gtk_vscale_new_with_range): Add some additional docs on 
	precision here too.  (#309238, Steve Chaplin)

1257 1258 1259
	* gdk/x11/gdkmain-x11.c (generate_grab_broken_event): Don't
	generate events on destroyed windows.

1260 1261 1262 1263 1264 1265 1266
	Implement Drag-and-Drop to the file list.  (#145121, Sven Neumann)
	
	* gtk/gtkfilechooserdefault.c (file_list_drag_data_received_cb) 
	(file_list_drag_drop_cb, file_list_drag_motion_cb): New functions
	to handle drag-and-drop on the file list.
	(create_file_list): Set up drag-and-drop handlers on the file list.

1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281
2005-07-07  Matthias Clasen  <mclasen@redhat.com>

	Fix #157787, reported by Jonathan Blandford: 
	
	* gtk/gtkfilechooserdefault.c 
	(gtk_file_chooser_default_set_current_folder): Don't leave a 
	"trail" behind when set_current_folder is called explicitly.
	(gtk_file_chooser_default_update_current_folder): New function
	that is called to update the current folder in response to
	user actions.

	* gtk/gtkpathbar.c (_gtk_path_bar_set_path): Add a boolean
	keep_trail argument, and don't leave a "trail" behind unless
	it is set.

1282 1283 1284 1285 1286
2005-07-06  Manish Singh  <yosh@gimp.org>

	* demos/gtk-demo/menus.c: change_orientation() should return void,
	remove unused variable in do_menus().

1287 1288 1289 1290 1291 1292
2005-07-06  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkcursor-win32.c
	(gdk_win32_icon_to_pixbuf_libgtk_only): Don't create the GdkPixbuf
	until we know that we have something to put in it.

Matthias Clasen's avatar
Matthias Clasen committed
1293 1294
2005-07-05  Matthias Clasen  <mclasen@redhat.com>

1295 1296 1297
	* gtk/gtkspinbutton.c (gtk_spin_button_new_with_range): Add some
	additional docs on precision.  (#309238, Steve Chaplin)

Matthias Clasen's avatar
Matthias Clasen committed
1298 1299
	* modules/input/imime.c: Fix includes.  (#309462, Kazuki IWAMOTO)

Matthias Clasen's avatar
Matthias Clasen committed
1300 1301 1302 1303 1304
2005-07-05  Matthias Clasen  <mclasen@redhat.com>

	* doc/tools/widgets.c: Actually generate a file-button
	image.

1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319
2005-07-06  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkcursor-win32.c: Add comment about the current named
	cursor implementation, and what it maybe really should do.
	(gdk_win32_icon_to_pixbuf_libgtk_only): New function, code moved
	here from gtk/gtkfilesystemwin32.c:extract_icon().
	(gdk_cursor_get_image): Use
	gdk_win32_icon_to_pixbuf_libgtk_only().

	* gdk/gdk.symbols
	* gdk/win32/gdkwin32.h: Declare gdk_win32_icon_to_pixbuf_libgtk_only().

	* gtk/gtkfilesystemwin32.c (extract_icon): Use
	gdk_win32_icon_to_pixbuf_libgtk_only().

1320 1321 1322 1323 1324 1325 1326 1327
2005-07-05  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkmenu.c (gtk_menu_grab_notify): Take window
	groups into account.  (#309473, Diego Gonzalez)

	* gtk/gtkwindow.[hc]: Add a non-exported function to
	get the grab widget of a window group.

1328 1329 1330 1331 1332 1333
2005-07-05  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_bin_expose): in the
	'main' expose loop, add back the calls to _set_cell_data
	removed earlier. (#309221, Matthias Clasen).

1334 1335
2005-07-05  Matthias Clasen  <mclasen@redhat.com>

1336 1337
	* demos/gtk-demo/menus.c: Demonstrate vertical menubars.

1338 1339 1340 1341 1342
	* gtk/gtk.symbols:
	* gtk/gtkaboutdialog.[hc]: Add a wrap-license property
	with getter and setter.  (#165012, Christian Rose,
	based on a patch by Christian Persch)

1343 1344 1345 1346 1347 1348
2005-07-05  Matthias Clasen  <mclasen@redhat.com>

	* gdk/Makefile.am: Distribute the keyname-table.h header 
	and the files that are used to construct it.  (#309421,
	J. Ali Harlow)

1349 1350 1351 1352 1353 1354 1355 1356
2005-07-04  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkmenubar.c (gtk_menu_bar_set_pack_direction) 
	(gtk_menu_bar_set_child_pack_direction): Queue a resize
	on the contained menuitems as well.  

	* demos/gtk-demo/appwindow.c: Break some overlong lines. 

1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373
2005-07-03  Hans Breuer  <hans@breuer.org>

	* **/makefile.msc[.in] : updated
	* gtk/gtkiconcache.c : <io.h> for open()
	* gtk/gtkstyle.c : use G_PI instead of M_PI

	* gdk/win32/gdkcursor-win32.c : implement gdk_cursor_new_from_name()
	by mapping the lower case win32 api name to the respective cursor.
	E.g. pass "wait" to get the IDC_WAIT cursor. Also allows to load
	cursors from named resources in the executable.
	(gdk_cursor_get_image) : just return NULL for now.

	* gdk/win32/gdkgeometry-win32.c : implement gdk_window_move_region()
	by delegation to ScollWindowEx(), untested.

	* gdk/win32/gdkwindow-win32.c : stub for gdk_window_set_urgency_hint()

1374 1375
2005-07-03  Matthias Clasen  <mclasen@redhat.com>

1376 1377 1378 1379
	* gtk/gtkimagemenuitem.c: Hmm, when committing my vertical
	menubar patch, I forgot the GtkImageMenuItem changes. And I
	managed to do 2 releases without noticing that...

1380 1381 1382 1383
	* gtk/gtksettings.c (gtk_settings_class_init): Correct the 
	blurb for the icon-sizes setting. String change.  
	(#309355, Benjamin Berg)

Matthias Clasen's avatar
2.7.1  
Matthias Clasen committed
1384 1385
2005-07-01  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
1386 1387
	* configure.in: Bump version.

Matthias Clasen's avatar
2.7.1  
Matthias Clasen committed
1388 1389 1390 1391
	* === Released 2.7.1 ===
	
	* NEWS: Updates

1392 1393 1394 1395 1396
2005-07-01  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilesel.c (cmpl_init_state): Prevent an infinite
	loop when G_FILENAME_ENCODING is invalid.  (#309280, Padraig Brady)

1397 1398 1399 1400 1401 1402
Thu Jun 30 14:17:24 2005  Manish Singh  <yosh@gimp.org>

	* gdk/x11/gdkprivate-x11.h: declare _gdk_xgrab_check_button_event.

	* gtk/gtkbutton.c: fix signature of gtk_button_grab_broken.

Matthias Clasen's avatar
Matthias Clasen committed
1403 1404
2005-06-30  Matthias Clasen  <mclasen@redhat.com>

1405 1406 1407
	* gdk/x11/gdkvisual-x11.c (gdk_visual_decompose_mask): Avoid
	infinite loop if a mask is zero.  (#309222, David Saxton)

1408 1409 1410
	* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_fetch_child): 
	Clarify the code, gcc 4 complains about predecrement in MAX().

1411 1412 1413
	* modules/input/gtkimcontextxim.c (gtk_im_context_xim_finalize): Don't
	prematurely unregister callbacks. 

Matthias Clasen's avatar
Matthias Clasen committed
1414 1415
	* NEWS: Updates

Matthias Clasen's avatar
Matthias Clasen committed
1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439
2005-06-29  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkbutton.c (gtk_button_grab_broken): Handle broken
	grabs.

	* gtk/gtkrange.c (gtk_range_grab_broken): Handle broken 
	grabs.

	* gdk/gdkevents.h: Add a boolean to specify wether the broken
	grab was implicit.

	* gdk/x11/gdkdisplay-x11.c (gdk_display_pointer_is_grabbed): 
	As the documentation states, don't return TRUE for
	implicit grabs.

	* gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): Add
	a boolean field to store wether a pointer grab is implicit.

	* gdk/x11/gdkmain-x11.c (_gdk_xgrab_check_button_event): 
	Track implicit grabs.

	* gdk/x11/gdkevents-x11.c (gdk_event_translate): Call
	_gdk_xgrab_check_button_event for button events.

1440 1441 1442 1443 1444 1445
2005-06-28  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkiconview.c (gtk_icon_view_calculate_item_size2): 
	Make sure that cell boxes are always completely inside
	the item area. 

1446 1447
2005-06-27  Matthias Clasen  <mclasen@redhat.com>

1448 1449 1450
	* demos/gtk-demo/main.c (create_tree): Make the list of
	demos scrollable.

1451 1452 1453 1454 1455 1456
	* gtk/gtktextlayout.c (gtk_text_layout_move_iter_to_line_end): 
	Fix positioning at the end of the line for lines ending
	in invisible characters.
	(gtk_text_layout_get_line_display): Set display->layout 
	to a PangoLayout, even for totally invisible lines. 

1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477
	* gtk/gtkmenushell.c (gtk_menu_shell_grab_broken): Ignore
	GrabBroken events which are caused by overgrabbing inside
	the application; menus rely on these for their operation.
	
	* gdk/gdkevents.h (struct _GdkEventGrabBroken): Add a 
	grab_window field.

	* gdk/win32/gdkevents-win32.c (gdk_event_translate): Set
	grab_window to NULL when generating GrabBroken events for
	WM_KILLFOCUS messages.

	* gdk/x11/gdkmain-x11.c (_gdk_xgrab_check_unmap) 
	(_gdk_xgrab_check_destroy): Set grab_window to NULL when
	generating GrabBroken events when the grab window becomes
	unviewable or is destroyed.

	* gdk/x11/gdkmain-x11.c (gdk_pointer_grab, gdk_keyboard_grab): 
	Generate GrabBroken events when overriding a grab inside
	the application. In this case, set grab_window to the new
	grab_window.
	
1478 1479
2005-06-27  Matthias Clasen  <mclasen@redhat.com>

1480 1481 1482 1483 1484
	* gtk/gtkbutton.c (gtk_real_button_activate): Continue
	to activate even if we can't grab the keyboard.
	(gtk_button_finish_activate): Only ungrab when we have
	a keyboard grab.  (#172998, William Jon McCann)

1485 1486
2005-06-27  Matthias Clasen  <mclasen@redhat.com>

1487 1488 1489
	* modules/input/gtkimcontextxim.c (gtk_im_context_xim_finalize): 
	Avoid a segfault. (#309054)

1490 1491
2005-06-27  Matthias Clasen  <mclasen@redhat.com>

1492 1493 1494 1495 1496 1497 1498 1499 1500 1501
	* gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): Add
	fields for grab timestamps.

	* gdk/x11/gdkmain-x11.c (gdk_pointer_grab, gdk_keyboard_grab): 
	Store grab timestamps when grabbing.
	
	* gdk/x11/gdkdisplay-x11.c (gdk_display_keyboard_ungrab) 
	(gdk_display_pointer_ungrab): Don't unset the grab_window
	if the timestamps indicate that the ungrab will fails.

1502 1503 1504 1505
	* gtk/gtkmenu.c (gtk_menu_grab_notify): Cancel menus when 
	they are grab-shadowed by something thats not a 
	submenu.  (#145416, Euan MacGregor)

Owen Taylor's avatar
Owen Taylor committed
1506 1507 1508 1509 1510
2005-06-27  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtk[hv]ruler.c (gtk_[hv]ruler_draw_ticks): 
	Fix indentation.

1511 1512 1513 1514 1515 1516
2005-06-27  Kjartan Maraas  <kmaraas@gnome.org>

	* gtk/gtkhruler.c: (gtk_hruler_draw_ticks): Fix leaks
	* gtk/gtkvruler.c: (gtk_vruler_draw_ticks): Same
	Closes bug #308953.

Matthias Clasen's avatar
Matthias Clasen committed
1517 1518 1519 1520 1521 1522 1523
2005-06-27  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkiconcache.c (_gtk_icon_cache_new_for_path): Use
	GMappedFile.

	* configure.in: Require GLib 2.7.1

1524 1525
2005-06-26  Matthias Clasen  <mclasen@redhat.com>

1526 1527 1528 1529 1530
	* modules/input/gtkimcontextxim.c (gtk_im_context_xim_finalize): 
	Unregister XIM callbacks here.  (#309054)

	* modules/input/gtkimcontextxim.h: Small cleanup.

1531 1532 1533 1534
	* gtk/gtkmenu.c (gtk_menu_paint): Pay attention to the
	scroll offset when drawing the box.  (#308834, Tom von 
	Schwerdtner)

1535 1536 1537 1538 1539 1540 1541 1542
2005-06-26  Tor Lillqvist  <tml@novell.com>

	* gdk/Makefile.am
	* gtk/Makefile.am: Current GNU tools do understand the PRIVATE
	keyword, so no need to remove those entries from the import
	library. libtool installs the .dll.a import library itself, so no
	need to do it here. Install the .def file.

1543 1544 1545 1546 1547 1548 1549 1550 1551 1552
Sun Jun 26 00:04:36 2005  Manish Singh  <yosh@gimp.org>

	* gdk/gdkevents.c (gdk_event_get_time, gdk_event_get_state): add
	GDK_GRAB_BROKEN to the switch cases.

	* gtk/gtkmenushell.c (gtk_menu_shell_grab_broken): remove unused
	variables.

	* gtk/gtkpaned.c (gtk_paned_grab_broken): return TRUE.

1553 1554
2005-06-26  Matthias Clasen  <mclasen@redhat.com>

1555 1556 1557
	* gtk/gtktreeview.c (gtk_tree_view_grab_broken): Stop column
	header drag operations if the grab is broken.

1558 1559 1560
	* gtk/gtkhsv.c (gtk_hsv_grab_broken): Stop the drag if
	the grab is broken.

1561 1562 1563 1564 1565
	* gtk/gtkcombobox.c (gtk_combo_box_popdown): Don't do 
	explicitly ungrab pointer and keyboard. We're unmapping
	the grab window anyway. 
	(gtk_combo_box_popup): Handle grab failures.

1566 1567 1568 1569 1570 1571
2005-06-25  Matthias Clasen  <mclasen@redhat.com>

	* gdk/x11/gdkmain-x11.c (gdk_keyboard_grab, gdk_pointer_grab):
	Don't emit grab-broken for overgrabbing, until we figure
	out how to do that without breaking the menu code.

1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604
2005-06-25  Matthias Clasen  <mclasen@redhat.com>

	Add a GrabBroken event to GDK, and a grab-broken-event
	signal to GtkWidget.  (#107320, Simon Cooke, initial patch 
	by John Ehresman)

	* gdk/gdkevents.h: Add a GDK_GRAB_BROKEN event type,
	define a GdkEventGrabBroken event struct.

	* gdk/win32/gdkevents-win32.c (gdk_event_translate): 
	Generate GrabBroken events in response to WM_KILLFOCUS.

	* gdk/x11/gdkmain-x11.c: Generate GrabBroken events
	when a grab is broken by the window becoming unviewable,
	or by another grab from the same client.
	
	* gtk/gtkwidget.h (GtkWidgetClass): Add grab_broken_event.

	* gtk/gtkwidget.c (gtk_widget_event_internal): Translate
	GrabBroken events into grab_broken_event signals.

	* gtk/gtkmain.c (gtk_main_do_event): Propagate GrabBroken
	events.

	* gtk/gtkmenushell.c (gtk_menu_shell_grab_broken): Deactivate
	the menu when the grab is broken.

	* gtk/gtkcolorsel.c (gtk_color_selection_grab_broken): Stop 
	the color picker if the grab is broken.

	* gtk/gtkpaned.c (gtk_paned_grab_broken): Stop the drag if
	the grab is broken.

1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624
2005-06-25  Matthias Clasen  <mclasen@redhat.com>

	Add some new stock items.  (#166480, Kristof Vansant)
	
	* gtk/stock-icons/stock_fullscreen_16.png: 
	* gtk/stock-icons/stock_fullscreen_24.png: 
	* gtk/stock-icons/stock_leave_fullscreen_16.png: 
	* gtk/stock-icons/stock_leave_fullscreen_24.png: 
	* gtk/stock-icons/stock_info_16.png: 
	* gtk/stock-icons/stock_info_24.png: New icons.

	* gtk/stock-icons/Makefile.am: Add new icons.

	* gtk/gtkstock.h: Define names for the new icons.

	* gtk/gtkstock.c (builtin_items): Register new stock items.
	
	* gtk/gtkiconfactory.c (get_default_icons): Register new 
	stock icons.

1625 1626 1627 1628 1629 1630 1631
2005-06-24  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkrgb.c (gdk_rgb_select_conv): Fix up selection of
	conversion functions for MSB machines: convert_0888[_br]
	now work on bytes so are endian independent. 
	(Reported by David Zeuthen)

1632 1633 1634 1635
2005-06-24  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktextview.c (gtk_text_view_scroll_hpages): Don't
	jump to the next line if we are at the end of the line.  
1636 1637
	(gtk_text_view_move_cursor_internal): Make movement by
	paragraphs up/down symmetric.  (#307055, Behnam Esfahbod)
1638

1639 1640 1641 1642
2005-06-23  Tor Lillqvist  <tml@novell.com>

	Improve and simplify line segment rendering on Win32, especially
	the implementation of GDK_CAP_NOT_LAST, and dashed lines. Fixes
Tor Lillqvist's avatar
Tor Lillqvist committed
1643
	bugs #306396 and #308413.
1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682

	* gdk/win32/gdkprivate-win32.h (GdkGCWin32): Save the GdkGC's
	line_style, cap_style and join_style as such in the
	GdkGCWin32. Don't need to keep the pen_double_dash flag, we can
	check the line_style.

	* gdk/win32/gdkgc-win32.c (fixup_pen): New internal function. Sets
	up the GDI pen type, style, end cap and join attributes to use
	based on the pen width, GDK line style, end cap style, and join
	style.

	For a narrow (zero-width) GDK pen with the GDK_CAP_NOT_LAST end
	cap style, which typically are used for XOR drawing where it is
	essential that the last pixel is not drawn, use a GDI cosmetic
	pen. Only for a cosmetic pen does GDI not draw the last pixel. I
	deduced this by experimetation, the documentation is rather vague.

	For other GDK pens use a geometric GDI pen. If the width is 0 or 1
	and the GDK end cap style is GDK_CAP_BUTT, and the line style is
	GDK_LINE_SOLID, use PS_ENDCAP_ROUND. This ensures that also
	single-pixel length lines are drawn. (For sngle-pixel width lines
	roundness as such is of course irrelevant.) For dashed lines, use
	PS_ENDCAP_FLAT.

	For wide lines use PS_ENDCAP_FLAT, _ROUND or _SQUARE,
	respectively, for GDK_CAP_BUTT, GDK_CAP_ROUND and GDK_CAP_PROJECTING.

	For one pixel on-off dashed lines, use PS_ALTERNATE, it seems to
	work better than PS_USERSTYLE. For other dashed lines, use
	PS_USERSTYLE and the dashes as set by the user (or the default
	four-pixel on-off style).

	(gdk_win32_gc_values_to_win32values, gdk_win32_gc_set_dashes):
	Call fixup_pen() to do the pen settings after modifying some of
	the GDK GC attributes that affect pens.

	* gdk/win32/gdkdrawable-win32.c (render_line_horizontal,
	render_line_vertical, draw_segments): Check GdkGCWin32::line_style
	instead of the the removed pen_double_dash member. Don't use
Tor Lillqvist's avatar
Tor Lillqvist committed
1683
	PATCOPY unconditionally in the PatBlt() call, use a raster op
1684 1685 1686 1687 1688 1689 1690 1691 1692
	code that depends on the GC function in use.

	(draw_rectangle, draw_segments, draw_lines): Be more careful in
	deciding when to do the manual dash rendering.

	(draw_segments): Don't do any manual "last point" drawing at
	all. The above changes takes care of narrow line segments being
	drawn correctly in most cases, at least on NT-based Windows.

1693 1694
2005-06-23  Matthias Clasen  <mclasen@redhat.com>

1695 1696 1697 1698
	* gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_folder): 
	Fix an error in the cache timeout logic.  (#166601, Morten
	Welinder)

1699 1700 1701 1702 1703
	* gtk/gtktreeview.c (gtk_tree_view_key_press): Change the
	keynav for header reordering and resizing to Alt-arrows and
	Shift-Alt-arrows, following a proposal by the keynav 
	authority. (#308666, Calum Benson)

1704 1705 1706
	* gtk/gtkiconcache.c (_gtk_icon_cache_new_for_path): Remove
	a leftover debugging envvar.  

1707 1708 1709 1710 1711 1712
2005-06-23  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkcairo.c (gdk_cairo_set_source_pixbuf): Fix the
	big endian case for 3-channel source. (Reported by
	David Zeuthen)

1713 1714
2005-06-23  Matthias Clasen  <mclasen@redhat.com>

1715 1716 1717 1718
	* gtk/gtkbutton.c (gtk_button_construct_child): Don't
	trigger warnings if there are extra references to the
	hbox.  (#308677, Dan Winship)

1719 1720 1721
	* gtk/gtkfilesystemunix.c (bookmark_list_write): Use
	g_file_set_contents().  (#308722, Morten Welinder)

1722 1723
2005-06-22  Matthias Clasen  <mclasen@redhat.com>

1724 1725 1726
	* gdk/x11/gdkdnd-x11.c (xdnd_finished_filter): Set the
	time field in the event.  (#308573, Morten Welinder)

1727 1728 1729 1730
	* gtk/gtkfilesystemunix.c: Remove gratitious differences
	between the stable branch and HEAD, which sneaked in with
	the bookmark renaming.  

1731 1732 1733 1734 1735
2005-06-22  Kjartan Maraas  <kmaraas@gnome.org>

	* gtk/gtkhsv.c: (gtk_hsv_expose): Don't leak the cairo context
	Closes bug #308581.

1736 1737 1738 1739 1740 1741 1742 1743 1744
2005-06-21  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkarrow.c:
	* gtk/gtkimage.c:
	* gtk/gtklabel.c:
	* gtk/gtkpixmap.c: Modify all of the GtkMisc widgets to round down
	on centering calculations to match the behaviour of other parts
	of GTK+. (#307419, Ryan Lortie)

1745 1746
2005-06-21  Matthias Clasen  <mclasen@redhat.com>

1747 1748 1749 1750
	* gtk/gtkdnd.c (gtk_drag_source_set): Connect to 
	button-release-event as well, to handle touchscreen 
	scenarios better.  (#171490, Markku Vire)

1751 1752
	* gtk/*.h: Trivial cleanups. (#169647, #303455, 
	Fabricio Barros Cabral, Benoit Carpentier)
1753

1754 1755 1756 1757 1758 1759
	* gdk/gdk.symbols: 
	* gdk/gdkwindow.h: 
	* gdk/x11/gdkgeometry-x11.c (gdk_window_move_region): New
	function which can be used to implement scrolling in 
	non-window widgets.  (#135165, Søren Sandmann)

1760 1761 1762 1763 1764
2005-06-20  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkiconcache.c: Handle MAP_FAILED.  (#308449, Georg
	Schwarz)

Matthias Clasen's avatar
2.7.0  
Matthias Clasen committed
1765 1766
2005-06-20  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
1767 1768
	* configure.in: Bump version number.

Matthias Clasen's avatar
2.7.0  
Matthias Clasen committed
1769 1770
	* === Released 2.7.0 ===

1771 1772 1773 1774 1775 1776 1777
2005-06-20  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk.symbols:
	* gtk/gtkwindow.h:
	* gtk/gtkwindow.c (gtk_window_present_with_time): Variant of
	gtk_window_present which takes a timestamp.  (#166379, Elijah Newren)

Matthias Clasen's avatar
Matthias Clasen committed
1778
2005-06-19  Matthias Clasen  <mclasen@redhat.com>
Matthias Clasen's avatar
Matthias Clasen committed
1779 1780
	
	* gtk/gtk.symbols: Add a forgotten symbol
Matthias Clasen's avatar
Matthias Clasen committed
1781 1782 1783

	* NEWS: Updates

1784 1785 1786 1787 1788 1789
2005-06-19  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_clamp_node_visible): added a
	check which avoids processing updates on bin_window and scrolling
	if the node is already visible. (#170600, Billy Biggs).

1790 1791 1792 1793 1794 1795
2005-06-19  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (validate_visible_area): only keep the
	row at the same position if the full row is visible. (#304623,
	Jorn Baayen).

1796 1797 1798 1799 1800 1801
2005-06-19  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_size_allocate): set dy to zero
	if treeview's height is smaller than the current page_size (just
	like we do elsewhere).

1802 1803 1804 1805 1806 1807 1808 1809 1810
2005-06-19  Kristian Rietveld  <kris@gtk.org>

	Make mousewheel scrolling possible in typeahead mode, suggestion
	from Reinout van Schouwen (#307898).

	* gtk/gtktreeview.c (gtk_tree_view_ensure_interactive_directory):
	connect treeview search window to scroll_event signal,
	(gtk_tree_view_search_scroll_event): implement.

1811 1812 1813 1814 1815 1816
2005-06-19  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_search_button_press_event): pass
	the event on to treeview, so it has a change of selecting a row, etc.
	(#169677, Kirk Bridger).

1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833
2005-06-19  Kristian Rietveld  <kris@gtk.org>

	This commit includes a fix for #169463, Stefan Kost.

	* gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_get_size):
	when cell_area is set, return cell_area width/height as width/height,
	so the focus rectangle will be drawn correctly.

	* gtk/gtktreeview.c (gtk_tree_view_bin_expose): drop unneeded get
	of focus-line-width property,
	(validate_row): take focus_line_width into account.

	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
	also take focus_line_width into account when calculating the cell_area
	y and height (before, we only took it into account when calculating
	x and width).

1834 1835 1836 1837 1838 1839
2005-06-19  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk.symbols:
	* gtk/gtksizegroup.[hc]: Add an ignore-hidden property
	with getter and setter.  (#171612, Christian Neumair)

1840 1841
2005-06-18  Matthias Clasen  <mclasen@redhat.com>

1842 1843 1844 1845 1846 1847 1848
	* gtk/gtkuimanager.c (gtk_ui_manager_add_ui): Make this 
	work for inserting before/after an existing menuitem or
	toolitem.  (#155946, Christian Persch)

	* tests/testmerge.c (delayed_toggle_dynamic): Test the 
	"insert after" functionality of gtk_ui_manager_add_ui.

1849
	* gtk/gtkuimanager.c: Allow to construct menu tool buttons.
Matthias Clasen's avatar
Matthias Clasen committed
1850 1851
	(#300678, Sven Neumann)
	
1852 1853 1854
	* demos/gtk-demo/appwindow.c: Demonstrate menu tool buttons
	constructed with GtkUIManager.

1855 1856 1857 1858 1859
	* gtk/gtk.symbols: 
	* gtk/gtkimage.h: 
	* gtk/gtkimage.c (gtk_image_clear): Make this function
	public.  (#64792, Havoc Pennington)

1860 1861 1862 1863 1864 1865 1866
2005-06-18  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_bin_expose): undo merging
	of the separate loop setting cell data with cell drawing loop
	(introduced in revision 1.280), since this breaks focus handling
	wrt special cells.

1867 1868 1869 1870 1871 1872 1873 1874 1875
Sat Jun 18 04:22:51 2005  Manish Singh  <yosh@gimp.org>

	* gdk/gdkcursor.h: remove GDK_CURSOR and GDK_IS_CURSOR, instance
	checks don't work on boxed types.

	* gdk/x11/gdkcursor-x11.c: 
	* gdk/gdkcursor.c: make return_if_fail checks != NULL instead of
	GDK_IS_CURSOR.
	
1876 1877 1878 1879 1880
Sat Jun 18 04:21:58 2005  Manish Singh  <yosh@gimp.org>

	* gtk/gtktreeview.c (do_presize_handler): remove unused variable
	height_old.

Matthias Clasen's avatar
Matthias Clasen committed
1881 1882
2005-06-18  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
1883 1884 1885 1886
	* gtk/gtkcellrenderertoggle.c:
	* gtk/gtktextview.c:
	* gtk/gtktreeview.c: Typo fixes in comments.

Matthias Clasen's avatar
Matthias Clasen committed
1887 1888 1889
	* gtk/gtkpaned.c (gtk_paned_add): Barf if more than
	2 children are added.  (#308111, Morten Welinder)

Matthias Clasen's avatar
Matthias Clasen committed
1890 1891 1892
	* gtk/gtkcalendar.c (gtk_calendar_init): _NL_FIRST_WEEKDAY is
	1-based.  (#163842, Pierre Ossman)

1893 1894 1895 1896 1897 1898 1899 1900 1901
2005-06-17  Kristian Rietveld  <kris@gtk.org>

	Fix #160281, testcase from Peter Bloomfield.

	* gtk/gtktreeview.c (do_presize_handler): always size request
	and update adjustments in fixed height mode,
	(gtk_tree_view_build_tree): if a fixed height is set, set this
	height on newly added nodes.

1902 1903 1904 1905 1906 1907 1908
2005-06-17  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkdnd-win32.c (gdk_dropfiles_filter): Set the actions
	and suggested_action fields in the GdkDragContext to
	GDK_ACTION_COPY. Otherwise apps that check the suggested_action
	field, like eog, won't accept dropped files.

1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927
2005-06-17  Matthias Clasen  <mclasen@redhat.com>

	Support the ICCCM urgency hint.  (#61858, Havoc Pennington)
	
	* gtk/gtk.symbols: 
	* gtk/gtkwindow.[hc]: Add a GtkWindow::urgency-hint property
	with getter and setter.

	* gdk/gdk.symbols: 
	* gdk/gdkwindow.h: 
	* gdk/x11/gdkwindow-x11.c (gdk_window_set_urgency_hint): 
	Add a setter for the urgency hint.

	* gdk/x11/gdkwindow-x11.h (struct _GdkToplevelX11): Store
	urgency hint here.

	* gdk/x11/gdkwindow-x11.c (update_wm_hints): Set the urgency
	hint in the WM_HINTS property when appropriate.

1928 1929
2005-06-17  Matthias Clasen  <mclasen@redhat.com>

1930 1931
	* gdk/gdkcursor.h: Define GDK_IS_CURSOR() and GDK_CURSOR().

1932 1933 1934 1935 1936 1937
	* gdk/x11/gdkcursor-x11.c: 
	* gdk/gdkcursor.c: Improve some return_if_fail checks,
	and add the missing non-Xcursor fallback for 
	_gdk_x11_cursor_update_theme(), noticed by Jeroen 
	Zwartepoorte.

1938 1939 1940
	* gtk/gtkbutton.c (gtk_button_class_init): Document
	several button signals as not useful.

1941 1942 1943
	* gtk/gtkentrycompletion.c (gtk_entry_completion_complete): 
	Resize the popup if necessary.  (#308076, Vincent Noel)

1944 1945 1946 1947
	* gtk/gtkwindow.c (gtk_window_real_set_focus): Queue a
	draw on the old and new focus widgets, if their defaultness
	changes.  (#305607, Billy Biggs)

1948 1949 1950 1951 1952 1953
2005-06-17  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (validate_visible_area): make sure the row
	above 'above_path' is always in a validated state, so it does
	not mess up scrolling. (#303319, testcase from Billy Biggs).

1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970
2005-06-17  Matthias Clasen  <mclasen@redhat.com>

	* gdk/x11/gdkprivate-x11.h: 
	* gdk/x11/gdkcursor-x11.c: Handle cursor theme changes
	for cached cursors which are not associated with a window
	at the time of the theme change, by storing a serial
	number in each cursor, and updating the theme_serial 
	counter whenever the cursor theme changes.
	
	* gdk/x11/gdkcursor-x11.c (_gdk_x11_cursor_update_theme): 
	Private function to update a cursor to the current
	cursor theme if necessary.

	* gdk/x11/gdkmain-x11.c (gdk_pointer_grab): 
	* gdk/x11/gdkwindow-x11.c (gdk_window_set_cursor): Call
	_gdk_x11_cursor_update_theme() here.

1971 1972 1973 1974 1975
2005-06-17  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkcairo.c (gdk_cairo_set_source_pixbuf): Fix
	#if G_BYTE_ORDER == GDK_LSB_FIRST.

1976 1977 1978 1979 1980 1981 1982 1983 1984
2005-06-17  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (validate_visible_area): don't try to update
	the top_row rowref ourselves here, but just have _dy_to_top_row()
	do it,
	(gtk_tree_view_scroll_to_cell): handle scrolling via
	validate_visible_area() if the treeview is not visible or needs
	reallocation. (#165246, Nickolay V. Shmyrev).

1985 1986 1987 1988 1989 1990 1991 1992 1993
2005-06-17  Kristian Rietveld  <kris@gtk.org>

	Fixes #307914 (Alexander Larsson), fixing some breakage caused
	by my previous commit.

	* gtk/gtktreeview.c (validate_visible_area): force dy to be zero
	when it fits on a single page,
	(scroll_sync_handler): same here.

Manish Singh's avatar
Manish Singh committed
1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006
Thu Jun 16 15:33:42 2005  Manish Singh  <yosh@gimp.org>

	* gdk/x11/gdkcursor-x11.c (update_cursor): remove unused variable.

	* gdk/x11/gdkwindow-x11.c (_gdk_x11_window_get_cursor): use
	g_return_val_if_fail.

	* gtk/gtkdnd.c (gtk_drag_get_cursor): initialize hot_x and hot_y
	for all cases.

	* gtk/gtkfilechooserdefault.c (button_new): gtk_button_set_image
	takes a GtkWidget, not a GtkImage.

2007 2008
2005-06-16  Matthias Clasen  <mclasen@redhat.com>

2009 2010 2011 2012
	* gtk/gtkfilechooserdefault.c (button_new): Simplify
	the code and respect the show-button-images setting.
	(#307941, Vincent Noel)

2013 2014 2015 2016
	* gtk/gtkdnd.c: Update the RGBA cursor if an
	icon is set after the cursor has been constructed.
	Also handle repeated setting of icons correctly.

2017 2018 2019 2020 2021
2005-06-16  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkbutton.c (gtk_button_set_image): Add some more
	docs.  (#307818, Christian Persch)

Matthias Clasen's avatar
Matthias Clasen committed
2022 2023 2024