]> Pileus Git - ~andy/gtk/log
~andy/gtk
15 years agoBug 559914 – eog doesn't apply paper setup.
Marek Kasik [Wed, 3 Dec 2008 10:17:45 +0000 (10:17 +0000)]
Bug 559914 – eog doesn't apply paper setup.

2008-12-03  Marek Kasik  <mkasik@redhat.com>

Bug 559914 – eog doesn't apply paper setup.

* gtk/gtkpapersize.c: Call the gtk_paper_size_new_from_ppd() with width
and height in points.

svn path=/trunk/; revision=21841

15 years agoBug 562878 – password save incorrectly set in gtkmountoperation
Carlos Garcia Campos [Tue, 2 Dec 2008 09:06:35 +0000 (09:06 +0000)]
Bug 562878 – password save incorrectly set in gtkmountoperation

2008-12-02  Carlos Garcia Campos  <carlosgc@gnome.org>

Bug 562878 – password save incorrectly set in gtkmountoperation

* gtk/gtkmountoperation.c (remember_button_toggled),
(gtk_mount_operation_ask_password): Remember the password save
flags only when the radio button becomes active. Set also the
default state of the radio buttons depending on the current value
of password save flags.

svn path=/trunk/; revision=21840

15 years agoFilter out shadow mounts
Matthias Clasen [Mon, 1 Dec 2008 05:42:28 +0000 (05:42 +0000)]
Filter out shadow mounts

svn path=/trunk/; revision=21838

15 years agoRevert an accidental change
Matthias Clasen [Mon, 1 Dec 2008 03:41:00 +0000 (03:41 +0000)]
Revert an accidental change

svn path=/trunk/; revision=21837

15 years agoBug 562817 – Typo in GtkDialog
Paul Bolle [Sun, 30 Nov 2008 23:49:29 +0000 (23:49 +0000)]
Bug 562817 – Typo in GtkDialog

2008-12-01  Paul Bolle  <pebolle@tiscali.nl>

Bug 562817 – Typo in GtkDialog

* gtk/gtkdialog.c: Fix typo

svn path=/trunk/; revision=21836

15 years agoBug 554453 – "typeahead find" widget of GtkTreeView appears on wrong
Matthias Clasen [Sun, 30 Nov 2008 06:05:23 +0000 (06:05 +0000)]
Bug 554453 – "typeahead find" widget of GtkTreeView appears on wrong

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

        Bug 554453 – "typeahead find" widget of GtkTreeView appears on
        wrong monitor in a multi-head environment

        * gtk/gtktreeview.c (gtk_tree_view_ensure_interactive_directory):
        Make sure the typeahead window follows screen changes of the
        treeview. Noticed by Rainer Stransky

svn path=/trunk/; revision=21835

15 years agoBug 559622 – GdkDevice test segfaults
Christian Dywan [Sun, 30 Nov 2008 05:33:57 +0000 (05:33 +0000)]
Bug 559622 – GdkDevice test segfaults

2008-11-30  Christian Dywan  <christian@imendio.com>

Bug 559622 – GdkDevice test segfaults

* gdk/x11/gdkdisplay-x11.c (gdk_display_x11_dispose):
* gdk/x11/gdkinput.c (gdk_device_class_init), (gdk_device_dispose):
Free and reset device in dispose. Patch by Michael Natterer and myself.

svn path=/trunk/; revision=21834

15 years agoBug 554076 – eventually release g_new-ed supported_atoms
Christian Dywan [Sun, 30 Nov 2008 05:28:28 +0000 (05:28 +0000)]
Bug 554076 – eventually release g_new-ed supported_atoms

2008-11-30  Christian Dywan  <christian@imendio.com>

Bug 554076 – eventually release g_new-ed supported_atoms

* gdk/x11/gdkevents-x11.c (cleanup_atoms),
(gdk_x11_screen_supports_net_wm_hint): Set cleanup callback.
        Patch by Caolan McNamara.

svn path=/trunk/; revision=21833

