1. 16 Jun, 2007 1 commit
  2. 15 Jun, 2007 16 commits
    • Johan Dahlin's avatar
      Base class should be GObject, not GtkObject. · d98b8bcc
      Johan Dahlin authored
      * gtk/gtkuimanager.c: Base class should be GObject, not GtkObject.
      
      svn path=/trunk/; revision=18153
      d98b8bcc
    • Matthias Clasen's avatar
      Fix cross-references · be59685b
      Matthias Clasen authored
      svn path=/trunk/; revision=18152
      be59685b
    • Matthias Clasen's avatar
      Documentation fixes · 41a950d8
      Matthias Clasen authored
      svn path=/trunk/; revision=18151
      41a950d8
    • Matthias Clasen's avatar
      Fix up docs · 2c1ee897
      Matthias Clasen authored
      svn path=/trunk/; revision=18150
      2c1ee897
    • Mathias Hasselmann's avatar
      Correcting the ChangeLog entry for r18142. · 7af59347
      Mathias Hasselmann authored
      svn path=/trunk/; revision=18149
      7af59347
    • 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
    • Matthias Clasen's avatar
      Add forgotten docs · f7e4cb7e
      Matthias Clasen authored
      svn path=/trunk/; revision=18147
      f7e4cb7e
    • Johan Dahlin's avatar
      Use gsize instead of unsigned and gulong instead of long, fixes complation · 5d9a26c7
      Johan Dahlin authored
          * gtk/gtkbuilder.c (gtk_builder_add_from_file): 
          (gtk_builder_value_from_string_type): 
          Use gsize instead of unsigned and gulong instead of long,
          fixes complation on OSX, fixes #447987
      
      
      svn path=/trunk/; revision=18146
      5d9a26c7
    • Matthias Clasen's avatar
      add move_selected signal to allow overriding the default internal · 4e1ac87b
      Matthias Clasen authored
      2007-06-15  Matthias Clasen  <mclasen@redhat.com>
      
              * gtk/gtkmenushell.[ch]: add move_selected signal to allow
              overriding the default internal behaviour.  (#446833, Ryan Lortie)
      
      
      
      svn path=/trunk/; revision=18145
      4e1ac87b
    • Mathias Hasselmann's avatar
      Forgot to free the unescaped tooltip text. · a34dfc3c
      Mathias Hasselmann authored
      2007-06-15  Mathias Hasselmann  <mathias.hasselmann@gmx.de>
      
      	* gtk/gtkwidget.c: Forgot to free the unescaped tooltip text.
      
      svn path=/trunk/; revision=18144
      a34dfc3c
    • Mathias Hasselmann's avatar
      Improving handling of tooltip-text property. Also check result of tooltip · ced0bab0
      Mathias Hasselmann authored
      2007-06-15 Mathias Hasselmann <mathias.hasselmann@gmx.de>
      
      	* gtk/gtkwidget.c: Improving handling of tooltip-text property.
      	* tests/testtooltips.c: Also check result of tooltip getters.
      
      svn path=/trunk/; revision=18143
      ced0bab0
    • Mathias Hasselmann's avatar
      Introduce convenience property "GtkWidget:tooltip-text" taking care of · 9b604e29
      Mathias Hasselmann authored
      2007-06-15 Mathias Hasselmann <mathias.hasselmann@gmx.de>
      
              * docs/reference/gtk/gtk-sections.txt, gtk/gtk.symbols,
              gtk/gtkwidget.c, gtk/gtkwidget.h, tests/testtooltips.c: Introduce
              convenience property "GtkWidget:tooltip-text" taking care of escaping
              it for unwanted markup entities. Add functions to set tooltip text:
              gtk_widget_set_tooltip_text(), gtk_widget_set_tooltip_markup(),
              gtk_widget_get_tooltip_text(), gtk_widget_get_tooltip_markup().
      
              * gtk/gtktooltip.c, gtk/gtktooltip.h: Add gtk_tooltip_set_text()
              to set the tooltip text without using markup.
      
              Patches from Emmanuele Bassi (#447643).
      
      svn path=/trunk/; revision=18142
      9b604e29
    • Johan Dahlin's avatar
      Add GtkBuilder, fixes #172535 · 4d638bf0
      Johan Dahlin authored
      2007-06-15  Johan Dahlin  <jdahlin@async.com.br>
      
          * demos/gtk-demo/Makefile.am:
          * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
          (do_builder):
          * demos/gtk-demo/demo.ui:
          * docs/reference/gtk/gtk-docs.sgml:
          * docs/reference/gtk/gtk-sections.txt:
          * docs/reference/gtk/gtk.types:
          * docs/reference/gtk/tmpl/gtkbuildable.sgml:
          * docs/reference/gtk/tmpl/gtkbuilder.sgml:
          * gtk/Makefile.am:
          * gtk/gtk.h:
          * gtk/gtk.symbols:
          * gtk/gtkaction.c: (gtk_action_buildable_init),
          (gtk_action_buildable_set_name), (gtk_action_buildable_get_name):
          * gtk/gtkactiongroup.c: (gtk_action_group_get_type),
          (gtk_action_group_buildable_init),
          (gtk_action_group_buildable_add),
          (gtk_action_group_buildable_set_name),
          (gtk_action_group_buildable_get_name):
          * gtk/gtkbuildable.c: (gtk_buildable_get_type),
          (gtk_buildable_set_name), (gtk_buildable_get_name),
          (gtk_buildable_add), (gtk_buildable_set_property),
          (gtk_buildable_parser_finished), (gtk_buildable_construct_child),
          (gtk_buildable_custom_tag_start), (gtk_buildable_custom_tag_end),
          (gtk_buildable_custom_finished),
          (gtk_buildable_get_internal_child):
          * gtk/gtkbuildable.h:
          * gtk/gtkbuilder.c: (gtk_builder_class_init), (gtk_builder_init),
          (gtk_builder_finalize), (gtk_builder_set_property),
          (gtk_builder_get_property), (_gtk_builder_resolve_type_lazily),
          (gtk_builder_real_get_type_from_name),
          (gtk_builder_get_parameters), (gtk_builder_get_internal_child),
          (_gtk_builder_construct), (_gtk_builder_add),
          (apply_delayed_properties), (_gtk_builder_finish),
          (gtk_builder_new), (gtk_builder_add_from_file),
          (gtk_builder_add_from_string), (gtk_builder_get_object),
          (object_add_to_list), (gtk_builder_get_objects),
          (gtk_builder_set_translation_domain),
          (gtk_builder_get_translation_domain),
          (gtk_builder_connect_signals_default),
          (gtk_builder_connect_signals), (gtk_builder_connect_signals_full),
          (gtk_builder_value_from_string),
          (gtk_builder_value_from_string_type),
          (_gtk_builder_enum_from_string), (_gtk_builder_flags_from_string),
          (gtk_builder_get_type_from_name), (gtk_builder_error_quark):
          * gtk/gtkbuilder.h:
          * gtk/gtkbuilderparser.c: (state_push), (state_peek), (state_pop),
          (error_missing_attribute), (error_invalid_attribute),
          (error_invalid_tag), (builder_construct), (parse_object),
          (free_object_info), (_get_type_by_symbol), (parse_child),
          (free_child_info), (parse_property), (free_property_info),
          (parse_signal), (_free_signal_info), (parse_interface),
          (create_subparser), (free_subparser), (subparser_start),
          (subparser_end), (parse_custom), (start_element), (end_element),
          (text), (_gtk_builder_parser_parse_buffer):
          * gtk/gtkbuilderprivate.h:
          * gtk/gtkcelllayout.c: (attributes_start_element),
          (attributes_text_element),
          (_gtk_cell_layout_buildable_custom_tag_start),
          (_gtk_cell_layout_buildable_custom_tag_end),
          (_gtk_cell_layout_buildable_add):
          * gtk/gtkcelllayout.h:
          * gtk/gtkcellview.c: (gtk_cell_view_buildable_init),
          (gtk_cell_view_buildable_custom_tag_start),
          (gtk_cell_view_buildable_custom_tag_end):
          * gtk/gtkcolorseldialog.c:
          (gtk_color_selection_dialog_buildable_interface_init),
          (gtk_color_selection_dialog_buildable_get_internal_child):
          * gtk/gtkcombobox.c: (gtk_combo_box_buildable_init),
          (gtk_combo_box_buildable_custom_tag_start),
          (gtk_combo_box_buildable_custom_tag_end):
          * gtk/gtkcomboboxentry.c:
          (gtk_combo_box_entry_buildable_interface_init),
          (gtk_combo_box_entry_buildable_get_internal_child):
          * gtk/gtkcontainer.c: (gtk_container_get_type),
          (gtk_container_buildable_init), (gtk_container_buildable_add),
          (gtk_container_buildable_set_child_property),
          (attributes_start_element), (attributes_text_element),
          (gtk_container_buildable_custom_tag_start),
          (gtk_container_buildable_custom_tag_end):
          * gtk/gtkdebug.h:
          * gtk/gtkdialog.c: (gtk_dialog_buildable_interface_init),
          (gtk_dialog_buildable_get_internal_child),
          (attributes_start_element), (attributes_text_element),
          (gtk_dialog_buildable_custom_tag_start),
          (gtk_dialog_buildable_custom_finished):
          * gtk/gtkentrycompletion.c: (gtk_entry_completion_buildable_init):
          * gtk/gtkexpander.c: (gtk_expander_buildable_add),
          (gtk_expander_buildable_init):
          * gtk/gtkfontsel.c:
          (gtk_font_selection_dialog_buildable_interface_init),
          (gtk_font_selection_dialog_buildable_get_internal_child):
          * gtk/gtkframe.c: (gtk_frame_buildable_init),
          (gtk_frame_buildable_add):
          * gtk/gtkiconview.c: (gtk_icon_view_buildable_init),
          (gtk_icon_view_buildable_custom_tag_start),
          (gtk_icon_view_buildable_custom_tag_end):
          * gtk/gtkliststore.c: (gtk_list_store_buildable_init),
          (list_store_start_element), (list_store_end_element),
          (list_store_text), (gtk_list_store_buildable_custom_tag_start),
          (gtk_list_store_buildable_custom_tag_end):
          * gtk/gtkmain.c:
          * gtk/gtknotebook.c: (gtk_notebook_buildable_init),
          (gtk_notebook_buildable_add):
          * gtk/gtksizegroup.c: (gtk_size_group_buildable_init),
          (size_group_start_element),
          (gtk_size_group_buildable_custom_tag_start),
          (gtk_size_group_buildable_custom_finished):
          * gtk/gtktreestore.c: (gtk_tree_store_buildable_init),
          (tree_model_start_element),
          (gtk_tree_store_buildable_custom_tag_start),
          (gtk_tree_store_buildable_custom_finished):
          * gtk/gtktreeview.c: (gtk_tree_view_buildable_init),
          (gtk_tree_view_buildable_add):
          * gtk/gtktreeviewcolumn.c: (gtk_tree_view_column_buildable_init):
          * gtk/gtkuimanager.c: (gtk_ui_manager_buildable_init),
          (gtk_ui_manager_buildable_add),
          (gtk_ui_manager_buildable_construct_child),
          (gtk_ui_manager_buildable_custom_tag_start),
          (gtk_ui_manager_buildable_custom_tag_end):
          * gtk/gtkwidget.c: (gtk_widget_get_type),
          (gtk_widget_buildable_interface_init),
          (gtk_widget_buildable_set_name), (gtk_widget_buildable_get_name),
          (gtk_widget_buildable_set_property),
          (gtk_widget_buildable_parser_finshed), (accel_group_start_element),
          (gtk_widget_buildable_custom_tag_start),
          (gtk_widget_buildable_custom_finshed):
          * gtk/gtkwindow.c: (gtk_window_buildable_interface_init),
          (gtk_window_buildable_set_property),
          (gtk_window_buildable_parser_finished):
          * tests/Makefile.am:
          * tests/buildertest.c: (builder_new_from_string), (test_parser),
          (signal_normal), (signal_after), (signal_object),
          (signal_object_after), (signal_first), (signal_second),
          (signal_extra), (signal_extra2), (test_connect_signals),
          (test_uimanager_simple), (test_domain), (test_translation),
          (test_sizegroup), (test_list_store), (test_tree_store),
          (test_types), (test_spin_button), (test_notebook),
          (test_construct_only_property), (test_children),
          (test_child_properties), (test_treeview_column), (test_icon_view),
          (test_combo_box), (test_combo_box_entry), (test_cell_view),
          (test_dialog), (test_accelerators), (test_widget), (main):
      
          Add GtkBuilder, fixes #172535
      
      
      svn path=/trunk/; revision=18141
      4d638bf0
    • Hans Breuer's avatar
      updated explicit usage of RegisterClassExW to match the WNDCLASSEXW. True · 49fc7e15
      Hans Breuer authored
      2007-06-15  Hans Breuer <hans@breuer.org>
      
      	* gtk/makefile.msc.in tests/makefile.msc : updated
      	* gdk/win32/gdkwindow-win32.c : explicit usage of RegisterClassExW
      	to match the WNDCLASSEXW. 
      	True dynamic linking of SetLayeredWindowAttributes
      	* tests/testprint.c tests/testnouiprint.c : use G_PI
      
      
      svn path=/trunk/; revision=18140
      49fc7e15
    • Hans Breuer's avatar
      updated use g_snprintf · b2dea46b
      Hans Breuer authored
      2007-06-15  Hans Breuer  <hans@breuer.org>
      
      	* makefile.msc : updated
      	* io-jpeg.c : use g_snprintf
      
      
      svn path=/trunk/; revision=18139
      b2dea46b
    • Jorge Gonzalez Gonzalez's avatar
      Updated Spanish translation · 94474874
      Jorge Gonzalez Gonzalez authored
      svn path=/trunk/; revision=18138
      94474874
  3. 14 Jun, 2007 9 commits
  4. 13 Jun, 2007 9 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
    • Behdad Esfahbod's avatar
      #undef GDK_DISABLE_DEPRECATED to get prototype for gdk_font_ref(). · e7ad5239
      Behdad Esfahbod authored
      2007-06-13  Behdad Esfahbod  <behdad@gnome.org>
      
              * gdk/directfb/gdkgc-directfb.c: #undef GDK_DISABLE_DEPRECATED to
              get prototype for gdk_font_ref(). (#447163, Dann Frazier, Loïc Minier)
      
      
      svn path=/trunk/; revision=18126
      e7ad5239
    • 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
    • Cody Russell's avatar
      Fix inconsistency in GTK_WIDGET_SAVED_STATE (#435840, Xan Lopez) · 5c48e783
      Cody Russell authored
      2007-06-13  Cody Russell  <bratsche@gnome.org>
      
             * gtk/gtkwidget.c: Fix inconsistency in GTK_WIDGET_SAVED_STATE
             (#435840, Xan Lopez)
      
      
      
      svn path=/trunk/; revision=18122
      5c48e783
    • Kristian Rietveld's avatar
      gtk/gtk.symbols rename _gtk_file_system_create to gtk_file_system_create · 87ae968f
      Kristian Rietveld authored
      2007-06-13  Kristian Rietveld  <kris@imendio.com>
      
      	* gtk/gtk.symbols
      	* gtk/gtkfilesystem.[ch]: rename _gtk_file_system_create to
      	gtk_file_system_create to make it public and bring trunk back
      	in sync with gtk-2-10.
      
      	* gtk/gtkfilechooserdefault.c (set_file_system_backend): updated.
      
      
      svn path=/trunk/; revision=18121
      87ae968f
    • Michael Natterer's avatar
      added calls to g_object_freeze/thaw_notify() so gtk_label_get_text() · c82cc89b
      Michael Natterer authored
      2007-06-13  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtklabel.c (gtk_label_set_label): added calls to
      	g_object_freeze/thaw_notify() so gtk_label_get_text() doesn't
      	return the old text when called from a "notify::label" callback.
      
      
      svn path=/trunk/; revision=18120
      c82cc89b
    • Kristian Rietveld's avatar
      Audit of GtkTreeView coordinate system usage. (#142494). · 4e4748e8
      Kristian Rietveld authored
      2007-06-13  Kristian Rietveld  <kris@imendio.com>
      
      	Audit of GtkTreeView coordinate system usage. (#142494).
      
      	* gtk/gtktreeview.[ch]: general documentation updates,
      	(gtk_tree_view_scroll_to_cell), (gtk_tree_view_get_dest_row_at_pos):
      	update coordinate translations,
      	(gtk_tree_view_tree_to_widget_coords),
      	(gtk_tree_view_widget_to_tree_coords): Deprecated,
      	(gtk_tree_view_convert_.*_coords): 6 new functions for doing
      	transformations between coordinate systems.
      
      	* gtk/gtk.symbols: updated.
      
      	* tests/testtooltips.c (query_tooltip_tree_view_cb): fix testcase
      	with new gtk_tree_view_convert_widget_to_bin_window_coords().
      
      	* docs/reference/gtk/Makefile.am
      	* docs/reference/gtk/images/tree-view-coordinates.png: add new image.
      
      	* docs/reference/gtk/tmpl/gtktreeview.sgml: eloborate on the
      	different coordinate systems.
      
      
      svn path=/trunk/; revision=18119
      4e4748e8
    • Kristian Rietveld's avatar
      Add orientation property and some slight refactoring here and there. · 56efde1a
      Kristian Rietveld authored
      2007-06-13  Kristian Rietveld  <kris@imendio.com>
      
      	* gtk/gtkcellrendererprogress.c
      	(gtk_cell_renderer_progress_class_init),
      	(gtk_cell_renderer_progress_init),
      	(gtk_cell_renderer_progress_[gs]et_property),
      	(gtk_cell_renderer_progress_render): Add orientation property and some
      	slight refactoring here and there.  (Fixes #344836, reported by
      	Benjamin Montgomery).
      
      
      svn path=/trunk/; revision=18118
      56efde1a
    • Matthias Clasen's avatar
      Remove linux-fb leftovers · f7add802
      Matthias Clasen authored
      svn path=/trunk/; revision=18113
      f7add802
  5. 12 Jun, 2007 5 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
    • Behdad Esfahbod's avatar
      Fix out-of-bound access. (#440918, Matthias Kilian) · d6061b54
      Behdad Esfahbod authored
      2007-06-12  Behdad Esfahbod  <behdad@gnome.org>
      
              * io-pnm.c (explode_bitmap_into_buf): Fix out-of-bound access.
              (#440918, Matthias Kilian)
      
      
      svn path=/trunk/; revision=18110
      d6061b54
    • Behdad Esfahbod's avatar
      Improve docs. (#446138, Björn Lindqvist) · 1adaeba1
      Behdad Esfahbod authored
      2007-06-12  Behdad Esfahbod  <behdad@gnome.org>
      
              * gdk/gdkwindow.c (gdk_window_get_pointer): Improve docs.
              (#446138, Björn Lindqvist)
      
      
      svn path=/trunk/; revision=18109
      1adaeba1
    • Yevgen Muntyan's avatar
      Implement block-cursor for overwrite mode. (#80378) · ef1e05f7
      Yevgen Muntyan authored
      2007-06-12  Yevgen Muntyan  <muntyan@tamu.edu>
      
              * gtk/gtkentry.c (gtk_entry_expose), (gtk_entry_toggle_overwrite),
              (gtk_entry_draw_cursor):
              * gtk/gtkstyle.c (_gtk_widget_get_cursor_gc),
              (_gtk_widget_get_cursor_color):
              * gtk/gtkstyle.h:
              * gtk/gtktextdisplay.c (gtk_text_renderer_prepare_run),
              (gtk_text_renderer_draw_shape), (text_renderer_set_state),
              (render_para):
              * gtk/gtktextlayout.c (gtk_text_layout_set_overwrite_mode),
              (gtk_text_layout_invalidate_cache), (get_block_cursor),
              (add_cursor), (gtk_text_layout_get_line_display),
              (_gtk_text_layout_get_block_cursor):
              * gtk/gtktextlayout.h:
              * gtk/gtktextutil.c (layout_get_char_width),
              (_gtk_text_util_get_block_cursor_location):
              * gtk/gtktextutil.h:
              * gtk/gtktextview.c (gtk_text_view_set_editable),
              (gtk_text_view_toggle_overwrite), (gtk_text_view_set_overwrite),
              (gtk_text_view_ensure_layout), (text_window_invalidate_cursors):
              Implement block-cursor for overwrite mode.  (#80378)
      
      
      svn path=/trunk/; revision=18108
      ef1e05f7