]> Pileus Git - ~andy/gtk/log
~andy/gtk
13 years agogail: fix the build
Cosimo Cecchi [Thu, 20 Jan 2011 10:59:53 +0000 (11:59 +0100)]
gail: fix the build

13 years ago[GI] Fix transfer annotation on gtk_dialog_add_button()
Steve Frécinaux [Thu, 20 Jan 2011 10:53:47 +0000 (11:53 +0100)]
[GI] Fix transfer annotation on gtk_dialog_add_button()

The transfer annotation was (transfer full) but the caller actually
doesn't own a reference of the object. This made the pygobject test suite
crash because pygobject was trying to unref the returned GtkButton
instance.

https://bugzilla.gnome.org/show_bug.cgi?id=639949

13 years ago[GI] Add annotation (type GdkModifierType) to state attributes in many GdkEvent structs.
Laszlo Pandy [Wed, 19 Jan 2011 09:44:49 +0000 (10:44 +0100)]
[GI] Add annotation (type GdkModifierType) to state attributes in many GdkEvent structs.

The state attribute is available in GdkEventMotion, GdkEventButton,
GdkEventScroll, GdkEventKey and GdkEventCrossing. This type annotation
fixes the wrapping of this attribute in the GI PyGObject bindings.

https://bugzilla.gnome.org/show_bug.cgi?id=639929

13 years ago[GI] Add (type) annotations to real types
Pavel Holejsovsky [Thu, 20 Jan 2011 09:37:17 +0000 (10:37 +0100)]
[GI] Add (type) annotations to real types

13 years agoAdd a GtkBuilder section to the tutorial
Matthias Clasen [Thu, 20 Jan 2011 06:30:34 +0000 (01:30 -0500)]
Add a GtkBuilder section to the tutorial

13 years agoBe more careful with private event data
Matthias Clasen [Thu, 20 Jan 2011 03:52:55 +0000 (22:52 -0500)]
Be more careful with private event data

When copying allocated events, also copy the source device.
When synthesizing double or triple clicks, copy the original
button press event including device information.

https://bugzilla.gnome.org/show_bug.cgi?id=639822

13 years agoMake GtkBorder style properties have a non-NULL default
Matthias Clasen [Thu, 20 Jan 2011 01:42:50 +0000 (20:42 -0500)]
Make GtkBorder style properties have a non-NULL default

https://bugzilla.gnome.org/show_bug.cgi?id=639625

13 years agoAdd gtk_text_view_get_cursor_locations
Matthias Clasen [Wed, 19 Jan 2011 22:01:19 +0000 (17:01 -0500)]
Add gtk_text_view_get_cursor_locations

In GTK 3.0 it's no longer possible to e.g. pop up something
at a text view's cursor (this wasn't exactly possible before
either without including gtktextlayout, but this is a quite
special need anyway).

13 years agoUpdated Greek translation
Michael Kotsarinis [Wed, 19 Jan 2011 20:03:53 +0000 (22:03 +0200)]
Updated Greek translation

13 years agoUse simplesect in the tutorial
Matthias Clasen [Wed, 19 Jan 2011 19:34:08 +0000 (14:34 -0500)]
Use simplesect in the tutorial

This avoids blowing up the global toc even more.

13 years agoUpdated Spanish translation
Jorge González [Wed, 19 Jan 2011 18:37:26 +0000 (19:37 +0100)]
Updated Spanish translation

13 years agoUpdated Greek translation
Michael Kotsarinis [Wed, 19 Jan 2011 18:30:31 +0000 (20:30 +0200)]
Updated Greek translation

13 years agoUpdated Greek translation
Michael Kotsarinis [Wed, 19 Jan 2011 18:18:22 +0000 (20:18 +0200)]
Updated Greek translation

13 years agoMention type vs region ambiguity in the docs
Matthias Clasen [Wed, 19 Jan 2011 17:55:48 +0000 (12:55 -0500)]
Mention type vs region ambiguity in the docs

13 years agoFix linking of drawing example
Martin Pitt [Wed, 19 Jan 2011 14:40:46 +0000 (15:40 +0100)]
Fix linking of drawing example

Commit 80e1340e introduced using a GDK method in examples/drawing.c, so
actually link that to GDK. Fixes build failure with --as-needed linker option
and gcc 4.5.

