ChangeLog.pre-2-4 381 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
2004-03-07  Hans Breuer  <hans@breuer.org>

	* gdk/win32/gdkproperty-win32.c (gdk_screen_get_setting) :
	some more settings from system, also reflect some name changes
	done a while ago in the x11 backend

	* gdk/win32/makefile.msc : build gdkspawn-win32.c

	* gtk/gtkdnd.c : gtk_drag_source_[gs]et_target_list, added "Since: 2.4"

	* gtk/makefile.msc.in : build gtkpathbar, link shell32.lib

	* tests/makefile.msc : some more tests get build

15 16 17 18 19 20 21 22 23
Sun Mar  7 03:03:57 2004  Jonathan Blandford  <jrb@gnome.org>

	* gtk/gtkfilechooserdefault.c
	(gtk_file_chooser_default_get_paths): if action is
	SELECT_FOLDER, then return the currentd folder if none is
	selected.
	(gtk_file_chooser_default_should_respond): Allow 'Ok' to be hit if
	no directory is selected in SELECT_FOLDER mode.

24 25 26 27 28 29 30 31 32 33 34 35 36 37
Sat Mar  6 23:31:18 2004  Jonathan Blandford  <jrb@gnome.org>

	* gtk/gtkfilechooserdefault.c (struct _GtkFileChooserDefault):
	remove unneeded elements.
	(tree_selection_changed): removed
	(tree_name_data_func): removed
	(gtk_file_chooser_default_finalize): don't unref dir model
	(create_folder_tree): removed
	(get_selection): no longer need to abstract away the selection
	function.
	(create_file_list): We now create a tree for all actions.
	(file_pane_create): Make one tree.
	(update_appearance) We really change the mode only, now.

