ChangeLog.pre-2-10 306 KB
Newer Older
1 2
2006-08-15  Matthias Clasen  <mclasen@redhat.com>

3 4 5 6 7 8
	* gdk/x11/gdkdrawable-x11.c (get_shm_pixmap_for_image): Don't
	leak ShmPixmapInfo.  (#349858, Chris Wilson)

	* gtk/Makefile.am (GTK_PRINT_PREVIEW_COMMAND): Call evince
	with the --preview option.  (#350139, Carlos Garcia Campos)

9 10 11
	* modules/printbackends/cups/gtkprintbackendcups.c (create_pickone_option): 
	Simplify, make it build against cups 1.1.  (#350329)	

12 13 14
	* gtk/gtkliststore.c (gtk_list_store_insert_with_values): 
	Fix a typo in the docs.  (#349501, Carlos GUSLiBu)

15 16 17 18 19 20
	* gtk/gtkcolorsel.c (palette_paint): Remove a leftover
	debug statement. (#350072, Iago Rubio)

	* gtk/gtktextbufferserialize.c (check_id_or_name): Fix
	warning text.  (#349277)

21 22 23 24
	* gtk/gtknotebook.c (gtk_notebook_enter_notify): Remove.
	(gtk_notebook_motion_notify): Instead, update the arrow
	state here.  (#349570, Benjamin Otte)

25 26 27 28
	* gdk/x11/gdkwindow-x11.c (gdk_window_get_geometry_hints):
	Use XAllocSizeHints to allocate the XSizeHints struct.
	(#249285, David Baron)

29 30 31 32 33 34
	* gdk/x11/gdkdnd-x11.c (gdk_window_register_dnd):
	* gdk/x11/gdkwindow-x11.c (gdk_window_set_decorations):
	(gdk_window_set_functions): Zero out some stack-allocated
	X structures, to avoid valgrind warnings about uninitialized
	memory.  (#349382, David Baron)

35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
2006-08-14  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkrecentchooser.c:
	(gtk_recent_chooser_add_filter),
	(gtk_recent_chooser_remove_filter),
	(gtk_recent_chooser_set_filter): Add a check on the
	filter argument, instead of blindly passing it to
	underlying implementation.

	* gtk/gtkrecentchoosermenu.c:
	(gtk_recent_chooser_menu_add_filter),
	(gtk_recent_chooser_menu_remove_filter),
	(gtk_recent_chooser_menu_list_filters): Implement
	these GtkRecentChooser methods, by setting and
	returning the only GtkRecentFilter object supported
	by a GtkRecentChooserMenu. (#347856, reported by Rod
	Butcher)

53 54
2006-08-14  Matthias Clasen  <mclasen@redhat.com>

55 56 57 58
	* gtk/gtkcombobox.c (gtk_combo_box_remove): Null the
	cell_view pointer if the internal cell view is removed. 
	(#348828, Rolando Espinoza La Fuente)

59 60 61
	* gtk/gtkentry.c (gtk_entry_drag_data_received): Don't leak
	in the non-editable case.  (#350258, Colin Leroy)

62 63 64 65 66 67 68 69 70
2006-08-10  Michael Emmel  <mike.emmel@gmail.com>

	* gdk/directfb/gdkdrawable-directfb.c
	Remove gdk_directfb_update_region and calls 
	* gdk/directfb/gdkwindow-directfb.c
	Code cleanup 
	* gdk/directfb/gdkgeometry-directfb.c
	Fix scroll call to use region

71 72 73 74 75 76 77 78 79 80 81 82
2006-08-10  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkrecentchoosermenu.c:
	(gtk_recent_chooser_menu_finalize): Remove the idle
	source in ::finalize...
	
	(idle_populate_func),
	(idle_populate_clean_up): ...and reset the idle source
	id at the end of the idle loop while we hold the GDK mutex
	lock. (#350605, reported by Wouter Bolsterlee, patch by
	Chris Wilson)

83 84 85 86 87 88 89 90 91 92 93 94 95
2006-08-10  Michael Natterer  <mitch@imendio.com>

	* gdk/quartz/gdkwindow-quartz.c
	(gdk_window_maximize)
	(gdk_window_unmaximize)
	(gdk_window_iconify)
	(gdk_window_deiconify): don't try to set the state of unmapped
	windows, call gdk_synthesize_window_state() instead. Also added
	autorelease pools back, seems they are needed after all.

	* gdk/quartz/gdkwindow-quartz.c (show_window_internal): maximize
	and iconify windows here if the state says so.

96 97 98 99 100
2006-08-09  Michael Natterer  <mitch@imendio.com>

	* gdk/quartz/gdkwindow-quartz.c (gdk_window_set_geometry_hints):
	implement MIN_SIZE, MAX_SIZE and RESIZE_INC.

101 102 103 104
2006-08-08  Richard Hult  <richard@imendio.com>

	* gtk/gtkdnd-quartz.c: Implement get/set_track_motion.
	
105 106 107 108 109
2006-08-08  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkevents-quartz.c: (poll_func): Whitespace cleanup.	 
	(synthesize_crossing_events): Add comments and prevent a crash.

Michael Natterer's avatar
Michael Natterer committed
110 111 112 113 114 115 116 117 118
2006-08-08  Michael Natterer  <mitch@imendio.com>

	* gdk/quartz/gdkwindow-quartz.c
	(gdk_window_maximize)
	(gdk_window_unmaximize): implement.

	(gdk_window_iconify)
	(gdk_window_deiconify): remove unneeded autorelease pools.

119 120 121 122 123 124 125 126 127 128 129 130 131 132 133
2006-08-08  Richard Hult  <richard@imendio.com>

	* gdk/quartz/GdkQuartzView.c: Just expose the minimal region 
	instead of the whole rect.

	* gdk/quartz/gdkwindow-quartz.c:
	(gdk_window_quartz_process_all_updates), (gdk_window_update_idle),
	(gdk_window_impl_quartz_invalidate_maybe_recurse),
	(gdk_window_impl_quartz_process_updates),
	(_gdk_windowing_window_destroy): Rework the expose handling so that
	it works like the X11 backend, using an idle with the right
	priority instead of relying on quartz to do it.
	(gdk_window_set_type_hint): Use tornoff instead of submenu as the
	documentation (and Mitch) suggests.

134 135 136 137 138 139 140 141 142 143 144 145 146 147
2006-08-08  Michael Natterer  <mitch@imendio.com>

	* gdk/quartz/gdkdrawable-quartz.c: some whitespace and indentation
	cleanup.

	(gdk_quartz_draw_rectangle)
	(gdk_quartz_draw_arc)
	(gdk_quartz_draw_polygon)
	(gdk_quartz_draw_points): for pixel-prefect drawing, stroked
	coordinates need to go through pixel centers, while filled ones
	need to go along pixel boundaries. Moved +0.5 adjusting to the
	if(!filled) branches and added/removed some adjustments where they
	were wrong.

148 149 150 151 152 153
2006-08-07  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkdrawable-quartz.c (gdk_quartz_draw_points): Don't
	get and release the context for each point, just once, speeds up
	drawing many points a lot.

154 155 156 157 158 159 160 161
2006-08-07  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkdnd-quartz.c (gtk_drag_dest_unset): need to disconnect
	from signals connected in gtk_drag_dest_set() here.

	* gtk/gtkdnd-quartz.c (gtk_drag_dest_set): call gtk_drag_dest_unset()
	instead of disconnecting the old signal connections here.

162 163 164 165 166 167 168 169 170 171 172 173 174 175
2006-08-07  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkrecentchooserdefault.c:
	(_gtk_recent_chooser_default_init): Show non existing
	resources by default.
	(recent_meta_data_func): Do not mark non existing
	resources as insensitive.

	* gtk/gtkrecentchoosermenu.c:
	(gtk_recent_chooser_menu_init): Show non existing
	resources by default.
	(gtk_recent_chooser_menu_create_item): Do not mark
	non existing resources as insensitive.

176 177
2006-08-06  Matthias Clasen  <mclasen@redhat.com>

178 179 180
	* gdk/x11/gdkkeys-x11.c (gdk_keymap_x11_finalize): Free
	all XKB data. (#349997, Chris Wilson)

181 182 183 184
	* gtk/gtkstyle.c (option_menu_get_props): Only get the
	indicator-size and indicator-spacing style properties
	for GtkOptionMenu.  (#349859, Benjamin Otte)

185 186 187 188 189 190
	* gtk/gtktreeview.c (gtk_tree_view_set_grid_lines) 
	(gtk_tree_view_set_enable_tree_lines): Be more careful
	when creating gcs, also emit change notification.
	(gtk_tree_view_unrealize): Free the gcs here.  (#349834,
	Chris Wilson)

191 192 193 194 195 196
	* gtk/gtkcalendar.c (calendar_start_spinning, calendar_timer): 
	Use G_PRIORITY_DEFAULT_IDLE for the month/year-change timer,
	so that the caller will have a chance to redraw/resize itself
	between every change.  (#348824, Federico Mena Quintero, patch
	by Michael Meeks)
	
197 198 199
	* gtk/gtkfontbutton.c (gtk_font_button_update_font_info): 
	Add a missing initialization.  (#348787, Leonardo Boshell)
	
200 201 202
	* configure.in: Use $PKG_CONFIG consistently.  (#348740,
	Jeremy Lainé)
	
203 204 205
	* gtk/gtknotebook.c (gtk_notebook_drag_motion): Don't allow
	dragging a notebook tab to one of its children.  (#348626,
	Benjamin Otte)
206 207
	(gtk_notebook_drag_motion): Don't accept drops on 
	arrows.  (#348706, Benjamin Otte)
208 209 210

	* tests/testnotebookdnd.c: Test more corner cases.

211 212
2006-08-05  Matthias Clasen  <mclasen@redhat.com>

213 214 215
	* docs/tutorial/gtk-tut.sgml: Remove outdated lists of
	authors and maintainers.  (#348538, Owen Taylor)

216 217 218 219 220 221 222 223 224
	* gtk/gtkentry.c:
	* gtk/gtkentryprivate.h: Export gtk_entry_reset_im_context
	privately.
	
	* gtk/gtkentrycompletion.c (gtk_entry_completion_action_button_press): 
	* gtk/gtkentry.c (gtk_entry_completion_key_press): Reset the
	entry's im context here.  (#348478, Nguyen Thai Ngoc Duy, Christian
	Persch) 

225 226 227 228
	* gtk/gtktextview.c (gtk_text_view_style_set): Create new
	PangoContexts and set them on the layout, to catch changes in
	font options.  (#348278, Behdad Esfahbod)

229 230 231
	* gtk/gtkstyle.c (gtk_default_draw_flat_box): Add a 
	missing initialization.  (#349863, Benjamin Berg)

232 233 234 235
	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder): 
	Protect against tree_view being NULL.  (#348652, Patrick K. O'Brian,
	Chris Wilson)

236 237 238 239 240 241 242 243 244 245 246 247 248 249
2006-08-03  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkrecentchoosermenu.c:
	(set_recent_managet), (gtk_recent_chooser_menu_populate),
	(idle_populate_func), (idle_populate_clean_up),
	(manager_changed_cb): Lazily populate the menu when creating
	it and after the manager emits the "changed" signal; this
	fixes the initial bad placing of the GtkRecentChooserMenu
	widget when its set as the menu of a GtkMenuToolButton.

	(gtk_recent_chooser_menu_map),
	(gtk_recent_chooser_menu_class_init): Remove the ::map method
	override, since it's not needed anymore.

250 251 252 253 254 255 256
2006-08-03  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkrc.c (gtk_rc_parse_assignment): reset scanner config to
	default values while checking if an expression(foobar) follows,
	because if no expression follows the scanner's "next token" must
	be usable for the caller of this function (fixes bug #349552).

257 258 259 260 261
2006-08-03  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkstyle.c: removed the "widget &&" part from
	"widget && GTK_IS_FOO (widget)" checks.

262 263 264 265 266
2006-07-13  Michael Emmel  <mike.emmel@gmail.com>

	* gdk/directfb/gdkwindow-directfb.c
	Remove unused call to GetPosition 

267 268 269 270 271 272 273
2006-07-31  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkdrawable-quartz.c: (gdk_quartz_draw_drawable):
	* gdk/quartz/gdkwindow-quartz.c:
	(gdk_window_impl_quartz_begin_paint_region): Patch from Erik van
	Pienbroek to implement drawing bg_pixmaps (#348145).

274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298
2006-07-29  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkcolor-quartz.c (gdk_colormap_alloc_colors): Always
	set success to TRUE.
	(gdk_color_change): Implement.

	* gdk/quartz/GdkQuartzWindow.c
	([GdkQuartzWindow -canBecomeKeyWindow]): Add comment.

	* gdk/quartz/gdkevents-quartz.c (gdk_screen_get_setting): Make the
	default font a bit smaller until we have made this get the system
	setting.

	* gdk/quartz/gdkwindow-quartz.c (gdk_window_set_type_hint): Enable
	shadows for the right window types.

	* gdk/quartz/gdkprivate-quartz.h:
	* gdk/quartz/gdkgc-quartz.c:
	* gdk/quartz/gdkdrawable-quartz.c:
	* gdk/quartz/gdkcolor-quartz.c: Expose the CGContext functions,
	update callers.

	* gdk/quartz/gdkmain-quartz.c: (_gdk_windowing_init): No need to
	get the current process ID, use the right constant instead.

299 300 301 302 303 304
2006-07-28  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkrecentmanager.c (gtk_recent_manager_init): Add the
	timeout for polling the file; change the default polling
	delta to 2000 msec.

305 306 307 308 309 310 311
2006-07-27  Michael Natterer  <mitch@imendio.com>

	* gdk/x11/gdkwindow-x11.c (gdk_window_get_type_hint): cast the
	return value of XGetWindowProperty() correctly so we don't return
	garbage type hints. Pointed out by Tommi Komulainen, patch taken
	from https://maemo.org/bugzilla/show_bug.cgi?id=724

Matthias Clasen's avatar
Matthias Clasen committed
312 313 314 315 316 317
2006-07-27  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtksettings.c (gtk_settings_finalize): Move the
	_gtk_rc_context_destroy call to the right spot.  (#348096,
	Chris Wilson)

318 319 320 321 322
2006-07-24  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkevents-quartz.c (gdk_screen_get_setting): Implement
	getting the double click threshold.

Richard Hult's avatar
Richard Hult committed
323
2006-07-24  Richard Hult  <richard@imendio.com>
Richard Hult's avatar
Richard Hult committed
324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342

	* gdk/quartz/gdkwindow-quartz.c (gdk_window_set_type_hint): Set the
	window level depending on the type hint.

	* gdk/quartz/gdkevents-quartz.c (gdk_keyboard_grab,
	pointer_ungrab_internal): Only break the grab if the new window is
	a different one.
	(gdk_event_translate): Catch the case where the entire app loses 
	focus and break any grabs. Only do implicit grabs when the event
	mask has both press and release.

	* gdk/quartz/gdkkeys-quartz.c (translate_keysym):
	* gdk/quartz/gdkselection-quartz.c:

        * gdk/quartz/GdkQuartzWindow.c
	([GdkQuartzWindow -windowDidResignKey:]): Use this to update the
	focus window instead of resignMain, fixes the case where other apps
	uses focus follows mouse (like the terminal can).

Matthias Clasen's avatar
Matthias Clasen committed
343
2006-07-23  Matthias Clasen  <mclasen@redhat.com>
Matthias Clasen's avatar
Matthias Clasen committed
344 345

	* configure.in: Bump version
Matthias Clasen's avatar
Matthias Clasen committed
346 347 348 349 350 351 352
	
	* === Released 2.10.1 ===

	*  NEWS: Updates

	* gtk/gtkstyle.c (gtk_default_draw_box_gap): Draw
	gaps on the left/right properly.  (#348134, Benjamin Otte)
Matthias Clasen's avatar
Matthias Clasen committed
353 354 355 356

	* gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
	Fix a memory leak.  (#348424, Carlos Garcia Campos)

357 358 359 360 361 362 363 364 365 366
2006-07-21  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkrc.h:
	* gtk/gtkrc.c (_gtk_rc_context_destroy): New function to
	destroy an rc context.

	* gtk/gtksettings.c (gtk_settings_finalize): Destroy the rc context.
	(gtk_settings_get_for_screen): Unref the settings when the screen
	goes away. (#348096, Chris Wilson)

Richard Hult's avatar
Richard Hult committed
367 368 369 370 371 372 373 374 375
2006-07-21  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkgc-quartz.c: (gdk_quartz_gc_get_values),
	(gdk_quartz_gc_set_values), (_gdk_windowing_gc_copy),
	(gdk_gc_get_screen): Implement.

	* gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_back_pixmap):
	Implement.

376 377 378 379 380
2006-07-21  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkimcontextsimple.c (gtk_im_context_simple_get_preedit_string): 
	0-terminate outbuf in all cases.  (#348227, Nguyen Thái Ngoc Duy)

381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397
2006-07-21  Michael Natterer  <mitch@imendio.com>

	Enable symbolic colors and color expressions in style
	properties. Fixes bug #346751.

	* gtk/gtkrc.c (rc_parse_token_or_compound): add GtkRcStyle
	parameter and replace symbolic colors by color constants.

	(gtk_rc_parse_assignment): likewise. Also support parsing of
	expressions of the form identifier(compound).

	(gtk_rc_parse_style): pass the GtkRcStyle to
	gtk_rc_parse_assignment().

	(gtk_rc_parse_statement): pass NULL since we don't have a
	GtkRcStyle here.

398 399 400 401 402
2006-07-21  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkentrycompletion.c (gtk_entry_completion_finalize):
	remove accidential 2nd parameter to g_object_unref().

403 404
2006-07-21  Matthias Clasen  <mclasen@redhat.com>

405 406 407
	* gtk/gtkentrycompletion.c (gtk_entry_completion_finalize):
	Don't leak the action_view.  (#348120, Chris Wilson)

Matthias Clasen's avatar
Matthias Clasen committed
408 409 410
	* gtk/gtknotebook.c (gtk_notebook_paint): Improve drawing
	of tabs while reordering.  (#348115, Benjamin Otte)

Matthias Clasen's avatar
Matthias Clasen committed
411 412 413
	* gtk/gtkiconview.c (gtk_icon_view_destroy): Don't
	leak the adjustments.  (#348094, Chris Wilson)

414 415 416 417
	* gtk/gtknotebook.c (gtk_notebook_stop_reorder): Unset
	the during_reorder flag.  (#348049, Sven Herzberg, patch
	by Benjamin Otte)

Matthias Clasen's avatar
Matthias Clasen committed
418 419
2006-07-20  Matthias Clasen  <mclasen@redhat.com>

420 421 422
	* gtk/gtkmenu.c (gtk_menu_destroy): Just remove the scroll
	timeout here, don't access settings.  (#348095, Chris Wilson)

423 424 425
	* gtk/gtktextlayout.c (gtk_text_layout_set_contexts): Fix
	messed up refcounting.  (#348090, Chris Wilson)

Matthias Clasen's avatar
Matthias Clasen committed
426 427 428 429 430 431 432 433
	* gtk/gtkicontheme.h: 
	* gtk/gtkicontheme.c (_gtk_icon_theme_ensure_builtin_cache): 
	Export this privately.

	* gtk/gtkiconfactory.c (render_fallback_image): And call it
	here to initialize the builtin cache before using it.  (#348063,
	Diego Pettenò)

434 435 436 437 438 439 440 441
2006-07-19  Federico Mena Quintero  <federico@novell.com>

	* tests/autotestfilechooser.c (test_black_box): Argh, initialize
	"passed"!
	(set_filename_timeout_cb): Renamed from timeout_cb().
	(test_confirm_overwrite): New function, test confirmation before
	overwriting a file in SAVE mode.

442 443 444 445 446
2006-07-20  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkrecentchoosermenu.c (gtk_recent_chooser_menu_finalize):
	fix typo to make it compile again.

447 448 449 450 451 452
2006-07-20  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkrecentchoosermenu.c:
	(gtk_recent_chooser_menu_finalize): Correctly chain up the
	finalization vfunc. (#348089, Chris Wilson)

453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475
2006-07-20  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkevents-quartz.c: (generate_grab_broken_event):
	Append the event to the queue instead of using gdk_event_put.
	(_gdk_quartz_get_mouse_window, find_current_keyboard_window):
	Handle grabs.
	(get_event_mask_from_ns_event, create_focus_event)
	(convert_window_coordinates_to_root, find_window_for_event)
	(gdk_event_translate): Improve readability (style changes).
	(gdk_flush, gdk_display_sync, gdk_display_flush)
	(gdk_event_send_client_message_for_display),
	(gdk_screen_broadcast_client_message): Remove FIXMEs.	
	(gdk_screen_get_setting): Reindent.
	Also move find_child_window_by_point to gdkwindow-quartz.c.
	
	* gdk/quartz/gdkwindow-quartz.c:
	(find_child_window_by_point_helper),
	(_gdk_quartz_find_child_window_by_point): Move here from 
	gdkevents-quartz.c
	(_gdk_windowing_window_get_pointer): Handle destroyed windows and
	imlement the return value.
	(_gdk_windowing_window_at_pointer): Implement.

Richard Hult's avatar
Richard Hult committed
476 477 478 479 480 481 482
2006-07-19  Richard Hult  <richard@imendio.com>

	* gtk/gtkdnd-quartz.c (register_types): Reindent.
	
	* gtk/gtkclipboard-quartz.c (gtk_clipboard_set_contents): Add
	autorelease pool.

483 484 485 486 487 488 489 490
2006-07-19  Richard Hult  <richard@imendio.com>

	* gdk/quartz/GdkQuartzWindow.c
	([GdkQuartzWindow -windowDidResignMain:]):
	* gdk/quartz/gdkevents-quartz.c (_gdk_quartz_update_focus_window):
	Listen to windowDidResignMain notifications and properly update the
	focus window when windows are unfocused.

491 492 493 494 495 496 497 498
2006-07-19  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_init),
	(gtk_cell_renderer_text_[gs]et_property), (get_layout): add
	align_set field to keep track whether the align property was
	set by the user, if not we will use the alignment by looking
	at the direction of the widget. (#157439)

499 500
2006-07-19  Matthias Clasen  <mclasen@redhat.com>

501 502 503 504
	* modules/printbackends/file/gtkprintbackendfile.c 
	(file_printer_get_settings_from_options): Check if option
	is NULL before using it.  (#348014, Christian Persch)

505 506 507
	* gdk/x11/gdkx.h (gdk_font_lookup_for_display): When looking
	up a font XID, add the XID_FONT_BIT.  (#348001)

508 509 510 511 512 513
2006-07-19  Richard Hult  <richard@imendio.com>

	* gdk/quartz/GdkQuartzView.c ([GdkQuartzView -drawRect:]):
	* gdk/quartz/gdkpixmap-quartz.c (gdk_pixmap_new): Remove unused
	variables to fix compiler warnings.

514 515 516 517 518 519 520 521 522 523
2006-07-19  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkwindow-quartz.c (gdk_window_impl_quartz_init)
	(gdk_window_set_type_hint, gdk_window_get_type_hint):
	* gdk/quartz/GdkQuartzWindow.c
	([GdkQuartzWindow -canBecomeMainWindow])
	([GdkQuartzWindow -canBecomeKeyWindow]): Implement type hints and
	use them to determine which windows should be allowed to become
	main and key windows.

524 525 526 527 528 529
2006-07-19  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkwindow-quartz.c:
	(_gdk_windowing_window_get_pointer): Get the position correctly
	for the root window. Fixes bug #347976, patch by Dave Vasilevsky.

Matthias Clasen's avatar
Matthias Clasen committed
530 531
2006-07-18  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
532 533
	* NEWS: Updates

Matthias Clasen's avatar
Matthias Clasen committed
534 535 536 537 538 539
	* gtk/gtkdnd.c: Make the ipc widgets GtkWindows instead
	of GtkInvisibles, and put them in the same window group
	as the drag source, to avoid interactions between DND
	and window groups.  (#347277, Michael Wu, analysis by
	Owen Taylor)

540 541 542 543 544 545 546
2006-07-18  John (J5) Palmieri  <johnp@redhat.com>

	* modules/printbackends/cups/gtkprintbackendcups.c:
	Make bits from my last commit are conditionally compiled
	only if cups 1.2 is available. 

2006-07-18  John (J5) Palmieri  <johnp@redhat.com>
547 548 549 550 551 552 553 554 555 556 557

	* gtk/gtkprinteroption.h:
	* gtk/gtkprinteroptionwidget.c:
	* modules/printbackends/cups/gtkprintbackendcups.c:
	add GTK_PRINTER_OPTION_TYPE_PICKONE_PASSWORD,
	GTK_PRINTER_OPTION_TYPE_PICKONE_PASSCODE,
	GTK_PRINTER_OPTION_TYPE_PICKONE_REAL,
	GTK_PRINTER_OPTION_TYPE_PICKONE_INT,
	and GTK_PRINTER_OPTION_TYPE_PICKONE_STRING options to support a subset
	of the new CUPS 1.2 custom options spec

558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605
2006-07-18  Federico Mena Quintero  <federico@novell.com>

	Fix https://bugzilla.novell.com/show_bug.cgi?id=184875 - make the
	location entry in Save mode preserve the stuff from
	set_filename(); it was overwriting it with $cwd.

	This is the same fix for
	http://bugzilla.gnome.org/show_bug.cgi?id=347066

	* tests/autotestfilechooser.c: (test_black_box): Added black-box
	test for set_filename() and set_current_name().

	* gtk/gtkfilechooser.c (gtk_file_chooser_get_type): Cast to
	GClassInitFunc in the call to g_type_register_static_simple(), to
	avoid a compiler warning.

	* gtk/gtkfilechooserprivate.h (struct _GtkFileChooserDefault):
	Added a browse_files_last_selected_name field.  We'll copy the
	logic from gtkfilesel.c to see when to clear the location entry.
	(struct _GtkFileChooserDefault): Removed the
	processing_pending_selections field.

	* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_finalize):
	Free impl->browse_files_last_selected_name.
	(pending_select_paths_process): Don't use
	impl->processing_pending_selections.
	(update_chooser_entry): Keep track of the name that was last
	selected in the file list.  We use this to know when to clear the
	location entry.  The logic is similar to that of
	gtkfilesel.c:gtk_file_selection_file_changed().  This also lets us
	get rid of the processing_pending_selections flag.
	(update_chooser_entry): Clear the entry if we didn't have a
	selection before.
	(location_switch_to_filename_entry): Do not set $cwd as the
	contents of the location entry here...
	(location_popup_handler): ... but do it here instead, only as the
	result of the user asking to turn on the location entry.
	(gtk_file_chooser_default_get_paths): If the location entry is
	empty, do the fallback of seeing if it is sensible to say that
	$cwd is the selected path.
	(gtk_file_chooser_default_update_current_folder): Don't set the
	text of the location entry; this is no longer needed with the
	fixes above.
	(shortcuts_activate_iter): Clear the location entry when
	activating a shortcut if we are not in SAVE mode.  This keeps the
	contents of the location entry consistent even when switching
	folders via the shortcuts.

606 607 608 609 610 611 612 613
2006-07-18  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkrange.c: remember the sensitivity of the steppers in
	GtkRangeLayout, update it in gtk_range_calc_layout() and check for
	changes in layout_changed(), so adjustment changes that leave the
	slider position unchanged are still able to update the steppers'
	sensitivity. Fixes bug #347902.

Kristian Rietveld's avatar
Kristian Rietveld committed
614 615 616 617 618
2006-07-18  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_start_editing):
	oooops.

619 620 621 622 623 624 625 626 627 628 629 630
2006-07-18  Kristian Rietveld  <kris@imendio.com>

	Fix for #335012, reported by Matteo Nastasi.

	* gtk/gtktreeview.c (gtk_tree_view_real_start_editing): if the
	requested space of the editable is smaller than the cell area,
	put it up above the middle of the cell area.

	* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_start_editing):
	configure the inner border to cover the cell area if the 
	entry requisition is smaller than the cell_area.

Kristian Rietveld's avatar
Kristian Rietveld committed
631 632 633 634 635 636 637 638 639 640
2006-07-18  Kristian Rietveld  <kris@imendio.com>

	Another fix for #164884.

	* gtk/gtktreeprivate.h: add in_grab field.

	* gtk/gtktreeview.c (gtk_tree_view_button_press): only save press
	to possibly begin a drag when there's no grab pending,
	(gtk_tree_view_grab_notify): toggle in_grab field.

641 642 643 644 645 646 647
2006-07-18  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtktreeview.c (gtk_tree_view_realize): use MAX
	priv->width, alloc.width when allocating the bin_window,
	(gtk_tree_view_bin_expose): don't overrun bin_window when drawing
	the flat box.

648 649 650 651 652 653
2006-07-17  Richard Hult  <richard@imendio.com>

	* gtk/gtkdnd-quartz.c: (gtk_drag_begin_internal): Set an empty
	NSImage if there is none, covers the cases where applications try
	to set a pixmap which is not supported by the quartz backend.

654 655 656 657 658 659 660 661
2006-07-17  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkevents-quartz.c: (create_key_event):
	* gdk/quartz/gdkkeys-quartz.c: (_gdk_quartz_key_event_type),
	(_gdk_quartz_key_is_modifier):
	* gdk/quartz/gdkprivate-quartz.h: Fill in string, length and
	is_modifier for key events. Map some more keys into gdk keyvals.

662 663 664 665 666
2006-07-17  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtknotebook.c (gtk_notebook_stop_reorder): Don't undo
	reordering if we haven't been reordering.  (#346836, Ed Catmur)

667 668 669 670 671
2006-07-17  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkkeys-quartz.c: Add escape to the list of special
	keys, to get the escape key working.

Richard Hult's avatar
Richard Hult committed
672 673 674 675 676
2006-07-17  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkdisplay-quartz.c (gdk_display_open): Initialize
	GdkInput.
	
677 678 679 680 681 682
2006-07-17  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtktreeview.c (gtk_tree_view_build_tree): check if the iter
	still has children after running the test-expand-row func,
	(gtk_tree_view_real_expand_row): ditto. (#302127, Billy Biggs).

683 684 685 686 687 688
2006-07-17  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkcalendar.c (calendar_timer): use 5 * gtk-timeout-repeat,
	just as many other widgets. Makes the calendar arrow buttons
	usable for quick month/year skipping (#142582).

689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709
2006-07-17  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkwindow-quartz.c:
	(_gdk_windowing_window_destroy_foreign): Fix comment.
	(gdk_window_set_title): Surround by release pool macros.
	(gdk_window_get_type_hint): Fix return value.
	(gdk_window_get_frame_extents): Implement.
	(gdk_window_iconify): Use the release pool macros.
	(gdk_window_deiconify): Likewise. 
	(_gdk_windowing_get_pointer): Implement.
	(gdk_window_get_deskrelative_origin, gdk_window_get_root_origin): 
	Implement.

	* gdk/quartz/gdkevents-quartz.c (create_crossing_event) 
	(create_scroll_event, convert_window_coordinates_to_root): 
	Set coordinates and root coordinates for crossing and scroll 
	events.

	* gdk/quartz/gdkcursor-quartz.c (gdk_cursor_new_for_display): 
	Map some more cursors.

Matthias Clasen's avatar
Matthias Clasen committed
710 711
2006-07-17  Matthias Clasen  <mclasen@redhat.com>

712 713 714
	* gdk/gdkwindow.c (gdk_window_get_pointer): Add some more
	detail to the docs.  (#311399, Nikos Kouremenos)

Matthias Clasen's avatar
Matthias Clasen committed
715 716 717 718
	* gtk/gtkentrycompletion.c (gtk_entry_completion_set_match_func): 
	* gtk/gtkcomboboxentry.c (gtk_combo_box_entry_set_text_column): 
	Fix typos in the docs.

719 720
2006-07-16  Matthias Clasen  <mclasen@redhat.com>

721 722 723
	* gtk/gtkassistant.c: Some small documentation
	fixups.  (#347711, Guillaume Cottenceau)

724 725 726
	* gtk/gtkfilechooserdefault.c (browse_widgets_create): Mark
	the text of the location label as translatable.  

727 728 729
	* gtk/gtkprintjob.c (gtk_print_job_send): Fix a typo in 
	the docs.  (#347211, Kouhei Sutou)   

730 731 732
	* configure.in: Make the test for the sync extension
	more robust.  (#347315, Tommi Komulainen)

733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749
2006-07-13  Michael Emmel  <mike.emmel@gmail.com>

	* gdk/directfb/gdkdrawable-directfb.c
	Remove +1 in fill and draw rect this may be wrong.
	Commented out update calls left for reference the should not be needed.
	Comment out subsurface for cairo remove when proved its not needed
	* gdk/directfb/gdkkeys-directfb.c
	Allow multiple calls and return if initalized
	* gdk/directfb/gdkmain-directfb.c
	Make sure string is malloced since its freed by apps
	* gdk/directfb/gdkprivate-directfb.c
	Added back pointer to window for paintable impl
	* gdk/directfb/gdkvisual-directfb.c
	Fix for Bug 346733 make sure visual list is populated
	* gdk/directfb/gdkwindow-directfb.c
	Finally removed uneeded pixmap buffering now implements GdkPainter

750 751 752 753 754 755 756 757
2006-07-11  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkrecentchooser.c (gtk_recent_chooser_set_show_numbers),
	(gtk_recent_chooser_get_show_numbers): Check if the chooser
	implementation supports the "show-number" property and use a
	meaningful warning in case it doesn't; tell developers not to
	use these functions.

758 759
2006-07-10  Matthias Clasen  <mclasen@redhat.com>

760 761 762 763 764 765 766 767
	* gtk/gtkaction.c:
	* gtk/gtkiconview.c:
	* gtk/gtkprintbackend.c:
	* gtk/gtkprintoperation-unix.c:
	* gtk/gtkscrolledwindow.c:
	* gtk/gtktoolbar.c: Fix some typos with inline property
	docs.  (#347065, John Finlay)

768 769 770
	* gtk/gtkfilechooserbutton.c: Fix some memory handling
	issues.  (#347043, Chris Wilson)

771 772 773 774 775 776 777
2006-07-10  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkrecentchooserdefault.c (scan_for_uri_cb): Do not
	leak the URI returned by the model; select the row when
	calling gtk_recent_chooser_set_current_uri(). (patch by
	Torsten Schoenfeld)

Matthias Clasen's avatar
Matthias Clasen committed
778 779
2006-07-10  Matthias Clasen  <mclasen@redhat.com>

780 781 782
	* gtk/gtkpapersize.c (gtk_paper_size_is_equal): Fix a 
	typo in the docs.  (#347041, Kouhei Sutou)

783 784 785
	* gtk/gtkprintcontext.c (gtk_print_context_get_height): Fix
	a typo in the docs.  (#347032, Kouhei Sutou)

786 787 788 789
	* gtk/gtkassistant.c (gtk_assistant_focus): Don't assume
	that priv->current_page is non-NULL.  (#347048, Guillaume 
	Cottenceau)

790 791
	* gtk/gtk.symbols: Add some missing deprecation guards.

Matthias Clasen's avatar
Matthias Clasen committed
792 793
	* gdk/directfb/gdkwindow-directfb.c: Don't confuse gtk-doc.

794 795 796 797 798 799
2006-07-10  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkpixmap-quartz.c: (gdk_bitmap_create_from_data): 
	Account for alignment when reading xbm data. (#346721, patch
	by Dave Vasilevsky)

800 801 802 803 804 805 806 807 808 809
2006-07-09  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkgeometry-quartz.c:
	* gdk/quartz/gdkmain-quartz.c:
	* gdk/quartz/gdkpixmap-quartz.c:
	* gdk/quartz/gdkwindow-quartz.c:
	* gtk/gtkclipboard-quartz.c: Implement some more stubs for pygtk, 
	bug #346713.

2006-07-09  Richard Hult  <richard@imendio.com>
810 811 812 813 814 815

	* gdk/quartz/gdkwindow-quartz.c (gdk_window_new): Release the pool
	in all cases.
	(move_resize_window_internal): Surround by alloc/release pool.
	Patch from Brian Tarricone, fixes bug #347018.

Matthias Clasen's avatar
Matthias Clasen committed
816 817 818 819 820
2006-07-08  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilechooserbutton.c (update_label_and_image): Don't
	leak an empty list.  (#346970, Chris Wilson)

821 822 823 824 825 826 827 828
2006-07-08  Behdad Esfahbod  <behdad@gnome.org>

	* gdk/gdkpango.c (layout_iter_get_line_clip_region),
	(gdk_pango_layout_line_get_clip_region),
	(gdk_pango_layout_get_clip_region): Fix quadratic implementation of
	gdk_pango_layout_get_clip_region into a linear one. (#337910, patch
	by Priit Laes)

829 830 831 832 833 834 835 836 837 838
2006-07-07  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkevents-quartz.c: Generate a grab broken event when
	appropriate. Fixes bug #346603, patch from Dave Vasilevsky.
	
	* gdk/quartz/gdkevents-quartz.c:
	* gdk/quartz/gdkkeys-quartz.c:
	* gdk/quartz/gdkprivate-quartz.c: Another patch from Dave Vasilevsky,
	fixes bug #346605. Makes modifier key events being sent properly.

839 840 841 842 843 844
2006-07-07  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkrc.c
	* gtk/gtksettings.c: fix canonicalization of property names which
	was broken after recent constant string cleanup.

Matthias Clasen's avatar
Matthias Clasen committed
845 846 847 848
2006-07-07  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkicontheme.c: Small memory savings.

849 850 851 852 853 854
2006-07-06  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilechooserbutton.c: Get the display name
	for the home directory.  (#346498, Dennis Cranston,
	patch by Andreas Köhler)

855 856 857 858
2006-07-06  Behdad Esfahbod  <behdad@gnome.org>

	* configure.in: Drop required Pango version down to 1.12.0. (#346597)

859 860 861 862 863 864 865 866 867 868 869 870
2006-07-06  John (J5) Palmieri  <johnp@redhat.com>

	* modules/printbackends/cups/gtkprintbackendcups.c: 
	(cups_request_printer_list_cb): Get the name of the first printer
	in a class to use when requesting a PPD
	(cups_request_ppd_cb, cups_request_ppd): Fix the parameters of
	the "details-acquired" signal emittion
	(cups_request_ppd): get the ppd name from the cups printer

	* modules/printbackends/cups/gtkprintercups.c (gtk_printer_cups_get_ppd_name):
	New method for getting the name of the ppd we should request

871 872 873 874 875 876 877
2006-07-06  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkrc.c: added a bunch of utility functions to copy
	icon_factories and color_hashes between GtkRcStyles and make sure
	that newly created, duplicated and merged styles have access to
	all icon_factories and color_hashes they need. Fixes bug #346668.

878 879 880 881 882
2006-07-06  Matthias Clasen  <mclasen@redhat.com>

	* gtk/*.c: Improve the -/_ consistency in signal and
	property names, reducing the amount of near-duplicate strings.

883 884
2006-07-05  Matthias Clasen  <mclasen@redhat.com>

885 886 887
	* gtk/gtktreeview.c (gtk_tree_view_set_enable_tree_lines): Don't
	leak dash_list.  (#346639, Christian Persch)

888 889 890 891
	* gtk/gtkwindow.c (gtk_window_unmap, gtk_window_set_keep_above) 
	(gtk_window_set_keep_below): Fix some assignments involving
	booleans.  (#346467, Christian Persch)

892 893 894 895
2006-07-03  Matthias Clasen <mclasen@redhat.com>

	* gtk/gtkgamma.c: Use serialized pixbufs instead of xpms.
	
896 897 898 899
2006-07-03  Runa Bhattacharjee <runabh@gmail.com>

	* configure.in: Added Bengali India (bn_IN) to ALL_LINGUAS.

900 901 902 903 904 905
2006-06-26  Michael Emmel  <mike.emmel@gmail.com>
	
	* gdk/directfb/gdkdirectfb.h: changed ifdef to compile with api introduced
	in directfb 0.9.25 
	* gdk/directfb/gdkwindow-directfb.c: changed ifdef to 0.9.25 

Matthias Clasen's avatar
Matthias Clasen committed
906 907 908 909
2006-07-03  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Bump version

Matthias Clasen's avatar
Matthias Clasen committed
910
2006-07-02  Matthias Clasen  <mclasen@redhat.com>
911
	
Matthias Clasen's avatar
Matthias Clasen committed
912 913
	* === Released 2.10.0 ===

914 915 916 917
	* gtk/gtkmenubar.c (window_key_press_handler): Treat
	"" like NULL when parsing the menu-bar-accel setting.	
	* gtk/gtkmenu.c (gtk_menu_key_press): Here too.  
	(#346420, Yevgen Muntyan)
Matthias Clasen's avatar
Matthias Clasen committed
918 919 920

	* configure.in: Require cairo 1.2 and GLib 2.12,
	set version to 2.10
Matthias Clasen's avatar
Matthias Clasen committed
921

Matthias Clasen's avatar
Matthias Clasen committed
922 923
2006-06-30  Matthias Clasen  <mclasen@redhat.com>
	
924 925 926 927
	* gtk/gtknotebook.c (gtk_notebook_tab_space): Remove
	redundant assignments to page, which may cause NULL
	dereferences.  (#346334, Dave Vasilevsky)

Matthias Clasen's avatar
Matthias Clasen committed
928 929 930
	* demos/gtk-demo/editable_cells.c: Portability fix.
	(#346375, Thomas Klausner)

Matthias Clasen's avatar
Matthias Clasen committed
931 932
	* NEWS, README.in, INSTALL.in: Updates

933 934 935
	* gtk/gtktreemodelsort.c (gtk_tree_model_sort_finalize):
	Don't leak default_sort_data.  (#346341, Christian Weiske)

Matthias Clasen's avatar
Matthias Clasen committed
936 937 938
	* gtk/Makefile.am: Make sure all win32-specific printing
	sources are distributed.  (#346312, Erik van Pienbroek)
	
939 940 941
	* gtk/gtkprinter.c (gtk_enumerate_printers): Always call the
	destroy notify.  (#346027, Christian Persch)

Matthias Clasen's avatar
Matthias Clasen committed
942 943 944 945 946 947
	* gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
	Documentation updates.

	* gtk/gtkprintunixdialog.c (gtk_print_unix_dialog_set_settings):
	Don't leak the ranges.  (#346237, Carolyn MacLeod)

Matthias Clasen's avatar
Matthias Clasen committed
948 949 950 951 952 953 954 955
	* gtk/gtkprintjob.[hc]: Add a PREVIEW capability to hide
	the preview button.  (#346113, Christian Persch)

	* gtk/gtkprintunixdialog.c (update_dialog_from_capabilities):
	Hide the preview button depending on the capability.

	* gtk/gtkprintoperation-unix.c: Set the PREVIEW capability.

956 957 958 959 960
2006-06-29  Bill Skaggs  <weskaggs@primate.ucdavis.edu>

	* gtk/gtkprogress.h: revert last change by Matthias -- it broke the
	build of gtkprogressbar.

961 962 963 964 965 966 967
2006-06-29  Matthias Clasen  <mclasen@redhat.com>

	* gdk/x11/gdkevents-x11.c (gdk_event_translate): Update the 
	size of the drawable for the root window when the screen size 
	changes.  (#346102, Sven Herzberg)

2006-06-29  Matthias Clasen  <mclasen@redhat.com>
Matthias Clasen's avatar
Matthias Clasen committed
968

Matthias Clasen's avatar
Matthias Clasen committed
969 970
	* NEWS: Updates

Matthias Clasen's avatar
Matthias Clasen committed
971 972 973
	* gtk/gtkprintoperation.c: Clarify docs for the allow-async
	property.  (#346108, Christian Persch)

974 975
2006-06-28  Matthias Clasen  <mclasen@redhat.com>

976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994
	* gtk/gtkprinter.c: 
	* gtk/gtkprintunixdialog.c: 
	* gtk/gtkprintoperationpreview.c: 
	* gtk/gtkprintcontext.c (gtk_print_context_set_cairo_context): 
	* gtk/gtklabel.c (gtk_label_set_line_wrap_mode): 
	* gtk/gtkentry.c (gtk_entry_new): 	
	* gtk/gtkprintoperation.c (gtk_print_operation_set_custom_tab_label): 
	* gtk/gtkclipboard.c (gtk_clipboard_wait_for_rich_text): Documentation
	additions and fixes.

	* gtk/gtkaspectframe.h:
	* gtk/gtkaboutdialog.c:
	* gtk/gtkcalendar.c:
	* gtk/gtkinputdialog.c: 
	* gtk/gtk.symbols: Remove unnecessary includes.
	
	* gtk/gtkprogress.[hc]: 
	* gtk/gtkitemfactory.[hc]: Don't unnecessarily use GTK_COMPILATION,
	remove unnecessary includes.
Matthias Clasen's avatar
Matthias Clasen committed
995

996 997 998
	* gdk/x11/gdkdisplay-x11.c (gdk_display_open): Only select the
	XKB event details we actually care about.  (#346079, Ryan Lortie)

999 1000 1001 1002 1003 1004
2006-06-27  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_set_model): cancel the
	expand collapse timeout when unsetting the model (Fixes #327164,
	reported by Daichi Kawahata).

1005 1006 1007 1008 1009
2006-06-26  Michael Emmel  <mike.emmel@gmail.com>
	
	* gdk/directfb/gdkdirectfb.h: added ifdef to compile with directfb 0.9.24 
	* gdk/directfb/gdkwindow-directfb.c: ifdef depend on directfb cvs 

1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021
2006-06-26  Kristian Rietveld  <kris@gtk.org>

	Make the insert and set functions somewhat more convenient.
	(#343841, David Necas).

	* gtk/gtkliststore.c (gtk_list_store_insert_with_values): allow
	a NULL iter,
	(gtk_list_store_insert_with_valuesv): likewise.

	* gtk/gtktreestore.c (gtk_tree_store_insert_with_values): ditto,
	(gtk_tree_store_insert_with_valuesv): likewise.

1022 1023 1024 1025 1026
2006-06-26  Michael Natterer  <mitch@imendio.com>

	* gtk/gtktextview.c (gtk_text_view_size_allocate): revert "keep
	cursor visible when size changes" since it breaks things (#344874).

1027 1028 1029 1030 1031
2006-06-26  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcombobox.c (gtk_cell_view_menu_item_new): Avoid
	a refcounting leak in the python bindings.  (#344876, Phil Dumont)

Matthias Clasen's avatar
Matthias Clasen committed
1032 1033 1034 1035 1036 1037
2006-06-25  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkprinter.c (gtk_enumerate_printers): Make
	this work when the enumeration is stopped early.  (#344074,
	Felipe Heidrich)

1038 1039 1040 1041 1042
2006-06-24  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcombobox.c: Update the height as well
	when changing fonts.  (#321393, Billy Biggs)
`
1043 1044 1045 1046
2006-06-23  Christian Rose  <menthos@menthos.com>

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

1047 1048 1049 1050 1051 1052 1053 1054
2006-06-22  Matthias Clasen  <mclasen@redhat.com>

	Fix #345663, reported by Kazuki Iwamoto
	
	* gtk/gtkaction.c: Include gtkiconfactory.h

	* gtk/gtkactiongroup.c: Include gtkicontheme.h

1055 1056 1057 1058 1059
2006-06-22  Michael Natterer  <mitch@imendio.com>

	* gtk/gtktextview.c (gtk_text_view_size_allocate): keep the cursor
	visible when the size changes. Fixes bug #344874.

1060 1061
2006-06-22  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
1062 1063 1064 1065
	* gtk/gtkpintjob.h: Add a note about updating the registration.
	* gtk/gtkprintjob.c (gtk_print_capabilites_get_type): Add missing
	capabilitites. 

1066 1067 1068 1069
	* modules/printbackends/cups/gtkprintbackendcups.c: Remove
	an unused variable and make it compile with Cups 1.1.  (#345644,
	Joseph Sacco)

Matthias Clasen's avatar
Matthias Clasen committed
1070
2006-06-21  Matthias Clasen  <mclasen@redhat.com>
Matthias Clasen's avatar
Matthias Clasen committed
1071 1072

	* configure.in: Bump version
Matthias Clasen's avatar
2.9.4  
Matthias Clasen committed
1073 1074
	
	* === Released 2.9.4 ===
Matthias Clasen's avatar
Matthias Clasen committed
1075

1076 1077 1078 1079
	* modules/printbackends/file/gtkprintbackendfile.c: 
	Apply a patch by Christian Persch to support PostScript and PDF
	output.

Matthias Clasen's avatar
Matthias Clasen committed
1080 1081 1082
	* gtk/gtkprinteroptionwidget.c (radio_changed_cb): Don't free
	the value.

1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119
2006-06-21  Matthias Clasen  <mclasen@redhat.com>

	Apply a patch by John Palmieri to use buffered io using
	GIOChannels, clean up error handling and support Cups 1.2
	api in the printing code.

	* acconfig.h:
	* configure.in: Detect Cups 1.2

	* gtk/gtkdebug.h:
	* gtk/gtkmain.c: Add a printing debug key.

	* gtk/gtkprintbackend.[hc]: Remove the GError parameter from
	gtk_print_backend_print_stream, and take a  GIOChannel instead
	of an fd.

	* gtk/gtkprinter-private.h:
	* gtk/gtkprinter.c: Replace the fd parameter of 
	_gtk_printer_create_cairo_surface by a GIOChannel.

	* gtk/gtkprintjob.[hc]: Remove the GError parameter from
	gtk_print_job_send and make it return void.

	* gtk/gtkprintoperation-unix.c:
	* gtk/gtkprintjob.c: Adjust callers, add some debugging support.

	* modules/printbackends/Makefile.am: Fix DIST_SUBDIRS.

	* modules/printbackends/cups/Makefile.am:
	* modules/printbackends/lpr/Makefile.am: Add debug CFLAGS.
	
	* modules/printbackends/cups/gtkcupsutils.[hc]: 
	* modules/printbackends/cups/gtkprintbackendcups.c:
	* modules/printbackends/file/gtkprintbackendfile.c:
	* modules/printbackends/lpr/gtkprintbackendfile.c: Adapt to
	the GIOChannel and GError changes, add debug output
	
1120 1121
2006-06-21  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
1122 1123 1124
	* gtk/gtkprinter.c (gtk_enumerate_printers): Remove an 
	unused variable.

Matthias Clasen's avatar
Matthias Clasen committed
1125 1126
	* NEWS: Updates

1127 1128 1129
	* gtk/gtktreeview.c (gtk_tree_view_class_init): Fix the registration
	of the grid-lines property  (#345456, Murray Cumming) 
	
1130 1131 1132 1133 1134 1135 1136 1137 1138 1139
2006-06-21  Kristian Rietveld  <kris@imendio.com>

	Allocate space for the grid lines when they are enabled.

	* gtk/gtktreeview.c (gtk_tree_view_bin_expose): make sure the cell
	area does not overlap with the grid lines, also draw the line for
	"the next cell" in the last loop iteration, make sure the cursor falls
	in between the grid lines,
	(validate_row): request extra space for the grid lines.

Matthias Clasen's avatar
Matthias Clasen committed
1140 1141
2006-06-21  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154
	* gtk/gtkprintbackend.h: 
	* gtk/gtkprintbackend.c (gtk_print_backend_print_stream): Add an
	GError parameter.

	* modules/printbackends/file/gtkprintbackendfile.c 
	(gtk_print_backend_file_print_stream): 
	* modules/printbackends/lpr/gtkprintbackendlpr.c 
	(gtk_print_backend_lpr_print_stream): 
	* modules/printbackends/cups/gtkprintbackendcups.c 
	(gtk_print_backend_cups_print_stream): 
	* gtk/gtkprintjob.c (gtk_print_job_send): Update all callers and
	implementations.

Matthias Clasen's avatar
Matthias Clasen committed
1155 1156 1157 1158
	* modules/printbackends/cups/gtkprintbackendcups.c: Remove the
	GError parameter from cups_request_execute(), and various other
	cleanups.

1159 1160 1161 1162 1163
2006-06-20  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkprintjob.c (gtk_print_job_class_init): Make 
	track-print-status a property.

1164 1165 1166 1167 1168
2006-06-20  Murray Cumming  <murrayc@murrayc.com>

	* gtk/gtkprintoperation.c: (gtk_print_operation_class_init): 
	Correctly register the done signal - it sends an enum, not an int.

1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189
2006-06-20  Christian Persch  <chpe@cvs.gnome.org>
	
	* configure.in
	* gtk/Makefile.am
	* modules/printbackends/Makefile.am
	A modules/printbackends/file/.cvsignore
	A modules/printbackends/file/Makefile.am
	A modules/printbackends/file/gtkprintbackendfile.c
	A modules/printbackends/file/gtkprintbackendfile.h
	R modules/printbackends/pdf/*:
	Rename "pdf" backend to "file" backend. Step 2 from bug #339592.

2006-06-20  Christian Persch  <chpe@cvs.gnome.org>

	* gtk/gtkprinteroptionwidget.c: (filesave_changed_cb),
	(alternative_set), (construct_widgets): Convert input to filename
	encoding and construct an URI from that.
	* gtk/gtkprintsettings.h: Add OUTPUT_FILE_FORMAT and OUTPUT_URI keys.
	* modules/printbackends/pdf/gtkprintbackendpdf.c: Use those defines.
	Step 1 from bug #339592.

1190 1191
2006-06-20  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
1192 1193
	* gtk/gtkprintjob.c (gtk_print_job_set_source_file): Add to docs.

1194 1195 1196 1197 1198 1199 1200 1201 1202 1203
	Fix handling of stock items without icons in action-based
	ui.  (#342458, Callum McKenzie)
	
	* gtk/gtkactiongroup.c (gtk_action_group_add_actions_full): Set
	the stock id even if there is no icon for it.

	* gtk/gtkaction.c (connect_proxy): 
	* gtk/gtktoolbutton.c (gtk_tool_button_construct_contents): Only
	construct a stock icon if the stock item has an icon.

1204 1205
2006-06-20  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
1206 1207 1208
	* gtk/gtktreeview.c (gtk_tree_view_set_column_drag_info): Better 
	fix.

1209 1210 1211 1212
	* gtk/gtk.symbols: 
	* gtk/gtkprintsettings.h: 
	* gtk/gtkprintsettings.c: Remove unused print-to-file setting.

1213 1214 1215 1216 1217 1218 1219
2006-06-20  Carlos Garnacho  <carlosg@gnome.org>

	* gtk/gtknotebook.c (gtk_notebook_stop_reorder): unset the pressed
	button here.
	(gtk_notebook_grab_notify): stop reorder when the widget becomes
	shadowed. Fixes bug #335873

1220 1221 1222 1223 1224
2006-06-18  Christian Persch  <chpe@cvs.gnome.org>

	* gtk/gtkdialog.c: (gtk_dialog_class_init): Set default action area
	spacing to HIG-compliant 6px. Bug #345106, follow-up from bug #163850.

1225 1226
2006-06-20  Matthias Clasen  <mclasen@redhat.com>

1227 1228 1229
	* gtk/gtkiconview.c (gtk_icon_view_enable_model_drag_dest): 
	Small doc fix.  (#345176, Claudio Saavedra)

1230 1231 1232
	* gdk/x11/gdkwindow-x11.c (gdk_window_set_functions): Update
	the docs. (#345194, Yevgen Muntyan)

1233 1234
2006-06-19  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
1235 1236
	* gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): Don't leak
	dash_list.
1237 1238 1239
	(gtk_tree_view_set_column_drag_info): Don't crash if the 
	column_drop_func says always no.  (#344850, Christian Weiske)
	
1240 1241 1242 1243 1244 1245 1246 1247 1248
	Make transparent tray icons work.  (#320034, based on a 
	patch by Dan Winship)
	
	* gtk/gtktrayicon-x11.c (gtk_tray_icon_init): Make trayicons
	app-paintable and non-double buffered. 

	* gtk/gtkrc.c (_gtk_rc_init): Give tray icons a parent-relative
	background in the default style.

1249 1250
2006-06-19  Matthias Clasen  <mclasen@redhat.com>

1251 1252 1253
	* gtk/updateiconcache.c: Marks strings for translation.  (#314278,
	Claudio Saavedra)

1254 1255 1256
	* gtk/gtkentrycompletion.c (gtk_entry_completion_compute_prefix): Don't
	call g_str_has_prefix on a NULL strung.  (#344897, Tommi Komulainen)

1257 1258 1259
	* gtk/gtkfilechooserdefault.c: 
	Avoid a near-duplicate string and add some
	translator comments.  (#345320, #345321, Hendrik Richter)
1260

1261 1262 1263 1264 1265 1266 1267 1268
2006-06-19  Federico Mena Quintero  <federico@novell.com>

	* gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder)
	(gtk_file_chooser_get_current_folder_uri): Clarify the use of
	these functions, to avoid the case where a chooser is in
	SELECT_FOLDER mode and people mistakenly use _get_current_folder()
	to get the selection:  they should use _get_filename() instead.

1269 1270 1271 1272 1273 1274 1275
2006-06-19  Alexander Larsson  <alexl@redhat.com>

	* gtk/gtk.symbols:
	* gtk/gtklabel.[ch]:
	Add gtk_label_set_line_wrap_mode, gtk_label_get_line_wrap_mode, and
	a wrap-mode property that lets you set the PangoWrapMode.

1276 1277
2006-06-19  Matthias Clasen  <mclasen@redhat.com>

1278 1279 1280 1281 1282 1283
	* gtk/gtk.symbols: Add new functions

	* gtk/gtkprinter.h: 
	* gtk/gtkprinter.c (gtk_enumerate_printers): New function
	to list all printers (#344074, Felipe Heidrich)

1284
	* gtk/gtkprinter-private.h: 
1285 1286
	* gtk/gtkprinter.c (_gtk_printer_get_options) 

1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299
	* gtk/gtkprintbackend.h: Add a capabilities argument to the 
	printer_get_options method and to the _gtk_printer_get_options
	function
	
	* modules/printbackends/lpr/gtkprintbackendlpr.c 
	(lpr_printer_get_options): 
	* modules/printbackends/pdf/gtkprintbackendpdf.c 
	(pdf_printer_get_options): 
	* modules/printbackends/cups/gtkprintbackendcups.c 
	(cups_printer_get_options): 
	* gtk/gtkprintunixdialog.c (selected_printer_changed): Adjust
	callers and implementations.

1300 1301 1302
	* gtk/gtkprintjob.h: Add a GENERATE_PS capability. 
	* gtk/gtkprintunixdialog.c (is_printer_active): And use it here.

Matthias Clasen's avatar
Matthias Clasen committed
1303 1304
2006-06-18  Matthias Clasen  <mclasen@redhat.com>

1305 1306 1307 1308 1309
	* tests/testnouiprint.c (main): Don't open a display connection.

	* gtk/gtkprintbackend.c (gtk_print_backend_load_modules): Make
	this work without a display connection.  (339702, Alexander Larsson)

Matthias Clasen's avatar
Matthias Clasen committed
1310 1311 1312
	* gtk/gtkwindow.c (gtk_window_move): Small doc addition. 
	(#345275, Behdad Esfahbod)

1313 1314
2006-06-17  Matthias Clasen  <mclasen@redhat.com>

1315 1316 1317 1318
	* modules/printbackends/pdf/gtkprintbackendpdf.c:
	* modules/printbackends/lpr/gtkprintbackendlpr.c: Fix a typo:
	s/Extention/Extension/. 
	
Matthias Clasen's avatar
~  
Matthias Clasen committed
1319 1320 1321 1322 1323
	* gtk/gtkprintunixdialog.c: Clean up the handling of 
	printer-specific options. There is just one extension point on the
	main tab now, and all options in the GtkPrintDialogExtension
	group are put there. 

1324 1325 1326 1327 1328 1329 1330 1331
	* gtk/gtkprinteroption.h: 
	* gtk/gtkprinteroption.c: Add GTK_PRINTER_OPTION_TYPE_ALTERNATIVE
	which is semantically the same as PICKONE, but is intended to 
	show all options all the time.
	
	* gtk/gtkprinteroptionwidget.c: Implement ALTERNATIVE as radio
	group.

1332 1333
2006-06-16  Matthias Clasen  <mclasen@redhat.com>

1334 1335 1336 1337
	* modules/printbackends/cups/gtkprintbackendcups.c:
	* modules/printbackends/lpr/gtkprintbackendlpr.c: Use a stock icon
	for printers.

1338 1339 1340
	* gtk/gtkprintunixdialog.c (add_option_to_table): Don't grow
	additional columns.

1341 1342 1343 1344 1345 1346 1347 1348 1349 1350
	* gtk/gtkprintbackend.h: Add a GtkPrintSettings parameter to the
	printer_create_cairo_surface method.
	
	* modules/printbackends/pdf/gtkprintbackendpdf.c: 
	* modules/printbackends/cups/gtkprintbackendcups.c: 
	* modules/printbackends/lpr/gtkprintbackendlpr.c: 
	* gtk/gtkprinter.c (_gtk_printer_create_cairo_surface): 
	* gtk/gtkprinter-private.h: 
	* gtk/gtkprintjob.c (gtk_print_job_get_surface): Adapt all users.

1351 1352 1353
	* gtk/gtkentrycompletion.c (gtk_entry_completion_finalize): Don't
	leak match data.  (#345107,  Christian Weiske)

1354 1355 1356
	* gtk/gtkprintunixdialog.c (populate_dialog): Move the conflict
	label out of the button box.  (#339456, Christian Persch)

1357 1358 1359
	* gtk/gtksizegroup.c (compute_dimension): Ignore unmapped widgets
	when ignore_hidden is TRUE.  (#344707, Christian Persch)

Matthias Clasen's avatar
Matthias Clasen committed
1360 1361
	* configure.in: Require cvs glib.

1362
	* gtk/gtkprintoperation-unix.c: 
Matthias Clasen's avatar
Matthias Clasen committed
1363 1364 1365 1366 1367 1368
	(_gtk_print_operation_platform_backend_create_preview_surface): 
	Don't use a temporary directory for preview files, since it
	is not clear who cleans it up. Instead, use g_mkstemp() directly
	to create a temp pdf file, and make the preview app responsible
	for cleaning it up.

1369 1370 1371 1372 1373
	* gtk/gtkprintbackend.c: Move the registration of the 
	gtk-print-preview-command setting from gtkprintbackend.c to 
	gtkprintoperation-unix.c, to make sure it is registered before
	the first use. Also, document the two settings.

Matthias Clasen's avatar
Matthias Clasen committed
1374 1375
	* tests/print-editor.c: Add a "Preview" menu item.

1376 1377 1378 1379 1380
	* gtk/gtkprintoperation-unix.c (handle_print_response): When starting
	a preview from the print dialog, set the action to PREVIEW.

	* gtk/gtkprintoperation.c: Cosmetic changes.

1381 1382 1383 1384 1385
2006-06-16 Matthias Clasens  <mclasen@redhat.com>

	* gtk/gtkprintoperation-unix.c: Mark the preview filename
	as translatable (#345093, Christian Persch)

1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401
Fri Jun 16 11:49:53 2006  Tim Janik  <timj@imendio.com>

	* fixed #337882 by applying patches from Tommi Komulainen:

	* gtk/gtkprogressbar.c:
	(gtk_progress_bar_paint_activity):
	(gtk_progress_bar_get_activity): Move activity bar offset and size
	calculations to separate function.
	(gtk_progress_bar_paint_text): Allow caller to specify offset for the
	prelight part in addition to width.
	(gtk_progress_bar_paint): Paint the text also in activity mode, #337882.

	* gtk/gtkprogressbar.c: (gtk_progress_bar_paint_text): Paint the
	prelighted text on top of the normal rather than side by side, to
	simplify painting text in activity mode.

Matthias Clasen's avatar
Matthias Clasen committed
1402 1403 1404 1405 1406
2006-06-16  Matthias Clasen  <mclasen@redhat.com>

	* modules/printbackends/cups/gtkprintbackendcups.c: Include
	gtkprinter-private.h  (#345038, Christian Persch)
 
1407 1408
2006-06-15  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
1409
	* modules/printbackends/pdf/gtkprintbackendpdf.c: Use the
Matthias Clasen's avatar
Matthias Clasen committed
1410 1411
	stock floppy icon.

1412 1413 1414
	* gtk/gtkprintoperation-unix.c: Set the GENERATE_PDF capability
	when creating a print dialog.  (noted by Yevgen Muntyan)

1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431
2006-06-15  Carlos Garnacho  <carlosg@gnome.org>

	* gtk/gtknotebook.c (gtk_notebook_motion_notify): use
	gdk_window_get_pointer() to get pointer coordinates, but limit its
	calls to a maximum of 45 times per second for not being too
	CPU/network abusive. stop drag operation if (event->state &
	GDK_BUTTON1_MASK) is FALSE to prevent tabs from "adhering" to the
	pointer. Fixes bug #341571
	(gtk_notebook_calculate_tabs_allocation), (gtk_notebook_button_press):
	get rid of the "tab jumps to pointer" sensation when beginning a drag
	by using the pointer offset in the tab when the drag begins as an
	anchor.
	(gtk_notebook_redraw_tabs_union): remove, it wasn't worth the little
	performance gain and could draw artifacts under some circumstances.
	(gtk_notebook_drag_end): do not reparent the detached tab label until
	the animation has ended.

1432 1433 1434 1435
2006-06-15  Bastien Nocera  <hadess@hadess.net>

	* configure.in: Update the Cairo requirements (#345008)

Matthias Clasen's avatar
Matthias Clasen committed
1436 1437 1438 1439 1440 1441
2006-06-15  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkprintoperationpreview.c 
	(gtk_print_operation_preview_base_init): Fix errors in the
	signal definitions.  (#344891, Marko Anastasov)

1442
2006-06-14  Michael Emmel  <mike.emmel@gmail.com>
Matthias Clasen's avatar
Matthias Clasen committed
1443
	
1444 1445 1446 1447 1448 1449 1450 1451 1452
	* configure.in: updated mininum  dfb to 0.9.24
	* gdk/directfb/gdkdirectfb.h: added more directfb wrapper functions
	* gdk/directfb/gdkdrawable-directfb.c: wrapper functions and patch from 
	 Claudio Ciccani <klan@users.sf.net> to use a subsurface for cairo
    * gdk/directfb/gdkvisual-directfb.c: changed initalization sequence
    * gdk/directfb/gdkwindow-directfb.c: corrected reparent for toplevels
    * gdk/directfb/gdkdisplay-directfb.c: changed initilization sequence
	to a more rational order

1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463
2006-06-14  Federico Mena Quintero  <federico@novell.com>

	* perf/gtkwidgetprofiler.c (gtk_widget_profiler_profile_expose):
	New function; it lets us time the expose sequence of a widget.
	(create_widget): New helper function.
	(map_widget): New helper function.
	(profile_boot): Use create_widget() instead of doing it by hand.
	(profile_map_expose): Use map_widget() instead of doing it by hand.

	* perf/main.c (main): Call gtk_widget_profiler_profile_expose() as well.

Matthias Clasen's avatar
Matthias Clasen committed
1464 1465
2006-06-14  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
1466 1467 1468
	* gtk/gtkpagesetupunixdialog.c: Use GKeyFile for the custom
	filename storage.  (#344867, Christian Persch)

Matthias Clasen's avatar
Matthias Clasen committed
1469 1470 1471
	* gtk/gtkselection.c: Call init_atoms before using atoms
	in several functions.  (#344743, John Finlay)

Matthias Clasen's avatar
Matthias Clasen committed
1472 1473 1474
	* gtk/gtktreeview.c (gtk_tree_view_set_search_position+_func):
	Allow NULL to reset to default.  (#344838, John Finlay)

Matthias Clasen's avatar
Matthias Clasen committed
1475 1476 1477
	* gtk/gtkprintjob.h: Collect booleans into a bitfield
	(#344765, Christian Persch)

Matthias Clasen's avatar
Matthias Clasen committed
1478 1479 1480 1481
2006-06-13  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Bump version

Matthias Clasen's avatar
2.9.3  
Matthias Clasen committed
1482 1483 1484 1485 1486 1487 1488 1489 1490 1491
2006-06-12  Matthias Clasen  <mclasen@redhat.com>

	* === Released 2.9.3 ===

	* NEWS: Updates
	
	* gtk/gtk.symbols: Add gtk_tree_view_grid_lines_get_type.

	* configure.in: Set interface age to 0

1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511
2006-06-12  Kristian Rietveld  <kris@imendio.com>

	Introduce grid and tree lines in GtkTreeView. (#106406,
	Martyn Russell).

	* gtk/gtktreeprivate.h: add new fields to GtkTreePrivate.

	* gtk/gtkenums.h: add GtkTreeViewGridLines.

	* gtk/gtktreeview.[ch] (gtk_tree_view_set_grid_lines),
	(gtk_tree_view_get_grid_lines),
	(gtk_tree_view_set_enable_tree_lines),
	(gtk_tree_view_get_enable_tree_lines): new API,
	(gtk_tree_view_class_init): new properties,
	(gtk_tree_view_init), (gtk_tree_view_{get,set}_property),
	(gtk_tree_view_realize), (gtk_tree_view_draw_grid_lines),
	(gtk_tree_view_bin_expose): implement.

	* gtk/gtk.symbols: update.

1512 1513
2006-06-12  Matthias Clasen  <mclasen@redhat.com>

1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524
	* gtk/gtkprintunixdialog.c (is_printer_active): Use 
	gtk_printer_accepts_ps here.

	* modules/printbackends/pdf/gtkprintbackendpdf.c (gtk_print_backend_pdf_init):
	Mark the virtual "Print to PDF" printer as not accepting PS.

	* gtk/gtk.symbols:
	* gtk/gtkprinter.h: 
	* gtk/gtkprinter.c: Add two new properties accepts-pdf and
	accepts-ps (with getters) to allow learning supported formats.

1525 1526 1527 1528 1529 1530
	* gtk/gtkprintjob.h: Add a GTK_PRINT_CAPABILITY_GENERATE_PDF
	capability.
	
	* gtk/gtkprintunixdialog.c: Use it here to hide "Print to PDF" 
	from the printer list.  (#339592, Christian Persch)
	
1531 1532 1533
	* gtk/gtkfilechooserdefault.c: Add support for pasting
	filenames into the filechooser.  (#153212, Bastian Nocera)

1534 1535 1536 1537 1538 1539 1540 1541
2006-06-12  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreemodelfilter.[ch]
	(gtk_tree_model_filter_convert_child_iter_to_iter),
	(gtk_tree_model_filter_convert_child_path_to_path): report status
	in return value instead of spewing assertions.  (#335729, Yevgen
	Muntyan).

Matthias Clasen's avatar
Matthias Clasen committed
1542 1543
2006-06-12  Matthias Clasen  <mclasen@redhat.com>

1544 1545 1546
	* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_finalize): 
	Clean up user data.  (#344624, Christian Weiske)

Matthias Clasen's avatar
Matthias Clasen committed
1547 1548
	* NEWS: Updates

Matthias Clasen's avatar
Matthias Clasen committed
1549 1550 1551 1552 1553
	* gtk/gtkprintjob.c:
	* gtk/gtkprintbackend.c: 
	* gtk/gtkpagesetupunixdialog.c: 
	* gtk/gtkprintunixdialog.c: Cosmetic cleanups.

Matthias Clasen's avatar
Matthias Clasen committed
1554 1555
2006-06-11  Matthias Clasen  <mclasen@redhat.com>

1556 1557
	* gtk/gtkassistant.c: Add an accessible implementation in
	order to make the buttons visible to a11y tools.  (pointed out
Matthias Clasen's avatar
Matthias Clasen committed
1558
	by David Malcolm, #343945)
1559

Matthias Clasen's avatar
Matthias Clasen committed
1560 1561 1562
	* gtk/gtkprintoperation-win32.c: Store scale as a percentage.
	(#344560, Christian Persch)

Matthias Clasen's avatar
Matthias Clasen committed
1563 1564 1565 1566
	* gtk/gtkprogressbar.h: Add a dirty flag to GtkProgressBar.n/ 
	* gtk/gtkprogressbar.c: Defer updating of the offscreen
	pixmap until expose.  (#344543, Chris Wilson)

1567 1568 1569 1570 1571 1572 1573 1574 1575
2006-06-11  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkrecentchooserdefault.c
	(get_is_recent_filtered):
	* gtk/gtkrecentchoosermenu.c
	(get_is_recent_filtered):
	Do not leak the groups string vector. (#344607,
	John Finlay)

1576 1577
2006-06-11  Tor Lillqvist  <tml@novell.com>

1578 1579 1580
	* gtk/gtkprintoperation-win32.c: Fix MSVC build problem. (#339739,
	Kazuki Iwamoto)

1581 1582 1583 1584
	* gdk/win32/gdkproperty-win32.c (gdk_property_change): Convert \n
	to \r\n also when storing CF_UNICODETEXT (UTF-16) in the
	Clipboard. (#344496)

1585 1586
2006-06-10  Matthias Clasen <mclasen@redhat.com>

1587 1588 1589 1590 1591 1592 1593
	* gtk/gtkrecentchooserwidget.c 
	(gtk_recent_chooser_widget_new_for_manager):
	* gtk/gtkrecentchoosermenu.c
	(gtk_recent_chooser_menu_new_for_manager): 
	Allow NULL to mean the default manager.  (#344530, 
	John Finlay)

Matthias Clasen's avatar
Matthias Clasen committed
1594 1595 1596 1597
	* gtk/gtkprintoperation-unix.c (page_setup_data_free):
	Check if rdata->page_setup is set before unreffing it. 
	(#344518, Christian Persch)

Matthias Clasen's avatar
Matthias Clasen committed
1598 1599 1600
	* gtk/gtkprintoperation.h: Remove an extra comma.  (#344528, 
	Elijah Newren)

1601 1602 1603 1604 1605 1606
	* modules/printbackends/gtkprintbackendpdf.c 
	(gtk_print_backend_pdf_print_stream): Use the passed in 
	destroy notify.  (#344513, Christian Persch)

	* configure.in: Require cairo 1.1.7

1607 1608 1609 1610 1611
	* gtk/gtkprintoperation.c:
	* modules/printbackends/pdf/gtkprintbackendpdf.c: Use
	cairo_pdf_surface_set_dpi by cairo_surface_set_fallback_resolution.
	(#344512, Elijah Newren)

1612 1613 1614
	* gdk-2.0-uninstalled.pc.in: Make compiling against uninstalled
	gdk work.  (#344386, Masatake Yamamoto)

1615 1616 1617 1618 1619 1620
	* gtk/gtkprintoperation.c: Register create_custom_widget as 
	an object-returning signal.  (#344505, Marko Anastasov, patch
	by Christian Persch)

	* gtk/gtkmarshalers.list: Add the right marshaller.

1621 1622 1623 1624
	* gtk/gtk.symbols:
	* gtk/gtkprintjob.[hc]: Register GtkPrintCapabilities as a
	flags type.  (#344504, Marko Anastasov)

1625 1626 1627 1628 1629
2006-06-09  Benjamin Berg  <benjamin@sipsolutions.net>

	* gtk/gtkmenuitem.c: (get_offsets): Take GtkMenu::horizontal-padding
	into account when placing submenus (#344290)

1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657
2006-06-09  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkrange.c: added new style properties "trough-side-details"
	and "draw-trough-under-steppers" and fixed the "stepper-spacing"
	style property. Fixes bugs #342339 and #342249.

	"draw-trough-under-steppers", when set to FALSE, starts trough
	drawing next to the steppers instead of drawing the trough "below"
	(around) the steppers. If "stepper-spacing" is set to any value
	larger than zero, "draw-trough-under-steppers" is set to FALSE
	automatically to avoid rendering an area that looks clickable but
	isn't.

	(gtk_range_calc_layout): honor draw-trough-under-steppers.
	Don't reserve stepper-spacing on sides of the range that don't
	have steppers.

	(gtk_range_expose): changed drawing accordingly. Implement
	"trough-side-details" which enables drawing of the upper and lower
	parts of the trough with different details. This is useful for
	theme engines which want to draw these parts differently.

	(coord_to_value): correctly take all rendering options into
	account. stepper-spacing > 0 caused jumping and otherwise
	strangely behaving ranges before.

	(other functions): changed accordingly.

1658 1659 1660 1661 1662 1663 1664
2006-06-09  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkdrawable-win32.c (_gdk_win32_drawable_release_dc):
	Call ReleaseDC() on DCs acquired with GetDC() (for windows), and
	DeleteDC() on DCs acquired with CreateCompatibleDC() (for
	bitmaps). According to MSDN, this is the correct thing to do, even
	if always using DeleteDC() seems to have worked fine in
Tor Lillqvist's avatar
Tor Lillqvist committed
1665
	practice. (#337491, Chris Wilson)
1666

1667 1668
2006-06-08  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
1669 1670 1671 1672 1673
	* tests/testprint.c: Update for api changes.

	* gtk/gtkprintoperation.c: Fix some copy-and-paste errors,
	and rename the pdf-target property to export-filename.

Matthias Clasen's avatar
Matthias Clasen committed
1674 1675
	* gtk/gtkfilechooserdefault.c: Turn off profiling code.

Matthias Clasen's avatar
Matthias Clasen committed
1676 1677
	* tests/print-editor.c: Update for api changes.

1678 1679
	* gtk/gtk.h: Include gtkprintoperationpreview.h

1680 1681 1682
	* gtk/gtkprintoperationpreview.c (gtk_print_operation_preview_is_selected): 
	Use g_return_val_if_fail (#344288, Kazuki Iwamoto)

1683 1684 1685 1686 1687 1688 1689
	* gtk/gtkprintbackend.h: Don't include gtkprinter-private.h here.

	* gtk/gtkprintunixdialog.c: 
	* gtk/gtkprintoperation-unix.c: 
	* gtk/gtkprintjob.c: 
	* gtk/gtkprintbackend.c: Instead include it here.

1690 1691 1692 1693
	* gtk/gtk.symbols: 
	* gtk/gtkprintoperation.h: 
	* gtk/gtkprintoperation.c: Rename pdf_target to export_filename.

1694 1695 1696 1697 1698 1699 1700 1701
2006-06-08  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkprintoperation.h (GtkPrintOperationResult): Get
	rid of GTK_PRINT_OPERATION_RESULT_PREVIEW.
	
	* gtk/gtkprintoperation-unix.c: 
	* gtk/gtkprintoperation.c: Update all users.

1702 1703 1704 1705 1706 1707 1708
2006-06-08  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkevents-win32.c (gdk_event_translate):
	[WM_WINDOWPOSCHANGED] Replace identical code as in
	handle_configure_event() with call to that function.
	[WM_SIZING] Fix implementation of aspect ratio hints. (#344244)
	The hints are for the geometry of the client area, not of the
Tor Lillqvist's avatar
Typo.  
Tor Lillqvist committed
1709 1710
	window including decorations. Improve resizing behaviour in the
	presence of aspect hints, to be more in line with typical X window
1711 1712
	managers.

1713 1714
2006-06-08  Matthias Clasen  <mclasen@redhat.com>

1715 1716 1717
	* gtk/gtktoolbutton.c (gtk_tool_button_style_set): Give
	GtkToolButton the same treatment.

1718 1719 1720 1721
	* gtk/gtkbutton.c (gtk_button_style_set): Don't call
	construct_child here, since some apps make assumptions 
	about the lifecycle of the constructed label.  

1722 1723 1724 1725 1726
2006-06-08  Alexander Larsson  <alexl@redhat.com>

	* gtk/gtkprintoperation-unix.c (finish_print):
	Fix up unix fallout from previous change.

1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740
2006-06-08  Alexander Larsson  <alexl@redhat.com>

	* gtk/gtkprintoperation-win32.c:
	Update windows to build with new APIs and first cut
	at preview work.
	
	* gtk/gtkprintoperation-private.h:
	* gtk/gtkprintoperation-unix.c:
	* gtk/gtkprintoperation.c
	Various updates needed when making the preview work on win32.

	* tests/print-editor.c:
	Print, don't preview.

1741 1742
2006-06-07  Matthias Clasen  <mclasen@redhat.com>

1743 1744 1745 1746
	* gtk/gtkentry.c (popup_targets_received): Make Delete
	menuitem insensitive if entry is not editable.  (#344232, 
	Milosz Derezynski)

Matthias Clasen's avatar
Matthias Clasen committed
1747 1748 1749 1750 1751 1752
	* gtk/gtkprintoperation.c: Add some docs. 

	* gtk/gtk.symbols: Add gtk_print_operation_set_allow_async.

	* gtk/gtkprintoperation.h: Remove gtk_print_operation_run_async.

Matthias Clasen's avatar
Matthias Clasen committed
1753 1754
	* tests/testnotebookdnd.c: Update callers.

1755 1756 1757 1758 1759
	* gtk/gtknotebook.h:
	* gtk/gtknotebook.c (gtk_notebook_set_window_creation_hook):
	Add a destroy notify for the callback data.  (#344209, 
	Murray Cumming)

1760 1761 1762 1763
2006-06-07  Jürg Billeter  <j@bitron.ch>

	* gtk/Makefile.am: Fix building gtkbuiltincache.h without system GTK+.

1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780
2006-06-07  Alexander Larsson  <alexl@redhat.com>

	* gtk/gtk.symbols:
	* gtk/gtkprintoperation-private.h:
	* gtk/gtkprintoperation-unix.c:
	* gtk/gtkprintoperation.[ch]:
	Clean up APIs:
	Make async a setting instead of separate calls.
	Combine settings like show_dialog, show_preview and pdf_target into
	an action enum that you pass to gtk_print_dialog_run().
	
	* tests/print-editor.c:
	* tests/testnouiprint.c:
	* tests/testprint.c:
	* demos/gtk-demo/printing.c:
	Update to new APIs

1781 1782 1783 1784
2006-06-07  Bastien Nocera  <hadess@hadess.net>

	* configure.in: Update the ATK requirements (#344148)

Matthias Clasen's avatar
Matthias Clasen committed
1785 1786 1787 1788 1789 1790
2006-06-07  Matthias Clasen  <mclasen@redhat.com>

	* modules/printbackends/cups/gtkprintercups.c 
	(gtk_printer_cups_finalize):  Fix a C99ism.
	(#344123, Jens Ganseuer)

1791 1792 1793
2006-06-06  Behdad Esfahbod  <behdad@gnome.org>

	* gdk/gdkpango.c (gdk_pango_layout_line_get_clip_region): Correct
Behdad Esfahbod's avatar
Behdad Esfahbod committed
1794
	rounding of rect members.  Improved docs.  (#337603)
1795

Matthias Clasen's avatar
Matthias Clasen committed
1796 1797 1798 1799
2006-06-06  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkicontheme.c: Small optimization

Matthias Clasen's avatar
2.9.2  
Matthias Clasen committed
1800 1801
2006-06-05  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
1802 1803
	* configure.in: Bump version

Matthias Clasen's avatar
2.9.2  
Matthias Clasen committed
1804 1805 1806 1807 1808 1809 1810 1811 1812 1813
	* === Released 2.9.2 ===

	* configure.in: Set interface age to 0.

	* NEWS: Updates

	* gtk/gtkprintoperationpreview.c: Include gtkalias.h

	* gtk/gtk.symbols: Add some forgotten new functions.

1814 1815
2006-06-04  Matthias Clasen  <mclasen@redhat.com>

1816 1817 1818 1819
	* gtk/gtknotebook.c (gtk_notebook_calculate_shown_tabs):
	(gtk_notebook_calc_tabs): Fix borderline cases in tab
	visibility calculation.  (#168105, Carlos Garnacho Parro)

1820
	* gdk/x11/gdkfont-x11.c (_gdk_font_destroy): Remove the right
Matthias Clasen's avatar
2.9.2  
Matthias Clasen committed
1821
	XID from the xid table.  (#341327, Sampo Savolainen, Tim Janik)
1822

1823 1824 1825 1826
2006-06-04  Behdad Esfahbod  <behdad@gnome.org>

	* gtk/gtkprintoperationpreview.h: Add missing G_END_DECLS (#343838)

1827 1828 1829 1830 1831 1832
2006-06-03  Richard Hult  <richard@imendio.com>                                 

	* gdk/quartz/Makefile.am:                                               
	* gdk/quartz/gdkspawn-quartz.c: Add spawn functions, copied from the
	win32 backend.

Matthias Clasen's avatar
Matthias Clasen committed
1833
2006-06-02  Matthias Clasen  <mclasen@redhat.com>
1834 1835 1836 1837 1838 1839
	
	* gtk/gtkprintoperation-private.h:
	* gtk/gtkprintoperation.h:
	* gtk/gtkprintoperation.c: Add a show-preview property. 

	* gtk/gtkprintoperation-unix.c: Implement it here.
Matthias Clasen's avatar
Matthias Clasen committed
1840 1841 1842

	* gtk/gtkprintoperation-unix.c: Cleanups

1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868
2006-06-02  Kristian Rietveld  <kris@imendio.com>

	Rubber banding for GtkTreeView, #80127.  Uses same method as
	GtkIconView.

	* gtk/gtktreeview.c (gtk_tree_view_class_init),
	(gtk_tree_view_init), (gtk_tree_view_get_property),
	(gtk_tree_view_set_property), (gtk_tree_view_set_rubber_banding),
	(gtk_tree_view_get_rubber_banding): add property,
	(gtk_tree_view_button_press): start rubber banding if enabled and
	press is on a non-selected node,
	(gtk_tree_view_button_release): stop rubber banding,
	(gtk_tree_view_motion_bin_window), (scrool_row_timeout): enable/update
	the rubber band,
	(gtk_tree_view_bin_expose): draw rubber band if active,
	(gtk_tree_view_stop_rubberband),
	(gtk_tree_view_update_rubber_band_selection_range),
	(gtk_tree_view_update_rubber_band_selection),
	(gtk_tree_view_update_rubber_band),
	(gtk_tree_view_paint_rubber_band): new functions.

	* gtk/gtktreeview.h: add new set/get function for rubber banding
	property.

	* gtk/gtktreeprivate.h: add a bunch of new private fields.

1869 1870
2006-06-02  Kristian Rietveld  <kris@imendio.com>

Matthias Clasen's avatar
2.9.2  
Matthias Clasen committed
1871
	* gtk/gtktreeview.c (gtk_tree_view_leave_notify): revert fix of
1872 1873 1874
	#164884 because it's not a problem in gtk+ but in applications and
	it breaks starting drags from the edge of a row.

1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892
2006-06-02  Kristian Rietveld  <kris@imendio.com>

	Separate sensitive/selectable properties.

	* gtk/gtktreeselection.c (tree_column_is_sensitive): remove,
	(_gtk_tree_selection_row_is_selectable): remove checks to see if at
	least one column is sensitive,
	(gtk_tree_selection_real_select_node): remove code which enables
	insensitive rows to always be unselected.

	* gtk/gtktreeview.c (gtk_tree_view_row_changed): remove code
	that unselects a node if it just became insensitive.

	* gtk/gtkcombobox.c (gtkcombo_box_list_select_func): new function,
	based on the at least one column sensitive check from
	_gtk_tree_selection_row_is_selectable(),
	(gtk_combo_box_list_setup): set selection function on tree selection.

1893 1894 1895 1896 1897 1898 1899 1900
2006-06-02  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtktreemodelfilter.c
	(gtk_tree_model_filter_convert_child_path_to_path): need to use
	gtk_tree_model_filter_get_iter_full() since the path returned
	by gtk_real_tree_model_filter_convert_child_path_to_path() includes
	invisible nodes.

Matthias Clasen's avatar
Matthias Clasen committed
1901 1902
2006-06-02  Matthias Clasen  <mclasen@redhat.com>

1903 1904 1905
	* gtk/gtkstatusicon.c (gtk_status_icon_get_geometry): Allow
	to return partial information.  (#343625, Christian Persch)

Matthias Clasen's avatar
Matthias Clasen committed
1906 1907 1908
	* gtk/gtkwindow.c (gtk_window_key_release_event): Chain up
	to key_release, not to key_press.  (#343677, Tommi Komulainen)

1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944
2006-06-02  Alexander Larsson  <alexl@redhat.com>

	* gtk/Makefile.am:
	Add gtkprintoperationpreview.[ch]
	Set default preview command. Hardcoded for now.
	
	* gtk/gtkmarshalers.list:
	Add BOOLEAN:OBJECT,OBJECT,OBJECT
	
	* gtk/gtkprintbackend.c:
	Add preview command property.
	
	* gtk/gtkprintcontext.[ch]:
	Make less dependent on PrintOperation for output settings
	Externally set cairo_t and dpi. Resettable.
	Create fontmap without metrics hinting (so that print preview
	text layout doesn't depend on zoom level).
	
	* gtk/gtkprintoperation-private.h:
	* gtk/gtkprintoperation-unix.c: 
	* gtk/gtkprintoperation.[ch]:
	Initial work on print preview API and default implementation
	using an external preview app.
	
	* gtk/gtkprintoperation-win32.c:
	Some needed updates. Not done, needs more work.
	
	* gtk/gtkprintoperationpreview.[ch]:
	New interface used in print preview api.
	
	* gtk/gtkprintunixdialog.c:
	Add print preview dialog.
	
	* tests/print-editor.c:
	Test using an custom print preview widget.

1945 1946 1947 1948 1949 1950
2006-06-02  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkrecentmanager.c
	(gtk_recent_info_get_application_info): Fix a typo (spotted by
	Paolo Borelli and coverity).

Matthias Clasen's avatar
Matthias Clasen committed
1951
2006-06-01  Matthias Clasen  <mclasen@redhat.com>
Matthias Clasen's avatar
Matthias Clasen committed
1952 1953
	
	* tests/testnotebookdnd.c: Small tweaks to test more things.
Matthias Clasen's avatar
Matthias Clasen committed
1954

1955 1956 1957 1958 1959 1960 1961
	* gtk/gtktoolbutton.c (gtk_tool_button_class_init): Add
	an icon-spacing style property for the same purpose.

	* gtk/gtkbutton.c (gtk_button_class_init):  Add an image-spacing
	style property that allows to adjust the spacing between image
	and label in button.  (#320431, James Moger)

Matthias Clasen's avatar
Matthias Clasen committed
1962 1963 1964
	* gtk/gtkprintoperation-private.h: 
	* gtk/gtkprintoperation.c: 
	* gtk/gtkprintoperation-unix.c: Move the 
Matthias Clasen's avatar
Matthias Clasen committed
1965 1966 1967
	PrintPagesData.wait flag to GtkPrintOperationPrivate.is_sync.
	Also use a recursive mainloop instead of manually looping.
	
Matthias Clasen's avatar
Matthias Clasen committed
1968 1969
	* gtk/gtkprintoperation.c: Add some examples to the docs.

Matthias Clasen's avatar
Matthias Clasen committed
1970 1971 1972
	* gtk/gtkprintbackend.c (gtk_print_backend_class_init): 
	Intern signal names.

1973
	* gtk/gtkprintunixdialog.c: 
Matthias Clasen's avatar
Matthias Clasen committed
1974 1975
	* gtk/gtkprintoperation-unix.c: Use canonical signal names.

1976 1977
2006-05-31  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
1978 1979 1980
	* gtk/gtkpagesetupunixdialog.c: Add docs, cleanup some
	formatting.

1981 1982 1983
	* gtk/gtkprintoperation.c (print_pages_idle): Don't
	treat manual_scale like a percentage, its a factor.

1984 1985 1986
	* gtk/gtktreeview.c (gtk_tree_view_class_init): Document
	signals.  (#302556, Stefan Kost)

1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999
2006-05-31  Alexander Larsson  <alexl@redhat.com>

	* gtk/gtk.symbols:
	* demos/gtk-demo/printing.c:
	* tests/print-editor.c:
	* tests/testnouiprint.c:
	* tests/testprint.c:
	* tests/testprintfileoperation.c:
	Further updates from the GtkPrintContext functions rename.
	
	* modules/printbackends/cups/gtkcupsutils.c:
	Always set requesting-user-name when doing cups requests.

2000 2001 2002 2003 2004 2005
2006-05-31  Alexander Larsson  <alexl@redhat.com>

	* gtk/gtkpagesetupunixdialog.c:
	Remove request_details_tag with g_signal_handler_disconnect,
	not g_source_remove. (#343475)

2006 2007
2006-05-31  Matthias Clasen  <mclasen@redhat.com>

2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018
	* gtk/gtkprintcontext.h: 
	* gtk/gtkprintcontext.c: 
	* gtk/gtkprintoperation.c: 
	* gtk/gtkprintoperation-unix.c: Change some function names to be 
	longer and better. 
	gtk_print_context_get_cairo -> gtk_print_context_get_cairo_context
	gtk_print_context_get_fontmap -> gtk_print_context_get_pango_fontmap
	gtk_print_context_create_context -> gtk_print_context_create_pango_context
	gtk_print_context_create_layout -> gtk_print_context_create_pango_layout
	Update all callers.