Commit Graph

17138 Commits

Author SHA1 Message Date
Matthias Clasen
10e3a68267 More of the same
svn path=/trunk/; revision=21822
2008-11-29 07:56:32 +00:00
Matthias Clasen
f5aa73e6ae better deprecation annotation
svn path=/trunk/; revision=21821
2008-11-29 07:29:25 +00:00
Matthias Clasen
3aa4d705d4 improve deprecation annotation
svn path=/trunk/; revision=21820
2008-11-29 07:22:00 +00:00
Matthias Clasen
1be770bc40 improve deprecation annotation
svn path=/trunk/; revision=21819
2008-11-29 07:19:12 +00:00
Matthias Clasen
c4c4b02640 improve deprecation annotation
svn path=/trunk/; revision=21818
2008-11-29 07:12:49 +00:00
Matthias Clasen
7d95e01c02 better deprecation annotation
svn path=/trunk/; revision=21817
2008-11-29 07:06:37 +00:00
Matthias Clasen
cf058f80be Improve deprecation annotation
svn path=/trunk/; revision=21816
2008-11-29 07:01:32 +00:00
Matthias Clasen
8032c48344 Improve deprecation annotations
svn path=/trunk/; revision=21815
2008-11-29 06:57:55 +00:00
Matthias Clasen
fe9e09a542 Improve deprecation annotations
svn path=/trunk/; revision=21814
2008-11-29 06:31:17 +00:00
Matthias Clasen
dc3547de3c Don't rely on gtk_expander_get_label
svn path=/trunk/; revision=21812
2008-11-28 04:04:03 +00:00
Christian Dywan
46e4d22c89 Bug 561504 – testgtk should load rc file from sub folder
2008-11-26  Christian Dywan  <christian@imendio.com>

	Bug 561504 – testgtk should load rc file from sub folder

	* tests/testgtk.c (main):
        Make testgtk look in subfolder and warn if not found

svn path=/trunk/; revision=21809
2008-11-26 08:36:10 +00:00
Christian Dywan
2c83960053 Bug 559009 – gtk_radio_button_get_group documentation needs to say
2008-11-25  Christian Dywan  <christian@imendio.com>

	Bug 559009 – gtk_radio_button_get_group documentation needs
        to say whether to free the returned GSList

	* gtk/tmpl/gtkradiobutton.sgml: Clarify radio_button_get_group docs

svn path=/trunk/; revision=21808
2008-11-25 15:59:05 +00:00
Johan Dahlin
def5d1c47f Bug 559947 – Unchecked dependency on python>=2.4
2008-11-25  Johan Dahlin  <jdahlin@async.com.br>

    Bug 559947 – Unchecked dependency on python>=2.4

    * gtk/gtk-builder-convert:
    Avoid using sorted() which is only present in python 2.


svn path=/trunk/; revision=21807
2008-11-25 13:09:43 +00:00
Tristan Van Berkom
13d18fe980 Bug 561539 - Fix warnings when size allocations fall short of border width
* gtk/gtkalignment.c: Bug 561539 - Fix warnings when size allocations
	fall short of border width and padding.


svn path=/trunk/; revision=21805
2008-11-24 19:20:16 +00:00
Li Yuan
08b8150598 Bug #554002. Add cache's page count when add pages.
2008-11-24  Li Yuan  <li.yuan@sun.com>

        * gailnotebook.c: (gail_notebook_page_added):
        Bug #554002. Add cache's page count when add pages.

svn path=/trunk/; revision=21800
2008-11-24 06:33:34 +00:00
Paul Bolle
abcd0078d2 Bug 561335 - Fix typos in GtkToolItem documentation
* gtk/gtktoolitem.c: Fix typos in GtkToolItem documentation

svn path=/trunk/; revision=21798
2008-11-22 14:26:00 +00:00
Matthias Clasen
7dfb0b734b Use a new gtk-doc feature to generate much nicer indices.
2008-11-21  Matthias Clasen  <mclasen@redhat.com>

        * gtk/Makefile.am:
        * gdk/Makefile.am:
        * gdk-pixbuf/Makefile.am: Use a new gtk-doc feature to generate
        much nicer indices.

        * gtk/drawing-model.xml: Fix document structure


