Johan Dahlin
56009e2226
Do not scan gtktextdisplay.h, avoids a scanner warning
2011-01-20 14:22:13 -02:00
William Jon McCann
deeac8caf3
Don't use an icon for Other Applications...
...
We only show icons in "menus" for nouns or dynamic objects.
2011-01-20 09:36:43 -05:00
Johan Dahlin
030b5ebf3e
gtksettings: Add gtk-doc to silent an annotation warning
2011-01-20 12:12:22 -02:00
Johan Dahlin
766e1d35da
Correct gtk-doc syntax and add missing (transfer)
2011-01-20 12:12:22 -02:00
Pavel Holejsovsky
374e76a19d
[GI] Mark unintrospectable constructs as (skip)
...
Also adds 'Rename to:' annotation to some constructs replacing the
skipped ones.
2011-01-20 13:57:21 +01:00
Pavel Holejsovsky
2fb1c06402
[GI] Add missing (out) and (array) annotations
2011-01-20 13:57:20 +01:00
Pavel Holejsovsky
2f0d40335b
[GI] Add missing (transfer) annotations
2011-01-20 13:57:18 +01:00
Pavel Holejsovsky
9b88eb356d
[GI] Add missing (scope) annotations
2011-01-20 13:57:15 +01:00
Pavel Holejsovsky
3c8fc21e9b
[GI] Fixes of existing incorrect annotations
2011-01-20 13:56:06 +01:00
Steve Frécinaux
3f0d330a65
[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
2011-01-20 11:55:38 +01:00
Pavel Holejsovsky
9389054da2
[GI] Add (type) annotations to real types
2011-01-20 10:38:38 +01:00
Matthias Clasen
6869ff26f3
Make GtkBorder style properties have a non-NULL default
...
https://bugzilla.gnome.org/show_bug.cgi?id=639625
2011-01-19 21:24:30 -05:00
Matthias Clasen
2f7245699b
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).
2011-01-19 17:01:19 -05:00
Matthias Clasen
0a5e8ce685
Mention type vs region ambiguity in the docs
2011-01-19 12:55:48 -05:00
Sebastian Pölsterl
cbbfe48ee4
[GI] Added missing (transfer none) annotation to gtk_tree_view_get_path_at_pos
2011-01-19 15:09:05 +01:00
Carlos Garnacho
0b7496558d
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.
2011-01-19 04:28:49 +01:00
Carlos Garnacho
0c5ceaf757
Set horizontal/vertical style classes to GtkRanges
2011-01-19 04:28:49 +01:00
Carlos Garnacho
f430a306f7
Make GtkCheckButton/GtkRadioButton background white again
2011-01-19 04:28:49 +01:00
Carlos Garnacho
687ac4d4aa
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.
2011-01-19 04:28:48 +01:00
Pavel Holejsovsky
a1c297a310
[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.
2011-01-18 17:31:59 +01:00
Pavel Holejsovsky
fe372ddf5e
[GI] Add missing (allow-none) annotations
2011-01-18 17:30:43 +01:00
Pavel Holejsovsky
6d5cdad56e
[GI] Annotate strings holding file paths as (type filename)
2011-01-18 17:29:40 +01:00
Pavel Holejsovsky
204d1fd0a6
[GI] Make argument names in vfunc decls consistent with invoker docs
2011-01-18 17:28:35 +01:00
Pavel Holejsovsky
729c823955
[GI] Mark callbacks' context parameter with (closure) annotation.
2011-01-18 17:20:32 +01:00
Bastien Nocera
714d9bc407
GtkImage: Add "use-fallback" property
...
So that icon-name and GIcon type of GtkImages can use automatic
fallback names.
2011-01-18 16:14:05 +00:00
Tristan Van Berkom
e6a51e4afb
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
2011-01-19 00:43:08 +09:00
Sebastian Pölsterl
34b573b07c
Fixed gtk_calendar_get_date annotations: Added missing (out)
2011-01-18 16:21:10 +01:00
Martin Pitt
b208b9c0e9
Fix GtkIconView GI annotations
...
Add the missing (out) annotations, and a missing allow-none.
2011-01-18 12:32:52 +01:00
Matthias Clasen
64c79c15a6
Fix a combo refactor regression
...
https://bugzilla.gnome.org/show_bug.cgi?id=639792
2011-01-17 21:56:34 -05:00
Luca Ferretti
a29b4c6a51
Fix case (s/A/a) in translatable string (Select A Folder)
2011-01-17 21:43:33 +01:00
Garrett Regier
cb0fac73a5
Fix memory leak in gtk_window_group_list_windows
2011-01-17 08:23:59 -08:00
Martin Pitt
234b3b2c6f
Annotate GtkIconView array arguments
2011-01-17 16:01:40 +01:00
Matthias Clasen
9f895aa3ad
Make symbolic icons work again
...
Work around https://bugzilla.gnome.org/show_bug.cgi?id=639750
2011-01-17 09:57:35 -05:00
Matthias Clasen
77ff699226
Drop gtk-builder-convert
...
It will still be shipped in gtk 2.24.
2011-01-17 09:55:52 -05:00
Pavel Holejsovsky
09d395f629
Move GtkFileFilter docs inline
2011-01-17 15:27:06 +01:00
Pavel Holejsovsky
4dab3a601d
Move GtkMenu docs inline
2011-01-17 15:27:04 +01:00
Pavel Holejsovsky
2bd38dc7f5
Move GtkFixed docs inline
...
Also remove incorrect documentation of opaque GtkFixed class struct.
2011-01-17 15:27:02 +01:00
Carlos Garnacho
2f207ca749
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
2011-01-17 04:44:29 +01:00
Carlos Garnacho
5f43a51a83
Make gtk_widget_get_path() also add all persistent style classes the widget has.
2011-01-17 04:44:03 +01:00
Carlos Garnacho
62fd79b224
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
2011-01-17 04:43:52 +01:00
Carlos Garnacho
f482d4dc89
Ensure harder a GtkStyleContext has a theming engine anytime
2011-01-17 04:43:42 +01:00
Carlos Garnacho
07e62229da
Make GtkFrame propagate the "frame" style class to its header label
2011-01-17 04:43:31 +01:00
Carlos Garnacho
0e77486e91
Make GtkEntry set the style context state.
2011-01-17 04:43:23 +01:00
Carlos Garnacho
e28a2695ac
Improve progressbars theming.
...
Make progressbar itself have an outset border, and improve spacings.
2011-01-17 04:43:16 +01:00
Tristan Van Berkom
a530f88234
Plugged leaking PangoFontDescriptions in gtk_modifier_style_set_font().
2011-01-16 21:14:00 +09:00
Tristan Van Berkom
9438107bff
Plugged leak in gtkcssprovider.c
...
SelectorStyleInfo structs were never freed.
2011-01-16 20:52:43 +09:00
Tristan Van Berkom
c35fb706bd
Plugged memory leak in gtk_style_finalize (destroy the ->background[] patterns).
2011-01-16 20:17:52 +09:00
Tristan Van Berkom
4a5c435e9a
Plugging memory leak in GtkCellArea (free ->style_detail at finalize time).
2011-01-16 18:15:57 +09:00
Martin Pitt
85fe2ce17f
Gtk{List,Tree}Store: Fix GI array annotations
2011-01-15 15:26:12 -06:00
Javier Jardón
46f0994417
docs: gtkwidget: Add some "Since: 3.0"
2011-01-15 16:43:49 +00:00