Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add some missing symbols to the docs | Matthias Clasen | 2011-02-08 | 1 | -0/+10 |
| | |||||
* | GtkStyleContext is meant to have a GdkScreen | Carlos Garnacho | 2011-02-06 | 1 | -0/+1 |
| | | | | | | | | | It is used to get the default providers, without them the style context can't do much. A check for NULL screen is done before any sensitive call to gtk_style_context_set_screen(), in the hope that any widget will open the display before doing anything related to styling. Fixes bug #641429, reported by Bastien Nocera. | ||||
* | Don't assume a screen exists before realize() | Matthias Clasen | 2011-02-04 | 1 | -4/+5 |
| | | | | Fix for https://bugzilla.gnome.org/show_bug.cgi?id=641429 | ||||
* | doc fixes | Matthias Clasen | 2011-01-30 | 1 | -10/+12 |
| | |||||
* | Documentation tweaks | Matthias Clasen | 2011-01-29 | 1 | -1/+2 |
| | |||||
* | Move the get_cursor_color in GtkStyleContext | Paolo Borelli | 2011-01-29 | 1 | -53/+4 |
| | | | | | | | Move the private get_cursor_color method belongs to StyleContext. Change the api so that retrieving both primary and secondary color is possible. I left the method private for now, though it should probably be public as all the other getters. | ||||
* | Use GtkRGBA for the cursor color priv api. | Paolo Borelli | 2011-01-29 | 1 | -22/+19 |
| | |||||
* | Fix typo in calculating secondary cursor color | Paolo Borelli | 2011-01-29 | 1 | -1/+1 |
| | |||||
* | Avoid passing widgets around here | Matthias Clasen | 2011-01-24 | 1 | -11/+9 |
| | | | | The style context is enough. | ||||
* | Port gtk_draw_insertion_cursor to GtkStyleContext | Matthias Clasen | 2011-01-24 | 1 | -80/+43 |
| | |||||
* | Don't leak CursorInfo structs | Matthias Clasen | 2011-01-23 | 1 | -12/+20 |
| | |||||
* | Split out private style context api into a private header | Matthias Clasen | 2011-01-23 | 1 | -0/+1 |
| | |||||
* | [GI] Mark unintrospectable constructs as (skip) | Pavel Holejsovsky | 2011-01-20 | 1 | -1/+1 |
| | | | | | Also adds 'Rename to:' annotation to some constructs replacing the skipped ones. | ||||
* | [GI] Add missing (out) and (array) annotations | Pavel Holejsovsky | 2011-01-20 | 1 | -1/+1 |
| | |||||
* | [GI] Add missing (transfer) annotations | Pavel Holejsovsky | 2011-01-20 | 1 | -1/+1 |
| | |||||
* | Plugged memory leak in gtk_style_finalize (destroy the ->background[] patterns). | Tristan Van Berkom | 2011-01-16 | 1 | -0/+7 |
| | |||||
* | Remove deprecated GtkSpinner style properties | Matthias Clasen | 2011-01-05 | 1 | -3/+1 |
| | |||||
* | Fix leak in GtkStyle. | Carlos Garnacho | 2010-12-28 | 1 | -3/+8 |
| | |||||
* | Avoid rendering frames when shadow type argument is GTK_SHADOW_NONE in | Tristan Van Berkom | 2010-12-28 | 1 | -9/+19 |
| | | | | gtk_paint_* functions. | ||||
* | Drop GtkThemeEngine | Matthias Clasen | 2010-12-23 | 1 | -2/+0 |
| | | | | It is not used anymore. | ||||
* | Return an appropriate GtkStyle from gtk_rc_get_style_by_paths() | Owen W. Taylor | 2010-12-21 | 1 | -9/+22 |
| | | | | | | | | | | Always returning NULL (no match) from gtk_rc_get_style_by_paths() means that looking up colors and style properties based on the GtkStyle will give default values instead of themed values. We can do better by returning a GtkStyle based on a GtkWidgetPath that we figure out from the values passed in to get_style_by_paths(). https://bugzilla.gnome.org/show_bug.cgi?id=637520 | ||||
* | Make gtk_style_new() use a backing GtkStyleContext | Carlos Garnacho | 2010-12-20 | 1 | -3/+17 |
| | | | | | | | | Fixes a bug in mutter where it would resort to a dummy style to get iconview rubberband color. Reported by Mathieu Bridon in https://bugzilla.gnome.org/show_bug.cgi?id=637520 | ||||
* | Remove dead Gtk[Rc]Style code | Carlos Garnacho | 2010-12-18 | 1 | -440/+41 |
| | | | | | | | | | | | | Most code in gtkrc.c has been turned into a no-op, but that one reverting in public API (gtk_rc_scanner_new() and such). GtStyle is also more shallow, now fully relies in the backing GtkStyleContext and all connection to gtkrc.c has been removed. GtkBinding has been also affected, there is no replacement yet for custom keybindings in style files, so that piece of code that hooked into gtkrc has been replaced by a FIXME so in the future it may be added back. | ||||
* | More parameter name mismatches | Matthias Clasen | 2010-12-17 | 1 | -3/+0 |
| | |||||
* | style: Remove unused code | Benjamin Otte | 2010-12-06 | 1 | -303/+0 |
| | |||||
* | GtkStyle: set style context state before calling gtk_render_icon_pixbuf() | Carlos Garcia Campos | 2010-12-04 | 1 | -0/+15 |
| | |||||
* | GtkStyle: make context property readable | Carlos Garcia Campos | 2010-12-04 | 1 | -1/+27 |
| | |||||
* | GtkStyle: Commit a few typos when translating states. | Carlos Garnacho | 2010-12-04 | 1 | -4/+4 |
| | |||||
* | Don't add class "scrollbar" for every trough | Matthias Clasen | 2010-12-04 | 1 | -4/+1 |
| | | | | | Turns out "trough" as a detail string is used in a variety of widgets, not all of which are scrollbars. | ||||
* | Some header cleanups | Matthias Clasen | 2010-12-04 | 1 | -47/+3 |
| | | | | | Move GtkGradient to their own files, also move GtkBorder out of gtkstyle.h, so that header can be all deprecated. | ||||
* | Add deprecation notes | Matthias Clasen | 2010-12-04 | 1 | -0/+2 |
| | |||||
* | Initial attempt at deprecating GtkStyle api | Matthias Clasen | 2010-12-04 | 1 | -23/+80 |
| | | | | This will probably need some finetuning. | ||||
* | GtkStyle: Return the default icon set if no context is attached. | Carlos Garnacho | 2010-12-04 | 1 | -1/+4 |
| | |||||
* | GtkStyle: Do not warn if attach count == 0 | Carlos Garnacho | 2010-12-04 | 1 | -2/+4 |
| | | | | | This is going go happen more and more often now, as realize handlers start removing the gtk_widget_style_attach() calls. | ||||
* | Fix resize grip drawing | Matthias Clasen | 2010-12-04 | 1 | -4/+4 |
| | | | | There was some confusion about junctions... | ||||
* | Make unfocused selections visible in entries | Matthias Clasen | 2010-12-04 | 1 | -0/+3 |
| | |||||
* | Make expanders prelight | Matthias Clasen | 2010-12-04 | 1 | -0/+2 |
| | |||||
* | GtkStyle: handle scales when translating the detail string. | Carlos Garnacho | 2010-12-04 | 1 | -1/+8 |
| | |||||
* | Use gtk_render_activity() when rendering progressbars through GtkStyle | Carlos Garnacho | 2010-12-04 | 1 | -2/+7 |
| | |||||
* | GtkStyle: Fix typo. | Carlos Garnacho | 2010-12-04 | 1 | -4/+23 |
| | | | | | GtkStateType was being used in gtk_style_context_get(), instead of GtkStateFlags, oops. | ||||
* | Transform the 'menu' detail string to the 'popup' class | Matthias Clasen | 2010-12-04 | 1 | -0/+5 |
| | |||||
* | Translate detail strings for radio buttons | Matthias Clasen | 2010-12-04 | 1 | -0/+4 |
| | |||||
* | Handle menuitem detail string better. | Carlos Garnacho | 2010-12-04 | 1 | -1/+4 |
| | |||||
* | Don't whine about expander-style missing | Matthias Clasen | 2010-12-04 | 1 | -1/+3 |
| | | | | This check was lost in the GtkStyleContext porting. | ||||
* | GtkStyle: transform tabs' detail string. | Carlos Garnacho | 2010-12-04 | 1 | -0/+5 |
| | |||||
* | GtkStyle: translate a few more detail strings. | Carlos Garnacho | 2010-12-04 | 1 | -0/+8 |
| | |||||
* | GtkStyle: transform window background detail string. | Carlos Garnacho | 2010-12-04 | 1 | -0/+2 |
| | |||||
* | GtkStyle: Transform menubar detail string. | Carlos Garnacho | 2010-12-04 | 1 | -0/+2 |
| | |||||
* | GtkStyle: Transform menu accelerators string | Carlos Garnacho | 2010-12-04 | 1 | -0/+2 |
| | |||||
* | GtkStyleContext: Add gtk_render_icon_pixbuf() | Carlos Garnacho | 2010-12-04 | 1 | -102/+23 |
| | | | | | This function is similar to gtk_style_render_icon(), which is now implemented on top of this one. |