1. 10 Jul, 2010 1 commit
  2. 03 Jun, 2010 1 commit
  3. 02 May, 2010 2 commits
  4. 18 Apr, 2010 1 commit
  5. 04 Apr, 2010 3 commits
  6. 19 Feb, 2010 1 commit
  7. 19 Dec, 2009 1 commit
  8. 16 Dec, 2009 1 commit
    • Colin Walters's avatar
      [introspection] Merge in Gtk-custom.c annotations · 6529c076
      Colin Walters authored
      The Gtk-custom.c file in gir-repository contained a number of
      introspection annotations.  Merge those into the GTK source files.
      
      Some documentation was moved from the tmpl/ files to accomodate
      the addition of annotations.
      6529c076
  9. 30 Nov, 2009 1 commit
  10. 27 Nov, 2009 2 commits
  11. 28 Feb, 2009 1 commit
  12. 07 Feb, 2009 1 commit
    • Matthias Clasen's avatar
      Make the new GtkAction code work with PolicyKit-gnome's use of actions. · 70b08f1e
      Matthias Clasen authored
              * gtk/gtkaction.c (gtk_action_[un]block_activate_from): Block
              the action.
      
              * gtk/gtkcheckmenuitem.c (gtk_check_menu_item_activatable_reset):
              * gtk/gtktogglebutton. (gtk_toggle_button_activatable_reset):
              * gtk/gtktoggletoolbutton.c (gtk_toggle_tool_button_activatable_reset):
              Work with non-toggle actions without complaining.
      
              * gtk/gtktoolbutton.c (gtk_tool_button_activatable_update): Updating
              the icon-name should not remove the label.
      
              * gtk/gtkimagemenuitem.c (activatable_update_icon_name): Also
              update the image when the icon name is set to NULL.
      
      
      svn path=/trunk/; revision=22290
      70b08f1e
  13. 03 Feb, 2009 1 commit
  14. 27 Jan, 2009 1 commit
    • Matthias Clasen's avatar
      Block the previous action when calling reset() to prevent accidental · 95caf23d
      Matthias Clasen authored
             * gtk/gtkactivatable.c (gtk_activatable_do_set_related_action):
              Block the previous action when calling reset() to prevent
              accidental activation of the previous action.
      
              * gtk/gtkaction.c (gtk_action_activate): Don't compare booleans.
      
              * gtk/gtktoggleaction.c (gtk_toggle_action_set_active): Remove
              extraneous braces.
      
      
      svn path=/trunk/; revision=22225
      95caf23d
  15. 23 Jan, 2009 2 commits
    • Matthias Clasen's avatar
      i Bug 560228 – Add "action-controller" property to GtkWidgetClass · bb72b647
      Matthias Clasen authored
              Rework the way actions and proxies interact, to make the
              interaction less ad hoc, more extensible, and better suited
              for support in GUI builders like glade.
      
              To be used as a proxy, a widget must now implement the
              GtkActivatable interface, and GtkActivatable implementations
              are responsible for syncing their appearance with the action
              and for activating the action.
      
              All the widgets that are commonly used as proxies implement
              GtkActivatable now.
      
              Patch by Tristan van Berkom.
      
              * gtk/gtkactivatable.[hc]: The GtkActivatable interface.
      
              * gtk/gtkbutton.c:
              * gtk/gtktogglebutton.c:
              * gtk/gtktoolitem.c:
              * gtk/gtktoolbutton.c:
              * gtk/gtktoggletoolbutton.c:
              * gtk/gtkmenuitem.c:
              * gtk/gtkcheckmenuitem.c:
              * gtk/gtkimagemenuitem.c:
              * gtk/gtkradiomenuitem.c:
              * gtk/gtkrecentchooserprivate.h:
              * gtk/gtkrecentchooser.c:
              * gtk/gtkrecentchooserdefault.c:
              * gtk/gtkrecentchoosermenu.c: Implement GtkActivatable.
              * gtk/gtkaction.[hc]: Move appearance synchronization to
              GtkActivatable implementations.
      
              * gtk/gtkradioaction.c:
              * gtk/gtkrecentaction.c:
              * gtk/gtktoggleaction.c:
              * gtk/gtkactiongroup.c: Adapt.
      
              * gtk/gtk.h: Include gtkactivatable.h
              * gtk/gtk.symbols: Add new functions
      
      
      svn path=/trunk/; revision=22195
      bb72b647
    • Matthias Clasen's avatar
      Revert the previous change · 0b2554da
      Matthias Clasen authored
      svn path=/trunk/; revision=22185
      0b2554da
  16. 22 Jan, 2009 1 commit
    • Matthew Barnes's avatar
      Bug 568334 – Constructor properties for GtkAction · ed48b5bc
      Matthew Barnes authored
      2009-01-22  Matthew Barnes  <mbarnes@redhat.com>
      
      	Bug 568334 – Constructor properties for GtkAction
      
      	* gtk/gtkaction.c (gtk_action_class_init): Make all properties
      	G_PARAM_CONSTRUCT except "action-group".
      
      
      svn path=/trunk/; revision=22175
      ed48b5bc
  17. 21 Jan, 2009 1 commit
  18. 08 Jan, 2009 1 commit
  19. 02 Nov, 2008 1 commit
    • Matthias Clasen's avatar
      Make it possible to overrule the gtk-menu-images setting. · cbc5d3e3
      Matthias Clasen authored
      2008-11-02  Matthias Clasen  <mclasen@redhat.com>
      
              * gtk/gtkimagemenuitem.c: Make it possible to overrule the
              gtk-menu-images setting.
      
              * gtk/gtkaction.c (connect_proxy): Show the image before adding
      it to the image menu item.
      
      svn path=/trunk/; revision=21751
      cbc5d3e3
  20. 12 Aug, 2008 2 commits
    • Sven Neumann's avatar
      gtk/gtkaccellabel.c gtk/gtkaction.c gtk/gtkclist.c gtk/gtkcolorbutton.c · b699ac58
      Sven Neumann authored
      2008-08-12  Sven Neumann  <sven@gimp.org>
      
      	* gtk/gtkaccellabel.c
      	* gtk/gtkaction.c
      	* gtk/gtkclist.c
      	* gtk/gtkcolorbutton.c
      	* gtk/gtkctree.c
      	* gtk/gtkdialog.c
      	* gtk/gtkdnd-quartz.c
      	* gtk/gtkdnd.c
      	* gtk/gtkentry.c
      	* gtk/gtkfilechooserdefault.c
      	* gtk/gtkfilesel.c
      	* gtk/gtkgamma.c
      	* gtk/gtkiconview.c
      	* gtk/gtkkeyhash.c
      	* gtk/gtklabel.c
      	* gtk/gtkmenu.c
      	* gtk/gtkmenubar.c
      	* gtk/gtkpaned.c
      	* gtk/gtkrecentchooserdialog.c
      	* gtk/gtkrecentchooserutils.c
      	* gtk/gtkselection.c
      	* gtk/gtksizegroup.c
      	* gtk/gtktextbtree.c
      	* gtk/gtktextbuffer.c
      	* gtk/gtktextview.c
      	* gtk/gtktoolbar.c
      	* gtk/gtktreemodel.c
      	* gtk/gtkuimanager.c
      	* gtk/gtkwindow-decorate.c
      	* gtk/gtkwindow.c: use canonical signal names in some more places
      	that I missed earlier. Also changed this in the documentation and
      	comments.
      
      
      svn path=/trunk/; revision=21094
      b699ac58
    • Michael Natterer's avatar
      consistently chain up using GTK_FOO_CLASS(parent_class)->bar(instance) · e18d3c6f
      Michael Natterer authored
      2008-08-12  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/*.c: consistently chain up using
      	GTK_FOO_CLASS(parent_class)->bar(instance) instead of
      	(*GTK_FOO_CLASS(parent_class))->bar(instance).
      
      
      svn path=/trunk/; revision=21085
      e18d3c6f
  21. 01 Jul, 2008 1 commit
  22. 30 Jun, 2008 1 commit
    • Cody Russell's avatar
      Practically everything changed. · fce9c8b7
      Cody Russell authored
      2008-06-30  Cody Russell  <bratsche@gnome.org>
      
              * Practically everything changed.
      
              Change	all references	of GIMP	Toolkit	(and variations	of it)
              to GTK+	Toolkit, showing no mercy at all to our	beloved
      	ancestry. (#540529)
      
      
      svn path=/trunk/; revision=20709
      fce9c8b7
  23. 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
  24. 13 Jun, 2008 2 commits
  25. 07 Jun, 2008 1 commit
  26. 03 Jun, 2008 1 commit
  27. 08 Feb, 2008 1 commit
    • Sven Herzberg's avatar
      Adjust the code to match the documentation, examples, "common sense" and · c12d7bae
      Sven Herzberg authored
      2008-02-08  Sven Herzberg  <sven@imendio.com>
      
      	Adjust the code to match the documentation, examples, "common sense"
      	and existing applications.
      
      	* gtk/gtkaction.c: (_gtk_action_sync_menu_visible): take into account
      	that a GtkMenu for a <popup> element doesn't have to have a GtkAction
      	assigned
      
      svn path=/trunk/; revision=19497
      c12d7bae
  28. 07 Feb, 2008 1 commit
    • Michael Natterer's avatar
      gtk/gtkaction.c gtk/gtkassistant.c gtk/gtkbin.c gtk/gtkbox.c · d95069aa
      Michael Natterer authored
      2008-02-07  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkaction.c
      	* gtk/gtkassistant.c
      	* gtk/gtkbin.c
      	* gtk/gtkbox.c
      	* gtk/gtkcalendar.c
      	* gtk/gtkcellrenderercombo.c
      	* gtk/gtkcombobox.c
      	* gtk/gtkcombo.c
      	* gtk/gtkdrawingarea.c
      	* gtk/gtkentrycompletion.c
      	* gtk/gtkfixed.h
      	* gtk/gtkgamma.c
      	* gtk/gtkhpaned.c
      	* gtk/gtkiconview.c
      	* gtk/gtkitem.c
      	* gtk/gtkitemfactory.c: remove g_return_if_fail() from private
      	functions and virtual function implementations.
      
      
      svn path=/trunk/; revision=19491
      d95069aa
  29. 09 Sep, 2007 1 commit
    • Matthias Clasen's avatar
      Update the documentation to mark the optional constructors parameters. The · 8fb6c039
      Matthias Clasen authored
      2007-09-09  Matthias Clasen  <mclasen@redhat.com>
      
              * gtk/gtkaction.c:
              * gtk/gtkradioaction.c:
              * gtk/gtkrecentaction.c:
              * gtk/gtktoggleaction.c: Update the documentation to mark
              the optional constructors parameters. The GtkAction::name
              property is required, instead, as it is used by GtkUIManager
              to find the action object from the XML. (#450032, Murray Cumming,
              patch by Emmanuele Bassi)
      
      
      
      svn path=/trunk/; revision=18773
      8fb6c039
  30. 10 Jul, 2007 2 commits
    • Christian Persch's avatar
      Intern the action's name. Saves two string duplicates of it per action; · bd48f263
      Christian Persch authored
      2007-07-11  Christian Persch  <chpe@gnome.org>
      
      	* gtk/gtkaction.c: (gtk_action_buildable_set_name),
      	(gtk_action_finalize), (gtk_action_set_property),
      	(gtk_action_get_property):
      	* gtk/gtkactiongroup.c: (gtk_action_group_init),
      	(gtk_action_group_add_action),
      	(gtk_action_group_add_action_with_accel),
      	(gtk_action_group_remove_action): Intern the action's name. Saves two
      	string duplicates of it per action; bug #455645.
      
      svn path=/trunk/; revision=18441
      bd48f263
    • Christian Persch's avatar
      Remove work-around for the old tooltips code, and just set the action · 03970ddc
      Christian Persch authored
      2007-07-10  Christian Persch  <chpe@gnome.org>
      
      	* gtk/gtkaction.c: (gtk_action_sync_tooltip),
      	(gtk_action_set_tooltip):
      	* gtk/gtkuimanager.c: (update_node): Remove work-around for the old
      	tooltips code, and just set the action tooltip immediately on the
      	proxy widget. Bug #455482.
      
      svn path=/trunk/; revision=18437
      03970ddc
  31. 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
  32. 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