2.9.10: 2006-08-05 Johannes Schmid * docs/tutorial/gtkmm-tut.xml: Utility is called enum.pl not enums.pl (#350028) 2006-08-03 Murray Cumming * examples/book/printing/advanced/previewdialog.cc: * examples/book/printing/advanced/previewdialog.h: Store the print context as a member variable instead of using sigc::bind to use it in on_drawing_area_realized(). Null the print context and preview refptrs when we call end_preview(), because we have stopped using them, and maybe we should not be keeping their objects alive. 2006-08-03 Marko Anastasov * examples/book/printing/advanced/previewdialog.cc: * examples/book/printing/advanced/previewdialog.h: * examples/book/printing/advanced/printformoperation.cc: Don't pass page_count as a ctor parameter but access it directly via m_pOperation when needed. It's also incorrect the first way because it has not yet been determined at the point of PreviewDialog's construction. Added an Adjustment to use it with the spin button in PreviewDialog so that spinning within multiple pages actually works. 2006-08-03 Marko Anastasov * examples/book/printing/advanced/previewdialog.cc: Added forgotten call to hide() in on_close_clicked(). 2006-08-03 Marko Anastasov * examples/book/printing/advanced/previewdialog.cc: * examples/book/printing/advanced/previewdialog.h: Added on_hide(), so that we call PrintOperationPreview's end_preview() on window manager's close action too. 2006-08-02 Murray Cumming * examples/book/printing/advanced/previewdialog.cc: Constructor: Improve the packing of the widgets. on_popreview_got_page_size(): Add a comment to explain. 2006-08-02 Murray Cumming * examples/book/printing/advanced/previewdialog.cc: Constructor: Initialize m_DpiX and m_DpiY, as noticed by valgrind. Connect to signals here instead of later, so we do not risk connecting more than once. on_drawing_area_realized(): Check gdk_window is not null before using it. on_popreview_got_page_size(): Check that drawing_area is realized before trying to get its allocation. Possibly not necessary. Check the pango layout is not null before using it. * examples/book/printing/advanced/printformoperation.cc: on_draw_page(): Check that the print context and pango layout are not null before using them. * examples/book/printing/advanced/printformoperation.h: Connect to the hide signal of the dialog instead of delete_event(). 2006-08-02 Murray Cumming * examples/book/printing/advanced/previewdialog.cc: * examples/book/printing/advanced/previewdialog.h: Rename the signal handlers so it is is bit clearer. Use show_all_children() instead of show_all() so that the caller can decided when to show the window. * examples/book/printing/advanced/printformoperation.cc: Use show(), and set the dialog pointer to 0 after deleting it. 2006-08-02 Armin Burgmeier * gtk/src/fontbutton.hg: Renamed constructor argument to font_name for gmmproc to produce the correct property name. 2006-08-02 Marko Anastasov * examples/book/printing/advanced/previewdialog.cc: * examples/book/printing/advanced/previewdialog.h: * examples/book/printing/advanced/printformoperation.cc: * examples/book/printing/advanced/printformoperation.h: Further efforts to fix #347857. See comment #14. * gtk/src/pagesetup.hg: Removed some commented conversions for PaperSize which haven't been used ever since convert_gtk.m4 contains the necessary. * gtk/src/printoperationpreview.hg: Fixed the conversion for PrintContext which takes a reference and fixes some of the problems in the bug. Uncommented ready and got_page_size signals. * tools/m4/convert_gtk.m4: Made both conversions for PaperSize (C to Cpp) take a reference. Removed two unnecessary conversions for PrintContext. 2006-08-01 Jonathon Jongsma * docs/tutorial/figures/Makefile.am: * docs/tutorial/figures/recentchooserdialog.png: * docs/tutorial/gtkmm-tut.xml: added a screenshot of the RecentChooserDialog and a bit of additional explanation to the example 2006-08-01 Murray Cumming * gtk/src/recentchooser.ccg: * gtk/src/recentchooser.hg: * gtk/src/recentinfo.ccg: * gtk/src/recentinfo.hg: * gtk/src/recentmanager.ccg: * gtk/src/recentmanager.hg: Move RecentInfoTraits into recentinfo.hg, and use it for RecentManager::get_items() as well as the existing RecentChooser::get_items(). 2006-07-30 Murray Cumming * gtk/src/recentchooser.ccg: * gtk/src/recentchooser.hg: * gtk/src/recentinfo.hg: * gtk/src/recentmanager.hg: Use RecentInfo via RefPtr always. * tools/m4/convert_gtk.m4: 2006-07-27 Murray Cumming * docs/index.html: Linked to the wiki page. 20c06-07-26 Murray Cumming * gtk/src/recentinfo.hg: Use _CLASS_OPAQUE_REFCOUNTED instead of _CLASS_OPAQUE_COPYABLE(), because this struct has ref/unref instead of copy/free. This causes the reference() and unreference() methods to generated. * examples/book/printing/advanced/printformoperation.cc: Wrapping C libraries section: Correct the _CLASS_OPAQUE_COPYABLE section and mention _CLASS_OPAQUE_REFCOUNTED. 2006-07-25 Jonathon Jongsma * examples/book/recent_files/examplewindow.cc: * examples/book/recent_files/examplewindow.h: Fix recent files example so that it actually pops up a dialog when you select the recent files menu item. Also added _mnemonics to menu items for easy keyboard navigation :) 2006-07-25 Murray Cumming * examples/book/printing/advanced/printformoperation.cc: * examples/book/printing/advanced/printformoperation.h: Uncomment out the on_preview() override again, and add an if that shows that m_refLayout is null, because on on_begin_print() has never been called. 2006-07-25 Murray Cumming * examples/book/printing/advanced/examplewindow.cc: * examples/book/printing/advanced/printformoperation.cc: * examples/book/printing/advanced/printformoperation.h: * examples/book/printing/simple/examplewindow.cc: Made the two examples more like each other, so that it is more obvious what is causing the crash, though I commented out the crashing override, with a comment. 2006-07-24 Jonathon Jongsma * docs/tutorial/gtkmm-tut.xml: Added preliminary chapter on using the new recent files API (RecentManager, RecentChooser, etc). I really think that the recent_files example could use some simplification, but I haven't tackled that at all yet. I'm going to leave out any UIManager / Recent files integration for now since it seems like it will be a big manual hack until GtkRecentAction gets introduced in GTK+ 2.12 * examples/book/recent_files/Makefile.am: renamed the executable name that seemed to be a copy-paste error and was rather confusing