13 years ago[GI] Added missing (transfer none) annotation to gtk_tree_view_get_path_at_pos
Sebastian Pölsterl [Wed, 19 Jan 2011 14:09:05 +0000 (15:09 +0100)]
[GI] Added missing (transfer none) annotation to gtk_tree_view_get_path_at_pos

13 years agogail now provides toolkit = gail as an AtkAttribute of all gtk objects.
Trevor Saunders [Wed, 19 Jan 2011 07:39:04 +0000 (15:39 +0800)]
gail now provides toolkit = gail as an AtkAttribute of all gtk objects.

https://bugzilla.gnome.org/show_bug.cgi?id=598952

https://bugzilla.gnome.org/show_bug.cgi?id=638920

13 years agoAdd a drawing example to the tutorial
Matthias Clasen [Wed, 19 Jan 2011 04:57:17 +0000 (23:57 -0500)]
Add a drawing example to the tutorial

13 years agoAdd a packing example to the tutorial
Matthias Clasen [Wed, 19 Jan 2011 04:01:16 +0000 (23:01 -0500)]
Add a packing example to the tutorial

13 years agoAdd a paragraph explaining events and signals
Matthias Clasen [Wed, 19 Jan 2011 02:42:29 +0000 (21:42 -0500)]
Add a paragraph explaining events and signals

13 years agoMake GtkCssProvider deal with widget types not being in plain CamelCase
Carlos Garnacho [Wed, 19 Jan 2011 03:12:08 +0000 (04:12 +0100)]
Make GtkCssProvider deal with widget types not being in plain CamelCase

Fixes bug #Bug 639754, reported by Kjell Ahlstedt. gtkmm doesn't
use plain CamelCase for its widget type names, so in order to
distinguish widget type names from regions in the CSS parser,
the following checks are now done:

* if it contains an uppercase letter -> widget class (that should
  also work for gtkmm)

* if it's a string compound by lowercase letters and '-' -> it's
  a region, checks have been added in gtk_style_context_add_region()
  and gtk_widget_path_iter_add_region() to ensure this.

13 years agoSet horizontal/vertical style classes to GtkRanges
Carlos Garnacho [Wed, 19 Jan 2011 02:10:12 +0000 (03:10 +0100)]
Set horizontal/vertical style classes to GtkRanges

13 years agoMake GtkCheckButton/GtkRadioButton background white again
Carlos Garnacho [Tue, 18 Jan 2011 19:02:51 +0000 (20:02 +0100)]
Make GtkCheckButton/GtkRadioButton background white again

13 years agoDon't displace background for spinbuttons in the theming engine
Carlos Garnacho [Tue, 18 Jan 2011 18:39:09 +0000 (19:39 +0100)]
Don't displace background for spinbuttons in the theming engine

This is a leftover from the older GtkStyle code, this is handled
through CSS spacings instead.

13 years agoupdate Punjabi Translation
A S Alam [Wed, 19 Jan 2011 03:10:52 +0000 (08:40 +0530)]
update Punjabi Translation

13 years agoUpdated Hebrew translation.
Yaron Shahrabani [Tue, 18 Jan 2011 23:02:39 +0000 (01:02 +0200)]
Updated Hebrew translation.

13 years ago[GI] Cosmetic cleanups of annotations and doc comments
Pavel Holejsovsky [Tue, 18 Jan 2011 09:12:38 +0000 (10:12 +0100)]
[GI] Cosmetic cleanups of annotations and doc comments

This change does not introduce any functionality change, mostly
cosmtic cleanups, like re-linebreak when introduced annotations messed
up indentation or whitespace errors fixes.

13 years ago[GI] Add missing (allow-none) annotations
Pavel Holejsovsky [Tue, 18 Jan 2011 08:25:47 +0000 (09:25 +0100)]
[GI] Add missing (allow-none) annotations

13 years ago[GI] Annotate strings holding file paths as (type filename)
Pavel Holejsovsky [Tue, 18 Jan 2011 05:42:31 +0000 (06:42 +0100)]
[GI] Annotate strings holding file paths as (type filename)

13 years ago[GI] Make argument names in vfunc decls consistent with invoker docs
Pavel Holejsovsky [Tue, 18 Jan 2011 05:29:57 +0000 (06:29 +0100)]
[GI] Make argument names in vfunc decls consistent with invoker docs

