1. 12 Jan, 2008 1 commit
  2. 20 Nov, 2007 1 commit
    • 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
  3. 15 Jun, 2007 2 commits
    • Matthias Clasen's avatar
      Don't install gtkbuilderprivate.h · 73f4a357
      Matthias Clasen authored
      2007-06-15  Matthias Clasen  <mclasen@redhat.com>
      
              * gtk/Makefile.am: Don't install gtkbuilderprivate.h
      
              * gtk/gtk.h: Include gtkbuilder.h
      
              * NEWS: Updates
      
      
      
      svn path=/trunk/; revision=18148
      73f4a357
    • 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
  4. 19 May, 2007 2 commits
    • Bastien Nocera's avatar
      Add the GtkVolumeButton widget, a button that pops up a scale when clicked · 9477c918
      Bastien Nocera authored
      2007-05-20  Bastien Nocera  <hadess@hadess.net>
      
      	* gtk/Makefile.am:
      	* gtk/gtk.h:
      	* gtk/gtk.symbols:
      	* gtk/gtkvolumebutton.[ch]: Add the GtkVolumeButton widget,
      	a button that pops up a scale when clicked (Closes: #415775)
      	* tests/Makefile.am:
      	* tests/testvolumebutton.c: Add a test program for the
      	volume button
      
      2007-05-20  Bastien Nocera  <hadess@hadess.net>
      
      	* POTFILES.in: Add volume button to the list
      
      2007-05-20  Bastien Nocera  <hadess@hadess.net>
      
              * gtk/gtk-sections.txt: Add the GtkVolumeButton widget
      	to the docs
      
      
      svn path=/trunk/; revision=17877
      9477c918
    • Bastien Nocera's avatar
      reviewed by: Matthias Clasen <mclasen@redhat.com> · 6baa568f
      Bastien Nocera authored
      2007-05-19  Bastien Nocera  <hadess@hadess.net>
      
      	reviewed by: Matthias Clasen <mclasen@redhat.com>
      
      	* gtk/Makefile.am:
      	* gtk/gtk.h:
      	* gtk/gtk.symbols:
      	* gtk/gtkscalebutton.[ch]: Add the GtkScaleButton widget,
      	a button that pops up a scale when pressed
      
      2007-05-19  Bastien Nocera  <hadess@hadess.net>
      
      	* POTFILES.in: Add scale button to the list
      
      2007-05-20  Bastien Nocera  <hadess@hadess.net>
      
      	* gtk/gtk-docs.sgml:
      	* gtk/gtk-sections.txt: add the GtkScaleButton widget
      	to the docs
      
      
      svn path=/trunk/; revision=17876
      6baa568f
  5. 15 Mar, 2007 1 commit
    • Emmanuele Bassi's avatar
      Add GtkActionClass::get_submenu() vfunc: actions providing a menu item or · ccf49466
      Emmanuele Bassi authored
      2007-03-15  Emmanuele Bassi  <ebassi@gnome.org>
      
      	* gtk/gtkaction.[ch]: Add GtkActionClass::get_submenu() vfunc:
      	actions providing a menu item or a menu tool button with already
      	a submenu should return the GtkMenu widget.
      
      	* gtk/gtkuimanager.c (update_node): If an action provides its
      	own submenu, use it instead of adding an empty one
      
      	* gtk/gtkrecentaction.[ch]: Add GtkRecentAction, an action
      	implementing the GtkRecentChooser interface for displaying the
      	list of recently used files into menus and toolbars generated
      	using GtkUIManager. (#338843)
      
      	* gtk/Makefile.am:
      	* gtk/gtk.h:
      	* gtk/gtk.symbols: Add GtkRecentAction API to the build.
      
      	* tests/testactions.c: Exercise the GtkRecentAction API.
      
      svn path=/trunk/; revision=17524
      ccf49466
  6. 06 Feb, 2007 1 commit
    • Kristian Rietveld's avatar
      New tooltips API. · 0ef946ed
      Kristian Rietveld authored
      2007-02-06  Kristian Rietveld  <kris@imendio.com>
      
      	New tooltips API.
      
      	* gtk/Makefile.am
      	* gtk/gtk.h
      	* gtk/gtk.symbols: build system foo.
      
      	* gtk/gtkmain.c (gtk_main_do_event): call tooltip event handler
      	hook for appropriate events.
      
      	* gtk/gtkmarshalers.list: add BOOLEAN:INT,INT,BOOLEAN,OBJECT.
      
      	* gtk/gtkrc.c: add style for gtk-tooltip.
      
      	* gtk/gtksettings.c (gtk_settings_class_init): make the
      	different tooltip timeouts configurable.
      
      	* gtk/gtkwidget.[ch]: add new properties, signals, make sure
      	tooltips are hidden on unmap, destroy, update window event
      	mask on realize, hook into focus change and show help
      	handlers.
      
      	* gtk/gtkwindow.h: move GtkWindow typdef to gtkwidget.h ...
      
      	* gtk/gtktooltip.[ch]: new files.
      
      	* tests/Makefile.am
      	* tests/testtooltips.c: add test application.
      
      
      svn path=/trunk/; revision=17264
      0ef946ed
  7. 21 Apr, 2006 1 commit
    • Alexander Larsson's avatar
      Merge the gtk-printing branch. For more detailed ChangeLog entries, see · 27f746fb
      Alexander Larsson authored
      2006-04-21  Alexander Larsson  <alexl@redhat.com>
      
              Merge the gtk-printing branch.
      	For more detailed ChangeLog entries, see the branch.
      
      	* .cvsignore:
      	* Makefile.am:
      	* configure.in:
      	* docs/tools/widgets.c:
      	* gtk+-unix-print-2.0.pc.in:
      	* gtk/Makefile.am:
      	* gtk/gen-paper-names.c:
      	* gtk/gtk.h:
      	* gtk/gtk.symbols:
      	* gtk/gtkenums.h:
      	* gtk/gtkiconfactory.c:
      	* gtk/gtkmarshalers.list:
      	* gtk/gtkpagesetup.[ch]:
      	* gtk/gtkpagesetupunixdialog.[ch]:
      	* gtk/gtkpapersize.[ch]:
      	* gtk/gtkprint-win32.[ch]:
      	* gtk/gtkprintbackend.[ch]:
      	* gtk/gtkprintcontext.[ch]:
      	* gtk/gtkprinter-private.h:
      	* gtk/gtkprinter.[ch]:
      	* gtk/gtkprinteroption.[ch]:
      	* gtk/gtkprinteroptionset.[ch]:
      	* gtk/gtkprinteroptionwidget.[ch]:
      	* gtk/gtkprintjob.[ch]:
      	* gtk/gtkprintoperation-private.h:
      	* gtk/gtkprintoperation-unix.c:
      	* gtk/gtkprintoperation-win32.c:
      	* gtk/gtkprintoperation.[ch]:
      	* gtk/gtkprintsettings.[ch]:
      	* gtk/gtkprintunixdialog.[ch]:
      	* gtk/paper_names.c:
      	* gtk/paper_names_offsets.c:
      	Platform independent printing API and implementations
      	for unix and windows.
      
      	* gtk/gtkstock.h:
      	* gtk/stock-icons/24/gtk-orientation-landscape.png:
      	* gtk/stock-icons/24/gtk-orientation-portrait.png:
      	* gtk/stock-icons/24/gtk-orientation-reverse-landscape.png:
      	Add stock icons for page orientation.
      
      	* modules/Makefile.am:
      	* modules/printbackends/Makefile.am:
      	* modules/printbackends/cups/Makefile.am:
      	* modules/printbackends/cups/gtkcupsutils.[ch]:
      	* modules/printbackends/cups/gtkprintbackendcups.[ch]:
      	* modules/printbackends/cups/gtkprintercups.[ch]:
      
      	Cups printing backend for unix.
      
      	* modules/printbackends/lpr/Makefile.am:
      	* modules/printbackends/lpr/gtkprintbackendlpr.[ch]:
      	lpr printing backend for unix.
      
      	* modules/printbackends/pdf/Makefile.am:
      	* modules/printbackends/pdf/gtkprintbackendpdf.[ch]:
      	print-to-pdf printing backend for unix.
      
      	* tests/.cvsignore:
      	* tests/Makefile.am:
      	* tests/print-editor.c:
      	Test application for printing.
      
      	* gdk/gdk.symbols:
      	* gdk/win32/gdkevents-win32.c:
      	* gdk/win32/gdkwin32.h:
      	Add gdk_win32_set_modal_dialog_libgtk_only so that we can pump the
      	mainloop while displaying a win32 common dialog.
      
      	* gdk/directfb/Makefile.am:
      	Whitespace cleanup.
      27f746fb
  8. 29 Mar, 2006 1 commit
    • Emmanuele Bassi's avatar
      Import GtkRecent* from libegg. · 056f6db5
      Emmanuele Bassi authored
      2006-03-29  Emmanuele Bassi  <ebassi@cvs.gnome.org>
      
      	Import GtkRecent* from libegg.
      
      	* gtk/gtkrecentmanager.[ch]: Add GtkRecentManager, an object
      	for managing a list of recently used resources.
      
      	* gtk/gtkrecentchooser.[ch]:
      	* gtk/gtkrecentchooserdefault.[ch]:
      	* gtk/gtkrecentchooserdialog.[ch]:
      	* gtk/gtkrecentchoosermenu.[ch]:
      	* gtk/gtkrecentchooserprivate.h:
      	* gtk/gtkrecentchooserutils.[ch]:
      	* gtk/gtkrecentchooserwidget.[ch]: Add GtkRecentChooser, a
      	GTypeInterface for widgets implementing viewers for recently
      	used resources.
      
      	* gtk/gtkrecentfilter.[ch]: GtkRecentFilter, a filter object
      	for GtkRecentChooser implementations.
      
      	* gtk/gtk.h:
      	* gtk/gtk.symbols:
      	* gtk/Makefile.am: Build glue for GtkRecent*.
      056f6db5
  9. 22 Mar, 2006 1 commit
    • Matthias Clasen's avatar
      Add a cell renderer which uses a spinbutton to edit the value of a cell. · 0047b0b9
      Matthias Clasen authored
      2006-03-22  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtk.symbols:
      	* gtk/gtkcellrendererspin.h:
      	* gtk/gtkcellrendererspin.c: Add a cell renderer which
      	uses a spinbutton to edit the value of a cell. (#156023,
      	Daniel Kasak, Lorenzo Gil Sanchez, Carlos Garnacho)
      
      	* gtk/gtk.h:
      	* gtk/Makefile.am: Glue it in.
      0047b0b9
  10. 07 Mar, 2006 1 commit
    • Michael Natterer's avatar
      Add infrastructure for copy/paste and DND of rich text for GtkTextBuffer. · 6c1d990a
      Michael Natterer authored
      2006-03-07  Michael Natterer  <mitch@imendio.com>
      
      	Add infrastructure for copy/paste and DND of rich text for
      	GtkTextBuffer. Fixes bug #324177.
      
      	* gtk/gtktextbufferrichtext.[ch]: new files implementing a
      	per-buffer registry of rich text formats.
      
      	* gtk/gtk.h: #include gtktextbufferrichtext.h
      
      	* gtk/gtktextbufferserialize.[ch]: new files implementing an
      	internal serialization format that can handle all of a text
      	buffer's tags and pixbufs. It's not useful for anything except
      	tranfer between instances of GtkTextBuffer (Anders Carlsson).
      
      	* gtk/Makefile.am: build the new files.
      
      	* gtk/gtkclipboard.[ch]: added convenience APIs for rich text,
      	just as they exist for plain text and pixbufs.
      
      	* gtk/gtkselection.[ch]: added rich text convenience APIs here
      	too.  Return the target list from gtk_target_list_ref(). Register
      	GtkTargetList as boxed type. Added
      	gtk_target_table_new_from_list() and gtk_target_table_free(),
      	which make converting between GtkTargetList and arrays of
      	GtkTargetEntry considerably easier.
      
      	* gtk/gtktextutil.[ch]: added _gtk_text_util_create_rich_drag_icon()
      	which creates a fancy rich text icon (Matthias Clasen).
      
      	* gtk/gtktextbuffer.[ch]: use all the new stuff above and
      	implement copy and paste of rich text. Added APIs for getting the
      	target lists used for copy and paste. Added public enum
      	GtkTextBufferTargetInfo which contains the "info" IDs associated
      	with the entries of the target lists.
      
      	* gtk/gtktextview.c: use the new rich text APIs and
      	GtkTextBuffer's new target list API to enable DND of rich text
      	chunks.
      
      	* gtk/gtk.symbols: export all the new symbols added.
      
      	* tests/testtext.c: added rich text testing stuff.
      6c1d990a
  11. 24 Jan, 2006 1 commit
  12. 18 Jan, 2006 1 commit
  13. 10 Jan, 2006 1 commit
  14. 22 Sep, 2005 1 commit
    • Michael Natterer's avatar
      Renamed GtkCellRendererKeys to GtkCellRendererAccel to be consistent with · 080889e0
      Michael Natterer authored
      2005-09-22  Michael Natterer  <mitch@imendio.com>
      
      	Renamed GtkCellRendererKeys to GtkCellRendererAccel to be
      	consistent with GTK+ terminology:
      
      	* gtk/gtkcellrendererkeys.[ch]
      	* tests/testkeys.c: removed...
      
      	* gtk/gtkcellrendereraccel.[ch]
      	* tests/testaccel.c: ...and added.
      
      	* gtk/Makefile.am
      	* gtk/gtk.h
      	* gtk/gtk.symbols
      	* tests/Makefile.am: changed accordingly.
      080889e0
  15. 10 Sep, 2005 1 commit
    • Matthias Clasen's avatar
      Add a cell renderer for displaying and editing accelerators, a port of · 07600fb1
      Matthias Clasen authored
      2005-09-09  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkcellrendererkeys.h:
      	* gtk/gtkcellrendererkeys.c: Add a cell renderer for displaying
      	and editing accelerators, a port of EggCellRendererKeys .
      
      	* gtk/gtk.symbols:
      	* gtk/gtk.h:
      	* gtk/Makefile.am: Add the keys cell renderer.
      
      	* tests/Makefile.am:
      	* tests/testkeys.c: Test GtkCellRendererKeys
      07600fb1
  16. 29 Aug, 2005 1 commit
    • Matthias Clasen's avatar
      Add a cross-platform "tray icon" API, by porting EggStatusIcon/EggTrayIcon · 60182d34
      Matthias Clasen authored
      2005-08-29  Matthias Clasen  <mclasen@redhat.com>
      
      	Add a cross-platform "tray icon" API, by
      	porting EggStatusIcon/EggTrayIcon (#105101)
      
      	* gtk/gtkstatusicon.h: A GtkStatusIcon is an object which
      	displays an icon in a notification area.
      
      	* gtk/gtkstatusicon-x11.c: GtkStatusIcon implementation for
      	X11, using GtkTrayIcon.
      
      	* gtk/gtktrayicon.h:
      	* gtk/gtktrayicon.c: An implementation of the freedesktop.org
      	system tray specification, not public API.
      
      	* gtk/gtk.symbols: Add new exported functions.
      
      	* gtk/gtk.h: Include gtkstatusicon.h.
      
      	* gtk/Makefile.am: Add new files.
      
      	* tests/Makefile.am:
      	* tests/teststatusicon.c: Test for GtkStatusIcon.
      60182d34
  17. 27 Sep, 2004 1 commit
    • Paolo Borelli's avatar
      add the GtkMenuToolButton widget discussed in bug #151441. · c7777d8a
      Paolo Borelli authored
      2004-09-27  Paolo Borelli  <pborelli@katamail.com>
      
      	* gtk/Makefile.am:
      	* gtk/gtk.h:
      	* gtk/gtkmenutoolbutton.[ch]: add the GtkMenuToolButton widget
      	discussed in bug #151441.
      
      	* docs/reference/gtk/gtk-docs.sgml:
      	* docs/reference/gtk/gtk-sections.txt:
      	* docs/reference/gtk/gtk.types:
      	* docs/reference/gtk/tmpl/gtkmenutoolbutton.sgml: docs for the
      	new widget.
      c7777d8a
  18. 01 Sep, 2004 1 commit
    • Matthias Clasen's avatar
      Make it possible to specify additional modules to load via a setting. · 8189921f
      Matthias Clasen authored
      2004-09-01  Matthias Clasen  <mclasen@redhat.com>
      
      	Make it possible to specify additional modules to load
      	via a setting.  (#117236, Alex Graveley)
      
      	* gtk/gtkmodules.h:
      	* gtk/gtkmodules.c: New files which contain the module
      	handling code which was previously in gtkmain.[hc].
      	Additionally, the code now looks for the gtk-modules
      	setting, which can specify additional modules to load.
      
      	* gtk/gtkmain.c:
      	* gtk/gtkmain.h: Remove all the module handling code.
      
      	* gtk/gtkdebug.h: Add a debug flag for modules.
      
      	* gtk/gtk.h: Include gtkmodules.h
      
      	* gtk/Makefile.am (gtk_public_h_sources): Add gtkmodules.h
      	(gtk_c_sources): Add gtkmodules.c
      
      	* gtk/gtksettings.c: Add the gtk-modules setting.
      
      	* gdk/x11/gdkevents-x11.c: Add the Gtk/Modules XSetting.
      8189921f
  19. 17 Aug, 2004 1 commit
    • Matthias Clasen's avatar
      New widget to go along with GtkFontButton and GtkColorButton for use in · a3aa10e5
      Matthias Clasen authored
      2004-08-17  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkfilechooserbutton.[hc]: New widget to go along with
      	GtkFontButton and GtkColorButton for use in preference dialogs.
      	Replaces GnomeFileEntry.  (#148108, James M. Cape)
      
      	* gtk/gtk.h: Include gtkfilechooserbutton.h
      
      	* gtk/Makefile.am (gtk_public_h_sources): Add gtkfilechooserbutton.h
      	(gtk_c_sources): Add gtkfilechooserbutton.c
      
      	* gtk/gtk.symbols: Add the GtkFileChooserButton symbols.
      
      	* gtk/gtkfilechooserutils.[hc]: Make the delegate quark available.
      
      	* gtk/gtkfilechooserentry.[hc] (_gtk_file_chooser_entry_new): Allow
      	to suppress tab-eating using the new eat_tabs argument. Adjust all
      	callers.
      
      	* tests/testfilechooserbutton.c: Test for GtkFileChooserButton.
      
      	* tests/Makefile.am (noinst_PROGRAMS): Add testfilechooserbutton
      a3aa10e5
  20. 19 Jul, 2004 1 commit
    • Matthias Clasen's avatar
      Make GtkCellView public, since people seem to have uses for it, it is · fe842a54
      Matthias Clasen authored
      2004-07-19  Matthias Clasen  <mclasen@redhat.com>
      
      	Make GtkCellView public, since people seem to have uses for it,
      	it is clean API and we were just conservative in not making it
      	public initially. At the same time, get rid of GtkCellViewMenuItem,
      	which doesn't have any function which can't be served by a
      	GtkMenuItem with a GtkCellView child.
      
      	* gtk/gtk.h: Include gtkcellview.h
      
      	* gtk/Makefile.am (gtk_public_h_sources):
      
      	* gtk/Makefile.am (gtk_private_h_sources):
      	(gtk_c_sources): Remove gtkcellviewmenuitem.[hc]
      	* gtk/gtkcombobox.c: Replace all uses of GtkCellViewMenuItem by
      	GtkMenuItem with a GtkCellView child.
      
      	* gtk/gtkcellviewmenuitem.[hc]: Removed.
      fe842a54
  21. 16 Jul, 2004 1 commit
  22. 12 Jul, 2004 1 commit
    • Matthias Clasen's avatar
      New widget: GtkAboutDialog. · 4ed4ccc7
      Matthias Clasen authored
      2004-07-12  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkaboutdialog.h:
      	* gtk/gtkaboutdialog.c: New widget: GtkAboutDialog.
      
      	* gtk/Makefile.am (gtk_public_h_sources, gtk_c_sources):
      	* gtk/gtk.h: Add GtkAboutDialog. (#109435, Paolo Borelli,
      	patch by Matthias Clasen)
      4ed4ccc7
  23. 04 Jul, 2004 1 commit
    • Anders Carlsson's avatar
      Add a simple file browser based on the icon view. · 57f0d6a2
      Anders Carlsson authored
      2004-07-04  Anders Carlsson  <andersca@gnome.org>
      
      	* demos/gtk-demo/Makefile.am:
      	* demos/gtk-demo/gnome-fs-directory.png:
      	* demos/gtk-demo/gnome-fs-regular.png:
      	* demos/gtk-demo/iconview.c: (load_pixbufs), (fill_store),
      	(sort_func), (create_store), (item_activated), (up_clicked),
      	(home_clicked), (do_iconview):
      	Add a simple file browser based on the icon view.
      
      	* gtk/gtk.h:
      	Add gtk/gtkiconview.h
      
      	* gtk/gtkiconview.c: (gtk_icon_view_layout),
      	(gtk_icon_view_item_new), (gtk_icon_view_item_activated):
      	Fix a few bugs discovered while writing the demo.
      57f0d6a2
  24. 12 May, 2004 1 commit
  25. 23 Oct, 2003 1 commit
    • Owen Taylor's avatar
      gtk/gtkfilechooserutils.c gtk/gtkfilechooserprivate.[ch]: Basic framework · b3bae3b4
      Owen Taylor authored
      Wed Oct 22 23:20:04 2003  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkfilechooser.[ch] gtk/gtkfilefilter.[ch]
              gtk/gtkfilechooserwidget.[ch] gtk/gtkfilechooserdialog.[ch]:
              gtk/gtkfilechooserutils.c gtk/gtkfilechooserprivate.[ch]:
              Basic framework for the new file selector widget.
      
              * gtk/gtkfilechooserdefault.[ch] gtk/gtkcellrenderersep.[ch]
              gtk/gtkfilechooserentry.[ch] gtk/gtkfilesystemmodel.[ch]:
              Initial implementation of the GtkFileChooser user interface.
      
              * gtk/gtkfilesystemunix.[ch]: GtkFileSystem implementation
              for Unix files.
      
              * configure.in gtk/Makefile.am gtk/xdgmime: Build code
              for freedesktop.org MIME system on Unix.
      
              * tests/testfilechooser.c: Test program for GtkFileChooser
      
              * tests/prop-editor.c: Add support for properties on interfaces.
      b3bae3b4
  26. 26 Sep, 2003 1 commit
    • Kristian Rietveld's avatar
      Landing the new ComboBox. Note that only gtkcombobox.h and · c920afd9
      Kristian Rietveld authored
      Fri Sep 26 23:49:44 2003  Kristian Rietveld  <kris@gtk.org>
      
      	Landing the new ComboBox. Note that only gtkcombobox.h and
      	gtkcomboboxentry.h are public.
      
      	* gtk/gtkcellview.[ch], gtk/gtkcellviewmenuitem.[ch],
      	gtk/gtkcombobox.[ch], gtk/gtkcomboboxentry.[ch]: new files.
      
      	* gtk/Makefile.am, gtk/gtk.h: adding the new files.
      
      	* tests/testcombo.c: and a new test.
      
      	* tests/Makefile.am: adding the new test.
      c920afd9
  27. 25 Aug, 2003 1 commit
  28. 24 Aug, 2003 2 commits
    • Owen Taylor's avatar
      Remove reference to gtkresizegrip.h. · b374ae3f
      Owen Taylor authored
      Sun Aug 24 17:14:44 2003  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtk.h: Remove reference to gtkresizegrip.h.
      b374ae3f
    • Matthias Clasen's avatar
      A model-view separation for menus and toolbars, using the EggMenu code by · e7e39565
      Matthias Clasen authored
      2003-08-24  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkaction.[ch]:
      	* gtk/gtktoggleaction.[ch]:
      	* gtk/gtktoggleactionprivate.h:
      	* gtk/gtkradioaction.[ch]:
      	* gtk/gtkactiongroup.[ch]:
      	* gtk/gtkmenumerge.[ch]: A model-view separation for menus and
      	toolbars, using the EggMenu code by James Henstridge.
      
      	* gtk/gtk.h: Include new headers.
      	* gtk/Makefile.am: Add new files.
      
      	* tests/testactions.c: Test for actions.
      	* tests/testmerge.c: Test for menu merging.
      	* tests/merge-[123].ui: Test data for testmerge.
      	* tests/Makefile.am: Add testactions and testmerge.
      
      	* demos/gtk-demo/appwindow.c: Use GtkMenuMerge to construct the
      	menubar and toolbar.
      e7e39565
  29. 11 Jul, 2003 1 commit
    • Kristian Rietveld's avatar
      Landing GtkTreeModelFilter and the completion code. (Test program and · edef7d00
      Kristian Rietveld authored
      Fri Jul 11 14:32:43 2003  Kristian Rietveld  <kris@gtk.org>
      
      	Landing GtkTreeModelFilter and the completion code. (Test program
      	and documentation will follow next week).
      
      	* gtk/gtkcellayout.[ch], gtk/gtkentrycompletion.[ch],
      	gtk/gtktreemodelfilter.[ch], gtk/gtkentryprivate.h: new files.
      
      	* gtkentry.[ch]: added gtk_entry_{get,set}_completion, wrote
      	necessary code to hook up completion.
      
      	* gtktreeviewcolumn.c: made GtkTreeViewColumn implement the new
      	GtkCellLayout interface.
      
      	* gtkmarshalers.list: added BOOLEAN:OBJECT,BOXED.
      
      	* gtk/gtk.h, gtk/Makefile.am, po/POTFILES.in: all updated for the new
      	source files.
      edef7d00
  30. 02 Jul, 2003 2 commits
    • Owen Taylor's avatar
      Implement a loader for named themed icon based on from gnome-desktop · a72aed4e
      Owen Taylor authored
      Wed Jul  2 18:00:56 2003  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkicontheme.[ch]: Implement a loader for
              named themed icon based on from gnome-desktop library
              by Alex Larsson.
      
              * gtk/gtkiconthemeparser.[ch]: .ini file parsing code
              from gnome-desktop.
      
              * gtk/gtkiconfactory.[ch]: Add
              gtk_icon_source_set/get_icon_name() to allow stock icons
              to be based off of named theme icons.
      
              * gtk/gtkiconfactory.c: Rework sources so that the source
              is *either* a pixbuf, or a filename, or an icon name,
              instead of the pixbuf/filename mix it was before. Put a
              workaround for get_pixbuf() so that it can return the
              filename pixbuf, e.g, for render_icon().
      
              * gtk/gtkiconfactory.c: Make the default setup use
              themed icons, and add builtin icons to the default
              icon theme for all the standard pixbufs, so we
              don't rely on actually having an icon theme on disk.
      
              * gtk/gtkrc.c: Add support for @"icon-name" to specify
              a themed icon for a stock icon source.
      
              * tests/Makefile.am test/testicontheme.c: Add a test
              program from gnome-desktop.
      
              * gdk/x11/gdkevents-x11.c gtk/gtksettings.c: Add
              Net/IconThemeName / gtk-icon-theme-name setting.
      
              * gtk/gtkiconfactory.c (ensure_cache_up_to_date): Actually
              update the icon cache serial so we don't continually
      
              * gtk/gtkwidget.c: Fix a couple of references in doc comments
              to ::direction_set that should have been to ::direction-changed
      a72aed4e
    • Soeren Sandmann's avatar
      Add new toolbar headers · 26698473
      Soeren Sandmann authored
      Wed Jul  2 15:42:26 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtk.h: Add new toolbar headers
      
      	* tests/testtoolbar.c: new file
      
      	* tests/Makefile.am (noinst_PROGRAMS): Add testtoolbar.c
      
      	* gtk/gtkexpander.c (gtk_expander_class_init): Make it compile
      
      Tue Jul  1 22:49:25 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtktoolbar.c:
      	(gtk_toolbar_remove_tool_item): Fix bug where list is changed
      	inside a for loop (pointed out by Morten Welinder).
      	(gtk_toolbar_focus_home_or_end): Minor formatting change
      
      	Comments from Owen:
      
      	* gtk/gtktoolbutton.c: remove copy of elide_underscores(). Use
      	gtk_toolbar_elide_underscores instead.
      
      	* gtk/gtktoolbar.c: rename signal from focus_ends to
      	focus_home_or_end.
      	(_gtk_toolbar_elide_underscores): export this as an internal
      	function.
      	(gtk_toolbar_move_focus): add comment explaining difference to
      	gtk_toolbar_focus();
      	(gtk_toolbar_list_children_in_focus_order): Make TAB_FORWARD and
      	TAB_BACKWARD focus the right widgets in RTL mode
      
      	* gtk/gtktoolbutton.c (gtk_tool_button_new): Change to take
      	"label" and "icon" parameters
      
      	* gtk/gtktoolbutton.[ch]: remove icon_set property.
      26698473
  31. 01 Jul, 2003 1 commit
  32. 13 Nov, 2001 1 commit
    • Tim Janik's avatar
      added gtkaccelmap.sgml. other updates. · d07573c0
      Tim Janik authored
      Mon Nov 12 23:06:38 2001  Tim Janik  <timj@gtk.org>
      
              * added gtkaccelmap.sgml. other updates.
      
      Mon Nov 12 23:08:37 2001  Tim Janik  <timj@gtk.org>
      
      	* gtk/maketypes.awk: fix type utils generation on unix.
      
      	* gtk/gtkaccelmap.[hc]: new files, implementing a global accelerator
      	registry.
      
      	* gtk/gtkaccelgroup.[hc]: major API/implementation revamp:
      	removed GTK_ACCEL_SIGNAL_VISIBLE, gtk_accel_group_get_default,
      	gtk_accel_group_get_entry, gtk_accel_group_(un)lock_entry,
      	gtk_accel_group_add/remove, gtk_accel_group_handle_add/remove,
      	gtk_accel_group_create_add/remove, gtk_accel_group_entries_from_object.
      	introduced ::accel_changed signal for change notification, and
      	gtk_accel_group_connect/disconnect to connect closures to accel groups.
      	made gtk_accel_group_attach/detach and gtk_accel_group_activate private
      	functions.
      	deprecated gtk_accel_group_ref/unref.
      
      	* gtk/gtkaccellabel.[hc]: changes to make accellabels pay attention
      	to accel group changed notification and basically operate on closures.
      	removed gtk_accel_label_get_accel_object and
      	gtk_accel_label_set_accel_object.
      	introduced gtk_accel_label_set_accel_closure, and for convenience,
      	gtk_accel_label_set_accel_widget.
      
      	* gtk/gtkitemfactory.[hc]: removed accelerator propagation code
      	which mostly moved into gtkaccelmap.[hc].
      	removed gtk_item_factory_parse_rc*, gtk_item_factory_dump_*
      	and gtk_item_factory_print_func.
      
      	* gtk/gtkmain.c: call _gtk_accel_map_init().
      
      	* gtk/gtkmenuitem.[hc]: introduced gtk_menu_item_set_accel_path(),
      	that associates an accelerator path with menu items, through which
      	persistent accelerator settings on menu items are enabled.
      
      	* gtk/gtkmenu.[hc]: added gtk_menu_set_accel_path() so accelerator
      	paths of menu item can be default constructed to allow installation
      	of accelerators on menu items that don't come with an accelerator
      	binding by default.
      
      	* gtk/gtksettings.c: fix STRING type rc settings by special casing
      	them appropriately in the parser.
      
      	* gtk/gtksignal.[hc]: allow a class function offset of 0 for
      	gtk_signal_newv().
      
      	* gtk/gtkwidget.[hc]: accelerator API revamp.
      	removed ::accelerator_add/remove signals, gtk_widget_accelerator_signal,
      	gtk_widget_accelerators_locked, gtk_widget_remove_accelerators and
      	gtk_widget_(un)lock_accelerators.
      	accelerators maintained through gtk_widget_add/remove_accelerator()
      	are not runtime changable now, the correct sequence to setup a
      	widget for runtime changable accelerators is now:
      	  gtk_accel_map_add_entry(accel_path, key, mods);
      	  _gtk_widget_set_accel_path(widget, accel_path, accel_group);
      
      	* gtk/gtkwindow.[hc]: accelerator changes, proxy and coalesce accel
      	group changes (as well as mnemonic changes) through the new signal
      	::accels_changed.
      
      Sat Nov 10 12:08:56 2001  Tim Janik  <timj@gtk.org>
      
      	* gtk/gtksettings.c (_gtk_settings_parse_convert): properly handle
      	GString->string conversions.
      d07573c0
  33. 19 Oct, 2001 1 commit
  34. 08 Sep, 2001 1 commit
  35. 23 Aug, 2001 1 commit
    • Owen Taylor's avatar
      [ Patch from Sebastian Wilhelmi, 52790 ] · a2d60d44
      Owen Taylor authored
      Wed Aug 22 19:15:39 2001  Owen Taylor  <otaylor@redhat.com>
      
      	[ Patch from Sebastian Wilhelmi, 52790 ]
      
      	* gtk/gtkversion.h.in gtk/gtk.h: New file replacing gtkcompat.h
      
      	* gdk/gdkcompat.h gdk/gdk*.h gtk/gtkcompat.h.in gtk/gtk*.h:
      	Move compatibility macros from g[dt]kcompat.h to within
      	#ifndef G[DT]K_DISABLE_DEPRECATED in each file.
      
      	* gdk/gdk-pixbuf-csource.c: Fix up include of gtkcompat.h.
      
      	* demos/Makefile.am demos/gtk-demo/Makefile.am
                docs/reference/gdk-pixbuf/Makefile.am modules/input/Makefile.am
                tests/Makefile.am: Remove references to -G[DT]K_DISABLE_DEPRECATED.
      
      	* demos/{pixbuf-demo.c,testpixbuf-drawable.c,testpixbuf-save.c,
                       testpixbuf.c}: Fix usages of deprecated functions.
      a2d60d44
  36. 21 Aug, 2001 1 commit