Commit Graph

599 Commits

Author SHA1 Message Date
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
Matthias Clasen
8ec27f7760 Bug 346903 – gtk_enumerate_printers needs events to complete
2008-09-17  Matthias Clasen  <mclasen@redhat.com>

        Bug 346903 – gtk_enumerate_printers needs events to complete

        * gtk/gtkprintbackend.h:
        * gtk/gtkprintbackend.c: Add a GtkPrintBackend::status property.

        * modules/printbackends/cups/gtkcupsutils.h:
        * modules/printbackends/cups/gtkcupsutils.c: Turn the connection
        test into a tristate available/unavailable/in progress.

        * modules/printbackends/cups/gtkprintbackendcups.c: Use a single
        connection test instance for getting the default printer and for
        getting the printer list. Set the GtkPrintBackend::status property
        according to the result of the connection test. Use the printer-type
        attribute to find the default printer, if cups supports it.

        * gtk/gtkprinter.c: When enumerating printers, give up when
        the backend status is 'unavailable'.

        * gtk/gtkprintunixdialog.c (printer_status_cb): Select the printer
        when it is the default and nothing else has been selected yet.


svn path=/trunk/; revision=21417
2008-09-17 22:07:10 +00:00
Marek Kasik
7c56db21d8 Bug 551378 - Print dialog: should try UDS when fetching PPD for localhost
2008-09-11  Marek Kasik  <mkasik@redhat.com>

	Bug 551378 - Print dialog: should try UDS when fetching PPD for
	localhost

	* modules/printbackends/cups/gtkprintbackendcups.c: Add ability
	to get PPD file from CUPS through Unix domain socket

svn path=/trunk/; revision=21345
2008-09-11 08:47:56 +00:00
Christian Dywan
516ce851fb Bug 549810 – Memory leaks in printing code
svn path=/trunk/; revision=21241
2008-08-29 18:14:32 +00:00
Matthias Clasen
bcfd615759 Improve one string
svn path=/trunk/; revision=21212
2008-08-27 19:22:26 +00:00
Matthias Clasen
9278d262ac Use gdk_threads_add_timeout_seconds where appropriate
svn path=/trunk/; revision=21202
2008-08-26 02:39:12 +00:00
Matthias Clasen
7b84657f42 Add translator hints to many strings
svn path=/trunk/; revision=21200
2008-08-25 21:46:58 +00:00
Marek Kasik
6e7941db6d Bug 535158 – can't rearrange the order of multi pages per side
2008-08-21  Marek Kasik  <mkasik@redhat.com>

	Bug 535158 – can't rearrange the order of multi pages per side

	* gtk/gtkprinter.c
	* gtk/gtkprinter.h
	* gtk/gtkprintunixdialog.c
	* gtk/gtkprintsettings.c
	* gtk/gtkprintsettings.h
	* gtk/gtkenums.h
	* modules/printbackends/cups/gtkprintbackendcups.c: Allow user to
	specify layout of pages per sheet in number-up mode

svn path=/trunk/; revision=21175
2008-08-21 10:25:27 +00:00
Li Yuan
0f942a3cb8 Bug #548783. Change g_assert to g_return_if_fail to avoid unnucessary
2008-08-21  Li Yuan  <li.yuan@sun.com>

        * gailtreeview.c: (traverse_cells):
        Bug #548783. Change g_assert to g_return_if_fail to avoid
        unnucessary crash.

svn path=/trunk/; revision=21174
2008-08-21 05:41:16 +00:00
Li Yuan
22a47c3dbd Bug #548782. Emit children-changed::remove signal when a row is deleted in
2008-08-21  Li Yuan  <li.yuan@sun.com>

        * gailtreeview.c: (model_row_deleted):
        Bug #548782. Emit children-changed::remove signal when a row is
        deleted in gtktreeview.

svn path=/trunk/; revision=21173
2008-08-21 05:28:58 +00:00
Michael Natterer
2f267a411d gailbooleancell.c gailimagecell.c gailtextcell.c gailwidget.c
2008-08-15  Michael Natterer  <mitch@imendio.com>

	* gailbooleancell.c
	* gailimagecell.c
	* gailtextcell.c
	* gailwidget.c
	* tests/Makefile.am
	* tests/testbutton.c
	* tests/testimage.c
	* tests/testlib.c
	* tests/testmenuitem.c
	* tests/testnotebook.c
	* tests/testoptionmenu.c
	* tests/testpaned.c
	* tests/testselection.c
	* tests/testtable.c: some undeprecation.

	* libgail-util/Makefile.am. build with GDK_DISABLE_DEPRECATED
	and GTK_DISABLE_DEPRECATED.