svn path=/trunk/; revision=21795
2008-11-21 08:21:28 +00:00
Matthias Clasen
c428039493 Bump gtk-doc dependency to 1.11 for nicer index-generation.
2008-11-21  Matthias Clasen <mclasen@redhat.com>

        * configure.in: Bump gtk-doc dependency to 1.11 for
        nicer index-generation.

2008-11-21  Matthias Clasen <mclasen@redhat.com>

        * gtk/gtkmountoperation.[hc]: Declare structs in a way that
        gtk-doc understands.



svn path=/trunk/; revision=21794
2008-11-21 08:20:19 +00:00
Christian Dywan
ba471ea3b2 Bug 377699 – realizing gtk.Progress() causes SEGV
2008-11-17  Christian Dywan  <christian@imendio.com>

	Bug 377699 – realizing gtk.Progress() causes SEGV

	* gtk/gtkprogress.c: Define GtkProgress as an abstract type

svn path=/trunk/; revision=21792
2008-11-17 09:50:55 +00:00
Nickolay V. Shmyrev
22919283e6 Updated Russian translation by Anton Shestakov
2008-11-16  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>

	* ru.po: Updated Russian translation by Anton Shestakov


svn path=/trunk/; revision=21791
2008-11-16 01:30:23 +00:00
Christian Dywan
9f6daa9fb2 Bug 560602 – Wrong GtkMenuItem default value (test fails)
2008-11-13  Christian Dywan  <christian@imendio.com>

	Bug 560602 – Wrong GtkMenuItem default value (test fails)

	* gtk/gtkmenuitem.c (gtk_menu_item_class_init):
	Correct default "label" value to ""

svn path=/trunk/; revision=21788
2008-11-13 08:48:38 +00:00
Christian Dywan
207f3f8685 Bug 560139 – GtkEntry doesn't paint with the right state
2008-11-12  Christian Dywan  <christian@imendio.com>

	Bug 560139 – GtkEntry doesn't paint with the right state

	* gtk/gtkentry.c (gtk_entry_class_init), (gtk_entry_draw_frame),
	(gtk_entry_expose): Reflect the right state if state-hint is set

svn path=/trunk/; revision=21787
2008-11-12 16:11:30 +00:00
Christian Dywan
ba9c358b53 Bug 559619 – invisible-char default cannot be tested
2008-11-12  Christian Dywan  <christian@imendio.com>

	Bug 559619 – invisible-char default cannot be tested

	* gtk/tests/defaultvalue.c (test_type):
        Skip invisible-char when testing

svn path=/trunk/; revision=21786
2008-11-12 15:48:51 +00:00
Richard Hult
7cf03f2fd2 Implement, patch from Paul Davis.
2008-11-12  Richard Hult  <richard@imendio.com>

	* gtk/gtkdnd-quartz.c: (gtk_drag_set_icon_pixmap): Implement,
	patch from Paul Davis.

svn path=/trunk/; revision=21785
2008-11-12 15:39:33 +00:00
Christian Dywan
f95709b394 Bug 525550 – GTK+ 2.13.0 GtkCurve test fails
2008-11-12  Christian Dywan  <christian@imendio.com>

	Bug 525550 – GTK+ 2.13.0 GtkCurve test fails

	* gtk/tests/object.c (list_ignore_properties),
	(object_test_property), (main): Ignore GtkCurve when testing

svn path=/trunk/; revision=21784
2008-11-12 15:15:02 +00:00
Richard Hult
b81b90949b Bug 550942 – [patch] Rework of gdkeventloop-quartz.c
2008-11-12  Richard Hult  <richard@imendio.com>

	Bug 550942 – [patch] Rework of gdkeventloop-quartz.c

	* gdk/gdk.c:
	* gdk/gdkinternals.h: Add eventloop debug facility.
	* gdk/quartz/gdkeventloop-quartz.c: Big rework of the quartz
	mainloop integration, patch from Owen Taylor. See bug #550942 for
	the details.

svn path=/trunk/; revision=21783
2008-11-12 13:30:22 +00:00
Richard Hult
2c3590b47e Bug 558586 – handling of keyboard under darwin (quartz)
2008-11-12  Richard Hult  <richard@imendio.com>

	Bug 558586 – handling of keyboard under darwin (quartz)

	* gdk/quartz/gdkkeys-quartz.c: Follow up on this bug, only use the
	new API when building on 64-bit, since there are still old non-xml
	layouts used out there we don't want to break them. (For 64-bit
	those layouts doesn't work so we don't have a choice there.)

