2004-09-18 Matthias Clasen * === Released 2.4.10 === 2004-09-18 Marco Pesenti Gritti * gtk/gtkentry.c: (gtk_entry_completion_key_press): Make numeric pad enter activate the selected completion entry. Fix bug 143486 reported by Edd Dumbill. 2004-09-17 Matthias Clasen * NEWS: More updates. * gtk/gtkfilechooserdefault.c (select_func): Scroll to the selected row. (#143868, Christian Persch) 2004-09-17 Matthias Clasen Improve the behaviour of the file chooser in save mode. Fixes bugs #151031, #151608, #151994 reported by Owen Taylor and Alexander Larsson. * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_set_property): (location_entry_create): Propagate the action to the file chooser entries. (gtk_file_chooser_default_should_respond): Switch folders if the user enters a directory name in the entry and clear the entry after switching folders. (gtk_file_chooser_default_should_respond, shortcuts_row_activated_cb): Move focus to the file list when activating a shortcut. (gtk_file_chooser_default_should_respond): Handle the case where the user clicks on "Save" after selecting a folder in the file list. * gtk/gtkfilechooserentry.h: * gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_set_action): (_gtk_file_chooser_entry_get_action): New functions to propagate the GtkFileChooserAction of the file chooser to the file chooser entry. (check_completion_callback): If we are in save mode, only do inline completion for directories. Thu Sep 16 23:10:37 2004 Matthias Clasen * gdk/x11/gdkselection-x11.c (make_list): Warn if a UTF8_STRING property contains invalid UTF-8. (#152845, Owen Taylor) 2004-09-15 Tor Lillqvist * gdk/win32/gdkwindow-win32.c (gdk_window_get_frame_extents): Remove bogus code that tried to do what the X11 backend does in its version of this function. There are no "frame windows" (for toplevel window decoration) on Windows. The desktop ("root") window is not the parent of a toplevel window. (#152481) 2004-09-15 Matthias Clasen * NEWS: Updates 2004-09-14 Matthias Clasen * gtk/queryimmodules.c (escape_string): Copy code from queryloaders.c which turns backslashes in slashes on win32. (#152608, Kazuki IWAMOTO) * gtk/gtktreeview.c (gtk_tree_view_focus_to_cursor): Set the cursor to the first selected row instead of always to the first row if there is no cursor. (#143270, Jean Bréfort) * tests/testfilechooser.c (main): Fix a few typos. 2004-09-13 Matthias Clasen * gtk/gtkexpander.c: * gtk/gtktreeview.c: Change the default expander size to 12 to compensate for the recent change to gtk_default_draw_expander(). * gtk/gtkstyle.c (gtk_default_draw_expander): Use a linewidth of one for expander sizes up to 16. * gtk/gtkentrycompletion.c (gtk_entry_completion_set_model): Resize the popup if the model is replaced. (#152333) (_gtk_entry_completion_resize_popup): Improve positioning of entry completion popup. 2004-09-09 Matthias Clasen * tests/testfilechooser.c (main): Update sensitivity of the "Select all" button. 2004-09-08 Matthias Clasen * gtk/gtkstyle.c (gtk_default_draw_expander): Draw expanders a bit better. 2004-09-07 Matthias Clasen * gtk/gtkuimanager.c (gtk_ui_manager_add_ui): Use the proper node type for placeholders in toolbars. (#151963, Olivier Andrieu) 2004-09-06 Kjartan Maraas gtk/gtkfilesystemmodel.c (do_files_added): Use the correct function to free stuff. Avoids a leak and a warning. Closes bug #151985 Sat Sep 4 23:42:09 2004 Matthias Clasen * configure.in: Fix the Solaris Xinerama checks. (#151754) Fri Sep 3 22:45:03 2004 Matthias Clasen * gtk/gtkuimanager.c (print_node): Don't print out attributes for the root node. (#151752, Lorenzo Gil Sánchez) 2004-09-03 Tor Lillqvist * gtk-zip.sh.in: List the three theme gtkrc files separately, zip doesn't do anything if one of the files on its command line doesn't exist. Handle changes of screen resolution on Win32. (#151581, reported by Arjohn Kampman) * gdk/win32/gdkwindow-win32.c (_gdk_windowing_window_init, _gdk_root_window_size_init): Factor out setting the root window's size (as the size of the union of all monitors) to a new function. * gdk/win32/gdkdisplay-win32.c (gdk_display_open, _gdk_monitor_init): Factor out the monitor query to a new function. * gdk/win32/gdkprivate-win32.h: Declare above new functions. * gdk/win32/gdkevents-win32.c (gdk_event_translate, handle_display_change): Handle WM_DISPLAYCHANGE by calling the above two functions, and emitting the "size_changed" signal on our (only) GdkScreen. Wed Sep 1 19:11:44 2004 Søren Sandmann * gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Make sure children of the toolbar are given positive dimensions. (149540, Felipe Heidrich). Wed Sep 1 01:16:22 2004 Matthias Clasen * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_class_init): Fix the default value of ::sizing. Wed Sep 1 00:55:56 2004 Matthias Clasen * gtk/gtkimage.c (gtk_image_clear): Don't leak the iter of a running animation. (#151542) Tue Aug 31 23:24:49 2004 Matthias Clasen * gtk/gtkcalendar.c (gtk_calendar_main_button): Only start a drag if the left button is pressed. (#151490, Frederic Croszat) 2004-08-28 Robert Ögren On Win32, do not produce tablet motion or button events while a window is being moved or resized. (#151090, reported by Shaneyfelt) * gdk/win32/gdkprivate-win32.h * gdk/win32/gdkglobals-win32.c * gdk/win32/gdkevents-win32.c: Rename the variable resizing to _sizemove_in_progress and make it extern. * gdk/win32/gdkinput-win32.c (_gdk_input_other_event): Ignore motion and button events if _sizemove_in_progress is true. 2004-08-26 Bill Haneman * gtk/gtktreeview: (gtk_tree_view_move_cursor_up_down): If a multi-selection list contains only one item, select it on cursor_up or cursor_down. Fixes bug #131226. [patch from Padraig O'Briain] 2004-08-22 Robert Ögren On Win32, make graphical tablets work on multi-monitor systems. (#145467, reported by buttknock1@ya...) * gdk/win32/gdkinput-win32.c (gdk_input_translate_coordinates): Use dimensions of _gdk_parent_root as screen size. (gdk_input_get_root_relative_geometry): Get coordinates relative to GDK root window instead of Win32 coordinates. (_gdk_input_other_event): Updated accordingly.