Commit Graph

17186 Commits

Author SHA1 Message Date
Matthias Clasen
a3fad19994 Destroy the image too. Patch by Carlos Garcia Campos
* gtk/gtkstatusicon.c (gtk_status_icon_finalize): Destroy the
        image too. Patch by Carlos Garcia Campos


svn path=/trunk/; revision=21882
2008-12-13 05:42:46 +00:00
Matthias Clasen
7b30a1589d Initialize the XAtom cache earlier. Patch by Christian Persch
* gdk/x11/gdkdisplay-x11.c (gdk_display_open): Initialize the
        XAtom cache earlier. Patch by Christian Persch


svn path=/trunk/; revision=21880
2008-12-13 05:33:14 +00:00
Matthias Clasen
82cdd4b903 Use the new order correctly. Patch by Li Yuan
* gtk/gtkiconview.c (gtk_icon_view_accessible_model_rows_reordered):
        Use the new order correctly.  Patch by Li Yuan


svn path=/trunk/; revision=21878
2008-12-13 05:28:21 +00:00
Matthias Clasen
1934d3423b Fix a typo
svn path=/trunk/; revision=21877
2008-12-13 05:20:10 +00:00
Matthias Clasen
2e22288e75 Handle being called early. Bug report by Andrés G. Aragoneses
* gtk/gtkrc.c (gtk_rc_parse_default_files): Handle being called
        early. Bug report by Andrés G. Aragoneses


svn path=/trunk/; revision=21875
2008-12-13 04:39:38 +00:00
Matthias Clasen
66745a993d Set an empty title on password dialogs. Pointed out by Máirín Duffy.
* gtk/gtkmountoperation.c: Set an empty title on password dialogs.
        Pointed out by Máirín Duffy.


svn path=/trunk/; revision=21873
2008-12-13 03:55:04 +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
Sven Herzberg
2b31f26827 Document the "set-scroll-adjustments" signal
2008-12-11  Sven Herzberg  <sven@imendio.com>

	Document the "set-scroll-adjustments" signal

	Reviewed by Kristian Rietveld.

	* gtk/gtkiconview.c,
	* gtk/gtklayout.c,
	* gtk/gtktextview.c,
	* gtk/gtktreeview.c,
	* gtk/gtkviewport.c: added proper documentation for the signal


svn path=/trunk/; revision=21871
2008-12-11 13:09:27 +00:00
Daniel Elstner
0bf3652e1d Bug 563994 – Input method module interface not documented
* gtk/gtkimcontext.h: Add public/private markers.
* gtk/gtkimcontext.c: Add section documentation which explains how
to add a new input method module to GTK+.  Document the signals and
virtual functions of GtkIMContextClass.
* gtk/gtkimmodule.c: Document struct GtkIMContextInfo.
* docs/reference/gtk/gtk-sections.txt: Add GtkIMContextClass and
GtkIMContextInfo to section GtkIMContext.
* docs/reference/gtk/Makefile.am (IGNORE_HFILES): Remove
gtkimmodule.h from the list in order to pick up GtkIMContextInfo.
* docs/reference/gtk/tmpl/gtkimcontext.sgml: Remove file from
repository since all the hand-edited content has been migrated to
source file comments.

svn path=/trunk/; revision=21870
2008-12-11 11:38:59 +00:00
Matthias Clasen
8a11a01ae9 Bug 563991 – gtk_file_chooser_button_new_with_backend is deprecated --
2008-12-10  Matthias Clasen  <mclasen@redhat.com>

        Bug 563991 – gtk_file_chooser_button_new_with_backend is deprecated
        -- but what should be used instead?

        * gtk/gtkfilechooserbutton.c: Enhanced deprecation annotation.


svn path=/trunk/; revision=21868
2008-12-10 18:02:30 +00:00
Matthias Clasen
2856cd214a Improve GTK_MODULES docs
svn path=/trunk/; revision=21867
2008-12-10 18:00:02 +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
4bba2b2d74 add missing #ifndef GDK_DISABLE_DEPRECATED.
2008-12-09  Michael Natterer  <mitch@imendio.com>

	* gdk/gdk.symbols: add missing #ifndef GDK_DISABLE_DEPRECATED.


svn path=/trunk/; revision=21863
2008-12-09 15:37:59 +00:00
Michael Natterer
58d2a63481 add missing semicolon.
2008-12-09  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkcontainer.c (struct PackingPropertiesData): add missing
	semicolon.

	* gtk/gtkcontainer.c (attributes_text_element): "value" is a
	gchar*, not const gchar*.


svn path=/trunk/; revision=21862
2008-12-09 15:13:55 +00:00
Michael Natterer
9182c9b5eb Remove empty folder from svn.
svn path=/trunk/; revision=21861
2008-12-09 15:08:21 +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
10f333e3b1 Add bug ref
svn path=/trunk/; revision=21856
2008-12-08 04:01:32 +00:00
Matthias Clasen
70675377c0 Make gtk_builder_get_translation_domain() useful for subparsers.
* gtk/gtkbuilderparser.c: Make gtk_builder_get_translation_domain()
        useful for subparsers.

        * gtk/gtkcontainer.c: Make the child property parser support
        translatable child properties.