15 years agoBug 561186 – GdkPixbuf API type checking needs cleanup
Christian Dywan [Sun, 30 Nov 2008 05:22:03 +0000 (05:22 +0000)]
Bug 561186 – GdkPixbuf API type checking needs cleanup

2008-11-30  Christian Dywan  <christian@imendio.com>

Bug 561186 – GdkPixbuf API type checking needs cleanup

* gdk-pixbuf-loader.c (gdk_pixbuf_loader_write),
(gdk_pixbuf_loader_get_pixbuf), (gdk_pixbuf_loader_get_animation),
(gdk_pixbuf_loader_close), (gdk_pixbuf_loader_get_format):
* gdk-pixbuf-scale.c (gdk_pixbuf_scale), (gdk_pixbuf_composite),
(gdk_pixbuf_composite_color), (gdk_pixbuf_scale_simple),
(gdk_pixbuf_composite_color_simple):
* gdk-pixbuf-simple-anim.c (gdk_pixbuf_simple_anim_add_frame):
* gdk-pixbuf-util.c (gdk_pixbuf_add_alpha),
(gdk_pixbuf_apply_embedded_orientation):
        Improve type checking in pixbuf API

svn path=/trunk/; revision=21832

15 years agoBug 539263 – Deprecate gdk_window_get_toplevels
Christian Dywan [Sun, 30 Nov 2008 05:04:29 +0000 (05:04 +0000)]
Bug 539263 – Deprecate gdk_window_get_toplevels

2008-11-30  Christian Dywan  <christian@imendio.com>

Bug 539263 – Deprecate gdk_window_get_toplevels

* gdk/gdkwindow.c:
* gdk/gdkwindow.h: Deprecate gdk_window_get_toplevels

svn path=/trunk/; revision=21831

15 years agobnc447004 - Flip tree lines around in the right-to-left case
Federico Mena Quintero [Sat, 29 Nov 2008 22:15:37 +0000 (22:15 +0000)]
bnc447004 - Flip tree lines around in the right-to-left case
2008-11-29  Federico Mena Quintero  <federico@novell.com>

* gtk/gtktreeview.c (gtk_tree_view_bin_expose): If tree lines are
enabled, flip them around for the right-to-left case.  Fixes
https://bugzilla.novell.com/show_bug.cgi?id=447004.  Patch by
Ricardo Cruz <rpmcruz@alunos.dcc.fc.up.pt>

Signed-off-by: Federico Mena Quintero <federico@novell.com>
svn path=/trunk/; revision=21829

15 years agoUpdate all screnshots of reference to have a consistent look.
Baptiste Mille-Mathias [Sat, 29 Nov 2008 21:19:12 +0000 (21:19 +0000)]
Update all screnshots of reference to have a consistent look.

svn path=/trunk/; revision=21828

15 years agoTypo fix.
Christian Persch [Sat, 29 Nov 2008 21:14:31 +0000 (21:14 +0000)]
Typo fix.

* gtk/gtkselection.c: Typo fix.

svn path=/trunk/; revision=21827

15 years agobetter deprecation notes
Matthias Clasen [Sat, 29 Nov 2008 08:22:00 +0000 (08:22 +0000)]
better deprecation notes

svn path=/trunk/; revision=21826

15 years agoMore deprecation cleanup
Matthias Clasen [Sat, 29 Nov 2008 08:10:22 +0000 (08:10 +0000)]
More deprecation cleanup

svn path=/trunk/; revision=21825

15 years agoMore deprecation cleanup
Matthias Clasen [Sat, 29 Nov 2008 08:02:42 +0000 (08:02 +0000)]
More deprecation cleanup

svn path=/trunk/; revision=21824

15 years agoMore of the same
Matthias Clasen [Sat, 29 Nov 2008 07:58:34 +0000 (07:58 +0000)]
More of the same

svn path=/trunk/; revision=21823

