1. 11 Nov, 2008 3 commits
    • Michael Natterer's avatar
      Bug 553765 – Add orientation API to GtkRange · 0498dca8
      Michael Natterer authored
      2008-11-11  Michael Natterer  <mitch@imendio.com>
      
      	Bug 553765 – Add orientation API to GtkRange
      
      	* gtk/gtkrange.[ch]: implement the GtkOrientable interface. Add
      	evil code that makes sure that the stepper_detail and slider_detail
      	set in GtkRangeClass continue to work with the hacked subclasses
      	below.
      
      	* gtk/gtkscale.[ch]: swallow all code from GtkHScale and GtkVScale
      	and add gtk_scale_new() and gtk_scale_new_with_range() which take
      	a GtkOrientation argument. Set slider_detail to "Xscale" so above
      	evil code works.
      
      	* gtk/gtkscrollbar.[ch]: add gtk_scrollbar_new() which takes a
      	GtkOrientation argument. Set stepper_detail to "Xscrollbar" so
      	above evil code works.
      
      	* gtk/gtkhscale.c
      	* gtk/gtkvscale.c
      	* gtk/gtkhscrollbar.c
      	* gtk/gtkvscrollbar.c: remove all code except the constructor and
      	call gtk_orientable_set_orientation() in init().
      
      	* gtk/gtk.symbols: changed accordingly.
      
      
      svn path=/trunk/; revision=21779
      0498dca8
    • Michael Natterer's avatar
      move deprecated functions together, move setters and getters together, · 4d8f9d2e
      Michael Natterer authored
      2008-11-11  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtktoolbar.h: move deprecated functions together, move
      	setters and getters together, some indentation cleanup.
      
      
      svn path=/trunk/; revision=21778
      4d8f9d2e
    • Michael Natterer's avatar
      implement the GtkOrientable interface and deprecate · 8004fcbf
      Michael Natterer authored
      2008-11-11  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtktoolbar.[ch]: implement the GtkOrientable interface
      	and deprecate gtk_toolbar_get,set_orientation().
      
      	* gtk/gtk.symbols: changed accordingly.
      
      
      svn path=/trunk/; revision=21777
      8004fcbf
  2. 10 Nov, 2008 2 commits
  3. 07 Nov, 2008 4 commits
    • Michael Natterer's avatar
      argh, actually call the newly added private gtk_paned_calc_position() · 0a0f9eaf
      Michael Natterer authored
      2008-11-07  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkpaned.c: argh, actually call the newly added private
      	gtk_paned_calc_position() instead of the deprecated public
      	version.
      
      
      svn path=/trunk/; revision=21774
      0a0f9eaf
    • Michael Natterer's avatar
      Fix my email. · a47ed507
      Michael Natterer authored
      
      svn path=/trunk/; revision=21773
      a47ed507
    • Michael Natterer's avatar
      Bug 553586 – Add orientation API to GtkPaned · 59f07038
      Michael Natterer authored
      2008-11-07  Michael Natterer  <mitch@gimp.org>
      
      	Bug 553586 – Add orientation API to GtkPaned
      
      	* gtk/gtkpaned.[ch]: implement the GtkOrientable interface
      	and swallow all code from GtkHPaned and GtkVPaned. Add
      	gtk_paned_new() which takes a GtkOrientation argument. Deprecate
      	gtk_paned_compute_position() for good (also for GTK_COMPILATION).
      
      	* gtk/gtkhpaned.[ch]
      	* gtk/gtkvpaned.[ch]: remove all code except the constructor and
      	call gtk_orientable_set_orientation() in init().
      
      	* gtk/gtk.symbols: add gtk_box_new().
      
      
      svn path=/trunk/; revision=21772
      59f07038
    • Johan Dahlin's avatar
      Check for child->parent instead of GTK_WIDGET_TOPLEVEL. · 3e72ccbc
      Johan Dahlin authored
      2008-11-07  Johan Dahlin  <jdahlin@async.com.br>
      
          * gtk/gtkcontainer.c (gtk_container_buildable_add_child):
          Check for child->parent instead of GTK_WIDGET_TOPLEVEL.
      
      
      svn path=/trunk/; revision=21771
      3e72ccbc
  4. 06 Nov, 2008 7 commits
    • Michael Natterer's avatar
      remove bogus newlines in the middle of function calls, fix broken · 4714ce9a
      Michael Natterer authored
      2008-11-07  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkscrollbar.c: remove bogus newlines in the middle of
      	function calls, fix broken indentation and remove trailing
      	whitespace.
      
      
      svn path=/trunk/; revision=21769
      4714ce9a
    • Michael Natterer's avatar
      Fix broken ChangeLog formatting. · 2070442d
      Michael Natterer authored
      
      svn path=/trunk/; revision=21768
      2070442d
    • Tristan Van Berkom's avatar
      Made buildable and added support for adding children of type "submenu" · 4858ae47
      Tristan Van Berkom authored
      
      	* gtk/gtkmenuitem.c: Made buildable and added support for adding children
      	of type "submenu"
      
      	* gtk/gtkwindow.c: Added support for custom tag "accel-groups" to add GtkAccelGroups
      	to the window.
      
      	* gtk/gtkcontainer.c: Added builder contextual warnings in buildable_add_child()
      
      	* gtk/tests/builder.c: Added tests for buildable menus (test that accelerators are
      	properly connected on stock items, test the menu hierarchy, test permission to
      	add alien/custom menuitem children).
      
      	* docs/reference/gtk/tmpl/gtkbuilder.sgml, docs/reference/gtk/tmpl/gtkwindow.sgml,
      	docs/reference/gtk/tmpl/gtkmenuitem.sgml: Updated docs for buildable submenus
      	and accel groups.
      
      
      svn path=/trunk/; revision=21767
      4858ae47
    • Tristan Van Berkom's avatar
      added new apis gtk_menu_item_[set/get]_label() and · 70a5f538
      Tristan Van Berkom authored
      2008-11-06  Tristan Van Berkom <tvb@gnome.org>
      
      	* gtk/gtkmenuitem.[ch]: added new apis gtk_menu_item_[set/get]_label() and
      	gtk_menu_item_[set/get]_use_underline() with "label" and "use-underline"
      	properties, constructors cleaned up to use g_object_new().
      	GtkMenuItemClass take new vfuncs ->get/set_label().
      
      	* gtk/gtkcheckmenuitem.c: constructors cleaned up to use g_object_new().
      
      	* gtk/gtkimagemenuitem.[ch]: added new apis gtk_image_menu_item_[get/set]_use_stock()
      	and gtk_image_menu_item_set_accel_group() with "use-stock" and write-only
      	"accel-group" properties. constructors cleaned up to use g_object_new().
      
      
      svn path=/trunk/; revision=21766
      70a5f538
    • Tristan Van Berkom's avatar
      Fixed a crasher in GTK_BUILDER_WARN_INVALID_CHILD_TYPE() · 71f27b36
      Tristan Van Berkom authored
      
      	* gtk/gtkbuilder.h: Fixed a crasher in GTK_BUILDER_WARN_INVALID_CHILD_TYPE()
      
      
      svn path=/trunk/; revision=21765
      71f27b36
    • Tristan Van Berkom's avatar
      gtk_label_set_attributes() now applies attributes on top of any markup or · 8e56120e
      Tristan Van Berkom authored
      
      	* gtk/gtklabel.c: gtk_label_set_attributes() now applies attributes
      	on top of any markup or mnemonic attributes (bug 558409).
      
      	* README: Updated and added release notes for 2.16
      
      
      svn path=/trunk/; revision=21764
      8e56120e
    • Richard Hult's avatar
      Bug 558586 – handling of keyboard under darwin (quartz) · a4088461
      Richard Hult authored
      2008-11-06  Richard Hult  <richard@imendio.com>
      
      	Bug 558586 – handling of keyboard under darwin (quartz)
      
      	* gdk/quartz/gdkkeys-quartz.c: (maybe_update_keymap): Patch from
      	Arnaud Charlet to replace use of deprecated keyboard layout API
      	with the new TIS API available in 10.5. The old code is still used
      	when building for 10.4.
      
      svn path=/trunk/; revision=21763
      a4088461
  5. 05 Nov, 2008 4 commits
    • Richard Hult's avatar
      Revert (at least for now) the alt/cmd switching since it breaks the · 31357d3c
      Richard Hult authored
      2008-11-05  Richard Hult  <richard@imendio.com>
      
      	* gdk/quartz/gdkevents-quartz.c:
      	(get_keyboard_modifiers_from_ns_event), (create_key_event): Revert
      	(at least for now) the alt/cmd switching since it breaks the
      	"alt-gr" functionality of alt which makes it impossible to input
      	lots of characters.
      
      svn path=/trunk/; revision=21761
      31357d3c
    • Christian Dywan's avatar
      Bug 559404 – gtk_editable_insert_text counts length in bytes · 89e28e06
      Christian Dywan authored
      2008-11-05  Christian Dywan  <christian@imendio.com>
      
      	Bug 559404 – gtk_editable_insert_text counts length in bytes
      
      	* gtk/gtkeditable.c:
      	Document new_text_length as the number of bytes
      
      svn path=/trunk/; revision=21760
      89e28e06
    • Richard Hult's avatar
      Set the fill color outside the loop. · a641e8fb
      Richard Hult authored
      2008-11-05  Richard Hult  <richard@imendio.com>
      
      	* gdk/quartz/gdkwindow-quartz.c:
      	(gdk_window_impl_quartz_begin_paint_region): Set the fill color
      	outside the loop.
      
      svn path=/trunk/; revision=21759
      a641e8fb
    • Richard Hult's avatar
      Fix build for win32 and quartz. · 43c5ef31
      Richard Hult authored
      2008-11-05  Richard Hult  <richard@imendio.com>
      
      	* gtk/gtkstatusicon.c: (gtk_status_icon_set_has_tooltip),
      	(gtk_status_icon_get_tooltip_markup): Fix build for win32 and
      	quartz.
      
      svn path=/trunk/; revision=21758
      43c5ef31
  6. 04 Nov, 2008 1 commit
  7. 03 Nov, 2008 4 commits
  8. 02 Nov, 2008 1 commit
    • Matthias Clasen's avatar
      Make it possible to overrule the gtk-menu-images setting. · cbc5d3e3
      Matthias Clasen authored
      2008-11-02  Matthias Clasen  <mclasen@redhat.com>
      
              * gtk/gtkimagemenuitem.c: Make it possible to overrule the
              gtk-menu-images setting.
      
              * gtk/gtkaction.c (connect_proxy): Show the image before adding
      it to the image menu item.
      
      svn path=/trunk/; revision=21751
      cbc5d3e3
  9. 01 Nov, 2008 7 commits
  10. 31 Oct, 2008 4 commits
  11. 30 Oct, 2008 3 commits