Commit Graph

979 Commits

Author SHA1 Message Date
f76fddb8a7 Use accessor functions in Win32-only code 2010-09-09 11:09:55 +03:00
91d0728dfa Fix build of gail after GtkItem removal 2010-09-09 00:51:08 -04:00
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
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
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
03b6a9b6a0 Oops, make the MS Windows theme really compile. 2010-09-02 15:39:19 +02:00
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
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
e78851b928 Adapt to progressbar api change 2010-09-02 10:24:34 +02:00
5032cdf88f Porting MS Windows theme engine to cairo - Part 1: stippling 2010-08-31 18:05:41 +02:00
78dc2debc0 Porting the MS Windows theme engine to cairo - Part 2 rectangle and line drawing 2010-08-31 18:05:41 +02:00
8da741f955 Gail: use accessor functions to access GtkScrolledWindow 2010-08-31 01:34:02 +02:00
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
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
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
04e241fd85 [win32] Fix some warnings related to type differences and unused variables 2010-08-30 19:58:19 +02:00
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
ff445e2b79 Use accessor functions to access GtkRange 2010-08-23 20:47:52 +02:00
fe16bdd8d4 gail: Use accessor functions to access GtkWindow 2010-08-23 20:17:49 +02:00
b1924555df modules/input/gtkimcontextxim.c: Use accessors to GtkWidget 2010-08-22 18:32:50 +02:00
104fdae2bf Gail: use accessor functions to access GtkWidget 2010-08-22 18:32:43 +02:00
5fa4a05ccc Miscellaneous string fixes
Mostly capitalisation fixes. Closes: bgo#528257
2010-08-22 15:06:45 +01:00
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
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
24a867f8da image: remove GdkImage as a possible image type
GdkImage is about to be deprecated.
2010-08-10 21:02:25 +02:00
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
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
4047d0526d Towards GSEAL-clean build on win32
Use accessors instead of direct member access in a few places.
Bug 625655.
2010-08-09 21:17:37 -04:00
93fa95e79f Implement GailAdjustment::get_minimium_increment
...and use it in GailRange and GailSpinButton. Bug 625953.
2010-08-09 21:12:46 -04:00
2686af2fbb Make Gail work with custom treemodels
Gail did set the role to ATK_ROLE_TABLE for anything that is
not a GtkTreeStore. The propery way to do this is to look at the
tree model flags for list-onlyness. Bug 580291.
2010-08-09 21:09:30 -04:00
c1c9b7dfc8 pixbuf-engine: Draw mask with Cairo
No more gdk_pixbuf_render_threshold_alpha()
2010-07-26 16:42:47 +02:00
a22ebc974f pixbuf-engine: replace call to gdk_draw_pixbuf() with Cairo equivalent 2010-07-26 16:42:47 +02:00
59db821725 pixbuf-engine: Replace gdk_draw_pixbuf() with Cairo equivalent
This replaces the tiled fill call only.
2010-07-26 16:42:47 +02:00
7f1801eae1 imcontextxim: Draw with Cairo 2010-07-26 16:42:47 +02:00
c90ba0a3be cups: Fix cast warnings 2010-07-26 16:42:46 +02:00
e42c29ca98 gail-util: Constify gchar argument
And avoid a compiler warning.

https://bugzilla.gnome.org/show_bug.cgi?id=624349
2010-07-16 17:44:15 +01:00
bf976cc1e4 Use accessor functions to access GtkStatusbar 2010-07-13 19:40:50 +02:00
c17dad9d32 Use accessor functions to access GtkSpinButton 2010-07-13 19:40:50 +02:00
675745e1ca Use accessor functions to access GtkScrolledWindow 2010-07-13 19:40:50 +02:00
92a1382bd6 Use accessor functions to access GtkPaned 2010-07-13 19:40:49 +02:00
41d2a4d059 Use accessor funtions to acces GtkImage 2010-07-13 19:40:48 +02:00
7f2cc85db9 Use accessor functions to access GtkDialog 2010-07-13 19:40:47 +02:00
4427760bcc Use GtkBin accessors 2010-07-13 19:40:47 +02:00
94fd7a3502 Use accessor functions to access GtkCheckMenuItem 2010-07-13 19:40:46 +02:00
72f515a0f3 gtkcellrendererpixbuf: Move public members to private structure 2010-07-13 19:40:46 +02:00
6736c085b3 Use accessor functions to access GtkCellRendererText 2010-07-13 19:40:45 +02:00
db584abef3 Use accessor functions to access GtkCellRenderer 2010-07-13 19:40:45 +02:00
5ee19bdafe Use accessor functions to access GtkAccesible variables 2010-07-13 19:40:45 +02:00
3862bf3208 gtkarrow: Move public members to private structure 2010-07-13 19:40:44 +02:00
d562611660 Use accessor functions to access GtkNotebook 2010-07-13 17:50:48 +02:00