15 years agoMore of the same
Matthias Clasen [Sat, 29 Nov 2008 07:56:32 +0000 (07:56 +0000)]
More of the same

svn path=/trunk/; revision=21822

15 years agobetter deprecation annotation
Matthias Clasen [Sat, 29 Nov 2008 07:29:25 +0000 (07:29 +0000)]
better deprecation annotation

svn path=/trunk/; revision=21821

15 years agoimprove deprecation annotation
Matthias Clasen [Sat, 29 Nov 2008 07:22:00 +0000 (07:22 +0000)]
improve deprecation annotation

svn path=/trunk/; revision=21820

15 years agoimprove deprecation annotation
Matthias Clasen [Sat, 29 Nov 2008 07:19:12 +0000 (07:19 +0000)]
improve deprecation annotation

svn path=/trunk/; revision=21819

15 years agoimprove deprecation annotation
Matthias Clasen [Sat, 29 Nov 2008 07:12:49 +0000 (07:12 +0000)]
improve deprecation annotation

svn path=/trunk/; revision=21818

15 years agobetter deprecation annotation
Matthias Clasen [Sat, 29 Nov 2008 07:06:37 +0000 (07:06 +0000)]
better deprecation annotation

svn path=/trunk/; revision=21817

15 years agoImprove deprecation annotation
Matthias Clasen [Sat, 29 Nov 2008 07:01:32 +0000 (07:01 +0000)]
Improve deprecation annotation

svn path=/trunk/; revision=21816

15 years agoImprove deprecation annotations
Matthias Clasen [Sat, 29 Nov 2008 06:57:55 +0000 (06:57 +0000)]
Improve deprecation annotations

svn path=/trunk/; revision=21815

15 years agoImprove deprecation annotations
Matthias Clasen [Sat, 29 Nov 2008 06:31:17 +0000 (06:31 +0000)]
Improve deprecation annotations

svn path=/trunk/; revision=21814

15 years agoDon't rely on gtk_expander_get_label
Matthias Clasen [Fri, 28 Nov 2008 04:04:03 +0000 (04:04 +0000)]
Don't rely on gtk_expander_get_label

svn path=/trunk/; revision=21812

15 years agoBug 561504 – testgtk should load rc file from sub folder
Christian Dywan [Wed, 26 Nov 2008 08:36:10 +0000 (08:36 +0000)]
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

15 years agoBug 559009 – gtk_radio_button_get_group documentation needs to say
Christian Dywan [Tue, 25 Nov 2008 15:59:05 +0000 (15:59 +0000)]
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

15 years agoBug 559947 – Unchecked dependency on python>=2.4
Johan Dahlin [Tue, 25 Nov 2008 13:09:43 +0000 (13:09 +0000)]
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

15 years agoBug 561539 - Fix warnings when size allocations fall short of border width
Tristan Van Berkom [Mon, 24 Nov 2008 19:20:16 +0000 (19:20 +0000)]
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

15 years agoBug #554002. Add cache's page count when add pages.
Li Yuan [Mon, 24 Nov 2008 06:33:34 +0000 (06:33 +0000)]
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

15 years agoBug 561335 - Fix typos in GtkToolItem documentation
Paul Bolle [Sat, 22 Nov 2008 14:26:00 +0000 (14:26 +0000)]
Bug 561335 - Fix typos in GtkToolItem documentation

* gtk/gtktoolitem.c: Fix typos in GtkToolItem documentation

svn path=/trunk/; revision=21798

15 years agoUse a new gtk-doc feature to generate much nicer indices.
Matthias Clasen [Fri, 21 Nov 2008 08:21:28 +0000 (08:21 +0000)]
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

15 years agoBump gtk-doc dependency to 1.11 for nicer index-generation.
Matthias Clasen [Fri, 21 Nov 2008 08:20:19 +0000 (08:20 +0000)]
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

15 years agoBug 377699 – realizing gtk.Progress() causes SEGV
Christian Dywan [Mon, 17 Nov 2008 09:50:55 +0000 (09:50 +0000)]
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

