2006-05-16 Matthias Clasen * === Released 2.9.1 ==== * configure.in: Reset interface age * NEWS: Updates Tue May 16 12:36:25 2006 Søren Sandmann * gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Move getting the property out of the loop, and rename the variable 'max_expand'. * gtk/gtktoolbar.c (gtk_toolbar_class_init): Fix the decription for the max-child-expand property. 2006-05-16 Matthias Clasen * gtk/gtkprinter.c (gtk_printer_class_init): * gtk/gtkprintjob.c (gtk_print_job_class_init): * gtk/gtkprintoperation.c (gtk_print_operation_class_init): Cosmetic cleanups. * gtk/gtkpagesetupunixdialog.c (populate_dialog): Add labels for page orientations, also add the fourth one. (#339589) * gtk/stock-icons/24/gtk-orientation-reverse-portrait.png: New icon. * gtk/Makefile.am: Add it here. * gtk/gtkstock.[hc]: Add stock items for the page orientations. 2006-05-16 Michael Natterer * gtk/gtktoolbar.c: added "max-child-expand" style property which limits the space taken by expanding tool items. Fixes bug #340722. 2006-05-16 Kristian Rietveld * gtk/gtkpathbar.c (gtk_path_bar_dispose): cancel all pending handles in the button list. (Fixes #341035, reported by William Jon McCann). 2006-05-16 Kristian Rietveld * gtk/gtkfilechooserdefault.c (show_and_select_paths_finished_loading): put the newly selected row(s) the in the middle of the view, (update_current_folder_get_info_cb), (gtk_file_chooser_default_update_current_folder): make sure reload state is set to RELOAD_HAS_FOLDER while loading the new folder, so _map() won't start loading the current working directory. (Fixes #341028, reported by Michael Natterer). 2006-05-15 Matthias Clasen * gtk/gtktreeview.c (gtk_tree_view_button_press): Fix an RTL problem with toggles in expander columns. (#341896, Roozbeh Pournader) Mon May 15 15:12:05 2006 Søren Sandmann * gtk/gtklayout.c (gtk_layout_realize), * gtk/gtkiconview.c (gtk_icon_view_realize), * gtk/gtktreeview.c (gtk_tree_view_realize): Set the background of the clip windows to NULL, since they are generally invisible and don't have EXPOSURE set, which means they temp-unvlicker code doesn't apply to them. * gdk/x11/gdkgeometry-x11.c (_gdk_window_move_resize_child): Unset the background of the parent window during resizing. Invalidate the uncoered area of the parent window. Bug 341332. 2006-05-15 Richard Hult * gdk/quartz/gdkevents-quartz.c (_gdk_events_init): Remove obsolete comment. (poll_func): Remove assert and add a comment on how to fix properly. (gdk_events_pending): Implement. 2006-05-15 Matthias Clasen * gtk/gtkprintoperation.c: Reverse the order of ranges when printing in reverse. (#341578) 2006-05-15 Alexander Larsson * gtk/gtkprintjob.[ch]: Added gtk_print_job_set/get_track_print_status * gtk/gtkprintoperation-private.h: * gtk/gtkprintoperation.[ch]: Add gtk_print_operation_set_track_print_status. * gtk/gtkprintoperation-unix.c: Implement track_print_status on unix * gtk/gtkprintoperation-win32.c: Implement track_print_status on win32 * gtk/gtk.symbols: Added symbols * modules/printbackends/cups/gtkprintbackendcups.c: Implement track_print_status for cups * tests/print-editor.c: Test track_print_status. 2006-05-15 Matthias Clasen * gtk/gtkprintoperation.c: Do page rendering in an idle when running asynchronous. 2006-05-15 Alexander Larsson * gtk/gtk.symbols: * gtk/gtkprintbackend.[ch]: (_gtk_print_backend_create): Never unload print backends. Remove gtk_print_backend_unref_at_idle. * modules/printbackends/cups/gtkprintbackendcups.c: (cups_dispatch_watch_finalize): Don't use the unref_at_idle hack since that caused deadlocks. Instead we never unload print backends, which is not really a big problem. 2006-05-14 Murray Cumming * gtk/gtkframe.c: Restored the / at the start of the comment block, to fix the build. 2006-05-13 Matthias Clasen * gtk/*.c: * gdk-pixbuf/*.c: * gdk/*.c: Remove erroneous ; after G_DEFINE_TYPE macros. (#341692, Yevgen Muntyan) * gtk/gtktextbtree.c: * gtk/gtktextview.c: Move some asserts to the right place. (#341661, #341665, Pascal Terjan) 2006-05-12 Matthias Clasen * gtk/gtknotebook.c: Fix some corner cases in the size allocation logic for tabs. (#341577, Carlos Garnacho Parro) * gtk/gtkprintunixdialog.c: Some fixes to capitalization of labels. (#341558, Dennis Cranston) * gtk/gtknotebook.c: Handle tab_label being NULL better. (#341455, William Jon McCann, patch by Carlos Garnacho Parro) * gtk/gtkruler.c: Reinstate the ruler metrics strings, since they are used by glade, pointed out by Damon Chaplin. 2006-05-12 Alexander Larsson * gtk/gtkwindow.c: Better handling of the window group on unsetting transient-for, since the transient parent might have changed group. * gtk/gtkmenu.c: Combine the handling of transient for the attach-widget and the window group handling by setting transient-to on popup/popdown only. See bug #340401 * gtk/gtkprintunixdialog.c: Remove part of old fix no longer needed. 2006-05-12 Alexander Larsson * gtk/gtkprintoperation.c (gtk_print_operation_set_n_pages): Update g_object_notify to new property name. 2006-05-12 Alexander Larsson * gtk/gtkrecentmanager.c: Fix build errors. * gtk/gtk.symbols: * demos/gtk-demo/printing.c: * gtk/gtkprintoperation-win32.c: * gtk/gtkprintoperation.[ch]: * gtk/gtkprintsettings.[ch]: * modules/printbackends/cups/gtkprintbackendcups.c: * modules/printbackends/lpr/gtkprintbackendlpr.c: * modules/printbackends/pdf/gtkprintbackendpdf.c: * tests/print-editor.c: * tests/testnouiprint.c: * tests/testprint.c: * tests/testprintfileoperation.c: Rename functions from nr_of_pages to n_pages, and num_copies to n_copies to match other gtk+ names. * gtk/gtkmenu.c: (gtk_menu_popdown): Only re-set window group on popdown if we set it on popup (i.e. if there is a parent menu shell). Fixed part of bug #340401 * gtk/gtkwindow.c: Add (contruct) property "transient-for" to GtkWindow. This is needed for the fix to bug #340401. * gtk/gtkprintunixdialog.c: Use the transient-for property on construction and populate the dialog with widgets after that. This fixes bug #340401. More n_pages renames. 2006-05-11 Emmanuele Bassi * gtk/gtkrecentmanager.h: Remove the error parameter to the gtk_recent_manager_add() and gtk_recent_manager_add_full() functions; remove the unneeded error codes from the error enumeration. (#336774). * gtk/gtkrecentmanager.c: Make gtk_recent_manager_add() and gtk_recent_manager_add_full() complain loudly about wrong or missing meta-data, instead of using a GError. (#336774) 2006-05-11 Matthias Clasen * demos/gtk-demo/Makefile.am (demos): Add it here. * demos/gtk-demo/printing.c (do_printing): Add a GtkPrintOperation demo. 2006-05-11 Carlos Garcia Campos * gtk/gtkfilechooserembed.c: use I_() instead of _() when creating response-requested signal. Fixes bug #341416 2006-05-11 Matthias Clasen * gdk/gdkkeysyms.h: Regenerated from Xorg 7.1 keysyms.h, using gdkkeysyms-update.pl. * gdk/gdkkeysyms-update.pl: Script to sync gdkkeysyms.h with Xorg. (#321896, Simos Xenitellis) * gdk/Makefile.am (EXTRA_DIST): Add gdkkeysyms-update.pl * gdk/gdkkeysyms.h: Consistently use lowercase in hex numbers. 2006-05-10 Carlos Garnacho * gtk/gtknotebook.c: check that tab_label is not NULL before checking that it's notebook's child. Closes #341247. Wed May 10 15:57:53 2006 Tim Janik * applied unified patch for configurable scroll arrow sizes from bug #333632 and bug #325282. * gtk/gtkwidget.c (gtk_widget_class_init): added ::scroll-arrow-hlength and ::scroll-arrow-vlength style properties. fixed upper limit for ::separator-width and ::separator-height to be MAXINT. * gtk/gtkmenu.c: use GtkWidget::scroll-arrow-vlength to determine the scroll arrow size, instead of using a hard coded constant. * gtk/gtknotebook.c: use GtkWidget::scroll-arrow-vlength and GtkWidget::scroll-arrow-hlength to determine scroll arrow sizes. added GtkNotebook::arrow-spacing style property to configure the spacing between scroll arrows. 2006-05-10 Matthias Clasen * gtk/gtkpagesetupunixdialog.c: Don't include langinfo.h unconditionally. (#341217) 2006-05-10 John (J5) Palmieri * modules/printbackends/cups/gtkprintbackendcups.c: make the _CUPS_MAP_ATTR_STR macro not dup the string so we don't leak 2006-05-10 Francisco Javier F. Serrador * gtk/paper_names.c: Correct #11 Envelope typo. 2006-05-09 Tor Lillqvist * gdk/win32/gdkevents-win32.c (doesnt_want_scroll): Look at both GDK_SCROLL_MASK and GDK_BUTTON_PRESS_MASK. (#139628) 2006-05-09 Matthias Clasen * gtk/gtktextbuffer.c (gtk_text_buffer_class_init): Add a :cursor-position property. (#334412, Yevgen Muntyan) * gtk/gtk.symbols: * gtk/gtkmessagedialog.[hc]: Add an image property. (#337306, Alex Graveley) 2006-05-09 Carlos Garnacho * gtk/gtknotebook.c: create an independent GdkWindow to behave nicely during reordering with tab_labels with their own window, also use gtk_drag_set_icon_widget() for the DnD icon to avoid drawing garbage from offscreen regions. Closes bug #335707. (gtk_notebook_tab_space), (gtk_notebook_calculate_shown_tabs), (gtk_notebook_calculate_tabs_allocation): new functions, gtk_notebook_pages_allocate() functionality has been splitted into these. 2006-05-08 Matthias Clasen * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_add_shortcut_folder): * gtk/gtktextbufferserialize.c (parse_attr_element): Fix some typos in messages. (#341091, Tino Meinen) * gtk/gtkstatusicon.c: Some cleanups. * gtk/gtkstatusicon.c (gtk_status_icon_get_property): Silently return NULL if the storage type of the image does not match. (#340516, Christian Persch) * gtk/gtktoolbar.c (_gtk_toolbar_elide_underscores): Elide (_x) in the middle of the string, too. (#323956, Abel Cheung) * gtk/gtkuimanager.c (update_node): Fix tooltips. (#340527, Jon-Kare Hellan) * configure.in: Require Pango 1.13.0 * gtk/gtknotebook.c: * gtk/gtkwindow.c: * gtk/gtkrange.c: Fix doc typos. 2006-05-08 Francisco Javier F. Serrador * gtk/gtkprintunixdialog.c (gtk_print_unix_dialog_class_init): Corrected a duplicate word. * gtk/gtkrecentmanager.c (gtk_recent_manager_add_full): Corrected a typo. 2006-05-07 Matthias Clasen * gtk/gtkrange.c (gtk_range_key_press): Chain up, to make bindings work. Noticed by Al Puzzuoli. 2006-05-07 Matthias Clasen * gtk/gtkseparator.c: * gtk/gtkscrollbar.c: * gtk/gtkpaned.c: * gtk/gtkoldeditable.c: * gtk/gtkmisc.c: * gtk/gtkitem.c: * gtk/gtkimcontext.c: * gtk/gtkrange.c: * gtk/gtkscale.c: Make types abstract again. 2006-05-06 Matthias Clasen * gdk/gdkwindow.c (gdk_window_get_toplevels): Fix a wrong reference in the docs. (#340870, Ed Catmur) 2006-05-05 Christian Persch * modules/printbackends/cups/gtkprintbackendcups.c: * modules/printbackends/lpr/gtkprintbackendlpr.c: * modules/printbackends/pdf/gtkprintbackendpdf.c: Always register the type with the type module, even if it had been registered before. Fixes bug #340676. 2006-05-05 Matthias Clasen * gtk/gtkprintunixdialog.c: Use theme colors for the page layout indicator, and do RTL flipping for the collate indicator. 2006-05-05 Matthias Clasen * configure.in: Require GLib 1.11.0 * configure.in: Bump version