1. 19 Jun, 2007 1 commit
  2. 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
  3. 12 Jun, 2007 2 commits
    • Michael Natterer's avatar
      use PANGO_BREAK_WORD_CHAR instead of PANGO_BREAK_WORD so the text cell · 49fe3046
      Michael Natterer authored
      2007-06-12  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkiconview.c (update_text_cell): use PANGO_BREAK_WORD_CHAR
      	instead of PANGO_BREAK_WORD so the text cell doesn't overflow the
      	wrap-width if there is no whitespace found to break at.
      	Fixes bug #446107.
      
      
      svn path=/trunk/; revision=18112
      49fe3046
    • Kristian Rietveld's avatar
      Fix #410815, reported by Lucas Rocha. · 8d5fd516
      Kristian Rietveld authored
      2007-06-12  Kristian Rietveld  <kris@imendio.com>
      
      	Fix #410815, reported by Lucas Rocha.
      
      	* gtk/gtkiconview.c (gtk_icon_view_layout): determine a suitable
      	wrap-width with the first icon, if it exists,
      	(adjust_wrap_width): try to use icon_view->priv->item_width
      	if available,
      	(gtk_icon_view_set_cell_data): don't call adjust_wrap_width here,
      	which caused changes in wrap-width during the layouting process and
      	resulted in layouting artefacts,
      	(update_text_cell): don't set the wrap-width property, this should
      	be handled by adjust_wrap_width.
      
      
      svn path=/trunk/; revision=18111
      8d5fd516
  4. 30 May, 2007 1 commit
  5. 25 May, 2007 1 commit
  6. 09 May, 2007 1 commit
    • Kristian Rietveld's avatar
      Disable key bindings during rubber banding, make pressing Esc stop rubber · b3e489c7
      Kristian Rietveld authored
      2007-05-09  Kristian Rietveld  <kris@imendio.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_key_press),
      	(gtk_tree_view_key_release):
      	* gtk/gtkiconview.c (gtk_icon_view_class_init),
      	(gtk_icon_view_key_press),
      	(gtk_icon_view_key_release): Disable key bindings during rubber
      	banding, make pressing Esc stop rubber banding.  (#405027).
      
      
      svn path=/trunk/; revision=17807
      b3e489c7
  7. 27 Apr, 2007 1 commit
    • Matthias Clasen's avatar
      Internalize some strings, pointed out by Damon Chaplin. · 2824f459
      Matthias Clasen authored
      2007-04-27  Matthias Clasen  <mclasen@redhat.com>
      
              * gtkassistant.c:
              * gtkiconfactory.c:
              * gtkiconview.c:
              * gtkpapersize.c:
              * gtkrecentmanager.c:
              * gtktextiter.c: Internalize some strings, pointed out
              by Damon Chaplin.
      
      
      
      svn path=/trunk/; revision=17661
      2824f459
  8. 09 Mar, 2007 1 commit
  9. 27 Jan, 2007 1 commit
  10. 04 Jan, 2007 1 commit
    • Matthias Clasen's avatar
      Cross-compilation fixes. (#392646, Yevgen Muntyan) · 3b54167d
      Matthias Clasen authored
      2007-01-04  Matthias Clasen  <mclasen@redhat.com>
      
              * gtk/Makefile.am:
              * gdk-pixbuf/Makefile.am:
              * configure.in:
              * gdk/win32/rc/gdk.rc.in: Cross-compilation fixes.
              (#392646, Yevgen Muntyan)
      
      
      
      svn path=/trunk/; revision=17065
      3b54167d
  11. 29 Dec, 2006 2 commits
  12. 24 Dec, 2006 1 commit
    • Behdad Esfahbod's avatar
      Bug 340141 – Update to Pango 1.16 API · d698e3ea
      Behdad Esfahbod authored
      2006-12-24  Behdad Esfahbod  <behdad@gnome.org>
      
              Bug 340141 – Update to Pango 1.16 API
      
              * gdk/gdkpango.c (layout_iter_get_line_clip_region),
              (gdk_pango_layout_line_get_clip_region):
              * gtk/gtkcalendar.c (gtk_calendar_size_request):
              * gtk/gtkentry.c (gtk_entry_get_pixel_ranges),
              (get_layout_position), (gtk_entry_find_position),
              (gtk_entry_adjust_scroll):
              * gtk/gtkiconview.c (get_pango_text_offsets):
              * gtk/gtklabel.c (get_cursor_direction):
              * gtk/gtkstyle.c (get_insensitive_layout):
              * gtk/gtktextdisplay.c (render_para):
              * gtk/gtktextlayout.c (allocate_child_widgets),
              (find_display_line_below), (find_display_line_above),
              (gtk_text_layout_move_iter_to_previous_line),
              (gtk_text_layout_move_iter_to_next_line),
              (gtk_text_layout_move_iter_to_line_end),
              (gtk_text_layout_iter_starts_line),
              (gtk_text_layout_move_iter_to_x):
              * gtk/gtktextutil.c (limit_layout_lines):
              Use the _readonly version of pango_layout_iter_get_line(),
              pango_layout_iter_get_run(), pango_layout_get_line(), and
              pango_layout_get_lines().
      
              * gtk/gtkmain.c (gtk_get_default_language): Use
              pango_get_default_language().
      d698e3ea
  13. 22 Dec, 2006 1 commit
  14. 14 Dec, 2006 1 commit
  15. 16 Nov, 2006 1 commit
    • Michael Natterer's avatar
      Add new infrastructure for notifications of failed keyboard navigation and · 7f374a74
      Michael Natterer authored
      2006-11-16  Michael Natterer  <mitch@imendio.com>
      
      	Add new infrastructure for notifications of failed keyboard
      	navigation and navigation with restricted set of keys.
      
      	The patch handles configurable beeping, navigating the GUI with
      	cursor keys only (as in phone environments), and configurable
      	wrap-around. Fixes bugs #322640, #70986, #318827, #334726, #334742
      	and #309291.
      
      	* gtk/gtksettings.c: added properties gtk-keynav-cursor-only,
      	gtk-keynav-wrap-around and gtk-error-bell.
      
      	* gtk/gtkwidget.[ch]: added new signal "keynav-failed" and public
      	API to emit it. Added New function gtk_widget_error_bell() which
      	looks at the gtk-error-bell setting and calls gdk_window_beep()
      	accordingly.
      
      	* gtk/gtk.symbols: add the new widget symbols.
      
      	* gtk/gtkcellrendereraccel.c
      	* gtk/gtkimcontextsimple.c
      	* gtk/gtkmenu.c
      	* gtk/gtknotebook.c: use gtk_widget_error_bell() or look at the
      	gtk-error-bell setting instead of calling gdk_display_beep()
      	unconditionally.
      
      	* gtk/gtkcombobox.c
      	* gtk/gtkentry.c
      	* gtk/gtkiconview.c
      	* gtk/gtklabel.c
      	* gtk/gtkmenushell.c
      	* gtk/gtkspinbutton.c
      	* gtk/gtktextview.c
      	* gtk/gtktreeview.c: call gtk_widget_error_bell() on failed keynav.
      
      	* gtk/gtkentry.c
      	* gtk/gtklabel.c
      	* gtk/gtkrange.c
      	* gtk/gtktextview.c: consult gtk_widget_keynav_failed() on failed
      	cursor navigation and leave the widget if it returns FALSE.
      
      	* gtk/gtkmenushell.c
      	* gtk/gtknotebook.c: only wrap around if gtk-keynav-wrap-around
      	is TRUE.
      
      	* gtk/gtkradiobutton.c: ask gtk_widget_keynav_failed() to decide
      	whether to to wrap-around, and don't select active items on cursor
      	navigation if gtk-keynav-cursor-only is TRUE. Should look at
      	gtk-keynav-wrap-around too, will look into that.
      7f374a74
  16. 08 Oct, 2006 1 commit
  17. 03 Oct, 2006 1 commit
  18. 16 Aug, 2006 1 commit
  19. 21 Jul, 2006 1 commit
  20. 10 Jul, 2006 1 commit
  21. 06 Jul, 2006 1 commit
  22. 20 Jun, 2006 1 commit
  23. 15 May, 2006 1 commit
    • Søren Sandmann's avatar
      gtk/gtklayout.c (gtk_layout_realize), gtk/gtkiconview.c · 6cb19cf3
      Søren Sandmann authored
      Mon May 15 15:12:05 2006  Søren Sandmann  <sandmann@redhat.com>
      
      	* gtk/gtklayout.c (gtk_layout_realize),
      	* gtk/gtkiconview.c (gtk_icon_view_realize),
      	* gtk/gtktreeview.c (gtk_tree_view_realize): Set the background of
      	the clip windows to NULL, since they are generally invisible and
      	don't have EXPOSURE set, which means they temp-unvlicker code
      	doesn't apply to them.
      
      	* gdk/x11/gdkgeometry-x11.c (_gdk_window_move_resize_child): Unset
      	the background of the parent window during resizing. Invalidate
      	the uncoered area of the parent window. Bug 341332.
      6cb19cf3
  24. 14 May, 2006 1 commit
  25. 02 May, 2006 1 commit
  26. 20 Mar, 2006 1 commit
  27. 06 Mar, 2006 1 commit
  28. 02 Mar, 2006 1 commit
  29. 11 Feb, 2006 1 commit
  30. 21 Dec, 2005 1 commit
  31. 20 Dec, 2005 1 commit
  32. 28 Nov, 2005 1 commit
  33. 23 Nov, 2005 1 commit
    • Tim Janik's avatar
      deprecated floating/sink API and implemented it in terms of the GObject · fbb2e3f4
      Tim Janik authored
      Wed Nov 23 18:55:47 2005  Tim Janik  <timj@imendio.com>
      
              * gtk/gtkobject.[hc]: deprecated floating/sink API and implemented it
              in terms of the GObject floating/sink API.
      
              * gtk/gtkaboutdialog.c:
              * gtk/gtkaction.c:
              * gtk/gtkcellview.c:
              * gtk/gtkclist.c:
              * gtk/gtkcolorsel.c:
              * gtk/gtkcombobox.c:
              * gtk/gtkfilechooserdefault.c:
              * gtk/gtkiconview.c:
              * gtk/gtkinvisible.c:
              * gtk/gtkitemfactory.c:
              * gtk/gtklayout.c:
              * gtk/gtkmenu.c:
              * gtk/gtkmenutoolbutton.c:
              * gtk/gtknotebook.c:
              * gtk/gtkprogress.c:
              * gtk/gtkrange.c:
              * gtk/gtkspinbutton.c:
              * gtk/gtkstatusicon.c:
              * gtk/gtktext.c:
              * gtk/gtktextview.c:
              * gtk/gtktoolbar.c:
              * gtk/gtktoolbutton.c:
              * gtk/gtktoolitem.c:
              * gtk/gtktreeitem.c:
              * gtk/gtktreeview.c:
              * gtk/gtktreeviewcolumn.c:
              * gtk/gtkuimanager.c:
              * gtk/gtkviewport.c:
              * gtk/gtkwidget.c:
              * gtk/gtkwindow.c:
              ported to use GObject's g_object_ref_sink().
      
              * gtk/gtkcolorsel.c:
              * gtk/gtkfilechooserdefault.c:
              * gtk/gtkaboutdialog.c:
              fixed compiler warnings.
      fbb2e3f4
  34. 19 Sep, 2005 3 commits
  35. 13 Sep, 2005 2 commits