15 years agoUpdated Russian translation by Anton Shestakov
Nickolay V. Shmyrev [Sun, 16 Nov 2008 01:30:23 +0000 (01:30 +0000)]
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

15 years agoBug 560602 – Wrong GtkMenuItem default value (test fails)
Christian Dywan [Thu, 13 Nov 2008 08:48:38 +0000 (08:48 +0000)]
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

15 years agoBug 560139 – GtkEntry doesn't paint with the right state
Christian Dywan [Wed, 12 Nov 2008 16:11:30 +0000 (16:11 +0000)]
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

15 years agoBug 559619 – invisible-char default cannot be tested
Christian Dywan [Wed, 12 Nov 2008 15:48:51 +0000 (15:48 +0000)]
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

15 years agoImplement, patch from Paul Davis.
Richard Hult [Wed, 12 Nov 2008 15:39:33 +0000 (15:39 +0000)]
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

15 years agoBug 525550 – GTK+ 2.13.0 GtkCurve test fails
Christian Dywan [Wed, 12 Nov 2008 15:15:02 +0000 (15:15 +0000)]
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

15 years agoBug 550942 – [patch] Rework of gdkeventloop-quartz.c
Richard Hult [Wed, 12 Nov 2008 13:30:22 +0000 (13:30 +0000)]
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

15 years agoBug 558586 – handling of keyboard under darwin (quartz)
Richard Hult [Wed, 12 Nov 2008 12:56:17 +0000 (12:56 +0000)]
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

15 years agoChain up enter and leave notify handlers
Matthias Clasen [Tue, 11 Nov 2008 18:10:20 +0000 (18:10 +0000)]
Chain up enter and leave notify handlers

svn path=/trunk/; revision=21781

15 years agoBug 553765 – Add orientation API to GtkRange
Michael Natterer [Tue, 11 Nov 2008 18:07:25 +0000 (18:07 +0000)]
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

15 years agoBug 553765 – Add orientation API to GtkRange
Michael Natterer [Tue, 11 Nov 2008 17:47:13 +0000 (17:47 +0000)]
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

15 years agomove deprecated functions together, move setters and getters together,
Michael Natterer [Tue, 11 Nov 2008 15:45:08 +0000 (15:45 +0000)]
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

15 years agoimplement the GtkOrientable interface and deprecate
Michael Natterer [Tue, 11 Nov 2008 15:28:07 +0000 (15:28 +0000)]
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

15 years agoBug fixes in Russian translation.
Nickolay V. Shmyrev [Mon, 10 Nov 2008 20:01:46 +0000 (20:01 +0000)]
Bug fixes in Russian translation.

svn path=/trunk/; revision=21776

15 years agoBug 560135 - Print when the user double clicks a printer
Marek Kasik [Mon, 10 Nov 2008 15:33:44 +0000 (15:33 +0000)]
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

15 years agoargh, actually call the newly added private gtk_paned_calc_position()
Michael Natterer [Fri, 7 Nov 2008 16:50:29 +0000 (16:50 +0000)]
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

15 years agoFix my email.
Michael Natterer [Fri, 7 Nov 2008 16:41:39 +0000 (16:41 +0000)]
Fix my email.

svn path=/trunk/; revision=21773

15 years agoBug 553586 – Add orientation API to GtkPaned
Michael Natterer [Fri, 7 Nov 2008 16:39:50 +0000 (16:39 +0000)]
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

15 years agoCheck for child->parent instead of GTK_WIDGET_TOPLEVEL.
Johan Dahlin [Fri, 7 Nov 2008 16:25:26 +0000 (16:25 +0000)]
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

15 years agoremove bogus newlines in the middle of function calls, fix broken
Michael Natterer [Thu, 6 Nov 2008 23:52:30 +0000 (23:52 +0000)]
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

15 years agoFix broken ChangeLog formatting.
Michael Natterer [Thu, 6 Nov 2008 23:51:59 +0000 (23:51 +0000)]
Fix broken ChangeLog formatting.

