Commit Graph

15850 Commits

Author SHA1 Message Date
Federico Mena Quintero
cf62c83b0e bnc355225 - File chooser crash in Tab completion
2008-06-03  Federico Mena Quintero  <federico@novell.com>

	* gtk/gtkfilechooserentry.c (install_completion_feedback_timer):
	If the user presses Tab while the completion feedback window is
	active, then we'll assert.  Remove the assertion and just re-set
	the timer.  Fixes https://bugzilla.novell.com/show_bug.cgi?id=355225

Signed-off-by: Federico Mena Quintero <federico@novell.com>

svn path=/trunk/; revision=20305
2008-06-03 18:08:48 +00:00
Colin Walters
8ade45013c Bug 535303 – add _get_implementation to GtkStatusIcon
2008-06-03  Colin Walters  <walters@redhat.com>
	
	Bug 535303 – add _get_implementation to GtkStatusIcon

	* gtk/gtkstatusicon.c (gtk_status_icon_get_x11_window_id): New
	function to retrieve internal X11 window ID, useful for libnotify.
	* gtk/gtkstatusicon.h: Prototype it.
	* docs/reference/gtk/gtk-sections.txt: Add to docs.
	* gtk/gtk.symbols: Export it.


svn path=/trunk/; revision=20304
2008-06-03 17:39:20 +00:00
Tor Lillqvist
727a9145f6 Use g_open().
2008-06-03  Tor Lillqvist  <tml@novell.com>

	* gtk/updateiconcache.c (build_cache): Use g_open().


svn path=/trunk/; revision=20303
2008-06-03 11:04:33 +00:00
Michael Natterer
54d9b40015 gtk/gtkclist.h revert includes to how they have been before the
2008-06-03  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkclist.h
	* gtk/gtkctree.h: revert includes to how they have been before the
	GTK_DISABLE_SINGLE_INCLUDES changes. Apparently I missed the fact
	that you can't include <gtk/gtk.h> from two headers where one is a
	parent class of the other and expect them both to be includable
	individually.


svn path=/trunk/; revision=20302
2008-06-03 08:38:59 +00:00
Michael Natterer
af55cea3ef remove newline at beginning of file.
2008-06-03  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkprinteroptionset.h: remove newline at beginning of file.


svn path=/trunk/; revision=20301
2008-06-03 08:17:06 +00:00
Priit Laes
d7c20ab7c9 Translation updated by Ivar Smolin
2008-06-03  Priit Laes  <plaes at svn dot gnome dot org>

	* et.po: Translation updated by Ivar Smolin

svn path=/trunk/; revision=20300
2008-06-03 07:29:12 +00:00
Matthias Clasen
16a43727fa Bug 536092 – GtkEntryCompletion's popup window should set type hint
* gtk/gtkentrycompletion.c (gtk_entry_completion_init): Set
        a type hint on the popup window to help compiz.
        Patch by Vaclav Slavik.


svn path=/trunk/; revision=20294
2008-06-03 02:48:37 +00:00
Matthias Clasen
03e6bf29ab Add GtkPrintOperationPreview
svn path=/trunk/; revision=20292
2008-06-03 01:50:20 +00:00
Claudio Saavedra
9d000c0fd8 Bug 535862 – gtk_action_create_icon can't create icons from the icon
2008-06-02  Claudio Saavedra  <csaavedra@igalia.com>

	Bug 535862 – gtk_action_create_icon can't create icons from the
	icon themes

	* gtk/gtkaction.c: (gtk_action_create_icon): Look for the icon in
	the default factories as it's supposed.


svn path=/trunk/; revision=20290
2008-06-03 00:31:10 +00:00
Yevgen Muntyan
cb823b805a Bug 535497 - Print preview doesn't work.
2008-06-02  Yevgen Muntyan  <muntyan@tamu.edu>

        Bug 535497 - Print preview doesn't work.

        * gtk/Makefile.am: GTK_PRINT_PREVIEW_COMMAND on quartz: use open
        instead of launching Preview.app directly.