svn path=/trunk/; revision=21855
2008-12-08 03:57:16 +00:00
Matthias Clasen
2afd463b26 Fix the build
svn path=/trunk/; revision=21854
2008-12-08 02:47:21 +00:00
Matthias Clasen
9ed0abb510 Call gtk_show_uri() if no uri hook has been set. Patch by Emmanuele Bassi
* gtk/gtklinkbutton.c: Call gtk_show_uri() if no uri hook has
        been set. Patch by Emmanuele Bassi


svn path=/trunk/; revision=21853
2008-12-08 02:39:28 +00:00
Matthias Clasen
537576e0b4 Correct the documentation. Patch by Paul Davis
* gdk/gdkdisplay.c (gdk_display_get_window_at_pointer): Correct
        the documentation. Patch by Paul Davis


svn path=/trunk/; revision=21852
2008-12-08 01:46:43 +00:00
Matthias Clasen
234881fd08 Clean up includes in test printbackend.
svn path=/trunk/; revision=21851
2008-12-08 00:44:50 +00:00
Behdad Esfahbod
49ef054981 Bug 563547 – Update gdkx11 atom precache table
2008-12-07  Behdad Esfahbod  <behdad@gnome.org>

        Bug 563547 – Update gdkx11 atom precache table

        * gdk/x11/gdkdisplay-x11.c: Add more atoms to precache.


svn path=/trunk/; revision=21849
2008-12-08 00:01:29 +00:00
Ilkka Tuohela
66610578b1 Updated Finnish translation
svn path=/trunk/; revision=21848
2008-12-06 07:35:32 +00:00
Ilkka Tuohela
c6e3d485d1 Updated Finnish translation
svn path=/trunk/; revision=21847
2008-12-06 07:27:30 +00:00
Michael Natterer
9b59889847 Bug 546285 – Allow GtkEntry to draw progress
2008-12-05  Michael Natterer  <mitch@imendio.com>

	Bug 546285 – Allow GtkEntry to draw progress

	* gtk/gtkentry.[ch]: add new API similar to GtkProgressBar which
	allows to set the entry's progress_fraction, its progress_pulse_step
	and to let the entry's progress pulse.

	* gtk/gtk.symbols: updated.

	* tests/testgtk.c: add progress demo code to the "Entry" window.


svn path=/trunk/; revision=21846
2008-12-05 11:31:30 +00:00
Johan Dahlin
e2d2ea6fd7 Add missing space in gtk-doc deprecated syntax
2008-12-04  Johan Dahlin  <jdahlin@async.com.br>

        * gtk/gtkstatusicon.c:
        Add missing space in gtk-doc deprecated syntax


svn path=/trunk/; revision=21845
2008-12-04 19:56:42 +00:00
Simos Xenitellis
41639683d9 Closes #557420 – Some compose sequences don't work anymore
svn path=/trunk/; revision=21843
2008-12-03 16:19:45 +00:00
Sven Herzberg
b07127231e Bug 562998 – GtkFontButton documentation improvements
2008-12-03  Sven Herzberg  <sven@imendio.com>

	Bug 562998 – GtkFontButton documentation improvements

	* gtk/gtkfontbutton.c: mention the way the font string should be used.
	Patch by Sven Herzberg and Nelson Benitez


svn path=/trunk/; revision=21842
2008-12-03 13:15:39 +00:00
Marek Kasik
d18e98388c Bug 559914 – eog doesn't apply paper setup.
2008-12-03  Marek Kasik  <mkasik@redhat.com>

	Bug 559914 – eog doesn't apply paper setup.

	* gtk/gtkpapersize.c: Call the gtk_paper_size_new_from_ppd() with width
	and height in points.

svn path=/trunk/; revision=21841
2008-12-03 10:17:45 +00:00
Carlos Garcia Campos
a67611bc6a Bug 562878 – password save incorrectly set in gtkmountoperation
2008-12-02  Carlos Garcia Campos  <carlosgc@gnome.org>

	Bug 562878 – password save incorrectly set in gtkmountoperation

	* gtk/gtkmountoperation.c (remember_button_toggled),
	(gtk_mount_operation_ask_password): Remember the password save
	flags only when the radio button becomes active. Set also the
	default state of the radio buttons depending on the current value
	of password save flags. 


svn path=/trunk/; revision=21840
2008-12-02 09:06:35 +00:00
Matthias Clasen
43c0ce8971 Filter out shadow mounts
svn path=/trunk/; revision=21838
2008-12-01 05:42:28 +00:00
Matthias Clasen
eb56320d4e Revert an accidental change
svn path=/trunk/; revision=21837
2008-12-01 03:41:00 +00:00
Paul Bolle
42ab202b84 Bug 562817 – Typo in GtkDialog
2008-12-01  Paul Bolle  <pebolle@tiscali.nl>

	Bug 562817 – Typo in GtkDialog

	* gtk/gtkdialog.c: Fix typo