svn path=/trunk/; revision=21768

15 years agoMade buildable and added support for adding children of type "submenu"
Tristan Van Berkom [Thu, 6 Nov 2008 17:34:30 +0000 (17:34 +0000)]
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

15 years agoadded new apis gtk_menu_item_[set/get]_label() and
Tristan Van Berkom [Thu, 6 Nov 2008 17:19:08 +0000 (17:19 +0000)]
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

15 years agoFixed a crasher in GTK_BUILDER_WARN_INVALID_CHILD_TYPE()
Tristan Van Berkom [Thu, 6 Nov 2008 17:03:35 +0000 (17:03 +0000)]
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

15 years agogtk_label_set_attributes() now applies attributes on top of any markup or
Tristan Van Berkom [Thu, 6 Nov 2008 16:36:16 +0000 (16:36 +0000)]
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

15 years agoBug 558586 – handling of keyboard under darwin (quartz)
Richard Hult [Thu, 6 Nov 2008 15:35:56 +0000 (15:35 +0000)]
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

15 years agoRevert (at least for now) the alt/cmd switching since it breaks the
Richard Hult [Wed, 5 Nov 2008 19:12:48 +0000 (19:12 +0000)]
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

15 years agoBug 559404 – gtk_editable_insert_text counts length in bytes
Christian Dywan [Wed, 5 Nov 2008 14:27:33 +0000 (14:27 +0000)]
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

15 years agoSet the fill color outside the loop.
Richard Hult [Wed, 5 Nov 2008 10:26:47 +0000 (10:26 +0000)]
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

15 years agoFix build for win32 and quartz.
Richard Hult [Wed, 5 Nov 2008 10:24:30 +0000 (10:24 +0000)]
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

15 years agoUpdated Russian translation by Anton Shestakov.
Nickolay V. Shmyrev [Tue, 4 Nov 2008 23:36:22 +0000 (23:36 +0000)]
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

15 years agoBug 557212 - Problem with which window gains focus and is visible
Tor Lillqvist [Mon, 3 Nov 2008 22:38:29 +0000 (22:38 +0000)]
Bug 557212 - Problem with which window gains focus and is visible

2008-11-04  Tor Lillqvist  <tml@novell.com>

Bug 557212 - Problem with which window gains focus and is visible

* gdk/win32/gdkevents-win32.c (ensure_stacking_on_activate_app):
Only do the restacking for the active window of the
application. Seems to fix the problem.

(gdk_event_translate): Only call ensure_stacking_on_activate_app()
when the application is being activated, not deactivated.

svn path=/trunk/; revision=21756

15 years agoAdd new statusicon tooltip api
Matthias Clasen [Mon, 3 Nov 2008 19:46:21 +0000 (19:46 +0000)]
Add new statusicon tooltip api

svn path=/trunk/; revision=21754

15 years agoBug 558001 – gtk_icon_view_enable_model_drag_[source|dest] problem
Christian Persch [Mon, 3 Nov 2008 18:40:56 +0000 (18:40 +0000)]
Bug 558001 – gtk_icon_view_enable_model_drag_[source|dest] problem

svn path=/trunk/; revision=21753

15 years agoFix the build
Matthias Clasen [Mon, 3 Nov 2008 04:45:18 +0000 (04:45 +0000)]
Fix the build

svn path=/trunk/; revision=21752

15 years agoMake it possible to overrule the gtk-menu-images setting.
Matthias Clasen [Sun, 2 Nov 2008 05:01:23 +0000 (05:01 +0000)]
Make it possible to overrule the gtk-menu-images setting.

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

15 years agoPrint the random client type name, not the fixed one.
Tor Lillqvist [Sat, 1 Nov 2008 12:18:07 +0000 (12:18 +0000)]
Print the random client type name, not the fixed one.

svn path=/trunk/; revision=21750

