Benjamin Otte
45a2656e32
style: Convert draw_box_gap vfunc to Cairo version
...
Includes removal of now unused draw_gap_image_no_cairo() function from
pixbuf theme engine.
2010-09-26 15:02:58 +02:00
Benjamin Otte
3f7b36d5cc
style: Convert draw_shadow_gap vfunc to a Cairo version
2010-09-26 15:02:58 +02:00
Benjamin Otte
e1544bcc7f
style: Convert draw_tab vfunc to Cairo version
2010-09-26 15:02:58 +02:00
Benjamin Otte
f2dc8a26ed
style: Convert draw_option vfunc to Cairo version
2010-09-26 15:02:58 +02:00
Benjamin Otte
fed19bcf50
style: Convert draw_check vfunc to Cairo version
2010-09-26 15:02:58 +02:00
Benjamin Otte
bea727a142
style: Convert draw_flat_box vfunc to Cairo version
2010-09-26 15:02:58 +02:00
Benjamin Otte
8c325f0d60
style: Convert draw_shadow vfunc to Cairo version
2010-09-26 15:02:58 +02:00
Benjamin Otte
e59cbd5605
style: Convert draw_vline vfunc to a Cairo version
2010-09-26 15:02:58 +02:00
Benjamin Otte
abaecf4308
style: Convert draw_hline vfunc to Cairo version
2010-09-26 15:02:58 +02:00
Benjamin Otte
761a1932a6
pixbuf-engine: Add Cairo version for draw_gap_image()
2010-09-26 15:02:57 +02:00
Benjamin Otte
e08d4258bb
pixbuf-engine: Add Cairo version for draw_simple_image()
2010-09-26 15:02:57 +02:00
Benjamin Otte
507f37b536
pixbuf-engine: Make theme_pixbuf_render take a cairo_t
...
This is in preparation for the theme engine switch to Cairo. We keep the
old function around so that we can step-by-step upgrade all the vfuncs.
2010-09-26 15:02:57 +02:00
Benjamin Otte
f7cfaee18a
pixbuf-engine: Get rid of unused mask argument
2010-09-26 15:02:57 +02:00
Javier Jardón
bb90394147
Do not disable GDK deprecation guards
2010-09-22 04:28:53 +02:00
Javier Jardón
fb62d6105f
Do not disable deprecation guards
2010-09-22 04:21:13 +02:00
Javier Jardón
809dbe9f99
gail: Do not use deprecated gtk_cell_renderer_get_size()
...
Use gtk_cell_size_request_get_size() instead
https://bugzilla.gnome.org/show_bug.cgi?id=629785
2010-09-17 20:00:25 +02:00
Javier Jardón
b140884fec
Use gtk_size_request_get_size() instead deprecated gtk_widget_size_request()
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=629598
Signed-off-by: Javier Jardón <jjardon@gnome.org>
Signed-off-by: Tristan Van Berkom <tristanvb@openismus.com>
2010-09-15 03:02:58 +02:00
Mike Gorse
e356769f33
Gail: Remove gail_cell_type_add_action_interface, as it no longer does anything
2010-09-10 09:46:34 -04:00
Mike Gorse
da0975d5f2
Gail: Take fill/page size into account when returning a range's maximum value
2010-09-10 06:09:41 -04:00
Matthias Clasen
0dcaad3a85
Drop the gdk_display variable from gdk
...
This was the last exported variable; it wasn't multihead safe,
and there's easy replacement with gdk_display_get_default().
Also drop the GDK_DISPLAY() macro which was just a wrapper around
the variable.
2010-09-09 19:46:41 -04:00
Benjamin Otte
b0b8393f99
gail: Add missing include
2010-09-09 15:46:55 +02:00
Tor Lillqvist
7464a9ca08
Use accessor functions
2010-09-09 15:02:33 +03:00
Tor Lillqvist
0c662ecb9a
Fix gail build
2010-09-09 15:01:36 +03:00
Tor Lillqvist
f76fddb8a7
Use accessor functions in Win32-only code
2010-09-09 11:09:55 +03:00
Matthias Clasen
91d0728dfa
Fix build of gail after GtkItem removal
2010-09-09 00:51:08 -04:00
Colin Walters
913cdf3be7
GDK: Prefix key names with KEY_
...
The keysyms create a lot of potential namespace conflicts for
C, and are especially problematic for introspection, where we take
constants into the namespace, so GDK_Display conflicts with GdkDisplay.
For C application compatiblity, add gdkkeysyms-compat.h which uses
the old names.
Just one user in GTK+ continues to use gdkkeysyms-compat.h, which is
the gtkimcontextsimple.c, since porting that requires porting more
custom Perl code.
2010-09-08 18:51:44 -04:00
Tor Lillqvist
801875b805
Replace gtk_debug_flags with getter and setter functions
...
Preferrably should be made just into a local variable for libgtk like
_gdk_debug_flags for libgdk. But for now used by
gtk/tests/textbuffer.c and modules/printbackends/cups/gtkprintbackendcups.c.
2010-09-08 21:31:34 +03:00
Martin Schlemmer
e6da33a302
MS Windows engine: draw elements in the right place.
...
Work in progress, still remains to be solved the problem of clipping.
2010-09-03 22:19:39 +02:00
Fridrich Štrba
03b6a9b6a0
Oops, make the MS Windows theme really compile.
2010-09-02 15:39:19 +02:00
Fridrich Štrba
97cd2500c3
Make the MS Windows engine compile again.
...
Nevertheless, it is not working and needs a lot of fixing before
it can be useful.
2010-09-02 15:04:14 +02:00
Tor Lillqvist
2994fa11fb
Avoid potential DLL hijacking in ms-windows theme engine
...
Load uxtheme.dll from an absolute path. A proper uxtheme.dll, if
present, will always be in the Windows system directory, so load it
from there.
2010-09-02 14:45:59 +03:00
Fridrich Štrba
e78851b928
Adapt to progressbar api change
2010-09-02 10:24:34 +02:00
Fridrich Štrba
5032cdf88f
Porting MS Windows theme engine to cairo - Part 1: stippling
2010-08-31 18:05:41 +02:00
Fridrich Štrba
78dc2debc0
Porting the MS Windows theme engine to cairo - Part 2 rectangle and line drawing
2010-08-31 18:05:41 +02:00
Javier Jardón
8da741f955
Gail: use accessor functions to access GtkScrolledWindow
2010-08-31 01:34:02 +02:00
Szilárd Pfeiffer
d8a90be370
Fixed minimum increment calculation of GailScaleButton.
...
Also implemented to use the adjustment to determine the current, minimum,
maximum values and mimimum increment just as the other widgets which have
adjustment.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=626710
2010-08-30 22:39:11 +02:00
Martin Schlemmer
e14560cf1e
[win32] Properly draw the menu separator for Windows Vista/7.
...
Also adds the bits for transparency.
2010-08-30 20:05:09 +02:00
Martin Schlemmer
8476d22dea
[win32] Use pango_win32_font_description_from_logfontw() to get
...
the system font, instead of the code duplication.
2010-08-30 20:01:41 +02:00
Martin Schlemmer
04e241fd85
[win32] Fix some warnings related to type differences and unused variables
2010-08-30 19:58:19 +02:00
Szilárd Pfeiffer
86851b7ad3
modules/other/gail/gailtogglebutton.c: Add/remove indeterminate state
...
GailToggleButton does not set/unset ATK_STATE_INDETERMINATE according to the
value of GtkToggleButton's inconsistent property.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=626537
2010-08-29 19:21:05 +02:00
Javier Jardón
ff445e2b79
Use accessor functions to access GtkRange
2010-08-23 20:47:52 +02:00
Javier Jardón
fe16bdd8d4
gail: Use accessor functions to access GtkWindow
2010-08-23 20:17:49 +02:00
Javier Jardón
b1924555df
modules/input/gtkimcontextxim.c: Use accessors to GtkWidget
2010-08-22 18:32:50 +02:00
Javier Jardón
104fdae2bf
Gail: use accessor functions to access GtkWidget
2010-08-22 18:32:43 +02:00
Philip Withnall
5fa4a05ccc
Miscellaneous string fixes
...
Mostly capitalisation fixes. Closes: bgo#528257
2010-08-22 15:06:45 +01:00
Matthias Clasen
0cb1f9a180
Make print backends use standard icon names for printers
...
This is to make the print dialog work with the previous commit.
See bug 626474.
2010-08-18 18:27:39 -04:00
Benjamin Otte
9f1939cbd5
API: Remove GtkTextTag's stipple properties
...
They seem pretty much unused and the only reason why GtkTextView uses a
GdkPangoRenderer and not a PangoCairoRenderer.
2010-08-10 21:02:28 +02:00
Benjamin Otte
24a867f8da
image: remove GdkImage as a possible image type
...
GdkImage is about to be deprecated.
2010-08-10 21:02:25 +02:00
Matthias Clasen
7844d3b8db
Fix gail_notebook_get_selection_count()
...
This function should return 0 for empty notebooks. Based on
a patch by Mike Gorse, bug 557263.
2010-08-09 22:24:24 -04:00
Sam Thursfield
a2b72c5953
Add missing accessors for notebook details
...
The ms-windows theme engine needs to access the tab-{h,v}border,
so add accessors. Bug 625655.
2010-08-09 21:20:07 -04:00