13 years ago[GI] Mark callbacks' context parameter with (closure) annotation.
Pavel Holejsovsky [Tue, 18 Jan 2011 05:28:24 +0000 (06:28 +0100)]
[GI] Mark callbacks' context parameter with (closure) annotation.

13 years agoGtkImage: Add "use-fallback" property
Bastien Nocera [Tue, 18 Jan 2011 16:13:00 +0000 (16:13 +0000)]
GtkImage: Add "use-fallback" property

So that icon-name and GIcon type of GtkImages can use automatic
fallback names.

13 years agoMore accurate fix for GtkTreeMenu regression.
Tristan Van Berkom [Tue, 18 Jan 2011 15:41:35 +0000 (00:41 +0900)]
More accurate fix for GtkTreeMenu regression.

The previous fix rebuilds the root menu unconditionally,
this one only rebuilds the root menu if the root path
has indeed changed.

https://bugzilla.gnome.org/show_bug.cgi?id=639792

13 years agoFixed gtk_calendar_get_date annotations: Added missing (out)
Sebastian Pölsterl [Tue, 18 Jan 2011 15:21:10 +0000 (16:21 +0100)]
Fixed gtk_calendar_get_date annotations: Added missing (out)

13 years agoConsistently use PKG_CONFIG in macros
Anders F Björklund [Tue, 18 Jan 2011 14:55:35 +0000 (09:55 -0500)]
Consistently use PKG_CONFIG in macros

13 years agoDon't set the default display to NULL
Matthias Clasen [Tue, 18 Jan 2011 14:36:59 +0000 (09:36 -0500)]
Don't set the default display to NULL

This was causing segfaults if DISPLAY is unset

13 years agoAdd testcases for opening display
Matthias Clasen [Tue, 18 Jan 2011 14:36:24 +0000 (09:36 -0500)]
Add testcases for opening display

More precisely, test that we can successfully fail to open
a display...

13 years agoFix GtkIconView GI annotations
Martin Pitt [Tue, 18 Jan 2011 11:32:52 +0000 (12:32 +0100)]
Fix GtkIconView GI annotations

Add the missing (out) annotations, and a missing allow-none.

13 years agoUpdated Hebrew translation.
Yaron Shahrabani [Tue, 18 Jan 2011 10:56:57 +0000 (12:56 +0200)]
Updated Hebrew translation.

13 years agoFix a combo refactor regression
Matthias Clasen [Tue, 18 Jan 2011 02:55:13 +0000 (21:55 -0500)]
Fix a combo refactor regression

https://bugzilla.gnome.org/show_bug.cgi?id=639792

13 years agoFix case (s/A/a) in translatable string (Select A Folder)
Luca Ferretti [Mon, 17 Jan 2011 20:43:33 +0000 (21:43 +0100)]
Fix case (s/A/a) in translatable string (Select A Folder)

13 years agoFix memory leak in gtk_window_group_list_windows
Garrett Regier [Mon, 17 Jan 2011 03:47:34 +0000 (19:47 -0800)]
Fix memory leak in gtk_window_group_list_windows

13 years agoAnnotate GtkIconView array arguments
Martin Pitt [Mon, 17 Jan 2011 15:00:52 +0000 (16:00 +0100)]
Annotate GtkIconView array arguments

13 years agoMake symbolic icons work again
Matthias Clasen [Mon, 17 Jan 2011 14:57:35 +0000 (09:57 -0500)]
Make symbolic icons work again

Work around https://bugzilla.gnome.org/show_bug.cgi?id=639750

13 years agoDrop gtk-builder-convert
Matthias Clasen [Mon, 17 Jan 2011 14:55:16 +0000 (09:55 -0500)]
Drop gtk-builder-convert

It will still be shipped in gtk 2.24.

13 years agoMove GtkFileFilter docs inline
Pavel Holejsovsky [Sat, 15 Jan 2011 13:50:50 +0000 (14:50 +0100)]
Move GtkFileFilter docs inline

13 years agoMove GtkMenu docs inline
Pavel Holejsovsky [Sat, 15 Jan 2011 13:51:11 +0000 (14:51 +0100)]
Move GtkMenu docs inline

