Commit Graph

8789 Commits

Author SHA1 Message Date
Federico Mena Quintero
b05fcd7e6b Add GtkFileChooserSettings for the dialog's geometry
2009-01-14  Federico Mena Quintero  <federico@novell.com>

	    Remember the file chooser's geometry across invocations.

	    * gtk/gtkfilechoosersettings.h (struct _GtkFileChooserSettings):
	    New fields geometry_x, geometry_y, geometry_width, geometry_height.
	    (_gtk_file_chooser_settings_get_geometry): New prototype.
	    (_gtk_file_chooser_settings_set_geometry): New prototype.

	    * gtk/gtkfilechoosersettings.c (GEOMETRY_X_KEY, GEOMETRY_Y_KEY,
	    GEOMETRY_WIDTH_KEY, GEOMETRY_HEIGTH_KEY): New key names.
	    (ensure_settings_read): Read the geometry keys.
	    (_gtk_file_chooser_settings_save): Save the geometry keys.
	    (_gtk_file_chooser_settings_init): Initialize the geometry keys to
	    "don't have this value".
	    (_gtk_file_chooser_settings_get_geometry): New public function.
	    (_gtk_file_chooser_settings_set_geometry): New public function.

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

svn path=/trunk/; revision=22116
2009-01-14 20:18:23 +00:00
Matthias Clasen
5d4bb27b74 Bug 450716 – New API to change global IM
Requested by Daniel Elstner.

        * gtk/gtk.symbols:
        * gtk/gtkimmulticontext.[hc] (gtk_im_multicontext_set_context_id):
        New function to set the context id on a GtkIMMulticontext.

        * gtk/gtkentry.c:
        * gtk/gtktextview.c: Add a ::im-module property that can be
        set to override the global setting for the im module to be used.


svn path=/trunk/; revision=22113
2009-01-13 19:15:42 +00:00
Christian Dywan
856279da34 Bug 566532 – GtkScaleButton implementation of GtkOrientable
2009-01-13  Christian Dywan  <christian@imendio.com>

	Bug 566532 – GtkScaleButton implementation of GtkOrientable

	* gtk/gtk.symbols:
	* gtk/gtkscalebutton.c (gtk_scale_button_class_init),
	(gtk_scale_button_set_property):
	* gtk/gtkscalebutton.h: Deprecate gtk_scale_button_get_orientation
        in favour of implementing GtkOrientable. Patch by Bruce Cowan.

svn path=/trunk/; revision=22112
2009-01-13 15:24:03 +00:00
Tor Lillqvist
e46ff83f30 Bug 164002 - query scripts don't work uninstalled on windows
2009-01-13  Tor Lillqvist  <tml@iki.fi>

	Bug 164002 - query scripts don't work uninstalled on windows

	* gtk/gtkmain.c (_gtk_get_libdir): If the gtk DLL is in a ".libs"
	folder, assume we are running uninstalled, and use the
	configure-time GTK_LIBDIR.


svn path=/trunk/; revision=22110
2009-01-13 14:04:27 +00:00
Matthias Clasen
60523a7b8e Don't cause lots of X traffic when the icon name doesn't actually change.
* gtk/gtkwindow.c (gtk_window_set_icon_name): Don't cause lots
        of X traffic when the icon name doesn't actually change. Some
        apps like to reset their window icon frequently, without actually
        changing the icon name...


svn path=/trunk/; revision=22103
2009-01-13 03:04:52 +00:00
Paolo Borelli
8657516c26 use the normalized name in last patch's signal
svn path=/trunk/; revision=22101
2009-01-12 17:21:24 +00:00
Paolo Borelli
1a7c0ed099 Bug 492794 – Pasting external text at end of view yields wrong scrolling
2009-01-12  Paolo Borelli  <pborelli@katamail.com>

	Bug 492794 – Pasting external text at end of view yields wrong
	scrolling to mark

	* gtk/gtktextbuffer.[ch]:
	* gtk/gtktextview.c:
	Add a "paste-done" signal and use it to propelry scroll the
	view at the end of the pasted text in the case of an async
	paste. Patch by Ignacio Casal Quintero based on a patch by
	Yevgen Muntyan.


