Commit Graph

763 Commits

Author SHA1 Message Date
Sven Herzberg
5300dc2b36 drop the draw_string() function from GtkStyle
Reviewed by Michael Natterer.

* gtk/gtkstyle.c,
* gtk/gtkstyle.h: gdk_draw_string() has been deprecated and removed
  already. There's no one left who should be using this function
  (found this when porting sapwood to GTK+ 3.0)
* modules/engines/pixbuf/pixbuf-draw.c: don't implement this unused
  function
2010-06-07 13:56:10 +02:00
Javier Jardón
da8643e457 Remove some GTK_DISABLE_DEPRECATED and ENABLE_BROKEN guards 2010-06-07 04:50:05 +02:00
Colin Walters
95bc0f5405 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:49:22 -04:00
Marek Kasik
f8ac123192 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).
2010-06-03 10:13:17 +02:00
Li Yuan
5c8bdc1a69 Bug #619080.
Do not emit the text-changed::insert signal when the entry is empty.
2010-05-27 14:57:38 +08:00
Marek Kasik
33097d65b7 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:39:19 +02:00
Matthias Clasen
c51f965782 Some cleanups after the module cache file change
Bring the various 'run uninstalled' hacks in line with the
new way of doing things, and fix make install for module cache
files.

Patch by Tadej Borovsak.
2010-05-18 19:23:06 -04:00
Matthias Clasen
7f1f1c09ce Make gail parallel-installable too
Move libgail-util to libgail-util-3.0, and gail.pc to gail-3.0.pc
2010-05-10 20:06:10 -04:00
Javier Jardón
0fd4db396b [tests] Remove GtkOptionmenu from gail tests 2010-05-11 00:02:37 +02:00
Tor Lillqvist
40b56c2342 GtkCList is gone 2010-05-10 19:18:30 +03:00
Richard Hughes
e18eb24c1d Install the gail tests in /usr/lib/gtk-3.0/modules 2010-05-10 17:08:20 +01:00
Richard Hughes
c59bfed6dd Fix make distcheck 2010-05-10 12:07:01 +01:00
Matthias Clasen
7447ef0fc2 Make 3.0 parallel-installable to 2.x
In particular, rename

  - libraries to lib*-3.0.so
  - pc files to *-3.0.pc
  - include paths to /usr/include/gtk-3.0/*
  - module paths to /usr/lib/gtk-3.0/*
  - rc files names to gtk-3.0/gtkrc
  - commandline utilities to *-3.0
  - adjust documentation

Also change the install location for unix-print headers to
/usr/include/gtk-3.0/unix-print/gtk.
2010-05-08 01:18:53 -04:00
Javier Jardón
0de8601327 Use accessor functions to access GtkLabel variables 2010-05-03 01:51:23 +02:00
Christian Dywan
c742482d48 Remove GtkType legacy API and type definitions 2010-05-03 01:51:21 +02:00
Christian Dywan
729d4c3624 Look for accessible file chooser dialogue instead of file selection 2010-05-03 01:51:21 +02:00
Christian Dywan
6179e0e8a7 Remove obsolete GtkOptionMenu test case from Gail tests 2010-05-03 01:51:21 +02:00
Christian Dywan
6216ce2dfd Remove uses of GtkCombo and gtk_widget_set_uposition in Gail 2010-05-03 01:51:21 +02:00
Javier Jardón
697eeee7c2 Don't use direct accessors to GtkAccelLabel in gail module 2010-05-03 01:51:20 +02:00
Javier Jardón
4325501301 Substitute deprecated function
Use gtk_editable_set_editable() instead gtk_entry_set_editable()
2010-05-03 01:51:20 +02:00
Javier Jardón
6389f13ea5 Fix compilation error
Substitute gtk_menu_bar_append() deprecated function by
gtk_menu_shell_append() and cast to correct type
2010-05-03 01:51:19 +02:00
Javier Jardón
8d38057de5 Remove deprecated GtkEntry stuff from docs and tutorial.
Also, substitue the deprecated functions with the new ones in
documentation and in tests code
2010-05-03 01:51:18 +02:00
Javier Jardón
20342702f4 Remove gtkmain stuff from docs and tutorial.
Also, substitue the deprecated functions with the new ones in
documentation and in tests code
2010-05-03 01:51:18 +02:00
Christian Dywan
77ff51b0c0 Remove GailPixmap completely 2010-05-03 01:51:17 +02:00
Javier Jardón
e606a4ec2a Remove remaining GtkWindow deprecated documentation
This completes commit 89e3ec8c3d766c333f6e67764ebd7633d61e21cd
2010-05-03 01:49:50 +02:00
Christian Dywan
42eb2aa930 Omit removed classes from Gail makefile 2010-05-03 01:40:42 +02:00
Christian Dywan
c44295f58c Remove GailOptionMenu completely 2010-05-03 01:40:42 +02:00
Christian Dywan
5e686c5ec3 Remove GailCombo completely 2010-05-03 01:40:41 +02:00
Christian Dywan
754647ddd3 Remove GailList completely 2010-05-03 01:40:41 +02:00
Christian Dywan
6a7a138855 Remove GailCListCell completely 2010-05-03 01:40:41 +02:00
Christian Dywan
c1df0965d9 Remove GailCList completely 2010-05-03 01:40:41 +02:00
Christian Dywan
d7c1242a4f Don't use deprecated classes in Gail 2010-05-03 01:40:41 +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
Matthias Clasen
ebf73f4096 Remove a dead assignment
Pointed out by clang.
2009-09-09 00:53:32 -04:00
Matthias Clasen
d01dc74a85 Remove a dead assignment
Pointed out by clang.
2009-09-09 00:52:01 -04:00
Matthias Clasen
13147323d7 Forgotten part of the lpi change 2009-08-30 11:11:46 -04:00
Marek Kasik
f117777c20 Return meaningful default values for lpi and resolution
Change default values returned by gtk_print_settings_get_printer_lpi()
and gtk_print_settings_get_resolution{_x, _y}(). New values are 150 for
lpi and 300 for resolution (instead of 0) (#590861).
2009-08-29 21:34:05 -04:00
Marek Kasik
3b336186ee Add CUPS events as soon as possible when printing
CUPS events are added in prepare part of the main loop. These
events are initialized before their addition (#434318, #586466).
2009-08-29 21:32:01 -04:00
Li Yuan
0780a4975b Return state_set directly if there is no parent.
Bug #592403. Return state_set directly if there is no parent. Fix crash.
2009-08-21 15:29:51 +08:00
Shixin Zeng
e10db38f0d Put variable definitions at start of block 2009-08-20 23:51:38 +03:00
Marek Kasik
c21373dbe2 Use gtk-save icon for GtkPrintBackendFile
Use gtk-save icon instead of gtk-floppy for GtkPrintBackendFile.
2009-08-18 16:05:31 +02:00
Marek Kasik
3dc377a2ca Correctly select default printer when there is more than one (CUPS)
Select a local default printer if there is one instead of a remote
default printer (specified by the "printer-type" CUPS attribute)
(#591549).
2009-08-18 13:22:23 +02:00
Marek Kasik
70efa73311 Print when Enter pressed in certain GtkEntries of the print dialog
Print when Enter pressed in Name entry or Command Line entry in the
print dialog (#564695).
Add gtk_printer_option_set_activates_default() function and
gtk_printer_option_get_activates_default() function to control
behaviour of GtkPrinterOptionWidget.
2009-08-11 09:24:18 +02:00
Marek Kasik
94bc87c637 Get default cover sheets from each printer separately
Fixes bug #590309.
Add default_cover_before string and default_cover_after string
to GtkPrinterCups and fill it when getting list of printers.
2009-08-05 10:34:27 +02:00
Marek Kasik
39b960216c Add SVG support to GtkPrintBackendFile
This add support for printing to SVG 1.2 files (#357655).
2009-08-03 11:25:19 +02:00
Alejandro Piñeiro Iglesias
f22239c4aa Report ATK_STATE_SHOWING only when all parents are visible
Bug #509650. Checks if all the predecesors (the parent widget,
his parent, etc) are visible. Only reports ATK_STATE_SHOWING when
all parents are visible.
Signed-off-by: Li Yuan <li.yuan@sun.com>
2009-07-29 11:55:53 +08:00
Li Yuan
ee876f94b1 Remove both SHOWING and SELECTED states when menuitem is not visible
Bug #582674 and Bug #574674. Remove SHOWING state also.
2009-07-24 16:23:57 +08:00
Li Yuan
de718dbe93 Remove ATK_STATE_SHOWING state when menuitem is not visible
When the menu is not selected, remove ATK_STATE_SHOWING state. And
emit state change signal if the menu is selected/unselected.
2009-07-24 16:17:59 +08:00
Benjamin Otte
1a385c50f0 fix compile warnings
Fallout from running make CFLAGS="-Werror"; mostly missing casts and
constness issues.
2009-06-17 10:28:03 +02:00
Matthias Clasen
3bf1c7adad More uses of the get_cell_renderers functions 2009-06-16 12:37:33 -04:00
Matthias Clasen
6fc9f57848 Forgot one use in libgail 2009-06-16 11:48:16 -04:00
Marek Kasik
961ab2e5c1 Print in correct order when printing 4 pages per sheet to landscape
Rotates page layout according to selected paper orientation
when printing through CUPS backend (#420335).
2009-06-04 18:49:29 +02:00
James Andrewartha
bd84d95e63 add missing include $(top_srcdir)/git.mk to modules/papi/Makefile.am
Signed-off-by: Davyd Madeley <davyd@madeley.id.au>
2009-05-21 14:45:25 +08:00
mark@ecs.vuw.ac.nz
1eff9aba24 Signalize that CUPS connection is available when EISCONN occurs
Add test for EISCONN error when testing whether a connection to CUPS server
is available (#576678 - patch by mark@ecs.vuw.ac.nz).

Signed-off-by: Marek Kasik <mkasik@redhat.com>
2009-05-19 16:08:21 +02:00
Davyd Madeley
3969d1b969 Add papi to DIST_SUBDIRS 2009-05-19 16:31:52 +08:00
Marek Kasik
91190ce281 Add ability to print in number-up mode for file backend and lpr backend
GtkPrintOperation is now able to render multiple pages per sheet by its
own. The most important changes are in these functions:
  * increment_page_sequence
  * prepare_data
  * common_render_page
  * print_pages_idle
Patch also changes set of choices for 2 pages per sheet mode when
landscape orientation is used to "Top to bottom" and "Bottom to top".
2009-05-13 18:28:42 +02:00
gheet
c57fc80465 Adding PAPI printbackend
Adding a new print backend module using libpapi detals see GNOME#382676.
(gheet)
2009-05-11 18:33:08 +01:00
Behdad Esfahbod
a398c840be Add git.mk to generate .gitignore files
Add four new doc templates that were not in repository.
2009-05-04 14:29:21 -04:00
Li Yuan
5d617ee80b Emit property-changed:accessible-name for gailcombobox
Fix bug #579741. Emit property-changed:accessible-name when selection
of combobox changed.
2009-05-04 11:38:44 +08:00
Mike Gorse
3f00129e17 Fix Selectable state for gailButton
Only remove Selectable state from a GailButton if it is not Focusable (ie,
a TreeView column header); do not add Selectable for all focusable
buttons.  Fixes a bug introduced with the fix to 433324.
2009-04-23 14:36:51 +01:00
Marek Kasik
2c5ae21cdc Adds authentication support of CUPS backend
Adds authentication support of CUPS backend against CUPS server.
Print dialog is now capable to ask user for password and pass it
to the CUPS server. It is also possible to authenticate user
through Kerberos (GSS-API) (#384940).
2009-04-21 14:24:32 +02:00
Matthias Clasen
0dd7155f79 Update README files to refer to git
Update various README files to refer to git instead of svn.
Also discontinue ChangeLog files.
2009-03-31 18:49:48 -04:00
Stefan Walter
de60fd8cfd Use gtk_entry_xxx functions rather than using GtkEntry structure directly.
See bug #576801

svn path=/trunk/; revision=22589
2009-03-27 05:22:23 +00:00
Tor Lillqvist
d8ea13216c Bug 575644 - Cygwin gail build patch
2009-03-25  Tor Lillqvist  <tml@novell.com>

	Bug 575644 - Cygwin gail build patch

	* modules/other/gail/Makefile.am
	* modules/other/gail/libgail-util/Makefile.am
	* modules/other/gail/tests/Makefile.am: Use -no-undefined also on
	Cygwin. Patch from "Cygwin ports maintainer".


svn path=/trunk/; revision=22586
2009-03-25 07:18:58 +00:00
Cody Russell
b48e4b070f Bug 538840 – [Win32] GTK menu theming could be improved
2009-03-21  Cody Russell  <bratsche@gnome.org>

        Bug 538840 – [Win32] GTK menu theming could be improved

        * modules/engines/ms-windows/xp_theme.c
        * modules/engines/ms-windows/msw_style.c: Use newer
        menu styling API.  This makes gtk+ look much better on
        Windows Vista.


svn path=/trunk/; revision=22577
2009-03-21 13:58:12 +00:00
Matthias Clasen
ba150f5ecc 2.16.0
svn path=/trunk/; revision=22530
2009-03-13 15:06:47 +00:00
Matthias Clasen
fb5722ca96 2.15.5
svn path=/trunk/; revision=22448
2009-03-02 20:42:08 +00:00
Theppitak Karoonboonyanan
34461fe7df Bug 457086 - numpad does not work when the Thai-Lao input method is used
2009-03-02  Theppitak Karoonboonyanan  <thep@linux.thai.net>

	Bug 457086 - numpad does not work when the Thai-Lao input method is
	used

	* modules/input/gtkimcontextthai.c (is_context_lost_key): Do not count
	character-generating keypads as context-lost keys. (patch recommitted
	after approval)


svn path=/trunk/; revision=22437
2009-03-02 04:17:28 +00:00
Li Yuan
a0b3a069f1 Bug #519090. Add accessibility support to GtkScaleButton. Support action
2009-02-26  Li Yuan  <li.yuan@sun.com>

        * Makefile.am:
        * gail.c: (gail_accessibility_module_init):
        * gail.h:
        * gailscalebutton.c: (gail_scale_button_class_init),
        (gail_scale_button_init), (gail_scale_button_initialize),
        (atk_action_interface_init), (gail_scale_button_do_action),
        (gail_scale_button_get_n_actions),
        (gail_scale_button_get_description),
        (gail_scale_button_action_get_name),
        (gail_scale_button_get_keybinding),
        (gail_scale_button_set_description), (atk_value_interface_init),
        (gail_scale_button_get_current_value),
        (gail_scale_button_get_maximum_value),
        (gail_scale_button_get_minimum_value),
        (gail_scale_button_get_minimum_increment),
        (gail_scale_button_set_current_value),
        (gail_scale_button_notify_gtk):
        * gailscalebutton.h:
        Bug #519090. Add accessibility support to GtkScaleButton.
        Support action and value interfaces. Patch from Jan Arne 
Petersen.

svn path=/trunk/; revision=22411
2009-02-26 07:58:30 +00:00
Li Yuan
6bcbd9eb4d Bug #561631. Patch from Yue Wang. Ref the button in the idle function to
2009-02-26  Li Yuan  <li.yuan@sun.com>

        * gailbutton.c: (idle_do_action):
        Bug #561631. Patch from Yue Wang. Ref the button in the idle
        function to prevent the button being finalized.

svn path=/trunk/; revision=22408
2009-02-26 02:28:12 +00:00
Li Yuan
01aa0c3932 Bug #325809. Get the cell from the coordinates based on bin_window.
2009-02-25  Li Yuan  <li.yuan@sun.com>

        * gailtreeview.c: (gail_tree_view_ref_accessible_at_point):
        Bug #325809. Get the cell from the coordinates based on
        bin_window.

svn path=/trunk/; revision=22405
2009-02-25 09:55:14 +00:00
Li Yuan
7eff2404d0 Bug #520395. Notify the insert signal in the idle function. Let text_util
2009-02-25  Li Yuan  <li.yuan@sun.com>

        * gailentry.c: (gail_entry_real_notify_gtk),
        (gail_entry_idle_notify_insert), (_gail_entry_insert_text_cb):
        Bug #520395. Notify the insert signal in the idle function. Let
        text_util has chance to update cache.

svn path=/trunk/; revision=22404
2009-02-25 09:45:37 +00:00
Li Yuan
6336e98082 Bug #571001. Set the cell's showing state based on bin_window coordinates.
2009-02-25  Li Yuan  <li.yuan@sun.com>

        * gailtreeview.c: (is_cell_showing):
        Bug #571001. Set the cell's showing state based on bin_window
        coordinates.

svn path=/trunk/; revision=22403
2009-02-25 08:41:49 +00:00
Theppitak Karoonboonyanan
20b78ae6e6 Revert the unapproved patch for bug 457086.
2009-02-19  Theppitak Karoonboonyanan  <thep@linux.thai.net>

	* modules/input/gtkimcontextthai.c (is_context_lost_key): Revert the
	unapproved patch for bug 457086.


svn path=/trunk/; revision=22371
2009-02-19 02:05:07 +00:00
Theppitak Karoonboonyanan
a99a91fd22 Bug 457086 - numpad does not work when the Thai-Lao input method is used
2009-02-18  Theppitak Karoonboonyanan  <thep@linux.thai.net>

	Bug 457086 - numpad does not work when the Thai-Lao input method is
	used

	* modules/input/gtkimcontextthai.c (is_context_lost_key): Do not count
	character-generating keypads as context-lost keys.


svn path=/trunk/; revision=22354
2009-02-18 15:19:30 +00:00
Matthias Clasen
a0f8f37c37 2.15.4
svn path=/trunk/; revision=22350
2009-02-17 22:25:41 +00:00
Li Yuan
dfc29dba44 Bug #561631. Use g_queue_get_length to determine if a queue is empty.
2009-02-17  Li Yuan  <li.yuan@sun.com>

        * gailbutton.c: (idle_do_action):
        Bug #561631. Use g_queue_get_length to determine if a queue is empty.

svn path=/trunk/; revision=22348
2009-02-17 07:04:07 +00:00
Marek Kasik
84125f1325 Bug 568571 – Asian am/pm format on cups print backend's time parsing
2009-02-12  Marek Kasik  <mkasik@redhat.com>

	Bug 568571 – Asian am/pm format on cups print backend's time parsing

	* modules/printbackends/cups/gtkprintbackendcups.c: Add Asian am/pm
	format into formats recognized by CUPS backend

svn path=/trunk/; revision=22319
2009-02-12 12:12:30 +00:00
Takao Fujiwara
16c207c27f Bug 571015 libprintbackend-cups has unlocalized strings
2009-02-10  Takao Fujiwara  <takao.fujiwara@sun.com>

	Bug 571015  libprintbackend-cups has unlocalized strings

	* modules/printbackends/cups/gtkprintbackendcups.c:
	Added a translator comment with the request of translators.


svn path=/trunk/; revision=22304
2009-02-10 17:32:47 +00:00
Takao Fujiwara
a4a9790285 Bug 571015 libprintbackend-cups has unlocalized strings
2009-02-09  Takao Fujiwara  <takao.fujiwara@sun.com>

	Bug 571015  libprintbackend-cups has unlocalized strings

	Reviewed by Matthias Clasen  <mclasen@redhat.com>

	* modules/printbackends/cups/gtkprintbackendcups.c (handle_option):
	Add translatable strings from ppd files.


svn path=/trunk/; revision=22294
2009-02-09 05:39:37 +00:00
Tor Lillqvist
6a36bca4c6 Bug 570406 - gailutil.def is in srcdir, but used from builddir
2009-02-04  Tor Lillqvist  <tml@novell.com>

	Bug 570406 - gailutil.def is in srcdir, but used from builddir

	* libgail-util/Makefile.am: Use gailutil.def from srcdir. Drop
	useless rules to install/uninstall import libraries, libtool knows
	to install / uninstall them itself when installing / uninstalling
	a .la file. Add rules to install / uninstall the def file like for
	consistency, like with the other libraries in GTK+.


svn path=/trunk/; revision=22280
2009-02-04 08:20:11 +00:00
Matthias Clasen
ebb342a246 2.15.3
svn path=/trunk/; revision=22273
2009-02-03 01:55:28 +00:00
Matthias Clasen
b447ac1be4 2.15.2
svn path=/trunk/; revision=22231
2009-01-27 05:51:23 +00:00
Matthias Clasen
3bb7c153f8 2.15.1
svn path=/trunk/; revision=22202
2009-01-23 23:03:59 +00:00
Marek Kasik
6dbb29a5d4 Bug 561801 - "scheduled printing" doesn't function as expected
2009-01-21  Marek Kasik  <mkasik@redhat.com>
	Bug 561801 - "scheduled printing" doesn't function as expected

	* gtk/gtkprintunixdialog: Add tooltip.
	* modules/printbackends/cups/gtkprintbackendcups.c: Add conversion
	  from local time to utc time for scheduled printing.

svn path=/trunk/; revision=22158
2009-01-21 15:03:14 +00:00
Cody Russell
24a567924b Bug 567944 – [Win32] Sorted treeview columns can be unreadable
2009-01-16  Cody Russell  <bratsche@gnome.org>

        Bug 567944 – [Win32] Sorted treeview columns can be unreadable

        * modules/engines/ms-windows/msw_style.c: Draw selected treeview
        cells according to treeview focus, but ignore whether it is in
        a sorted column or not.  Otherwise the intersection of a selected
        row and a sorted column looks very strange if the treeview does
        not have focus.


svn path=/trunk/; revision=22126
2009-01-16 16:30:18 +00:00
Daniel Elstner
47aae53285 Remove the namespace prefix from functions defined locally only. Clean up
* modules/input/gtkimcontextmultipress.[ch]: Remove the namespace
prefix from functions defined locally only.  Clean up the code and
change indentation to match the GTK+ coding style.
(_GtkImContextMultipress::key_sequences): Replace array of pointers
by GHashTable.  Adapt the implementation accordingly.
(passthrough_enabled_for_window): Remove.  The passthrough hack is
no longer necessary thanks to the recently introduced "im-module"
property of GtkEntry and GtkTextView.
(load_config): Rework to implement an improved configuration file
format.  Just fetch all keys of the group instead of expecting the
keys to be named a certain way.  This also allows interpreting the
config key itself as the GDK key name to bind the character sequence
to, thereby making it independent of the sequence itself.

* modules/input/im-multipress.conf: New example configuration using
the new syntax.  The example sequences are now bound to the numeric
keypad and imitate the behavior of a standard mobile phone.

svn path=/trunk/; revision=22125
2009-01-16 15:02:06 +00:00
Brad Taylor
5a2d0bb014 Bug #565110 – Add an env variable to disable Gail.
2009-01-07  Brad Taylor  <brad@getcoded.net>

	* gail.c: 
	Bug #565110 – Add an env variable to disable Gail.


svn path=/trunk/; revision=22072
2009-01-07 14:46:10 +00:00
Matthias Clasen
c885c8afd2 2.15.0
svn path=/trunk/; revision=22037
2009-01-01 22:24:56 +00:00
Tor Lillqvist
5ff6cfaf23 Typo.
svn path=/trunk/; revision=22035
2009-01-01 14:20:11 +00:00
Tor Lillqvist
5c658551e2 Typo.
svn path=/trunk/; revision=22034
2009-01-01 14:19:55 +00:00
Tor Lillqvist
a96dd0ead1 #undef GTK_DISABLE_DEPRECATED here, too get GTK_IS_COMBO.
2008-12-21  Tor Lillqvist  <tml@novell.com>

	* gaillabel.c: #undef GTK_DISABLE_DEPRECATED here, too get
	GTK_IS_COMBO.


svn path=/trunk/; revision=21920
2008-12-21 12:24:49 +00:00
Li Yuan
95b5ec01f7 Bug #564555. #undef GTK_DISABLE_DEPRECATED where we need to access
2008-12-15  Li Yuan  <li.yuan@sun.com>

        * gailitem.c:
        Bug #564555.  #undef GTK_DISABLE_DEPRECATED where we need to access
        deprecated symbols.

svn path=/trunk/; revision=21904
2008-12-15 04:48:52 +00:00
Li Yuan
185529d2f8 Bug #512743. (gail_tree_view_changed_gtk): Clean cell before go through
2008-12-12  Li Yuan  <li.yuan@sun.com>

        * gailtreeview.c: Bug #512743.
        (gail_tree_view_changed_gtk): Clean cell before go through the info
        list, for "changed" signal could come before a "row-deleted".
        (clean_cell_info):
        Prevent the thread to be scheduled before clean_cell_info
        finish its job.

svn path=/trunk/; revision=21872
2008-12-12 06:12:27 +00:00
Daniel Elstner
3c5a7c3b70 Maintenance of Multipress input method by Openismus GmbH:
* modules/input/gtkimcontextmultipress.[ch]: Clean up the code
a bit to follow the GTK+ coding style more closely.  Fix the code
to emit "preedit-start" and "preedit-end", too, rather than only
"preedit-changed".
(GTK_IM_CONTEXT_MULTIPRESS*): Rename incorrectly spelled macros
gtk_im_context_multipress*. Shouldn't break API or ABI as it's
only used internally.
* modules/input/immultipress.c: More cleanup,
* modules/input/README.multipress: ditto.

svn path=/trunk/; revision=21864
2008-12-10 11:58:37 +00:00
Michael Natterer
925fca892c fix a glitch.
svn path=/trunk/; revision=21860
2008-12-09 14:51:31 +00:00
Michael Natterer
c5edf5e513 Makefile.am add GTK_DISABLE_DEPRECATED to CFLAGS.
2008-12-09  Michael Natterer  <mitch@imendio.com>

	* Makefile.am
	* tests/Makefile.am: add GTK_DISABLE_DEPRECATED to CFLAGS.

	* gail.c
	* gailclist.c
	* gailclistcell.c
	* gailcombo.c
	* gaillist.c
	* gailmenu.c
	* gailoptionmenu.c
	* gailpixmap.c
	* gailprogressbar.c
	* gailtoplevel.c
	* gailwidget.c
	* gailwindow.c
	* tests/ferret.c
	* tests/testcombo.c
	* tests/testlib.h

	* tests/testoptionmenu.c: #undef it where we need to access
	deprecated cruft.


svn path=/trunk/; revision=21859
2008-12-09 14:51:16 +00:00
Michael Natterer
448201a836 undeprecate.
2008-12-09  Michael Natterer  <mitch@imendio.com>

	* gailtreeview.c: undeprecate.


svn path=/trunk/; revision=21858
2008-12-09 14:49:34 +00:00
Matthias Clasen
234881fd08 Clean up includes in test printbackend.
svn path=/trunk/; revision=21851
2008-12-08 00:44:50 +00:00
Matthias Clasen
dc3547de3c Don't rely on gtk_expander_get_label
svn path=/trunk/; revision=21812
2008-11-28 04:04:03 +00:00
Li Yuan
08b8150598 Bug #554002. Add cache's page count when add pages.
2008-11-24  Li Yuan  <li.yuan@sun.com>

        * gailnotebook.c: (gail_notebook_page_added):
        Bug #554002. Add cache's page count when add pages.

svn path=/trunk/; revision=21800
2008-11-24 06:33:34 +00:00
Marek Kasik
a3b07ac981 Bug 339714 - Set printer dpi on cairo ps/pdf surfaces when printing
2008-10-30  Marek Kasik  <mkasik@redhat.com>

	Bug 339714 - Set printer dpi on cairo ps/pdf surfaces when printing

	* gtk/gtk.symbols
	* gtk/gtkprintsettings.c
	* gtk/gtkprintsettings.h
	* docs/reference/gtk/gtk-sections.txt
	* modules/printbackends/file/gtkprintbackendfile.c
	* modules/printbackends/test/gtkprintbackendtest.c
	* modules/printbackends/cups/gtkprintbackendcups.c
	* modules/printbackends/lpr/gtkprintbackendlpr.c:
	Added lpi (lines per inch) setting to GtkPrintSettings and support
	for anamorphic dpi. Surface fallback resolution is set to 2*lpi.

svn path=/trunk/; revision=21733
2008-10-30 16:24:27 +00:00
Matthias Clasen
d834ef6b2f Bug 555953 – libferret missing link against libgtk-x11
2008-10-13  Matthias Clasen  <mclasen@redhat.com>

        Bug 555953 – libferret missing link against libgtk-x11

        * modules/other/gail/test/Makefile.am: Link libferret against gtk.

svn path=/trunk/; revision=21646
2008-10-13 16:00:24 +00:00
Christian Persch
aadcba2dc5 Bug 555386 – format not a string literal and no format arguments
svn path=/trunk/; revision=21642
2008-10-13 12:54:45 +00:00
Matthias Clasen
8ecf7d04e1 Bug 554950 – gail must make itself resident
2008-10-07 Matthias Clasen <mclasen@redhat.com>

        Bug 554950 – gail must make itself resident

        * gail.c: Make the module resident, since it can't handle
        being unloaded.


svn path=/trunk/; revision=21601
2008-10-07 17:41:46 +00:00
Marek Kasik
1d7c1e13e8 Bug 344522 – support non-local destination files (GtkPrint):
2008-09-30  Marek Kasik  <mkasik@redhat.com>

	Bug 344522 – support non-local destination files (GtkPrint):

	* gtk/gtkprintunixdialog.c
	* gtk/gtkprinteroptionwidget.c: Process URI instead of filename.
	* modules/printbackends/file/gtkprintbackendfile.c: Add ability
	to save files on non-local filesystems.

svn path=/trunk/; revision=21552
2008-09-30 08:45:01 +00:00
Matthias Clasen
3f8d98b94d Bug 339367 – Incorrect spotlocation
2008-09-27  Matthias Clasen  <mclasen@redhat.com>

        Bug 339367 – Incorrect spotlocation

        * modules/input/gtkimcontextxim.c: Correct the spot location
        for on-the-spot style.

svn path=/trunk/; revision=21537
2008-09-28 03:21:15 +00:00
Marek Kasik
f96d7b972b Bug 553241 – double freed pointer in lpr_write cause firefox3 crash
2008-09-25  Marek Kasik  <mkasik@redhat.com>

	Bug 553241 – double freed pointer in lpr_write cause firefox3 crash

	* modules/printbackends/lpr/gtkprintbackendlpr.c:
	The redundant freeing of memory was removed.

	Patch by Chris Wang

svn path=/trunk/; revision=21516
2008-09-25 11:46:35 +00:00
Michael Natterer
c280f9189b s/GTK_SIGNAL_FUNC/G_CALLBACK/
2008-09-22  Michael Natterer  <mitch@imendio.com>

	* tests/ferret.c: s/GTK_SIGNAL_FUNC/G_CALLBACK/


svn path=/trunk/; revision=21489
2008-09-22 11:00:40 +00:00
Matthias Clasen
493cc9b2da Fix possible leaks of textutils
svn path=/trunk/; revision=21470
2008-09-21 05:33:50 +00:00
Matthias Clasen
d22cf5141e Plug a memory leak
svn path=/trunk/; revision=21439
2008-09-19 04:43:01 +00:00
Dominic Lachowicz
8bfc826f27 Revert most of previous patch, as it didn't work as expected; Some work
2008-09-18  Dominic Lachowicz  <domlachowicz@gmail.com>

        * modules/engines/ms-windows/*: Revert most of previous patch, as it didn't work as expected;
        Some work toward #531086 - the new GtkTooltip widget doesn't theme properly on win32. Now, at least
        the background color seems okay
w

svn path=/trunk/; revision=21430
2008-09-18 15:28:19 +00:00
Dominic Lachowicz
9194e5ac44 MS Windows style should use pango_win32_font_description_from_logfont;
2008-09-18  Dominic Lachowicz  <domlachowicz@gmail.com>

        * modules/engins/ms-windows/*: MS Windows style should use pango_win32_font_description_from_logfont;
        Allows us to rip out a lot of potentially buggy code, and also get the font specification from the
        XP theme (#434987)


svn path=/trunk/; revision=21429
2008-09-18 15:02:53 +00:00