15 years agoNew interactive test program to verify client message functionality.
Tor Lillqvist [Sat, 1 Nov 2008 11:57:42 +0000 (11:57 +0000)]
New interactive test program to verify client message functionality.

2008-11-01  Tor Lillqvist  <tml@novell.com>

* tests/testclientmessage.c: New interactive test program to
verify client message functionality.

* tests/Makefile.am: Add it.

svn path=/trunk/; revision=21749

15 years agoBug 558278 - Crash when calling a callback set by
Tor Lillqvist [Sat, 1 Nov 2008 11:55:16 +0000 (11:55 +0000)]
Bug 558278 - Crash when calling a callback set by

2008-11-01  Tor Lillqvist  <tml@novell.com>

Bug 558278 - Crash when calling a callback set by
gdk_add_client_message_filter()

* gdk/win32/gdkevents-win32.c (apply_event_filters): Rename from
apply_filters() so that it is clear that this function is for
GdkEventFilters only.

(print_event): Print more information for GDK_CLIENT_EVENT events.

(gdk_event_translate): When handling client filters, don't use
apply_event_filters(). Use similar code as in the X11 backend,
although not exactly, as the parameter list and return value
semantics of gdk_event_translate() is different.

svn path=/trunk/; revision=21748

15 years agoAdd support for button press/release and scroll events. Patch by Ed Catmur
Matthias Clasen [Sat, 1 Nov 2008 05:33:26 +0000 (05:33 +0000)]
Add support for button press/release and scroll events. Patch by Ed Catmur

* gtk/gtkstatusicon.[hc]: Add support for button press/release and
scroll events. Patch by Ed Catmur

svn path=/trunk/; revision=21746

15 years ago Bug 322934 – Replace menu's proxy icons with empty space hiding icons
Matthias Clasen [Sat, 1 Nov 2008 04:32:40 +0000 (04:32 +0000)]
    Bug 322934 – Replace menu's proxy icons with empty space hiding icons

        * gtk/gtkmenu.c (gtk_menu_size_request): Use consistent padding
        regardless of imagees or checks being in the menu. Also add
        padding on the right edge.
        Proposal by Luca Ferretti, patch by Jon McCann

svn path=/trunk/; revision=21745

15 years agoBug 412134 – Add API to query style properties from the style
Matthias Clasen [Sat, 1 Nov 2008 04:15:14 +0000 (04:15 +0000)]
Bug 412134 – Add API to query style properties from the style

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

        Bug 412134 – Add API to query style properties from the style

        * gtk/gtk.symbols:
        * gtk/gtkstyle.[hc]: Add getters for style properties to
        avoid the need for ugly workarounds with dummy widget instances.
        Patch by Mariano Suárez-Alvarez

svn path=/trunk/; revision=21744

15 years agoRemove debug spew
Matthias Clasen [Sat, 1 Nov 2008 02:11:08 +0000 (02:11 +0000)]
Remove debug spew

svn path=/trunk/; revision=21743

15 years agoBug 558667 – gtk_font_selection_dialog_get_apply_button - deprecate?
Christian Dywan [Fri, 31 Oct 2008 22:16:41 +0000 (22:16 +0000)]
Bug 558667 – gtk_font_selection_dialog_get_apply_button - deprecate?

* gtk/gtk.symbols:
* gtk/gtkfontsel.c:
* gtk/gtkfontsel.h:
Deprecate gtk_font_selection_dialog_get_apply_button

svn path=/trunk/; revision=21742

15 years agoBug 558323 – glitches when popping up combos in treeviews
Matthias Clasen [Fri, 31 Oct 2008 18:20:07 +0000 (18:20 +0000)]
Bug 558323 – glitches when popping up combos in treeviews

gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_set_property):
Don't set the model property on the combo box, since that leads
to loops.

svn path=/trunk/; revision=21740

15 years agoBug 347230 – testicontheme shortcomings
Christian Dywan [Fri, 31 Oct 2008 08:56:42 +0000 (08:56 +0000)]
Bug 347230 – testicontheme shortcomings