svn path=/trunk/; revision=22100
2009-01-12 17:07:35 +00:00
Claudio Saavedra
42cb64c2f6 Bug 567468 – no check for trailing != NULL in
2009-01-12  Claudio Saavedra  <csaavedra@igalia.com>

	Bug 567468 – no check for trailing != NULL in
	gtk_text_layout_get_iter_at_position()

	* gtk/gtktextlayout.c: (gtk_text_layout_get_iter_at_position):
	Check for trailing to be non-NULL.
	* gtk/gtktextview.c: (gtk_text_view_get_iter_at_position): document
	that trailing may be NULL.


svn path=/trunk/; revision=22090
2009-01-12 09:57:01 +00:00
Matthias Clasen
b87add630e Properly create a menu proxy from a GIcon. Patch by Christian Persch
* gtk/gtktoolbutton.c: Properly create a menu proxy from a GIcon.
        Patch by Christian Persch

        * tests/testtoolbar.c: Add an example with a GIcon


svn path=/trunk/; revision=22084
2009-01-11 05:44:18 +00:00
Matthias Clasen
1d580cd1d1 Bug 566733 – Add GIcon to GtkAction, GtkToolButton
* gtk/gtkaction.c: Add a ::gicon property to GtkAction and set the
        icon from it if specified. The stock icon is preferred if a stock id
        is given. Based on a patch by A. Walton


svn path=/trunk/; revision=22079
2009-01-08 05:37:39 +00:00
Matthias Clasen
b6036a88a6 Use a better caps lock warning icon
svn path=/trunk/; revision=22070
2009-01-05 18:14:58 +00:00
Matthias Clasen
f4ee825f0e Fix a typo in the docs
svn path=/trunk/; revision=22062
2009-01-05 04:07:00 +00:00
Matthias Clasen
313dec3da7 Make setting website, website-label and url hook work independent of their
* gtk/gtkaboutdialog.c: Make setting website, website-label and
        url hook work independent of their order. Reported by Steven
        Sheehy.


svn path=/trunk/; revision=22060
2009-01-05 03:38:10 +00:00
Matthias Clasen
1873c20239 Improve the docs
2009-01-03  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtktreesortable.c: Improve the docs

        * gtk/gtktreemodelsort.c: Don't assert when using the "unsorted"
        sort column id.


svn path=/trunk/; revision=22048
2009-01-03 06:57:10 +00:00
Matthias Clasen
f6212513f8 Fix the build on OS X
svn path=/trunk/; revision=22044
2009-01-02 20:59:37 +00:00
Matthias Clasen
125e80a64b Add docs
svn path=/trunk/; revision=22042
2009-01-02 20:55:54 +00:00
Matthias Clasen
c885c8afd2 2.15.0
svn path=/trunk/; revision=22037
2009-01-01 22:24:56 +00:00
Matthias Clasen
50f87bfcdf Fix make check
svn path=/trunk/; revision=22036
2009-01-01 21:14:07 +00:00
Matthias Clasen
aa8673ba84 Fix make check
svn path=/trunk/; revision=22033
2009-01-01 06:46:57 +00:00
Matthias Clasen
9b3cc864d7 Some more
svn path=/trunk/; revision=22028
2008-12-31 20:05:16 +00:00
Matthias Clasen
3ba573aa02 Keep all these abstract for now
svn path=/trunk/; revision=22026
2008-12-31 19:13:23 +00:00
Matthias Clasen
e31eb99c9d Rename GtkEntry icon-related signals
svn path=/trunk/; revision=22023
2008-12-31 07:29:23 +00:00
Matthias Clasen
b7ef9c53f7 Fix typo
svn path=/trunk/; revision=22022
2008-12-31 06:18:53 +00:00
Matthias Clasen
bd21890280 Add a missing va_end() call. Pointed out by Jiwon Lee.
* gtk/gtktreestore.c (gtk_tree_store_new): Add a missing
        va_end() call. Pointed out by Jiwon Lee.


svn path=/trunk/; revision=22021
2008-12-31 04:15:57 +00:00
Matthias Clasen
fc60f7e93e Code cleanups; get rid of get_text_area_size, replace get_icon_allocation
* gtk/gtkentry.c: Code cleanups; get rid of get_text_area_size,
        replace get_icon_allocation by get_icon_allocations, don't
        pass allocation to place_windows; other stylistic changes to
        the icon-related code.