13 years agoMove GtkFixed docs inline
Pavel Holejsovsky [Sat, 15 Jan 2011 13:50:24 +0000 (14:50 +0100)]
Move GtkFixed docs inline

Also remove incorrect documentation of opaque GtkFixed class struct.

13 years agoMake selectors with no explicit state from higher priority GtkStyleProviders override...
Carlos Garnacho [Mon, 17 Jan 2011 03:06:57 +0000 (04:06 +0100)]
Make selectors with no explicit state from higher priority GtkStyleProviders override lower ones with a state.

This makes overriding information from the themes more intuitive

13 years agoMake gtk_widget_get_path() also add all persistent style classes the widget has.
Carlos Garnacho [Mon, 17 Jan 2011 03:05:44 +0000 (04:05 +0100)]
Make gtk_widget_get_path() also add all persistent style classes the widget has.

13 years agoDo not set junction sides to the entry frame in spinbuttons.
Carlos Garnacho [Mon, 17 Jan 2011 02:58:45 +0000 (03:58 +0100)]
Do not set junction sides to the entry frame in spinbuttons.

That's meant to be the outer frame, so no junction sides apply there

13 years agoEnsure harder a GtkStyleContext has a theming engine anytime
Carlos Garnacho [Mon, 17 Jan 2011 02:56:47 +0000 (03:56 +0100)]
Ensure harder a GtkStyleContext has a theming engine anytime

13 years agoMake GtkFrame propagate the "frame" style class to its header label
Carlos Garnacho [Mon, 17 Jan 2011 02:55:53 +0000 (03:55 +0100)]
Make GtkFrame propagate the "frame" style class to its header label

13 years agoMake GtkEntry set the style context state.
Carlos Garnacho [Mon, 17 Jan 2011 02:54:58 +0000 (03:54 +0100)]
Make GtkEntry set the style context state.

13 years agoImprove progressbars theming.
Carlos Garnacho [Fri, 14 Jan 2011 00:09:40 +0000 (01:09 +0100)]
Improve progressbars theming.

Make progressbar itself have an outset border, and improve spacings.

13 years agoUpdated Spanish translation
Daniel Mustieles [Sun, 16 Jan 2011 20:25:10 +0000 (21:25 +0100)]
Updated Spanish translation

13 years agoUpdated Spanish translation
Daniel Mustieles [Sun, 16 Jan 2011 20:24:39 +0000 (21:24 +0100)]
Updated Spanish translation

13 years agoUpdated Spanish translation
Daniel Mustieles [Sun, 16 Jan 2011 18:30:17 +0000 (19:30 +0100)]
Updated Spanish translation

13 years agoUpdated Galician translations
Fran Diéguez [Sun, 16 Jan 2011 16:14:23 +0000 (17:14 +0100)]
Updated Galician translations

13 years agoPlugged memory leak in gdk_x11_device_manager_xi2_list_devices.
Tristan Van Berkom [Sun, 16 Jan 2011 13:47:12 +0000 (22:47 +0900)]
Plugged memory leak in gdk_x11_device_manager_xi2_list_devices.

This was simply a misplaced 'g_list_copy()'.

13 years agoPlugged leaking PangoFontDescriptions in gtk_modifier_style_set_font().
Tristan Van Berkom [Sun, 16 Jan 2011 12:14:00 +0000 (21:14 +0900)]
Plugged leaking PangoFontDescriptions in gtk_modifier_style_set_font().

13 years agoPlugged leak in gtkcssprovider.c
Tristan Van Berkom [Sun, 16 Jan 2011 11:52:43 +0000 (20:52 +0900)]
Plugged leak in gtkcssprovider.c

SelectorStyleInfo structs were never freed.

13 years agoPlugged memory leak in gtk_style_finalize (destroy the ->background[] patterns).
Tristan Van Berkom [Sun, 16 Jan 2011 11:17:52 +0000 (20:17 +0900)]
Plugged memory leak in gtk_style_finalize (destroy the ->background[] patterns).

13 years agoPlugging memory leak in GtkCellArea (free ->style_detail at finalize time).
Tristan Van Berkom [Sun, 16 Jan 2011 09:15:07 +0000 (18:15 +0900)]
Plugging memory leak in GtkCellArea (free ->style_detail at finalize time).