svn path=/trunk/; revision=21782
2008-11-12 12:56:17 +00:00
Matthias Clasen
c2d48cfc91 Chain up enter and leave notify handlers
svn path=/trunk/; revision=21781
2008-11-11 18:10:20 +00:00
Michael Natterer
8121c60d3d Bug 553765 – Add orientation API to GtkRange
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=21780
2008-11-11 18:07:25 +00:00
Michael Natterer
0498dca831 Bug 553765 – Add orientation API to GtkRange
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
2008-11-11 17:47:13 +00:00
Michael Natterer
4d8f9d2ef3 move deprecated functions together, move setters and getters together,
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
2008-11-11 15:45:08 +00:00
Michael Natterer
8004fcbfc1 implement the GtkOrientable interface and deprecate
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
2008-11-11 15:28:07 +00:00
Nickolay V. Shmyrev
4e29d5da8d Bug fixes in Russian translation.
svn path=/trunk/; revision=21776
2008-11-10 20:01:46 +00:00
Marek Kasik
0212f0457c Bug 560135 - Print when the user double clicks a printer
2008-11-10  Marek Kasik  <mkasik@redhat.com>

	Bug 560135 - Print when the user double clicks a printer

	* gtk/gtkprintunixdialog.c: add handling of double click to
	GtkPrintUnixDialog.

svn path=/trunk/; revision=21775
2008-11-10 15:33:44 +00:00
Michael Natterer
0a0f9eaf48 argh, actually call the newly added private gtk_paned_calc_position()
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
2008-11-07 16:50:29 +00:00
Michael Natterer
a47ed50739 Fix my email.
svn path=/trunk/; revision=21773
2008-11-07 16:41:39 +00:00
Michael Natterer
59f0703855 Bug 553586 – Add orientation API to GtkPaned
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
2008-11-07 16:39:50 +00:00
Johan Dahlin
3e72ccbcdc Check for child->parent instead of GTK_WIDGET_TOPLEVEL.
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
2008-11-07 16:25:26 +00:00
Michael Natterer
4714ce9aa6 remove bogus newlines in the middle of function calls, fix broken
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
2008-11-06 23:52:30 +00:00
Michael Natterer
2070442df4 Fix broken ChangeLog formatting.
svn path=/trunk/; revision=21768
2008-11-06 23:51:59 +00:00
Tristan Van Berkom
4858ae47e2 Made buildable and added support for adding children of type "submenu"
* 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
2008-11-06 17:34:30 +00:00
Tristan Van Berkom
70a5f5388e added new apis gtk_menu_item_[set/get]_label() and
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
2008-11-06 17:19:08 +00:00
Tristan Van Berkom
71f27b36de Fixed a crasher in GTK_BUILDER_WARN_INVALID_CHILD_TYPE()
* gtk/gtkbuilder.h: Fixed a crasher in GTK_BUILDER_WARN_INVALID_CHILD_TYPE()


svn path=/trunk/; revision=21765
2008-11-06 17:03:35 +00:00
Tristan Van Berkom
8e56120e5a gtk_label_set_attributes() now applies attributes on top of any markup or
* 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
2008-11-06 16:36:16 +00:00
Richard Hult
a4088461ae Bug 558586 – handling of keyboard under darwin (quartz)
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
2008-11-06 15:35:56 +00:00
Richard Hult
31357d3cc7 Revert (at least for now) the alt/cmd switching since it breaks the
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
2008-11-05 19:12:48 +00:00
Christian Dywan
89e28e068c Bug 559404 – gtk_editable_insert_text counts length in bytes
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
2008-11-05 14:27:33 +00:00
Richard Hult
a641e8fb92 Set the fill color outside the loop.
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
2008-11-05 10:26:47 +00:00
Richard Hult
43c5ef3128 Fix build for win32 and quartz.
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
2008-11-05 10:24:30 +00:00
Nickolay V. Shmyrev
09e3c540dc Updated Russian translation by Anton Shestakov.
2008-11-05  Nickolay V. Shmyrev  <nshmyrev@yandex.ru>

	* ru.po: Updated Russian translation by Anton Shestakov.


svn path=/trunk/; revision=21757
2008-11-04 23:36:22 +00:00