38 39 40 41 42 43 44
Sun Mar  7 02:38:00 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkcombobox.c (gtk_combo_box_size_request): Do a 
	size_request on the button and cell_view_frame, otherwise
	their style will still be the default here in the initial 
	size_request. (#136301, Mark McLoughlin)

45 46 47 48 49 50
2004-03-06  Gustavo J. A. M. Carneiro  <gustavo@users.sourceforge.net>

	* gtk/gtktoolbar.c (internal_insert_element): Check return value
	of gtk_stock_lookup; if stock lookup fails, just use stock_id as
	label, instead of crashing. Fixes #136202.

51 52 53 54 55 56 57
2004-03-05  Federico Mena Quintero  <federico@ximian.com>

	* gdk/linux-fb/gdkglobals-fb.c: Make <config.h> the very first
	include.
	* gdk/linux-fb/gdkwindow-fb.c: Likewise.
	* gdk/linux-fb/gdkinput.c: Likewise.

58 59 60 61 62 63 64 65 66 67 68 69 70 71
2004-03-05  Federico Mena Quintero  <federico@ximian.com>

	Fixes #136082 and #135265, patch by Morten Welinder.

	* configure.in: Use AC_SYS_LARGEFILE.

	* */*.c: #include <config.h>

2004-03-05  Federico Mena Quintero  <federico@ximian.com>

	* gtk/gtkfilechooserdefault.c
	(gtk_file_chooser_default_select_path): No need to have a
	temporary error variable.

72 73
2004-03-05  Tor Lillqvist  <tml@iki.fi>

74 75 76 77
	* configure.in: Move check for native Win32 (mingw) a bit
	earlier. If Win32, disable static builds (as in GLib). Remove
	unnecessary AC_LIBTOOL_WIN32_DLL.

78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104
	* gdk/gdk.def: Add missing entries, thanks to J. Ali Harlow.

	* gdk/win32/gdkcursor-win32.c (color_is_white): const-correctness.

	(gdk_cursor_new_from_pixbuf): Copy of the non-Xcursor X11
	implementation.

	(gdk_display_supports_cursor_alpha,
	gdk_display_supports_cursor_color): Dummy implementations.

	(gdk_display_get_default_cursor_size,
	gdk_display_get_maximal_cursor_size): Implement.

	* gdk/win32/gdkdisplay-win32.c (gdk_display_get_default_group):
	Dummy implementation.

	* gdk/win32/gdkevents-win32.c (gdk_net_wm_supports): Dummy
	implementation.

	* gdk/win32/gdkfont-win32.c (gdk_font_get_display): Implement.

	* gdk/win32/gdkinput-win32.c (gdk_input_motion_events): Remove,
	not in API.

	* gdk/win32/gdkwindow-win32.c (gdk_window_get_group): Dummy
	implementation.

Jonathan Blandford's avatar
Jonathan Blandford committed
105 106 107 108 109 110 111 112
Fri Mar  5 18:00:36 2004  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtkfilechooserdefault.c (new_folder_button_clicked): scroll
	to the new path.

	* gtk/gtktreeview.c (gtk_tree_view_adjustment_changed): Update the
	allocation when scrolling instead of cancelling editing.

Matthias Clasen's avatar
Matthias Clasen committed
113 114 115 116 117
Fri Mar  5 23:52:34 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_set_modify_func): 
	Improve the docs.  (#127727, Murray Cumming)

118 119 120 121 122
Fri Mar  5 23:37:16 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtktreeview.c (gtk_tree_view_set_reorderable): Clarify the
	doc comment.  (#118602)

123 124 125 126 127
Fri Mar  5 22:37:15 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkbutton.c (gtk_button_construct_child): Don't let
	the priv->image pointer dangle.  (#136259, Padraig O'Briain)

128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172
2004-03-05  Federico Mena Quintero  <federico@ximian.com>

	* gtk/gtkfilechooserprivate.h (struct _GtkFileChooserIface): Add
	gboolean return values and GError arguments to
	::set_current_folder() and ::select_path().

	* gtk/gtkfilechooser.c (gtk_file_chooser_set_current_folder):
	Return a boolean value for success/failure.
	(gtk_file_chooser_set_current_folder_uri): Likewise.
	(gtk_file_chooser_select_filename): Likewise.
	(gtk_file_chooser_select_uri): Likewise.
	(gtk_file_chooser_set_filename): Likewise.
	(gtk_file_chooser_set_uri): Likewise.
	(_gtk_file_chooser_set_current_folder_path): Likewise, plus take
	in a GError.
	(_gtk_file_chooser_select_path): Likewise.

	* gtk/gtkfilechooserutils.c (delegate_set_current_folder):
	Likewise.
	(delegate_select_path): Likewise.

	* gtk/gtkfilechooserdefault.c
	(gtk_file_chooser_default_select_path): Likewise.
	(gtk_file_chooser_default_set_current_folder): Likewise.
	(error_changing_folder_dialog): New helper function.
	(change_folder_and_display_error): New helper function.
	(switch_to_selected_folder): Use change_folder_and_display_error().
	(tree_selection_changed): Likewise.
	(shortcuts_activate_volume): Likewise.
	(shortcuts_activate_item): Likewise.
	(list_row_activated): Likewise.
	(path_bar_clicked): Likewise.
	(update_from_entry): Likewise.
	(up_folder_handler): Likewise.
	(home_folder_handler): Get the home path from the shortcuts model,
	and use change_folder_and_display_error().

	* tests/testfilechooser.c (set_current_folder): New helper
	function; pops up a simple error dialog if necessary.
	(set_filename): Likewise.
	(set_folder_nonexistent_cb): Use set_current_folder().
	(set_folder_existing_nonexistent_cb): Likewise.
	(set_filename_nonexistent_cb): Use set_filename().
	(set_filename_existing_nonexistent_cb): Likewise.

173 174 175 176 177 178 179 180
Fri Mar  5 11:17:35 2004  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtktreemodel.c (gtk_tree_row_reference_new_proxy): 
	Improve the docs (reported by Vitaly Tishkov, 
	#74362) Add some comments to the code about the 
	row reference handling that are hopefully not entirely
	wrong.

181 182 183 184 185
2004-03-05  Michael Natterer  <mitch@gimp.org>

	* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_show_all):
	s/object/widget/. Makes it compile again.

186 187 188 189 190
Fri Mar  5 03:37:14 2004  Jonathan Blandford  <jrb@gnome.org>

	* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_show_all):
	chain to the extra_widget.

191 192 193 194 195 196
Fri Mar  5 02:53:41 2004  Jonathan Blandford  <jrb@gnome.org>

	* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_finalize):
	Patch from Damon Chaplin to free models when we're finalized,
	#134053

197 198 199 200 201 202 203 204 205
2004-03-05  Alexander Larsson  <alexl@redhat.com>

	* gtk/gtkfilesystem.c (gtk_file_system_get_volume_for_path):
	Document the fact that there might not be a volume for all
	paths.

	* gtk/gtkfilechooserdefault.c (shortcuts_add_current_folder):
	Don't assume there is a volume for all paths.

206 207 208 209 210 211 212 213
Fri Mar  5 01:45:04 2004  Jonathan Blandford  <jrb@gnome.org>

	* gtk/gtkfilechooserdefault.c (shortcuts_append_paths): insert in
	the correct place instead of naïvely appending.
	(shortcuts_add_volumes): refilter the model
	(shortcuts_add_bookmarks): refilter the model
	(gtk_file_chooser_default_add_shortcut_folder): refilter the model

214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246
2004-03-04  Federico Mena Quintero  <federico@ximian.com>

	* gtk/gtkfilechooserdialog.c (response_cb):  New handler.  Ask the
	GtkFileChooser widget if it wants to do something special rather
	than letting us terminate the dialog.
	(gtk_file_chooser_dialog_init): Connect to "response"; see the
	comment in the sources to see why we don't override the method in
	class_init.

	* gtk/gtkfilechooserembed.h (struct _GtkFileChooserEmbedIface):
	Added a ::should_respond() method.

	* gtk/gtkfilechooserembed.c
	(_gtk_file_chooser_embed_delegate_iface_init): Add a delegate for ::should_respond().
	(delegate_should_respond): New delegate.
	(_gtk_file_chooser_embed_should_respond): New function.

	* gtk/gtkfilechooserdefault.c (set_list_model, create_file_list):
	Use dashes in signal names rather than underscores.
	(gtk_file_chooser_default_init): Hook up our ::should_respond() implementation.
	(gtk_file_chooser_default_should_respond): Implement.  go into a
	folder rather than responding if we are in File mode and the
	selected file is a folder.
	(get_selection): New helper function.
	(add_bookmark_button_clicked_cb): Use get_selection().
	(bookmarks_check_add_sensitivity): Likewise.
	(gtk_file_chooser_default_get_paths): Likewise.
	(check_save_entry): New helper function.
	(gtk_file_chooser_default_get_paths): Use check_save_entry().
	(selection_check): Renamed from selection_is_folders().  Now
	checks whether the selection is empty, all files, all folders.
	(bookmarks_check_add_sensitivity): Use selection_check().

247 248 249 250 251 252 253 254 255 256 257 258 259 260
Fri Mar  5 00:05:59 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkcombobox.c (gtk_combo_box_list_setup): 
	* gtk/gtkcombobox.c (gtk_combo_box_menu_setup): Connect to 
	key_press_event and handle Alt-Down/Alt-Up to show or hide the
	list popup. Also handle Down/Up/PageDown/PageUp/Home/End and 
	make them change the active item without popping up the list.
	These keybindings are inherited from GtkCombo. 

Thu Mar  4 23:15:58 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkcombobox.c (gtk_combo_box_menu_position): Initially 
	select the active item when using optionmenu-like positioning. 

261 262 263 264 265 266 267 268 269 270 271 272 273 274 275
Thu Mar  4 16:54:30 2004  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkrc.c (gtk_rc_check_pixmap_dir): Don't
	open/close the file, just check for existence
	with g_file_test(). This is considerably cheaper,
	and lack-of-permissions for pixmap dirs is 
	pathological.

Wed Mar  3 17:53:21 2004  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtksocket.c (gtk_socket_class_init): Overide
	show_all/hide_all to be gtk_widget_show/gtk_widget_hide,
	since we don't want to propagate to the in-process
	plug, if any. (#122949, Michael Meeks)

276 277 278 279 280
Thu Mar  4 15:20:55 2004  Jonathan Blandford  <jrb@gnome.org>

	* gtk/gtkfilechooserdefault.c (update_appearance): show the 'New
	Folder' button in SAVE mode again.

281 282 283 284 285 286
Thu Mar  4 21:53:46 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkiconfactory.c (copy_cache): Increment the reference
	count of the style when copying the cached icon.  (#135890, Crispin
	Flowerday)

287 288 289 290 291 292
Thu Mar  4 21:45:43 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkcombobox.c: In list mode, set the background color 
	of the cell view to the base color of the style, instead of
	hardwiring white. (#136158)

293 294 295 296 297 298 299 300 301 302
Thu Mar  4 01:32:19 2004  Jonathan Blandford  <jrb@gnome.org>

	* gtk/gtkpathbar.c (gtk_path_bar_set_path): Modified patch from
	muppet <scott@asofyet.org> to keep child directories around if we
	change to a child.

	* gtk/gtkpathbar.c (_gtk_path_bar_set_home_icon): Start of
	icon-setting functions.  Not used yet.
	(_gtk_path_bar_set_root_icon): Ditto.
	
303 304 305 306 307 308
Thu Mar  4 00:31:54 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtktextview.c (extend_selection): 
	* gtk/gtktextview.c (gtk_text_view_move_cursor_internal): Allow
	to select the last word in the buffer.  (#135487, Paolo Borelli)

Matthias Clasen's avatar
Matthias Clasen committed
309 310 311 312
Wed Mar  3 23:54:31 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkentrycompletion.c: Doc update.

313 314 315 316 317 318
Wed Mar  3 17:30:18 2004  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwindow.c (gtk_window_mnemonic_activate): Check
	whether widgets are viewable, not just if they are
	mapped. (#122912, reported by Tim Evans)

319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337
Wed Mar  3 23:28:48 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkcombobox.c (gtk_combo_box_set_active): Move the actual
	implementation into a new gtk_combo_box_set_active_internal() 
	function, which doesn't do the short-circuiting. 
	* gtk/gtkcombobox.c (gtk_combo_box_model_row_deleted): Use
	set_active_internal() here, since the active item may change here,
	although the index is unchanged.

Wed Mar  3 23:26:49 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkcombobox.c (gtk_combo_box_menu_position): Reintroduce the
	traditional option menu placement of the popup for regular combo
	boxes. Grids and editable combo boxes use the combo-like placement 
	below the entry.  (#136021)
	* gtk/gtkcombobox.c (gtk_combo_box_menu_button_press): 
	* gtk/gtkcombobox.c (gtk_combo_box_popup): Call gtk_menu_set_active()
	before popping up the menu, to make the placement work.
	
338 339 340 341 342 343 344
Wed Mar  3 17:20:15 2004  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkmain.c (gtk_propagate_event): Special case
	scroll events so that they propagate up the widget
	heirarchy when received on insensitive widgets.
	(#101102, reported by Geoff Reedy)

345 346 347 348 349 350 351 352 353 354 355
Wed Mar  3 16:47:10 2004  Owen Taylor  <otaylor@redhat.com>

	 #109594, reported by Olivier Ripoll

	* gtk/gtkentry.c (gtk_entry_size_request): Use max of 
	width and digit width for gtk_entry_set_width_chars,
	and round up.

	* gtk/gtkcolorsel.c (gtk_color_selection_init): Set the
	width of the entry to 7 chars.

356 357 358 359 360
Wed Mar  3 16:00:10 2004  Owen Taylor  <otaylor@redhat.com>

	* configure.in: Strip out the "export-dynamic" libtool
	option from library link lines. (#124687, James Henstridge)

361 362 363 364 365 366
Wed Mar  3 16:06:03 2004  Jonathan Blandford  <jrb@gnome.org>

	* gtk/gtkfilechooserdefault.c (save_folder_combo_changed_cb):
	Don't activate the combo if we're in the midst of changing
	folders.

367 368 369 370 371
2004-03-03  Mark McLoughlin  <mark@skynet.ie>

	* tests/testsocket_common.c: (print_hello): don't try and store
	pointers in ints. Fixes 64-bit build.

372 373 374 375 376 377
2004-03-03  Federico Mena Quintero  <federico@ximian.com>

	* gtk/gtkfilesystem.c (gtk_file_system_get_parent): Simplify by
	not using a temporary variable, and clarify the documentation.
	Fixes #136008.

378 379 380 381 382 383 384
2004-03-03  Mark McLoughlin  <mark@skynet.ie>

	* gtk/gtkexpander.c:
	(gtk_expander_enter_notify), (gtk_expander_leave_notify),
	(gtk_expander_set_label_widget): Set the label widget's
	state to prelight if we're prelit. Fixes bug #136078.

385 386 387 388 389 390
2004-03-03  Murray Cumming  <murrayc@murrayc.com>

	* gtk/gtkradiobutton.h, radiomenuitem.h: Corrected the group_changed
	signal vfunc declaration, adding the first parameter, which is the
	widget emitting the signal.

Morten Welinder's avatar
Morten Welinder committed
391 392 393 394
2004-03-03  Morten Welinder  <terra@gnome.org>

	* tests/testfilechooser.c (update_preview_cb): Plug leak.

395 396 397 398 399 400 401 402 403 404 405 406 407
Tue Mar  2 23:39:55 2004  Jonathan Blandford  <jrb@gnome.org>

	* gtk/gtkfilechooserdialog.c
	(file_chooser_widget_default_realized_size_changed): Split
	function into realized and unrealized variants, and consolidate
	the handling fo size-changing and default changing.

	* gtk/gtkfilechooserembed.[ch] (gtk_file_chooser_embed_class_init):
	remove resizable-hints-changed, as it just complicated things.

	* gtk/gtkfilechooserdefault.c (update_appearance): Don't emit
	resizable-hints-changed.
	
408 409 410 411 412 413
2004-03-03  Tor Lillqvist  <tml@iki.fi>

	* gtk/gtk.def: Add a missing entry. (#135982, J. Ali Harlow)

	* NEWS: Correct spelling of my name in one place.

414 415 416 417 418 419 420 421 422 423 424 425 426 427 428
2004-03-02  Federico Mena Quintero  <federico@ximian.com>

	* gtk/gtkfilechooserdefault.c
	(gtk_file_chooser_default_set_current_folder): Handle errors in
	setting the path bar's path.  Fixes #136000, based on a patch by
	Morten Welinder.

	* gtk/gtkfilesystemunix.c (gtk_file_system_unix_insert_bookmark):
	Don't free our own propagated error.

	* gtk/gtkpathbar.c (gtk_path_bar_set_path): Likewise, and free the
	parent_path upon error.  Fixes #136006, patch by Morten Welinder.
	(gtk_path_bar_set_path): Unref the file_folder upon error.
	(gtk_path_bar_set_path): Return a boolean success code.

429 430 431 432 433 434
Wed Mar  3 00:28:59 2004  Matthias Clasen  <maclas@gmx.de>

	* tests/testcombochange.c: Add an animation mode, to test 
	how the combobox behaves if the model changes while it is popped
	up.

Owen Taylor's avatar
Owen Taylor committed
435 436 437 438 439 440 441 442 443
Tue Mar  2 17:06:05 2004  Owen Taylor  <otaylor@redhat.com>

	* === Released 2.3.5 ===

	* NEWS: Updates

	* configure.in: Version 2.3.5, interface age 0.
	Require glib-2.3.5, pango-1.3.5.

444 445 446 447 448 449
Tue Mar  2 23:08:12 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkentrycompletion.c (_gtk_entry_completion_popup): Avoid
	popping up the completions across the edge of the monitor.
	Part of #135561.

450 451 452 453 454 455
Tue Mar  2 16:47:40 2004  Owen Taylor  <otaylor@redhat.com>

	* tests/testfilechooser.c (set_filename_existing_nonexistent_cb): 
	Move the /nonexistant stuff out of the main window,
	keep the main window somewhat normal looking.

456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471
Tue Mar  2 16:18:43 2004  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtktreestore.c (gtk_tree_store_reorder)
	* gtk/gtkliststore.c (gtk_list_store_reorder): Fix
	up the interpretation of new_order to match what
	it means elsewhere, document the meaning of new_order.

	* gtk/gtkcombobox.c (gtk_combo_box_model_rows_reordered):
	Fix interpretation of new_order.

	* tests/testcombochange.c (on_reorder): Fix interpretation
	of new_order.

	* tests/testcombochange.c (on_reorder): Fix hitting
	"reorder" with an empty list.

472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487
Tue Mar  2 21:23:30 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

	Patch from Frederic Crozat, test code from Jean-Philippe
	Chancelier. Fixes bug #120479.
	
	* gtk/gtkcombo.c (gtk_combo_popup_list): Make sure popup belongs
	to the right window group.

	* gtk/gtkmenu.c (gtk_menu_popup): Same

	* tests/testsocket.c (main): Pack the plugs into an hbox instead
	of a vbox.

	* tests/testsocket_common.c: Add a GtkMenuBar, a GtkCombo and a
	GtkComboBox to the children.

488 489 490 491 492 493 494 495 496 497 498 499 500 501 502
Tue Mar  2 14:38:23 2004  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkcombobox.c (gtk_combo_box_model_row_inserted):
	If the model was empty before, select the first inserted
	item.

	* gtk/gtkcombobox.c (gtk_combo_box_model_row_deleted):
	Fix up the logic for the new row to select.

	* gtk/gtkcombobox.c (gtk_combo_box_class_init):
	Rename "appearance" property to "appears-as-list".

	* tests/testcombochange.c tests/Makefile.am: Test case
	for combos and dynamically changing models.

503 504 505 506 507 508
Tue Mar  2 15:19:52 2004  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtkfilechooserdefault.c
	(gtk_file_chooser_default_get_resizable_hints): set the default
	value, spotted by Morten Welinder.

509 510 511 512 513 514 515 516
Tue Mar  2 15:03:15 2004  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtkfilechooserdefault.c
	(gtk_file_chooser_default_get_resizable_hints): get the logic
	correct.  This will fix sizing on save dialogs.

	(save_widgets_create): set_mnemonic_widget.

517 518 519 520 521 522 523 524 525 526 527 528 529 530
2004-03-02  Federico Mena Quintero  <federico@ximian.com>

	* gtk/gtkfilechooserdefault.c
	(gtk_file_chooser_default_set_current_folder): Don't update the
	save folder combo if we are already switching folders; based on a
	patch by Jonathan Blandford.

	* gtk/gtkfilechooserdefault.c (shortcuts_add_current_folder):
	Handle failure to insert the path.  Based on a patch by Morten
	Welinder attached to bug #135380.

	* tests/testfilechooser.c (extra_widget_create): Add a bunch of
	buttons to test various things.

Matthias Clasen's avatar
Matthias Clasen committed
531 532 533 534 535 536 537
Tue Mar  2 20:59:23 2004  Matthias Clasen  <maclas@gmx.de>

	* tests/Makefile.am: Add testentrycompletion.

	* tests/testentrycompletion.c: New file to test some of the
	more exotic GtkEntryCompletion features.

Jonathan Blandford's avatar
Jonathan Blandford committed
538 539 540 541
Tue Mar  2 14:38:10 2004  Jonathan Blandford  <jrb@redhat.com>

	* tests/testfilechooser.c (main): improve tests a little.

542 543 544 545 546 547 548 549 550 551 552
Tue Mar  2 11:45:50 2004  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkcombobox.c: Always connect to the changed
	signals on the model, update the active item as
	appropriate when rows are inserted/deleted/reordered,
	re-layout the menu on ::rows-reordered.

	* gtk/gtkcellview.c (gtk_cell_view_set_displayed_row):
	Allow %NULL for path to unset and leave no current
	path.

553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568
Tue Mar  2 19:54:53 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkcombobox.c (gtk_combo_box_list_position): Position
	the popup above the sample if there is not enough room below.
	Part of #135543.

Tue Mar  2 19:53:36 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkcombobox.c (gtk_combo_box_set_popup_widget): Make the 
	frame for the list mode etched in, to give the popup a slightly
	less flat appearance. 

Tue Mar  2 17:55:31 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtk.def: Add gtk_combo_box_entry_new_text().  

569 570
2004-03-02  Morten Welinder  <terra@gnome.org>

571 572 573 574
	* tests/testfilechooser.c (size_prepared_cb): Don't scale images
	that are small enough to fit.  Avoid using incompatibly typed data
	pointer.

575 576 577 578
	* gtk/gtkfilechooserdefault.c
	(gtk_file_chooser_default_get_resizable_hints): Test the
	resize_horizontally pointer, not the deferenced pointer.

579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596
2004-03-01  Federico Mena Quintero  <federico@ximian.com>

	* gtk/gtkfilechooserdefault.c (struct _GtkFileChooserDefault): New
	flag shortcuts_current_folder_is_volume.
	(shortcuts_add_current_folder): Set
	impl->shortcuts_current_folder_is_volume as appropriate.
	(remove_current_folder_cb): Handle the flag.
	(shortcuts_activate_item): Likewise.
	(shortcuts_update_current_folder): Handle the
	impl->shortcuts_current_folder_active flag; only add the folder if
	it doesn't already exist in the list.
	(shortcuts_model_create): Don't insert the current folder
	separator here.
	(shortcuts_add_current_folder): Insert the separator here.
	(shortcut_find_position): Renamed from shortcut_exists(); now
	returns an index.
	(shortcuts_add_current_folder): Set the active item in the combo.

597 598 599 600 601
2004-03-01  Federico Mena Quintero  <federico@ximian.com>

	* gtk/gtkfilechooserdefault.c (shortcuts_row_activated_cb): Eep,
	use gtk_tree_model_filter_convert_iter_to_child_iter(), not the reverse.

602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641
2004-03-01  Federico Mena Quintero  <federico@ximian.com>

	* gtk/gtkfilechooserdefault.c (shortcuts_model_create): Don't
	unref an old model; there isn't one.  This was a leftover from
	when we recreated the model on every change.
	(save_widgets_create): Create the save folder combo.
	(shortcuts_model_create): Don't set the model on the tree view
	here.
	(gtk_file_chooser_default_constructor): Create the shortcuts model
	here, before the rest of the widgets.
	(shortcuts_list_create): Don't call shortcuts_model_create() here;
	just set the model on the tree.
	(save_folder_combo_create): New function, provided by Jonathan
	Blandford.
	(update_appearance): Set the sensitivity of the folder combo.
	(shortcuts_activate_iter): New helper function; code moved from
	shortcuts_row_activated_cb().
	(shortcuts_activate_item): New helper function.
	(shortcuts_row_activated_cb): Use shortcuts_activate_iter().
	(ShortcutsIndex): Renamed SHORTCUTS_SEPARATOR to
	SHORTCUTS_BOOKMARKS_SEPARATOR.
	(struct _GtkFileChooserDefault): New field shortcuts_current_folder_active.
	(shortcuts_insert_separator): Add a position argument.
	(shortcuts_get_index): Handle the SHORTCUTS_CURRENT_FOLDER_SEPARATOR 
	and SHORTCUTS_CURRENT_FOLDER positions.
	(shortcut_exists): Ignore the current folder row.
	(struct _GtkFileChooserDefault): New field shortcuts_filter_model.
	(shortcuts_model_create): Create a filter model for the shortcuts list.
	(shortcuts_list_create): Set the model to the shortcuts_filter_model.
	(remove_bookmark_button_clicked_cb): Use the shortcuts_filter_model.
	(bookmarks_check_remove_sensitivity): Likewise.
	(shortcuts_row_activated_cb): Likewise.
	(gtk_file_chooser_default_set_current_folder): New function.
	(gtk_file_chooser_default_set_current_folder): Update the current
	folder row in the shortcuts list.

	* gtk/gtkfilechooserwidget.c
	(gtk_file_chooser_widget_constructor): Cast correctly for
	_gtk_file_chooser_embed_set_delegate().

642 643 644 645 646 647 648 649
Mon Mar  1 19:30:25 2004  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkdnd.[ch]: Add gtk_drag_source_set/get_target_list().
	(#127499, based on patch from Michael Natterer)

	* tests/testgtk.c: Fix bidi strings to display correctly
	with new auto-bidi.

650 651 652 653 654
Tue Mar  2 01:34:40 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtksettings.c: Remove the include of Xft.h, which is already
	dragged in via pangoxft.h.  (#135496, David Hawthorne)

655 656 657 658 659 660 661 662 663 664
Mon Mar  1 23:52:15 2004  Tim Janik  <timj@gtk.org>

        * gtk/gtkbindings.[hc]: expose gtk_bindings_activate_event(), changed
        callers.

        * gtk/gtkwindow.[hc]: added gtk_window_propagate_key_event() to expose
        the key event propagation mechanism used for focus widgets.
        (gtk_window_key_release_event): use the same key event propagation logic
        as gtk_window_key_press_event().

665 666 667 668 669 670
2004-03-01  Simon Budig  <simon@gimp.org>

	* gdk/x11/gdkinput-x11.c: X11 R6.4 specifies 15 events
	for the XInput extension. We want to see them all.
	We now get Proximity Out events again. Fixes bug #135320.

671 672 673 674 675
Tue Mar  2 00:47:21 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkimmodule.c (match_locale): Use case-insensitive
	comparison. Fixes XIM module loading on AIX.  (#131277)

676 677 678 679 680 681
Mon Mar  1 23:59:18 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_deleted): 
	Make it work correctly when the child model is cleared 
	completely. (#121633)

682 683 684 685 686
2004-03-01  Michael Natterer  <mitch@gimp.org>

	* gtk/gtkfilechooserwidget.h: removed accidentially committed char
	which broke the build.

687 688 689 690 691 692
Mon Mar  1 16:51:21 2004  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtkfilechooserdialog.c
	(file_chooser_widget_default_size_changed): only store the size if
	we can resize in that direction.

Jonathan Blandford's avatar
Jonathan Blandford committed
693 694 695 696 697 698
Mon Mar  1 16:32:52 2004  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtkfilechooserwidget.c
	(gtk_file_chooser_widget_new_with_backend): new function.  Long
	name.

699 700
2004-03-01  Morten Welinder  <terra@gnome.org>

Morten Welinder's avatar
Morten Welinder committed
701 702 703
	* gtk/gtkfilesystemunix.c (filename_get_info): Only stat when
	needed.

704 705 706 707 708 709 710 711
	* gtk/gtkfilesystemmodel.c (file_model_node_is_visible): Simplify
	semantics and check for errors.

	* gtk/gtkpathbar.c (gtk_path_bar_set_path): Propagate errors.

	* gtk/gtkfilefilter.c (gtk_file_filter_filter): Don't crash if
	display_name is NULL.

Owen Taylor's avatar
Owen Taylor committed
712 713 714 715 716 717 718 719 720 721
Mon Mar  1 14:16:52 2004  Owen Taylor  <otaylor@redhat.com>

	Based on patch by Alex Larsson

	* gtk/gtkfilechooserdefault.c: Use gtk-file-chooser-backend
	GtkSetting to set the backend if the app doesn't specify one.

	* gdk/x11/gdkevents-x11.c gtk/gtksettings.c:
	Add Gtk/FileChooserBackend.

722 723 724 725 726 727 728 729 730
Mon Mar  1 20:32:06 2004  Tim Janik  <timj@gtk.org>

        * autogen.sh:
        - exit with $? instead of 1 in case of failure
        - exit with $? if ./configure failed
          (that's so autogen.sh && make lines work)
        - removed --enable-gtk-doc option
        - added $AUTOGEN_CONFIGURE_ARGS

731 732 733 734 735 736 737 738 739 740 741 742
2004-03-01  Federico Mena Quintero  <federico@ximian.com>

	* gtk/gtkfilechooserdefault.c (list_model_filter_func): Test for
	filter_info.uri correctly.  Fixes #135379, pointed out by Damon
	Chaplin.
	(shortcuts_get_index): Compute the bookmarks index correctly.
	Fixes #135714, pointed out by Damon Chaplin.
	(gtk_file_chooser_default_list_shortcut_folders): Handle the case
	with no shortcuts, and don't run off the end of the list if there
	are no bookmarks and their separator.  Fixes #135572, patch by
	Damon Chaplin.

743 744 745 746 747 748 749 750 751 752
Mon Mar  1 12:23:06 2004  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtklabel.c: Handle dynamically resolved bidi direction
	when drawing the cursor. (#118541)

	* gtk/gtkentry.c (get_better_cursor_x): Use entry->resolved_dir;

	* gtk/gtkentry.c (draw_insertion_cursor): Fix up
	some confusion in parameter ordering.

Jonathan Blandford's avatar
Jonathan Blandford committed
753 754 755 756 757 758
Mon Mar  1 12:05:54 2004  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtkfilechooserdialog.c
	(file_chooser_widget_resizable_hints_changed): Handle
	shrinking/growing.

759 760 761 762 763
2004-03-01  Michael Natterer  <mitch@gimp.org>

	* gtk/gtktextbtree.c: removed underscores from calls to
	gtk_text_btree_resolve_bidi().

764 765 766 767 768 769 770 771 772 773 774 775 776
Mon Mar  1 10:41:27 2004  Owen Taylor  <otaylor@redhat.com>

	Patch from Dov Grobgeld to implement auto-bidi-direction
	for GtkTextView (#118543)

	* gtk/gtktextbtree.[ch]: Resolve bidi base direction
	for each line by propagating backwards/forwards as
	necessary.

	* gtk/gtktextlayout.[ch] gtk/gtktextview.c: Set the 
	bidi base direction for the ;ine with the cursor from 
	the keyboard direction. Add gtk_text_layout_set_keyboard_direction().
	
777 778
Mon Mar  1 10:31:11 2004  Owen Taylor  <otaylor@redhat.com>

779
	* gtk/gtkentry.[ch]: Implement auto-bidi-direction,
780 781
	based on a patch from Dov Grobgeld. (#118540)

782 783 784 785 786 787 788 789 790 791 792 793 794
Sun Feb 29 22:01:49 2004  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkentry.[ch]: Add gtk_entry_set_alignment() 
	to allow right-aligned entries and a "xalign" 
	property. (#59799, patch from Egon Andersen and 
	Steffen Gutmann)

	* gtk/gtkmisc.c (gtk_misc_class_init): Use improved
	xalign property description here too.

	* tests/testtext.c: UNDERLINE_ERROR test addition
	from Nicolas Settons' patch.

795 796
Sun Feb 29 20:34:06 2004  Owen Taylor  <otaylor@redhat.com>

797
	* gtk/gtkwindow.[ch] gtk/gtkmenushell.c: export
798 799
	gtk_window_activate_key() (Request from Tim Janik)

800 801 802 803 804 805
Mon Mar  1 01:00:11 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtktextview.c (gtk_text_view_drag_data_received): 
	Make DND operations within a buffer move the dragged 
	text instead of copying it; also make DND operations 
	a single user action for undo purposes.  (#135191, 
806 807
	#93139, reported by Tommi Komulainen, patch by Paolo Borelli
	and Paolo Maggi)
808

Matthias Clasen's avatar
Matthias Clasen committed
809 810 811 812
Mon Mar  1 00:51:11 2004  Matthias Clasen  <maclas@gmx.de>

	* NEWS: News for 2.3.5.

813 814 815 816 817
Sun Feb 29 23:25:35 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkentry.c (gtk_entry_completion_key_press): 
	Fix the Shift-Tab support to go backwards.

818 819 820 821 822
Sun Feb 29 16:40:40 2004  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtktextview.c (gtk_text_view_class_init): Fix 
	capitalization to match other style properties.

Owen Taylor's avatar
Owen Taylor committed
823 824 825 826 827
Sun Feb 29 16:38:53 2004  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtktextview.c (gtk_text_view_class_init): Fix a
	typo in property string.

828 829 830 831 832 833 834 835 836
Sun Feb 29 16:35:23 2004  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkpango.c gtk/gtktextdisplay.c: Implement
	PANGO_UNDERLINE_ERROR (Based on a patch by
	Nicolas Setton, #114237)

	* gtk/gtktextview.c: Add a error-underline-color style
	property.

837 838 839 840 841 842 843 844 845 846 847 848 849 850
Sun Feb 29 19:04:33 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

	* gtk/gtkrange.c (_gtk_range_get_wheel_delta): New internal
	function returning a good step value for the mouse wheel. For
	scrollbars, base the step on page_size^(2/3), for other ranges,
	use 2 * step_increment.

	* gtk/gtkrange.c (gtk_range_scroll_event): Use it here ...

	* gtk/gtkscrolledwindow.c (gtk_scrolled_window_scroll_event): 
	... and here.

	* gtk/gtkmenu.c (gtk_menu_leave_notify): Fix a warning.

851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867
Sun Feb 29 01:51:27 2004  Jonathan Blandford  <jrb@gnome.org>

	* gtk/gtkfilechooserembed.c
	(_gtk_file_chooser_embed_get_default_size):  Add g_return_if_fail()
	(_gtk_file_chooser_embed_get_resizable_hints): Add g_return_if_fail()

	* gtk/gtkfilechooserdialog.c
	(file_chooser_widget_default_size_changed): Get the correct
	initial size for the dialog.  Also, don't bother with
	gtk_window_set_default_size().  It's not really meaningful.

	* gtk/gtkfilechooserdefault.c
	(gtk_file_chooser_default_get_default_size): Get the correct
	spacing for the preview_widget
	(update_preview_widget_visibility): Clear widget field after we
	destroy it.

868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903
2004-02-29  Federico Mena Quintero  <federico@ximian.com>

	* gtk/gtkfilechooserdefault.c
	(gtk_file_chooser_default_set_property): Handle
	GTK_FILE_CHOOSER_PROP_USE_PREVIEW_LABEL.
	(gtk_file_chooser_default_get_property): Likewise.
	(struct _GtkFileChooserDefault): Added fields for preview_label,
	use_preview_label, preview_display_name, preview_box.  Removed
	preview_frame.
	(set_preview_widget): Reorder the widget in relation to the label.
	(update_preview_widget_visibility): Create or destroy the preview
	label.
	(check_preview_change): Update impl->preview_display_name and the
	label.
	(find_good_size_from_style): Use the preview_box.
	(gtk_file_chooser_default_finalize): Free
	impl->preview_display_name.
	(gtk_file_chooser_default_init): Initialize
	impl->use_preview_label.

	* gtk/gtkfilechooser.c (gtk_file_chooser_class_init): Add a
	"use-preview-label" property.
	(gtk_file_chooser_set_use_preview_label): New function.  This sets
	whether one wants the file chooser to display a stock label with
	the previewed filename.  Apps that do really fancy previews can
	turn this off and draw the name themselves.
	(gtk_file_chooser_get_use_preview_label): New function.
	(gtk_file_chooser_get_preview_widget_active): Documentation fix.

	* gtk/gtkfilechooserutils.h (GtkFileChooserProp): Add a
	GTK_FILE_CHOOSER_PROP_USE_PREVIEW_LABEL value.

	* gtk/gtkfilechooserutils.c
	(_gtk_file_chooser_install_properties): Override the
	"use-preview-label" property.

904 905 906 907 908
Sun Feb 29 04:43:29 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkentry.c (gtk_entry_completion_key_press): Make Tab and
	Shift-Tab work when the completion popup is shown.

909 910 911 912 913 914
2004-02-28  Federico Mena Quintero  <federico@ximian.com>

	* gtk/gtkfilechooserdefault.c (create_folder_tree): Use "Name" for
	the title of the filename column.
	(create_file_list): Likewise.

915 916 917 918 919 920
Sun Feb 29 03:31:42 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkentry.c (gtk_entry_completion_key_press): Fix Page_Up 
	and Page_Down in the completion popup to move page-wise if we're
	scrolling.

921 922 923 924 925 926 927
2004-02-28  Federico Mena Quintero  <federico@ximian.com>

	* gtk/gtkfilechooserdefault.c (set_cell_text_bold_if_folder):
	Removed.
	(list_name_data_func): Don't call the function above.
	(list_mtime_data_func): Likewise.

928 929 930 931 932 933 934
Sun Feb 29 02:34:35 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkcombobox.c (gtk_combo_box_list_position): New 
	function which calculates position and size for the popup in
	list mode. Currently it only pushes the popup horizontally 
	into the screen.

935 936 937 938 939
Sun Feb 29 01:10:09 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkcombobox.c: Implement the previous fix in a better way,
	small cleanups.

940 941 942 943 944
2004-02-28  Hans Breuer  <hans@breuer.org>

	* gtk/gtkfilesystemwin32.c : applied patch from
	J. Ali Harlow <ali@juiblex.co.uk>, fixes bug #135641

945 946 947 948 949 950 951 952 953 954 955 956
Sat Feb 28 23:30:36 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkcombobox.c (gtk_combo_box_popup): Actually resize the
	popup window before popping up.  (#135651)

Sat Feb 28 23:29:35 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkcombobox.c (gtk_combo_box_class_init): 
	* gtk/gtkcombobox.c (gtk_combo_box_init): Override the default
	handler for style_set in class_init instead of connecting to
	the signal in init. (noticed by Yosh).

957 958 959 960 961
Sat Feb 28 14:48:35 2004  Owen Taylor  <otaylor@redhat.com>

	* demos/gtk-demo/main.c (read_line): #ifdef HAVE_FLOCKFILE, 
	not #ifndef HAVE_FLOCKFILE. (#135642, J. Ali Harlow)

962 963 964 965 966 967 968 969 970
2004-02-28  Hans Breuer  <hans@breuer.org>

	* gtk/gtkfilesystemwin32.c : adapt to add -> insert_bookmark
	change. Also merged some crossplatform code from 
	gtkfilesystemunix.c
	* gtk/gtk.def : updated externals

	* gtk/makefile.msc.in : added gtkfilechooserembed.obj

971 972 973 974 975 976 977 978 979 980 981 982 983 984
2004-02-28  Hans Breuer  <hans@breuer.org>

	* gdk/win32/gdkdnd-win32.c : set current_dest_drag to NULL
	when destroying, fixes bug #120007. Also removed the mirrored
	ref counting for deprecated gdk_drag_context_<ref|unref>()
	cause it wasn't reliable anymore anyway.

	* gdk/win32/gdkdisplay-win32.c : fix typo, which should
	have broken the win32 build for everyone not using msvc

	* gdk/win32/gdkevents-win32.c : WM_GETMINAMXINFO ensure not to
	return negative values for ptMaxTrackSize, it caused snapping
	windows to their minimum size

985 986 987 988 989 990 991 992 993
Sat Feb 28 01:39:01 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkcombobox.c (gtk_combo_box_set_wrap_width): Support
	switching back to non-gridded mode.  (#135169)

Fri Feb 27 22:29:46 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkwidget.c (gtk_widget_can_activate_accel): Add "Since: 2.4".

994 995 996 997 998
Fri Feb 27 18:52:19 2004  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_style_set):
	Whoops.  Didn't mean to commit the size change.

999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010
Fri Feb 27 18:46:27 2004  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtkfilechooserembed.h: New private interface to help
	negotiate the default size of the widget.  Still a bit buggy, but
	better than the old behavior.

	* gtk/gtkfilechooserdefault.c: Implement the embed interface.

	* gtk/gtkfilechooserwidget.c: Proxy the embed interface.

	* gtk/gtkfilechooserdialog.c: Use the embed interface.

1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030
2004-02-27  Federico Mena Quintero  <federico@ximian.com>

	* gtk/gtkfilesystem.c (gtk_file_system_insert_bookmark): Added a
	"position" argument.

	* gtk/gtkfilesystem.h (GtkFileSystemError): Added value for 
	GTK_FILE_SYSTEM_ERROR_ALREADY_EXISTS.
	(struct _GtkFileSystemIface): Added a "position" argument to the
	::insert_bookmark() method.

	* gtk/gtkfilesystemunix.c (gtk_file_system_unix_insert_bookmark):
	Updated; renamed from gtk_file_system_unix_add_bookmark().  Return
	an error if the path already exists in the bookmarks list.
	(gtk_file_system_unix_remove_bookmark): Return an error if the
	path does not exist in the bookmarks list.

	* gtk/gtkfilechooserdefault.c (shortcuts_add_bookmark_from_path):
	For now, use gtk_file_system_insert_bookmark() with -1 for the
	position.  DnD will come next.

1031 1032 1033 1034 1035 1036 1037 1038 1039
Fri Feb 27 21:42:28 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkcombobox.c (gtk_combo_box_relayout): 
	* gtk/gtkcombobox.c (gtk_combo_box_style_set): Simplify, only 
	create a new setup if appearance actually changed.
	* gtk/gtkcombobox.c (gtk_combo_box_cell_layout_clear): 
	* gtk/gtkcombobox.c (gtk_combo_box_get_cell_info): Make 
	these more robust.  (#127623, Damon Chaplin)

1040 1041 1042 1043 1044 1045 1046 1047
Fri Feb 27 15:06:00 2004  Jonathan Blandford  <jrb@redhat.com>

	* gtk/gtkfilechooser.c (gtk_file_chooser_class_init): remove
	folder-mode property.

	* gtk/gtkfilechooserutils.c
	(_gtk_file_chooser_install_properties): remove FOLDER_MODE property.

1048 1049 1050 1051 1052
Thu Feb 26 17:38:40 2004  Manish Singh  <yosh@gimp.org>

	* gtk/gtkcombobox.c: Add function declaration for
	gtk_combo_box_list_remove_grabs().

1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068
Fri Feb 27 02:33:21 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkentry.c (keyval_is_cursor_move): Classifiy Page Up/Down as
	cursor move, but not Home and End.

	* gtk/gtkentry.c (gtk_entry_completion_key_press): Lets Page Up/Down
	jump to the ends of the list, not Home and End - since we're not 
	scrolling yet, a "page" is always the complete list.  (#127430, Marco
	Pesenti Gritti)

Fri Feb 27 00:39:11 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkcombobox.c (gtk_combo_box_list_destroy): 
	* gtk/gtkcombobox.c (gtk_combo_box_menu_destroy): Don't let
	the priv pointers dangle.  (#127623, Damon Chaplin)

Manish Singh's avatar
Manish Singh committed
1069 1070 1071 1072
Thu Feb 26 17:31:34 2004  Manish Singh  <yosh@gimp.org>

	* gdk/x11/xsettings-client.c (read_settings): fix ytpo: s/eles/else/

1073 1074 1075 1076 1077 1078
Thu Feb 26 19:53:32 2004  Owen Taylor  <otaylor@redhat.com>

	* gdk/x11/xsettings-common.h (xsettings_client_process_event): 
	Add xsettings_client_set_grab_func,
	Add xsettings_client_set_ungrab_func to the list of renames.

1079 1080 1081 1082 1083
Thu Feb 26 19:48:39 2004  Owen Taylor  <otaylor@redhat.com>

	* gdk/x11/xsettings-client.c (read_settings): Fix memory leak
	in case of mismatched property type.

1084 1085 1086 1087 1088 1089 1090 1091
Thu Feb 26 18:25:57 2004  Jonathan Blandford  <jrb@gnome.org>

	* gtk/gtkfilechooser.h (GtkFileChooserAction): Add two more folder
	modes to the enum.

	* gtk/gtkfilechooser.c (gtk_file_chooser_set_folder_mode): Remove.
	(gtk_file_chooser_get_folder_mode): Remove

1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106
Thu Feb 26 17:29:04 2004  Owen Taylor  <otaylor@redhat.com>

	* gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter): Return
	GDK_FILTER_CONTINUE for unhandled message types.

	* gdk/x11/gdkevents-x11.c (gdk_event_translate): Allow
	multiple filters for the same event type with the standard
	"GDK_FILTER_CONTINUE == pretend I wasn't here" semantics.

	* gdk/x11/gdkevents-x11.c (gdk_display_add_client_message_filter):
	Append to the filter list not prepend, since order now matters.

	* gdk/win32/gdkevents-win32.c (gdk_add_client_message_filter): 
	Append to the filter list not prepend, since order now matters.
	
1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119
Thu Feb 26 23:39:07 2004  Matthias Clasen  <maclas@gmx.de>

	Fixes for #135333, analysed by Damon Chaplin:
	
	* gtk/gtkcombobox.c (gtk_combo_box_list_button_pressed): Don't
	grab here.
	* gtk/gtkcombobox.c (gtk_combo_box_popup): Do the grabs here, 
	so that we don't forget to grab when the menu is popped via
	keynav.
	* gtk/gtkcombobox.c (gtk_combo_box_list_button_released): Don't
	ungrab here.
	* gtk/gtkcombobox.c (gtk_combo_box_popdown): Do the ungrabs here.

1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140
Thu Feb 26 23:26:00 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

	* gtk/gtkstatusbar.c (set_grip_cursor): New function. Use resize
	cursors for resize grips. (Bug #129621)

	* gtk/gtktoolbar.c (gtk_toolbar_get_relief_style): Documentation
	fix - patch by Torsten Schoenfeld.

	* gtk/gtkmenubar.c (gtk_menu_bar_size_request): don't request
	space between the items. (Bug #110775)

	* gtk/gtkrc.c (_gtk_rc_init): Provide extra horizontal padding
	inside menu items that are inside a menu bar. (Bug #110775)
	
	* configure.in (HAVE_XCURSOR): Make XCurosr part of GDK_EXTRA_,
	not GDK_PACKAGES, to prevent applications from getting linked to
	it (Bug #119804)

	* gtk/gtkmenubar.c (gtk_menu_bar_size_allocate): Put the vertical
	ipadding inside the item. (Bug #61843)

1141 1142 1143 1144 1145
Thu Feb 26 22:56:40 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkwidget.c: Replace gtk_widget_get_mnemonic_widgets() 
	by list_mnemonic_widgets() in doc comments as well.

Owen Taylor's avatar
Owen Taylor committed
1146 1147 1148 1149 1150 1151 1152 1153 1154 1155
Thu Feb 26 16:36:38 2004  Owen Taylor  <otaylor@redhat.com>

	Fixes from Torsten Schoenfeld.

	* gtk/gtkwidget.c (gtk_widget_add_mnemonic_label): 
	Fix name in doc comment.

	* gtk/gtkwidget.h: gtk_widget_list_mnemonic_labels(),
	not get_mnemonic_labels.

1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168
Thu Feb 26 22:20:44 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkcomboboxentry.h:
	* gtk/gtkcomboboxentry.c (gtk_combo_box_entry_new_text): New
	convenience API to construct simple text combos, implemented by
	Damon Chaplin.

	* tests/testcombo.c: Use gtk_combo_box_entry_new_text.

Thu Feb 26 22:19:29 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkcombobox.c (gtk_combo_box_new_text): Improve the docs.

1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187
Thu Feb 26 15:43:43 2004  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkstyle.[ch]: Export insertion cursor drawing functionality
	in a simplified form as gtk_draw_insertion_cursor().
	(#99031, request from Alex Larsson)

	* gtk/gtktextdisplay.c gtk/gtkentry.c gtk/gtklabel.c:
	Adapt to new gtk_draw_insertion_cursor().

	* gtk/gtkradiomenuitem.c (gtk_radio_menu_item_class_init)
	gtk/gtkstyle.c (gtk_style_class_init): Add some missed
	Since: 2.4.

	* gtk/gtkiconfactory.c (icon_size_settings_changed)
	  gtk/gtkicontheme.c (do_theme_change)
	  gtk/gtkrc.c (_gtk_rc_context_get_default_font_name)
	* gtk/gtksettings.c (gtk_settings_notify):
	_gtk_rc_reset_styles => gtk_rc_reset_styles.

1188 1189
Thu Feb 26 21:52:58 2004  Matthias Clasen  <maclas@gmx.de>

Matthias Clasen's avatar
Matthias Clasen committed
1190
	Fixes for #127804 and #134722, Damon Chaplin:
1191 1192 1193 1194 1195 1196 1197 1198
	
	* gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_end): 
	* gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_start): 
	Ref and sink the cell renderers here.
	
	* gtk/gtkcombobox.c (gtk_combo_box_finalize): Unref the cell
	renderers here, and free attributes and func_data. 

Matthias Clasen's avatar
Matthias Clasen committed
1199 1200 1201 1202
Thu Feb 26 21:41:38 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkrc.c (gtk_rc_reset_styles): Mark as 2.4 API addition.

Dom Lachowicz's avatar
Dom Lachowicz committed
1203 1204 1205 1206
Thu Feb 26 14:47:22 2004  Dom Lachowicz <cinamod@hotmail.com>

	* gtk/gtk.def: Export gtk_rc_reset_styles()

1207 1208 1209 1210 1211
Thu Feb 26 14:47:22 2004  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkrc.[ch]: Export gtk_rc_reset_styles(). 
	(Request from Dom Lachowicz, #123769)

1212 1213 1214 1215 1216 1217 1218
Wed Feb 25 19:11:31 2004  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkradiobutton.[ch] gtk/gtkradiomenuitem.[ch]: Add a
	::group-changed signal emitted when the radio button/menu item 
	is moved from one group of radio buttons to another. 
	(#79563, based partially on a patch from Padraig O'Briain)

1219 1220 1221 1222 1223
Thu Feb 26 13:23:47 2004  Owen Taylor  <otaylor@redhat.com>

	* gdk/x11/gdkwindow-x11.c (set_text_property): Use the right
	free() function. (#135511, George Bronnikov)

1224 1225 1226 1227 1228 1229
2004-02-26  Federico Mena Quintero  <federico@ximian.com>

	* configure.in: Added a comment to inform translators that they
	must add .po files to both po/ and po-properties/ when they add
	new languages to ALL_LINGUAS.

Owen Taylor's avatar
Owen Taylor committed
1230 1231 1232 1233 1234 1235 1236 1237 1238 1239
Wed Feb 25 15:36:50 2004  Owen Taylor  <otaylor@redhat.com>

	* gdk/x11/gdkselection-x11.c (gdk_utf8_to_compound_text_for_display):
	Call g_convert(), not g_convert() with fallback, since Emacs is
	happier if we reject the COMPOUND_TEXT request and it can
	then ask for UTF-8. (#114527)

	* gtk/gtkselection.c (gtk_selection_data_set_text): When
	TEXT is requested, if COMPOUND_TEXT fails, fall back to STRING.

1240 1241 1242 1243 1244
Wed Feb 25 22:35:00 2004  Tomasz Kłoczko <kloczek@pld.org.pl>

	* cinfigure.in: After changes in G_DEFINE_TYPE minimal required glib
	vesion for build gtk+ is now 2.3.3.

Jonathan Blandford's avatar
Jonathan Blandford committed
1245 1246 1247 1248 1249
Wed Feb 25 16:00:40 2004  Jonathan Blandford  <jrb@gnome.org>

	* gtk/gtkfilechooserdefault.c (update_appearance): move the
	expander code.

1250 1251 1252 1253 1254
2004-02-25  Danilo Šegan  <dsegan@gmx.net>

	* configure.in (ALL_LINGUAS): po-properties/sr@ije.po added, so
	adding back sr@ije.

1255 1256 1257 1258 1259
2004-02-25  Federico Mena Quintero  <federico@ximian.com>

	* configure.in (ALL_LINGUAS): Remove sr@ije until po-properties/
	is fixed for it.

1260 1261 1262 1263
Wed Feb 25 12:44:49 2004  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkstyle.[ch]: Make realize and unrealize signals. (#73310)

1264 1265 1266 1267 1268 1269
Wed Feb 25 12:21:32 2004  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwidget.[ch] gtk/gtklabel.c: Patch from
	Padraig O'Briain to add gtk_widget_add/remove_mnemonic_label,
	gtk_widget_get_mnemonic_labels(). (#103456)

1270 1271 1272 1273
2004-02-25  Danilo Šegan  <dsegan@gmx.net>

	* configure.in: Added sr@ije to ALL_LINGUAS.

1274 1275 1276 1277 1278
Wed Feb 25 09:46:34 2004  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkstyle.c (gtk_style_finalize): Free 
	style->icon_factories (#130128)

1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290
Wed Feb 25 03:52:58 2004  Jonathan Blandford  <jrb@gnome.org>

	* gtk/gtkpathbar.c: use gtk_widget_push/pop_composite_child around
	internal buttons.

	* gtk/gtkfilechooserdefault.c (struct _GtkFileChooserDefault):
	rename some widgets to make it clear where they are packed.
	(update_appearance): New function to handle all the 'logic' of
	layout in one place.  We aren't trying to keep all our properties
	in sync.
	(gtk_file_chooser_default_set_property): use update_appearance()

1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306
2004-02-24  Federico Mena Quintero  <federico@ximian.com>

	* gtk/gtkfilechooserdefault.c (shortcuts_model_create): Renamed
	from create_shortcuts_model().
	(struct _GtkFileChooserDefault): Renamed the shortcuts_tree field
	to shortcuts_list.
	(shortcuts_list_create): Renamed from shortcuts_tree_create().
	(create_file_list): Enable the tree view as a model drag source.
	(create_folder_tree): Likewise.

	* gtk/gtkfilesystemmodel.c (_gtk_file_system_model_get_type):
	Register the drag source interface.
	(drag_source_iface_init): New function.
	(drag_source_row_draggable): New function.
	(drag_source_drag_data_get): New function.

Owen Taylor's avatar
Owen Taylor committed
1307 1308 1309 1310 1311 1312 1313 1314
Tue Feb 24 19:12:07 2004  Owen Taylor  <otaylor@redhat.com>

	* === Released 2.3.4 ===

	* configure.in: Bump version to 2.3.4, fix broken
	gtk_binary_age value by copying the GLib logic
	to automatically set it to the right values.

1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328
Wed Feb 25 00:13:24 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkcombobox.c (gtk_combo_box_menu_row_changed): 
	* gtk/gtkcombobox.c (gtk_combo_box_list_row_changed): 
	Don't resize priv->cell_view if it is NULL.  (#127804, 
	Damon Chaplin)
	
Wed Feb 25 00:06:50 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkcombobox.c: Add a comment about the different 
	modi of this widget. Get rid of priv->hbox, and some other
	cleanups. Make sure that gtk_combo_box_unset_model() is 
	always called before setting up a different mode. 

1329 1330 1331 1332 1333
Tue Feb 24 17:51:49 2004  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkaccellabel.c (gtk_accel_label_refetch): Convert
	underscores in keyval names to spaces. (#131480)

1334 1335 1336 1337 1338
Tue Feb 24 17:35:59 2004  Owen Taylor  <otaylor@redhat.com>

	* m4macros/gtk-2.0.m4: Add some quotes around ***. (#130073,
	Uwe Zeisberger)

Owen Taylor's avatar
Owen Taylor committed
1339 1340 1341 1342 1343 1344 1345 1346
Tue Feb 24 14:45:03 2004  Owen Taylor  <otaylor@redhat.com>

	* === Released 2.3.3 ===

	* configure.in: Version 2.3.3, interface age 0.

	* NEWS: Finish updates for 2.3.3.

1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365
2004-02-24  Federico Mena Quintero  <federico@ximian.com>

	* gtk/gtkfilechooserdefault.c (save_widgets_create): Use a plain
	GtkEntry for the filename, not a GtkFileChooserEntry.
	(update_chooser_entry): Use gtk_entry_set_text() rather than
	_gtk_file_chooser_entry_set_file_part().
	(gtk_file_chooser_default_set_current_name): Likewise.
	(gtk_file_chooser_default_set_current_folder): Don't set the base
	folder of the entry, and don't call update_chooser_entry().
	(gtk_file_chooser_default_get_paths): Use the plain entry.
	(save_widgets_create): Store the "Save in Folder" label in the
	impl structure.
	(expander_activate_cb): Set the sensitivity of the label and
	combo.
	(save_widgets_create): Connect to "notify::expanded" rather than
	"activate" on the expander.
	(expander_changed_cb): Renamed from expander_activate_cb().  Flip
	the conditions again...

1366 1367 1368 1369 1370
Tue Feb 24 14:43:07 2004  Jonathan Blandford  <jrb@gnome.org>

	* gtk/gtktreeview.c (gtk_tree_view_bin_expose): only draw the sort
	column as different if there are 3 or more visible columns.

1371 1372 1373 1374 1375
2004-02-24  Anders Carlsson  <andersca@gnome.org>

	* gtk/gtkfilechooserdefault.c: (shortcuts_insert_separator):
	Fix compilation (#135278, Padraig O'Briain).
	
Anders Carlsson's avatar
Anders Carlsson committed
1376 1377 1378 1379 1380 1381 1382 1383 1384
2004-02-24  Anders Carlsson  <andersca@gnome.org>

	* gtk/gtkfilechooserdefault.c: (shortcuts_append_desktop):
	Translate the desktop label.
	
	(shortcuts_get_index), (shortcuts_add_bookmarks),
	(shortcuts_insert_separator), (create_shortcuts_model):
	Don't show the bookmark separator if there are no bookmarks.
	
1385 1386 1387 1388 1389 1390
Tue Feb 24 01:41:30 2004  Jonathan Blandford  <jrb@gnome.org>

	* gtk/gtkfilechooserdefault.c (location_popup_handler): Make the
	dialog look like the nautilus dialog.
	(expander_activate_cb): get the order correct.

1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403
2004-02-23  Federico Mena Quintero  <federico@ximian.com>

	* gtk/gtkfilechooserdefault.c (list_selection_changed): Call
	bookmarks_check_add_sensitivity().
	(shortcut_exists): New helper function; moved the testing code
	over from bookmarks_check_add_sensitivity().
	(bookmarks_check_add_sensitivity): Check the contents of the
	selection in the file/folder list.  Use shortcut_exists().
	(shortcuts_add_bookmark_from_path): Don't insert the bookmark if
	the path is already in the shortcuts list.
	(add_bookmark_button_clicked_cb): Add the bookmarks from the list
	selection or from the current folder, as appropriate.

1404 1405 1406 1407 1408
Mon Feb 23 21:09:06 2004  Jonathan Blandford  <jrb@gnome.org>

	* gtk/gtkfilechooserdefault.c (shortcuts_pane_create): Add
	mnemonics.  Sorry translators.

Matthias Clasen's avatar
Matthias Clasen committed
1409 1410
Tue Feb 24 02:24:58 2004  Matthias Clasen  <maclas@gmx.de>

Matthias Clasen's avatar
Matthias Clasen committed
1411 1412
	* NEWS: Additions. This should be complete for the main ChangeLog
	now, still need to sift through gdk-pixbuf, docs, and translations.
Matthias Clasen's avatar
Matthias Clasen committed
1413

1414 1415 1416 1417 1418 1419
Mon Feb 23 19:57:45 2004  Jonathan Blandford  <jrb@gnome.org>

	* gtk/gtkcellrendererseptext.c (gtk_cell_renderer_sep_get_size):
	Add a get_size implementation so that we are no longer the same
	height as text.

1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430
2004-02-24  Anders Carlsson  <andersca@gnome.org>

	* gtk/gtkfilechooserdefault.c: (shortcuts_insert_path),
	(shortcuts_remove_rows), (shortcuts_append_bookmarks),
	(create_shortcuts_model), (shortcuts_tree_create),
	(gtk_file_chooser_default_remove_shortcut_folder):
	Improve bookmark list rendering by controlling the visibility
	of the pixbuf cell so that it will be invisible for the separator
	row, also use a list store instead of a tree store for the model
	so we won't get unnecessary space for an expander.
	
1431 1432 1433 1434 1435 1436 1437 1438
Tue Feb 24 01:08:27 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkcombobox.c: Add a destroy implementation in order to
	set priv->cell_view to NULL before finalize stumbles over the 
	dangling pointer. This big array of pointers into the widget 
	tree in GtkComboBoxPrivate is really fragile and should be
	cleaned up.

1439 1440 1441 1442 1443 1444
Mon Feb 23 17:52:43 2004  Jonathan Blandford  <jrb@gnome.org>

	* gtk/gtkfilechooserdefault.c (main_paned_create): use a size
	group when allocating space for the buttons at the bottom just in
	case.  Also, move the filter to below the file list.

1445 1446 1447 1448 1449 1450 1451
Mon Feb 23 16:52:12 2004  Jonathan Blandford  <jrb@gnome.org>

	* gtk/gtkfilechooserdefault.c
	(gtk_file_chooser_default_class_init): Seth was confused by
	keybindings.  They should be Alt, not Ctl.  Also, A-Home should go
	home, not up.

1452 1453 1454 1455 1456 1457 1458
Mon Feb 23 15:23:23 2004  Jonathan Blandford  <jrb@gnome.org>

	* gtk/gtkpathbar.c (gtk_path_bar_set_path): Display the root a bit
	more cleanly.

	* gtk/gtkpathbar.h (struct _GtkPathBarClass): fix the signal.

1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486
2004-02-23  Federico Mena Quintero  <federico@ximian.com>

	Rework the user interface of the file chooser, as per 
	Seth Nickell's design.

	* gtk/gtkfilechooserdefault.c
	(gtk_file_chooser_default_class_init): Add binding signals and bindings:
		"location-popup" - C-l
		"up-folder"      - C-Up
		"home-folder"    - C-Home
	(up_folder_handler): New function; moved the code from up_button_clicked().
	(up_button_clicked_cb): Call up_folder_handler().
	(home_folder_handler): New function.
	(location_popup_handler): New function.
	(struct _GtkFileChooserDefault): Add an hpaned field.
	(gtk_file_chooser_default_set_current_name): Check that we are in
	Save mode.
	(save_widgets_create): New function, create the widgets specific
	to Save mode.
	(main_paned_create): New function, create the hpaned's widgets here.
	(gtk_file_chooser_default_constructor): Create the open and save
	widgets, and show only one set.
	(gtk_file_chooser_default_set_property): Show/hide the save widgets.
	(gtk_file_chooser_default_get_paths): Only pay attention to the
	entry in Save mode.
	(update_chooser_entry): Update the entry only in Save mode.
	(entry_activate): Removed.

1487 1488 1489 1490 1491 1492
Mon Feb 23 11:20:34 2004  Owen Taylor  <otaylor@redhat.com>

	* configure.in: Remove the configure.in check for fontconfig 
	entirely; it's not needed, since PangoXft implies that sufficiently
	new fontconfig is present.

1493 1494 1495 1496 1497 1498
Mon Feb 23 02:26:53 2004  Jonathan Blandford  <jrb@gnome.org>

	* gtk/gtkpathbar.c (gtk_path_bar_finalize):
	for (i = 0; i < 10; i++)
	  g_print ("I will compile before committing.\n");

1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510
Mon Feb 23 02:08:42 2004  Jonathan Blandford  <jrb@gnome.org>

	* gtk/gtkfilechooserdefault.c (file_pane_create): Use the
	GtkPathBar by default now.

	* gtk/gtkpathbar.c (gtk_path_bar_set_path): Correctly set the
	current path from the path.
	(gtk_path_bar_class_init): new signal
	(button_clicked_cb): emit the signal when we're selected.
	(gtk_path_bar_clear_buttons): Fix a crasher when we weren't
	clearing thr first_scrolled_button.

1511 1512 1513 1514 1515
Mon Feb 23 02:26:15 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkcombobox.c (gtk_combo_box_size_allocate): Fix the 
	allocation for the toggle button so that it actually shows up 
	in LTR list mode.
1516 1517 1518 1519 1520 1521

	* gtk/gtkcombobox.c (gtk_combo_box_set_column_span_column): 
	* gtk/gtkcombobox.c (gtk_combo_box_set_row_span_column): 
	* gtk/gtkcombobox.c (gtk_combo_box_set_wrap_width): Add
	notification, and avoid excessive relayouting. 

1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533
Mon Feb 23 00:38:21 2004  Matthias Clasen  <maclas@gmx.de>

	Fix bug 134982, reported by Morten Welinder:
	
	* gtk/gtkpathbar.c (gtk_path_bar_destroy): 
	* gtk/gtktooltips.c (gtk_tooltips_destroy): 
	* gtk/gtkinvisible.c (gtk_invisible_destroy): Chain up to the 
	parent's ::destroy handler.
	
	* gdk/gdkdisplay.c (gdk_display_dispose): Chain up to the 
	parent's ::dispose handler.

1534 1535 1536 1537 1538
Sat Feb 21 19:09:55 2004  Manish Singh  <yosh@gimp.org>

	* gtk/gtksettings.c (gtk_default_substitute): Guard the FC_HINT_STYLE
	stuff with an #ifdef, so we still build with most fontconfig versions.

1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556
Sun Feb 22 03:03:29 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkaction.c: (gtk_action_finalize):
	* gtk/gtkclipboard.c: (gtk_clipboard_finalize):
	* gtk/gtkentrycompletion.c: (gtk_entry_completion_class_init),
	(gtk_entry_completion_finalize):
	* gtk/gtkfilechooserwidget.c: (gtk_file_chooser_widget_finalize):
	* gtk/gtkfilesystemmodel.c: (gtk_file_system_model_class_init),
	(gtk_file_system_model_finalize):
	* gtk/gtkicontheme.c: (gtk_icon_theme_class_init),
	(gtk_icon_theme_finalize):
	* gtk/gtktextchild.c: (gtk_text_child_anchor_finalize):
	* gtk/gtkuimanager.c: (gtk_ui_manager_class_init),
	(gtk_ui_manager_finalize):
	* modules/input/gtkimcontextxim.c: (gtk_im_context_xim_finalize):
	Add chains to the parent's ::finalize() handler  (#134901, Morten Welinder,
	patch by Jan Arne Petersen)

1557 1558 1559 1560 1561
Sun Feb 22 02:10:34 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkentrycompletion.c (gtk_entry_completion_default_completion_func): 
	Don't crash if item is NULL.  (#131542, Dan Damian)

1562 1563 1564 1565 1566
Sun Feb 22 02:04:03 2004  Matthias Clasen  <maclas@gmx.de>

	* configure.in: Add a check for a new enough fontconfig, since
	we picked up a direct dependency on it with the Xft settings.

1567 1568 1569 1570 1571 1572 1573 1574 1575 1576
Sun Feb 22 00:23:40 2004  Matthias Clasen  <maclas@gmx.de>

	Bug 112647 (Bill Haneman, patch by Narayana Pattipati):
	
	* gtk/gtkcheckmenuitem.c: Introduce a new style property 
	indicator_size and use it instead of the hardcoded value.
	
	* gtk/gtkmenu.c (gtk_menu_size_request): Make sure each menu 
	item gets enough vertical space for the label and the indicator.

1577 1578 1579 1580 1581
Sat Feb 21 20:20:11 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

	* gtk/gtksettings.c (gtk_settings_class_init): Use P_ instead of
	_ for the new Xft settings.

1582 1583 1584 1585 1586 1587 1588 1589 1590
Sat Feb 21 20:09:53 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

	Bug 130790 (Federico Mena Quintero, Owen Taylor)
	
	* gdk/x11/gdkevents-x11.c: Add Xft XSETTINGS

	* gtk/gtksettings.c: Add new GtkSettings corresponding to the Xft
	XSETTINGS
	
Soeren Sandmann's avatar
Soeren Sandmann committed
1591 1592 1593 1594 1595 1596 1597 1598 1599 1600
Sat Feb 21 19:18:26 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

	Bug 132502
	
	* gtk/gtkmenu.c (gtk_menu_motion_notify): Make sure we pop down
	if we enter a non-selectable menu item.

	* gtk/gtkmenu.c (gtk_menu_leave_notify): Don't pop a submenu
	when the user has left the item.

1601 1602 1603 1604
Sat Feb 21 17:57:35 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

	* gtk/docs: Commit auto-generated changes

1605 1606 1607 1608 1609 1610 1611 1612 1613
Fri Feb 20 18:20:22 2004  Jonathan Blandford  <jrb@gnome.org>

	* gtk/gtkfilechooserdefault.c: conditional compile for GtkPathBar

	* gtk/gtkpathbar.c (gtk_path_bar_size_allocate): Clean up
	allocation code.  Works fully in RTL languages, I think.
	(gtk_path_bar_scroll_up): Scroll up.
	(gtk_path_bar_scroll_down): Scroll down.

1614 1615 1616 1617
2004-02-20  Christian Rose  <menthos@menthos.com>

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

1618 1619
2004-02-20  Michael Meeks  <michael@ximian.com>

1620 1621 1622 1623 1624 1625 1626
	* gtk/gtktoolitem.c (gtk_tool_item_property_notify): impl.
	(gtk_tool_item_class_init): hook it up.
	(gtk_tool_item_set_proxy_menu_item): synchronize sensitivity.

	* gtk/gtktoolbutton.c (gtk_tool_button_property_notify):
	chain to parent, fix strcmp bug.

1627 1628 1629
	* tests/testtoolbar.c (main): re-arrange widgets to allow
	more overflowing toolbar goodness.

1630 1631 1632 1633 1634 1635 1636 1637 1638 1639
2004-02-20  Alexander Larsson  <alexl@redhat.com>

	* gtk/gtkfilechooserdefault.c: (shortcuts_append_desktop):
	Desktop directory is not translated.
	(set_tree_model):
	There might not be volumes for all paths.
	* gtk/gtkfilechooserwidget.c:
	(gtk_file_chooser_widget_constructor):
	Use gtk_file_chooser_set_current_folder to set cwd.

1640 1641 1642 1643 1644 1645 1646
Thu Feb 19 19:58:53 2004  Jonathan Blandford  <jrb@gnome.org>

	* gtk/gtkpathbar.[ch]: New widget to handle the path in the
	fileselector implementation.  Not hooked up to anything yet.

	* gtk/Makefile.am: support the path bar.

1647 1648 1649 1650 1651 1652
Fri Feb 20 00:21:38 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkstyle.c (gtk_default_draw_handle): 
	(gtk_default_draw_box): Make the paned handles gray when the the 
	widget is_focus() but not HAS_FOCUS().  (#122751, Soeren Sandmann)

Matthias Clasen's avatar
Matthias Clasen committed
1653 1654 1655 1656 1657 1658 1659 1660
Thu Feb 19 23:41:06 2004  Matthias Clasen  <maclas@gmx.de>

	Fixes for #82099:
	
	* gdk/x11/gdkevents-x11.c: Introduce new XSettings "Gtk/ButtonImages"
	and "Gtk/MenuImages" and map them to "gtk-button-images" and 
	"gtk-menu-images".

1661 1662
	* gtk/gtkimagemenuitem.c: Add a boolean setting "gtk-menu-images" and 
	use it to set the visibility of the embedded image.
Matthias Clasen's avatar
Matthias Clasen committed
1663 1664 1665 1666

	* gtk/gtkbutton.c: Add a boolean setting "gtk-button-images" and use
	it to set the visibility of an embedded image.

1667 1668 1669 1670 1671
Thu Feb 19 21:26:10 2004  Matthias Clasen  <maclas@gmx.de>

	* gtk/gtkactiongroup.c (gtk_action_group_add_radio_actions_full): 
	Give each radio action its own value.  (#134889, Paolo Borelli)

1672 1673 1674 1675 1676 1677
2004-02-19  Federico Mena Quintero  <federico@ximian.com>

	* gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_finalize):
	Chain to the parent's ::finalize() handler.  Fixes #134885; caught
	by Jan Arne Petersen.

1678 1679 1680