ChangeLog.pre-2-10 287 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
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.

49 50 51 52 53 54 55 56
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
oooops.  
Kristian Rietveld committed
57 58 59 60 61
2006-07-18  Kristian Rietveld  <kris@imendio.com>

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

62 63 64 65 66 67 68 69 70 71 72 73
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
74 75 76 77 78 79 80 81 82 83
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.

84 85 86 87 88 89 90
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.

91 92 93 94 95 96
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.

97 98 99 100 101 102 103 104
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.

105 106 107 108 109
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)

110 111 112 113 114
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
115 116 117 118 119
2006-07-17  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkdisplay-quartz.c (gdk_display_open): Initialize
	GdkInput.
	
120 121 122 123 124 125
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).

126 127 128 129 130 131
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).

132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152
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
153 154
2006-07-17  Matthias Clasen  <mclasen@redhat.com>

155 156 157
	* gdk/gdkwindow.c (gdk_window_get_pointer): Add some more
	detail to the docs.  (#311399, Nikos Kouremenos)

Matthias Clasen's avatar
Matthias Clasen committed
158 159 160 161
	* gtk/gtkentrycompletion.c (gtk_entry_completion_set_match_func): 
	* gtk/gtkcomboboxentry.c (gtk_combo_box_entry_set_text_column): 
	Fix typos in the docs.

162 163
2006-07-16  Matthias Clasen  <mclasen@redhat.com>

164 165 166
	* gtk/gtkassistant.c: Some small documentation
	fixups.  (#347711, Guillaume Cottenceau)

167 168 169
	* gtk/gtkfilechooserdefault.c (browse_widgets_create): Mark
	the text of the location label as translatable.  

170 171 172
	* gtk/gtkprintjob.c (gtk_print_job_send): Fix a typo in 
	the docs.  (#347211, Kouhei Sutou)   

173 174 175 176 177 178
	* configure.in: Make the test for the sync extension
	more robust.  (#347315, Tommi Komulainen)

	* gtk/gtktextiter.c: Declare GtkTextRealIter as a type that 
	may alias.  (#347585, Ed Catmur)

179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195
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

196 197 198 199 200 201 202 203
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.

204 205
2006-07-10  Matthias Clasen  <mclasen@redhat.com>

206 207 208 209 210 211 212 213
	* 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)

214 215 216
	* gtk/gtkfilechooserbutton.c: Fix some memory handling
	issues.  (#347043, Chris Wilson)

217 218 219 220 221 222 223
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
224 225
2006-07-10  Matthias Clasen  <mclasen@redhat.com>

226 227 228
	* gtk/gtkpapersize.c (gtk_paper_size_is_equal): Fix a 
	typo in the docs.  (#347041, Kouhei Sutou)

229 230 231
	* gtk/gtkprintcontext.c (gtk_print_context_get_height): Fix
	a typo in the docs.  (#347032, Kouhei Sutou)

232 233 234 235
	* gtk/gtkassistant.c (gtk_assistant_focus): Don't assume
	that priv->current_page is non-NULL.  (#347048, Guillaume 
	Cottenceau)

236 237
	* gtk/gtk.symbols: Add some missing deprecation guards.

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

240 241 242 243 244 245
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)

246 247 248 249 250 251 252 253 254 255
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>
256 257 258 259 260 261

	* 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
262 263 264 265 266
2006-07-08  Matthias Clasen  <mclasen@redhat.com>

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

267 268 269 270 271 272 273 274
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)

275 276 277 278 279 280 281 282 283 284
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.

285 286 287 288 289 290
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
291 292 293 294
2006-07-07  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkicontheme.c: Small memory savings.

295 296 297 298 299 300
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)

301 302 303 304
2006-07-06  Behdad Esfahbod  <behdad@gnome.org>

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

305 306 307 308 309 310 311 312 313 314 315 316
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

317 318 319 320 321 322 323
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.

324 325 326 327 328
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.

329 330
2006-07-05  Matthias Clasen  <mclasen@redhat.com>

331 332 333
	* gtk/gtktreeview.c (gtk_tree_view_set_enable_tree_lines): Don't
	leak dash_list.  (#346639, Christian Persch)

334 335 336 337
	* gtk/gtkwindow.c (gtk_window_unmap, gtk_window_set_keep_above) 
	(gtk_window_set_keep_below): Fix some assignments involving
	booleans.  (#346467, Christian Persch)

338 339 340 341
2006-07-03  Matthias Clasen <mclasen@redhat.com>

	* gtk/gtkgamma.c: Use serialized pixbufs instead of xpms.
	
342 343 344 345
2006-07-03  Runa Bhattacharjee <runabh@gmail.com>

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

346 347 348 349 350 351
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
352 353 354 355
2006-07-03  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Bump version

Matthias Clasen's avatar
Matthias Clasen committed
356
2006-07-02  Matthias Clasen  <mclasen@redhat.com>
357
	
Matthias Clasen's avatar
2.10.0  
Matthias Clasen committed
358 359
	* === Released 2.10.0 ===

360 361 362 363
	* 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
364 365 366

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

Matthias Clasen's avatar
Matthias Clasen committed
368 369
2006-06-30  Matthias Clasen  <mclasen@redhat.com>
	
370 371 372 373
	* 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
374 375 376
	* demos/gtk-demo/editable_cells.c: Portability fix.
	(#346375, Thomas Klausner)

Matthias Clasen's avatar
Updates  
Matthias Clasen committed
377 378
	* NEWS, README.in, INSTALL.in: Updates

379 380 381
	* gtk/gtktreemodelsort.c (gtk_tree_model_sort_finalize):
	Don't leak default_sort_data.  (#346341, Christian Weiske)

Matthias Clasen's avatar
Matthias Clasen committed
382 383 384
	* gtk/Makefile.am: Make sure all win32-specific printing
	sources are distributed.  (#346312, Erik van Pienbroek)
	
385 386 387
	* gtk/gtkprinter.c (gtk_enumerate_printers): Always call the
	destroy notify.  (#346027, Christian Persch)

Matthias Clasen's avatar
Matthias Clasen committed
388 389 390 391 392 393
	* 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
394 395 396 397 398 399 400 401
	* 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.

402 403 404 405 406
2006-06-29  Bill Skaggs  <weskaggs@primate.ucdavis.edu>

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

Matthias Clasen's avatar
Matthias Clasen committed
407 408 409 410 411 412 413
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
414

Matthias Clasen's avatar
Updates  
Matthias Clasen committed
415 416
	* NEWS: Updates

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

420 421
2006-06-28  Matthias Clasen  <mclasen@redhat.com>

422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440
	* 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
441

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

445 446 447 448 449 450
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).

451 452 453 454 455
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 

456 457 458 459 460 461 462 463 464 465 466 467
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.

468 469 470 471 472
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).

473 474 475 476 477
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
478 479 480 481 482 483
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)

484 485 486 487 488
2006-06-24  Matthias Clasen  <mclasen@redhat.com>

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

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

493 494 495 496 497 498 499 500
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

501 502 503 504 505
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.

506 507
2006-06-22  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
508 509 510 511
	* gtk/gtkpintjob.h: Add a note about updating the registration.
	* gtk/gtkprintjob.c (gtk_print_capabilites_get_type): Add missing
	capabilitites. 

512 513 514 515
	* 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
516
2006-06-21  Matthias Clasen  <mclasen@redhat.com>
Matthias Clasen's avatar
Matthias Clasen committed
517 518

	* configure.in: Bump version
Matthias Clasen's avatar
2.9.4  
Matthias Clasen committed
519 520
	
	* === Released 2.9.4 ===
Matthias Clasen's avatar
Matthias Clasen committed
521

522 523 524 525
	* modules/printbackends/file/gtkprintbackendfile.c: 
	Apply a patch by Christian Persch to support PostScript and PDF
	output.

Matthias Clasen's avatar
Matthias Clasen committed
526 527 528
	* gtk/gtkprinteroptionwidget.c (radio_changed_cb): Don't free
	the value.

529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565
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
	
566 567
2006-06-21  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
cleanup  
Matthias Clasen committed
568 569 570
	* gtk/gtkprinter.c (gtk_enumerate_printers): Remove an 
	unused variable.

Matthias Clasen's avatar
Updates  
Matthias Clasen committed
571 572
	* NEWS: Updates

573 574 575
	* gtk/gtktreeview.c (gtk_tree_view_class_init): Fix the registration
	of the grid-lines property  (#345456, Murray Cumming) 
	
576 577 578 579 580 581 582 583 584 585
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
586 587
2006-06-21  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
588 589 590 591 592 593 594 595 596 597 598 599 600
	* 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
601 602 603 604
	* modules/printbackends/cups/gtkprintbackendcups.c: Remove the
	GError parameter from cups_request_execute(), and various other
	cleanups.

605 606 607 608 609
2006-06-20  Matthias Clasen  <mclasen@redhat.com>

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

610 611 612 613 614
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.

615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635
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.

636 637
2006-06-20  Matthias Clasen  <mclasen@redhat.com>

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

640 641 642 643 644 645 646 647 648 649
	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.

650 651
2006-06-20  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
652 653 654
	* gtk/gtktreeview.c (gtk_tree_view_set_column_drag_info): Better 
	fix.

655 656 657 658
	* gtk/gtk.symbols: 
	* gtk/gtkprintsettings.h: 
	* gtk/gtkprintsettings.c: Remove unused print-to-file setting.

659 660 661 662 663 664 665
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

666 667 668 669 670
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.

671 672
2006-06-20  Matthias Clasen  <mclasen@redhat.com>

673 674 675
	* gtk/gtkiconview.c (gtk_icon_view_enable_model_drag_dest): 
	Small doc fix.  (#345176, Claudio Saavedra)

676 677 678
	* gdk/x11/gdkwindow-x11.c (gdk_window_set_functions): Update
	the docs. (#345194, Yevgen Muntyan)

679 680
2006-06-19  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
681 682
	* gtk/gtktreeview.c (gtk_tree_view_set_grid_lines): Don't leak
	dash_list.
683 684 685
	(gtk_tree_view_set_column_drag_info): Don't crash if the 
	column_drop_func says always no.  (#344850, Christian Weiske)
	
686 687 688 689 690 691 692 693 694
	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.

695 696
2006-06-19  Matthias Clasen  <mclasen@redhat.com>

697 698 699
	* gtk/updateiconcache.c: Marks strings for translation.  (#314278,
	Claudio Saavedra)

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

703 704 705
	* gtk/gtkfilechooserdefault.c: 
	Avoid a near-duplicate string and add some
	translator comments.  (#345320, #345321, Hendrik Richter)
706

707 708 709 710 711 712 713 714
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.

715 716 717 718 719 720 721
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.

722 723
2006-06-19  Matthias Clasen  <mclasen@redhat.com>

724 725 726 727 728 729
	* gtk/gtk.symbols: Add new functions

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

730
	* gtk/gtkprinter-private.h: 
731 732
	* gtk/gtkprinter.c (_gtk_printer_get_options) 

733 734 735 736 737 738 739 740 741 742 743 744 745
	* 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.

746 747 748
	* 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
749 750
2006-06-18  Matthias Clasen  <mclasen@redhat.com>

751 752 753 754 755
	* 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
756 757 758
	* gtk/gtkwindow.c (gtk_window_move): Small doc addition. 
	(#345275, Behdad Esfahbod)

759 760
2006-06-17  Matthias Clasen  <mclasen@redhat.com>

761 762 763 764
	* modules/printbackends/pdf/gtkprintbackendpdf.c:
	* modules/printbackends/lpr/gtkprintbackendlpr.c: Fix a typo:
	s/Extention/Extension/. 
	
Matthias Clasen's avatar
~  
Matthias Clasen committed
765 766 767 768 769
	* 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. 

770 771 772 773 774 775 776 777
	* 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.

778 779
2006-06-16  Matthias Clasen  <mclasen@redhat.com>

780 781 782 783
	* modules/printbackends/cups/gtkprintbackendcups.c:
	* modules/printbackends/lpr/gtkprintbackendlpr.c: Use a stock icon
	for printers.

784 785 786
	* gtk/gtkprintunixdialog.c (add_option_to_table): Don't grow
	additional columns.

787 788 789 790 791 792 793 794 795 796
	* 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.

797 798 799
	* gtk/gtkentrycompletion.c (gtk_entry_completion_finalize): Don't
	leak match data.  (#345107,  Christian Weiske)

800 801 802
	* gtk/gtkprintunixdialog.c (populate_dialog): Move the conflict
	label out of the button box.  (#339456, Christian Persch)

803 804 805
	* gtk/gtksizegroup.c (compute_dimension): Ignore unmapped widgets
	when ignore_hidden is TRUE.  (#344707, Christian Persch)

Matthias Clasen's avatar
Matthias Clasen committed
806 807
	* configure.in: Require cvs glib.

808
	* gtk/gtkprintoperation-unix.c: 
Matthias Clasen's avatar
Matthias Clasen committed
809 810 811 812 813 814
	(_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.

815 816 817 818 819
	* 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
820 821
	* tests/print-editor.c: Add a "Preview" menu item.

822 823 824 825 826
	* 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.

827 828 829 830 831
2006-06-16 Matthias Clasens  <mclasen@redhat.com>

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

832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847
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
848 849 850 851 852
2006-06-16  Matthias Clasen  <mclasen@redhat.com>

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

Matthias Clasen's avatar
Matthias Clasen committed
855
	* modules/printbackends/pdf/gtkprintbackendpdf.c: Use the
Matthias Clasen's avatar
Matthias Clasen committed
856 857
	stock floppy icon.

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

861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877
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.

878 879 880 881
2006-06-15  Bastien Nocera  <hadess@hadess.net>

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

Matthias Clasen's avatar
Matthias Clasen committed
882 883 884 885 886 887
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)

888
2006-06-14  Michael Emmel  <mike.emmel@gmail.com>
Matthias Clasen's avatar
Updates  
Matthias Clasen committed
889
	
890 891 892 893 894 895 896 897 898
	* 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

899 900 901 902 903 904 905 906 907 908 909
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
910 911
2006-06-14  Matthias Clasen  <mclasen@redhat.com>

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

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

Matthias Clasen's avatar
Matthias Clasen committed
918 919 920
	* 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
921 922 923
	* gtk/gtkprintjob.h: Collect booleans into a bitfield
	(#344765, Christian Persch)

Matthias Clasen's avatar
Matthias Clasen committed
924 925 926 927
2006-06-13  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Bump version

Matthias Clasen's avatar
2.9.3  
Matthias Clasen committed
928 929 930 931 932 933 934 935 936 937
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

938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957
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.

958 959
2006-06-12  Matthias Clasen  <mclasen@redhat.com>

960 961 962 963 964 965 966 967 968 969 970
	* 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.

971 972 973 974 975 976
	* 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)
	
977 978 979
	* gtk/gtkfilechooserdefault.c: Add support for pasting
	filenames into the filechooser.  (#153212, Bastian Nocera)

980 981 982 983 984 985 986 987
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
988 989
2006-06-12  Matthias Clasen  <mclasen@redhat.com>

990 991 992
	* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_finalize): 
	Clean up user data.  (#344624, Christian Weiske)

Matthias Clasen's avatar
Updates  
Matthias Clasen committed
993 994
	* NEWS: Updates

Matthias Clasen's avatar
Matthias Clasen committed
995 996 997 998 999
	* gtk/gtkprintjob.c:
	* gtk/gtkprintbackend.c: 
	* gtk/gtkpagesetupunixdialog.c: 
	* gtk/gtkprintunixdialog.c: Cosmetic cleanups.

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

1002 1003
	* 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
1004
	by David Malcolm, #343945)
1005

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

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

1013 1014 1015 1016 1017 1018 1019 1020 1021
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)

1022 1023
2006-06-11  Tor Lillqvist  <tml@novell.com>

1024 1025 1026
	* gtk/gtkprintoperation-win32.c: Fix MSVC build problem. (#339739,
	Kazuki Iwamoto)

1027 1028 1029 1030
	* gdk/win32/gdkproperty-win32.c (gdk_property_change): Convert \n
	to \r\n also when storing CF_UNICODETEXT (UTF-16) in the
	Clipboard. (#344496)

1031 1032
2006-06-10  Matthias Clasen <mclasen@redhat.com>

1033 1034 1035 1036 1037 1038 1039
	* 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
1040 1041 1042 1043
	* 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
1044 1045 1046
	* gtk/gtkprintoperation.h: Remove an extra comma.  (#344528, 
	Elijah Newren)

1047 1048 1049 1050 1051 1052
	* 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

1053 1054 1055 1056 1057
	* gtk/gtkprintoperation.c:
	* modules/printbackends/pdf/gtkprintbackendpdf.c: Use
	cairo_pdf_surface_set_dpi by cairo_surface_set_fallback_resolution.
	(#344512, Elijah Newren)

1058 1059 1060
	* gdk-2.0-uninstalled.pc.in: Make compiling against uninstalled
	gdk work.  (#344386, Masatake Yamamoto)

1061 1062 1063 1064 1065 1066
	* 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.

1067 1068 1069 1070
	* gtk/gtk.symbols:
	* gtk/gtkprintjob.[hc]: Register GtkPrintCapabilities as a
	flags type.  (#344504, Marko Anastasov)

1071 1072 1073 1074 1075
2006-06-09  Benjamin Berg  <benjamin@sipsolutions.net>

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

1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103
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.

1104 1105 1106 1107 1108 1109 1110
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
1111
	practice. (#337491, Chris Wilson)
1112

1113 1114
2006-06-08  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
1115 1116 1117 1118 1119
	* 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
1120 1121
	* gtk/gtkfilechooserdefault.c: Turn off profiling code.

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

1124 1125
	* gtk/gtk.h: Include gtkprintoperationpreview.h

1126 1127 1128
	* gtk/gtkprintoperationpreview.c (gtk_print_operation_preview_is_selected): 
	Use g_return_val_if_fail (#344288, Kazuki Iwamoto)

1129 1130 1131 1132 1133 1134 1135
	* 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.

1136 1137 1138 1139
	* gtk/gtk.symbols: 
	* gtk/gtkprintoperation.h: 
	* gtk/gtkprintoperation.c: Rename pdf_target to export_filename.

1140 1141 1142 1143 1144 1145 1146 1147
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.

1148 1149 1150 1151 1152 1153 1154
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
1155 1156
	window including decorations. Improve resizing behaviour in the
	presence of aspect hints, to be more in line with typical X window
1157 1158
	managers.

1159 1160
2006-06-08  Matthias Clasen  <mclasen@redhat.com>

1161 1162 1163
	* gtk/gtktoolbutton.c (gtk_tool_button_style_set): Give
	GtkToolButton the same treatment.

1164 1165 1166 1167
	* 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.  

1168 1169 1170 1171 1172
2006-06-08  Alexander Larsson  <alexl@redhat.com>

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

1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186
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.

1187 1188
2006-06-07  Matthias Clasen  <mclasen@redhat.com>

Matthias Clasen's avatar
Matthias Clasen committed
1189 1190 1191 1192
	* 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
1193 1194 1195 1196 1197 1198
	* 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
1199 1200
	* tests/testnotebookdnd.c: Update callers.

1201 1202 1203 1204 1205
	* gtk/gtknotebook.h:
	* gtk/gtknotebook.c (gtk_notebook_set_window_creation_hook):
	Add a destroy notify for the callback data.  (#344209, 
	Murray Cumming)

1206 1207 1208 1209
2006-06-07  Jürg Billeter  <j@bitron.ch>

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

1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226
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

1227 1228 1229 1230
2006-06-07  Bastien Nocera  <hadess@hadess.net>

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

Matthias Clasen's avatar
Matthias Clasen committed
1231 1232 1233 1234 1235 1236
2006-06-07  Matthias Clasen  <mclasen@redhat.com>

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

1237 1238 1239
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
1240
	rounding of rect members.  Improved docs.  (#337603)
1241

Matthias Clasen's avatar
Matthias Clasen committed
1242 1243 1244 1245
2006-06-06  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkicontheme.c: Small optimization

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

Matthias Clasen's avatar
Matthias Clasen committed
1248 1249
	* configure.in: Bump version

Matthias Clasen's avatar
2.9.2  
Matthias Clasen committed
1250 1251 1252 1253 1254 1255 1256 1257 1258 1259
	* === 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.

1260 1261
2006-06-04  Matthias Clasen  <mclasen@redhat.com>

1262 1263 1264 1265
	* gtk/gtknotebook.c (gtk_notebook_calculate_shown_tabs):
	(gtk_notebook_calc_tabs): Fix borderline cases in tab
	visibility calculation.  (#168105, Carlos Garnacho Parro)

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

1269 1270 1271 1272
2006-06-04  Behdad Esfahbod  <behdad@gnome.org>

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

1273 1274 1275 1276 1277 1278
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
1279
2006-06-02  Matthias Clasen  <mclasen@redhat.com>
1280 1281 1282 1283 1284 1285
	
	* 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
1286 1287 1288

	* gtk/gtkprintoperation-unix.c: Cleanups

1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314
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.

1315 1316
2006-06-02  Kristian Rietveld  <kris@imendio.com>

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

1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338
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.

1339 1340 1341 1342 1343 1344 1345 1346
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
1347 1348
2006-06-02  Matthias Clasen  <mclasen@redhat.com>

1349 1350 1351
	* gtk/gtkstatusicon.c (gtk_status_icon_get_geometry): Allow
	to return partial information.  (#343625, Christian Persch)

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

1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390
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.

1391 1392 1393 1394 1395 1396
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
1397
2006-06-01  Matthias Clasen  <mclasen@redhat.com>
Matthias Clasen's avatar
Matthias Clasen committed
1398 1399
	
	* tests/testnotebookdnd.c: Small tweaks to test more things.
Matthias Clasen's avatar
Matthias Clasen committed
1400

1401 1402 1403 1404 1405 1406 1407
	* 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
1408 1409 1410
	* gtk/gtkprintoperation-private.h: 
	* gtk/gtkprintoperation.c: 
	* gtk/gtkprintoperation-unix.c: Move the 
Matthias Clasen's avatar
Matthias Clasen committed
1411 1412 1413
	PrintPagesData.wait flag to GtkPrintOperationPrivate.is_sync.
	Also use a recursive mainloop instead of manually looping.
	
Matthias Clasen's avatar
Matthias Clasen committed
1414 1415
	* gtk/gtkprintoperation.c: Add some examples to the docs.

Matthias Clasen's avatar
Matthias Clasen committed
1416 1417 1418
	* gtk/gtkprintbackend.c (gtk_print_backend_class_init): 
	Intern signal names.

Matthias Clasen's avatar
Matthias Clasen committed
1419
	* gtk/gtkprintunixdialog.c: 
Matthias Clasen's avatar
Matthias Clasen committed
1420 1421
	* gtk/gtkprintoperation-unix.c: Use canonical signal names.

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

Matthias Clasen's avatar
Matthias Clasen committed
1424 1425 1426
	* gtk/gtkpagesetupunixdialog.c: Add docs, cleanup some
	formatting.

1427 1428 1429
	* gtk/gtkprintoperation.c (print_pages_idle): Don't
	treat manual_scale like a percentage, its a factor.

1430 1431 1432
	* gtk/gtktreeview.c (gtk_tree_view_class_init): Document
	signals.  (#302556, Stefan Kost)

1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445
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.

1446 1447 1448 1449 1450 1451
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)

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

1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464
	* 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.

1465 1466 1467
	* gtk/gtkpagesetupunixdialog.c: Don't run the custom page
	size dialog.  (#340444, Christian Persch)

1468 1469 1470
	* demos/gtk-demo/main.c (main): Display comments in friendly
	DodgerBlue instead of scary red.  (#343444, Carol Spears)

1471 1472 1473 1474
	* gtk/gtkfontbutton.c: 
	* gtk/gtkcolorbutton.c: Clarify the docs of the color-set and
	font-set signals.  (#343438, Olexiy Avramchenko)

1475 1476
2006-05-30  Matthias Clasen  <mclasen@redhat.com>

1477 1478 1479
	* gtk/gtkmain.c (gtk_grab_notify_foreach): Don't skip internal
	children when emitting grab-notify.  (#343425, Markku Vire)

1480 1481 1482 1483
	* gdk/gdkpixmap.c: 
	* gdk/gdkwindow.c: Don't use G_DEFINE_TYPE, since the instance
	struct name does not match the type name.  (#343453, Ed Catmur)

1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506
	* gtk/gtk.symbols: 
	* gtk/gtkbutton.h: 
	* gtk/gtkbutton.c: Add a GtkButton::image-position property
	with getter and setter, to allow constructing buttons with
	the image stacked on top of the label.  (#342930, Johan Dahlin)

2006-05-30  Johan Dahlin  <jdahlin@async.com.br>

   * gtk/gtk.symbols:
   * gtk/gtkbutton.c: (gtk_button_class_init), (gtk_button_init),
   (gtk_button_set_property), (gtk_button_get_property),
   (gtk_button_construct_child), (gtk_button_set_image_spacing),
   (gtk_button_get_image_spacing):
   * gtk/gtkbutton.h:
   * gtk/gtktoolbutton.c: (gtk_tool_button_class_init),
   (gtk_tool_button_construct_contents),
   (gtk_tool_button_set_property), (gtk_tool_button_get_property),
   (_gtk_tool_button_get_button), (gtk_tool_button_set_icon_spacing),
   (gtk_tool_button_get_icon_spacing):
   * gtk/gtktoolbutton.h:
   Add GtkButton:image-spacing and GtkToolButton::icon-spacing.
   (#320431, James Moger)

1507 1508 1509 1510 1511
2006-05-30  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button): only
	check sort column id if connected to sortable model.

1512 1513 1514 1515 1516
2006-05-30  Behdad Esfahbod  <behdad@gnome.org>

	* gdk/gdkpango.c (draw_error_underline): Fix offset to center the
	underline in requested rectangle. (Ported from pango fix.)

1517 1518 1519 1520 1521 1522
2006-05-29  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkdialog.h: removed forgotten declaration of
	_gtk_dialog_get_response_for_widget(), the function has been made
	public a long time ago.

1523 1524 1525 1526 1527 1528 1529
2006-05-29  Michael Natterer  <mitch@imendio.com>

	* gtk/gtktextview.c (gtk_text_view_target_list_notify): applied
	patch from Chris Wilson which replaces a useless loop with
	built-in access to free'd memory by a simple integer comparison.
	Fixes bug #342894.

1530 1531 1532 1533 1534 1535
2006-05-29  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_move_cursor_up_down): select
	the current focus row if nothing is selected and ctrl is not pressed.
	(Fixes #324480, Murray Cumming/Srirama Sharma).

1536 1537 1538 1539 1540 1541 1542 1543
2006-05-28  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_cell_focus): refactor
	to work correctly in RTL mode.

	* gtk/gtktreeview.c (gtk_tree_view_move_cursor_left_right): make
	cursor movement to left/right work correctly in RTL mode.

1544 1545 1546 1547 1548 1549
2006-05-28  Behdad Esfahbod  <behdad@gnome.org>

	* gdk/gdkrectangle.c (gdk_rectangle_union, gdk_rectangle_intersect):
	Note in docs that @dest can be the same as @src1 or @src2. (#343233,
	Christian Persch)

1550 1551 1552 1553 1554 1555
2006-05-28  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtkstyle.c (gtk_default_draw_flat_box): handle
	cell_even_ruled_sorted and cell_odd_ruled_sorted for the selected
	state.

Kristian Rietveld's avatar
Kristian Rietveld committed
1556 1557 1558 1559 1560 1561 1562 1563
2006-05-28  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtkenums.h: add GTK_ARROW_NONE.

	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_column): always
	"show" the arrow if sort_column_id >= 0, only set arrow type if
	this column is the column we are currently sorting on. (#331338).

1564 1565 1566 1567 1568
2006-05-27  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkrecentchoosermenu.c: Avoid trivial differences
	in translated strings.  (#343088, Clytie Siddall)

1569 1570 1571 1572 1573 1574
2006-05-28  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_build_tree): emit test_expand_row
	and test return value before expanding a branch. (Fixes #321523,
	reported by Daniel Lindenaar).

1575 1576 1577 1578 1579 1580 1581
2006-05-28  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_insert_column): set the sizing
	type of the new column to FIXED,
	(gtk_tree_view_insert_column_with_attributes): likewise. (#341898,
	Dan Winship).

1582 1583 1584 1585 1586 1587 1588
2006-05-27  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_remove_node):
	only unref if elt->ref_count > 0,
	(gtk_tree_model_filter_row_deleted): likewise. (Fixes #340839,
	reported by Yevgen Muntyan).

1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599
2006-05-27  Kristian Rietveld  <kris@gtk.org>

	Small refactoring. (#340428, Paolo Borelli).

	* gtk/gtkliststore.c (gtk_list_store_set_valist_internal),
	(gtk_list_store_insert_with_valuesv): refactor code to determine
	iter compare func into gtk_list_store_get_compare_func().

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

Kristian Rietveld's avatar
Kristian Rietveld committed
1600 1601 1602 1603 1604
2006-05-27  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_queue_draw_arrow): really fix
	#333284.

1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624
2006-05-27  Kristian Rietveld  <kris@gtk.org>

	Editable cell window placement and RTL fixes.

	* gtk/gtktreeview.c (gtk_tree_view_button_press),
	(gtk_tree_view_bin_expose), (gtk_tree_view_get_cell_area),
	(gtk_tree_view_create_row_drag_icon): Only add indentation to x
	if !rtl,
	(gtk_tree_view_create_row_drag_icon): Iterate over columns in reverse
	direction if in rtl mode.

	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
	horizontal_separator is not part of the real background area width,
	add 2 * focus_line_width to real_cell_area.x and not
	real_background_area.x, fix up event coordinates check in the
	PACK_END loop, also set depth to zero at the end of the PACK_END
	loop,
	(_gtk_tree_view_get_neighbor_sizes): also add column_spacing for each
	visible cell.

1625 1626 1627 1628 1629 1630 1631 1632
2006-05-26  Matthias Clasen  <mclasen@redhat.com>

	* gtk/stock-icons/24/gtk-orientation-landscape.png:
	* gtk/stock-icons/24/gtk-orientation-portrait.png:
	* gtk/stock-icons/24/gtk-orientation-reverse-landscape.png:
	* gtk/stock-icons/24/gtk-orientation-reverse-portrait.png:
	Cleaned up icons by Diana Fong.

1633 1634 1635 1636 1637 1638
2006-05-26  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_queue_draw_arrow): queue a redraw
	for the full width of the row, not just the width we got allocated.
	(Fixes #333284, reported by Benjamin Berg).

1639 1640 1641 1642 1643 1644
2006-05-26  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): set dy to
	page_size + height in the event dy + page_size is about to become
	bigger than height.

Matthias Clasen's avatar
Matthias Clasen committed
1645 1646 1647 1648 1649 1650 1651 1652 1653
2006-05-25  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk.symbols:
	* gtk/gtkstatusicon.h:
	* gtk/gtkstatusicon.c (gtk_status_icon_get_geometry):
	New function that can be used to e.g. position 
	notification bubbles wrt to the status icon.  
	(#341450, Christian Persch, Havoc Pennington)

1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671