13 years ago[l10n] Updated Estonian translation
Ivar Smolin [Sun, 16 Jan 2011 08:25:57 +0000 (10:25 +0200)]
[l10n] Updated Estonian translation

13 years ago[l10n] Updated Estonian translation
Ivar Smolin [Sun, 16 Jan 2011 08:25:22 +0000 (10:25 +0200)]
[l10n] Updated Estonian translation

13 years agoGtk{List,Tree}Store: Fix GI array annotations
Martin Pitt [Sat, 15 Jan 2011 21:26:12 +0000 (15:26 -0600)]
Gtk{List,Tree}Store: Fix GI array annotations

13 years agoUpdated Basque language
Inaki Larranaga Murgoitio [Sat, 15 Jan 2011 17:17:38 +0000 (18:17 +0100)]
Updated Basque language

13 years agodocs: gtkwidget: Add some "Since: 3.0"
Javier Jardón [Wed, 12 Jan 2011 13:17:34 +0000 (13:17 +0000)]
docs: gtkwidget: Add some "Since: 3.0"

13 years agoAvoid calling gtk_widget_is_visible(NULL) in _gtk_notebook_get_tab_flags().
Tristan Van Berkom [Sat, 15 Jan 2011 12:34:49 +0000 (21:34 +0900)]
Avoid calling gtk_widget_is_visible(NULL) in _gtk_notebook_get_tab_flags().

The tab can be NULL here when GtkNotebook:show-tabs is FALSE.

13 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Sat, 15 Jan 2011 11:08:06 +0000 (12:08 +0100)]
Updated Norwegian bokmål translation

13 years agoAdd missing files
Kjartan Maraas [Sat, 15 Jan 2011 11:07:46 +0000 (12:07 +0100)]
Add missing files

13 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Wed, 12 Jan 2011 09:54:24 +0000 (10:54 +0100)]
Updated Norwegian bokmål translation

13 years agoFix a typo
Matthias Clasen [Sat, 15 Jan 2011 05:39:29 +0000 (00:39 -0500)]
Fix a typo

13 years agoFix a typo
Matthias Clasen [Sat, 15 Jan 2011 05:16:51 +0000 (00:16 -0500)]
Fix a typo

13 years agoAdd accessors for GtkRange::round-digits
Matthias Clasen [Sat, 15 Jan 2011 05:08:39 +0000 (00:08 -0500)]
Add accessors for GtkRange::round-digits

Patch by Christian Dywan,
https://bugzilla.gnome.org/show_bug.cgi?id=351755

13 years agoUnify handling of prelighted icons
Matthias Clasen [Sat, 15 Jan 2011 04:51:41 +0000 (23:51 -0500)]
Unify handling of prelighted icons

Make GtkEntry use gtk_render_icon_pixbuf for rendering the
icons, and move the working icon prelighting code from GtkEntry
to GtkThemingEngine.

https://bugzilla.gnome.org/show_bug.cgi?id=636691

13 years agoMerge ssh://git.gnome.org/git/gtk+
Chun-wei Fan [Sat, 15 Jan 2011 04:42:52 +0000 (12:42 +0800)]
Merge ssh://git.gnome.org/git/gtk+

13 years agoAvoid a critical warning during tab DND
Matthias Clasen [Sat, 15 Jan 2011 02:15:06 +0000 (21:15 -0500)]
Avoid a critical warning during tab DND

https://bugzilla.gnome.org/show_bug.cgi?id=639380

13 years agoUpdate information about visuals
Matthias Clasen [Sat, 15 Jan 2011 01:45:53 +0000 (20:45 -0500)]
Update information about visuals

Based on a patch by Jasper St. Pierre,
https://bugzilla.gnome.org/show_bug.cgi?id=639520

13 years agoImplement the editing-canceled property in GtkCellEditableEventBox
Matthias Clasen [Sat, 15 Jan 2011 01:24:26 +0000 (20:24 -0500)]
Implement the editing-canceled property in GtkCellEditableEventBox

https://bugzilla.gnome.org/show_bug.cgi?id=639455

13 years agoAdd --enable-gtk2-dependency option
Matthias Clasen [Sat, 15 Jan 2011 01:01:05 +0000 (20:01 -0500)]
Add --enable-gtk2-dependency option

