1. 16 Mar, 2008 1 commit
  2. 11 Mar, 2008 1 commit
  3. 12 Feb, 2008 1 commit
  4. 09 Feb, 2008 1 commit
  5. 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
  6. 04 Feb, 2008 1 commit
  7. 16 Jan, 2008 1 commit
  8. 09 Jan, 2008 1 commit
    • Michael Natterer's avatar
      remove unused variable. · 9c7a2c32
      Michael Natterer authored
      2008-01-09  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
      	variable.
      
      	* gtk/gtkcombobox.c (gtk_combo_box_detacher)
      	* gtk/gtkicontheme.c (theme_list_contexts)
      	(gtk_icon_theme_lookup_icon)
      	* gtk/gtkimcontextsimple.c (beep_window)
      	* gtk/gtklinkbutton.c (set_link_color)
      	* gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
      	fix warnings.
      
      	* gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
      	variable and add const to another to fix a warning.
      
      
      svn path=/trunk/; revision=19330
      9c7a2c32
  9. 06 Jan, 2008 1 commit
    • Johan Dahlin's avatar
      Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently. Fixes #5075 · 71e9be7e
      Johan Dahlin authored
      2008-01-06  Johan Dahlin  <johan@gnome.org>
      
      	* gtk/gtkcellrenderercombo.c:
      	(gtk_cell_renderer_combo_get_property),
      	(gtk_cell_renderer_combo_set_property):
      	* gtk/gtkcombobox.c: (gtk_combo_box_set_property):
      	* gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
      	* gtk/gtknotebook.c: (gtk_notebook_set_property):
      	* gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
      	* gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
      	(gtk_text_buffer_get_property):
      	* gtk/gtktextview.c: (gtk_text_view_set_property):
      	* gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
      	* gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
      	(gtk_tool_button_get_property):
      	* gtk/gtktoolitem.c: (gtk_tool_item_set_property),
      	(gtk_tool_item_get_property):
      	* gtk/gtktreeview.c: (gtk_tree_view_set_property):
      	* gtk/gtkwidget.c: (gtk_widget_set_property):
      	* gtk/gtkwindow.c: (gtk_window_set_property):
      	Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
      	Fixes #5075
      
      svn path=/trunk/; revision=19311
      71e9be7e
  10. 28 Dec, 2007 2 commits
  11. 25 Dec, 2007 1 commit
  12. 07 Sep, 2007 1 commit
  13. 08 Aug, 2007 1 commit
  14. 09 Jul, 2007 1 commit
  15. 19 Jun, 2007 1 commit
  16. 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
  17. 13 Jun, 2007 2 commits
    • Carlos Garnacho's avatar
      removed unused and hardly visible GtkFrame from the menu widget hierarchy · 28589d8a
      Carlos Garnacho authored
      2007-06-14  Carlos Garnacho  <carlos@imendio.com>
      
              * gtk/gtkcombobox.c: removed unused and hardly visible GtkFrame from
              the menu widget hierarchy when ::appears-as-list is TRUE. (#435471)
              * NEWS: add a note about repercussions of this change to RC files.
      
      
      svn path=/trunk/; revision=18127
      28589d8a
    • 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
  18. 21 May, 2007 2 commits
    • Michael Natterer's avatar
      revert last change. · b3ce266b
      Michael Natterer authored
      2007-05-21  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkcombobox.c (gtk_combo_box_set_model): revert last change.
      
      
      svn path=/trunk/; revision=17886
      b3ce266b
    • Tim Janik's avatar
      removed redundant check. · 1ba507f0
      Tim Janik authored
      Mon May 21 13:58:32 2007  Tim Janik  <timj@imendio.com>
      
              * gtk/gtkcombobox.c (gtk_combo_box_set_model): removed redundant check.
      
      
      
      svn path=/trunk/; revision=17885
      1ba507f0
  19. 18 May, 2007 1 commit
    • Carlos Garnacho's avatar
      Make combobox menu popdown keybindable (#433593) · 1dc2df15
      Carlos Garnacho authored
      2007-05-18  Carlos Garnacho  <carlos@imendio.com>
      
              Make combobox menu popdown keybindable (#433593)
      
              * gtk/gtkcombobox.c (gtk_combo_box_class_init): Add "popdown" binding
              signal and keybindings.
              (gtk_combo_box_real_popdown): Added, "popdown" keybinding signal
              handler.
              (gtk_combo_box_menu_key_press):
              (gtk_combo_box_list_key_press): forward the event to the combobox if
              it wasn't handled by the menu.
      
      
      svn path=/trunk/; revision=17861
      1dc2df15
  20. 02 May, 2007 1 commit
  21. 28 Apr, 2007 1 commit
    • Matthias Clasen's avatar
      Plug memory leaks caused by wrong use of g_slist_remove_link(). (#405515, · b72dfb8c
      Matthias Clasen authored
      2007-04-28  Matthias Clasen  <mclasen@redhat.com>
      
              * gdk/win32/bdfcursor.c (compose_cursors_from_fonts):
              * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_reorder):
              * gtk/gtkfilesystemmodel.c (got_root_folder_cb):
              (get_children_folder_cb): Plug memory leaks caused by wrong
              use of g_slist_remove_link().  (#405515, Nicolas Peninguy)
      
      
      
      svn path=/trunk/; revision=17671
      b72dfb8c
  22. 12 Mar, 2007 1 commit
  23. 08 Mar, 2007 1 commit
    • Mathias Hasselmann's avatar
      Add shadow-type style property, set shadow-type property of GtkEntry · a1b0dba1
      Mathias Hasselmann authored
      2007-03-08  Mathias Hasselmann <mathias.hasselmann@gmx.de>
      
      	* gtk/gtkcombobox.c: Add shadow-type style property, set shadow-type
      	property of GtkEntry accordingly, unify size-allocation of toggle
      	button (#411123, patch from Mathias Hasselmann).
      	* gtk/gtkentry.c: Add shadow-type property. Query style properties
      	on style changes only (#411123, patch from Mathias Hasselmann).
      	* modules/engines/ms-windows/msw_style.c: Drop combo_box_draw_box
      	hack as GtkComboBox emits drawing requests now (#411123, patch 
      	from Mathias Hasselmann).
      
      svn path=/trunk/; revision=17426
      a1b0dba1
  24. 07 Mar, 2007 1 commit
  25. 16 Feb, 2007 1 commit
  26. 01 Feb, 2007 1 commit
  27. 05 Jan, 2007 1 commit
  28. 27 Dec, 2006 2 commits
    • Matthias Clasen's avatar
      Accept NULL. · 8d286a72
      Matthias Clasen authored
      2006-12-27  Matthias Clasen  <mclasen@redhat.com>
      
              * gtk/gtkcellview.c (gtk_cell_view_set_model): Accept NULL.
      
              * gtk/gtkcombobox.c (gtk_combo_box_set_model):
              (gtk_combo_box_unset_model): Handle repeated unsetting
              of models without warnings.  (#367529, Robert Ancell)
      8d286a72
    • Matthias Clasen's avatar
      Fix a few problems with nested menus in comboboxes (#386694, Yevgen · 264e9c0c
      Matthias Clasen authored
      2006-12-17  Matthias Clasen  <mclasen@redhat.com>
      
              Fix a few problems with nested menus in comboboxes
              (#386694, Yevgen Muntyan)
      
              * gtk/gtkcombobox.c (gtk_combo_box_menu_fill_level): Always
              connect the activate callback.
              (gtk_combo_box_menu_item_activate): Do nothing if called on
              an item with a submenu.
              (gtk_combo_box_menu_row_deleted): Remove a submenu when it
              is empty.
      264e9c0c
  29. 22 Dec, 2006 1 commit
  30. 15 Dec, 2006 1 commit
  31. 14 Dec, 2006 1 commit
  32. 13 Dec, 2006 1 commit
    • Benjamin Berg's avatar
      - Remove unused code/options from the code. Warn about their usage while · 78fcce90
      Benjamin Berg authored
      2006-12-13  Benjamin Berg  <benjamin@sipsolutions.net>
      
      
      	* engines/clearlooks/src/clearlooks_rc_style.c:
      	(clearlooks_rc_style_init), (clearlooks_gtk2_rc_parse_dummy),
      	(clearlooks_rc_style_parse), (clearlooks_rc_style_merge):
      	* engines/clearlooks/src/clearlooks_rc_style.h:
      	* engines/clearlooks/src/clearlooks_style.c:
      	(clearlooks_style_draw_box), (clearlooks_style_init_from_rc),
      	(clearlooks_style_copy):
      	* engines/clearlooks/src/clearlooks_style.h:
      	* engines/clearlooks/src/clearlooks_types.h:
      	- Remove unused code/options from the code. Warn about their usage
      	while parsing.
      
      
      	* themes/Clearlooks/gtk-2.0/gtkrc:
      	- Remove options that don't have any effect.
      78fcce90
  33. 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
  34. 01 Nov, 2006 1 commit
  35. 12 Oct, 2006 2 commits