svn path=/trunk/; revision=21127
2008-08-15 11:37:00 +00:00
Matthias Clasen
a50b2ee48f Add translator hints
svn path=/trunk/; revision=21113
2008-08-14 03:12:58 +00:00
Michael Natterer
e0d30ee141 define -DGDK_PIXBUF_DISABLE_DEPRECATED in the global CFLAGS.
2008-08-12  Michael Natterer  <mitch@imendio.com>

	* configure.in: define -DGDK_PIXBUF_DISABLE_DEPRECATED in the
	global CFLAGS.

	* gdk-pixbuf/Makefile.am: make the contents gdk-pixbuf-marshal.h
	visible for GDK_PIXBUF_COMPILATION.

	* contrib/gdk-pixbuf-xlib/Makefile.am
	* demos/Makefile.am
	* demos/gtk-demo/Makefile.am
	* gdk-pixbuf/pixops/Makefile.am
	* gdk/Makefile.am
	* gdk/x11/Makefile.am
	* gtk/Makefile.am
	* gtk/tests/Makefile.am
	* gtk/theme-bits/Makefile.am
	* modules/engines/ms-windows/Makefile.am
	* modules/engines/pixbuf/Makefile.am
	* modules/input/Makefile.am
	* perf/Makefile.am
	* tests/Makefile.am: remove -DDGDK_PIXBUF_DISABLE_DEPRECATED here.


svn path=/trunk/; revision=21096
2008-08-12 15:04:55 +00:00
Matthias Clasen
6f789132c5 Fix build with old cups
svn path=/trunk/; revision=21079
2008-08-11 19:59:50 +00:00
Sven Neumann
e3e126ae9e modules/input/gtkimcontextime.c modules/input/gtkimcontextmultipress.c use
2008-08-11  Sven Neumann  <sven@gimp.org>

	* modules/input/gtkimcontextime.c
	* modules/input/gtkimcontextmultipress.c
	* modules/input/gtkimcontextxim.c: use canonical signal names.


svn path=/trunk/; revision=21070
2008-08-11 14:55:31 +00:00
Michael Natterer
f4d322211e tests/ferret.c tests/testlib.c don't use the deprecated
2008-08-11  Michael Natterer  <mitch@imendio.com>

	* tests/ferret.c
	* tests/testlib.c
	* tests/testtable.c: don't use the deprecated
	gtk_box_pack_start_defaults()


svn path=/trunk/; revision=21061
2008-08-11 11:21:23 +00:00
Michael Natterer
8fda215cc0 remove return value, this function returns void.
2008-08-06  Michael Natterer  <mitch@imendio.com>

	* modules/printbackends/cups/gtkcupsutils.c
	(gtk_cups_connection_test_free): remove return value, this
	function returns void.


svn path=/trunk/; revision=21022
2008-08-06 11:59:35 +00:00
Tor Lillqvist
b0f9f44866 Pass appropriate -machine flag to lib.exe.
2008-08-04  Tor Lillqvist  <tml@novell.com>

	* libgail-util/Makefile.am: Pass appropriate -machine flag to
	lib.exe.


svn path=/trunk/; revision=20959
2008-08-03 23:48:48 +00:00
Matthias Clasen
e9d978dff9 Bug 424207 – printing hangs on unreachable cups server
svn path=/trunk/; revision=20923
2008-07-31 23:56:17 +00:00
Matthias Clasen
c04c884f35 Use a second-granularity timer.
svn path=/trunk/; revision=20922
2008-07-31 22:27:02 +00:00
Sebastien Bacher
862fde72de don't try free gettext() values,
fix a printing dialog crasher (bug 544390)

svn path=/trunk/; revision=20904
2008-07-24 12:56:59 +00:00
Andre Klapper
4346194869 Bug 543915 - translation issues
2008-07-20  Andre Klapper  <a9016009@gmx.de>

	Bug 543915 - translation issues

	* modules/printbackends/cups/gtkprintbackendcups.c:
	Add translator comments for several strings.


