1. 11 Apr, 2009 1 commit
  2. 27 Mar, 2009 1 commit
    • Behdad Esfahbod's avatar
      Bug 437533 – Implement draw_shape PangoRenderer method · d21f55fe
      Behdad Esfahbod authored
      2009-03-27  Behdad Esfahbod  <behdad@gnome.org>
      
              Bug 437533 – Implement draw_shape PangoRenderer method
      
              * gdk/gdkpango.c (gdk_pango_renderer_draw_shape),
              (gdk_pango_renderer_class_init): Implement draw_shape
      
              * demos/gtk-demo/rotated_text.c (fancy_shape_renderer),
              (create_fancy_attr_list_for_layout), (rotated_text_expose_event),
              (do_rotated_text):
              1) Port to pangocairo
              2) Also show a rotated label
              3) Install a custom shape renderer on both.  The second one goes
              through gdkpango and hence tests the patch above.  It's working.
      
      
      svn path=/trunk/; revision=22592
      d21f55fe
  3. 01 Mar, 2009 1 commit
  4. 17 Feb, 2009 1 commit
    • Andre Klapper's avatar
      Fix deprecated glib call. · aa22f6c5
      Andre Klapper authored
      2009-02-17  Andre Klapper  <a9016009@gmx.de>
      
      	* demos/gtk-demo/main.c:
      	Fix deprecated glib call.
      
      
      svn path=/trunk/; revision=22349
      aa22f6c5
  5. 18 Jan, 2009 1 commit
    • Matthias Clasen's avatar
      End the search if the window is closed. · ade90af5
      Matthias Clasen authored
             * demos/gtk-demo/search_entry.c: End the search if the window
              is closed.
      
              * demos/gtk-demo/search_entry.c:
              * demos/gtk-demo/entry_completion.c: Group the entry examples
              under "Entry".
      
      
      svn path=/trunk/; revision=22132
      ade90af5
  6. 31 Dec, 2008 1 commit
  7. 26 Dec, 2008 1 commit
  8. 12 Aug, 2008 1 commit
    • Michael Natterer's avatar
      define -DGDK_PIXBUF_DISABLE_DEPRECATED in the global CFLAGS. · e0d30ee1
      Michael Natterer authored
      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
      e0d30ee1
  9. 11 Aug, 2008 2 commits
    • Sven Neumann's avatar
      demos/gtk-demo/changedisplay.c demos/gtk-demo/clipboard.c · 092187e9
      Sven Neumann authored
      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
      092187e9
    • Michael Natterer's avatar
      don't use the deprecated gtk_box_pack_start_defaults(). · 36b3bed6
      Michael Natterer authored
      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
      36b3bed6
  10. 18 Jul, 2008 1 commit
    • Federico Mena Quintero's avatar
      Don't do funny casts to avoid compiler warnings · 0278fdcb
      Federico Mena Quintero authored
      
      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: default avatarFederico Mena Quintero <federico@novell.com>
      
      svn path=/trunk/; revision=20862
      0278fdcb
  11. 06 Jul, 2008 1 commit
  12. 03 Jul, 2008 2 commits
  13. 02 Jul, 2008 1 commit
    • Kristian Rietveld's avatar
      Bug 455268 - Add gtk-enable-tooltips GtkSetting · 4cceb2f1
      Kristian Rietveld authored
      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
      4cceb2f1
  14. 22 Jun, 2008 1 commit
    • Johan Dahlin's avatar
      Include "config.h" instead of <config.h> Command used: find -name · d97cdbdf
      Johan Dahlin authored
      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
      d97cdbdf
  15. 20 Jun, 2008 1 commit
  16. 19 Jun, 2008 1 commit
    • Johan Dahlin's avatar
      Use g_object_new instead of gtk_widget_new · 1a30e125
      Johan Dahlin authored
      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
      1a30e125
  17. 28 May, 2008 1 commit
  18. 08 Apr, 2008 1 commit
    • Tor Lillqvist's avatar
      Mark these functions with G_MODULE_EXPORT. · 54706ddd
      Tor Lillqvist authored
      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
      54706ddd
  19. 31 Mar, 2008 1 commit
  20. 02 Mar, 2008 1 commit
    • Johan Dahlin's avatar
      Add translatable/context and comment attributes on <col> tags under a · e2534d54
      Johan Dahlin authored
      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
      e2534d54
  21. 22 Feb, 2008 1 commit
  22. 29 Jan, 2008 1 commit
  23. 28 Jan, 2008 1 commit
  24. 13 Dec, 2007 1 commit
  25. 22 Nov, 2007 1 commit
    • 15:39:40  Tim Janik's avatar
      call g_test_init() from gtk_test_init(). · 2dc08ada
      15:39:40 Tim Janik authored
      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
      2dc08ada
  26. 06 Sep, 2007 1 commit
  27. 19 Jul, 2007 1 commit
    • Kristian Rietveld's avatar
      add more convenience API. · b1ec5f75
      Kristian Rietveld authored
      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
      b1ec5f75
  28. 09 Jul, 2007 1 commit
    • Johan Dahlin's avatar
      |___* demos/gtk-demo/demo.ui: |___* gtk/gtk-builder-convert: |___* · 83b5d32a
      Johan Dahlin authored
      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
      83b5d32a
  29. 28 Jun, 2007 1 commit
    • Johan Dahlin's avatar
      Set name of Help menu to HelpMenu · 4110c048
      Johan Dahlin authored
      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
      4110c048
  30. 27 Jun, 2007 1 commit
  31. 15 Jun, 2007 1 commit
    • Johan Dahlin's avatar
      Add GtkBuilder, fixes #172535 · 4d638bf0
      Johan Dahlin authored
      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
      4d638bf0
  32. 05 Jun, 2007 1 commit
  33. 28 Apr, 2007 1 commit
  34. 26 Apr, 2007 1 commit
  35. 19 Mar, 2007 1 commit
  36. 11 Jan, 2007 1 commit
  37. 04 Jan, 2007 1 commit
    • Matthias Clasen's avatar
      Fix some compiler warnings. · 0bf8e61f
      Matthias Clasen authored
      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
      0bf8e61f
  38. 23 Dec, 2006 1 commit