]>
Pileus Git - ~andy/gtk/log
Carlos Garcia Campos [Wed, 8 Dec 2010 16:16:02 +0000 (17:16 +0100)]
GtkCellRendererPixbuf: Use gtk_widget_render_icon_pixbuf()
Instead of gtk_widget_render_icon() which is now deprecated.
Carlos Garcia Campos [Wed, 8 Dec 2010 16:15:25 +0000 (17:15 +0100)]
GtkIconFactory: mention gtk_widget_render_icon_pixbuf() in docs
Instead of gtk_widget_render_icon() which is now deprecated.
Carlos Garcia Campos [Wed, 8 Dec 2010 16:14:48 +0000 (17:14 +0100)]
GtkStatusIcon: Use gtk_widget_render_icon_pixbuf()
Instead of gtk_widget_render_icon() which is now deprecated.
Carlos Garcia Campos [Wed, 8 Dec 2010 16:13:43 +0000 (17:13 +0100)]
GtkImage: Use gtk_widget_render_icon_pixbuf()
Instead of gtk_widget_render_icon() which is now deprecated.
Carlos Garcia Campos [Wed, 8 Dec 2010 16:12:59 +0000 (17:12 +0100)]
GtkFileChooser: Use gtk_widget_render_icon_pixbuf()
Instead of gtk_widget_render_icon() which is now deprecated.
Carlos Garcia Campos [Wed, 8 Dec 2010 16:12:14 +0000 (17:12 +0100)]
GtkEntry: Use gtk_widget_render_icon_pixbuf()
Instead of gtk_widget_render_icon() which is now deprecated.
Carlos Garcia Campos [Wed, 8 Dec 2010 16:10:34 +0000 (17:10 +0100)]
dnd: Use gtk_widget_render_icon_pixbuf()
Instead of gtk_widget_render_icon() which is now deprecated.
Carlos Garcia Campos [Wed, 8 Dec 2010 15:46:57 +0000 (16:46 +0100)]
Add gtk_widget_render_icon_pixbuf() prototype to gtkwidget.h
And move gtk_widget_render_icon() to deprecation guards block
Paolo Borelli [Wed, 8 Dec 2010 14:30:42 +0000 (15:30 +0100)]
Annotate ColorButton get_color and get_rgba.
Paolo Borelli [Wed, 8 Dec 2010 14:14:29 +0000 (15:14 +0100)]
Fix gtk_builder_add_objects_from_file g-i annotation
Use the same annotation already used for add_objects_from_string
Robert Ancell [Wed, 8 Dec 2010 07:44:20 +0000 (18:44 +1100)]
Add missing X11/Xlib.h include required for X11/extensions/sync.h
Milan Bouchet-Valat [Tue, 7 Dec 2010 18:03:55 +0000 (19:03 +0100)]
More annotations for GdkDisplay
Mostly (out), and a few (allow-none) for parameters.
Matthias Clasen [Tue, 7 Dec 2010 17:59:17 +0000 (12:59 -0500)]
GtkStyleContext migration guide tweaks
Move the guide into the 2-to-3 guide, since it is something
you have to do when porting from 2 to 3. Also add an example
for handling of temporary state changes and some more text
about color handling.
Matthias Clasen [Tue, 7 Dec 2010 14:55:18 +0000 (09:55 -0500)]
Some doc additions
Tristan Van Berkom [Tue, 7 Dec 2010 14:45:48 +0000 (23:45 +0900)]
Added minimum size parameter to GtkWidgetClass->adjust_size_allocation.
This allows us to add a check before executing
->get_preferred_height_for_width() to ensure we always
request for at least the minimum required size (and lets
us remove the warning in gtkcontainer.c telling implementors
to do this check manually from thier container implementations).
Cosimo Cecchi [Tue, 7 Dec 2010 09:13:32 +0000 (10:13 +0100)]
label: plug a memory leak
Cosimo Cecchi [Tue, 7 Dec 2010 09:08:47 +0000 (10:08 +0100)]
app-chooser-widget: plug a memory leak
Matthias Clasen [Tue, 7 Dec 2010 01:37:30 +0000 (20:37 -0500)]
Bump version
Matthias Clasen [Tue, 7 Dec 2010 00:05:18 +0000 (19:05 -0500)]
More !srcdir fixes for the stylecontext test
Matthias Clasen [Mon, 6 Dec 2010 22:44:12 +0000 (17:44 -0500)]
Update for the removal of gtk_decorated_window_ apis
Matthias Clasen [Mon, 6 Dec 2010 19:35:13 +0000 (14:35 -0500)]
Fix POTFILES for recent changes
Matthias Clasen [Mon, 6 Dec 2010 19:11:46 +0000 (14:11 -0500)]
Prepare the stylecontext test to run out-of-srcdir
This is necessary to make distcheck work.
Matthias Clasen [Mon, 6 Dec 2010 19:10:42 +0000 (14:10 -0500)]
Allow + in identifiers
This is necessary since we treat paths as identifiers in
@import rules, and it is common to have a + in there (at least
when distchecking gtk+ ...)
Benjamin Otte [Mon, 6 Dec 2010 17:56:11 +0000 (18:56 +0100)]
gdk: Add section docs for GdkRGBA
Benjamin Otte [Mon, 6 Dec 2010 16:20:13 +0000 (17:20 +0100)]
gtk: Remove old DirectFB code for drawing window decorations
I'm not sure it'd even compile.
Benjamin Otte [Mon, 6 Dec 2010 16:19:56 +0000 (17:19 +0100)]
gdk: Remove GdkWindowObject typedef
It's unused by now.
Kjartan Maraas [Mon, 6 Dec 2010 17:13:24 +0000 (18:13 +0100)]
Updated Norwegian bokmål translation
Colin Walters [Mon, 6 Dec 2010 16:42:47 +0000 (11:42 -0500)]
introspection: Fix (out) for gdk_screen_get_monitor_geometry
Scanner doesn't detect this case correctly because it's a typedef;
work around it here by explicitly specifying that it's caller
allocates. See bug 636393 for the scanner issue.
Colin Walters [Mon, 6 Dec 2010 16:27:57 +0000 (11:27 -0500)]
configure: Drop AC_PREREQ back down to 2.62
Commit
39f57407639b85c7e929d349ee95eabc46d083e bumped the
autoconf version to 2.64 with no explicit rationale. It looks
to me like a copy-and-paste error. Reverting back to 2.62 (the
previous version). 2.63 at least (RHEL6) works here.
Matthias Clasen [Mon, 6 Dec 2010 15:56:03 +0000 (10:56 -0500)]
Update NEWS for 2.91.6
Matthias Clasen [Mon, 6 Dec 2010 15:12:22 +0000 (10:12 -0500)]
Disable theme engines for now
They need to be ported to GtkThemingEngine.
Murray Cumming [Mon, 6 Dec 2010 15:01:55 +0000 (16:01 +0100)]
Fix a typo to fix the build.
Matthias Clasen [Mon, 6 Dec 2010 14:50:01 +0000 (09:50 -0500)]
Add gtk_widget_path_get_type to the headers
Bug 636591
Kristian Rietveld [Mon, 6 Dec 2010 13:13:40 +0000 (14:13 +0100)]
Port Quartz backend to latest rendering-cleanup changes
Matthias Clasen [Mon, 6 Dec 2010 12:26:00 +0000 (07:26 -0500)]
Fix Makefile syntax
Matthias Clasen [Mon, 6 Dec 2010 05:44:58 +0000 (00:44 -0500)]
Make invalid stylesheets fail to parse again
The recent improvements to error reporting caused gtk_css_provider_load...
to always return TRUE and leave the error unset. Error messages were instead
dumped out with g_message, which is not helpful.
This commit changes things back to the way they were before:
If a GError is passed in, parsing will fail at the first error, reporting
it in the given GError. If no GError is passed in, we keep going and
just issue the warning messages. This fixes the parser tests.
Matthias Clasen [Mon, 6 Dec 2010 05:44:01 +0000 (00:44 -0500)]
Don't use g_warning when loading an engine fails
This causes the tests to abort if clearlooks can't be found.
Benjamin Otte [Mon, 6 Dec 2010 00:30:19 +0000 (01:30 +0100)]
appchooser: Remove bogus function declaration
Benjamin Otte [Sun, 5 Dec 2010 14:05:00 +0000 (15:05 +0100)]
style: Remove unused code
Benjamin Otte [Sun, 5 Dec 2010 13:54:43 +0000 (14:54 +0100)]
gdk: Constify argument to gdk_rgba_copy()
Benjamin Otte [Sun, 5 Dec 2010 13:40:35 +0000 (14:40 +0100)]
gdk: Remove depth argument from GdkWindowImpl->get_geometry()
Benjamin Otte [Sun, 5 Dec 2010 13:36:59 +0000 (14:36 +0100)]
API: gdk: Remove depth argument from gdk_window_get_geometry()
We don't want to expose depth anymore. If you need it, query the visual.
Benjamin Otte [Sun, 5 Dec 2010 13:32:59 +0000 (14:32 +0100)]
gdk: Remove nonexisting function from internal header
Paolo Borelli [Sun, 5 Dec 2010 21:05:29 +0000 (22:05 +0100)]
Use the new style context API in GtkButton
Mostly replaces gtk_widget_style_get with gtk_style_context_get_style
Paolo Borelli [Sun, 5 Dec 2010 20:00:59 +0000 (21:00 +0100)]
Use the new style context API in GtkLabel.
Paolo Borelli [Sun, 5 Dec 2010 20:11:34 +0000 (21:11 +0100)]
Remove unused function modify_color_property
Carlos Garnacho [Sun, 5 Dec 2010 19:18:03 +0000 (20:18 +0100)]
GtkStyleContext: warn on meaningless coords in gtk_render_* calls
Carlos Garnacho [Sun, 5 Dec 2010 19:00:44 +0000 (20:00 +0100)]
Bug 636511 - New style override functions do not work on textview
Emit ::style-set on overrider style changes, this is necessary
in the mean time so widgets not listening yet to ::style-updated
get the style changes.
Jorge González [Sun, 5 Dec 2010 17:33:31 +0000 (18:33 +0100)]
Updated Spanish translation
Matthias Clasen [Sun, 5 Dec 2010 17:18:30 +0000 (12:18 -0500)]
Fix abi check after recent merges
Fran Diéguez [Sun, 5 Dec 2010 13:57:08 +0000 (14:57 +0100)]
Updated Galician translations
Kristian Rietveld [Sun, 5 Dec 2010 12:56:24 +0000 (13:56 +0100)]
Do not bother starting a draw call if bar_size <= 0
Yaron Shahrabani [Sun, 5 Dec 2010 12:14:03 +0000 (14:14 +0200)]
Updated Hebrew translation
Paolo Borelli [Sun, 5 Dec 2010 11:30:28 +0000 (12:30 +0100)]
Avoid memory corruption in the color_properties hashtable.
Javier Jardón [Sat, 27 Nov 2010 03:38:17 +0000 (04:38 +0100)]
Add internal accessor for GtkEntry->is_cell_renderer
This fixes commit
fb3429e5072508570d78dcc7cccb6ef425586bb2
Matthias Clasen [Sat, 4 Dec 2010 22:25:40 +0000 (17:25 -0500)]
Fix a segfault in gdk_window_beep
Not a good idea to cast an instance to a class...
Matthias Clasen [Sat, 4 Dec 2010 21:32:02 +0000 (16:32 -0500)]
Try again to fix the gdk symbol list
Grr, gdk_window_class_class_get_type should have been
gdk_window_window_class_get_type.
Matthias Clasen [Sat, 4 Dec 2010 21:16:29 +0000 (16:16 -0500)]
Fix gdk_rgba_parse call
Carlos Garnacho [Sat, 4 Dec 2010 17:26:02 +0000 (18:26 +0100)]
Fix call to gtk_widget_override_cursor()
Carlos Garnacho [Sat, 4 Dec 2010 16:44:53 +0000 (17:44 +0100)]
Make gtk_widget_override_cursor() take GdkRGBAs
Even though the style properties have the GdkColor type, the other
gtk_widget_override_* API takes RGBA colors, so it is consistent
now.
Paolo Borelli [Sat, 4 Dec 2010 13:55:11 +0000 (14:55 +0100)]
Annotate gdk_window_get_geometry, get_position and get_origin
Carlos Garnacho [Sat, 4 Dec 2010 14:08:35 +0000 (15:08 +0100)]
GtkThemingEngine: Fix parameters for gtk_theming_engine_lookup_color()
Carlos Garnacho [Sat, 4 Dec 2010 13:29:16 +0000 (14:29 +0100)]
testgtk: Fix gdk_rgba_parse() arguments.
Carlos Garnacho [Fri, 3 Dec 2010 20:56:39 +0000 (21:56 +0100)]
GtkCssProvider: Improve error handling and reporting.
Nicer error reports are provided, and a GError can be spread from
anywhere in parsing, so over time more precise and meaningful
messages can be produced.
Carlos Garnacho [Fri, 3 Dec 2010 11:25:12 +0000 (12:25 +0100)]
GtkThemingEngine: Be a bit more robust against missing essential properties.
Carlos Garcia Campos [Fri, 3 Dec 2010 20:14:48 +0000 (21:14 +0100)]
GtkWidget: add gtk_widget_render_icon_pixbuf()
and deprecate gtk_widget_render_icon()
Carlos Garcia Campos [Fri, 3 Dec 2010 19:39:58 +0000 (20:39 +0100)]
GtkIconFactory: add gtk_icon_set_render_icon_pixbuf()
and deprecate gtk_icon_set_render_icon().
Carlos Garcia Campos [Fri, 3 Dec 2010 19:31:13 +0000 (20:31 +0100)]
GtkStyle: set style context state before calling gtk_render_icon_pixbuf()
Carlos Garcia Campos [Fri, 3 Dec 2010 19:30:13 +0000 (20:30 +0100)]
GtkStyle: make context property readable
Carlos Garcia Campos [Fri, 3 Dec 2010 13:10:32 +0000 (14:10 +0100)]
GtkWidget: queue a resize when style context changed
Carlos Garcia Campos [Fri, 3 Dec 2010 13:09:35 +0000 (14:09 +0100)]
GtkStyleContext: invalidate icon caches when resetting widgets
Carlos Garcia Campos [Fri, 3 Dec 2010 13:08:33 +0000 (14:08 +0100)]
Use gtk_style_context_reset_widgets() instead of gtk_rc_reset_styles()
Carlos Garcia Campos [Fri, 3 Dec 2010 13:00:16 +0000 (14:00 +0100)]
GtkSettings: add _gtk_settings_get_screen() private method
Carlos Garnacho [Thu, 2 Dec 2010 22:45:14 +0000 (23:45 +0100)]
Block direct #including in style headers
Carlos Garnacho [Thu, 2 Dec 2010 22:41:24 +0000 (23:41 +0100)]
Add helper API for getting colors/borders in GtkStyleContext/GtkThemingEngine
Carlos Garnacho [Thu, 2 Dec 2010 22:37:15 +0000 (23:37 +0100)]
GtkStyleProperties: Refactor color/gradient resolution
Carlos Garnacho [Thu, 2 Dec 2010 21:03:57 +0000 (22:03 +0100)]
GtkWidget: Add gtk_widget_override_cursor().
This function replaces gtk_widget_modify_cursor().
Carlos Garnacho [Thu, 2 Dec 2010 19:28:09 +0000 (20:28 +0100)]
Add GtkModifierStyle as a private object
This object backs up gtk_widget_override_* operations. This object
is not meant to be public because any intention to modify widgets'
style in a themeable way should involve using regions/classes, so
they're modifiable through CSS. As such, the API is really
short-scoped.
Carlos Garnacho [Wed, 1 Dec 2010 19:25:52 +0000 (20:25 +0100)]
Gtk9Slice: Fix stretch rendering.
"Nearest" filter used when scaling the image, so image borders
aren't blurred.
Carlos Garnacho [Wed, 1 Dec 2010 18:19:26 +0000 (19:19 +0100)]
GtkThemingEngine: Add gtk_theming_engine_lookup_color()
It could also be handy for theme engines...
Carlos Garnacho [Wed, 1 Dec 2010 01:55:31 +0000 (02:55 +0100)]
Parse user CSS from $XDG_CONFIG_HOME/gtk-3.0/gtk.css
Carlos Garnacho [Wed, 1 Dec 2010 00:26:03 +0000 (01:26 +0100)]
GtkThemingEngine: Remove unused variables
Carlos Garnacho [Wed, 1 Dec 2010 00:19:24 +0000 (01:19 +0100)]
Fix compiler warnings.
Carlos Garnacho [Tue, 30 Nov 2010 23:55:14 +0000 (00:55 +0100)]
GtkStyleProperties: Turn border-width into a GtkBorder property.
All current users of this CSS property have been updated to deal
with a GtkBorder.
Also a 0 border width has been set in the default CSS to ensure
GtkStyleContext and GtkThemingEngine always provide a non-NULL
pointer for this property.
Carlos Garnacho [Tue, 30 Nov 2010 03:00:26 +0000 (04:00 +0100)]
Fix docs typo.
Carlos Garnacho [Tue, 30 Nov 2010 02:59:39 +0000 (03:59 +0100)]
GtkCssProvider: Fix up state matching when looking up style properties.
Carlos Garnacho [Tue, 30 Nov 2010 01:14:00 +0000 (02:14 +0100)]
GtkStyleProvider: Add GtkStateFlags parameter to get_style_property().
Widget style properties can now have different values depending on the
current state.
Carlos Garnacho [Tue, 30 Nov 2010 01:13:10 +0000 (02:13 +0100)]
GtkStyleContext: Handle directionality when picking next provider.
Carlos Garnacho [Mon, 29 Nov 2010 10:27:43 +0000 (11:27 +0100)]
GtkWidget: unset NULL properties when overriding style.
Carlos Garnacho [Mon, 29 Nov 2010 10:25:09 +0000 (11:25 +0100)]
GtkThemingEngine: Render gradients in tabs.
Background will be actually rotated in tabs, so the "bottom" side coincides
with the junction point, this makes gradients work as expected in rotated tabs.
Carlos Garnacho [Mon, 29 Nov 2010 10:24:04 +0000 (11:24 +0100)]
GtkThemingEngine: split background rendering to a private function.
Carlos Garnacho [Fri, 26 Nov 2010 00:27:19 +0000 (01:27 +0100)]
GtkStyle: Commit a few typos when translating states.
Carlos Garcia Campos [Fri, 26 Nov 2010 08:07:41 +0000 (09:07 +0100)]
docs: gtk_style_context_get_screen() always returns a valid screen
Carlos Garcia Campos [Fri, 26 Nov 2010 08:01:17 +0000 (09:01 +0100)]
Check screen really changed before notifying it and invalidating the context
Carlos Garcia Campos [Fri, 26 Nov 2010 07:59:10 +0000 (08:59 +0100)]
Initialize screen of GtkStyleContext to default screen
Matthias Clasen [Fri, 26 Nov 2010 07:35:38 +0000 (02:35 -0500)]
Add explanation to failing test
Matthias Clasen [Fri, 26 Nov 2010 07:29:56 +0000 (02:29 -0500)]
Add a testcase a problem with style property handling
Matthias Clasen [Fri, 26 Nov 2010 05:43:16 +0000 (00:43 -0500)]
Allow images for background-image
In addition to -gtk-gradient(...), allow url(path), and create
a pattern from the image. Still to do: allow stretch/repeat options.
Matthias Clasen [Fri, 26 Nov 2010 04:49:07 +0000 (23:49 -0500)]
Add list of classes and regions to the docs
Matthias Clasen [Fri, 26 Nov 2010 04:46:15 +0000 (23:46 -0500)]
Avoid compiler warnings