Commit Graph

493 Commits

Author SHA1 Message Date
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
Matthias Clasen
b1f8302299 Fix a crash
svn path=/trunk/; revision=19786
2008-03-12 17:52:36 +00:00
Michael Natterer
f572d21294 include <glib/gstdio.h> for g_fopen().
2008-03-12  Michael Natterer  <mitch@imendio.com>

	* modules/printbackends/cups/gtkprintbackendcups.c: include
	<glib/gstdio.h> for g_fopen().


svn path=/trunk/; revision=19775
2008-03-12 11:12:37 +00:00
Matthias Clasen
66b9c59214 Use g_ascii_formatd when formatting custom paper sizes, since cups doesn't
2008-03-11  Matthias Clasen  <mclasen@redhat.com>

        * modules/printbackends/cups/gtkprintbackendcups.c: Use
        g_ascii_formatd when formatting custom paper sizes, since
        cups doesn't handle , as decimal separator.  (#521548)



svn path=/trunk/; revision=19762
2008-03-12 01:34:34 +00:00
Alberto Ruiz
b60e426719 Do not draw frame if parent if combobox. (draw_box): Uses scrollbar width
2008-03-08  Alberto Ruiz  <aruiz@gnome.org>

	* modules/engines/ms-windows/msw_style.c (draw_shadow):
	Do not draw frame if parent if combobox.
	(draw_box):
	Uses scrollbar width system metrics for combobox button.
	Fixes #461805 for XP theme engine.


svn path=/trunk/; revision=19733
2008-03-08 07:20:33 +00:00
Matthias Clasen
9b26a1c319 Honor cups user default options from ~/.cups/lpoptions (#469210, Stijn
2008-03-04  Matthias Clasen  <mclasen@redhat.com>

        * modules/printbackends/cups/gtkprintbackendcups.c:
        Honor cups user default options from ~/.cups/lpoptions
        (#469210, Stijn Hoop)



svn path=/trunk/; revision=19710
2008-03-05 03:45:41 +00:00
Tor Lillqvist
7cd3da8300 Check that the widget is a GtkButton before casting.
2008-03-03  Tor Lillqvist  <tml@novell.com>

	* modules/engines/ms-windows/msw_style.c (draw_box): Check that
	the widget is a GtkButton before casting.


svn path=/trunk/; revision=19690
2008-03-02 19:51:00 +00:00