Benjamin Otte
9e1ae0e29a
pixbuf-engine: replace call to gdk_draw_pixbuf() with Cairo equivalent
2010-08-07 15:35:50 +02:00
Benjamin Otte
769c63c7ef
pixbuf-engine: Replace gdk_draw_pixbuf() with Cairo equivalent
...
This replaces the tiled fill call only.
2010-08-07 15:35:50 +02:00
Benjamin Otte
3cbdc7ac89
imcontextxim: Draw with Cairo
2010-08-07 15:35:49 +02:00
Benjamin Otte
fafc457a01
cups: Fix cast warnings
2010-07-26 11:58:23 +02:00
Christian Dywan
aa017fae64
Deprecate GtkNotebookPage as used in switch-page
...
Fixes: 618327
2010-07-13 16:55:04 +02:00
Tor Lillqvist
f2d6ab4062
Drop leftover reference to local gdk-pixbuf library
2010-07-05 15:11:25 +03:00
Marek Kasik
c1c3670711
Don't handle CUPS' "connecting-to-device" state reason
...
CUPS backend shouldn't handle "connecting-to-device" state reason.
It shows "Printer '%s' may not be connected" for this state,
which is not true in almost all cases. Better is to use
"printer-state-message" which contains correct message (#622011 ).
(cherry picked from commit 998459afb7
)
2010-06-26 14:24:34 -04:00
Matthias Clasen
cb29d27707
Make GTK+ build against an external gdk-pixbuf
2010-06-26 02:29:29 -04:00
Javier Jardón
8fc7a58504
gail: do not use removed GTK_WIDGET_*SET macros
...
In the absence of new API to port to, left the code commented
with a /* FIXME */ state, for somebody with better gail knowledge
to fix.
2010-06-16 20:44:00 +02:00
Marek Kasik
52c7ad6de3
Test connection to all given addresses when printing
...
Go to the next address given by CUPS if we fail to connect to
previous address (#603637 ).
(cherry picked from commit f8ac123192
)
2010-06-10 09:50:59 -04:00
Colin Walters
c8262d39fa
Use g_source_set_name for all custom GSources in GTK+
...
Naming the sources allows easier debugging with e.g. SystemTap
probes.
https://bugzilla.gnome.org/show_bug.cgi?id=620511
2010-06-03 21:32:06 -04:00
Marek Kasik
45a83fdbeb
Honor PPD reading over listing of printers
...
Reading of PPD files collides with getting list of printers.
It helps to give higher priority to getting of PPDs than to
getting list of printers (#614581 ).
2010-05-24 16:54:34 +02:00
Mike Gorse
15482528a5
Implement action interface for gailcell.
...
Bug #580889 .
2010-04-26 16:12:59 +08:00
Mike Gorse
3f78773862
Notify ATK_STATE_ENABLED change when ATK_STATE_SENSITIVE changes if necessary.
...
Bug #615999 .
2010-04-22 12:24:41 +08:00
Javier Jardón
72d5cc8cd5
[docs] Move documentation to inline comments: GailTextUtil and GailMisc
2010-04-18 19:46:29 +02:00
Marek Kasik
59e5e2dd5b
Define httpGetHostname() for CUPS 1.1 and lower
...
Function httpGetHostname() is in CUPS since version 1.2, that is why we need
its equivalent for lower versions of CUPS (#610176 ).
2010-03-17 10:14:24 +01:00
Javier Jardón
32b9aeaadd
Don't use GTK_WIDGET_STATE in internal code anymore
...
Use gtk_widget_get/set_state() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-09 02:40:17 +01:00
Joanmarie Diggs
4759da2634
Add/Remove ATK_STATE_SENSITIVE according to cells' state.
...
Bug #569042 .
2010-03-05 14:48:23 +08:00
Li Yuan
8c30affb6e
Return FALSE in signal handlers to make the signals be propagated
...
Bug #611686 .
2010-03-04 16:30:00 +08:00
Javier Jardón
16a59ad912
Deprecate widget flag: GTK_WIDGET_REALIZED
...
Use gtk_widget_get_realized() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-03 20:41:05 +01:00
Javier Jardón
1fe7d3cefd
Deprecate widget flag: GTK_WIDGET_MAPPED
...
Use gtk_widget_get_mapped() instead.
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-03 20:19:03 +01:00
Javier Jardón
214a023e91
Deprecate widget flag: GTK_WIDGET_VISIBLE
...
Use gtk_widget_get_visible() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-01 07:52:07 +01:00
Javier Jardón
4232115e22
Deprecate widget flag: GTK_WIDGET_HAS_FOCUS
...
Use gtk_widget_has_focus() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-01 06:11:01 +01:00
Javier Jardón
64f526d34e
Deprecate widget flag: GTK_WIDGET_SENSITIVE
...
Use gtk_widget_get_sensitive() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-01 05:59:23 +01:00
Javier Jardón
a27d5a2c9e
Deprecate widget flag: GTK_WIDGET_IS_SENSITIVE
...
Use gtk_widget_is_sensitive() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-01 05:32:51 +01:00
Javier Jardón
4f78f70b15
Deprecate widget flag: GTK_WIDGET_DRAWABLE
...
Use gtk_widget_is_drawable() instead.
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-01 04:55:55 +01:00
Steffen Macke
f94d62aeab
Fix menu bar problem in ms-windows theme engine on Windows 7
...
Patch from bug #591186 . It won't have any effect in this branch as the
whole XP-and-later theming code is broken and disabled, but when/if
that is fixed, then this patch should help.
2010-02-07 11:15:47 +02:00
Li Yuan
899d425e50
Bug #608410 . Set cursor position after inserting text.
2010-01-29 14:16:24 +08:00
Matthias Clasen
d85735a337
Try a little harder to survive close to OOM
2010-01-08 13:24:33 -05:00
Javier Jardón
56a893ca8c
Deprecate widget flag: GTK_WIDGET_CAN_FOCUS
...
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-01-07 10:05:08 +01:00
Javier Jardón
51e0dd9a82
Deprecate some widget flags
...
Deprecate the following:
GTK_WIDGET_APP_PAINTABLE
GTK_WIDGET_CAN_DEFAULT
GTK_WIDGET_DOUBLE_BUFFERED
GTK_WIDGET_HAS_DEFAULT
GTK_WIDGET_HAS_GRAB
GTK_WIDGET_RECEIVES_DEFAULT
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-01-07 10:04:55 +01:00
Christian Dywan
bb1824c131
Deprecate flag macros for toplevel, state, no window and composite child
...
Deprecate widget flag macros GTK_WIDGET_STATE, GTK_WIDGET_SAVED_STATE,
GTK_WIDGET_FLAGS, GTK_WIDGET_TOPLEVEL, GTK_WIDGET_NO_WINDOW and
GTK_WIDGET_COMPOSITE_CHILD.
Also deprecate the type macros GTK_WIDGET_TYPE, GTK_OBJECT_TYPE_NAME and
GTK_OBJECT_TYPE which have become redundant.
Instances of GTK_WIDGET_TOPLEVEL are replaced with gtk_widget_is_toplevel,
GTK_WIDGET_TYPE is replaced with G_OBJECT_TYPE, GTK_WIDGET_COMPOSITE_CHILD
is replaced with use of the "composite-child" property and uses of
GTK_WIDGET_NO_WINDOW are adjusted to use gtk_widget_get_has_window.
Uses of GTK_WIDGET_SAVED_STATE and GTK_WIDGET_FLAGS inside GtkWidget are
changed to direct flag usage.
Documentation is updated to refer to gtk_widget_set_has_window and
gtk_widget_get_has_window.
Gail and tests are updated as well.
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-01-04 07:57:05 +01:00
Christian Dywan
99f63451e0
Use gtk_widget_get_tooltip_text for gtk_tooltips_data_get in Gail
2009-12-17 10:41:11 +01:00
Christian Persch
efa90e4182
Allow getting the printer's hard margins
...
Adds a way to get the unprintable area of the printer. Bug #468989 .
2009-12-01 17:39:01 +01:00
Christian Persch
7abd4d1359
Implement gail_image_get_image_size for storage GICON and ICON_NAME
...
Bug #602724 .
2009-11-27 19:17:23 +01:00
Javier Jardón
20f123531a
Fix compilation warning
...
Use GINT_TO_POINTER() and GPOINTER_TO_INT()
2009-11-09 09:36:49 +01:00
Javier Jardón
ef414cc6bf
Fix compilation warning: Cast to gchar*
2009-11-09 09:36:31 +01:00
Joanmarie Diggs
a196cb9400
Add RELATION_NODE_PARENT_OF relationship for treeview.
...
Bug 569430.
2009-11-06 16:17:23 +08:00
Nicola Fontana
1e1131c959
Do not use static GTypeInfo and GInterfaceInfo
...
Either g_type_register_static_simple (used by G_DEFINE_TYPE_EXTENDED)
and G_IMPLEMENT_INTERFACE use automatic variables for GTypeInfo and
GInterfaceInfo structs, while tutorials and source code often use
static variables. This commit consistently adopts the former method.
https://bugzilla.gnome.org/show_bug.cgi?id=600158
2009-11-06 01:21:09 +01:00
Christian Dywan
87c0397edc
Don't use deprecated button signal functions in Gail
2009-10-27 22:42:24 +01:00
Marek Kasik
50e784c405
Rotate number-up layout according to orientation when printing
...
Number-up layout has to be rotated differently since rotation in
"landscape" and "reversed landscape" mode was changed.
2009-10-27 16:53:43 +01:00
Javier Jardón
d5f1b79fab
Fix compilation warnings: use G_GSIZE_FORMAT instead %i
2009-10-21 19:38:20 +02:00
Javier Jardón
33f53e1d04
Fix a compilation warning
...
Catch the returned value of write()
2009-10-20 20:43:44 +02:00
Tor Lillqvist
fb63e32a9d
Don't use XP themes until they work
2009-10-13 21:34:22 +03:00
Matthias Clasen
97d15954ad
Move SIGPIPE suppression to gtk_init and document it
...
Some people were unhappy with doing it deep inside the lpr print
backend at an unpredictable time, and SIGPIPE is almost never
wanted anyway.
2009-10-01 11:45:28 -04:00
Marek Kasik
dd52987d1f
Speed up printer listing in the print dialog
...
Use shorter timeout for connection testing to avoid A 3-6 second
delay before the printers appear. Bug 594643
2009-09-30 12:43:40 -04:00
Marek Kasik
a3e0766218
Add support for 'auth-info' attribute to the CUPS backend
...
Check for 'auth-info-required' attribute from printer attributes to
find out whether an authentization of user is needed.
Change password dialog of print backend to be able to require informations
requested thru 'auth-info-required' (#566522 ).
2009-09-24 15:34:56 +02:00
Marek Kasik
5f4915f624
Don't hang print dialog when remote CUPS printer is not available
...
This patch tests availability of remote host before getting ppd file
for selected printer (#586207 ). It also adds a state message for
failure of getting details.
2009-09-23 14:35:26 +02:00
Marek Kasik
f6ed1487bd
Let GTK+ handle SIGPIPE signal itself when printing with lpr
...
When a SIGPIPE signal is raised during printing with lpr,
application should not be killed by the signal but a standard
error-workflow should be performed (bug #503776 ).
2009-09-16 09:59:56 +02:00
Matthias Clasen
be22a62160
Cleanups
...
This commit removes dead code, mostly pointed out by clang.
2009-09-10 13:53:28 -04:00