X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=ChangeLog;h=bb0085f39e19b0c9f5f5f3040f7e76b7ca9872cf;hb=afec1da0616fbf3bfbaeab19da92c6c050d540d2;hp=5dd31ede6bd9e385426b24ff4faa995dc087eaa2;hpb=8d833752a981f44dba0d818b5513766dc9dba976;p=~andy%2Fgtk diff --git a/ChangeLog b/ChangeLog index 5dd31ede6..bb0085f39 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,863 @@ +Sun Mar 7 17:38:03 2004 Jonathan Blandford + + * gtk/gtkbutton.c (gtk_button_class_init): actually use + gtk_button_add. + + * gtk/gtkfilechooserdefault.c (error_building_filename_dialog): + use the uri, not the path, #136317 + (renderer_edited_cb): ditto + (shortcuts_add_bookmark_from_path): ditto + (remove_bookmark_button_clicked_cb): ditto + (gtk_file_chooser_default_remove_shortcut): ditto + (update_from_entry): ditto + (up_folder_handler): ditto + +Sun Mar 7 16:07:08 2004 Jonathan Blandford + + * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_init): set + redraw_on_allocate, #135902. + + * gtk/gtkfilesystemmodel.c (model_refilter_recurse): Patch from + Damon Chaplin to set a node to be visible before emitting the + inserted signal, #135555. + +Sun Mar 7 22:24:28 2004 Matthias Clasen + + * gtk/gtkbutton.c (_gtk_button_paint): Don't use xthickness in the + height calculation. + +Sun Mar 7 14:34:04 2004 Jonathan Blandford + + * gtk/gtkfilechooserdefault.c (trap_activate_cb): stop activate + from unselecting rows when pressed in multiple-selection mode. + +2004-03-07 Hans Breuer + + * 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 + +Sun Mar 7 03:03:57 2004 Jonathan Blandford + + * 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. + +Sat Mar 6 23:31:18 2004 Jonathan Blandford + + * 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. + +Sun Mar 7 02:38:00 2004 Matthias Clasen + + * 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) + +2004-03-06 Gustavo J. A. M. Carneiro + + * 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. + +2004-03-05 Federico Mena Quintero + + * gdk/linux-fb/gdkglobals-fb.c: Make the very first + include. + * gdk/linux-fb/gdkwindow-fb.c: Likewise. + * gdk/linux-fb/gdkinput.c: Likewise. + +2004-03-05 Federico Mena Quintero + + Fixes #136082 and #135265, patch by Morten Welinder. + + * configure.in: Use AC_SYS_LARGEFILE. + + * */*.c: #include + +2004-03-05 Federico Mena Quintero + + * gtk/gtkfilechooserdefault.c + (gtk_file_chooser_default_select_path): No need to have a + temporary error variable. + +2004-03-05 Tor Lillqvist + + * 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. + + * 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. + +Fri Mar 5 18:00:36 2004 Jonathan Blandford + + * 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. + +Fri Mar 5 23:52:34 2004 Matthias Clasen + + * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_set_modify_func): + Improve the docs. (#127727, Murray Cumming) + +Fri Mar 5 23:37:16 2004 Matthias Clasen + + * gtk/gtktreeview.c (gtk_tree_view_set_reorderable): Clarify the + doc comment. (#118602) + +Fri Mar 5 22:37:15 2004 Matthias Clasen + + * gtk/gtkbutton.c (gtk_button_construct_child): Don't let + the priv->image pointer dangle. (#136259, Padraig O'Briain) + +2004-03-05 Federico Mena Quintero + + * 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. + +Fri Mar 5 11:17:35 2004 Owen Taylor + + * 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. + +2004-03-05 Michael Natterer + + * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_show_all): + s/object/widget/. Makes it compile again. + +Fri Mar 5 03:37:14 2004 Jonathan Blandford + + * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_show_all): + chain to the extra_widget. + +Fri Mar 5 02:53:41 2004 Jonathan Blandford + + * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_finalize): + Patch from Damon Chaplin to free models when we're finalized, + #134053 + +2004-03-05 Alexander Larsson + + * 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. + +Fri Mar 5 01:45:04 2004 Jonathan Blandford + + * 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 + +2004-03-04 Federico Mena Quintero + + * 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(). + +Fri Mar 5 00:05:59 2004 Matthias Clasen + + * 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 + + * gtk/gtkcombobox.c (gtk_combo_box_menu_position): Initially + select the active item when using optionmenu-like positioning. + +Thu Mar 4 16:54:30 2004 Owen Taylor + + * 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 + + * 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) + +Thu Mar 4 15:20:55 2004 Jonathan Blandford + + * gtk/gtkfilechooserdefault.c (update_appearance): show the 'New + Folder' button in SAVE mode again. + +Thu Mar 4 21:53:46 2004 Matthias Clasen + + * gtk/gtkiconfactory.c (copy_cache): Increment the reference + count of the style when copying the cached icon. (#135890, Crispin + Flowerday) + +Thu Mar 4 21:45:43 2004 Matthias Clasen + + * 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) + +Thu Mar 4 01:32:19 2004 Jonathan Blandford + + * gtk/gtkpathbar.c (gtk_path_bar_set_path): Modified patch from + muppet 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. + +Thu Mar 4 00:31:54 2004 Matthias Clasen + + * 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) + +Wed Mar 3 23:54:31 2004 Matthias Clasen + + * gtk/gtkentrycompletion.c: Doc update. + +Wed Mar 3 17:30:18 2004 Owen Taylor + + * gtk/gtkwindow.c (gtk_window_mnemonic_activate): Check + whether widgets are viewable, not just if they are + mapped. (#122912, reported by Tim Evans) + +Wed Mar 3 23:28:48 2004 Matthias Clasen + + * 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 + + * 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. + +Wed Mar 3 17:20:15 2004 Owen Taylor + + * 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) + +Wed Mar 3 16:47:10 2004 Owen Taylor + + #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. + +Wed Mar 3 16:00:10 2004 Owen Taylor + + * configure.in: Strip out the "export-dynamic" libtool + option from library link lines. (#124687, James Henstridge) + +Wed Mar 3 16:06:03 2004 Jonathan Blandford + + * gtk/gtkfilechooserdefault.c (save_folder_combo_changed_cb): + Don't activate the combo if we're in the midst of changing + folders. + +2004-03-03 Mark McLoughlin + + * tests/testsocket_common.c: (print_hello): don't try and store + pointers in ints. Fixes 64-bit build. + +2004-03-03 Federico Mena Quintero + + * gtk/gtkfilesystem.c (gtk_file_system_get_parent): Simplify by + not using a temporary variable, and clarify the documentation. + Fixes #136008. + +2004-03-03 Mark McLoughlin + + * 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. + +2004-03-03 Murray Cumming + + * gtk/gtkradiobutton.h, radiomenuitem.h: Corrected the group_changed + signal vfunc declaration, adding the first parameter, which is the + widget emitting the signal. + +2004-03-03 Morten Welinder + + * tests/testfilechooser.c (update_preview_cb): Plug leak. + +Tue Mar 2 23:39:55 2004 Jonathan Blandford + + * 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. + +2004-03-03 Tor Lillqvist + + * gtk/gtk.def: Add a missing entry. (#135982, J. Ali Harlow) + + * NEWS: Correct spelling of my name in one place. + +2004-03-02 Federico Mena Quintero + + * 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. + +Wed Mar 3 00:28:59 2004 Matthias Clasen + + * tests/testcombochange.c: Add an animation mode, to test + how the combobox behaves if the model changes while it is popped + up. + +Tue Mar 2 17:06:05 2004 Owen Taylor + + * === Released 2.3.5 === + + * NEWS: Updates + + * configure.in: Version 2.3.5, interface age 0. + Require glib-2.3.5, pango-1.3.5. + +Tue Mar 2 23:08:12 2004 Matthias Clasen + + * gtk/gtkentrycompletion.c (_gtk_entry_completion_popup): Avoid + popping up the completions across the edge of the monitor. + Part of #135561. + +Tue Mar 2 16:47:40 2004 Owen Taylor + + * tests/testfilechooser.c (set_filename_existing_nonexistent_cb): + Move the /nonexistant stuff out of the main window, + keep the main window somewhat normal looking. + +Tue Mar 2 16:18:43 2004 Owen Taylor + + * 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. + +Tue Mar 2 21:23:30 2004 Soeren Sandmann + + 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. + +Tue Mar 2 14:38:23 2004 Owen Taylor + + * 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. + +Tue Mar 2 15:19:52 2004 Jonathan Blandford + + * gtk/gtkfilechooserdefault.c + (gtk_file_chooser_default_get_resizable_hints): set the default + value, spotted by Morten Welinder. + +Tue Mar 2 15:03:15 2004 Jonathan Blandford + + * 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. + +2004-03-02 Federico Mena Quintero + + * 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. + +Tue Mar 2 20:59:23 2004 Matthias Clasen + + * tests/Makefile.am: Add testentrycompletion. + + * tests/testentrycompletion.c: New file to test some of the + more exotic GtkEntryCompletion features. + +Tue Mar 2 14:38:10 2004 Jonathan Blandford + + * tests/testfilechooser.c (main): improve tests a little. + +Tue Mar 2 11:45:50 2004 Owen Taylor + + * 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. + +Tue Mar 2 19:54:53 2004 Matthias Clasen + + * 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 + + * 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 + + * gtk/gtk.def: Add gtk_combo_box_entry_new_text(). + +2004-03-02 Morten Welinder + + * tests/testfilechooser.c (size_prepared_cb): Don't scale images + that are small enough to fit. Avoid using incompatibly typed data + pointer. + + * gtk/gtkfilechooserdefault.c + (gtk_file_chooser_default_get_resizable_hints): Test the + resize_horizontally pointer, not the deferenced pointer. + +2004-03-01 Federico Mena Quintero + + * 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. + +2004-03-01 Federico Mena Quintero + + * gtk/gtkfilechooserdefault.c (shortcuts_row_activated_cb): Eep, + use gtk_tree_model_filter_convert_iter_to_child_iter(), not the reverse. + +2004-03-01 Federico Mena Quintero + + * 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(). + +Mon Mar 1 19:30:25 2004 Owen Taylor + + * 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. + +Tue Mar 2 01:34:40 2004 Matthias Clasen + + * gtk/gtksettings.c: Remove the include of Xft.h, which is already + dragged in via pangoxft.h. (#135496, David Hawthorne) + +Mon Mar 1 23:52:15 2004 Tim Janik + + * 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(). + +2004-03-01 Simon Budig + + * 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. + +Tue Mar 2 00:47:21 2004 Matthias Clasen + + * gtk/gtkimmodule.c (match_locale): Use case-insensitive + comparison. Fixes XIM module loading on AIX. (#131277) + +Mon Mar 1 23:59:18 2004 Matthias Clasen + + * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_deleted): + Make it work correctly when the child model is cleared + completely. (#121633) + +2004-03-01 Michael Natterer + + * gtk/gtkfilechooserwidget.h: removed accidentially committed char + which broke the build. + +Mon Mar 1 16:51:21 2004 Jonathan Blandford + + * gtk/gtkfilechooserdialog.c + (file_chooser_widget_default_size_changed): only store the size if + we can resize in that direction. + +Mon Mar 1 16:32:52 2004 Jonathan Blandford + + * gtk/gtkfilechooserwidget.c + (gtk_file_chooser_widget_new_with_backend): new function. Long + name. + +2004-03-01 Morten Welinder + + * gtk/gtkfilesystemunix.c (filename_get_info): Only stat when + needed. + + * 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. + +Mon Mar 1 14:16:52 2004 Owen Taylor + + 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. + +Mon Mar 1 20:32:06 2004 Tim Janik + + * 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 + +2004-03-01 Federico Mena Quintero + + * 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. + +Mon Mar 1 12:23:06 2004 Owen Taylor + + * 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. + +Mon Mar 1 12:05:54 2004 Jonathan Blandford + + * gtk/gtkfilechooserdialog.c + (file_chooser_widget_resizable_hints_changed): Handle + shrinking/growing. + +2004-03-01 Michael Natterer + + * gtk/gtktextbtree.c: removed underscores from calls to + gtk_text_btree_resolve_bidi(). + +Mon Mar 1 10:41:27 2004 Owen Taylor + + 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(). + +Mon Mar 1 10:31:11 2004 Owen Taylor + + * gtk/gtkentry.[ch]: Implement auto-bidi-direction, + based on a patch from Dov Grobgeld. (#118540) + +Sun Feb 29 22:01:49 2004 Owen Taylor + + * 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. + +Sun Feb 29 20:34:06 2004 Owen Taylor + + * gtk/gtkwindow.[ch] gtk/gtkmenushell.c: export + gtk_window_activate_key() (Request from Tim Janik) + +Mon Mar 1 01:00:11 2004 Matthias Clasen + + * 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, + #93139, reported by Tommi Komulainen, patch by Paolo Borelli + and Paolo Maggi) + +Mon Mar 1 00:51:11 2004 Matthias Clasen + + * NEWS: News for 2.3.5. + +Sun Feb 29 23:25:35 2004 Matthias Clasen + + * gtk/gtkentry.c (gtk_entry_completion_key_press): + Fix the Shift-Tab support to go backwards. + +Sun Feb 29 16:40:40 2004 Owen Taylor + + * gtk/gtktextview.c (gtk_text_view_class_init): Fix + capitalization to match other style properties. + +Sun Feb 29 16:38:53 2004 Owen Taylor + + * gtk/gtktextview.c (gtk_text_view_class_init): Fix a + typo in property string. + Sun Feb 29 16:35:23 2004 Owen Taylor * gdk/gdkpango.c gtk/gtktextdisplay.c: Implement