svn path=/trunk/; revision=20289
2008-06-02 23:20:13 +00:00
Michael Natterer
570668f4cc put back #include <gtk/gtkmarshal.h>, it's not in <gtk/gtk.h>. Fixes stuff
2008-06-02  Michael Natterer  <mitch@imendio.com>

	* gtk/gtksignal.h: put back #include <gtk/gtkmarshal.h>, it's not
	in <gtk/gtk.h>. Fixes stuff that uses deprecated cruft.
	(bug #536126).


svn path=/trunk/; revision=20269
2008-06-02 15:07:35 +00:00
Behdad Esfahbod
7dcd42eda5 Add gdk-pixbuf-features.h to BUILT_SOURCES.
2008-06-02  Behdad Esfahbod  <behdad@gnome.org>

        * Makefile.am: Add gdk-pixbuf-features.h to BUILT_SOURCES.


svn path=/trunk/; revision=20267
2008-06-02 04:58:36 +00:00
Ignacio Casal Quinteiro
2635000bd3 Updated Galician Translation.
svn path=/trunk/; revision=20266
2008-06-01 16:12:14 +00:00
Ignacio Casal Quinteiro
78d3049b91 Updated Galician Translation.
svn path=/trunk/; revision=20265
2008-06-01 16:10:48 +00:00
Clytie Siddall
63aed75bfb Updated Vietnamese translation
svn path=/trunk/; revision=20264
2008-06-01 13:03:56 +00:00
Clytie Siddall
f5e21621ac Updated Vietnamese translation
svn path=/trunk/; revision=20263
2008-06-01 13:02:19 +00:00
Emmanuele Bassi
c515ec92e8 Bug 535830 – wrong content type adding an item
2008-05-31  Emmanuele Bassi  <ebassi@gnome.org>

	Bug 535830 – wrong content type adding an item

	* gtk/gtkrecentmanager.c:
	(gtk_recent_manager_add_item_query_info): Use the correct API
	for retrieving the fast MIME type of a URI. (Carlos Garcia
	Campos)

svn path=/trunk/; revision=20262
2008-05-31 18:52:50 +00:00
Kristian Rietveld
f1405056f2 Bug 530146 - Setting non-string tooltip with
2008-05-31  Kristian Rietveld  <kris@imendio.com>

	Bug 530146 - Setting non-string tooltip with
	gtk_tree_view_set_tooltip_column() segfaults

	* gtk/gtktreeview.c (gtk_tree_view_set_tooltip_query_cb): use
	gtk_tree_model_get_value() and explicitly transform the value to a
	string before setting it as tooltip.


svn path=/trunk/; revision=20261
2008-05-30 22:59:13 +00:00
Matthias Clasen
2ab7f3ddb3 Fix INCLUDE_ macros
svn path=/trunk/; revision=20259
2008-05-30 13:34:52 +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
bd2b0d30a8 cast attach_info_free() to GDestroyNotify when using it in
2008-05-30  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkmenu.c (get_attach_info): cast attach_info_free() to
	GDestroyNotify when using it in g_object_set_data_full().


svn path=/trunk/; revision=20257
2008-05-30 12:12:19 +00:00
Michael Natterer
f18bfd0aac gdk/gdkapplaunchcontext.h gdk/gdktestutils.h gtk/gtkmountoperation.h
2008-05-30  Michael Natterer  <mitch@imendio.com>

	* gdk/gdkapplaunchcontext.h
	* gdk/gdktestutils.h
	* gtk/gtkmountoperation.h
	* gtk/gtkshow.h
	* gtk/gtktestutils.h
	* gtk/gtktoolshell.h: no need to allow disabling single includes
	conditionally in these new files. Simply forbid including them
	individually from the beginning.


svn path=/trunk/; revision=20256
2008-05-30 12:08:30 +00:00
Michael Natterer
24d2f90ac3 gtk/gtkmountoperation.h gtk/gtkshow.h gtk/gtktestutils.h no need to allow
2008-05-30  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkmountoperation.h
	* gtk/gtkshow.h
	* gtk/gtktestutils.h
	* gtk/gtktoolshell.h: no need to allow disabling single includes
	conditionally in these new files. Simply forbid including them
	individually from the beginning.


svn path=/trunk/; revision=20255
2008-05-30 12:02:19 +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
Luca Ferretti
db60c705af Pick up updated translation from 2.12 branch
2008-05-30  Luca Ferretti  <elle.uca@libero.it>

	* po*/it.po: Pick up updated translation from 2.12 branch


svn path=/trunk/; revision=20251
2008-05-30 09:18:18 +00:00
Tor Lillqvist
710c9619b9 Bug 533108 - leak of GDI region in function 'handle_wm_paint'
2008-05-30  Tor Lillqvist  <tml@novell.com>

	Bug 533108 - leak of GDI region in function 'handle_wm_paint'

	* gdk/win32/gdkevents-win32.c (handle_wm_paint): Patch by Daniel
	Atallah.


svn path=/trunk/; revision=20250
2008-05-30 07:17:40 +00:00
Matthias Clasen
4e48c782cd 2.13.1
svn path=/trunk/; revision=20248
2008-05-30 05:12:34 +00:00
Matthias Clasen
49a42ac0f0 2.13.1
svn path=/trunk/; revision=20246
2008-05-30 05:08:50 +00:00
Matthias Clasen
91a4b6eea2 Updates
svn path=/trunk/; revision=20245
2008-05-30 03:05:04 +00:00
Matthias Clasen
3a4ac605a8 Fix Since tags
svn path=/trunk/; revision=20244
2008-05-30 02:46:49 +00:00
Matthias Clasen
f4687eb8e1 Updates
svn path=/trunk/; revision=20243
2008-05-30 02:30:19 +00:00
Matthias Clasen
5505f5b7c1 Make make check work.
svn path=/trunk/; revision=20242
2008-05-29 23:12:21 +00:00
Matthias Clasen
9038f2ce98 Bug 535453 - gdk_pixbuf_format_get_license returns NULL for
any of the loaders

        * queryloaders.c (write_loader_info): Add the license info
        after the description.

        * gdk-pixbuf-io.c (gdk_pixbuf_io_init): Read the license info
        from the module file. Reported by Andrey Tsyvarev.


svn path=/trunk/; revision=20241
2008-05-29 21:04:52 +00:00
Jorge Gonzalez Gonzalez
1360578f6c Updated Spanish translation
svn path=/trunk/; revision=20240
2008-05-29 18:41:31 +00:00
Tor Lillqvist
7db757d3a0 Grammar.
svn path=/trunk/; revision=20239
2008-05-29 18:23:04 +00:00
Tor Lillqvist
776c50947e Bug 535526 - updateiconcache.c: using open/close without prototype
2008-05-29  Tor Lillqvist  <tml@novell.com>

	Bug 535526 - updateiconcache.c: using open/close without prototype

	* gtk/updateiconcache.c: Include <io.h> if _MSC_VER. Also, use
	g_utime() instead of utime() for UTF-8 pathname support on Windows
	when available.


svn path=/trunk/; revision=20238
2008-05-29 18:22:38 +00:00
Jan Arne Petersen
0fb31a06bb Bug 56355 – GtkLabel - Not all changes propagate correctly
2008-05-29  Jan Arne Petersen  <jpetersen@jpetersen.org>

	Bug 56355 – GtkLabel - Not all changes propagate correctly

	* gtk/gtklabel.c: (gtk_label_recalculate), (gtk_label_set_label),
	(gtk_label_set_markup_with_mnemonic), (gtk_label_parse_uline),
	(gtk_label_set_text_with_mnemonic), (gtk_label_set_use_underline):
	Call gtk_label_setup_mnemonic from gtk_label_recalculate. Add
	notifications of mnemonic-keyval changes.


svn path=/trunk/; revision=20237
2008-05-29 18:09:01 +00:00
Matthias Clasen
ee8253f908 Bug 522084 – GIcon support for GtkIconTheme & GtkImage
2008-05-27  Matthias Clasen  <mclasen@redhat.com>

        Bug 522084 – GIcon support for GtkIconTheme & GtkImage

        * gtk/gtkicontheme.[hc]: Add support for GIcon based lookups.
        * gtk/gtkimage.[hc]: Allow setting an image from a GIcon.
        * gtk/gtk.symbols: Additions
        * tests/testimage.c: Add a GIcon test


svn path=/trunk/; revision=20236
2008-05-29 14:33:49 +00:00
Michael Natterer
24ac36693b add -UGTK_DISABLE_SINGLE_INCLUDES so the code generated by gtkdoc-scangobj
2008-05-29  Michael Natterer  <mitch@imendio.com>

	* gtk/Makefile.am (CPPFLAGS): add -UGTK_DISABLE_SINGLE_INCLUDES so
	the code generated by gtkdoc-scangobj builds.


svn path=/trunk/; revision=20232
2008-05-29 13:25:28 +00:00
Michael Natterer
3b464e901d include <gtk/gtkunixprint.h> instead of individual files.
2008-05-29  Michael Natterer  <mitch@imendio.com>

	* gtk/gtk.types: include <gtk/gtkunixprint.h> instead of
	individual files.


svn path=/trunk/; revision=20231
2008-05-29 10:39:52 +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
Matthias Clasen
7c45a441d1 Fix for single includes
svn path=/trunk/; revision=20229
2008-05-29 04:50:43 +00:00
Matthias Clasen
f58baf1391 Additions
svn path=/trunk/; revision=20228
2008-05-29 04:19:54 +00:00
Matthias Clasen
bceb3fcc73 Bug 535250 - GtkToolButton reference page says "label" where
it should say "icon", uses underscores

        * gtk/tmpl/gtktoolbutton.sgml: Improve introduction

svn path=/trunk/; revision=20227
2008-05-29 03:07:01 +00:00
Jorge Gonzalez Gonzalez
fb7faf4d19 Updated Spanish translation
svn path=/trunk/; revision=20226
2008-05-28 17:06:21 +00:00
Michael Natterer
2c5f8a5c2b whitespace cleanup: remove trailing whitespace and excess newlines and
2008-05-28  Michael Natterer  <mitch@imendio.com>

	* gtk/gtk*.h: whitespace cleanup: remove trailing whitespace and
	excess newlines and sprinkled some newlines where needed. Zero
	code or formatting changes included.


svn path=/trunk/; revision=20225
2008-05-28 15:35:43 +00:00
Michael Natterer
0bf59ed22e fix formatting of details_acquired() signal.
2008-05-28  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkprinter.h: fix formatting of details_acquired() signal.


svn path=/trunk/; revision=20224
2008-05-28 15:25:36 +00:00
Michael Natterer
9172d33782 fix comment: the widget is called GtkColorButton, not
2008-05-28  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkcolorbutton.h: fix comment: the widget is called
	GtkColorButton, not GtkColorSelectButton. Remove trailing
	whitespace and excess newlines.


svn path=/trunk/; revision=20223
2008-05-28 15:20:05 +00:00
Michael Natterer
e9d9670e92 last but not least, add G_DISABLE_SINGLE_INCLUDES,
2008-05-28  Michael Natterer  <mitch@gimp.org>

	* configure.in: last but not least, add G_DISABLE_SINGLE_INCLUDES,
	GDK_PIXBUF_DISABLE_SINGLE_INCLUDES and GTK_DISABLE_SINGLE_INCLUDES
	to CPPFLAGS so it's impossible to commit code that would break
	apps which use DISABLE_INCLUDE defines.


svn path=/trunk/; revision=20222
2008-05-28 15:08:57 +00:00
Michael Natterer
eff99c282c define __GTK_H_INSIDE__ around including all other headers.
2008-05-28  Michael Natterer  <mitch@imendio.com>

	* gtk/gtk.h: define __GTK_H_INSIDE__ around including all other
	headers.

	* gtk/gtktypebuiltins.h.template
	* gtk/gtkversion.h.in
	* gtk/gtk*.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
	* gtk/gtktextlayout.h
	* gtk/gtktexttagprivate.h
	* gtk/gtktexttypes.h
	* gtk/gtktreedatalist.h: include <gtk/gtk.h> instead of individual
	headers in these private or semi-private headers.

	* gtk/gtkimmodule.h: also here because it's not in gtk.h.

	* gtk/gtkpagesetupunixdialog.h
	* gtk/gtkprinter.h
	* gtk/gtkprintjob.h
	* gtk/gtkprintunixdialog.h: likewise in the gtkunixprint headers.

	* gtk/gtkclist.h
	* gtk/gtkcombo.h
	* gtk/gtkctree.h
	* gtk/gtkfilesel.h
	* gtk/gtkitemfactory.h
	* gtk/gtklist.h
	* gtk/gtklistitem.h
	* gtk/gtkoldeditable.h
	* gtk/gtkoptionmenu.h
	* gtk/gtkpixmap.h
	* gtk/gtkpreview.h
	* gtk/gtksignal.h
	* gtk/gtktipsquery.h: whenever possible, include only <gtk/gtk.h>
	instead of individual headers in these deprecated headers. They
	don't get included at all when GTK_DISABLE_DEPRECATED is defined,
	so if an app needs them anyway, it must undef GTK_DISABLE_DEPRECATED
	and include them individually, which should continue to work.

	* gtk/gtkclist.c: include "gtkctree.h" because of the change
	above.


svn path=/trunk/; revision=20221
2008-05-28 15:07:04 +00:00