svn path=/trunk/; revision=20872
2008-07-20 22:03:32 +00:00
Matthias Clasen
cf68d46c64 Add a forgotten hunk
svn path=/trunk/; revision=20861
2008-07-18 15:51:06 +00:00
Matthias Clasen
4946240780 Bug 339591 – Detect list of availible cover pages
Patch by Marek Kasik:
        * modules/printbackends/cups/gtkprintbackendcups.c: Get the list of
        available cover pages and the default front and back cover pages
        from the cups server.


svn path=/trunk/; revision=20839
2008-07-15 17:45:18 +00:00
Matthias Clasen
1eb96eadfc Bug 384940 – handle rejecting jobs and authentication meaningfully
Patch by Marek Kasik, icons by Mike Langlie:
        * gtk/gtk.symbols:
        * gtk/gtkprintbackend.h:
        * gtk/gtkprinter.[hc]: Add new paused and accepting-jobs properties
        and getters/setters.

        * gtk/gtkstock.h:
        * gtk/gtkiconfactory.c:
        * gtk/Makefile.am:
        * gtk/stock-icons/{16,24}/gtk-print-paused.{png,svg}: New icon.

        * modules/printbackends/cups/gtkprintbackendcups.c:
        * gtk/gtkprintunixdialog.c: Handle paused and job-rejecting
        printers.


svn path=/trunk/; revision=20838
2008-07-15 17:34:34 +00:00
Li Yuan
2b5d149c61 Bug #541167. Emit "object:property-change:accessible-name" when
2008-07-02  Li Yuan  <li.yuan@sun.com>

        * gailoptionmenu.c: (gail_option_menu_real_initialize),
        (gail_option_menu_changed):
        Bug #541167. Emit "object:property-change:accessible-name" when
        GailOptionMenui's name changes.

