2004-08-25 Matthias Clasen * === Released 2.4.8 === 2004-08-25 Matthias Clasen * gtk/gtkfilechooserdefault.c (check_is_folder): Use get_file_info() rather than trying get_folder() and checking for an error directly because older versions of the gnome-vfs backend don't return an error immediately. (#150852, Zack Cerza ) 2004-08-24 Matthias Clasen * NEWS: Update for 2.4.8 * gtk/gtkaction.c (connect_proxy, disconnect_proxy): Handle action_group being NULL. (#150869, Tommi Komulainen) 2004-08-24 Matthias Clasen * gdk/gdkimage.c (allocate_scratch_images): Use the correct index variable. (#150941, Tommi Komulainen) 2004-08-24 Matthias Clasen * gtk/gtktreeview.c (gtk_tree_view_node_queue_redraw): Take header height and adjustment into account. (#136496, Pawek Salek) 2004-08-23 Matthias Clasen * gdk/x11/gdkwindow-x11.c (show_window_internal): Make it compile. * gdk/x11/gdkwindow-x11.h (struct _GdkToplevelX11): Add a user_time field. * gdk/x11/gdkwindow-x11.c (_gdk_x11_window_set_user_time): Update toplevel->user_time. (show_window_internal): Update the user time when re-mapping a toplevel window. (#150502, Elijah Newren) * gdk/x11/gdkwindow-x11.c (gdk_window_focus): Support the latest EWMH additions to the _NET_ACTIVE_WINDOW client message format. (#150668, Elijah Newren) 2004-08-22 Philip Langdale * gtk/gtkaction.c (gtk_action_disconnect_proxy): Two signals (gtk_action_sync_property and gtk_action_sync_sensitive) were not being correctly disconnected, leading to actions continuing to affect disconnected proxies. (#150607) 2004-08-22 Tor Lillqvist * gdk/win32/gdkwindow-win32.c (gdk_window_new_internal, gdk_window_new, gdk_window_set_skip_taskbar_hint): Don't show TEMP windows in the Task Manager. Implement by calling gdk_window_set_skip_taskbar_hint(TRUE) on them. (#145481, Tim Evans) * gdk/win32/gdkdisplay-win32.c (enum_monitor, gdk_display_open): Report whole of (primary) monitor, including any taskbars. Excluding the taskbar area from the "root window" reported to GDK doesn't seem to be that useful although gdk/win32 had been doing it for a very long time. (#149013, see also #145467 and #148526) Sun Aug 22 15:46:56 2004 Soeren Sandmann * gtk/gtkpaned.c (gtk_paned_class_init): s/CYCLE_HANDLE_FOCUS/CYCLE_CHILD_FOCUS/ * gtk/gtkfontbutton.c (gtk_font_button_class_init): s/PROP_SHOW_SIZE/PROP_SHOW_STYLE/ Both pointed out by Tommi Komulainen. Sun Aug 22 13:44:53 2004 Soeren Sandmann * gtk/gtkpaned.c (gtk_paned_class_init): Use PROP_MAX_POSITION, not PROP_MIN_POSITION for the max_position property. Fix pointet out by Tommi Komulainen. Sun Aug 22 00:08:44 2004 Matthias Clasen Fix #150406, reported by Fernando San Martín Woerner, patch by Gustavo Carneiro. * gtk/gtkentrycompletion.c (gtk_entry_completion_default_completion_func): Check that column is of type G_TYPE_STRING before proceeding. Sat Aug 21 23:53:39 2004 Matthias Clasen * gtk/gtktreestore.c (gtk_tree_store_swap): Don't use an uninitialized tree iter. (#150414, Torsten Schoenfeld) Sat Aug 21 23:29:54 2004 Matthias Clasen Fix #150738, Tomislav Jonjic. * gtk/gtktoolitem.h (GTK_IS_TOOL_ITEM_CLASS): * gtk/gtktoolbutton.h (GTK_IS_TOOL_BUTTON_CLASS): * gtk/gtktoggleaction.h (GTK_IS_TOGGLE_ACTION_CLASS): * gtk/gtkseparatortoolitem.h (GTK_IS_SEPARATOR_TOOL_ITEM_CLASS): * gtk/gtkradiotoolbutton.h (GTK_IS_RADIO_TOOL_BUTTON_CLASS): * gtk/gtkradioaction.h (GTK_IS_RADIO_ACTION_CLASS): * gtk/gtkuimanager.h (GTK_IS_UI_MANAGER_CLASS): * gtk/gtkaction.h (GTK_IS_ACTION_CLASS): Fix macro definitions. Mon Aug 16 01:30:12 2004 Matthias Clasen * gtk/gtkbutton.c (gtk_button_set_focus_on_click): Fix typo in the docs. Wed Aug 18 16:18:00 2004 Manish Singh * gtk/gtktreeview.c (gtk_tree_view_row_inserted): Initialize height from fixed_height before we do anything, so it always has a valid value. 2004-08-18 Federico Mena Quintero Fixes #149251: * gtk/gtkfilechooserdefault.c: Renamed SHORTCUTS_COL_PATH to SHORTCUTS_COL_DATA. Add SHORTCUTS_COL_IS_VOLUME, to determine easily whether the SHORTCUTS_COL_DATA points to a GtkFilePath or a GtkFileSystemVolume. (shortcuts_model_create): Create a boolean column for SHORTCUTS_COL_IS_VOLUME. (shortcuts_reload_icons): Simplify with the use of the SHORTCUTS_COL_IS_VOLUME column. Don't leak the pixbuf. (shortcuts_insert_path): Add the SHORTCUTS_COL_IS_VOLUME data. (shortcuts_free_row_data): New helper function; frees the data columns for an iter. (shortcuts_remove_rows): Don't take a callback for freeing the data; free everything here instead. Use shortcuts_free_row_data(). (volume_remove_cb): Removed. (remove_bookmark_cb): Removed. (remove_row_cb): Make this a single generic function to delete rows. (shortcuts_add_volumes): Use remove_row_cb(). (shortcuts_add_bookmarks): Likewise. (struct _GtkFileChooserDefault): Removed the shortcuts_current_folder_is_volume field. (shortcuts_add_current_folder): Oops, don't free the volume. (remove_current_folder_cb): Removed. (shortcut_find_position): Simplify through the use of the SHORTCUTS_COL_IS_VOLUME column. (remove_selected_bookmarks): Assert that we don't get a volume. (shortcuts_reorder): Likewise; also, plug a leak. (gtk_file_chooser_default_remove_shortcut_folder): Simplify through the use of shortcuts_remove_rows(). (gtk_file_chooser_default_list_shortcut_folders): Assert that we don't get a volume. (shortcuts_activate_iter): Simplify. (home_folder_handler): Simplify by using shortcuts_activate_iter(). (shortcuts_free): New function; frees all the data columns. (gtk_file_chooser_default_finalize): Unref the shortcuts_filter_model and the shortcuts model data first. 2004-08-16 Christian Rose * configure.in: Added "bs" to ALL_LINGUAS. Mon Aug 16 01:03:08 2004 Matthias Clasen * gtk/gtktextiter.c (gtk_text_iter_set_visible_line_offset): (gtk_text_iter_set_visible_line_index): Count from the beginning of the line, not from the current position. (#150101, Torsten Schoenfeld) 2004-08-15 Tor Lillqvist * gtk-zip.sh.in: Fix typo. The gtk.immodules file had never been included in my zipfiles...! * gtk/gtkfilesystemwin32.c (extract_icon): Improve handling of icon alpha channel (on Windows XP) and mask (older Windows versions). (#148641, Tim Evans) Sun Aug 15 02:31:55 2004 Matthias Clasen * gtk/gtkfilesystemunix.c (get_icon_type_from_stat): Make the use of S_ISFIFO and S_ISSOCK conditional. (#150146, Gustavo Carneiro) Sat Aug 14 23:00:25 2004 Soeren Sandmann * configure.in: Bump version number