This can be used to suppress building of gtk-update-icon-cache
in favor of using a preexisting version. Based on a patch by
Colin Walters,
https://bugzilla.gnome.org/show_bug.cgi?id=639471

13 years agoDrop never-updated revision attributes
Matthias Clasen [Sat, 15 Jan 2011 00:35:34 +0000 (19:35 -0500)]
Drop never-updated revision attributes

13 years agoMove GtkSelection docs inline
Matthias Clasen [Sat, 15 Jan 2011 00:20:56 +0000 (19:20 -0500)]
Move GtkSelection docs inline

At the same time, move private selection API to gtkselectionprivate.h

13 years agoMove GtkPrintJob docs inline
Matthias Clasen [Fri, 14 Jan 2011 23:39:01 +0000 (18:39 -0500)]
Move GtkPrintJob docs inline

13 years agoMove GtkTextTag docs inline
Matthias Clasen [Fri, 14 Jan 2011 22:49:48 +0000 (17:49 -0500)]
Move GtkTextTag docs inline

13 years agoMove GtkMenuShell docs inline
Matthias Clasen [Fri, 14 Jan 2011 21:40:13 +0000 (16:40 -0500)]
Move GtkMenuShell docs inline

13 years agoAdded UG translation
Sahran [Fri, 14 Jan 2011 21:46:35 +0000 (22:46 +0100)]
Added UG translation

13 years agomake the ms-windows engine compile again
Fridrich Štrba [Fri, 14 Jan 2011 18:49:31 +0000 (19:49 +0100)]
make the ms-windows engine compile again

13 years agogtk: render GtkEventBox' background in the right state
Michael Natterer [Fri, 14 Jan 2011 15:55:46 +0000 (16:55 +0100)]
gtk: render GtkEventBox' background in the right state

13 years agoUpdated Galician translations
Fran Diéguez [Fri, 14 Jan 2011 15:49:43 +0000 (16:49 +0100)]
Updated Galician translations

13 years agoAdd EXPORT_PACKAGES for the girs
Matthias Clasen [Fri, 14 Jan 2011 14:46:11 +0000 (09:46 -0500)]
Add EXPORT_PACKAGES for the girs

This connects the girs to the pc file names.

https://bugzilla.gnome.org/show_bug.cgi?id=635287

13 years agoAdd --include-uninstalled for the gdk gir
Matthias Clasen [Fri, 14 Jan 2011 14:44:10 +0000 (09:44 -0500)]
Add --include-uninstalled for the gdk gir

https://bugzilla.gnome.org/show_bug.cgi?id=635287

13 years agoAdd --warn-all to introspection scanner args
Matthias Clasen [Fri, 14 Jan 2011 14:32:26 +0000 (09:32 -0500)]
Add --warn-all to introspection scanner args

https://bugzilla.gnome.org/show_bug.cgi?id=635287

13 years agoGtkContainer: make "handle_border_width" member private
Colin Walters [Thu, 13 Jan 2011 21:30:28 +0000 (16:30 -0500)]
GtkContainer: make "handle_border_width" member private

Otherwise in introspection we get a naming conflict between the
structure member and the method.

http://bugzilla.gnome.org/show_bug.cgi?id=639325

13 years agoRemove an overlooked instance of gdk drawing api
Matthias Clasen [Fri, 14 Jan 2011 04:42:12 +0000 (23:42 -0500)]
Remove an overlooked instance of gdk drawing api

13 years agoAdd a migration guide section about multiple backends
Matthias Clasen [Fri, 14 Jan 2011 04:40:47 +0000 (23:40 -0500)]
Add a migration guide section about multiple backends

13 years agoUpdate some outdated content in the question index
Matthias Clasen [Fri, 14 Jan 2011 04:10:25 +0000 (23:10 -0500)]
Update some outdated content in the question index

Based on a patch by Jasper St. Pierre
https://bugzilla.gnome.org/show_bug.cgi?id=639494

13 years agoAdd an example for custom css
Matthias Clasen [Fri, 14 Jan 2011 03:19:58 +0000 (22:19 -0500)]
Add an example for custom css

13 years agoMove GtkMenuBar docs inline
Matthias Clasen [Fri, 14 Jan 2011 03:11:22 +0000 (22:11 -0500)]
Move GtkMenuBar docs inline

And remove some outdated content.