svn path=/trunk/; revision=22020
2008-12-31 02:49:31 +00:00
Matthias Clasen
c60dba617c AVoid size allocation loops
svn path=/trunk/; revision=22019
2008-12-31 02:44:46 +00:00
Matthias Clasen
1b31467600 Fix errors in property definitions and get_property implementation.
* gtk/gtkentry.c: Fix errors in property definitions and
        get_property implementation.


svn path=/trunk/; revision=22018
2008-12-31 02:40:00 +00:00
Matthias Clasen
7a2880ccbc And amend the docs, too
svn path=/trunk/; revision=22017
2008-12-31 02:34:03 +00:00
Matthias Clasen
62e5694dfa Redo the Caps Lock warning using an icon
svn path=/trunk/; revision=22016
2008-12-31 02:32:21 +00:00
Matthias Clasen
8e912b17cb Bug 558694 – Paned window splitter keynav broken
* gtk/gtkpaned.c (get_child_panes): Don't add unrealized
        widgets.


svn path=/trunk/; revision=22015
2008-12-30 20:55:58 +00:00
Matthias Clasen
93517b616d Forgotten files
svn path=/trunk/; revision=22014
2008-12-30 20:47:03 +00:00
Matthias Clasen
bbc4891e3d Doc additions
svn path=/trunk/; revision=22012
2008-12-30 05:56:57 +00:00
Matthias Clasen
e3a621115a Doc additions
svn path=/trunk/; revision=22010
2008-12-30 05:49:05 +00:00
Matthias Clasen
83f9ff83a3 Doc additions
svn path=/trunk/; revision=22006
2008-12-30 05:18:18 +00:00
Matthias Clasen
c871fcb073 Fix markup
svn path=/trunk/; revision=22003
2008-12-30 00:52:04 +00:00
Matthias Clasen
ebfbfec300 Doc additions
svn path=/trunk/; revision=22002
2008-12-29 21:21:27 +00:00
Matthias Clasen
469acf2844 Doc additions
svn path=/trunk/; revision=22001
2008-12-29 21:20:18 +00:00
Matthias Clasen
d9fc6d8abc Doc additions.
2008-12-29  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkentry.c:
        * gtk/gtktextview.c:
        * gtk/gtkeditable.c:
        * gtk/gtktextbuffer.c: Doc additions.



svn path=/trunk/; revision=22000
2008-12-29 20:39:42 +00:00
Tor Lillqvist
5f139e9205 Add missing symbols from gtkentry.c.
2008-12-29  Tor Lillqvist  <tml@novell.com>

	* gtk/gtk.symbols: Add missing symbols from gtkentry.c.


svn path=/trunk/; revision=21999
2008-12-29 10:18:23 +00:00
Matthias Clasen
a69b549408 Doc additions
svn path=/trunk/; revision=21998
2008-12-29 07:39:34 +00:00
Matthias Clasen
7e7866f12b More additions
svn path=/trunk/; revision=21996
2008-12-29 07:25:29 +00:00
Matthias Clasen
32237671ca Doc additions
svn path=/trunk/; revision=21995
2008-12-29 07:24:06 +00:00
Matthias Clasen
175b4bea8b Document gtk_xscrollbar.new
svn path=/trunk/; revision=21993
2008-12-29 07:17:01 +00:00
Matthias Clasen
860286c919 Doc additions
svn path=/trunk/; revision=21991
2008-12-29 06:48:44 +00:00
Matthias Clasen
0c46603ad4 doc fixes
svn path=/trunk/; revision=21987
2008-12-29 06:08:19 +00:00
Matthias Clasen
3f6e3478b7 Fix a typo
svn path=/trunk/; revision=21986
2008-12-29 06:02:38 +00:00
Matthias Clasen
400d50548c Forgotten commit
svn path=/trunk/; revision=21983
2008-12-29 05:16:44 +00:00
Matthias Clasen
be756456a1 Doc fixes
svn path=/trunk/; revision=21981
2008-12-29 04:56:09 +00:00
Matthias Clasen
e09d14ab6b Doc fixes
svn path=/trunk/; revision=21980
2008-12-29 04:54:42 +00:00
Matthias Clasen
a7e5938f58 Un-doc-commentize non-exported functions
svn path=/trunk/; revision=21979
2008-12-29 04:50:15 +00:00