svn path=/trunk/; revision=21836
2008-11-30 23:49:29 +00:00
Matthias Clasen
31774edd4a Bug 554453 – "typeahead find" widget of GtkTreeView appears on wrong
2008-11-29  Matthias Clasen  <mclasen@redhat.com>

        Bug 554453 – "typeahead find" widget of GtkTreeView appears on
        wrong monitor in a multi-head environment

        * gtk/gtktreeview.c (gtk_tree_view_ensure_interactive_directory):
        Make sure the typeahead window follows screen changes of the
        treeview. Noticed by Rainer Stransky



svn path=/trunk/; revision=21835
2008-11-30 06:05:23 +00:00
Christian Dywan
d494aa7203 Bug 559622 – GdkDevice test segfaults
2008-11-30  Christian Dywan  <christian@imendio.com>

	Bug 559622 – GdkDevice test segfaults

	* gdk/x11/gdkdisplay-x11.c (gdk_display_x11_dispose):
	* gdk/x11/gdkinput.c (gdk_device_class_init), (gdk_device_dispose):
	Free and reset device in dispose. Patch by Michael Natterer and myself.

svn path=/trunk/; revision=21834
2008-11-30 05:33:57 +00:00
Christian Dywan
e0ce091631 Bug 554076 – eventually release g_new-ed supported_atoms
2008-11-30  Christian Dywan  <christian@imendio.com>

	Bug 554076 – eventually release g_new-ed supported_atoms

	* gdk/x11/gdkevents-x11.c (cleanup_atoms),
	(gdk_x11_screen_supports_net_wm_hint): Set cleanup callback.
        Patch by Caolan McNamara.

svn path=/trunk/; revision=21833
2008-11-30 05:28:28 +00:00
Christian Dywan
2dea920895 Bug 561186 – GdkPixbuf API type checking needs cleanup
2008-11-30  Christian Dywan  <christian@imendio.com>

	Bug 561186 – GdkPixbuf API type checking needs cleanup

	* gdk-pixbuf-loader.c (gdk_pixbuf_loader_write),
	(gdk_pixbuf_loader_get_pixbuf), (gdk_pixbuf_loader_get_animation),
	(gdk_pixbuf_loader_close), (gdk_pixbuf_loader_get_format):
	* gdk-pixbuf-scale.c (gdk_pixbuf_scale), (gdk_pixbuf_composite),
	(gdk_pixbuf_composite_color), (gdk_pixbuf_scale_simple),
	(gdk_pixbuf_composite_color_simple):
	* gdk-pixbuf-simple-anim.c (gdk_pixbuf_simple_anim_add_frame):
	* gdk-pixbuf-util.c (gdk_pixbuf_add_alpha),
	(gdk_pixbuf_apply_embedded_orientation):
        Improve type checking in pixbuf API

svn path=/trunk/; revision=21832
2008-11-30 05:22:03 +00:00
Christian Dywan
c8392add22 Bug 539263 – Deprecate gdk_window_get_toplevels
2008-11-30  Christian Dywan  <christian@imendio.com>

	Bug 539263 – Deprecate gdk_window_get_toplevels

	* gdk/gdkwindow.c:
	* gdk/gdkwindow.h: Deprecate gdk_window_get_toplevels

svn path=/trunk/; revision=21831
2008-11-30 05:04:29 +00:00
Federico Mena Quintero
d9c8224a91 bnc447004 - Flip tree lines around in the right-to-left case
2008-11-29  Federico Mena Quintero  <federico@novell.com>

	* gtk/gtktreeview.c (gtk_tree_view_bin_expose): If tree lines are
	enabled, flip them around for the right-to-left case.  Fixes
	https://bugzilla.novell.com/show_bug.cgi?id=447004.  Patch by
	Ricardo Cruz <rpmcruz@alunos.dcc.fc.up.pt>

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

svn path=/trunk/; revision=21829
2008-11-29 22:15:37 +00:00
Baptiste Mille-Mathias
eed26b2f0d Update all screnshots of reference to have a consistent look.
svn path=/trunk/; revision=21828
2008-11-29 21:19:12 +00:00
Christian Persch
c717f4a7c5 Typo fix.
* gtk/gtkselection.c: Typo fix.

svn path=/trunk/; revision=21827
2008-11-29 21:14:31 +00:00
Matthias Clasen
d7ad26878c better deprecation notes
svn path=/trunk/; revision=21826
2008-11-29 08:22:00 +00:00
Matthias Clasen
43f8b23208 More deprecation cleanup
svn path=/trunk/; revision=21825
2008-11-29 08:10:22 +00:00
Matthias Clasen
420c35c00a More deprecation cleanup
svn path=/trunk/; revision=21824
2008-11-29 08:02:42 +00:00
Matthias Clasen
2d35bb7091 More of the same
svn path=/trunk/; revision=21823
2008-11-29 07:58:34 +00:00
Matthias Clasen
10e3a68267 More of the same
svn path=/trunk/; revision=21822
2008-11-29 07:56:32 +00:00
Matthias Clasen
f5aa73e6ae better deprecation annotation
svn path=/trunk/; revision=21821
2008-11-29 07:29:25 +00:00