Commit Graph

17377 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
Jorge Gonzalez Gonzalez
245fbd73a4 Updated Spanish translation
svn path=/trunk/; revision=22115
2009-01-14 19:20:56 +00:00
Gabor Keleman
6ea04e2984 Small update
svn path=/trunk/; revision=22114
2009-01-14 14:05:06 +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
Gabor Kelemen
08a80b9efa Translation updated.
2009-01-13  Gabor Kelemen  <kelemeng@gnome.hu>

	* hu.po: Translation updated.

svn path=/trunk/; revision=22111
2009-01-13 14:59:58 +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
Luca Ferretti
c9a12f9340 added missing gtk/gtkorientable.c
2009-01-13  Luca Ferretti  <elle.uca@libero.it>

	* POTFILES.in: added missing gtk/gtkorientable.c 

svn path=/trunk/; revision=22109
2009-01-13 13:25:42 +00:00
Luca Ferretti
259b2744db adde missing gtk/gtkorientable.c
2009-01-13  Luca Ferretti  <elle.uca@libero.it>

	* POTFILES.in: adde missing gtk/gtkorientable.c 

svn path=/trunk/; revision=22108
2009-01-13 13:23:55 +00:00
Luca Ferretti
878a81b87c Changed two conflicting accelerators.
2009-01-13  Luca Ferretti  <elle.uca@libero.it>

	* it.po: Changed two conflicting accelerators.

svn path=/trunk/; revision=22107
2009-01-13 13:18:23 +00:00
Tor Lillqvist
c1e67e994c Bug 164002 - query scripts don't work uninstalled on windows
2009-01-12  Tor Lillqvist  <tml@iki.fi>

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

	* queryloaders.c (main): Use the configure-time PIXBUF_LIBDIR if
	the exe is located in a .libs folder, i.e. run in the build
	directory through a libtool wrapper script or wrapper executable,
	or in the source folder itself. Otherwise continue to infer the
	runtime prefix from the exe's location.

2009-01-12  Tor Lillqvist  <tml@iki.fi>

	* queryloaders.c (main): Remove the Win9x code path. It had been
	left by mistake. Win9x code is gone from the rest of GTK+ since
	2.12.


svn path=/trunk/; revision=22106
2009-01-13 11:17:25 +00:00
Christian Dywan
30db574750 Bug 567569 – Typo in GtkFileChooser example in GTK+ documentation
2009-01-13  Christian Dywan  <christian@imendio.com>

	Bug 567569 – Typo in GtkFileChooser example in GTK+ documentation

	* gtk/tmpl/gtkfilechooser.sgml: s/gobject_unref/g_object_unref.
        Patch by Priyank Gosalia.

svn path=/trunk/; revision=22105
2009-01-13 09:32:17 +00:00
Matthias Clasen
8b9007b117 no news
svn path=/trunk/; revision=22104
2009-01-13 05:32:13 +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
Jorge Gonzalez Gonzalez
6859e93810 Updated Spanish translation
svn path=/trunk/; revision=22102
2009-01-12 22:43:46 +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
Kjartan Maraas
8a604cfe57 Updated Norwegian bokmål translation.
2009-01-12  Kjartan Maraas  <kmaraas@gnome.org>

	* nb.po: Updated Norwegian bokmål translation.

svn path=/trunk/; revision=22096
2009-01-12 12:47:50 +00:00
Tor Lillqvist
550d4d185b A GOptionArgFunc should return gboolean and take also a GError pointer
2009-01-12  Tor Lillqvist  <tml@iki.fi>

	* gdk/gdk.c (gdk_arg_debug_cb) (gdk_arg_no_debug_cb): A
	GOptionArgFunc should return gboolean and take also a GError
	pointer parameter, so make these two functions do that. Return
	FALSE (and set the GError) if the parsing of the debug string
	failed completely. Note that g_parse_debug_string() doesn't really
	have any way to return parsing status, and accepts partially
	incorrect strings, though.


svn path=/trunk/; revision=22095
2009-01-12 12:05:13 +00:00
Theppitak Karoonboonyanan
d25a8b200c Updated Thai translation.
2009-01-12  Theppitak Karoonboonyanan  <thep@linux.thai.net>

	* th.po: Updated Thai translation.


svn path=/trunk/; revision=22093
2009-01-12 11:13:54 +00:00
Theppitak Karoonboonyanan
c2572c891a Updated Thai translation.
2009-01-12  Theppitak Karoonboonyanan  <thep@linux.thai.net>

	* th.po: Updated Thai translation.


svn path=/trunk/; revision=22092
2009-01-12 10:32:46 +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
Claude Paroz
7746eed9b9 Commit an empty crh.po to make gtk+ build again.
2009-01-12  Claude Paroz  <claude@2xlibre.net>

	* crh.po: Commit an empty crh.po to make gtk+ build again.

svn path=/trunk/; revision=22089
2009-01-12 08:31:59 +00:00
Claude Paroz
b44a74dc63 Added crh Updated Crimean Tatar translation on behalf of Reşat SABIQ.
2009-01-11  Claude Paroz  <claude@2xlibre.net>

	* LINGUAS: Added crh
	* crh.po: Updated Crimean Tatar translation on behalf of Reşat SABIQ.