* tests/testicontheme.c (main):
Use theme for "display" and quit on window closing

svn path=/trunk/; revision=21739

15 years agoBug 558522 – scroll arrow painted insensitive even though there are
Matthias Clasen [Fri, 31 Oct 2008 03:46:00 +0000 (03:46 +0000)]
Bug 558522 – scroll arrow painted insensitive even though there are

2008-10-30  Matthias Clasen  <mclasen@redhat.com>

        Bug 558522 – scroll arrow painted insensitive even though there
        are pages beyond the edge

        gtk/gtknotebook.c (gtk_notebook_real_insert_page): Redraw
        arrows. Pointed out by Christian Persch

svn path=/trunk/; revision=21738

15 years agoRemove fuzzy marker from header and use charset=UTF-8 to avoid crashing
Tor Lillqvist [Thu, 30 Oct 2008 19:24:38 +0000 (19:24 +0000)]
Remove fuzzy marker from header and use charset=UTF-8 to avoid crashing

2008-10-30  Tor Lillqvist  <tml@novell.com>

* ast.po: Remove fuzzy marker from header and use charset=UTF-8 to
avoid crashing with some versions of msgfmt.

svn path=/trunk/; revision=21737

15 years agoFix email.
Michael Natterer [Thu, 30 Oct 2008 18:39:06 +0000 (18:39 +0000)]
Fix email.

svn path=/trunk/; revision=21736

15 years agogtk/gtkcellrenderertext.h gtk/gtkentry.[ch] gtk/gtkimcontext.h
Michael Natterer [Thu, 30 Oct 2008 18:38:06 +0000 (18:38 +0000)]
gtk/gtkcellrenderertext.h gtk/gtkentry.[ch] gtk/gtkimcontext.h

2008-10-30  Michael Natterer  <mitch@gimp.org>

* gtk/gtkcellrenderertext.h
* gtk/gtkentry.[ch]
* gtk/gtkimcontext.h
* gtk/gtklabel.c
* gtk/gtkstyle.h: <pango/pango.h> is pulled in by <gdk/gdk.h>,
remove its inclusion here.

svn path=/trunk/; revision=21735

15 years agono need to include <gtk/gtkenums.h> in headers which somehow include
Michael Natterer [Thu, 30 Oct 2008 16:34:16 +0000 (16:34 +0000)]
no need to include <gtk/gtkenums.h> in headers which somehow include

2008-10-30  Michael Natterer  <mitch@imendio.com>