svn path=/trunk/; revision=20728
2008-07-02 04:29:33 +00:00
Cody Russell
57223c9a05 Revert name change
svn path=/trunk/; revision=20724
2008-07-01 22:57:50 +00:00
Cody Russell
fce9c8b7d4 Practically everything changed.
2008-06-30  Cody Russell  <bratsche@gnome.org>

        * Practically everything changed.

        Change	all references	of GIMP	Toolkit	(and variations	of it)
        to GTK+	Toolkit, showing no mercy at all to our	beloved
	ancestry. (#540529)


svn path=/trunk/; revision=20709
2008-06-30 23:01:56 +00:00
Johan Dahlin
d97cdbdf53 Include "config.h" instead of <config.h> Command used: find -name
2008-06-21  Johan Dahlin  <jdahlin@async.com.br>

    * *.[ch]: Include "config.h" instead of <config.h>
    Command used:
    find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g'
    Rubberstamped by Mitch and Tim


svn path=/trunk/; revision=20669
2008-06-22 14:28:52 +00:00
Michael Natterer
1a23e1502c gailimage.c (gail_image_get_image_size)
2008-06-18  Michael Natterer  <mitch@imendio.com>

	* gailimage.c (gail_image_get_image_size)
	* gailpixmap.c (gail_pixmap_get_image_size):
	s/gdk_window_get_size/gdk_drawable_get_size/


svn path=/trunk/; revision=20445
2008-06-18 07:04:11 +00:00
Michael Natterer
1333ad2ce4 gail.c s/gtk_type_class/g_type_class_ref/
2008-06-17  Michael Natterer  <mitch@imendio.com>

	* gail.c
	* gailtoplevel.c: s/gtk_type_class/g_type_class_ref/

	* Makefile.am: add GDK_DISABLE_DEPRECATED to CPPFLAGS.


svn path=/trunk/; revision=20437
2008-06-17 21:00:28 +00:00
Tor Lillqvist
7ff875bb1a Don't use the deprecated GTK_* GtkType macros.
2008-06-17  Tor Lillqvist  <tml@novell.com>

	* modules/input/gtkimcontextime.h: Don't use the deprecated GTK_*
	GtkType macros.


svn path=/trunk/; revision=20434
2008-06-17 19:11:54 +00:00
Michael Natterer
0b9ee4a431 modules/input/gtkimcontextmultipress.h modules/input/gtkimcontextthai.h
2008-06-17  Michael Natterer  <mitch@imendio.com>

	* modules/input/gtkimcontextmultipress.h
	* modules/input/gtkimcontextthai.h
	* modules/input/gtkimcontextxim.h: use G_TYPE instead of GTK_CHECK
	type checking macros.


svn path=/trunk/; revision=20430
2008-06-17 14:58:10 +00:00
Matthias Clasen
e242d89ed3 Really fix printer URI construction
svn path=/trunk/; revision=20360
2008-06-12 13:03:35 +00:00
Li Yuan
67d70899d4 Automatically scroll text caret to make it visible, when AT sets its
2008-06-10  Li Yuan  <li.yuan@sun.com>

        * gailtextview.c: (gail_text_view_set_caret_offset):
        Automatically scroll text caret to make it visible, when AT
        sets its offset.

svn path=/trunk/; revision=20344
2008-06-10 05:40:42 +00:00
Li Yuan
277d1744f6 Before emitting "text_caret_moved", change the cursor to the changed
2008-06-06  Li Yuan  <li.yuan@sun.com>

        * gail/gaillabel.c: (gail_label_real_notify_gtk):
        Before emitting "text_caret_moved", change the cursor to the
        changed bound. Bug #536927.

svn path=/trunk/; revision=20322
2008-06-06 03:13:48 +00:00
Tor Lillqvist
cbdc3e990c modules/engines/ms-windows/msw_style.h Include gtk.h.
2008-05-30  Tor Lillqvist  <tml@novell.com>

	* modules/engines/ms-windows/msw_style.h
	* modules/engines/ms-windows/msw_rc_style.h: Include gtk.h.


svn path=/trunk/; revision=20258
2008-05-30 12:31:45 +00:00
Michael Natterer
2d98228c55 gailcellparent.h gailfactory.h tests/testnotebook.c tests/testtext.c
2008-05-30  Michael Natterer  <mitch@imendio.com>

	* gailcellparent.h
	* gailfactory.h
	* tests/testnotebook.c
	* tests/testtext.c
	* tests/testtoplevel.c
	* tests/testvalues.c: include <atk/atk.h> instead of individual
	files from ATK.


svn path=/trunk/; revision=20254
2008-05-30 11:25:56 +00:00
Michael Natterer
c8e67f3cc6 gtk/Makefile.am add a single-include header for the unix print stuff.
2008-05-29  Michael Natterer  <mitch@imendio.org>

	* gtk/Makefile.am
	* gtk/gtkunixprint.h: add a single-include header for the unix
	print stuff.

	* gtk/gtkpagesetupunixdialog.h
	* gtk/gtkprinter.h
	* gtk/gtkprintjob.h
	* gtk/gtkprintunixdialog.h: add single-include guards that #error
	out if GTK_DISABLE_SINGLE_INCLUDES is defined and any of these
	files is included individually.

	* gtk/gtkprintbackend.h
	* gtk/gtkprinter-private.h
	* modules/printbackends/cups/gtkprintbackendcups.c
	* modules/printbackends/cups/gtkprintercups.h
	* modules/printbackends/lpr/gtkprintbackendlpr.c
	* tests/buildertest.c
	* tests/defaultvaluetest.c
	* docs/tools/widgets.c: include <gtk/gtkunixprint.h> instead of
	individual files.


svn path=/trunk/; revision=20230
2008-05-29 09:34:53 +00:00
Michael Natterer
2650257f3b Move ChangeLog entry to right file.
svn path=/trunk/; revision=20213
2008-05-28 13:23:18 +00:00
Michael Natterer
da042c898d include <gtk/gtk.h> instead of <gtk/gtkaccessible.h>
2008-05-28  Michael Natterer  <mitch@gimp.org>

	* modules/other/gail/gailwidget.h: include <gtk/gtk.h> instead of
	<gtk/gtkaccessible.h>

	* modules/other/gail/*.h: don't include anyting from gtk since all
	headers indirectly include gailwidget.h.

	* modules/other/gail/gailcellparent.c: include <gtk/gtk.h> instead
	of individual files.

	* modules/other/gail/gailcheckmenuitem.c
	* modules/other/gail/gailmenu.c
	* modules/other/gail/gailtreeview.c: remove all gtk includes since
	it's always included by including any gail header.


svn path=/trunk/; revision=20211
2008-05-28 12:59:48 +00:00
Michael Natterer
6720ef6d80 modules/printbackends/cups/gtkcupsutils.c
2008-05-28  Michael Natterer  <mitch@gimp.org>

	* modules/printbackends/cups/gtkcupsutils.c
	* modules/printbackends/cups/gtkprintbackendcups.c
	* modules/printbackends/file/gtkprintbackendfile.c
	* modules/printbackends/lpr/gtkprintbackendlpr.c: include
	<gtk/gtk.h> instead of individual files.


svn path=/trunk/; revision=20210
2008-05-28 12:49:11 +00:00
Matthias Clasen
10f642b99f Bug 509788 – GTK+ should use CUPS to set Postscript level of PS output
* modules/printbackends/cups/gtkprintbackendcups.c
        (cups_printer_create_cairo_surface): Fall back to PostScript level 2
        if the printer does not support level 3. Patch by Marek Kašík.


svn path=/trunk/; revision=20203
2008-05-28 01:43:34 +00:00
Michael Natterer
d6ef4416f5 modules/input/gtkimcontextime.h modules/input/gtkimcontextmultipress.h
2008-05-28  Michael Natterer  <mitch@imendio.com>

	* modules/input/gtkimcontextime.h
	* modules/input/gtkimcontextmultipress.h
	* modules/input/gtkimcontextthai.h
	* modules/input/gtkimcontextxim.h: include <gtk/gtk.h> instead of
	individual files.

	* modules/input/gtkimcontextime.c
	* modules/input/gtkimcontextmultipress.c
	* modules/input/gtkimcontextxim.c
	* modules/input/imam-et.c
	* modules/input/imcedilla.c
	* modules/input/imcyrillic-translit.c
	* modules/input/iminuktitut.c
	* modules/input/imipa.c
	* modules/input/imti-er.c
	* modules/input/imti-et.c
	* modules/input/imviqr.c: ditto. Some minor cleanups like moving
	"gtk/gtkintl.h" to the end of includes.


svn path=/trunk/; revision=20200
2008-05-27 23:55:28 +00:00
Michael Natterer
b3a72695b7 modules/engines/pixbuf/pixbuf-style.h include <gtk/gtk.h> instead of
2008-05-28  Michael Natterer  <mitch@imendio.com>

	* modules/engines/pixbuf/pixbuf-style.h
	* modules/engines/pixbuf/pixbuf-rc-style.h: include <gtk/gtk.h>
	instead of individual files.


svn path=/trunk/; revision=20199
2008-05-27 23:45:36 +00:00
Matthias Clasen
fd5035c2bd RH bug 248245: cups client printing from gnome applications fail
* modules/printbackends/cups/gtkprintbackendcups.c
        (gtk_print_backend_cups_print_stream): Specify the right server.


svn path=/trunk/; revision=20185
2008-05-27 04:43:41 +00:00
Michael Natterer
a21f711c67 examples/gtkdial/gtkdial.h use G_BEGIN/END_DECLS.
2008-05-26  Michael Natterer  <mitch@imendio.com>

	* examples/gtkdial/gtkdial.h
	* modules/input/gtkimcontextthai.h: use G_BEGIN/END_DECLS.


svn path=/trunk/; revision=20179
2008-05-26 14:34:24 +00:00
Michael Natterer
5327e28edd libgail-util/gailmisc.h use G_BEGIN/END_DECLS.
2008-05-26  Michael Natterer  <mitch@imendio.com>

	* libgail-util/gailmisc.h
	* libgail-util/gailtextutil.h: use G_BEGIN/END_DECLS.


svn path=/trunk/; revision=20178
2008-05-26 14:23:33 +00:00
Matthias Clasen
2fd2f4c9e0 Bug 504706 – wrong deallocator used for GError in gailtextview.c
2008-05-24  Matthias Clasen  <mclasen@redhat.com>

        Bug 504706 – wrong deallocator used for GError in gailtextview.c

        * gailtextview.c: Don't use g_free on a GError.


svn path=/trunk/; revision=20136
2008-05-24 18:42:15 +00:00
Matthias Clasen
59ae44d00e RH bug 204621 - "GtkPrint" asks for "Letter" size paper when "A4" size
was chosen

        Patch by Marek Kasik.

        * gtk/gtk.symbols:
        * gtk/gtkprinter.[hc]: Add gtk_printer_get_default_page_size.

        * gtk/gtkprintbackend.[hc]: Add fallback implementation.

        * modules/printbackends/file/gtkprintbackendfile.c:
        * modules/printbackends/cups/gtkprintbackendcups.c: Implement
        get_default_page_size.

        * gtk/gtkpagesetupunixdialog.c: When selecting a different printer,
        select its default paper size.

        * gtk/gtkprintunixdialog.c: If no explicit page setup has been set,
        use the printer default.

        * gtk/gtkprintoperation-unix.c: Don't create an empty page setup
        if we don't have a default page setup.

svn path=/trunk/; revision=20120
2008-05-21 02:17:30 +00:00
Matthias Clasen
348b66f3e1 Apply a patch by Marek Kasik <mkasik@redhat.com> to display more printer
2008-05-05  Matthias Clasen  <mclasen@redhat.com>

        Apply a patch by Marek Kasik <mkasik@redhat.com> to display
        more printer status information in the print dialog.

        * modules/printbackends/cups/gtkprintbackendcups.c: Translate
        printer-state-reasons into suitable messages and icons.

        * gtk/stock-icons/16/gtk-print-error.{svg,png}:
        * gtk/stock-icons/16/gtk-print-report.{svg,png}:
        * gtk/stock-icons/16/gtk-print-warning.{svg,png}:
        * gtk/Makefile.am:
        * gtk/gtkstock.h: New stock icons to display printer state.


svn path=/trunk/; revision=20076
2008-05-05 23:38:31 +00:00
Michael Natterer
c56943d3cd use GETTEXT_PACKAGE instead of "gtk20".
2008-05-02  Michael Natterer  <mitch@imendio.com>

	* modules/input/imthai.c: use GETTEXT_PACKAGE instead of "gtk20".


svn path=/trunk/; revision=20066
2008-05-02 10:54:56 +00:00
Matthias Clasen
1c12277966 Register the right translation domain.
* modules/imput/imthai.c: Register the right translation domain.


svn path=/trunk/; revision=20060
2008-05-01 14:03:35 +00:00
Matthias Clasen
a2ea6b7570 Bug 529386 – Printing options hidden by blacklisted option
* modules/printbackend/cups/gtkprintbackendcups.c
        (cups_printer_get_options): Fix the blacklist handling.
        Patch by Marek Kašík.



svn path=/trunk/; revision=20058
2008-05-01 00:37:20 +00:00
Michael Natterer
53dd05475b include <pango/pango.h> instead of <pango/pango-layout.h>.
2008-04-25  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkprintcontext.h: include <pango/pango.h> instead of
	<pango/pango-layout.h>.

	* gtk/gtkiconfactory.c
	* gtk/gtkimmodule.c
	* gtk/gtkmain.c
	* gtk/gtkmodules.c
	* gtk/queryimmodules.c: remove inclusion of single files from
	pango, none of them was actually needed.

	* modules/input/gtkimcontextime.c: include <pango/pango.h> instead of
	<pango/pango-utils.h>.


svn path=/trunk/; revision=20042
2008-04-25 15:18:07 +00:00
Michael Natterer
9f1bc132a2 gtk/gtkicontheme.h include <gdk/gdk.h> instead of <gdk/gdkscreen.h>.
2008-04-18  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkicontheme.h
	* gtk/gtkrecentmanager.h: include <gdk/gdk.h> instead of
	<gdk/gdkscreen.h>.

	* gtk/gtkbuilderparser.c
	* gtk/gtklinkbutton.c
	* gtk/gtkpreview.c
	* gtk/gtkrecentchooserdefault.c
	* gtk/gtkrecentchoosermenu.c
	* modules/input/gtkimcontextthai.c: remove inclusion of single
	files from gdk, none of the includes was actually needed.


svn path=/trunk/; revision=20023
2008-04-18 14:56:23 +00:00
Michael Natterer
870bac8fd0 change return value and local variable to const gchar* to fix warning
2008-04-18  Michael Natterer  <mitch@imendio.com>

	* modules/printbackends/cups/gtkprintercups.[ch]
	(gtk_printer_cups_get_ppd_name): change return value and local
	variable to const gchar* to fix warning about discarding const
	qualifier.


svn path=/trunk/; revision=20021
2008-04-18 14:51:26 +00:00
Li Yuan
d33b599ac7 Patch from Alejandro Piñeiro Iglesias <apinheiro@igalia.com>. Bug
2008-04-02  Li Yuan  <li.yuan@.sun.com>

        * gailbutton.c: (idle_do_action):
        Patch from Alejandro Piñeiro Iglesias <apinheiro@igalia.com>.
        Bug #496167. Synthesize press and release GdkEvent in button's click
        action.

svn path=/trunk/; revision=19958
2008-04-02 08:29:31 +00:00
Li Yuan
129c717a71 Bug #433324. add/remove selectable state depand on if the button can be
2008-03-31  Li Yuan  <li.yuan@sun.com>

        * gailbutton.c: (gail_button_ref_state_set):
        Bug #433324. add/remove selectable state depand on if the button can
        be focused.

svn path=/trunk/; revision=19950
2008-03-31 07:48:16 +00:00
Li Yuan
0b266b70e0 Bug #498079. Free cell's action info before free the action_list.
2008-03-20  Li Yuan  <li.yuan@sun.com>

        * gailcell.c: (gail_cell_object_finalize):
        Bug #498079. Free cell's action info before free the action_list.

svn path=/trunk/; revision=19909
2008-03-20 08:44:27 +00:00
Tor Lillqvist
2dce0b35a5 Bug 523225 - modules/input/im*.c: MODULE_ENTRY macros make illegal code
2008-03-18  Tor Lillqvist  <tml@novell.com>

	Bug 523225 - modules/input/im*.c: MODULE_ENTRY macros make illegal code
	
	* modules/input/im*.c: Modify the MODULE_ENTRY macro so the
	G_MODULE_ENTRY decoration can be put in a more correct place.


svn path=/trunk/; revision=19902
2008-03-18 21:29:00 +00:00
Tor Lillqvist
6ce7b71f9c Bug 99192 - Add --with-include-input-modules
2008-03-18  Tor Lillqvist  <tml@novell.com>

	Bug 99192 - Add --with-include-input-modules

	* configure.in: Add --with-included-immodules switch. Handled in a
	similar way as the --with-included-loaders switch. For each input
	method module foo: Collect the list of input modules to be built
	into libgtk into INCLUDED_IMMODULE_OBJ. Collect a list of
	-DINCLUDE_IM_foo definitions into INCLUDED_IMMODULE_DEFINE.
	Define Automake conditionals INCLUDE_IM_FOO.

	* modules/input/Makefile.am: For modules to be included in libgtk,
	build a static library.
	
	* modules/input/im*.c: Use MODULE_ENTRY macros much like in
	gdk-pixbuf to get unique names for the functions called by libgtk
	in the included case. Use G_MODULE_EXPORT in the non-included case
	so that we don't unnecessarily export unneeded random global
	symbols on Windows.

	* gtk/Makefile.am: Build the included modules and link them into libgtk.

	* gtk/gtkimmodule.c: Handle the built-in modules. Remove
	copy/paste leftover mentions of "themes" in comments.


svn path=/trunk/; revision=19896
2008-03-17 23:53:18 +00:00
Alberto Ruiz
f8d5b8cdef more descriptive style names for the ComboBox thickness style
2008-03-16  Alberto Ruiz <aruiz@gnome.org>
	* modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: more descriptive style
	names for the ComboBox thickness style


svn path=/trunk/; revision=19888
2008-03-16 03:57:38 +00:00
Alberto Ruiz
67140c9d3b draw box does more intelligent separation for the xp theming engine and
2008-03-16  Alberto Ruiz <aruiz@gnome.org>

	* modules/engines/ms-windows/Theme/gtk-2.0/gtkrc:
	* modules/engines/ms-windows/msw_style.c (draw_box) (draw_arrow)
	(combo_box_draw_arrow) (setup_msw_rc_style): draw box does more intelligent
	separation for the xp theming engine and the classic theme while drawing the
	GtkComboBox button.
	combobox_draw_arrow is not used anymore, commented.
	The style has been updated to fix border/thickness glitches in the combobox
	according to the fixes commited regarding bug #521442. (bug #461805)


svn path=/trunk/; revision=19887
2008-03-16 03:39:15 +00:00
Jens Granseuer
1b97ef3e14 Don't define variables in the middle of a block. (#522067)
2008-03-12  Jens Granseuer  <jensgr@gmx.net>

	* modules/printbackends/cups/gtkprintbackendcups.c:
	(cups_printer_prepare_for_print): Don't define variables in the
	middle of a block. (#522067)

svn path=/trunk/; revision=19789
2008-03-12 18:37:39 +00:00