svn path=/trunk/; revision=22088
2009-01-11 19:22:59 +00:00
Tor Lillqvist
bb56a0a119 Bug 523554 - Copy from GIMP to Word broken
2009-01-11  Tor Lillqvist  <tml@iki.fi>

	Bug 523554 - Copy from GIMP to Word broken

	* gdk/win32/gdkselection-win32.c
	(_gdk_win32_selection_convert_to_dib): The DIB stored in the
	Windows Clipboard was for some unknown reason truncated by one
	byte. Don't do that.


svn path=/trunk/; revision=22086
2009-01-11 13:23:46 +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
Funda Wang
ca2cfa096f Updated zh_CN translation.
svn path=/trunk/; revision=22083
2009-01-10 05:27:02 +00:00
Christian Dywan
27d8d8ea2b Fail in gdk_window_new if _gdk_window_new failed
2009-01-09  Christian Dywan  <christian@imendio.com>

	Fail in gdk_window_new if _gdk_window_new failed

	* gdk/gdkwindow.c (gdk_window_new): Add g_return_val_if_fail
        in case _gdk_window_new is NULL. Approved by Tim Janik

svn path=/trunk/; revision=22082
2009-01-09 13:47:02 +00:00
Gintautas Miliauskas
7363a61079 Updated Lithuanian translation.
2009-01-09  Gintautas Miliauskas  <gintas@akl.lt>

	* lt.po: Updated Lithuanian translation.


svn path=/trunk/; revision=22081
2009-01-09 09:48:13 +00:00
Funda Wang
325fea2605 merge to msgctxt
svn path=/trunk/; revision=22080
2009-01-09 02:49:52 +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
Leonardo Ferreira Fontenelle
8ea564d5e2 Updated Brazilian Portuguese translation.
2009-01-07  Leonardo Ferreira Fontenelle  <leonardof@gnome.org>

	* pt_BR.po: Updated Brazilian Portuguese translation.

svn path=/trunk/; revision=22075
2009-01-07 22:56:57 +00:00
Matthias Clasen
54000d0ede Bug 566862 – pixbuf_new_from_file does not autodetect format
2009-01-07  Matthias Clasen  <mclasen@redhat.com>

        Bug 566862 – pixbuf_new_from_file does not autodetect format

        * gdk-pixbuf-io.c (_gdk_pixbuf_get_module): Go back to sniffing
        without looking at the filename, to avoid breaking expected
        functionality.


svn path=/trunk/; revision=22073
2009-01-07 15:02:33 +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
Jorge Gonzalez Gonzalez
37ec9dd31a Updated Spanish translation
svn path=/trunk/; revision=22071
2009-01-06 10:33:32 +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
Jorge Gonzalez Gonzalez
04fe64b120 Updated Spanish translation
svn path=/trunk/; revision=22069
2009-01-05 16:02:21 +00:00
Tor Lillqvist
7ddb955766 Bug 566628 - gdk_display_close always asserts on win32
2009-01-05  Tor Lillqvist  <tml@novell.com>

	Bug 566628 - gdk_display_close always asserts on win32

	* gdk/win32/gdkdisplay-win32.c
	(_gdk_windowing_set_default_display): Allow also a NULL parameter
	in the g_assert(). Still don't actually do anything in this
	function, though.


svn path=/trunk/; revision=22068
2009-01-05 15:31:14 +00:00
Kjartan Maraas
64ba230671 Updated Norwegian bokmål translation.
2009-01-05  Kjartan Maraas  <kmaraas@gnome.org>

	* nb.po: Updated Norwegian bokmål translation.

svn path=/trunk/; revision=22065
2009-01-05 14:28:12 +00:00
Lu Gan
1d02474e4e Update zh_CN.po
svn path=/trunk/; revision=22064
2009-01-05 12:38:18 +00:00
Matthias Clasen
e725c73ba0 Add long description
svn path=/trunk/; revision=22063
2009-01-05 04:19:48 +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
Kjartan Maraas
04a6a3fa7f Updated Norwegian bokmål translation.
2009-01-05  Kjartan Maraas  <kmaraas@gnome.org>

	* nb.po: Updated Norwegian bokmål translation.

svn path=/trunk/; revision=22059
2009-01-05 00:37:00 +00:00
Matthias Clasen
daf29bffed Recheck _NET_SUPPORTING_WM_CHECK every now and then to avoid getting stuck
2009-01-03  Matthias Clasen  <mclasen@redhat.com>

        * gdk/x11/gdkscreen-x11.h:
        * gdk/x11/gdkevents-x11.c (fetch_net_wm_check_window): Recheck
        _NET_SUPPORTING_WM_CHECK every now and then to avoid getting
        stuck on the id of a former wmcheck window that got reused by
        another client (see RH bug 471927)


svn path=/trunk/; revision=22058
2009-01-04 04:50:36 +00:00
Changwoo Ryu
81ab852026 Updated Korean translation
svn path=/trunk/; revision=22056
2009-01-03 09:54:13 +00:00
Lu Gan
03b031cf34 Updated Chinese Simplified translation
M    ChangeLog
M    zh_CN.po

svn path=/trunk/; revision=22055
2009-01-03 08:04:32 +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
Daniel Nylander
5e0bd81e6d sv.po: Updated Swedish translation
svn path=/trunk/; revision=22047
2009-01-02 23:53:51 +00:00
Daniel Nylander
8ea9920481 sv.po: Updated Swedish translation
svn path=/trunk/; revision=22046
2009-01-02 23:53:21 +00:00