1. 25 May, 2008 1 commit
    • Jaap A. Haitsma's avatar
      reviewed by: Matthias Clasen · 53c45d12
      Jaap A. Haitsma authored
      2008-05-25  Jaap A. Haitsma  <jaap@haitsma.org>
      
      	reviewed by: Matthias Clasen
      
      	* gtk/Makefile.am:
      	* gtk/gtk.h:
      	* gtk/gtk.symbols:
      	* gtk/gtkshow.c: (gtk_show_uri):
      	* gtk/gtkshow.h:
      	Add gtk_show_uri to make showing uris really easy. Fixes bug #514396
      
      svn path=/trunk/; revision=20143
      53c45d12
  2. 24 May, 2008 1 commit
    • James Sharpe's avatar
      Remove duplicate gdk_window_redirect_to_drawable and · caa8e332
      James Sharpe authored
      2008-05-24  James Sharpe <jsharpe@gnome.org>
      
              * gdk/gdk.symbols: Remove duplicate
              gdk_window_redirect_to_drawable and gdk_window_remove_redirection
              * gtk/gtk.symbols: Remove duplicate gtk_widget_get_snapshot
      
      svn path=/trunk/; revision=20132
      caa8e332
  3. 23 May, 2008 2 commits
    • Hans Breuer's avatar
      updated fix c99ism (variable at start of block export functions for window · 0b57c6b9
      Hans Breuer authored
      2008-05-23  Hans Breuer  <hans@breuer.org>
      
      	* **/makefile.msc gtk/makefile.msc.in : updated
      	* gtk/gtkwidget.c : fix c99ism (variable at start of block
      	* gdk/gdk.symbols gtk/gtk.symbols : export functions for window 
      	redirection
      	* gtk/gtkfilechooserdefault.c : #include <locale.h> for 
      	setlocale(LC_ALL, ...)
      
      svn path=/trunk/; revision=20131
      0b57c6b9
    • Tor Lillqvist's avatar
      Add gdk_window_redirect_to_drawable and gdk_window_remove_redirection. · a8b5f3ee
      Tor Lillqvist authored
      2008-05-23  Tor Lillqvist  <tml@novell.com>
      
      	* gdk/gdk.symbols: Add gdk_window_redirect_to_drawable and
      	gdk_window_remove_redirection.
      
      	* gdk/win32/gdkwindow-win32.c (_gdk_window_new)
      	(_gdk_window_reparent): Rename to adapt to the offscreen rendering
      	changes. Remove now unnecessary parameter checks as the caller
      	does that already.
      
      	* gtk/gtk.symbols: Add gtk_widget_get_snapshot.
      
      
      svn path=/trunk/; revision=20130
      a8b5f3ee
  4. 21 May, 2008 1 commit
    • Matthias Clasen's avatar
      RH bug 204621 - "GtkPrint" asks for "Letter" size paper when "A4" size · 59ae44d0
      Matthias Clasen authored
              was chosen
      
              Patch by Marek Kasik.
      
              * gtk/gtk.symbols:
              * gtk/gtkprinter.[hc]: Add gtk_printer_get_default_page_size.
      
              * gtk/gtkprintbackend.[hc]: Add fallback implementation.
      
              * modules/printbackends/file/gtkprintbackendfile.c:
              * modules/printbackends/cups/gtkprintbackendcups.c: Implement
              get_default_page_size.
      
              * gtk/gtkpagesetupunixdialog.c: When selecting a different printer,
              select its default paper size.
      
              * gtk/gtkprintunixdialog.c: If no explicit page setup has been set,
              use the printer default.
      
              * gtk/gtkprintoperation-unix.c: Don't create an empty page setup
              if we don't have a default page setup.
      
      svn path=/trunk/; revision=20120
      59ae44d0
  5. 17 Mar, 2008 1 commit
    • Christian Kellner's avatar
      Implement GtkMountOperation, a subclass of GMountOperation to be used with · e1092e9a
      Christian Kellner authored
      2008-03-17  Christian Kellner  <gicmo@gnome.org>
      
              Implement GtkMountOperation, a subclass of GMountOperation
              to be used with gio wherever there is the need to ask the
              user for credentials or questions while mounting a volume.
              This is bug #522245
      
              * gtk/gtkmountoperation.c:
              * gtk/gtkmountoperation.h:      
              Implement GtkMountOperation.
              
              * gtk/gtk.h: Add gtkmountoperation.h
              * gtk/Makefile.am: Add gtkmountoperation.[hc]
              * gtk/gtk.symbols: Add symbols of GtkMountOperation.
              * tests/testmountoperation.c: Test program for it.
              * tests/Makefile.am: Add testmountoperation.
      
      
      svn path=/trunk/; revision=19894
      e1092e9a
  6. 15 Feb, 2008 1 commit
    • Matthias Clasen's avatar
      Add gtk_tool_shell_get_type · a6ccc040
      Matthias Clasen authored
      2008-02-15  Matthias Clasen  <mclasen@redhat.com>
      
              * gtk/gtk.symbols: Add gtk_tool_shell_get_type
      
              * gtk/gtktestutils.c: Don't generate unnecessary PLT entries
      
      svn path=/trunk/; revision=19585
      a6ccc040
  7. 13 Jan, 2008 1 commit
  8. 27 Dec, 2007 2 commits
  9. 14 Dec, 2007 3 commits
    • Mathias Hasselmann's avatar
      Change GtkToolItem to retrieve its properties from GtkToolShell interface, · 95adf7ee
      Mathias Hasselmann authored
      instead of relying on being child of a GtkToolbar. (#5034079)
      
      * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
      docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
      * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
      * gtk/gtktoolbar.c: Implement GtkToolShellIface.
      * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
      * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
      Take section docs from template file and update them for GtkToolShell.
      * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
      * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
      
      svn path=/trunk/; revision=19177
      95adf7ee
    • Mathias Hasselmann's avatar
      Extract loading of GtkPageSetup and GtkPrintSettings from their *_new_*() · ea8074a4
      Mathias Hasselmann authored
      functions and move that code into separate *_load_*() functions (#475565).
      
      * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
      Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
      gtk_print_settings_load_file and gtk_print_settings_load_key_file.
      Change the matching *_new_*() functions to use those functions.
      
      svn path=/trunk/; revision=19176
      ea8074a4
    • Matthias Clasen's avatar
      Close an api gap in tooltips · da057b56
      Matthias Clasen authored
      svn path=/trunk/; revision=19175
      da057b56
  10. 06 Dec, 2007 1 commit
  11. 05 Dec, 2007 1 commit
    • 18:59:59  Tim Janik's avatar
      run tests in current dir after setting up the logging directory, so their · 9ba5da2f
      18:59:59 Tim Janik authored
      2007-12-05 18:59:59  Tim Janik  <timj@imendio.com>
      
              * gtk+/Makefile.decl: run tests in current dir after setting up the
              logging directory, so their results get properly merged into the
              resulting test log.
      
              * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
              tests to loop over registered Gdk/Gtk+ types.
      
              * gtk+/tests/objecttests.c: new test program, implements automated
              property tests. several properties are blacklisted because they
              seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
              can be used to test blacklisted properties and see which proprty failed.
      
      
      
      svn path=/trunk/; revision=19115
      9ba5da2f
  12. 20 Nov, 2007 2 commits
    • Tim Janik's avatar
      Moved Gdk test functions from Gtk+ to Gdk test utils. · 4f7a2da8
      Tim Janik authored
      * gdk/Makefile.am: added gdktestutils.h to public includes.
      
      * gdk/gdk.h: added gdktestutils.h to public includes.
      
      * gdk/gdk.symbols: added gdk_test_simulate_button, gdk_test_simulate_key,
      gdk_test_render_sync.
      
      * gdk/gdktestutils.h: new file, added prototypes for gdk_test_simulate_button,
      gdk_test_simulate_key, gdk_test_render_sync.
      
      * gdk/x11/Makefile.am: build gdktestutils-x11.c.
      
      * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
      gdk_test_simulate_key, gdk_test_render_sync.
      
      * gtk/gtktestutils.c:
      * gtk/gtktestutils.h:
      * gtk/gtk.symbols: removed gtk_test_simulate_button
      gtk_test_simulate_key, gtk_test_xserver_render_sync.
      
      * gtk/tests/testing.c: call gdk_test_render_sync.
      
      svn path=/trunk/; revision=19012
      4f7a2da8
    • Tim Janik's avatar
      Added Gtk+ testing utilities. · 936d27a4
      Tim Janik authored
      * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility functions.
      for the most part, the functions herein involve navigating and interacting
      with dialog elements programatically, to automate user interaction tests of
      dialogs and widgets.
      
      * gtk/gtk.h: include gtk/gtktestutils.h as public API.
      
      * gtk/gtk.symbols: added gtk_test_* symbols.
      
      * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into the build.
      generate gtktypefuncs.c which contains a list of all _get_type functions in
      Gtk+ and Gdk.
      
      svn path=/trunk/; revision=19010
      936d27a4
  13. 19 Jul, 2007 2 commits
    • Matthias Clasen's avatar
      Add new convenience api for tooltips on icon views · 7b2e82f5
      Matthias Clasen authored
      svn path=/trunk/; revision=18501
      7b2e82f5
    • 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
  14. 16 Jul, 2007 1 commit
  15. 13 Jul, 2007 1 commit
    • Kristian Rietveld's avatar
      #408327, improve tooltip positioning. · da989212
      Kristian Rietveld authored
      2007-07-13  Kristian Rietveld  <kris@imendio.com>
      
      	#408327, improve tooltip positioning.
      
      	* gtk/gtk.symbols: updated.
      
      	* gtk/gtktooltip.[ch] (gtk_tooltip_position): factor out
      	positioning code in here,
      	(gtk_tooltip_set_tip_area): new function to set the tooltip
      	area,
      	(gtk_tooltip_reset), (_gtk_tooltip_handle_event): hide tooltip
      	once the pointer leaves the tip area.
      
      	* gtk/gtktreeview.[ch] (gtk_tree_view_set_tooltip_row),
      	(gtk_tree_view_set_tooltip_cell): convenience functions to set
      	tip area for row/column/cell.
      
      	* tests/testtooltips.c (query_tooltip_tree_view_cb): use
      	gtk_tree_view_set_tooltip_row.
      
      
      svn path=/trunk/; revision=18464
      da989212
  16. 11 Jul, 2007 1 commit
  17. 10 Jul, 2007 1 commit
    • Kristian Rietveld's avatar
      add getter/setter pair, slight addition to has-tooltip property · 15dee8e5
      Kristian Rietveld authored
      2007-07-10  Kristian Rietveld  <kris@imendio.com>
      
      	* gtk/gtk.symbols:
      	* gtk/gtkwidget.[ch] (gtk_widget_{get,set}_has_tooltip): add
      	getter/setter pair, slight addition to has-tooltip property
      	documentation,
      	(gtk_widget_real_set_has_tooltip): renamed internal function.
      
      
      svn path=/trunk/; revision=18439
      15dee8e5
  18. 09 Jul, 2007 1 commit
    • Kristian Rietveld's avatar
      Replace non-deprecated API using old tooltips API, deprecate old tooltips · c255676e
      Kristian Rietveld authored
      2007-07-09  Kristian Rietveld  <kris@imendio.com>
      
      	Replace non-deprecated API using old tooltips API, deprecate
      	old tooltips API for real. (#451575).
      
      	* gtk/gtk.symbols: updated.
      
      	* gtk/gtkwidget.c (gtk_widget_real_show_help): don't call
      	_gtk_tooltips_toggle_keyboard_mode() anymore.
      
      	* gtk/gtkmenutoolbutton.[ch] (gtk_menu_tool_button_set_arrow_tooltip):
      	deprecated,
      	(gtk_menu_tool_button_set_arrow_tooltip_{text,markup}): replacements.
      
      	* gtk/gtktoolitem.[ch] (gtk_tool_item_real_set_tooltip): use
      	new API,
      	(gtk_tool_item_set_tooltip): deprecated,
      	(gtk_tool_item_set_tooltip_{text,markup): replacements.
      	(GtkToolItemClass:set_tooltip): deprecated.
      
      	* gtk/gtktooltips.[ch]: strip out all unused parts, made
      	gtk_tooltips_set_tip() call gtk_widget_set_tooltip_text(),
      	deprecate all of gtk_tooltips_*.
      
      	* gtk/gtktoolbar.[ch] (gtk_toolbar_get_tooltips): always return
      	TRUE,
      	(GtkToolbar:tooltips): deprecated, renamed.
      
      	* gtk/gtkaction.c (gtk_action_sync_tooltip): use new API to
      	set the tooltip text.
      
      	* tests/autotestfilechooser.c: #undef GTK_DISABLE_DEPRECATED for now,
      	will be removed GtkFileChooserDefault has been converted.
      
      
      svn path=/trunk/; revision=18418
      c255676e
  19. 02 Jul, 2007 1 commit
  20. 26 Jun, 2007 1 commit
    • Kristian Rietveld's avatar
      deprecate GtkTooltips. · ffcece93
      Kristian Rietveld authored
      2007-06-26  Kristian Rietveld  <kris@imendio.com>
      
      	* gtk/gtk.symbols:
      	* gtk/gtktooltips.[ch]:
      	* docs/reference/gtk/tmpl/gtktooltips.sgml: deprecate GtkTooltips.
      
      
      svn path=/trunk/; revision=18241
      ffcece93
  21. 19 Jun, 2007 2 commits
    • Johan Dahlin's avatar
      Rename buildable methods to not clash with widget methods. (#448928, · 60a40978
      Johan Dahlin authored
      2007-06-19  Johan Dahlin  <jdahlin@async.com.br>
      
          * gtk/*: Rename buildable methods to not clash with widget 
          methods. (#448928, Torsten Schoenfeld)
      
      
      svn path=/trunk/; revision=18187
      60a40978
    • Emmanuele Bassi's avatar
      Use a static variable to hold the singleton and remove the code that binds · 232e79a6
      Emmanuele Bassi authored
      2007-06-19  Emmanuele Bassi  <ebassi@gnome.org>
      
      	* gtk/gtkrecentmanager.c: Use a static variable to hold the
      	singleton and remove the code that binds a recent manager to
      	a GdkScreen.
      
      	(gtk_recent_manager_set_screen): Make it a NOOP.
      	(gtk_recent_manager_get_for_screen): Proxy for
      	gtk_recent_manager_get_default().
      
      	* gtk/gtk.symbols:
      	* gtk/gtkrecentmanager.h: Deprecate gtk_recent_manager_set_screen()
      	and gtk_recent_manager_get_for_screen().
      
      	* gtk/gtkmain.c: Force a synchronisation of the GtkRecentManager
      	singleton (if any) when reaching main loop depth of 0.
      
      	* gtk/gtkrecentchooserdefault.c:
      	(gtk_recent_chooser_default_dispose): Disconnect the changed
      	signal only if we have a manager and we are connected to it.
      
      	(set_recent_manager): Ditto.
      
      	* README.in: Document the deprecations.
      
      svn path=/trunk/; revision=18184
      232e79a6
  22. 15 Jun, 2007 2 commits
    • Mathias Hasselmann's avatar
      Introduce convenience property "GtkWidget:tooltip-text" taking care of · 9b604e29
      Mathias Hasselmann authored
      2007-06-15 Mathias Hasselmann <mathias.hasselmann@gmx.de>
      
              * docs/reference/gtk/gtk-sections.txt, gtk/gtk.symbols,
              gtk/gtkwidget.c, gtk/gtkwidget.h, tests/testtooltips.c: Introduce
              convenience property "GtkWidget:tooltip-text" taking care of escaping
              it for unwanted markup entities. Add functions to set tooltip text:
              gtk_widget_set_tooltip_text(), gtk_widget_set_tooltip_markup(),
              gtk_widget_get_tooltip_text(), gtk_widget_get_tooltip_markup().
      
              * gtk/gtktooltip.c, gtk/gtktooltip.h: Add gtk_tooltip_set_text()
              to set the tooltip text without using markup.
      
              Patches from Emmanuele Bassi (#447643).
      
      svn path=/trunk/; revision=18142
      9b604e29
    • 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
  23. 14 Jun, 2007 1 commit
  24. 13 Jun, 2007 3 commits
    • Michael Natterer's avatar
      add "submenu" property. Fix gtk_menu_item_set_submenu() to accept NULL · ece25ff1
      Michael Natterer authored
      2007-06-13  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkmenuitem.[ch]: add "submenu" property. Fix
      	gtk_menu_item_set_submenu() to accept NULL submenus and deprecate
      	gtk_menu_item_remove_submenu() because we have a properly working
      	setter now (bug #447065).
      
      	* gtk/gtk.symbols: deprecate gtk_menu_item_remove_submenu().
      
      	* gtk/gtkcombobox.c: use gtk_menu_item_set_submenu() instead of
      	gtk_menu_item_remove_submenu().
      
      
      svn path=/trunk/; revision=18125
      ece25ff1
    • Kristian Rietveld's avatar
      gtk/gtk.symbols rename _gtk_file_system_create to gtk_file_system_create · 87ae968f
      Kristian Rietveld authored
      2007-06-13  Kristian Rietveld  <kris@imendio.com>
      
      	* gtk/gtk.symbols
      	* gtk/gtkfilesystem.[ch]: rename _gtk_file_system_create to
      	gtk_file_system_create to make it public and bring trunk back
      	in sync with gtk-2-10.
      
      	* gtk/gtkfilechooserdefault.c (set_file_system_backend): updated.
      
      
      svn path=/trunk/; revision=18121
      87ae968f
    • Kristian Rietveld's avatar
      Audit of GtkTreeView coordinate system usage. (#142494). · 4e4748e8
      Kristian Rietveld authored
      2007-06-13  Kristian Rietveld  <kris@imendio.com>
      
      	Audit of GtkTreeView coordinate system usage. (#142494).
      
      	* gtk/gtktreeview.[ch]: general documentation updates,
      	(gtk_tree_view_scroll_to_cell), (gtk_tree_view_get_dest_row_at_pos):
      	update coordinate translations,
      	(gtk_tree_view_tree_to_widget_coords),
      	(gtk_tree_view_widget_to_tree_coords): Deprecated,
      	(gtk_tree_view_convert_.*_coords): 6 new functions for doing
      	transformations between coordinate systems.
      
      	* gtk/gtk.symbols: updated.
      
      	* tests/testtooltips.c (query_tooltip_tree_view_cb): fix testcase
      	with new gtk_tree_view_convert_widget_to_bin_window_coords().
      
      	* docs/reference/gtk/Makefile.am
      	* docs/reference/gtk/images/tree-view-coordinates.png: add new image.
      
      	* docs/reference/gtk/tmpl/gtktreeview.sgml: eloborate on the
      	different coordinate systems.
      
      
      svn path=/trunk/; revision=18119
      4e4748e8
  25. 08 Jun, 2007 1 commit
    • Matthias Clasen's avatar
      Make it possible for theme engines to support symbolic colors. (#426192, · 3c49e2ef
      Matthias Clasen authored
      2007-06-08  Matthias Clasen  <mclasen@redhat.com>
      
              Make it possible for theme engines to support symbolic 
              colors.  (#426192, Andrea Cimitan, patch by Olivier Samyn)
      
              * gtk/gtk.symbols:
              * gtk/gtkrc.h:
              * gtk/gtkrc.c (gtk_rc_parse_color_full): Export this function
      
              * gtk/gtkrc.c (gtk_rc_parse_engine): Copy color hashes
              to new style before parsing engine section.
      
      svn path=/trunk/; revision=18081
      3c49e2ef
  26. 06 Jun, 2007 2 commits
    • Yevgen Muntyan's avatar
      new method, gtk_widget_modify_cursor() (#89314). · 2cbaeadf
      Yevgen Muntyan authored
      2007-06-06  Yevgen Muntyan  <muntyan@tamu.edu>
      
      	* gtk/gtkwidget.c:
      	* gtk/gtkwidget.h: new method, gtk_widget_modify_cursor() (#89314).
      
      	* gtkrc.c:
      	* gtkrc.h: new functions _gtk_rc_style_set_rc_property() and
      	_gtk_rc_style_unset_rc_property().
      
      	* gtk/gtk.symbols: added gtk_widget_modify_cursor.
      
      	* tests/testtext.c (do_cursor_visible_changed):
      	* tests/testgtk.c (create_styles): test it.
      
      
      svn path=/trunk/; revision=18066
      2cbaeadf
    • Kristian Rietveld's avatar
      new function. (#342471, Lorenzo Gil Sanchez). · 8c07c5b1
      Kristian Rietveld authored
      2007-06-06  Kristian Rietveld  <kris@imendio.com>
      
      	* gtk/gtktreeviewcolumn.[ch] (gtk_tree_view_column_get_tree_view): new
      	function.  (#342471, Lorenzo Gil Sanchez).
      
      	* gtk/gtk.symbols: updated.
      
      
      svn path=/trunk/; revision=18053
      8c07c5b1
  27. 04 Jun, 2007 2 commits
    • Kristian Rietveld's avatar
      Fix #399071, suggestion from Benoit Dejean. · 21b381a2
      Kristian Rietveld authored
      2007-06-05  Kristian Rietveld  <kris@gtk.org>
      
      	Fix #399071, suggestion from Benoit Dejean.
      
      	* gtk/gtkliststore.[ch] (gtk_list_store_set_vector_internal): new
      	function, factored out code iterating (columns, values) vectors from
      	gtk_list_store_new_with_valuesv to here,
      	(gtk_list_store_set_valuesv): new public function to set list store
      	values using (columns, values) vectors,
      	(gtk_list_store_new_with_valuesv): call new _set_vector_internal
      	instead.
      
      	* gtk/gtktreestore.[ch] (gtk_tree_store_set_vector_internal),
      	(gtk_tree_store_set_valuesv), (gtk_tree_store_new_with_valuesv):
      	likewise.
      
      	* gtk/gtk.symbols: updated.
      
      
      svn path=/trunk/; revision=18041
      21b381a2
    • Emmanuele Bassi's avatar
      Revert previous commit; the API is not yet finalized - see bug #166995. · 9191e01b
      Emmanuele Bassi authored
      2007-06-04  Emmanuele Bassi  <ebassi@gnome.org>
      
      	* gtk/gtkradiobutton.[ch]:
      	* gtk/gtk.symbols:
      	* tests/testgtk.c: Revert previous commit; the API is not yet
      	finalized - see bug #166995.
      
      svn path=/trunk/; revision=18023
      9191e01b
  28. 03 Jun, 2007 1 commit
    • Emmanuele Bassi's avatar
      Add gtk_radio_button_set_value(), gtk_radio_button_get_current_value() and · 1fff6b4f
      Emmanuele Bassi authored
      2007-06-04  Emmanuele Bassi  <ebassi@gnome.org>
      
      	* gtk/gtkradiobutton.h:
      	* gtk/gtkradiobutton.c:
      	* gtk/gtk.symbols: Add gtk_radio_button_set_value(),
      	gtk_radio_button_get_current_value() and gtk_radio_button_get_value().
      	Use these functions to set and get an arbitrary integer associated to
      	a GtkRadioButton in a group, like the value associated to a
      	GtkRadioAction.
      
      	* tests/testgtk.c:
      	(create_radio_buttons), (radio_toggled_cb): Exercise the new API.
      
      svn path=/trunk/; revision=18019
      1fff6b4f