summaryrefslogtreecommitdiff
path: root/demos
Commit message (Collapse)AuthorAgeFilesLines
* define -DGDK_PIXBUF_DISABLE_DEPRECATED in the global CFLAGS.Michael Natterer2008-08-122-14/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-08-12 Michael Natterer <mitch@imendio.com> * configure.in: define -DGDK_PIXBUF_DISABLE_DEPRECATED in the global CFLAGS. * gdk-pixbuf/Makefile.am: make the contents gdk-pixbuf-marshal.h visible for GDK_PIXBUF_COMPILATION. * contrib/gdk-pixbuf-xlib/Makefile.am * demos/Makefile.am * demos/gtk-demo/Makefile.am * gdk-pixbuf/pixops/Makefile.am * gdk/Makefile.am * gdk/x11/Makefile.am * gtk/Makefile.am * gtk/tests/Makefile.am * gtk/theme-bits/Makefile.am * modules/engines/ms-windows/Makefile.am * modules/engines/pixbuf/Makefile.am * modules/input/Makefile.am * perf/Makefile.am * tests/Makefile.am: remove -DDGDK_PIXBUF_DISABLE_DEPRECATED here. svn path=/trunk/; revision=21096
* demos/gtk-demo/changedisplay.c demos/gtk-demo/clipboard.cSven Neumann2008-08-116-161/+163
| | | | | | | | | | | | | | | 2008-08-11 Sven Neumann <sven@gimp.org> * demos/gtk-demo/changedisplay.c * demos/gtk-demo/clipboard.c * demos/gtk-demo/drawingarea.c * demos/gtk-demo/iconview.c * demos/gtk-demo/images.c * demos/gtk-demo/pixbufs.c: use canonical signal names in the demos. svn path=/trunk/; revision=21074
* don't use the deprecated gtk_box_pack_start_defaults().Michael Natterer2008-08-111-1/+1
| | | | | | | | | | 2008-08-11 Michael Natterer <mitch@imendio.com> * demos/gtk-demo/textscroll.c (create_text_view): don't use the deprecated gtk_box_pack_start_defaults(). svn path=/trunk/; revision=21062
* Don't do funny casts to avoid compiler warningsFederico Mena Quintero2008-07-182-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | 2008-07-18 Federico Mena Quintero <federico@novell.com> * demos/gtk-demo/changedisplay.c (find_toplevel_at_pointer): Don't do funny casts to avoid compiler warnings. * demos/gtk-demo/textview.c (easter_egg_callback): Likewise. * gtk/gtkmain.c (rewrite_event_for_grabs, gtk_get_event_widget): Likewise. * gtk/gtkmodules.c (load_module): Likewise. * gtk/gtkselection.c (gtk_selection_convert): Likewise. * gtk/gtktipsquery.c (gtk_tips_query_event): Likewise. * gtk/queryimmodules.c (query_module): Likewise. * tests/testgtk.c (create_gridded_geometry, create_key_lookup) (find_widget_at_pointer): Likewise. Signed-off-by: Federico Mena Quintero <federico@novell.com> svn path=/trunk/; revision=20862
* Fix up highlightingMatthias Clasen2008-07-064-152/+235
| | | | svn path=/trunk/; revision=20791
* One moreMatthias Clasen2008-07-031-1/+1
| | | | svn path=/trunk/; revision=20747
* Use monospace as font name, not mono. Patch by Yevgen Muntyan.Matthias Clasen2008-07-031-1/+1
| | | | | | | | * demos/gtk-demo/printing.c: Use monospace as font name, not mono. Patch by Yevgen Muntyan. svn path=/trunk/; revision=20746
* Bug 455268 - Add gtk-enable-tooltips GtkSettingKristian Rietveld2008-07-021-1/+0
| | | | | | | | | | | | | | | | | | | | 2008-07-02 Kristian Rietveld <kris@imendio.com> Bug 455268 - Add gtk-enable-tooltips GtkSetting * gtk/gtk.symbols: * gtk/gtktoolbar.[ch] (gtk_toolbar_[gs]et_tooltips): deprecated. * gtk/gtksettings.c: introduce gtk-enable-tooltips XSetting. * gtk/gtktooltip.c (_gtk_tooltip_handle_event): take the newly introduced XSetting into account. * demos/gtk-demo/appwindow.c: don't use the now deprecated gtk_toolbar_set_tooltips(). svn path=/trunk/; revision=20730
* Include "config.h" instead of <config.h> Command used: find -nameJohan Dahlin2008-06-227-7/+7
| | | | | | | | | | | | 2008-06-21 Johan Dahlin <jdahlin@async.com.br> * *.[ch]: Include "config.h" instead of <config.h> Command used: find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g' Rubberstamped by Mitch and Tim svn path=/trunk/; revision=20669
* Replaced use of gtk_signal_connect with the g_signal_connect equivalents.Mikael Hallendal2008-06-201-6/+5
| | | | | | | | | | | | 2008-06-20 Mikael Hallendal <micke@imendio.com> * tests/testthreads.c: Use g_signal_connect instead of gtk_signal_connect. * demos/testgtk/main.c: switched to use GSignal instead of GtkSignal. While the code is not built, people may still look at it. svn path=/trunk/; revision=20654
* Use g_object_new instead of gtk_widget_newJohan Dahlin2008-06-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | 2008-06-19 Johan Dahlin <jdahlin@async.com.br> * demos/testpixbuf.c (new_testrgb_window): * gtk/gtkctree.c (gtk_ctree_new_with_titles): * gtk/gtkitemfactory.c (gtk_item_factory_construct), (gtk_item_factory_create_item): * gtk/gtkmenu.c (gtk_menu_set_tearoff_state): * gtk/gtkprogressbar.c (gtk_progress_bar_new), (gtk_progress_bar_new_with_adjustment): * gtk/gtkscrolledwindow.c (gtk_scrolled_window_new): * gtk/gtktext.c (gtk_text_new): * gtk/gtkviewport.c (gtk_viewport_new): * tests/simple.c (main): * tests/testgtk.c (create_statusbar), (create_get_image), (create_saved_position), (create_tooltips), (create_cursors), (create_display_screen), (create_progress_bar), (create_idle_test): * tests/testmultidisplay.c (make_selection_dialog), (main): * tests/testmultiscreen.c (main): * tests/testrgb.c (new_testrgb_window): Use g_object_new instead of gtk_widget_new svn path=/trunk/; revision=20462
* include <gdk-pixbuf/gdk-pixbuf.h> instead of individual files.Michael Natterer2008-05-281-1/+1
| | | | | | | | | | 2008-05-28 Michael Natterer <mitch@imendio.com> * demos/testpixbuf.c: include <gdk-pixbuf/gdk-pixbuf.h> instead of individual files. svn path=/trunk/; revision=20209
* Mark these functions with G_MODULE_EXPORT.Tor Lillqvist2008-04-081-2/+2
| | | | | | | | | | 2008-04-08 Tor Lillqvist <tml@novell.com> * demos/gtk-demo/builder.c (quit_activate, about_activate): Mark these functions with G_MODULE_EXPORT. svn path=/trunk/; revision=19985
* Move down each line in units of text_height rather than in units ofCody Russell2008-03-311-1/+2
| | | | | | | | | | | 2008-03-31 Cody Russell <bratsche@gnome.org> * demos/gtk-demo/printing.c (draw_page): Move down each line in units of text_height rather than in units of data->font_size. (totally awesome catch by Dom Lachowicz) svn path=/trunk/; revision=19952
* Add translatable/context and comment attributes on <col> tags under aJohan Dahlin2008-03-021-7/+7
| | | | | | | | | | | | | | | | | | 2008-02-29 Johan Dahlin <johan@gnome.org> * demos/gtk-demo/demo.ui: * gtk/gtkbuilderparser.c: * gtk/gtkbuilderprivate.h: * gtk/gtkliststore.c: * tests/buildertest.c: Add translatable/context and comment attributes on <col> tags under a GtkListStore. Refactor parts of the translation api and make it available inside gtk+ itself. Update tests and example. Fixes a part of #518642 svn path=/trunk/; revision=19685
* gtk-demo printing gives wrong results on win32 because it doesn't set theDominic Lachowicz2008-02-221-0/+3
| | | | | | | | | | | | | | 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com> * demos/gtk-demo/printing.c (do_printing): gtk-demo printing gives wrong results on win32 because it doesn't set the printing units, which affect the transformation of the cairo context (#347125, Erik van Pienbroek) svn path=/trunk/; revision=19635
* Move the about dialog to the glade file, add accessible tags examples toJohan Dahlin2008-01-292-8/+37
| | | | | | | | | | | | | 2008-01-29 Johan Dahlin <johan@gnome.org> * demos/gtk-demo/builder.c: (quit_activate), (about_activate), (do_builder): * demos/gtk-demo/demo.ui: Move the about dialog to the glade file, add accessible tags examples to the markup file. svn path=/trunk/; revision=19426
* use gtk_about_dialog_set_program_name() instead of the deprecatedMichael Natterer2008-01-281-1/+2
| | | | | | | | | | | 2008-01-28 Michael Natterer <mitch@imendio.com> * demos/gtk-demo/builder.c (about_activate): use gtk_about_dialog_set_program_name() instead of the deprecated set_name(). svn path=/trunk/; revision=19417
* Remove all .cvsignore files.Michael Natterer2007-12-132-18/+0
| | | | svn path=/trunk/; revision=19169
* call g_test_init() from gtk_test_init().15:39:40 Tim Janik2007-11-222-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-11-22 15:39:40 Tim Janik <timj@imendio.com> * gtk/gtktestutils.c: call g_test_init() from gtk_test_init(). * gtk/tests/testing.c: use g_test_add_func() to register tests and use g_test_run() to run the tests to integrate with the testing framework. * gtk/tests/Makefile.am: removed exemplary testing rules. * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am: * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am: * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am: * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am: * docs/reference/Makefile.am, docs/tools/Makefile.am: * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am: * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am: * demos/gtk-demo/Makefile.am, demos/Makefile.am: * modules/input/Makefile.am, modules/printbackends/file/Makefile.am: * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am: * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am: * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am: * modules/engines/ms-windows/Theme/Makefile.am: * modules/engines/ms-windows/Makefile.am: * modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am: * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am: * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am: * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am: * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am: * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am: include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments. svn path=/trunk/; revision=19033
* s/gtk_widget_[un]ref/g_object_[un]ref/gMichael Natterer2007-09-061-4/+4
| | | | | | | | | 2007-09-06 Michael Natterer <mitch@imendio.com> * demos/gtk-demo/panes.c: s/gtk_widget_[un]ref/g_object_[un]ref/g svn path=/trunk/; revision=18729
* add more convenience API.Kristian Rietveld2007-07-191-0/+4
| | | | | | | | | | | | | | | | | | 2007-07-19 Kristian Rietveld <kris@imendio.com> * gtk/gtk.symbols: * gtk/gtktreeprivate.h: * gtk/gtktreeview.[ch] (gtk_tree_view_get_tooltip_context), (gtk_tree_view_[sg]et_tooltip_column): add more convenience API. * tests/testtooltip.c (query_tooltip_tree_view_cb): use gtk_tree_view_get_tooltip_context(). * demos/gtk-demo/demo.ui: add a tooltip column to the list store, set tooltip-column on the tree view. svn path=/trunk/; revision=18496
* |___* demos/gtk-demo/demo.ui: |___* gtk/gtk-builder-convert: |___*Johan Dahlin2007-07-091-0/+1
| | | | | | | | | | | | | | | | | | | | 2007-07-09 Johan Dahlin,,, <jdahlin@lozenge> |___* demos/gtk-demo/demo.ui: |___* gtk/gtk-builder-convert: |___* gtk/gtkactiongroup.c: (gtk_action_group_buildable_init), |___(gtk_action_group_buildable_add_child), |___(accelerator_start_element), |___(gtk_action_group_buildable_custom_tag_start), |___(gtk_action_group_buildable_custom_tag_end): |___* gtk/gtkuimanager.c: (child_hierarchy_changed_cb), |___(gtk_ui_manager_buildable_construct_child): |___* tests/buildertest.c: (test_uimanager_simple): |___Add actiongroup/action accelerator support for builder. #454654 svn path=/trunk/; revision=18408
* Set name of Help menu to HelpMenuJohan Dahlin2007-06-281-1/+1
| | | | | | | | | | 2007-06-27 Johan Dahlin <jdahlin@async.com.br> * demos/gtk-demo/demo.ui: Set name of Help menu to HelpMenu svn path=/trunk/; revision=18271
* Connect the destroy signal in the example instead of the ui file. Also setJohan Dahlin2007-06-272-1/+5
| | | | | | | | | | * demos/gtk-demo/builder.c (do_builder): Connect the destroy signal in the example instead of the ui file. Also set the screen and title of the window. (#451345, Thomas Rydzynski) svn path=/trunk/; revision=18251
* Add GtkBuilder, fixes #172535Johan Dahlin2007-06-153-2/+292
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-06-15 Johan Dahlin <jdahlin@async.com.br> * demos/gtk-demo/Makefile.am: * demos/gtk-demo/builder.c: (quit_activate), (about_activate), (do_builder): * demos/gtk-demo/demo.ui: * docs/reference/gtk/gtk-docs.sgml: * docs/reference/gtk/gtk-sections.txt: * docs/reference/gtk/gtk.types: * docs/reference/gtk/tmpl/gtkbuildable.sgml: * docs/reference/gtk/tmpl/gtkbuilder.sgml: * gtk/Makefile.am: * gtk/gtk.h: * gtk/gtk.symbols: * gtk/gtkaction.c: (gtk_action_buildable_init), (gtk_action_buildable_set_name), (gtk_action_buildable_get_name): * gtk/gtkactiongroup.c: (gtk_action_group_get_type), (gtk_action_group_buildable_init), (gtk_action_group_buildable_add), (gtk_action_group_buildable_set_name), (gtk_action_group_buildable_get_name): * gtk/gtkbuildable.c: (gtk_buildable_get_type), (gtk_buildable_set_name), (gtk_buildable_get_name), (gtk_buildable_add), (gtk_buildable_set_property), (gtk_buildable_parser_finished), (gtk_buildable_construct_child), (gtk_buildable_custom_tag_start), (gtk_buildable_custom_tag_end), (gtk_buildable_custom_finished), (gtk_buildable_get_internal_child): * gtk/gtkbuildable.h: * gtk/gtkbuilder.c: (gtk_builder_class_init), (gtk_builder_init), (gtk_builder_finalize), (gtk_builder_set_property), (gtk_builder_get_property), (_gtk_builder_resolve_type_lazily), (gtk_builder_real_get_type_from_name), (gtk_builder_get_parameters), (gtk_builder_get_internal_child), (_gtk_builder_construct), (_gtk_builder_add), (apply_delayed_properties), (_gtk_builder_finish), (gtk_builder_new), (gtk_builder_add_from_file), (gtk_builder_add_from_string), (gtk_builder_get_object), (object_add_to_list), (gtk_builder_get_objects), (gtk_builder_set_translation_domain), (gtk_builder_get_translation_domain), (gtk_builder_connect_signals_default), (gtk_builder_connect_signals), (gtk_builder_connect_signals_full), (gtk_builder_value_from_string), (gtk_builder_value_from_string_type), (_gtk_builder_enum_from_string), (_gtk_builder_flags_from_string), (gtk_builder_get_type_from_name), (gtk_builder_error_quark): * gtk/gtkbuilder.h: * gtk/gtkbuilderparser.c: (state_push), (state_peek), (state_pop), (error_missing_attribute), (error_invalid_attribute), (error_invalid_tag), (builder_construct), (parse_object), (free_object_info), (_get_type_by_symbol), (parse_child), (free_child_info), (parse_property), (free_property_info), (parse_signal), (_free_signal_info), (parse_interface), (create_subparser), (free_subparser), (subparser_start), (subparser_end), (parse_custom), (start_element), (end_element), (text), (_gtk_builder_parser_parse_buffer): * gtk/gtkbuilderprivate.h: * gtk/gtkcelllayout.c: (attributes_start_element), (attributes_text_element), (_gtk_cell_layout_buildable_custom_tag_start), (_gtk_cell_layout_buildable_custom_tag_end), (_gtk_cell_layout_buildable_add): * gtk/gtkcelllayout.h: * gtk/gtkcellview.c: (gtk_cell_view_buildable_init), (gtk_cell_view_buildable_custom_tag_start), (gtk_cell_view_buildable_custom_tag_end): * gtk/gtkcolorseldialog.c: (gtk_color_selection_dialog_buildable_interface_init), (gtk_color_selection_dialog_buildable_get_internal_child): * gtk/gtkcombobox.c: (gtk_combo_box_buildable_init), (gtk_combo_box_buildable_custom_tag_start), (gtk_combo_box_buildable_custom_tag_end): * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_buildable_interface_init), (gtk_combo_box_entry_buildable_get_internal_child): * gtk/gtkcontainer.c: (gtk_container_get_type), (gtk_container_buildable_init), (gtk_container_buildable_add), (gtk_container_buildable_set_child_property), (attributes_start_element), (attributes_text_element), (gtk_container_buildable_custom_tag_start), (gtk_container_buildable_custom_tag_end): * gtk/gtkdebug.h: * gtk/gtkdialog.c: (gtk_dialog_buildable_interface_init), (gtk_dialog_buildable_get_internal_child), (attributes_start_element), (attributes_text_element), (gtk_dialog_buildable_custom_tag_start), (gtk_dialog_buildable_custom_finished): * gtk/gtkentrycompletion.c: (gtk_entry_completion_buildable_init): * gtk/gtkexpander.c: (gtk_expander_buildable_add), (gtk_expander_buildable_init): * gtk/gtkfontsel.c: (gtk_font_selection_dialog_buildable_interface_init), (gtk_font_selection_dialog_buildable_get_internal_child): * gtk/gtkframe.c: (gtk_frame_buildable_init), (gtk_frame_buildable_add): * gtk/gtkiconview.c: (gtk_icon_view_buildable_init), (gtk_icon_view_buildable_custom_tag_start), (gtk_icon_view_buildable_custom_tag_end): * gtk/gtkliststore.c: (gtk_list_store_buildable_init), (list_store_start_element), (list_store_end_element), (list_store_text), (gtk_list_store_buildable_custom_tag_start), (gtk_list_store_buildable_custom_tag_end): * gtk/gtkmain.c: * gtk/gtknotebook.c: (gtk_notebook_buildable_init), (gtk_notebook_buildable_add): * gtk/gtksizegroup.c: (gtk_size_group_buildable_init), (size_group_start_element), (gtk_size_group_buildable_custom_tag_start), (gtk_size_group_buildable_custom_finished): * gtk/gtktreestore.c: (gtk_tree_store_buildable_init), (tree_model_start_element), (gtk_tree_store_buildable_custom_tag_start), (gtk_tree_store_buildable_custom_finished): * gtk/gtktreeview.c: (gtk_tree_view_buildable_init), (gtk_tree_view_buildable_add): * gtk/gtktreeviewcolumn.c: (gtk_tree_view_column_buildable_init): * gtk/gtkuimanager.c: (gtk_ui_manager_buildable_init), (gtk_ui_manager_buildable_add), (gtk_ui_manager_buildable_construct_child), (gtk_ui_manager_buildable_custom_tag_start), (gtk_ui_manager_buildable_custom_tag_end): * gtk/gtkwidget.c: (gtk_widget_get_type), (gtk_widget_buildable_interface_init), (gtk_widget_buildable_set_name), (gtk_widget_buildable_get_name), (gtk_widget_buildable_set_property), (gtk_widget_buildable_parser_finshed), (accel_group_start_element), (gtk_widget_buildable_custom_tag_start), (gtk_widget_buildable_custom_finshed): * gtk/gtkwindow.c: (gtk_window_buildable_interface_init), (gtk_window_buildable_set_property), (gtk_window_buildable_parser_finished): * tests/Makefile.am: * tests/buildertest.c: (builder_new_from_string), (test_parser), (signal_normal), (signal_after), (signal_object), (signal_object_after), (signal_first), (signal_second), (signal_extra), (signal_extra2), (test_connect_signals), (test_uimanager_simple), (test_domain), (test_translation), (test_sizegroup), (test_list_store), (test_tree_store), (test_types), (test_spin_button), (test_notebook), (test_construct_only_property), (test_children), (test_child_properties), (test_treeview_column), (test_icon_view), (test_combo_box), (test_combo_box_entry), (test_cell_view), (test_dialog), (test_accelerators), (test_widget), (main): Add GtkBuilder, fixes #172535 svn path=/trunk/; revision=18141
* Drop the phrase saying invisible text doesn't work (#444236).Yevgen Muntyan2007-06-051-1/+1
| | | | | | | | | | 2007-06-05 Yevgen Muntyan <muntyan@tamu.edu> * demos/gtk-demo/textview.c (insert_text): Drop the phrase saying invisible text doesn't work (#444236). svn path=/trunk/; revision=18044
* Fix headers in gtk-demo printing demoMatthias Clasen2007-04-281-11/+16
| | | | svn path=/trunk/; revision=17669
* Add a simple validation demo. Make it possible to add arbitrary childrenMatthias Clasen2007-04-261-2/+84
| | | | | | | | | | | 2007-04-26 Matthias Clasen <mclasen@redhat.com> * demo/gtk-demo/combobox.c: Add a simple validation demo. * gtk/gtkcomboboxentry.c: Make it possible to add arbitrary children to a GtkComboBoxEntry. (#426401, Paul Pogonyshev) svn path=/trunk/; revision=17657
* Add some hints about titles on about dialogsMatthias Clasen2007-03-191-0/+1
| | | | svn path=/trunk/; revision=17545
* Close the file after it's loaded (bug #395316).Richard Hult2007-01-111-0/+2
| | | | | | | | | 2007-01-11 Richard Hult <richard@imendio.com> * demos/gtk-demo/main.c: (load_file): Close the file after it's loaded (bug #395316). svn path=/trunk/; revision=17132
* Fix some compiler warnings.Matthias Clasen2007-01-041-2/+0
| | | | | | | | | | | | 2007-01-04 Matthias Clasen <mclasen@redhat.com> * demos/gtk-demo/textscroll.c: * gtk/gtkhandlebox.c: * gtk/gtkcolorsel.c: Fix some compiler warnings. svn path=/trunk/; revision=17063
* remove extra unrefMatthias Clasen2006-12-231-1/+0
|
* Fix some leaks. (#348108, Chris Wilson)Matthias Clasen2006-12-237-11/+51
| | | | | | | | | 2006-12-22 Matthias Clasen <mclasen@redhat.com> * demos/gtk-demo/*.c: Fix some leaks. (#348108, Chris Wilson) 2
* Replace a lot of idle and timeout calls by the new gdk_threads api.Matthias Clasen2006-12-225-4/+6
| | | | | | | 2006-12-22 Matthias Clasen <mclasen@redhat.com> * *.c: Replace a lot of idle and timeout calls by the new gdk_threads api.
* Apply a cleanup patch by Kjartan Maraas (#341812)Matthias Clasen2006-10-084-10/+7
| | | | | | 2006-10-08 Matthias Clasen <mclasen@redhat.com> * Apply a cleanup patch by Kjartan Maraas (#341812)
* Fix typosMatthias Clasen2006-09-255-6/+6
|
* demonstrate automatic scrollingMatthias Clasen2006-08-262-0/+203
|
* move the ITALIC_COLUMN over to a STYLE_COLUMN which sets the styleKristian Rietveld2006-08-161-16/+12
| | | | | | | | | 2006-08-17 Kristian Rietveld <kris@gtk.org> * demos/gtk-demo/main.c (window_closed_cb), (row_activated_cb), (create_tree): move the ITALIC_COLUMN over to a STYLE_COLUMN which sets the style attribute. Makes drawing the active demos in italic work again.
* Fix 346375Matthias Clasen2006-07-021-1/+4
|
* Clean up APIs: Make async a setting instead of separate calls. CombineAlexander Larsson2006-06-071-1/+1
| | | | | | | | | | | | | | | | | | | 2006-06-07 Alexander Larsson <alexl@redhat.com> * gtk/gtk.symbols: * gtk/gtkprintoperation-private.h: * gtk/gtkprintoperation-unix.c: * gtk/gtkprintoperation.[ch]: Clean up APIs: Make async a setting instead of separate calls. Combine settings like show_dialog, show_preview and pdf_target into an action enum that you pass to gtk_print_dialog_run(). * tests/print-editor.c: * tests/testnouiprint.c: * tests/testprint.c: * demos/gtk-demo/printing.c: Update to new APIs
* Further updates from the GtkPrintContext functions rename.Alexander Larsson2006-05-311-3/+3
| | | | | | | | | | | | | | | 2006-05-31 Alexander Larsson <alexl@redhat.com> * gtk/gtk.symbols: * demos/gtk-demo/printing.c: * tests/print-editor.c: * tests/testnouiprint.c: * tests/testprint.c: * tests/testprintfileoperation.c: Further updates from the GtkPrintContext functions rename. * modules/printbackends/cups/gtkcupsutils.c: Always set requesting-user-name when doing cups requests.
* Display comments in friendly DodgerBlue instead of scary red. (#343444,Matthias Clasen2006-05-311-1/+1
| | | | | | | 2006-05-31 Matthias Clasen <mclasen@redhat.com> * demos/gtk-demo/main.c (main): Display comments in friendly DodgerBlue instead of scary red. (#343444, Carol Spears)
* Fix build errors.Alexander Larsson2006-05-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-05-12 Alexander Larsson <alexl@redhat.com> * 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.
* Add it here.Matthias Clasen2006-05-112-0/+183
| | | | | | | | 2006-05-11 Matthias Clasen <mclasen@redhat.com> * demos/gtk-demo/Makefile.am (demos): Add it here. * demos/gtk-demo/printing.c (do_printing): Add a GtkPrintOperation demo.
* Small formatting fix.Matthias Clasen2006-04-171-1/+3
| | | | | | | 2006-04-17 Matthias Clasen <mclasen@redhat.com> * demos/gtk-demo/colorsel.c (expose_event_callback): Small formatting fix.
* If major.minor of required and available glib versions are the same, addBehdad Esfahbod2006-01-292-2/+0
| | | | | | | | | 2006-01-28 Behdad Esfahbod <behdad@gnome.org> * configure.in: If major.minor of required and available glib versions are the same, add -DG_DISABLE_DEPRECATED to GLIB_CFLAGS. (bug #328617) * */Makefile.am: Remove hardcoded -DG_DISABLE_DEPRECATED.
* More work on GtkAssistant by Carlos Garnacho:Matthias Clasen2006-01-282-0/+166
| | | | | | | | | | | | 2006-01-28 Matthias Clasen <mclasen@redhat.com> More work on GtkAssistant by Carlos Garnacho: * demos/gtk-demo/Makefile.am: * demos/gtk-demo/assistant.c: Add a GtkAssistant demo. * gtk/gtkassistant.c: Handle focus, several small fixes to the flow computations.
* Don't leak text.Matthias Clasen2005-12-071-0/+2
| | | | | | | 2005-12-07 Matthias Clasen <mclasen@redhat.com> * demos/gtk-demo/iconview_edit.c (set_cell_color): Don't leak text.
* Only set the text if it is not NULL. (#319930, Thomas Klausner)Matthias Clasen2005-10-271-1/+2
| | | | | | | | | | 2005-10-27 Matthias Clasen <mclasen@redhat.com> * demos/gtk-demo/clipboard.c (paste_received): Only set the text if it is not NULL. (#319930, Thomas Klausner) * gtk/gtkselection.c (gtk_selection_data_get_pixbuf): Close the loader before trying to get the pixbuf. (#319930, Thomas Klausner)