* gtk/*.h: no need to include <gtk/gtkenums.h> in headers which
somehow include gtkobject.h or another header which includes it.

svn path=/trunk/; revision=21734

15 years agoBug 339714 - Set printer dpi on cairo ps/pdf surfaces when printing
Marek Kasik [Thu, 30 Oct 2008 16:24:27 +0000 (16:24 +0000)]
Bug 339714 - Set printer dpi on cairo ps/pdf surfaces when printing

2008-10-30  Marek Kasik  <mkasik@redhat.com>

Bug 339714 - Set printer dpi on cairo ps/pdf surfaces when printing

* gtk/gtk.symbols
* gtk/gtkprintsettings.c
* gtk/gtkprintsettings.h
* docs/reference/gtk/gtk-sections.txt
* modules/printbackends/file/gtkprintbackendfile.c
* modules/printbackends/test/gtkprintbackendtest.c
* modules/printbackends/cups/gtkprintbackendcups.c
* modules/printbackends/lpr/gtkprintbackendlpr.c:
Added lpi (lines per inch) setting to GtkPrintSettings and support
for anamorphic dpi. Surface fallback resolution is set to 2*lpi.

svn path=/trunk/; revision=21733

15 years agono need to include <gdk/gdk.h> in any widget header, it's included via
Michael Natterer [Thu, 30 Oct 2008 15:58:06 +0000 (15:58 +0000)]
no need to include <gdk/gdk.h> in any widget header, it's included via

2008-10-30  Michael Natterer  <mitch@imendio.com>

* gtk/*.h: no need to include <gdk/gdk.h> in any widget header,
it's included via gtkwidget.h anyway.

svn path=/trunk/; revision=21732

15 years agoremoved redundant conditional.
Sven Neumann [Thu, 30 Oct 2008 15:04:38 +0000 (15:04 +0000)]
removed redundant conditional.

2008-10-30  Sven Neumann  <sven@gimp.org>

* gtk/gtkwidget.c (gtk_widget_get_property): removed redundant
conditional.

svn path=/trunk/; revision=21731

15 years agoBug 557316 – GtkLinkButton should consider user-defined tooltip
Christian Dywan [Thu, 30 Oct 2008 08:49:18 +0000 (08:49 +0000)]
Bug 557316 – GtkLinkButton should consider user-defined tooltip

* gtk/gtklinkbutton.c (gtk_link_button_query_tooltip_cb):
Only override the tooltip if not previously set

svn path=/trunk/; revision=21728

15 years agoThe GTK+ Drawing Model: new chapter for the documentation
Federico Mena Quintero [Wed, 29 Oct 2008 18:59:40 +0000 (18:59 +0000)]
The GTK+ Drawing Model: new chapter for the documentation

Signed-off-by: Federico Mena Quintero <federico@novell.com>
svn path=/trunk/; revision=21727

15 years agoBug 557762 – Misleading error message in GDK DirectFB
Christian Dywan [Wed, 29 Oct 2008 15:25:15 +0000 (15:25 +0000)]
Bug 557762 – Misleading error message in GDK DirectFB

* gdk/directfb/gdkdisplay-directfb.c (gdk_display_open):
Correctly say GetInputDevice instead of GetDisplayLayer

svn path=/trunk/; revision=21726

15 years agoBug 558397 – gtk_widget_error_bell undefined without a screen
Christian Dywan [Wed, 29 Oct 2008 15:08:49 +0000 (15:08 +0000)]
Bug 558397 – gtk_widget_error_bell undefined without a screen

* gtk/gtkwidget.c (gtk_widget_error_bell): Test the settings
instance and return silently if unset

svn path=/trunk/; revision=21725

15 years agofix small typo.
Michael Natterer [Tue, 28 Oct 2008 22:55:23 +0000 (22:55 +0000)]
fix small typo.

2008-10-28  Michael Natterer  <mitch@imendio.com>

* gdk/keyname-table.h: fix small typo.

svn path=/trunk/; revision=21724

15 years agoBug 557894 – Wrong return value for gdk_pointer_grab_info_libgtk_only()
Richard Hult [Mon, 27 Oct 2008 14:54:57 +0000 (14:54 +0000)]
Bug 557894 – Wrong return value for gdk_pointer_grab_info_libgtk_only()

2008-10-27  Richard Hult  <richard@imendio.com>

Bug 557894 – Wrong return value for
gdk_pointer_grab_info_libgtk_only()

* gdk/quartz/gdkevents-quartz.c:
(gdk_pointer_grab_info_libgtk_only): Return TRUE when there is a
pointer grab. Patch by Owen Taylor.

svn path=/trunk/; revision=21722

15 years agoFix up short descriptions
Matthias Clasen [Mon, 27 Oct 2008 04:27:03 +0000 (04:27 +0000)]
Fix up short descriptions

svn path=/trunk/; revision=21721

15 years agoAdd GtkOrientable
Matthias Clasen [Mon, 27 Oct 2008 04:07:42 +0000 (04:07 +0000)]
Add GtkOrientable

svn path=/trunk/; revision=21720

15 years agoadd a short desc
Matthias Clasen [Mon, 27 Oct 2008 04:03:51 +0000 (04:03 +0000)]
add a short desc

svn path=/trunk/; revision=21719

15 years agoAdd short desc
Matthias Clasen [Mon, 27 Oct 2008 04:02:57 +0000 (04:02 +0000)]
Add short desc

svn path=/trunk/; revision=21718