summaryrefslogtreecommitdiff
path: root/gtk/gtkstyle.c
Commit message (Collapse)AuthorAgeFilesLines
* Add some missing symbols to the docsMatthias Clasen2011-02-081-0/+10
|
* GtkStyleContext is meant to have a GdkScreenCarlos Garnacho2011-02-061-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 Clasen2011-02-041-4/+5
| | | | Fix for https://bugzilla.gnome.org/show_bug.cgi?id=641429
* doc fixesMatthias Clasen2011-01-301-10/+12
|
* Documentation tweaksMatthias Clasen2011-01-291-1/+2
|
* Move the get_cursor_color in GtkStyleContextPaolo Borelli2011-01-291-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 Borelli2011-01-291-22/+19
|
* Fix typo in calculating secondary cursor colorPaolo Borelli2011-01-291-1/+1
|
* Avoid passing widgets around hereMatthias Clasen2011-01-241-11/+9
| | | | The style context is enough.
* Port gtk_draw_insertion_cursor to GtkStyleContextMatthias Clasen2011-01-241-80/+43
|
* Don't leak CursorInfo structsMatthias Clasen2011-01-231-12/+20
|
* Split out private style context api into a private headerMatthias Clasen2011-01-231-0/+1
|
* [GI] Mark unintrospectable constructs as (skip)Pavel Holejsovsky2011-01-201-1/+1
| | | | | Also adds 'Rename to:' annotation to some constructs replacing the skipped ones.
* [GI] Add missing (out) and (array) annotationsPavel Holejsovsky2011-01-201-1/+1
|
* [GI] Add missing (transfer) annotationsPavel Holejsovsky2011-01-201-1/+1
|
* Plugged memory leak in gtk_style_finalize (destroy the ->background[] patterns).Tristan Van Berkom2011-01-161-0/+7
|
* Remove deprecated GtkSpinner style propertiesMatthias Clasen2011-01-051-3/+1
|
* Fix leak in GtkStyle.Carlos Garnacho2010-12-281-3/+8
|
* Avoid rendering frames when shadow type argument is GTK_SHADOW_NONE inTristan Van Berkom2010-12-281-9/+19
| | | | gtk_paint_* functions.
* Drop GtkThemeEngineMatthias Clasen2010-12-231-2/+0
| | | | It is not used anymore.
* Return an appropriate GtkStyle from gtk_rc_get_style_by_paths()Owen W. Taylor2010-12-211-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 GtkStyleContextCarlos Garnacho2010-12-201-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 codeCarlos Garnacho2010-12-181-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 mismatchesMatthias Clasen2010-12-171-3/+0
|
* style: Remove unused codeBenjamin Otte2010-12-061-303/+0
|
* GtkStyle: set style context state before calling gtk_render_icon_pixbuf()Carlos Garcia Campos2010-12-041-0/+15
|
* GtkStyle: make context property readableCarlos Garcia Campos2010-12-041-1/+27
|
* GtkStyle: Commit a few typos when translating states.Carlos Garnacho2010-12-041-4/+4
|
* Don't add class "scrollbar" for every troughMatthias Clasen2010-12-041-4/+1
| | | | | Turns out "trough" as a detail string is used in a variety of widgets, not all of which are scrollbars.
* Some header cleanupsMatthias Clasen2010-12-041-47/+3
| | | | | Move GtkGradient to their own files, also move GtkBorder out of gtkstyle.h, so that header can be all deprecated.
* Add deprecation notesMatthias Clasen2010-12-041-0/+2
|
* Initial attempt at deprecating GtkStyle apiMatthias Clasen2010-12-041-23/+80
| | | | This will probably need some finetuning.
* GtkStyle: Return the default icon set if no context is attached.Carlos Garnacho2010-12-041-1/+4
|
* GtkStyle: Do not warn if attach count == 0Carlos Garnacho2010-12-041-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 drawingMatthias Clasen2010-12-041-4/+4
| | | | There was some confusion about junctions...
* Make unfocused selections visible in entriesMatthias Clasen2010-12-041-0/+3
|
* Make expanders prelightMatthias Clasen2010-12-041-0/+2
|
* GtkStyle: handle scales when translating the detail string.Carlos Garnacho2010-12-041-1/+8
|
* Use gtk_render_activity() when rendering progressbars through GtkStyleCarlos Garnacho2010-12-041-2/+7
|
* GtkStyle: Fix typo.Carlos Garnacho2010-12-041-4/+23
| | | | | GtkStateType was being used in gtk_style_context_get(), instead of GtkStateFlags, oops.
* Transform the 'menu' detail string to the 'popup' classMatthias Clasen2010-12-041-0/+5
|
* Translate detail strings for radio buttonsMatthias Clasen2010-12-041-0/+4
|
* Handle menuitem detail string better.Carlos Garnacho2010-12-041-1/+4
|
* Don't whine about expander-style missingMatthias Clasen2010-12-041-1/+3
| | | | This check was lost in the GtkStyleContext porting.
* GtkStyle: transform tabs' detail string.Carlos Garnacho2010-12-041-0/+5
|
* GtkStyle: translate a few more detail strings.Carlos Garnacho2010-12-041-0/+8
|
* GtkStyle: transform window background detail string.Carlos Garnacho2010-12-041-0/+2
|
* GtkStyle: Transform menubar detail string.Carlos Garnacho2010-12-041-0/+2
|
* GtkStyle: Transform menu accelerators stringCarlos Garnacho2010-12-041-0/+2
|
* GtkStyleContext: Add gtk_render_icon_pixbuf()Carlos Garnacho2010-12-041-102/+23
| | | | | This function is similar to gtk_style_render_icon(), which is now implemented on top of this one.