Ryan Lortie
5ae008606d
GtkApplication rewrite
2010-08-11 01:23:23 -04:00
Chao-Hsiung Liao
b35c2e695a
Updated Traditional Chinese translation (Hong Kong and Taiwan)
2010-07-14 19:25:57 +08:00
Javier Jardón
8fbccfb1a9
GtkTreeView: unseal private pointer
2010-07-14 02:24:58 +02:00
Javier Jardón
66c0673a41
GtkTreeModelFilter: unseal private pointer
2010-07-14 02:24:58 +02:00
Javier Jardón
aedc5e967f
GtkToolItem: unseal private pointer
2010-07-14 02:24:58 +02:00
Javier Jardón
c90ca18c2f
GtkToggleToolButton: unseal private pointer
2010-07-14 02:24:58 +02:00
Javier Jardón
87b0f02403
GtkPrintUnixDialog: unseal private pointer
2010-07-14 02:11:00 +02:00
Javier Jardón
9db9c5f247
GtkPrintOperation: unseal private pointer
2010-07-14 02:07:04 +02:00
Javier Jardón
6fae72c419
GtkExpander: unseal private pointer
2010-07-14 02:01:20 +02:00
Javier Jardón
a2fef51b64
GtkToolButton: unseal private pointer
2010-07-14 01:58:29 +02:00
Javier Jardón
461f055da6
GtkAlignment: move public members to private structure
2010-07-14 01:48:53 +02:00
Javier Jardón
5828453ae5
Use accessor functions to access GtkAlignment
2010-07-14 01:48:53 +02:00
Javier Jardón
e1184e362c
GtkViewport: move public members to private structure
2010-07-14 01:17:28 +02:00
Javier Jardón
3ea904fa49
gtkuimanager: unseal private pointer
2010-07-14 01:17:28 +02:00
Javier Jardón
18a06d6b6a
gtktoggleaction: move public members to private structure
2010-07-14 01:17:28 +02:00
Javier Jardón
3ce68cd5de
Use accessor functions to access GtkToggleAction
2010-07-14 01:17:28 +02:00
Javier Jardón
e69979f7b6
gtktearoffmenuitem: Move public members to private structure
2010-07-14 01:17:28 +02:00
Jonh Wendell
5f1b5d2406
Merge branch 'windows_list'
2010-07-13 16:49:21 -03:00
Javier Jardón
703f7121ae
GtkTable: move public members to private structure
2010-07-13 19:40:50 +02:00
Javier Jardón
1af22acbf7
Use accessor functions to access GtkTable
2010-07-13 19:40:50 +02:00
Javier Jardón
ff27677957
gtkstatusicon: unseal private pointer
2010-07-13 19:40:50 +02:00
Javier Jardón
9114c4c410
gtkstatusbar: Move public members to private structure
2010-07-13 19:40:50 +02:00
Javier Jardón
bf976cc1e4
Use accessor functions to access GtkStatusbar
2010-07-13 19:40:50 +02:00
Javier Jardón
e6db32de44
gtkspinner: Remove GET_PRIVATE macro
2010-07-13 19:40:50 +02:00
Javier Jardón
c17dad9d32
Use accessor functions to access GtkSpinButton
2010-07-13 19:40:50 +02:00
Javier Jardón
cbbffa18f8
Add _gtk_spin_button_get_panel private function
...
It's needed in gtktestutils.c
2010-07-13 19:40:50 +02:00
Javier Jardón
57d870ac5b
gtkspinbutton: move public members to private structure
2010-07-13 19:40:50 +02:00
Javier Jardón
d5c3fb5231
gtksizegroup: Move public members to private structure
2010-07-13 19:40:50 +02:00
Javier Jardón
22d4515d9a
gtkseparatortoolitem: unseal private pointer
2010-07-13 19:40:50 +02:00
Javier Jardón
675745e1ca
Use accessor functions to access GtkScrolledWindow
2010-07-13 19:40:50 +02:00
Javier Jardón
65acc3641a
GtkScale: move public members to private structure
2010-07-13 19:40:50 +02:00
Javier Jardón
de9c5f8d3d
Use accessor functions to access GtkScale
2010-07-13 19:40:50 +02:00
Javier Jardón
9ddda9c844
GtkScaleButton: Move public members to private structure
2010-07-13 19:40:50 +02:00
Javier Jardón
bcc8494899
Use accessor functions to access GtkScaleButton
2010-07-13 19:40:49 +02:00
Javier Jardón
6fb0e3a09f
GtkRuler: move public member to private structure
2010-07-13 19:40:49 +02:00
Javier Jardón
f17a345998
gtkrecentmanager: unseal private pointer
2010-07-13 19:40:49 +02:00
Javier Jardón
c1da2a9204
gtkrecentchooserwidget: unseal private pointer
2010-07-13 19:40:49 +02:00
Javier Jardón
3dfaf72745
gtkrecentchoosermenu: unseal private pointer
2010-07-13 19:40:49 +02:00
Javier Jardón
37a499cea6
gtkrecentchooserdialog: unseal private pointer
2010-07-13 19:40:49 +02:00
Javier Jardón
e6bd773fda
GtkRecentAction: move public members to private structure
2010-07-13 19:40:49 +02:00
Javier Jardón
133502d798
GtkRadioMenuItem: Move public members to private structure
2010-07-13 19:40:49 +02:00
Javier Jardón
ec4c06105d
GtkRadioButton: Move public members to private structure
2010-07-13 19:40:49 +02:00
Javier Jardón
6ce52cab3c
GtkRadioAction: unseal private pointer
2010-07-13 19:40:49 +02:00
Javier Jardón
0ddeccefe9
GtkProgressBar: Move public members to private structure
2010-07-13 19:40:49 +02:00
Javier Jardón
e3a4dfe0e1
gtkprinter: unseal private pointer
2010-07-13 19:40:49 +02:00
Javier Jardón
168fbac7f6
gtkprintbackend: Use private pointer instead GET_PRIV() macro
2010-07-13 19:40:49 +02:00
Javier Jardón
8c041cde30
GtkPaned: move public members to private structure
2010-07-13 19:40:49 +02:00
Javier Jardón
92a1382bd6
Use accessor functions to access GtkPaned
2010-07-13 19:40:49 +02:00
Javier Jardón
28cf61a2ca
gtkpagesetupunixdialog: unseal private pointer
2010-07-13 19:40:49 +02:00
Javier Jardón
1ca6edf6bf
GtkMisc: move public members to private structure
2010-07-13 19:40:49 +02:00
Javier Jardón
978a031b76
Use accessor functions to access GtkMisc
2010-07-13 19:40:49 +02:00
Javier Jardón
e2b8112fd8
GtkMessageDialog: move public members to private structure
2010-07-13 19:40:49 +02:00
Javier Jardón
ecce43bcd1
GtkMenuToolButton: unseal private pointer
2010-07-13 19:40:49 +02:00
Javier Jardón
4d7ecabaf0
GtkMenuBar: Use private pointer instead GET_PRIV() macro all the time
2010-07-13 19:40:48 +02:00
Javier Jardón
a3b039d317
GtkListStore: move public members to private structure
2010-07-13 19:40:48 +02:00
Javier Jardón
59942f91cb
GtkLinkButton: unseal private pointer
2010-07-13 19:40:48 +02:00
Javier Jardón
801708b9e6
GtkLayout: move public members to private structure
2010-07-13 19:40:48 +02:00
Javier Jardón
fbf1de72c4
Use accessor funtions to access GtkLayout
2010-07-13 19:40:48 +02:00
Javier Jardón
bf9875860b
GtkLabel: move public members to private structure
2010-07-13 19:40:48 +02:00
Javier Jardón
511560ba88
GtkInvisible: move public members to private structure
2010-07-13 19:40:48 +02:00
Javier Jardón
d4a59142ad
Use accessor funtions to acces GtkInvisible
2010-07-13 19:40:48 +02:00
Javier Jardón
75686d04a0
GtkInfoBar: use private pointer instead GET_PRIV() macro
2010-07-13 19:40:48 +02:00
Javier Jardón
e2a662b93d
GtkIMMulticontext: move public members to private structure
2010-07-13 19:40:48 +02:00
Javier Jardón
47e824a5e4
GtkImageMenuItem: move public members to private structure
2010-07-13 19:40:48 +02:00
Javier Jardón
ad3b5941ab
GtkImageMenuItem: move public members to private structure
2010-07-13 19:40:48 +02:00
Javier Jardón
86f0bd5cc9
GtkImage: move public members to private structure
2010-07-13 19:40:48 +02:00
Javier Jardón
41d2a4d059
Use accessor funtions to acces GtkImage
2010-07-13 19:40:48 +02:00
Javier Jardón
754dc6491b
GtkIconView: Unseal private pointer
2010-07-13 19:40:48 +02:00
Javier Jardón
f66ebd8e59
GtkIconTheme: unseal private pointer
2010-07-13 19:40:48 +02:00
Javier Jardón
e1d182ce5c
GtkIconFactory: move public members to private structure
2010-07-13 19:40:48 +02:00
Javier Jardón
c0228f609c
GtkHSV: unseal private pointer
2010-07-13 19:40:48 +02:00
Javier Jardón
997c7b96a8
gtkhandlebox: move public members to private structure
2010-07-13 19:40:48 +02:00
Javier Jardón
817d1f93cd
gtkframe: move public members to private structure
2010-07-13 19:40:48 +02:00
Javier Jardón
2d9aaf4cf3
Use accessor funtions to acces GtkFrame
2010-07-13 19:40:47 +02:00
Javier Jardón
6fe5203c0a
GtkFontSelection: move public members to private structure
2010-07-13 19:40:47 +02:00
Javier Jardón
324ab58710
GtkFontSelectionDialog: move public members to private structure
2010-07-13 19:40:47 +02:00
Javier Jardón
558a02c730
Use accessor funtions to access GtkFontSelectionDialog
2010-07-13 19:40:47 +02:00
Javier Jardón
f86456ccb5
gtkfontbutton: unseal private pointer
2010-07-13 19:40:47 +02:00
Javier Jardón
0991115ada
gtkfixed: Move public members to private structure
2010-07-13 19:40:47 +02:00
Javier Jardón
58030409d8
gtkfilechooserwidget: Unseal private pointer
2010-07-13 19:40:47 +02:00
Javier Jardón
9b63c322ee
gtkfilechooserdialog: Unseal private pointer
2010-07-13 19:40:47 +02:00
Javier Jardón
01bdc682fd
gtkfilechooserbutton: unseal private pointer
2010-07-13 19:40:47 +02:00
Javier Jardón
d4813408b0
gtkentrycompletion: Do not use GET_PRIV() macro all the time
...
Also, unseal private pointer
2010-07-13 19:40:47 +02:00
Javier Jardón
a8014e6fec
gtkdialog: Move public members to private structure
2010-07-13 19:40:47 +02:00
Javier Jardón
7f2cc85db9
Use accessor functions to access GtkDialog
2010-07-13 19:40:47 +02:00
Javier Jardón
80df961edb
gtkbin: Move public members to private structure
2010-07-13 19:40:47 +02:00
Javier Jardón
63d3b197c2
Add _gtk_bin_set_widget() internal function
2010-07-13 19:40:47 +02:00
Javier Jardón
4427760bcc
Use GtkBin accessors
2010-07-13 19:40:47 +02:00
Javier Jardón
2de1f3f88c
gtkcontainer: Move public members to private structure
2010-07-13 19:40:46 +02:00
Javier Jardón
63f8313015
gtkcontainer: Add _gtk_container_get_reallocate_redraws internal accessor
...
Only used in gtkwidget
2010-07-13 19:40:46 +02:00
Javier Jardón
dfb24fd56e
gtkcontainer: Add _gtk_container_*_need_resize internal accessors
...
gtkoffscreenwindow and gtkwindow need access to need_resize var
2010-07-13 19:40:46 +02:00
Javier Jardón
3a10216dd0
Use accessor functions to acces GtkContainer
2010-07-13 19:40:46 +02:00
Javier Jardón
009acc263e
gtkcustompaperunixdialog: unseal private pointer
2010-07-13 19:40:46 +02:00
Javier Jardón
5fd442eda2
gtkcomboboxentry: unseal private pointer
2010-07-13 19:40:46 +02:00
Javier Jardón
56cc11a416
gtkcombobox: unseal private pointer
2010-07-13 19:40:46 +02:00
Javier Jardón
ebf6ce274a
gtkcolorseldialog: Move public members to private structure
2010-07-13 19:40:46 +02:00
Javier Jardón
9663801be7
Use accessor functions to access GtkColorSelectionDialog
2010-07-13 19:40:46 +02:00
Javier Jardón
56eafbaad8
gtkcolorsel: unseal private pointer
2010-07-13 19:40:46 +02:00
Javier Jardón
ad45f1ce9d
gtkcolorbutton: unseal private pointer
2010-07-13 19:40:46 +02:00
Javier Jardón
06dfffa132
gtkcheckmenuitem: Move public members to private structure
2010-07-13 19:40:46 +02:00
Javier Jardón
94fd7a3502
Use accessor functions to access GtkCheckMenuItem
2010-07-13 19:40:46 +02:00
Javier Jardón
72f515a0f3
gtkcellrendererpixbuf: Move public members to private structure
2010-07-13 19:40:46 +02:00
Javier Jardón
637c9f16e3
gtkcellview: unseal private pointer
2010-07-13 19:40:46 +02:00
Javier Jardón
3c90ecf27b
gtkcellrenderertoggle: Move public members to private structure
2010-07-13 19:40:46 +02:00
Javier Jardón
7fdb991b99
gtkcellrenderertext: Move public members to private structure
2010-07-13 19:40:45 +02:00
Javier Jardón
6736c085b3
Use accessor functions to access GtkCellRendererText
2010-07-13 19:40:45 +02:00
Javier Jardón
b71d539fd0
gtkcellrendererspinner: Remove GET_PRIV() macro
...
This macro shouldn't be used in any function, but ->priv pointer
instead.
2010-07-13 19:40:45 +02:00
Javier Jardón
c2b079ca05
gtkcellrendererspin: Use private pointer instead GET_PRIV macro
2010-07-13 19:40:45 +02:00
Javier Jardón
ee1d9df94c
gtkcellrendererprogress: unseal private pointer
2010-07-13 19:40:45 +02:00
Javier Jardón
c0b0b84c6e
gtkcellrenderercombo: Move public members to private structure
2010-07-13 19:40:45 +02:00
Javier Jardón
5e815bfee2
gtkcellrenderer: Move public members to private structure
2010-07-13 19:40:45 +02:00
Javier Jardón
db584abef3
Use accessor functions to access GtkCellRenderer
2010-07-13 19:40:45 +02:00
Javier Jardón
932568d1ed
gtkcellrendereraccel: Move public members to private structure
2010-07-13 19:40:45 +02:00
Javier Jardón
4d40f88310
gtkbuilder: unseal private pointer
2010-07-13 19:40:45 +02:00
Javier Jardón
0677bb2785
gtkbox: Move public members to private structure
2010-07-13 19:40:45 +02:00
Javier Jardón
a46c1eba64
Use accessor functions to access GtkBox
2010-07-13 19:40:45 +02:00
Javier Jardón
abe267641a
gtkbbox: Move public members to private structure
2010-07-13 19:40:45 +02:00
Javier Jardón
123717510f
gtkassistant: Move public members to private structure
2010-07-13 19:40:45 +02:00
Javier Jardón
472753330d
gtkaccessible: Move public members to private structure
2010-07-13 19:40:45 +02:00
Javier Jardón
5ee19bdafe
Use accessor functions to access GtkAccesible variables
2010-07-13 19:40:45 +02:00
Javier Jardón
a6e0fb92c6
gtkaspectframe: Move public members to private structure
2010-07-13 19:40:45 +02:00
Javier Jardón
3862bf3208
gtkarrow: Move public members to private structure
2010-07-13 19:40:44 +02:00
Javier Jardón
fa740ae012
gtkactiongroup: Unseal private pointer
...
Also, use ->priv instead GET_PRIV() macro all the time
2010-07-13 19:40:44 +02:00
Javier Jardón
8ad3afce95
gtkaction: unseal private pointer
2010-07-13 19:40:44 +02:00
Christian Dywan
335549b46a
Move definition of GtkNotebookPage out of the header
2010-07-13 18:47:45 +02:00
Ignacio Casal Quinteiro
dba6592601
Add annotations for GtkAccelMap
2010-07-13 18:37:41 +02:00
Javier Jardón
33960b737d
GtkNotebook: Move public members to private structure
2010-07-13 18:16:06 +02:00
Javier Jardón
d562611660
Use accessor functions to access GtkNotebook
2010-07-13 17:50:48 +02:00
Pablo Castellano
c6b6ab0599
Bump glib to 2.25.12
...
g_variant_new_bytestring_array() was introduced in
424842e3a9 and requires in glib 2.25.12
2010-07-13 17:33:02 +02:00
Christian Dywan
828f5cbe2e
Change GtkNotebookPage in switch-page into GtkWidget
2010-07-13 17:05:22 +02:00
Christian Dywan
04c54efe5c
Deprecate GtkNotebookPage as used in switch-page
...
Fixes: 618327
2010-07-13 16:49:53 +02:00
Aron Xu
a5272c82a6
Update Simplified Chinese po-propertiese translation.
2010-07-13 19:56:02 +08:00
Ignacio Casal Quinteiro
d219adfa5a
Move sealed attributes to private struct.
2010-07-12 21:12:46 +02:00
Tadej Borovšak
75e75cd305
Migrate GtkActionGroup API docs
2010-07-12 19:45:32 +02:00
Matthias Clasen
41671d1514
Bump version
2010-07-12 11:56:35 -04:00
Matthias Clasen
9a812edff8
Fix distcheck
2010-07-12 11:53:36 -04:00
Matthias Clasen
4f3d5e3655
Include cairo-1.0.gir when building Gdk-3.0.gir
...
Seems necessary with the cairo_region_t changes.
2010-07-12 10:30:06 -04:00
Matthias Clasen
b81d141a26
More updates
2010-07-12 10:09:18 -04:00
Matthias Clasen
d20ac9715e
Updates
2010-07-12 10:05:34 -04:00
Aron Xu
7cf895257f
Update Simplified Chinese translation.
2010-07-12 21:57:24 +08:00
Aron Xu
3604c279ff
Following the just now change.
2010-07-12 21:50:53 +08:00
Aron Xu
66e85255aa
Complete Simplified Chinese translation.
2010-07-12 21:48:02 +08:00
Baurzhan Muftakhidinov
78bde3c4c0
Updated Kazakh translation
2010-07-12 16:21:11 +03:00
Alan Monfort
99ee143a71
Updated Breton translation
2010-07-11 19:12:38 +02:00
Petr Kovar
f73115b6a0
Update Czech translation
2010-07-11 18:54:48 +02:00
Kjartan Maraas
ef5e6c1057
Updated Norwegian bokmål translation
2010-07-11 15:46:01 +02:00
Paolo Borelli
0df65779bb
The hash owns a ref to the cursor
2010-07-10 18:49:21 +02:00
Kristjan Schmidt
a9cf42ea42
Updated Esperanto translation
2010-07-10 12:43:35 +02:00
Kristjan Schmidt
59504f58d9
Updated Esperanto translation
2010-07-10 12:29:33 +02:00
Javier Jardón
eaab96c066
Use GSlice for GtkRequisition
...
Also add gtk_requisition_new to avoid memory allocator confusions when
using GtkRequisitions.
Based on a Christian Persch patch.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=461618
2010-07-10 06:13:45 +02:00
Matthias Clasen
bcbb976d91
Respect GtkEntry::state-hint when drawing spinbutton features
...
As proposed in bug 589904 by Thomas Wood.
2010-07-09 22:23:25 -04:00
Matthias Clasen
ab6927e4fa
Small GtkTable doc improvement
2010-07-09 21:40:46 -04:00
Matthias Clasen
813bee6f0a
Try to fix !srcdir build wrt to introspection
...
This requires a recent gobject-introspection, so bump the
dependency to 0.9.0. Should fix bug 623520
2010-07-09 21:01:40 -04:00
Javier Jardón
0a07e9733b
gtk/: fully remove gtkalias hacks
...
https://bugzilla.gnome.org/show_bug.cgi?id=623845
2010-07-10 02:51:26 +02:00
Javier Jardón
404e7d0e00
gdk/: fully remove gdkalias hacks
...
https://bugzilla.gnome.org/show_bug.cgi?id=623845
2010-07-10 02:21:31 +02:00
Javier Jardón
7cabad6b77
Use -Bsymbolic-functions, drop g*alias PLT hackery
...
This is a minimal patch-out of the galias functionality.
Based on a Glib pach by Ryan Lortie
https://bugzilla.gnome.org/show_bug.cgi?id=623845
2010-07-10 02:21:31 +02:00
Javier Jardón
e4e477161a
Add check for -Bsymbolic-functions linker flag
...
Based on a Glib patch by Ryan Lortie
https://bugzilla.gnome.org/show_bug.cgi?id=623845
2010-07-10 02:21:31 +02:00
Javier Jardón
7e9d384fc0
[docs] GtkPaned: Do not use gutter_size deprecated member in examples
2010-07-09 23:24:38 +02:00
Colin Walters
ae16b31038
Actually build the tutorial if enabled
...
Previously we required an explicit "make html" in this subdirectory
for no reason. Just build it if make is invoked at the toplevel
and we have docbook.
2010-07-09 16:16:48 -04:00
Colin Walters
f8f3b635a6
Actually build faq if enabled
...
Previously we required an explicit "make html" in this subdirectory
for no reason. Just build it if make is invoked at the toplevel
and we have docbook.
2010-07-09 10:49:46 -04:00
Ivar Smolin
c4f12b95cb
[l10n] Updated Estonian translation
2010-07-09 10:32:14 +03:00
John (J5) Palmieri
b74ee87b17
annotation (transfer-none) fix that somehow got dropped from last patch
...
* gtk_tree_path_get_indices_with_depth - annotate the return as 'transfer none'
to avoid double frees
2010-07-08 15:26:55 -04:00
John (J5) Palmieri
b5f878dec8
fix some tree model annotations
...
* gtk_tree_model_iter_next - 'inout' is poorly defined and causes bugs so
revert back to the default 'in' annotation
* gtk_tree_path_get_indices_with_depth - annotate the return as 'transfer none'
to avoid double frees
2010-07-08 15:06:55 -04:00
Emmanuele Bassi
15646b6e74
docs: Document the GtkApplication::quit signal behavior
...
And add Since: annotations to the GtkApplication signals.
2010-07-08 14:12:27 +01:00
Ryan Lortie
424842e3a9
GtkApplication: use new GVariant bytestring API
2010-07-07 16:37:55 -04:00
Philip Withnall
0b51abbfdf
Add (out) annotations to GtkTreeIter parameters
2010-07-07 18:20:37 +02:00
Fran Diéguez
c4832a9d0e
Updated Galician translations
2010-07-07 17:54:03 +02:00
Javier Jardón
675b05f91d
[docs] GtkCellEditable: Move documentation to inline comments
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=617392
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-07-06 22:46:40 +02:00
Javier Jardón
dd1f0c46b3
[docs] GtkCalendar: Move documentation to inline comments
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=617389
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-07-06 22:46:40 +02:00
Tadej Borovšak
2ed1bab6bf
[docs] GtkButton: Move documentation to inline comments
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=617386
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-07-06 22:46:40 +02:00
Colin Walters
c609c4e807
Fix annotation syntax for gtk_widget_class_path
2010-07-06 15:50:07 -04:00
John (J5) Palmieri
74b3875ab2
fix annotation for gtk_window_set_default_icon_list
2010-07-06 15:46:14 -04:00
Colin Walters
aff8fb2ea2
Fix annotation on gtk_tree_model_get_value
2010-07-06 15:01:56 -04:00
Matej Urbančič
337e53f62e
Updated Slovenian translation
2010-07-06 15:14:13 +02:00
Matej Urbančič
12560cece2
Updated Slovenian translation
2010-07-06 15:13:48 +02:00
Jonh Wendell
9125ccb1cb
[GtkApplication] Add gtk_application_get_windows()
...
Closes #623598 .
2010-07-05 17:12:53 -03:00
Ignacio Casal Quinteiro
f50d06baea
Bind get_bounds and use out instead of out caller-allocates.
...
There is no need to use caller-allocates if the scanner already detects it.
2010-07-05 18:41:22 +02:00
Tadej Borovšak
90cd7f44f1
[docs] Minor documentation fixes.
...
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-07-05 17:21:55 +02:00
Tor Lillqvist
34e8bd9dba
Fix build breakage on Windows caused by the region changes
...
Patches by Sam Thursfield, from bug #623476 .
2010-07-05 12:57:13 +03:00
Jorge González
1ac5011873
Updated Spanish translation
2010-07-03 12:32:29 +02:00
Yaron Shahrabani
ef44de1392
Updated Hebrew translation.
2010-07-03 02:00:27 +03:00
Xan Lopez
533ea97c67
Remove leftover uses/references of GtkNotebook::group-id
2010-07-02 22:38:39 +02:00
Javier Jardón
1a03a65e36
Remove GtkWindow:allow-grow and GtkWindow::allow_shrink deprecated properties
2010-07-02 21:45:08 +02:00
Javier Jardón
1f38a7ac10
Deprecate GtkWindow:allow-grow and GtkWindow::allow_shrink properties
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=610346
2010-07-02 21:44:56 +02:00
Matthias Clasen
1cfe57530e
Add gdk_keymap_get_num_lock_state to the docs
2010-07-02 12:59:07 -04:00
Florian Müllner
1e1c5e3ca1
[iconview] Fix segfault when using rubberband selection
...
When iterating over the cairo region's rectangles, do not decrement
the counter twice ...
https://bugzilla.gnome.org/show_bug.cgi?id=623389
2010-07-02 15:39:02 +02:00
Baurzhan Muftakhidinov
6adb034cb7
Updated Kazakh translation for gtk+
2010-07-02 14:31:46 +03:00
Tomeu Vizoso
eae60c34d2
Annotate gdk_display_manager_list_displays return value
...
https://bugzilla.gnome.org/show_bug.cgi?id=623307
2010-07-02 10:51:45 +02:00
William Jon McCann
85e3f22c19
Show lock warning for num lock as well as caps lock
...
https://bugzilla.gnome.org/show_bug.cgi?id=623239
2010-07-01 21:46:08 -04:00
William Jon McCann
0cfb94cdd4
[gdk] Add gdk_keymap_get_num_lock_state
...
https://bugzilla.gnome.org/show_bug.cgi?id=623239
2010-07-01 21:44:09 -04:00
Javier Jardón
319d2bb4f1
[gdk] Remove GdkWindowObject public structure
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=622677
2010-07-01 02:26:34 +02:00
Javier Jardón
df106318f8
[gdk] Add gdk_window_has_native() function
...
https://bugzilla.gnome.org/show_bug.cgi?id=622677
2010-07-01 02:26:34 +02:00
Ivar Smolin
f40fea1317
[l10n] Updated Estonian translation
2010-06-30 23:55:39 +03:00
Kristian Rietveld
be27fba3f3
Remove dummy for gdk_event_get_graphics_expose()
...
This was a deprecated function that has been removed.
2010-06-30 21:43:25 +02:00
Kristian Rietveld
43f4398dbd
Remove mention of gdk_event_get_graphics_expose()
2010-06-30 21:43:25 +02:00
Ignacio Casal Quinteiro
fa752d156b
Fix annotation.
2010-06-30 20:37:22 +02:00
Kristian Rietveld
1564d8922a
Fix typos in Cairo region conversion so that Quartz actually compiles
2010-06-30 11:10:29 +02:00
Kristian Rietveld
53fbf2a30a
Update Quartz DnD code to set device on DnD events
2010-06-30 10:56:44 +02:00
Kristian Rietveld
03a313d2a9
Implement gdk_drag_context_{get,set}_device in Quartz backend
2010-06-30 10:56:44 +02:00
Benjamin Otte
95a1c31c18
configure: Bump required Cairo version to 1.9.10
2010-06-29 17:05:28 +02:00
Benjamin Otte
5a02283fbf
API: Remove all GdkRegion API
...
Remove the deprecated region APIs completely from GTK.
https://bugzilla.gnome.org/show_bug.cgi?id=613284
2010-06-29 16:06:58 +02:00
Benjamin Otte
6c5dffd1a3
examples: Port example to use cairo region API
...
https://bugzilla.gnome.org/show_bug.cgi?id=613284
2010-06-29 16:06:38 +02:00
Benjamin Otte
300e6b84cd
s/GdkRegion/cairo_region_t/ in all of gtk
...
https://bugzilla.gnome.org/show_bug.cgi?id=613284
2010-06-29 16:06:38 +02:00
Benjamin Otte
3e96cfe8fc
Deprecate the GdkRegion API
...
Includes fixing all callers to use the cairo region API instead. This is
usually just replacing the function names, the only difference is
gdk_region_get_rectangles() being replaced by
cairo_region_num_rectangles() and cairo_region_get_rectangle() which
required a bit more work.
https://bugzilla.gnome.org/show_bug.cgi?id=613284
2010-06-29 16:06:38 +02:00
Benjamin Otte
52200eee01
Remove _gdk_region_new_from_yxbanded_rects()
...
It was an internal function and we can use
cairo_region_create_rectangles() instead.
https://bugzilla.gnome.org/show_bug.cgi?id=613284
2010-06-29 16:06:38 +02:00
Benjamin Otte
78018767ba
Implement GdkRegion in terms of cairo_region_t
...
Only changes in headers: GdkRegion and GdkRectangle are typedeffed to
cairo_region_t and cairo_rectangle_int_t respectively. The region type
was opaque anyway so it doesn't matter and the rectangle types are
identical.
https://bugzilla.gnome.org/show_bug.cgi?id=613284
2010-06-29 16:06:38 +02:00
Matthias Clasen
b6cc7dbd21
Make sure we always include gdk-pixbuf in the gdk requires
...
This is needed since we include gdk-pixbuf.h in public gdk headers
2010-06-29 07:57:40 -04:00
Colin Walters
6aae994a66
Support NOCONFIGURE (from gnome-common)
...
gnome-common's autogen.sh uses NOCONFIGURE to skip running configure.
Support that in addition to the current AUTOGEN_SUBDIR_MODE.
2010-06-28 17:46:31 -04:00
Javier Jardón
b4ed51fd93
Remove XID_FONT_BIT
2010-06-28 23:38:03 +02:00
Javier Jardón
06e48c50a1
Remove GDK_GC_FONT
2010-06-28 23:38:03 +02:00
Christian Dywan
655dcff096
Remove deprecated GdkFont
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=604196
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-06-28 23:38:03 +02:00
Javier Jardón
34573b53f3
[GtkStyle] Remove deprecated GdkFont usage
2010-06-28 23:38:03 +02:00
Javier Jardón
c1affa4f3c
Remove deprecated code from X interaction
2010-06-28 23:38:03 +02:00
Javier Jardón
c3987f9ee2
[GdkGC] Remove deprecated GdkFont from GdkGCValues structure
2010-06-28 23:38:03 +02:00
Javier Jardón
418d84f311
[GtkFontSel] Remove GdkFont "font" deprecated property
2010-06-28 23:38:02 +02:00
Matthias Clasen
18132ecae5
Differentiate between stepper B and C in the detail string
2010-06-28 14:45:25 -04:00
Colin Walters
905f988166
Revert "Add length to gtk_tree_path_get_indices"
...
This reverts commit eebb16eb1a .
Was an accidental commit.
2010-06-28 14:15:10 -04:00
Colin Walters
17f8b5e581
GdkX11.gir depends on Gdk.gir
2010-06-28 13:50:57 -04:00
Colin Walters
eebb16eb1a
Add length to gtk_tree_path_get_indices
...
The old version wasn't introspectable as it didn't have a length
return parameter. Also, delete gtk_tree_path_get_indices_with_depth,
since it's no longer needed.
2010-06-28 13:50:36 -04:00
Matthias Clasen
289f3b1b2b
Avoid a stray 'yes' in configure output
...
The corresponding AC_MSG_CHECKING line got lost
2010-06-28 12:36:33 -04:00
Benjamin Otte
42abeadbb8
Can't select file on file browser after changing sort order
...
The row values are 1-indexed not 0-indexed, this has to be taken into
account when producing the new_order array.
https://bugzilla.gnome.org/show_bug.cgi?id=621414
2010-06-28 14:19:18 +02:00
Benjamin Otte
cd266cb8de
Make declaration return a boolean when the function does that
2010-06-28 14:19:18 +02:00
Benjamin Otte
14e0cbe2d3
Get rid of navigation region in GtkMenu
...
This completes the move to get rid of using a GdkRegion for the
navigation region and the only user of gdk_region_polygon(). We keep
track of the triangle and compute in/out points ourselves now.
Unfortunately the DRAW_STAYUP_TRIANGLES debugging code doesn't work
using cairo, so I removed it completely.
2010-06-28 14:19:18 +02:00
Benjamin Otte
7ad08f19aa
Create the navigation region without flipping
...
Gets rid of some code in preparation to switching to do the computation
completely without GdkRegion.
2010-06-28 14:19:18 +02:00
Yaron Shahrabani
9928158d41
Updated Hebrew translation.
2010-06-28 14:42:40 +03:00
Yaron Shahrabani
680c1d26e3
Updated Hebrew translation.
2010-06-28 13:42:58 +03:00
Tor Lillqvist
e545ed58ed
Drop a leftover reference to libgdk_pixbuf-3.0.la
2010-06-28 00:28:55 +03:00
Tor Lillqvist
f0e24348a0
We need to link gdk with the gio library for non-X11 backends
...
(For X11, we link with gio-unix which takes care of it.)
2010-06-28 00:20:44 +03:00
Tor Lillqvist
4aa75fcf43
Revert "Use wide character API in the Windows IME module"
...
Ha, pango_win32_font_logfontw hasn't been exported from libpangowin32
after all due to a typo. This will have to wait. And actually
libpangowin32 is supposed to be deprecated surely, so that
functionality should be moved to libpangocairo or something.
This reverts commit 804effba99 .
2010-06-27 23:44:14 +03:00
Tor Lillqvist
d7ceebda3f
Drop gdk-pixbuf files
2010-06-27 23:30:02 +03:00
Tor Lillqvist
804effba99
Use wide character API in the Windows IME module
2010-06-27 23:21:41 +03:00
Philip Withnall
d78cee6791
Add allow-none to gdk_window_set_cursor()
2010-06-27 19:19:39 +01:00
Jorge González
1c14997df2
Updated Spanish translation
2010-06-27 13:10:13 +02:00
Emmanuele Bassi
5789ea35cc
Do not return values from a function returning void
2010-06-27 11:28:44 +01:00
Kristian Rietveld
7f2e4c38a9
Move Leopard-specific type definitions to gdkquartz.h
...
Update includes subsequently where it matters. Fixes build on Mac OS
X 10.4.
(cherry picked from commit e634f3fbe0 )
2010-06-27 11:00:42 +02:00
Kristian Rietveld
64f11c366a
Refactor to use API that's available in OS X 10.4 as well
...
(cherry picked from commit 3770d914ec )
2010-06-27 11:00:31 +02:00
John Ralls
98d47b57bf
Bug 622333 - Crash in gdk_window_impl_quartz_begin_paint_region
...
(cherry picked from commit 093a867e51 )
2010-06-27 11:00:20 +02:00
Kristian Rietveld
019ccc686d
Flip clip mask image when setting clip mask on GC
...
(cherry picked from commit 9f5f47f8be )
2010-06-27 11:00:09 +02:00
Kristian Rietveld
88cae1769b
Rework color translation to support gray scale and bitmaps
...
(cherry picked from commit 49f72c1fb4 )
2010-06-27 10:59:46 +02:00
Kristian Rietveld
18b233fe2a
Add gray visual, implement "get_best" functions
...
(cherry picked from commit 42d07ad6ce )
2010-06-27 10:59:11 +02:00
Matthias Clasen
2326d76efa
bump version
2010-06-27 00:15:06 -04:00
Matthias Clasen
92efbf2302
Update po files after the gdk-pixbuf removal
2010-06-26 23:22:43 -04:00
Matthias Clasen
45f6bbb56f
Updates
2010-06-26 23:16:36 -04:00
Matthias Clasen
12cdd1e33b
Use SED instead of sed
2010-06-26 23:02:08 -04:00
Matthias Clasen
48a5b4ee97
Misc documentation fixes
2010-06-26 23:00:47 -04:00
Matthias Clasen
0ef0b9c68b
Use GREP, not grep
...
As reported in bug 621927
2010-06-26 22:35:56 -04:00
Matthias Clasen
ac18bc7cb1
Update for the new, external gdk-pixbuf
2010-06-26 21:56:03 -04:00
Matthias Clasen
75b9f68338
don't build testapplication on OS X
...
See bug 622827
2010-06-26 21:41:58 -04:00
Matthias Clasen
8a590711da
Remove stray references to gtk-2.0
2010-06-26 21:40:55 -04:00
Matthias Clasen
89e67b8ec2
Remove gdk-pixbuf pc files
...
Noticed in bug 622847.
2010-06-26 21:29:21 -04:00
Mirsal Ennaime
23a61525f6
Add an accessor for the GSEALed Gtkbutton's event_window attribute
...
* Add the gtk_button_get_event_window() function
Closes: bgo#622581
2010-06-26 21:22:02 -04:00
Matthias Clasen
e73a2e5654
Add context to detail strings when drawing steppers
...
As usual, this is protected by a style property:
GtkRange::stepper-position-details
The detail strings are
<detail>_start, <detail>_end and <detail>_middle.
See bug 621250
2010-06-26 21:04:31 -04:00
Matthias Clasen
53796b7f1f
Add an accessor for GdkImage->mem
...
See bug # 522756
2010-06-26 16:48:06 -04:00
Matthias Clasen
67cd929267
Remove deprecated notebook api
2010-06-26 16:29:43 -04:00
Ignacio Casal Quinteiro
4601ad2352
Fix GtkTextBuffer annotations.
2010-06-26 20:47:42 +02:00
Khaled Hosny
5aaec9d7e0
Updated Arabic translation
2010-06-26 21:39:02 +03:00
Matthias Clasen
cc5500ad85
Remove pure gdk-pixbuf tests
...
These have been moved over to the gdk-pixbuf module.
2010-06-26 01:09:05 -04:00
Matthias Clasen
16ecf55832
Make GTK+ use an external gdk-pixbuf
2010-06-26 01:09:05 -04:00
John Ralls
d722adb76a
[quartz] Delete the typedef of GdkDevicePrivate
...
It's in gdkdevice.h now.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=622765
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-06-26 00:23:32 +02:00
Javier Jardón
ef25dba303
[docs] Remove deprecated gdk_draw_bitmap() and gdk_draw_pixmap()
...
This completes commit 947cde30d9
2010-06-25 18:18:30 +02:00
Tristan Van Berkom
17516dc83c
Exposed GtkTreeView's internal GtkTreeSelection for builder files
2010-06-25 12:15:49 -04:00
Colin Walters
d986066cb5
Add --add-include-path to find just-built .gir files
2010-06-25 12:14:12 -04:00
Javier Jardón
947cde30d9
Remove gdk_draw_bitmap() and gdk_draw_pixmap() functions
2010-06-25 02:32:44 +02:00
Matthias Clasen
92befe0c06
Mention pot file update in the release howto
2010-06-24 13:15:52 -04:00
Javier Jardón
d35e4848a2
[docs] Fix annotations: "(allow-none): (out)" -> "(out) (allow-none)"
2010-06-24 18:10:03 +02:00
Javier Jardón
71e69e4701
[GtkTable] Add gtk_table_get_size()
...
Add accessor function to retrieve the number of rows and columns
in the table.
2010-06-24 17:46:12 +02:00
Matthias Clasen
9bf7f99a17
Make gtk_window_group_get_current_grab public
...
See bug #620832 .
2010-06-24 11:16:09 -04:00
Matthias Clasen
f010eeb7d3
Make the message area available in gtkbuilder as well
...
See bug 32069.
2010-06-24 09:37:14 -04:00
Ignacio Casal Quinteiro
7e3e2bf29a
Fix annotation of gtk_text_iter_(forward/backward)_search.
2010-06-24 11:11:02 +02:00
Marek Kasik
998459afb7
Don't handle CUPS' "connecting-to-device" state reason
...
CUPS backend shouldn't handle "connecting-to-device" state reason.
It shows "Printer '%s' may not be connected" for this state,
which is not true in almost all cases. Better is to use
"printer-state-message" which contains correct message (#622011 ).
2010-06-24 09:27:16 +02:00
Matthias Clasen
686294cb3b
Add an expander-in-dialog example
...
To show how I expect this kind of construction to work, makes it
easier to find the code the next time I need it somewhere.
2010-06-24 00:35:24 -04:00
Matthias Clasen
32925cd579
Turn on GSEAL_ENABLE by default
...
We do this by adding -DGSEAL_ENABLE to the Cflags in the .pc files,
so you can get out of it by adding -UGSEAL_ENABLE after the pkg-config
generated flags.
2010-06-23 23:19:58 -04:00
Carlos Garnacho
604beadbcd
testinput: Do not use deprecated API.
2010-06-24 02:30:54 +02:00
Carlos Garnacho
882fdfab78
GtkWidget: ensure device events are set on realize.
...
https://bugzilla.gnome.org/show_bug.cgi?id=621690
2010-06-24 02:30:54 +02:00
Carlos Garnacho
9c4657fb73
GtkWindow: Use client pointer on pointer-dependent positioning.
...
GTK_WIN_POS_MOUSE and GTK_WIN_POS_CENTER* now work relatively to the client
pointer.
2010-06-24 02:30:54 +02:00
Carlos Garnacho
928e2a5780
GtkDnD: Use client pointer if no event is available.
2010-06-24 02:30:53 +02:00
Carlos Garnacho
6cde835acd
GdkDeviceManager: Add gdk_device_manager_get_client_pointer().
...
This function makes a better replacement for
gdk_display_get_core_pointer(), wherever it might yet be needed, for
XI2 resorts to XIGetClientPointer(), for the others return the only
core pointer.
https://bugzilla.gnome.org/show_bug.cgi?id=621685
2010-06-24 02:30:53 +02:00
Javier Jardón
009e26f32f
[gtk-example-application] Use the new api
2010-06-24 02:02:10 +02:00
Javier Jardón
1569f722cd
[testapplication] Fix some compilation warnings
2010-06-24 01:51:33 +02:00
Javier Jardón
dcfdbc4ca6
[gailprogressbar] Remove unused variables
2010-06-24 01:42:14 +02:00
Javier Jardón
a7041e9c40
[testinput] Fix compilation warning: Use guint instead int
2010-06-24 01:39:24 +02:00
Javier Jardón
c6650bfa01
[gdkim] Remove unused function
2010-06-24 01:37:29 +02:00
Javier Jardón
7ea1556cd0
Remove unnused variable
2010-06-24 01:32:23 +02:00
Javier Jardón
79350fcd8a
Fix warning: should pass gboolean*, not gboolean**
2010-06-24 01:31:01 +02:00
Fran Diéguez
208c82c809
Updated Galician translations
2010-06-24 01:00:49 +02:00
Tristan Van Berkom
55f8b4742f
Fixing debug build (s/extended layout/size request/ in GTK_NOTE flags).
2010-06-23 18:09:29 -04:00
Paolo Borelli
d17fbd06cb
Do not leak devices list in do_focus_change
2010-06-23 12:43:49 +02:00
noch
d33d31446e
Added Armenian translation - po file.
2010-06-23 14:51:41 +05:00
noch
eb1913d145
Modified Armenian translation - po file.
2010-06-23 14:51:41 +05:00
noch
0124dd0b8f
Added Armenian translation - po file. Modified LINGUAS.
2010-06-23 14:51:41 +05:00
Javier Jardón
cb21d4473e
[gtk] Add gtk_font_selection_dialog_get_font_selection()
...
This is needed to access the fontsel sealed member.
2010-06-23 01:28:51 +02:00
Javier Jardón
626240b0fe
[test] Exclude message-area as it's a object property
2010-06-22 22:26:18 +02:00
Javier Jardón
a681c37604
Add new api to gtk.symbols
...
Add newly added api gtk_accessible_set_widget() and
gtk_message_dialog_get_message_area()
2010-06-22 21:52:01 +02:00
Jorge González
1801a65a84
Updated Spanish translation
2010-06-22 21:15:38 +02:00
Javier Jardón
3c46d9acbc
[gtkaccessible] Use the correct guards in gtk_accessible_set_widget()
...
Also, allow the widget variable to be NULL
2010-06-22 21:12:53 +02:00
Tor Lillqvist
adf1bbe28a
Generate correct grab broken event for WM_KILLFOCUS
...
WM_KILLFOCUS means that a keyboard grab (not a pointer grab), if any,
has been broken. I don't think this bug has matterd much as gtk
generates a grab-broken-event signal for both keybord and pointer
grabs being broken anyway.
2010-06-22 21:33:49 +03:00
Federico Mena Quintero
9b9bb4c6e8
bgo#328069 - Add gtk_message_dialog_get_message_area()
...
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2010-06-22 13:13:44 -05:00
Vincent Untz
abfc6f8f07
bgo#622371 - Add gtk_accessible_set_widget() - the widget field was GSEAL()ed.
...
https://bugzilla.gnome.org/show_bug.cgi?id=622371
2010-06-22 12:14:38 -05:00
Chris Kühl
078da34a26
[docs] Fixes issue with GtkEntryBuffer signal documentation
2010-06-21 19:59:06 +02:00
Murray Cumming
d927df0c3d
gtkenums.h: Remove trailing comma to fix warning.
2010-06-21 15:21:44 +02:00
Klemen Košir
a090f331b9
Updated Slovenian translation
2010-06-20 11:40:58 +02:00
Javier Jardón
d47e63856b
Do not distribute GIRs
2010-06-20 08:20:42 +02:00
Javier Jardón
f96be1ab10
[gdkpango] Fix typo
2010-06-20 01:14:17 +02:00
Javier Jardón
d5d7fd9f51
Remove unused gtk_style_get_font_internal() function
...
This function is no longer necesary as draw_string() function
was dropped from GtkStyle
See commit 5300dc2b36
2010-06-20 00:50:52 +02:00
Javier Jardón
349f8c561d
Remove gdk_input_* callbacks on file descriptors deprecated functions
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=619687
2010-06-20 00:46:38 +02:00
Javier Jardón
3c8a54b2f7
Remove GdkWChar deprecated code
2010-06-20 00:22:26 +02:00
Javier Jardón
ca046f0cfb
Remove deprecated gdk_text_* and gdk_string_* functions
...
Remove gdk_string_extents(), gdk_text_extents(),
gdk_text_extents_wc(), gdk_string_width(), gdk_text_width(),
gdk_text_width_wc(), gdk_string_measure(), gdk_text_measure(),
gdk_string_height(), gdk_text_height()
2010-06-20 00:22:26 +02:00
Javier Jardón
0de0914021
Remove gdk_char_* deprecated functions
...
Remove gdk_char_width(), gdk_char_width_wc(), gdk_char_measure()
and gdk_char_height()
2010-06-20 00:21:51 +02:00
Javier Jardón
4cf4470fcd
Remove deprecated GdkDrawable functions
...
Remove gdk_drawable_get_data(), gdk_drawable_set_data(),
gdk_drawable_ref(), gdk_drawable_unref(),
gdk_draw_string(), gdk_draw_text(), gdk_draw_text_wc()
2010-06-19 21:39:22 +02:00
Matthias Clasen
2a2843c041
Prevent concurrent use of GTK+ 2 and 3
...
If we detect a gtk2-only symbol, error out early.
2010-06-18 22:27:26 -04:00
Matthias Clasen
32dd5882a0
Fix make check
2010-06-18 21:58:36 -04:00
Matthias Clasen
91268713a0
A forgotten rename
2010-06-18 21:58:19 -04:00
Emmanuele Bassi
b98667d41e
application: Remove a variable and silence a compiler warning
2010-06-18 14:26:57 +01:00
Emmanuele Bassi
2755b93913
application: Revert the leak plug
...
The &s in the signature of a GVariant means "pass me a pointer". To
avoid repeating the same mistake, use a const gchar* to declare the
key.
2010-06-18 14:26:05 +01:00
Emmanuele Bassi
3e1b82336c
application: Plug a leak
...
The key returned by g_variant_iter_next() should be freed as well.
Also, clean up the coding style a bit.
2010-06-18 12:06:39 +01:00
Tristan Van Berkom
5f4309be96
Fixed some typos in new docs that are about GtkSizeRequest (not GtkSizeGroup)
2010-06-18 00:32:09 -04:00
Tristan Van Berkom
4e23171803
Removed extendedlayoutexample.c (was a failed git mv --> testheightforwidth.c)
2010-06-18 00:12:55 -04:00
Tristan Van Berkom
edd57602b8
Mass api change from GtkExtendedLayout --> GtkSizeRequest
...
This commit makes a few massive changes to the extended layout
code:
a.) gtkextendedlayout.c --> gtksizerequest.c
b.) _is_height_for_width --> get_request_mode()
c.) get_desired_size(), get_desired_width(), get_desired_height() -->
get_size(), get_width(), get_height()
This is the first partial commit and only effects portions
of the tree that have already been merged in master (in order to
easily cherry pick this commit).
Conflicts:
gtk/Makefile.am
gtk/gtk.h
gtk/gtk.symbols
gtk/gtkextendedlayout.h
2010-06-18 00:11:26 -04:00
Matthias Clasen
cf75457faa
Bump version
2010-06-17 21:09:50 -04:00
Matthias Clasen
aab1a96d46
Updates
2010-06-17 20:06:41 -04:00
Christian Persch
9d0b941da6
application: Fix marshaler for GVariant gtype change
...
Use VARIANT instead of BOXED.
2010-06-18 00:25:06 +02:00
Stanislas Marquis
a14c820aa9
[docs] Fix gtk_tree_sortable_set_sort_column_id()
...
@sortable => @sort_column_id
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-06-17 18:22:54 +02:00
Matthias Clasen
9eef134efb
Bump glib requirement
2010-06-17 11:57:02 -04:00
Javier Jardón
d581c619db
[docs/gtk-faq] Close <para> tag
2010-06-17 17:43:32 +02:00
Emmanuele Bassi
4f357dbf95
application: Allow sub-classes to override the Window creation
...
Sub-classes of GtkApplication might want to override the way an
application window is created - for instance, to hook into GtkBuilder
or to set up some basic UI or state.
A new GtkApplication::create_window() virtual function is added to the
GtkApplicationClass vtable, which returns the newly created GtkWindow.
The gtk_application_create_window() function calls the vfunc and adds
the returned window to the list of windows managed by the application
instance.
Calling gtk_application_add_window() will also set the default window,
if one is not already set.
This commit also removes a spurious g_object_ref_sink() on the newly
created GtkWindow.
2010-06-17 15:41:12 +01:00
Javier Jardón
b74fb44c11
gail: do not use removed GTK_WIDGET_*SET macros
...
In the absence of new API to port to, left the code commented
with a /* FIXME */ state, for somebody with better gail knowledge
to fix.
2010-06-16 20:41:05 +02:00
Javier Jardón
2747f9d84d
Deprecate GTK_OBJECT_FLAGS() and GtkObjectFlags enum
...
This macro will be moved to a private header in GTK+3.
https://bugzilla.gnome.org/show_bug.cgi?id=615666
2010-06-16 20:36:30 +02:00
Javier Jardón
318fa1e179
[gtk/gtkmenu] Emit an "attach-widget" event in gtk_menu_attach_to_widget()
...
Reported by ageorge@datasys.net in bug
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=621683
2010-06-16 20:18:39 +02:00
Javier Jardón
36c669aaca
[docs] Fix missing comma in gtkrc docs
...
Reported by Alexander Saprykin in bug
https://bugzilla.gnome.org/show_bug.cgi?id=621775
2010-06-16 19:51:04 +02:00
Stanislas Marquis
972e75e8b0
[docs] Add 'Since: 2.16' tag to GtkEntryIconPosition
...
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-06-16 19:42:24 +02:00
Colin Walters
bdaefd7efe
[GtkApplication] Update for GApplication API changes
...
Move appid parameter first to match GApplication.
2010-06-16 11:02:39 -04:00
Carlos Garnacho
c5a4bd0578
GtkMenuShell: Store device on GTK+ device grab.
...
gtk_menu_shell_deactivate() needs to know the device to end the
GTK+ grab.
2010-06-16 15:04:27 +02:00
Carlos Garnacho
404f4c5d40
GtkMenuShell: take a single device for grabs.
...
The other device will always be the associated device.
2010-06-16 15:04:27 +02:00
Jorge González
dfc9c87a46
Updated Spanish translation
2010-06-16 06:02:53 +02:00
Carlos Garnacho
4c3a829bb6
configure.ac: Fix build if no XInput libraries are available.
2010-06-15 23:28:49 +02:00
Carlos Garnacho
cd76d995eb
gdk_event_get_device(): Fallback to core pointer/keyboard.
...
Events could be injected by third party code, which could not have a
GdkDevice set for newer GdkEvent types holding a GdkDevice. This
function will now fallback to core pointer/keyboard, plus issuing
a warning about the problem.
2010-06-15 21:06:11 +02:00
Carlos Garnacho
385f83ff4a
GtkTextView: Scroll on the pointer doing DnD.
2010-06-15 21:06:11 +02:00
Carlos Garnacho
8c957ef3ef
GtkWidget: Undef GDK_DISABLE_DEPRECATED
...
This is needed for gdk_input_set_extension_events(), used by its GTK+
counterpart.
2010-06-15 21:06:10 +02:00
Carlos Garnacho
ed3198146c
GdkDeviceManagerXI2: Make focus events contain a GdkDevice.
2010-06-15 21:06:10 +02:00
Carlos Garnacho
07b1a2e081
GdkDeviceManagerCore: protect against xevent->xany.window not being a GdkWindow.
...
Conceivably this GdkEventTranslator may still be asked for events such as
NoExpose or GraphicsExpose for pixmaps. It is not meant to translate such events,
but should at least behave with them.
2010-06-15 21:06:10 +02:00
Tristan Van Berkom
1b2e9124f0
Fixed negative allocations from gtk_box_size_allocate()
...
Fixed the allocation loop to check if it was allocated at least
enough space to hold its visible children before going and distributing
extra space among children. Fixes bgo #617444 .
2010-06-15 14:27:12 -04:00
Carlos Garnacho
b238c0124a
Make GTK+ device grabs take precedence over GTK+ grabs
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=620440 (Reported by
Marek Kašík), where the print dialog modality would impair the pop-up
window from getting events. Device GTK+ grabs gain in specificness.
2010-06-15 19:39:59 +02:00
Javier Jardón
f62e000be4
Use a GPid on gdk_spawn_on_screen[_with_pipes]. Take 2
...
Really fixes
https://bugzilla.gnome.org/show_bug.cgi?id=602289
2010-06-15 17:16:43 +02:00
Javier Jardón
2e4ba929ba
[docs] Make GtkUIManager signal documentation more consistent
...
Reported by Alexander Saprykin in bug
https://bugzilla.gnome.org/show_bug.cgi?id=621631
2010-06-15 15:29:59 +02:00
Matthias Clasen
294f810021
Docmentation improvements
...
Don't mention removed _defaults functions in the docs, also try
to clarify the situation around fill and expand defaults.
2010-06-15 01:23:30 -04:00
Thomas Wood
e19c50b538
GtkCalendar: some functions always return TRUE, so change them to void
...
Certain functions for GtkCalendar always return the same value. Therefore
they do not actually need to return a value at all.
Bug #621136 .
2010-06-15 00:00:40 -04:00
Matthias Clasen
e9fc660d7e
Add a variant of gtk_icon_theme_load_symbolic that takes a style
...
As proposed by Owen in bug 621578 to reduce code duplication.
2010-06-14 23:46:46 -04:00
Matthias Clasen
d53b0c200d
Remove some useless defines
2010-06-14 17:23:07 -04:00
Martin Schlemmer
213994b565
win32: Avoid type warning for offscreen windows in xp theme
...
See bug #598299
2010-06-14 20:57:22 +02:00
Colin Walters
6c71da01cc
[GtkApplication] Update for GApplication API changes
...
We now implement "quit" and "action" signals here.
https://bugzilla.gnome.org/show_bug.cgi?id=621003
2010-06-14 18:30:51 -04:00
Paolo Borelli
cf14d4f368
Annotate the methods to get TextBuffer iters
2010-06-14 19:04:47 +02:00
Claudio Saavedra
ef6ef84221
Fix typo in docs for GtkFileChooser
...
Reported by Martin Olsson in
https://bugzilla.gnome.org/show_bug.cgi?id=621479
2010-06-14 17:46:09 +03:00
Kjartan Maraas
e044efdbd2
Updated Norwegian bokmål translation
2010-06-13 23:18:03 +02:00
Fran Diéguez
d4bccb7029
Updated Galician translations
2010-06-13 18:06:27 +02:00
Fran Diéguez
86940de734
Updated Galician translations
2010-06-12 18:57:37 +02:00
Paolo Borelli
230f47224b
Fix the build broken in previous commit
2010-06-12 12:54:04 +02:00
Martin Schlemmer
4696e94138
win32: Fix the xp there to correctly clip when drawing
...
This makes the xp theme work again, and also enables it.
2010-06-11 20:20:07 +02:00
John (J5) Palmieri
76db7d69f1
annotate gtk_color_selection_get_current_color color param as out
2010-06-10 14:53:12 -04:00
Cosimo Cecchi
4467145e43
Add a missing accessor for GdkDragContext->source_window.
2010-06-10 16:04:28 +02:00
Michael Natterer
61aa2af23d
gdk: fix typo in the docs for gdk_drag_context_get_selected_action()
...
(cherry picked from commit e494ec1d61 )
2010-06-10 13:16:25 +02:00
Javier Jardón
71c501d895
Use a GPid on gdk_spawn_on_screen[_with_pipes] instead a gint
...
Reported by Nick Schermer in bug
https://bugzilla.gnome.org/show_bug.cgi?id=602289
2010-06-10 03:52:35 +02:00
Javier Jardón
785027751a
constify gtk_init_with_args()'s GOptionEntry argument
...
Reported by Nick Schermer in bug
https://bugzilla.gnome.org/show_bug.cgi?id=621111
2010-06-10 03:51:51 +02:00
Stanislas Marquis
09fe6e7d44
[docs] GdkPixmap fix: gdk_pixmap_draw() does not exist.
...
Using gdk_draw_drawable() instead.
2010-06-10 02:21:13 +02:00
Javier Jardón
e902786017
[docs] Saturation is the intensity of the color, not the "deepness"
...
Reported by Seán de Búrca in bug
https://bugzilla.gnome.org/show_bug.cgi?id=466475
2010-06-09 20:02:31 +02:00
Cosimo Cecchi
4f66b8e37c
Add an accessor for GtkViewport->view_window ( #621081 ).
2010-06-09 18:22:35 +02:00
Tor Lillqvist
9b2ffc4b80
One more s/2.0/3.0
2010-06-09 13:54:43 +03:00
Tor Lillqvist
f772f3a1bb
Use correct libgdkincludedir in gdk/win32 too
...
Thanks to Hib Eris.
2010-06-09 12:34:01 +03:00
Richard Hughes
707535434c
Fix distcheck by removing references to gtk/gtkprogress.c
2010-06-09 09:29:50 +01:00
Tor Lillqvist
eb1233d11b
Fix build breakage on non-Unix
...
gdesktopappinfo.h does is in gio-unix headers, so can compile
testapplication only on Unix.
2010-06-09 11:10:22 +03:00
Tor Lillqvist
cd23f1e080
Fix build breakage on non-X11
...
AM_CONDITIONALs need to be seen in all code paths. The one for
XINPUT_NONE was only in the X11 if branch. But as that Automake
confitional wasn't used in any Makefile.am anyway, just drop the
AM_CONDITIONAL.
2010-06-09 10:52:11 +03:00
Javier Jardón
b618ca8923
[docs] Added some missing documentation to GdkDnd
...
The docs was removed by error in commit
9399114802
2010-06-09 06:39:02 +02:00
Matthias Clasen
5e0dfed135
Get rid of GtkProgress
...
The entire api was deprecated since 2.0. This patch detangles
GtkProgress from GtkProgressBar and moves all the pieces into
GtkProgressBar that are required for non-deprecated progressbar
functionality.
Bug #620618
2010-06-09 00:35:09 -04:00
Matthias Clasen
882660e13d
Bump version
2010-06-09 00:35:09 -04:00
Javier Jardón
9ad9c193ea
[docs] Added some GtkIconView missing documentation
...
Document GtkIconViewDropPosition and GtkIconViewForeachFunc.
The docs was removed by error in commit
e17b9f282f
2010-06-09 06:25:28 +02:00
Javier Jardón
ee483ec328
[docs] .gitignore some template files
2010-06-09 06:25:28 +02:00
Matthias Clasen
9399114802
Remove one more gtk-doc template
2010-06-08 21:10:15 -04:00
Matthias Clasen
897cf634c3
Don't call update-po in make dist
...
This is causing the bulk of the conflicts I have during distcheck,
and is not really necessary.
2010-06-08 19:48:15 -04:00
Matthias Clasen
e17b9f282f
Get rid of templates that gtk-doc touches during distcheck
...
In an attempt to make distcheck not touch any files under source
control.
2010-06-08 19:48:15 -04:00
Steve Frécinaux
8147019930
[gtkwidget] Add type annotations for the event signals.
2010-06-08 22:37:55 +02:00
Matthias Clasen
59108b5d98
Move docs inline
2010-06-08 15:37:52 -04:00
Matthias Clasen
4bf5a171e2
Distcheck fixes
2010-06-08 15:37:52 -04:00
Matthias Clasen
34deb14eff
Fix !srcdir build
2010-06-08 15:37:52 -04:00
Michael Natterer
bffd85c2b7
gail: don't use removed GtkTooltips API
...
In the absence of new API to port to, left the code in a useless
if(FALSE /* FIXME */) state, for somebody with better gail knowledge
to fix.
2010-06-08 21:29:52 +02:00
Seán de Búrca
9959986ecd
Updated Irish translation
2010-06-08 12:35:54 -06:00
Federico Mena Quintero
2f990d4726
bgo#608537 - Make the file chooser's sort arrows consistent with the HIG
...
... Although I think the HIG gets things backwards anyway.
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2010-06-08 12:09:48 -05:00
Matthias Clasen
4603196287
Updates
2010-06-08 12:03:09 -04:00
Matthias Clasen
2d9b7335bf
Bump the gobject-introspection requires
2010-06-08 10:27:53 -04:00
Richard Hughes
b32ef72ea5
Get one step closer to fixing the gobject-introspection compile failure
2010-06-08 14:07:46 +01:00
Matthias Clasen
79b161f709
Use gtk_action_group_get_action when looking up actions
...
...instead of open-coding it. Pointed out by Christian Persch
in bug 620960
2010-06-08 09:03:07 -04:00
Matthias Clasen
cca298ad7d
Remove debug spew
2010-06-08 08:58:16 -04:00
Matthias Clasen
b366ae9c22
Update to GApplication api changes
2010-06-08 08:29:01 -04:00
John (J5) Palmieri
0491b409a9
add transfer-none to return value of gtk_widget_get_window
2010-06-07 18:21:21 -04:00
Steve Frécinaux
586d60dbee
[gdkevents] Add annotations for GdkEvent getters.
2010-06-08 00:00:28 +02:00
Steve Frécinaux
046069d918
[gtktextbuffer] Annotate gtk_text_buffer_create_mark()
...
Add (transfer none) to the return value of gtk_text_buffer_create_mark(),
as the documentation clearly states the caller doesn't have ownership of
the returned value.
2010-06-08 00:00:28 +02:00
Matthias Clasen
1ae257d00a
Add GtkApplication
...
This is a work in progress to stub out an application class. The
primary goal is to provide a mechanism for applications to export
GtkActions, and there is a standard "Quit" action.
This is based on GApplication.
Future work:
* Add a way to say "This is my application menubar", which gets
put into all toplevel windows on non-OS-X, and into the top
on OS X.
* Support session management.
* Support application settings.
https://bugzilla.gnome.org/show_bug.cgi?id=127958
2010-06-07 16:46:30 -04:00
John (J5) Palmieri
2c5871479e
annotate allow-none for gtk_image_menu_item_new_from_stock accel_group param
2010-06-07 16:15:39 -04:00
John (J5) Palmieri
0d2366d5eb
add allow-none annotation to gtk_clipboard_set_can_store's targets parameter
2010-06-07 13:15:27 -04:00
Marek Kasik
ca6aacc32d
Return error instead of showing an error dialog when printing
...
Remove message dialogs showing an error when printing. Return
GTK_PRINT_OPERATION_RESULT_ERROR and set error in such a case.
Also return GTK_PRINT_OPERATION_RESULT_CANCEL when cancelled.
Do it for synchronous and asynchronous cases (#549127 ).
2010-06-07 14:52:38 +02:00
Tomeu Vizoso
42deb581f9
Split gdk x11 funcs to their own typelib
...
https://bugzilla.gnome.org/show_bug.cgi?id=617863
2010-06-07 14:06:21 +02:00
Sven Herzberg
5300dc2b36
drop the draw_string() function from GtkStyle
...
Reviewed by Michael Natterer.
* gtk/gtkstyle.c,
* gtk/gtkstyle.h: gdk_draw_string() has been deprecated and removed
already. There's no one left who should be using this function
(found this when porting sapwood to GTK+ 3.0)
* modules/engines/pixbuf/pixbuf-draw.c: don't implement this unused
function
2010-06-07 13:56:10 +02:00
Matthias Clasen
7644ac519a
Fix up abi checking
...
The abicheck script was hardcoding assumptions about XI2 being used,
making it fail on e.g. RHEL5.
2010-06-07 06:16:21 -04:00
Javier Jardón
da8643e457
Remove some GTK_DISABLE_DEPRECATED and ENABLE_BROKEN guards
2010-06-07 04:50:05 +02:00
Javier Jardón
47f8beb0a6
Remove gdkx_colormap_get() deprecated function
2010-06-07 04:37:06 +02:00
Matthias Clasen
25864cf0ce
Make gdk build against old X headers
...
The XI.h in RHEL5 is missing some defines that are used
in the new device code.
2010-06-06 19:40:20 -04:00
Javier Jardón
2ace397eb5
Remove deprecatedd code from GdkColor
...
https://bugzilla.gnome.org/show_bug.cgi?id=619649
2010-06-07 00:35:40 +02:00
Kristjan Schmidt
a18f23c478
Updated Esperanto translation
2010-06-06 21:23:45 +02:00
Kristjan Schmidt
38abc03af4
Updated Esperanto translation
2010-06-06 21:23:45 +02:00
Kristjan Schmidt
98f3226fb7
Updated Esperanto translation
2010-06-06 21:23:45 +02:00
Javier Jardón
917cd2ce3e
Bump Glib required version as is needed by g_source_set_name()
...
The use of this new api was added in
95bc0f5405
2010-06-05 04:38:40 +02:00
Christian Dywan
35be520983
Make progressbars render progress again
...
This was broken during some earlier deprecation cleanup.
Bug 620509.
2010-06-04 20:03:19 -04:00
Matthias Clasen
db21688908
Remove remaining single-include guards
2010-06-04 19:40:43 -04:00
Matthias Clasen
9f873fa7bc
Don't install private headers
2010-06-04 19:28:01 -04:00
Stanislas Marquis
fe8d093a3c
[docs] Fix GtkWindow: activate-default => activate-focus.
...
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-06-05 00:45:37 +02:00
Matthias Clasen
233388e693
Fix a parameter name mismatch
2010-06-04 16:15:58 -04:00
Matthias Clasen
14118a5697
Add a few missing symbols
2010-06-04 16:14:52 -04:00
Matthias Clasen
dbe82e0e83
Fix a doc comment typo
2010-06-04 16:13:34 -04:00
Javier Jardón
a277789270
[docs] gtktoolshell: Fix some "Since" tags
...
get_ellipsize_mode(), get_text_alignment(), get_text_orientation()
and get_text_size_group() were added in GTK+ 2.20, not 2.14.
Reported by Stanislas Marquis on IRC.
2010-06-04 17:54:56 +02:00
Colin Walters
95bc0f5405
Use g_source_set_name for all custom GSources in GTK+
...
Naming the sources allows easier debugging with e.g. SystemTap
probes.
https://bugzilla.gnome.org/show_bug.cgi?id=620511
2010-06-03 21:49:22 -04:00
Matthias Clasen
b96a05b81f
Silence a few warnings in !HAVE_RANDR builds
2010-06-03 20:24:54 -04:00
Tadej Borovšak
2c8e635a62
[docs] Improve GtkAction documentation
...
Simple GtkAction API docs update that makes it easier to understand
how action affects the appearance of proxy.
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-06-04 00:06:05 +02:00
Matthew Barnes
bb5c585777
Bug 596428 - GtkAssistant: Support ending with a progress page
...
- Add gtk_assistant_commit()
This function discards the visited pages list so the back button is not
shown on the current page, and removes the cancel button from subsequent
pages. Use this when information provided thus far cannot be revisited.
- Don't show the Forward button on a GTK_ASSISTANT_PAGE_PROGRESS if it's
the last page (according to the forward page function).
- Append a progress page to the GtkAssistant demo.
2010-06-03 17:03:14 -04:00
Matthias Clasen
112d97d498
Silence a few configure warnings about datarootdir
2010-06-03 13:38:15 -04:00
Matthias Clasen
354086bafc
Fix a typo
2010-06-03 13:36:09 -04:00
Matthias Clasen
974d7137a0
Avoid a 'EXTRA_DIST multiply defined' warning
2010-06-03 13:22:31 -04:00
Seán de Búrca
dd4251909b
Updated Irish translation
2010-06-03 08:11:06 -06:00
Seán de Búrca
75d1de2d3b
Updated Irish translation
2010-06-03 08:04:59 -06:00
Marek Kasik
f8ac123192
Test connection to all given addresses when printing
...
Go to the next address given by CUPS if we fail to connect to
previous address (#603637 ).
2010-06-03 10:13:17 +02:00
Matthias Clasen
9fbfbda8cc
Remove indices for 2.x additions
2010-06-03 01:23:13 -04:00
Matthias Clasen
1b53565bf9
GtkSeparator is no instantiatable
2010-06-03 01:21:18 -04:00
Matthias Clasen
700196f71e
Update documentation for orientables
...
Don't document these as abstract anymore, since they are now
instantiatable.
2010-06-03 01:18:42 -04:00
Matthias Clasen
d93b99a273
Remove old migration docs
...
This information will still be available in the 2.22 docs.
For 3.0, we'll do sortof a clean start.
2010-06-03 01:09:53 -04:00
Matthias Clasen
6a8a2f7ef3
Remove docs about 1.2 <> 2.0 differences
...
These should not be kept in 3.0.
Noticed by Dan Winship in bug #619838 .
2010-06-02 19:59:41 -04:00
Matthias Clasen
ee0d695a91
Fix a doc typo
...
See bug #620244
2010-06-02 19:56:47 -04:00
Michael Natterer
2b89d46a9a
app: forgot to update API docs in the last commit
...
(cherry picked from commit 22c61e0c8f )
2010-06-02 21:12:40 +02:00
Michael Natterer
19236d68d9
gdk: rename gdk_drag_context_get_action() to gdk_drag_context_get_selected_action()
...
so its purpose is clear.
(cherry picked from commit d393cb377c )
2010-06-02 20:45:31 +02:00
Garrett Regier
2e4a066cd0
Bug 611709 - Add gtk_statusbar_remove_all
2010-06-02 17:50:28 +02:00
Cody Russell
8e142788a5
Bug 608218 - GtkOffscreenWindow causes bad window with GtkEntry
...
We now exit early from gdk_window_register_dnd() to avoid crashing if the
window type is GDK_WINDOW_OFFSCREEN and does not support dnd operations.
This makes it possible to use any dnd-enabled widgets, such as GtkEntry,
within a GtkOffscreenWindow.
2010-06-01 10:32:18 -05:00
Johan Dahlin
5c283cacbe
[gtktreeview] Add a couple of annotations
2010-05-31 12:12:06 -03:00
Matthias Clasen
c557f7b7c4
Improved icon view keynav
...
Use ::keynav-failed for arrow navigation in icon views, so that
it is possible to override error handling. Also add API to get the
row/col of an item. With this, it is possible to make arrow keynav
span adjacent icon views, which is desired in the new control-center
shell. testiconview-keynav demonstrates this.
2010-05-30 02:17:51 -04:00
Matthias Clasen
6737d91d28
Trivial typo fix
2010-05-30 02:17:51 -04:00
Matthias Clasen
654bb6ca66
Simple typo fix
2010-05-30 02:17:51 -04:00
Javier Jardón
e51f02ce67
[docs] Add GTK+3 migration guide
2010-05-29 19:37:57 +02:00
Michael Natterer
9b9945b8e7
Bug 607628 - DnD operation doesn't work when using offscreen
...
Changed the way to find the drop widget from a top->bottom recursion
using GdkWindow positions to a liner bottom->top walk up the widget
hierarchy using _gtk_widget_find_at_coords() and
gtk_widget_translate_coordinates(), which both do the right things for
offscreen widgets.
(cherry picked from commit cb8c076321 )
2010-05-29 05:10:19 +02:00
Yaron Shahrabani
3e38ddd3e6
Updated Hebrew translation.
2010-05-28 15:55:57 +03:00
Yaron Shahrabani
0236a9a3fa
Updated Hebrew translation.
2010-05-28 15:50:41 +03:00
John (J5) Palmieri
c707e445ca
gtk_tree_selection_get_selected: added transfer none annotation to model out arg
2010-05-27 18:36:04 -04:00
Javier Jardón
25ec337a16
Revert "Deprecate GTK_OBJECT_FLAGS() and GtkObjectFlags enum"
...
This reverts commit 72467ba2e6 .
2010-05-28 00:14:59 +02:00
John (J5) Palmieri
256759a3b7
gtk_tree_view_get_model: return value annotated transfer none
2010-05-27 16:58:52 -04:00
John (J5) Palmieri
c21e9ba7c3
annotation fixes
...
* gtk_tree_model_get_column_type: transfer none added to the return value
* gtk_tree_model_get_path: value parameter switched from inout to out
so that it is annotated with caller-allocates
2010-05-27 16:53:42 -04:00
Javier Jardón
86441c6427
gtkwidget.h: Fix a typo
...
Fix a type introduced in
commit 818d444e2f
Reported by Garrett Regier.
2010-05-27 22:01:15 +02:00
Javier Jardón
72467ba2e6
Deprecate GTK_OBJECT_FLAGS() and GtkObjectFlags enum
...
This macro will be moved to a private header in GTK+3.
https://bugzilla.gnome.org/show_bug.cgi?id=615666
2010-05-27 19:58:24 +02:00
Javier Jardón
818d444e2f
Remove GTK_NO_REPARENT deprecated widget flag
2010-05-27 18:05:02 +02:00
Javier Jardón
45aa82d85f
Deprecate GTK_NO_REPARENT
2010-05-27 18:04:05 +02:00
Javier Jardón
d6bacafc52
[docs] Use the correct gtk-doc notation
...
Use 'Deprecated: 3.0:' intead 'Deprecated: 3.0.'
2010-05-27 15:37:19 +02:00
Li Yuan
5c8bdc1a69
Bug #619080 .
...
Do not emit the text-changed::insert signal when the entry is empty.
2010-05-27 14:57:38 +08:00
Javier Jardón
258f9e814a
gtkmain: remove some unused code
2010-05-27 05:54:18 +02:00
Javier Jardón
485bbadc0a
gtkmain: Remove unused GtkClosure struct
2010-05-27 05:45:27 +02:00
Javier Jardón
d91c0d38c6
[docs] Remove deprecated documentation
2010-05-27 05:16:15 +02:00
Javier Jardón
154e3ba502
gtkcontainer: Remove unused GtkForeachData struct
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=619672
2010-05-27 03:37:32 +02:00
Javier Jardón
da25f8f89d
[docs] Move some widgets: they are not abstract now
2010-05-26 19:09:14 +02:00
Michael Natterer
6b4e19a132
Bug 607628 - DnD operation doesn't work when using offscreen
...
Turn find_widget_under_pointer() into internal API
_gtk_widget_find_at_coords() which is needed for fixing above
bug. This should actually be a public utility function, and will be
moved to another file when its final API has been decided.
(cherry picked from commit c4b1bbf3e2 )
2010-05-26 17:21:09 +02:00
Carlos Garcia Campos
6bac9dfd28
GtkWindow: Add gtk_window_has_group()
...
To check whether the window has an explicit group
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=618271#c2
2010-05-26 16:49:31 +02:00
Christian Beier
95c824c553
gdk/gdkwindow.c: fix a typo in gdk_window_set_device_cursor().
...
Signed-off-by: Christian Beier <dontmind@freeshell.org >
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-05-26 15:42:10 +02:00
Javier Jardón
019563c322
Remove gdk_*et_use_xshm() deprecated functions
2010-05-26 05:18:05 +02:00
Matthias Clasen
7ab09f1597
Bump version
2010-05-25 23:01:37 -04:00
Matthias Clasen
473b7aa6a2
2.90.1
2010-05-25 22:57:46 -04:00
Matthias Clasen
7164d71abf
Some more devicegroup purging
2010-05-25 22:12:51 -04:00
Matthias Clasen
0e1d84c954
Make gio sniffing test work again
2010-05-25 21:33:40 -04:00
Matthias Clasen
cbab03df69
Fix up distcheck
2010-05-25 20:26:07 -04:00
Matthias Clasen
19e0444669
Updates
2010-05-25 20:07:52 -04:00
Matthias Clasen
c7a48881c6
Documentation fixes
2010-05-25 19:27:42 -04:00
Matthias Clasen
f5e21ceb00
Some additions
2010-05-25 19:18:06 -04:00
Matthias Clasen
86ba6378cd
Remove duplicates
2010-05-25 19:03:16 -04:00
Matthias Clasen
b4e2ff3da3
Make orientable base classes instantiable
...
This commit adds constructors for GtkPaned, GtkBox, GtkButtonBox,
GtkRuler, GtkScale, GtkScrollbar and GtkSeparator and makes these
types instantiable.
2010-05-25 18:55:15 -04:00
Matthias Clasen
bd4609b140
Merge the xi2-for-master branch
2010-05-25 18:38:44 -04:00
Bruce Cowan
a538f639b6
Fix conflict Git markers
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=619655
2010-05-25 21:46:35 +02:00
Javier Jardón
0c6565e1d3
Fix typo in previous patch
2010-05-25 20:48:59 +02:00
Matthias Clasen
b5ae99bf19
Add indexes
...
Add an index for 2.22 api additions, and one for 3.0.
2010-05-25 12:21:13 -04:00
Matthias Clasen
ebbadf3709
Add some leftover symbols
2010-05-25 12:01:04 -04:00
Matthias Clasen
50a72eda2d
Seal gdk
...
Add G_SEAL annotation for struct members, and add accessors for
the (useful) fields. Patch based on work by Garrett Regier,
see bug #592580 .
2010-05-25 12:01:04 -04:00
John (J5) Palmieri
57754edef6
add a transfer none annotation to gtk_tree_view_get_selection
...
* it returns the selection from its priv structure without reffing
2010-05-25 11:49:10 -04:00
Matthias Clasen
067fe4b05d
Some additions
2010-05-25 10:24:53 -04:00
Matthias Clasen
8d2e20c2dc
Fix up gtk_paned_get_handle_window docs
2010-05-25 09:47:54 -04:00
Matthias Clasen
c4134a535e
Fix up gtk_icon_info_load_symbolic docs
2010-05-25 09:47:20 -04:00
Matthias Clasen
4df758dd16
Document GtkRange::adjust-bounds
2010-05-25 09:44:29 -04:00
Matthias Clasen
54cf057f11
Document GtkMovementStep
2010-05-25 09:42:09 -04:00
Matthias Clasen
1c6de294d8
Document GTK_FILE_CHOOSER_ERROR_INCOMPLETE_HOSTNAME
2010-05-25 09:34:38 -04:00
Caolan McNamara
00be72aef4
Fix many fuzzy translations of default:mm
...
Many of these were translated to either default:LTR or @#$^%&:mm.
Bug #619595 .
2010-05-24 21:30:04 -04:00
Javier Jardón
cc8dcf738a
Remove deprecated GtkToolbar code
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=616817
2010-05-24 20:16:07 +02:00
Marek Kasik
33097d65b7
Honor PPD reading over listing of printers
...
Reading of PPD files collides with getting list of printers.
It helps to give higher priority to getting of PPDs than to
getting list of printers (#614581 ).
2010-05-24 16:39:19 +02:00
Javier Jardón
b18b33ae82
Revert "Forward-port a GtkAdjustment compatibility fix"
...
In the early 2.14.x releases, GtkAdjustment was changed to enforce
that values are restricted to the range [lower, upper - page_size].
This has always been the documented behaviour, and the recommended
practice is to set page_size to 0 when using adjustments for simple
scalar values, like in a slider or spin button.
Due to the large number of applications that are affected by this
change, the behaviour has been reverted to the old behaviour in
2.14.3, with an explicit warning that this change will be
reintroduced in 2.90.
This reverts commit e6373738fc .
https://bugzilla.gnome.org/show_bug.cgi?id=619474
2010-05-24 15:39:30 +02:00
Tomeu Vizoso
14f7717770
Actually expose the X11 funcs through introspection
...
https://bugzilla.gnome.org/show_bug.cgi?id=617863
2010-05-24 15:27:44 +02:00
Javier Jardón
5917eba911
gdkevents-x11: Do not break strict-aliasing rules
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=619385
2010-05-22 23:17:58 +02:00
Javier Jardón
7f89bf262b
gdkevents-x11.c: Remove unused function: graphics_expose_predicate()
2010-05-22 22:49:58 +02:00
Matthias Clasen
8e315466b9
Fix libjasper test
...
This was reported in bug 551322.
2010-05-22 00:29:58 -04:00
Matthias Clasen
94abf4733f
Deprecate GtkBoxChild
...
This was discussed in bug 613132.
2010-05-22 00:15:00 -04:00
Matthias Clasen
bb91ebcb8f
Fix signal parameters in GtkEntryCompletion
...
The ::match-selected and ::cursor-on-match signal were emitted
with the internal filter model instead of the user-provided model.
Fixes bug #555087 .
2010-05-21 23:50:46 -04:00
Matthias Clasen
54093354e4
Clean up man page handling
2010-05-21 22:41:35 -04:00
Matthias Clasen
7652c2b3e0
Remove long-obsolete docs
...
There are no traces of GDK_USE_XFT, GXID_HOST or GXID_PORT in the
code anymore.
2010-05-21 22:14:46 -04:00
Matthias Clasen
747c834f27
Document GSEAL_ENABLE with other preprocessor symbols.
2010-05-21 22:07:46 -04:00
Matthias Clasen
70e503e448
Convert to UTF-8
2010-05-21 20:49:41 -04:00
Matthias Clasen
eff1fe2500
Make the !xkb build survive a little longer
...
This fixes bug 619114.
2010-05-21 12:13:05 -04:00
Christian Dywan
82e27aede9
Explain that unmap-event may never be emitted
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=613302
2010-05-21 17:10:25 +02:00
Javier Jardón
280b01a8db
Move documentation to inline comments: GtkRecentChooserDialog
2010-05-21 04:15:02 +02:00
Javier Jardón
98cee5e6e2
Move documentation to inline comments: GtkRecentChooserMenu
2010-05-21 03:19:02 +02:00
Javier Jardón
2f28e88dea
Move documentation to inline comments: GtkRange
2010-05-21 03:09:43 +02:00
Didier Roche
6847407eda
Fix fail to build when building with introspection:
...
in debian/ubuntu, builddir != srcdir. This trigger an error
on introspection_files where srcdir is added to x11/*.c.
Indeed, srcdir is added again later:
$(addprefix $(srcdir)/,$(introspection_files))
making $(srcdir)/$(srcdir)/x11/*.c (not an issue on jhbuild as srcdir = .)
2010-05-21 09:00:55 +10:00
Javier Jardón
ae8c4b8f7b
[docs] Fix a typo in the tutorial
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=412331
2010-05-20 21:57:56 +02:00
Mattias Põldaru
04dc62cfe3
Estonian translation updated
2010-05-20 14:58:34 +03:00
Tristan Van Berkom
80ee7f793a
Amending GtkBuildable documentation.
...
GtkBuildable documentation has forever stated that "only
objects which implement GtkBuildable can parsed by GtkBuilder" fixed.
2010-05-20 00:33:20 -04:00
Javier Jardón
68701c828c
Move documentation to inline comments: GtkRadioButton
2010-05-20 00:42:50 +02:00
John (J5) Palmieri
85b53969b2
[PATCH] add the binding friendly join_group method to GtkRadioAction
...
* Due to object ownership issues it is impossible to correctly use
get_group/set_group from a GI binding
* join_group is safer because at the binding level it works with individual
GtkRadioAction objects and not with the list of objects that gets
modified in the library
2010-05-19 15:16:46 -04:00
Matthias Clasen
c51f965782
Some cleanups after the module cache file change
...
Bring the various 'run uninstalled' hacks in line with the
new way of doing things, and fix make install for module cache
files.
Patch by Tadej Borovsak.
2010-05-18 19:23:06 -04:00
Javier Jardón
fac142c25a
gtk/gtkobject: use G_DEFINE_ABSTRACT_TYPE
2010-05-18 18:21:18 +02:00
Javier Jardón
dfa9214681
Move documentation to inline comments: GtkRecentChooser
2010-05-18 18:16:35 +02:00
Murray Cumming
f54910cf86
GtkDebug: Remove a trailing comma on an enum.
2010-05-18 09:32:44 +02:00
Jan Arne Petersen
4704a239ac
GtkRange: Redraw if GtkRange is a GtkScale and value is drawn.
...
* gtk/gtkrange.c: (gtk_range_adjustment_value_change):
Queue the draw also if the range is a scale and the value is drawn,
fixing bug #533946 (Markus Brinkmann), when two HScales use one
adjustment.
2010-05-18 08:51:01 +02:00
Matthias Clasen
735bee47be
Let query utilities update the cache file directly
...
This is much more convenient for packagers than having to
redirect the output into the cache file, and much less error-prone.
2010-05-17 22:58:25 -04:00
Matthias Clasen
0b0f176ac4
Move the module cache files below libdir
...
These files contain architecture-dependent paths, and thus placing
them into sysconfdir causes unnecessary hassle. Now the immodule cache
file is looked for in libdir/gtk-3.0/3.0.0/immodules.cache, and the
pixbuf loader cache is looked for in libdir/gtk-3.0/3.0.0/loaders.cache.
2010-05-17 21:30:46 -04:00
Volker Grabsch
8a487aca2c
Fix CAIRO_PREFIX for cross-build environments
...
configure.ac was using pkg-config instead of $PKG_CONFIG for this
prefix, leading to incorrect results in cross-build environments.
Bug 618870.
2010-05-17 19:00:02 -04:00
Thomas Thurman
3f96117903
Updated Shavian translation
2010-05-16 17:53:39 -04:00
Thomas Thurman
489085ca02
Updated Shavian translation
2010-05-16 17:53:39 -04:00
Andika Triwidada
fcbbbbf139
Updated Indonesian translation
2010-05-16 08:33:26 +07:00
Javier Jardón
98e773d93d
Move documentation to inline comments: GtkSeparatorToolItem
2010-05-16 02:39:50 +02:00
Javier Jardón
19448b9712
Move documentation to inline comments: GtkPrinter
2010-05-16 02:11:16 +02:00
Javier Jardón
b00a09de11
Move documentation to inline comments: GtkTreeView drag-and-drop
2010-05-16 02:04:12 +02:00
Javier Jardón
56d7417fcc
Move documentation to inline comments: GtkRecentChooserWidget
2010-05-16 01:58:06 +02:00
Javier Jardón
885b6d8a75
Move documentation to inline comments: GtkStyle
2010-05-16 01:37:36 +02:00
Javier Jardón
f121a502f9
Move documentation to inline comments: GtkSeparatorMenuItem
2010-05-16 00:40:11 +02:00
Javier Jardón
08bd42cf8d
Move documentation to inline comments: GtkScaleButton
2010-05-16 00:32:05 +02:00
Javier Jardón
8e06ef4f63
Move documentation to inline comments: GtkRadioAction
2010-05-16 00:26:22 +02:00
Javier Jardón
bddf455874
Move documentation to inline comments: GtkRecentAction
2010-05-16 00:20:53 +02:00
Khaled Hosny
41f327051c
Updated Arabic translation
2010-05-15 22:58:15 +03:00
Javier Jardón
b2f5af3fb0
Remove deprecated functions from GDK docs
2010-05-14 18:36:59 +02:00
Javier Jardón
618d15e991
Remove deprecated gdk_window_get_toplevels() function
2010-05-14 18:18:10 +02:00
Javier Jardón
dc83131c9b
gdkwindow: Move includes to the beginning of the file
2010-05-14 17:28:37 +02:00
Tadej Borovšak
ff61948d13
Move documentation to inline comments: GdkWindow
...
Use examples/gdk to store documentation code examples.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=618498
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-05-14 17:11:51 +02:00
Luca Ferretti
47dd78a713
Updated Italian translation
2010-05-14 12:53:44 +02:00
Fran Diéguez
2cc6154571
Updated Galician translations
2010-05-14 09:47:29 +02:00
Javier Jardón
157d618d6b
Move documentation to inline comments: GtkObject
2010-05-13 19:39:44 +02:00
Javier Jardón
3d481f735a
Use ACLOCAL in autogen.sh
2010-05-13 17:11:12 +02:00
Javier Jardón
9e630dc17d
Clean autotools configuration a bit
...
New requirements:
automake >= 1.10
libtool >= 2.2
2010-05-13 15:54:01 +02:00
Javier Jardón
1205012cb4
Fix doc generation: rename gdk-overrides.txt to gdk3-overrides
...
Also, remove unnneded *-overrides files
Patch by Tadej Borovšak
2010-05-13 05:02:59 +02:00
Javier Jardón
95bb12ee66
Move documentation to inline comments: GtkOrientable
2010-05-13 03:35:02 +02:00
Javier Jardón
8319585673
Move documentation to inline comments: GtkToggleAction
2010-05-13 03:23:30 +02:00
Javier Jardón
45434cc699
Move documentation to inline comments: GtkPageSetupUnixDialog
2010-05-13 01:26:10 +02:00
Javier Jardón
e59f1a64c1
Move documentation to inline comments: GtkSeparator
2010-05-13 01:26:09 +02:00
Javier Jardón
c4bb15a4f2
Move documentation to inline comments: GtkTextIter
2010-05-13 01:26:09 +02:00
Javier Jardón
c477b2fa0b
Move documentation to inline comments: GtkToolItem
2010-05-13 01:26:09 +02:00
Thomas Thurman
f1ea0d127b
Updated Shavian transliteration
2010-05-12 19:01:48 -04:00
Thomas Thurman
fd3c3dc981
Updated Shavian transliteration
2010-05-12 19:01:48 -04:00
Johan Dahlin
39f4b34e70
Merge commit 'origin'
2010-05-12 19:54:28 -03:00
Johan Dahlin
7b81420974
[GtkExtendedLayout] Add annotations
...
Add missing annotations for out values.
2010-05-12 19:53:43 -03:00
Johan Dahlin
a81f00ff33
[GtkWidget] Add annotations
...
Add a couple of out/inout annotations
2010-05-12 19:53:24 -03:00
Johan Dahlin
4bc3f99b6d
[GtkWindow] Add annotations
...
Add introspection annotations for lists and functions with
multiple out values.
2010-05-12 19:51:55 -03:00
Matthias Clasen
006d5718fa
Another attempt to handle pngs changing int types
2010-05-12 15:02:02 -04:00
Kristian Rietveld
f3fa17a16a
Bug 565559 - Incorrect leave-notify signals for treeview
...
Set enter and leave notify mask on header window.
Extract from a patch by Hans van Hintum.
2010-05-12 12:15:48 +02:00
Paul Davis
aea9f1b6cf
Remove arbitrary limit on number of redraw rectangles
...
The aim of this limit was to not degrade performance too much, however,
it actually did degrade performance to a large extent.
2010-05-12 12:11:40 +02:00
Manoj Kumar Giri
b82150c100
Updated Oriya Translation
2010-05-12 13:35:28 +05:30
Javier Jardón
2b64a7fd54
Remove some deprecated stuff from GdkWindow
...
Also, substitute the deprecated functions with the correct ones
2010-05-12 04:29:55 +02:00
Javier Jardón
c6a789998a
Remove deprecated gdk_exit() function
2010-05-12 03:44:07 +02:00
Matthias Clasen
902628f593
Reset gail library versioning to 0.0.0, since we changed soname
2010-05-11 15:21:17 -04:00
Matthias Clasen
d8ceadaf3b
Minor stylistic fix
2010-05-11 15:09:16 -04:00
Matthias Clasen
a376adbcea
Try to fix up man page handling
2010-05-11 15:09:16 -04:00
Javier Jardón
d9bb439c89
Remove deprecated GtkObject macros
...
Remove GTK_OBJECT_TYPE() and GTK_OBJECT_TYPE_NAME(),
G_OBJECT_TYPE() and G_OBJECT_TYPE_NAME() should be used instead.
2010-05-11 17:01:36 +02:00
Caolán McNamara
37bb7ea2a0
Update list of US Letter locales
...
Sync paper size fallbacks with the latest 1.8.1 CLDR table (#618000 ).
2010-05-11 16:38:07 +02:00
Tor Lillqvist
e5c2c2e9fb
More gtk3 file name changes
2010-05-11 17:14:57 +03:00
Matthias Clasen
20f3f9d9f2
One forgotten rename
2010-05-11 08:37:35 -04:00
Murray Cumming
4fe044b77d
Fix typos in 2 gobject-introspection annotations.
2010-05-11 09:01:19 +02:00
Alan Knowles
ee357cf885
Fix various gir annotations on tree API
...
Just add (out) tags where needed to generate valid gir.
2010-05-11 13:40:15 +08:00
Sebastian Dröge
57a7079a30
Don't include __bss_start, _edata and _end symbols in the abichecks
...
They are added by the binutils gold linker.
2010-05-11 06:39:35 +02:00
Matthias Clasen
827ce1b1bf
bump version
2010-05-11 00:28:33 -04:00
Matthias Clasen
48a3e5c074
2.90.0
2010-05-11 00:26:49 -04:00
Matthias Clasen
4ac165b59e
Fix tests
2010-05-10 23:57:24 -04:00
Matthias Clasen
f08d244c05
Remove remnants of filechooser backend property
2010-05-10 23:43:49 -04:00
Matthias Clasen
78079e04d6
Fix abicheck scripts
2010-05-10 23:22:02 -04:00
Matthias Clasen
d379ece3e5
Updates
2010-05-10 22:22:09 -04:00
Matthias Clasen
7d7bb3c999
Updates
2010-05-10 20:45:21 -04:00
Matthias Clasen
2c13b36d75
Install gtk-demo as gtk3-demo
2010-05-10 20:06:10 -04:00
Matthias Clasen
c75bf0b2d3
More gail.pc renaming
2010-05-10 20:06:10 -04:00
Matthias Clasen
4b7e72b3a8
Make the docs parallel installable
2010-05-10 20:06:10 -04:00
Matthias Clasen
7f1f1c09ce
Make gail parallel-installable too
...
Move libgail-util to libgail-util-3.0, and gail.pc to gail-3.0.pc
2010-05-10 20:06:10 -04:00
Javier Jardón
37b62be296
[tests] Move filechooser test files to correct location
2010-05-11 00:50:54 +02:00
Javier Jardón
0fd4db396b
[tests] Remove GtkOptionmenu from gail tests
2010-05-11 00:02:37 +02:00
Jorge González
3c228d6064
Updated Spanish translation
2010-05-10 19:44:10 +02:00
Jorge González
2de0f57779
Updated Spanish translation
2010-05-10 19:27:42 +02:00
Jorge González
d83afa2ea1
Updated Spanish translation
2010-05-10 19:27:37 +02:00
Richard Hughes
3fc7f408ce
Fix make dist after breaking it in my last commit
2010-05-10 17:56:00 +01:00
Tor Lillqvist
fecfebbf9c
Update API version in file and directory names
2010-05-10 19:18:32 +03:00
Tor Lillqvist
bd439bb9f9
Update GtkApiVersion
2010-05-10 19:18:31 +03:00
Tor Lillqvist
40b56c2342
GtkCList is gone
2010-05-10 19:18:30 +03:00
Tor Lillqvist
a709056140
Don't use g_drag_context_ref
2010-05-10 19:18:29 +03:00
Richard Hughes
671db307cc
Install gdk-pixbuf-xlib-3.0.so.0, although this might be nuked in the near future
2010-05-10 17:15:24 +01:00
Richard Hughes
e18eb24c1d
Install the gail tests in /usr/lib/gtk-3.0/modules
2010-05-10 17:08:20 +01:00
Richard Hughes
cb115a65a6
Modify the gettext translation domain for the gtk3 rename
2010-05-10 15:47:47 +01:00
Matthias Clasen
a4d4b54a7d
Add padding around the status icons
...
The amount of padding is determined by reading a _NET_SYSTEM_TRAY_PADDING
property off the manager window, in the same way that orientation and visual
are obtained.
Signed-off-by: Richard Hughes <richard@hughsie.com >
2010-05-10 15:26:44 +01:00
Richard Hughes
88f41f10ad
Change the location of the gdk-pixbuf.loaders for gtk3 ABI
2010-05-10 14:03:20 +01:00
Richard Hughes
c59bfed6dd
Fix make distcheck
2010-05-10 12:07:01 +01:00
Bastien Nocera
4551509af1
Make it easy for apps to have dark themes
...
Some types of applications would benefit from having "dark" themes,
usually black backgrounds, such as:
* Movie players
* Photo management and display applications
To make it easy for those applications to prefer a dark theme,
we're adding the "gtk-application-prefer-dark-theme" GtkSetting, which
will make the theme loading code automatically look for a "gtkrc-dark"
file in the same directory you would usually find a gtkrc file.
the same name and a "-dark" suffix.
If no "-dark" gtkrc variant is available, the normal gtkrc will
be used.
https://bugzilla.gnome.org/show_bug.cgi?id=617955
2010-05-10 01:15:14 +01:00
Javier Jardón
b76557e944
[docs] Fix GdkColor description: blue and green colors are changed
...
Reported by César Themudo here:
https://bugzilla.gnome.org/show_bug.cgi?id=618162
2010-05-10 01:57:22 +02:00
Javier Jardón
7b2024c1bd
Fix typo in gtkprintoperation
...
Reported by Andika Triwidada in
https://bugzilla.gnome.org/show_bug.cgi?id=618093
2010-05-08 16:36:38 +02:00
Matthias Clasen
41d36aef3c
remove some deprecated parts from the docs
2010-05-08 01:46:02 -04:00
Matthias Clasen
7447ef0fc2
Make 3.0 parallel-installable to 2.x
...
In particular, rename
- libraries to lib*-3.0.so
- pc files to *-3.0.pc
- include paths to /usr/include/gtk-3.0/*
- module paths to /usr/lib/gtk-3.0/*
- rc files names to gtk-3.0/gtkrc
- commandline utilities to *-3.0
- adjust documentation
Also change the install location for unix-print headers to
/usr/include/gtk-3.0/unix-print/gtk.
2010-05-08 01:18:53 -04:00
Matthias Clasen
51ddf0e1c9
Better tooltip positioning
...
Avoid the covering up the widget that you are tipping, as
far as possible. Bug 599618.
2010-05-07 23:28:07 -04:00
Richard Hughes
a473b593ff
Remove links to code that no longer exists to fix make dist
2010-05-07 23:14:00 +01:00
Seán de Búrca
8c5dca4c5c
Clear out removed deprecations from POTFILES
2010-05-07 15:23:03 -06:00
Richard Hughes
8c55aee54f
Remove a missing include in one of the tests that broke the build from a fresh checkout
2010-05-07 21:37:35 +01:00
Khaled Hosny
a8f1512b92
Typo
2010-05-07 20:46:01 +03:00
Javier Jardón
46a841cadb
[test] Fix floating test
...
The test was broken by commit e0969a13
2010-05-07 16:42:42 +02:00
Andika Triwidada
f2b40a1ff3
Updated Indonesian translation, 100% as of 20100507
2010-05-07 15:22:19 +07:00
Andika Triwidada
2ace72c1f8
Updated Indonesian translation
2010-05-07 15:19:36 +07:00
Martin Nordholts
ccc53b9a45
Rename configure.in to configure.ac
...
In the autoconf manual the recomended name for the autoconf input file
is configure.ac and not configure.in. Follow this recomendation.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=598768
2010-05-07 10:07:23 +02:00
Javier Jardón
3781b24476
[test] Do not test deprecated GtkText
2010-05-07 09:26:36 +02:00
Javier Jardón
291ead9105
Reintroduce gtk_progress_* api in gtk.symbols
...
This api is deprecated but GtkToolBar still uses it
2010-05-07 09:24:34 +02:00
Javier Jardón
9aabc1b1a7
Remove deprecated functions from GtkProgressBar
2010-05-07 09:10:52 +02:00
Matthias Clasen
2f6b88ff48
Clean up docs, disable testtext for now.
2010-05-07 00:04:57 -04:00
Matthias Clasen
77d4d3cdae
Merge branch 'gtk-2-90'
...
Conflicts:
gtk/gtkentry.h
2010-05-06 22:55:02 -04:00
John (J5) Palmieri
b3e0e25d65
[GtkRadioAction] fix annotation _set_group, _get_group
...
* should be element-type GtkRadioAction not GtkAction
2010-05-06 17:30:03 -04:00
Colin Walters
14fef0abba
[GtkRadioAction] Annotate _set_group
2010-05-06 16:58:36 -04:00
Javier Jardón
713f2b638e
Use event instead key in the previous patch
2010-05-05 04:06:17 +02:00
Javier Jardón
7692a427a6
Added api to reset the im context in GtkTextView and GtkEntry
...
Also, added api to allow an input method to internally handle
key press and release events in the GtkTextView and GtkEntry
cases.
This is simply a wrapper to the gtk_im_context_filter_keypress()
function, but It's added to not access the ->im_context
directly.
Based on a Christian Dywan patch
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=163251
2010-05-05 03:14:28 +02:00
Matthias Clasen
8a4528eb2a
Fix a problem with marks on vertical scales
2010-05-04 20:33:21 -04:00
Javier Jardón
a141c35271
Remove the definition of libpixbufloader_gdip_png_la_*
...
libstatic-pixbufloader-gdip-png.la should not be built or at least not
included in STATIC_GDIPLUS_LIBS as we don't want to use the GDI+-based
loader for PNG, because if we do, we can't get (or was it set?) the
options of a PNG pixbuf that for instance some code in GIMP wants to do.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=607839
2010-05-04 16:07:51 +02:00
Danielle Madeley
227d59c190
Expose visible() and modify() as vcalls in class
...
This makes it possible to create filter subclasses by implementing the vcalls.
You can optionally chain up to the parent class' implementation, to make it
possible to have "your filter + additional custom filtering".
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=604150
2010-05-04 03:42:22 +02:00
Javier Jardón
64812ce662
Added an extra validation in gdk_pixbuf_loader_set_size()
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=380196
2010-05-04 00:39:46 +02:00
Wouter Bolsterlee
4fb6b9d579
Dutch translation updated by Wouter Bolsterlee
2010-05-03 23:35:18 +02:00
Javier Jardón
c1d36af3e8
Do not use C99 constant INFINITY
...
Use G_MAXDOUBLE instead
2010-05-03 22:47:21 +02:00
Benjamin Otte
ba3e997dae
Make toolbutton not call functions on non-GtkMisc
2010-05-03 20:20:44 +02:00
John (J5) Palmieri
33194ff5f4
add a get_indices_with_depth method to GtkTreePath with proper GI array annotations
...
* get_indices does not return a length so we can not annotate it to return an
array in bindings that use GObject Introspection
* this method is the same as get_indices except it takes an int * as the depth
parameter which we can then use in the array annotation
* in C this function returns an integer pointer array and updates depth to the
number of integers in the array
* in a GI binding this returns the native array type for the bound language
(e.g. in PyGI this returns a list of integers)
2010-05-03 12:47:38 -04:00
Tor Lillqvist
5098f34234
Update the Makefile for scribble-xinput
...
Don't use GTK_DISABLE_DEPRECATED as scribble-xinput does use
deprecated API. Also, make the CC command line more canonical.
2010-05-03 13:49:16 +03:00
Matthias Clasen
0eaa177210
Updates
2010-05-02 23:00:55 -04:00
Javier Jardón
bcfc53066a
tests: Too many arguments in call to 'create_menu'
2010-05-03 02:59:35 +02:00
Javier Jardón
0de8601327
Use accessor functions to access GtkLabel variables
2010-05-03 01:51:23 +02:00
Javier Jardón
901105766e
Do not use deprecated GtkNoteBook api in testgtk
2010-05-03 01:51:23 +02:00
Javier Jardón
7065c566a3
Remove deprecated GtkProgress functionality from testgtk
2010-05-03 01:51:23 +02:00
Javier Jardón
0e79972d24
Remove GtkTreeItem completely
2010-05-03 01:51:23 +02:00
Javier Jardón
d7786d4a9e
Remove GtkTree completely
2010-05-03 01:51:23 +02:00
Javier Jardón
0669d8d6e9
Remove GtkText completely
2010-05-03 01:51:23 +02:00
Javier Jardón
c77c69502c
Restore non-deprecated GtkToolbar functions in gtk.symbols
...
The functions gtk_toolbar_set_icon_size() and
gtk_toolbar_unset_icon_size() are not deprecated
2010-05-03 01:51:23 +02:00
Javier Jardón
9a4e3371e2
Remove GtkTooltips completely
2010-05-03 01:51:23 +02:00
Javier Jardón
3d6b45f7d2
Remove GtkOptionMenu completely
2010-05-03 01:51:23 +02:00
Javier Jardón
6f3d152bee
Remove all gtk_marshal_* functions from the gtk.symbols
2010-05-03 01:51:23 +02:00
Javier Jardón
2c2726f818
Port testtreeview to new API
...
Use GtkComboBox instead the deprecated GtkOptionMenu
https://bugzilla.gnome.org/show_bug.cgi?id=616679
2010-05-03 01:51:23 +02:00
Javier Jardón
623966b6da
Remove all gtk_draw_* deprecated functions completely
2010-05-03 01:51:23 +02:00
Javier Jardón
eb3efdf242
Remove gtk_color_selection_set_update_policy() completely
2010-05-03 01:51:23 +02:00
Christian Dywan
765882ce9a
Declare random item correctly in stresstest-toolbar
2010-05-03 01:51:23 +02:00
Christian Dywan
b4188f876f
Use GtkComboBox, GtkOrientable and no GtkObject in testtoolbar
2010-05-03 01:51:23 +02:00
Christian Dywan
7ccd787f04
Don't set child-min-width/ height in the button box test
...
This is not a property. The feature was removed.
2010-05-03 01:51:23 +02:00
Christian Dywan
786b5774e3
Revert accidental removal of book pixmap strings
2010-05-03 01:51:23 +02:00
Christian Dywan
09c84a006f
Remove unused dump_accels() function from testgtk
2010-05-03 01:51:22 +02:00
Christian Dywan
0c0976be1d
Remove GtkTipsQuery demo from testgtk
2010-05-03 01:51:22 +02:00
Christian Dywan
1dabde28ac
Don't use gtk_widget_set_uposition/size in testgtk
...
Use gtk_window_move and gtk_widget_set_size_request instead.
2010-05-03 01:51:22 +02:00
Christian Dywan
646b417c20
Remove unused text helper functions from testgtk
2010-05-03 01:51:22 +02:00
Christian Dywan
6536ad7299
Use new 2.14 GtkColorSelection API in testgtk
2010-05-03 01:51:22 +02:00
Christian Dywan
eaf3ccfba0
Replace GtkFileSelection with GtkFileChooser in testgtk
2010-05-03 01:51:22 +02:00
Christian Dywan
c30e1865d8
Use GtkComboBoxEntry for the display list in testgtk
2010-05-03 01:51:22 +02:00
Christian Dywan
36c3426efb
Use GtkComboBoxEntry in entry test in testgtk
2010-05-03 01:51:22 +02:00
Christian Dywan
81c8fcb72b
Declare book_open/closed_xpm in testgtk notebook
2010-05-03 01:51:22 +02:00
Christian Dywan
a927f1f17d
Remove item factory test from testgtk
2010-05-03 01:51:22 +02:00
Christian Dywan
298f1ea9f6
Use "activate" rather than "clicked" for menu items
2010-05-03 01:51:22 +02:00
Christian Dywan
187e49992d
Use GtkComboBox instead of GtkCombo in testsocket
2010-05-03 01:51:22 +02:00
Christian Dywan
464eeda24c
Don't use GtkItemFactory in testsocket
2010-05-03 01:51:22 +02:00
Christian Dywan
44af4852ee
Replace GtkText in testselection with GtkTextView
2010-05-03 01:51:22 +02:00
Christian Dywan
e0602fd6a8
Remove obsolete GtkText test from testgtk
2010-05-03 01:51:22 +02:00
Christian Dywan
2f70bb98cb
Remove obsolete GtkTree test from testgtk
2010-05-03 01:51:22 +02:00
Christian Dywan
1eefd43961
Use an array and new toolbar API in testgtk
2010-05-03 01:51:22 +02:00
Christian Dywan
b8727e11fd
Replace option menu with combo box in testoffscreen
2010-05-03 01:51:22 +02:00
Christian Dywan
274395063a
Replace option menus in testgtk with combo boxes
2010-05-03 01:51:22 +02:00
Christian Dywan
63131903ad
Use new progress bar API in testgtk progress test
2010-05-03 01:51:22 +02:00
Christian Dywan
3b721ea9c9
Use a tree view in testgtk selection target test
2010-05-03 01:51:21 +02:00
Javier Jardón
9fa9d792a8
Remove GTK_WIDGET_* macros
2010-05-03 01:51:21 +02:00
Javier Jardón
ffd80c80c9
Remove gtk_fixed_get_has_window() and gtk_fixed_set_has_window()
2010-05-03 01:51:21 +02:00
Javier Jardón
55e3fa8d34
Remove GtkCtree documentation
2010-05-03 01:51:21 +02:00
Javier Jardón
32697682cc
Remove GtkOldEditable completely
2010-05-03 01:51:21 +02:00
Javier Jardón
e850958c56
Remove GtkOptionMenu tests
2010-05-03 01:51:21 +02:00
Javier Jardón
6927a24df4
Restore gtk_paned_get_handle_window()
2010-05-03 01:51:21 +02:00
Javier Jardón
244ed9aec7
Restore gtk_entry_get_icon_window() again
2010-05-03 01:51:21 +02:00
Christian Dywan
4019007ceb
Remove GtkSideType, GtkMatchType, GtkPreviewType and GtkSignalRunType
2010-05-03 01:51:21 +02:00
Christian Dywan
c742482d48
Remove GtkType legacy API and type definitions
2010-05-03 01:51:21 +02:00
Christian Dywan
e8f1a3ccf0
Remove deprecated GtkTooltips
2010-05-03 01:51:21 +02:00
Christian Dywan
e0969a1327
Remove GtkObject floating, weak, arg and user data handling
2010-05-03 01:51:21 +02:00
Christian Dywan
729d4c3624
Look for accessible file chooser dialogue instead of file selection
2010-05-03 01:51:21 +02:00
Christian Dywan
6179e0e8a7
Remove obsolete GtkOptionMenu test case from Gail tests
2010-05-03 01:51:21 +02:00
Christian Dywan
6216ce2dfd
Remove uses of GtkCombo and gtk_widget_set_uposition in Gail
2010-05-03 01:51:21 +02:00
Javier Jardón
e84a330f5a
Cleaning gtk-symbols file
...
Remove some already removed symbols
2010-05-03 01:51:21 +02:00
Javier Jardón
8424256a39
[gdk] Remove gdki18n.h completely
2010-05-03 01:51:21 +02:00
Javier Jardón
b7bc5331fa
[gdk/directfb] Remove deprecated gdkdirectfb stuff
2010-05-03 01:51:20 +02:00
Javier Jardón
d3fc78bfb6
[gtk/gtktoolitem] Remove deprecated GtkToolItem stuff
...
This completes 221dcb6955cb89d1f89e71f442fc4c42fb76fcf3
2010-05-03 01:51:20 +02:00
Javier Jardón
04a548a463
Removed a call to a recently removed test function
...
The function was a test of the deprecated GtkList
2010-05-03 01:51:20 +02:00
Javier Jardón
697eeee7c2
Don't use direct accessors to GtkAccelLabel in gail module
2010-05-03 01:51:20 +02:00
Javier Jardón
f39f644fb2
Move GtkAccelGroup private structure to shared header file
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=602174
2010-05-03 01:51:20 +02:00
Javier Jardón
341d8605b6
[gdk] Remove deprecated GdkRGB stuff
2010-05-03 01:51:20 +02:00
Javier Jardón
81d1e2ca76
[gdk] Remove deprecated GdkVisual stuff
2010-05-03 01:51:20 +02:00
Javier Jardón
ce340e3b62
[gdk] Remove deprecated gdktypes stuff.
2010-05-03 01:51:20 +02:00
Javier Jardón
4a70b282de
[gdk] Remove deprecated GdkSelection stuff.
2010-05-03 01:51:20 +02:00
Javier Jardón
6281645cbb
Remove deprecated GtkMenu stuff.
...
Also, substitute the deprecated functions with the new ones in
documentation.
2010-05-03 01:51:20 +02:00
Javier Jardón
74e6844488
Remove GtkCurve completely
2010-05-03 01:51:20 +02:00
Javier Jardón
d97ca04f5b
Remove GtkGammaCurve completely
2010-05-03 01:51:20 +02:00
Javier Jardón
a86b5ad47b
Remove gtk_toggle_button_set_state() documentation
2010-05-03 01:51:20 +02:00
Javier Jardón
caca8a9696
Remove gtk_toggle_button_set_state() from GtkToggleButton
2010-05-03 01:51:20 +02:00
Javier Jardón
4325501301
Substitute deprecated function
...
Use gtk_editable_set_editable() instead gtk_entry_set_editable()
2010-05-03 01:51:20 +02:00
Javier Jardón
e45d8f557a
Remove unused variable
...
'default_spacing' is not used anymore
2010-05-03 01:51:20 +02:00
Javier Jardón
73b066814b
Remove unused function
...
gtk_container_foreach_unmarshal() is not used anymore.
2010-05-03 01:51:19 +02:00
Javier Jardón
00d3d8516b
Fix compilation warning: cast to GTK_WIDGET
2010-05-03 01:51:19 +02:00
Javier Jardón
6389f13ea5
Fix compilation error
...
Substitute gtk_menu_bar_append() deprecated function by
gtk_menu_shell_append() and cast to correct type
2010-05-03 01:51:19 +02:00
Javier Jardón
a27da3239e
Use gtk_label_get_text() instead direct access
2010-05-03 01:51:19 +02:00
Javier Jardón
2c774ffdcd
Substitute deprecated stuff from GtkContainer in documentation
2010-05-03 01:51:19 +02:00
Javier Jardón
8d9e37f407
Remove all deprecated stuff from GtkContainer
2010-05-03 01:51:19 +02:00
Christian Dywan
72323e6d9a
Do not use lock_count of GtkAccelGroup directly in GtkWidget
2010-05-03 01:51:19 +02:00
Christian Dywan
4045b71824
Remove old GtkToolbar compatibility API
2010-05-03 01:51:19 +02:00
Christian Dywan
2d84d88539
Remove internal GtkNotebook tab homogeneousnes and border helpers
2010-05-03 01:51:19 +02:00
Christian Dywan
8d3814f044
Do not use lock_count of GtkAccelGroup directly in GtkMenu
2010-05-03 01:51:19 +02:00
Christian Dywan
059c22c3b2
Add and use internal accessor for accelerables in GtkAccelGroup
2010-05-03 01:51:19 +02:00
Christian Dywan
a13d2c200b
Remove obsolete helper function gtk_rc_add_rc_sets
2010-05-03 01:51:18 +02:00
Cody Russell
5959005fad
Use gtk_accel_grouop_get_is_locked() rather than trying to access group->lock_count.
2010-05-03 01:51:18 +02:00
Cody Russell
0779d0a37e
Move GSEAL'd members of GtkAccelLabel into private struct.
2010-05-03 01:51:18 +02:00
Cody Russell
3c8c4004b6
Move GSEAL'd members of GtkAccelGroup into private struct
2010-05-03 01:51:18 +02:00
Cody Russell
bcb663096d
Remove unnecessary casting
2010-05-03 01:51:18 +02:00
Cody Russell
ba128ceab2
Fix GtkAboutDialog to stop using GSEAL'd members of GtkDialog
2010-05-03 01:51:18 +02:00
Cody Russell
03849dd358
Unseal GtkAboutDialog's private_data member, convert from gpointer to GtkAboutDialogPrivate
2010-05-03 01:51:18 +02:00
Javier Jardón
fb88f34e06
Remove remaining deprecated GtkInputDialog stuff
2010-05-03 01:51:18 +02:00
Javier Jardón
8d38057de5
Remove deprecated GtkEntry stuff from docs and tutorial.
...
Also, substitue the deprecated functions with the new ones in
documentation and in tests code
2010-05-03 01:51:18 +02:00
Javier Jardón
20342702f4
Remove gtkmain stuff from docs and tutorial.
...
Also, substitue the deprecated functions with the new ones in
documentation and in tests code
2010-05-03 01:51:18 +02:00
Michael Natterer
f7813125bb
Remove all deprecated stuff from gtkmain
2010-05-03 01:51:18 +02:00
Michael Natterer
f25e1b0a47
Remove the deprecated gtkmarshal.* entirely
2010-05-03 01:51:18 +02:00
Michael Natterer
5e29973773
Remove all traces of GDK_PIXBUF/GTK_DISABLE_SINGLE_INCLUDES
...
...and disallow inclusion of individual files unconditionally.
2010-05-03 01:51:18 +02:00
Christian Dywan
90d514a8a5
Remove deprecated GtkEntry functions
2010-05-03 01:51:18 +02:00
Christian Dywan
2fafb74105
Force shooter process updates to match gtk_widget_draw closely
2010-05-03 01:51:17 +02:00
Christian Dywan
d72b1e35c9
Use GtkComboBox in the property editor code
2010-05-03 01:51:17 +02:00
Christian Dywan
46b170ba0e
Don't use GtkInputDialog in testinput
2010-05-03 01:51:17 +02:00
Christian Dywan
5995cdb370
Use gtk_widget_queue_draw_area instead of gtk_widget_draw in shooter
2010-05-03 01:51:17 +02:00
Christian Dywan
b2b6bb17ac
Remove GtkInputDialog completely
2010-05-03 01:51:17 +02:00
Christian Dywan
bab775e087
Deprecate GtkInputDialog
...
Deprecate the widget and adjust the documentation.
https://bugzilla.gnome.org/show_bug.cgi?id=594903
2010-05-03 01:51:17 +02:00
Christian Dywan
77ff51b0c0
Remove GailPixmap completely
2010-05-03 01:51:17 +02:00
Christian Dywan
575d3ffa83
Include gtkspinner.h in GtkStyle
2010-05-03 01:51:17 +02:00
Javier Jardón
1e8fa9354a
Remove GtkPixmap completely
2010-05-03 01:51:17 +02:00
Javier Jardón
e031c4f54a
Remove GtkSignal completely
2010-05-03 01:51:17 +02:00
Javier Jardón
d98aeeff45
Ops, enable GtkInputDialog again
2010-05-03 01:51:17 +02:00
Javier Jardón
86eee0258e
Revert a still used variable in GtkHButtonBox
2010-05-03 01:51:17 +02:00
Javier Jardón
c9251c99e7
Remove deprecated code: GtkHButtonBox
2010-05-03 01:51:17 +02:00
Javier Jardón
c3991cf024
Remove remaining GtkVButtonBox deprecated documentation
...
This completes commit d6cbe4caeb97ef92db3feebacce85004928b904b
2010-05-03 01:51:17 +02:00
Javier Jardón
48efe2ca80
Remove remaining GtkWindow deprecated documentation
...
This completes commit d853fb05ea904acb9cc60d740b151c0a2bced0b8
2010-05-03 01:49:50 +02:00
Javier Jardón
e606a4ec2a
Remove remaining GtkWindow deprecated documentation
...
This completes commit 89e3ec8c3d766c333f6e67764ebd7633d61e21cd
2010-05-03 01:49:50 +02:00
Javier Jardón
123830b133
Remove remaining GtkTreeViewColumn deprecated documentation
...
This completes commit a6e692b057569960d2a2368c59c1e40fc31571cc
2010-05-03 01:49:50 +02:00
Javier Jardón
0fa70d014a
Remove remaining GtkGtkCellRenderer deprecated documentation
...
This completes commit 31a0825a5709b81916c5b6ece59400dda083f10a
2010-05-03 01:49:50 +02:00
Javier Jardón
2ec9cb9ca6
Remove remaining GtkAction deprecated documentation
...
This completes commit 35570ed56eb94b7a05f63daed0ca2bf2c320a8bc
2010-05-03 01:49:50 +02:00
Javier Jardón
858d4fb007
Remove remaining GtkButtonBox deprecated stuff
...
This completes commit b1b986cc604bffd924a13fbcb180dd234a0b8d14
2010-05-03 01:49:40 +02:00
Javier Jardón
3b696774fc
Remove deprecated code: GdkPixbuf
2010-05-03 01:49:25 +02:00
Javier Jardón
740a1007eb
Remove remaining GtkContainer deprecated stuff
...
This completes commit 600216daac6df8deb0cdc042fc27f07a9c5c7c27
2010-05-03 01:49:25 +02:00
Javier Jardón
668e9eaabb
Remove deprecated code: GdkPixbufAnimation
2010-05-03 01:48:45 +02:00
Javier Jardón
fead8cd49a
Remove deprecated code: GtkLabel
2010-05-03 01:48:45 +02:00
Javier Jardón
b5917e7a6f
Remove deprecated code: GtkFileChooserButton
2010-05-03 01:48:45 +02:00
Javier Jardón
bf49830f07
Remove deprecated code: GtkRadioButton
2010-05-03 01:48:45 +02:00
Javier Jardón
9e30bf3d60
Remove deprecated code: GtkPaned
2010-05-03 01:48:45 +02:00
Javier Jardón
3e9fac395a
Remove deprecated code: GtkAccelLabel
2010-05-03 01:48:45 +02:00
Javier Jardón
c9dae4c600
Remove deprecated code: GtkCheckMenuItem
2010-05-03 01:48:45 +02:00
Javier Jardón
51079eb1ba
Remove deprecated GtkAccelGroup documentation references
2010-05-03 01:48:45 +02:00
Javier Jardón
73111cd295
Remove deprecated GtkAccelGroup functions
2010-05-03 01:48:45 +02:00
Javier Jardón
3d3fb6edc6
Remove deprecated code from GdkPango
2010-05-03 01:48:45 +02:00
Javier Jardón
906a510007
Remove deprecated code from GdkImage
2010-05-03 01:48:45 +02:00
Javier Jardón
7894951cee
Remove deprecated code from GdkEvent
2010-05-03 01:48:45 +02:00
Javier Jardón
8c46ef830b
Remove deprecated code from GdkDnd
2010-05-03 01:45:00 +02:00
Javier Jardón
e53a1ad236
Remove deprecated code from GdkCursor
2010-05-03 01:45:00 +02:00
Javier Jardón
134690ed8f
Remove deprecated code from GdkGc
2010-05-03 01:45:00 +02:00
Javier Jardón
b9b8efc528
Remove deprecated code from GdkPixmap
2010-05-03 01:45:00 +02:00
Javier Jardón
92e5d321d6
Remove deprecated code from GdkPixbuf
2010-05-03 01:45:00 +02:00
Javier Jardón
3d4c434659
Remove deprecated GtkHButtonBox functions and macros
2010-05-03 01:45:00 +02:00
Javier Jardón
5ed56120a6
Remove deprecated GtkVButtonBox functions
2010-05-03 01:42:37 +02:00
Javier Jardón
0d322676dc
Remove deprecated GtkWidget functions
2010-05-03 01:41:37 +02:00
Javier Jardón
2b71ef33fb
Remove deprecated GtkWindow function
2010-05-03 01:41:37 +02:00
Javier Jardón
55d5ce88ec
Remove deprecated GtkTreeViewColumn functions
2010-05-03 01:41:37 +02:00
Javier Jardón
0a6557d721
Remove deprecated GtkCellRenderer function
2010-05-03 01:41:37 +02:00
Javier Jardón
c1182debd0
Remove deprecated GtkAction functions
2010-05-03 01:41:37 +02:00
Christian Dywan
ed60f1e5ad
Update gtk.symbols according to removed symbols
2010-05-03 01:41:36 +02:00
Christian Dywan
014b05e6bd
Don't use gtk_socket_steal in the socket test
2010-05-03 01:41:36 +02:00
Christian Dywan
6f5b7bad3a
Don't use old toolbar API in toolbar stress test
2010-05-03 01:41:36 +02:00
Christian Dywan
43ed74c5cd
Remove deprecated GtkCellView function
2010-05-03 01:41:36 +02:00
Christian Dywan
e641742ca0
Omit removed classes from GTK makefile
2010-05-03 01:41:36 +02:00
Christian Dywan
161e1b6916
Don't include deprecated classes in gtk.h
2010-05-03 01:40:42 +02:00
Christian Dywan
97fbd32684
Remove deprecated GtkRecentChooser functions
2010-05-03 01:40:42 +02:00
Christian Dywan
1261b3173d
Remove GtkOptionMenu completely
2010-05-03 01:40:42 +02:00
Christian Dywan
5f3178a87a
Remove GtkTipsQuery completely
2010-05-03 01:40:42 +02:00
Christian Dywan
42eb2aa930
Omit removed classes from Gail makefile
2010-05-03 01:40:42 +02:00
Christian Dywan
c44295f58c
Remove GailOptionMenu completely
2010-05-03 01:40:42 +02:00
Christian Dywan
5e686c5ec3
Remove GailCombo completely
2010-05-03 01:40:41 +02:00
Christian Dywan
754647ddd3
Remove GailList completely
2010-05-03 01:40:41 +02:00
Christian Dywan
6a7a138855
Remove GailCListCell completely
2010-05-03 01:40:41 +02:00
Christian Dywan
c1df0965d9
Remove GailCList completely
2010-05-03 01:40:41 +02:00
Christian Dywan
d7c1242a4f
Don't use deprecated classes in Gail
2010-05-03 01:40:41 +02:00
Christian Dywan
e5c56b7c0f
Remove GtkText completely
2010-05-03 01:40:41 +02:00
Christian Dywan
528e74a481
Remove GtkPreview completely
2010-05-03 01:40:41 +02:00
Christian Dywan
a8ecd09852
Remove GtkListItem completely
2010-05-03 01:40:41 +02:00
Christian Dywan
bb475d5d2e
Remove deprecated GtkStatusIcon functions
2010-05-03 01:40:41 +02:00
Christian Dywan
61a294d820
Remove deprecated GtkSocket functions
2010-05-03 01:40:41 +02:00
Christian Dywan
2da9103e0c
Remove deprecated GtkScaleButton functions
2010-05-03 01:40:41 +02:00
Christian Dywan
032b38ccfd
Remove deprecated GtkRecentManager functions
2010-05-03 01:40:41 +02:00
Christian Dywan
d21bf0c1ec
Remove deprecated GtkFileChooser functions
2010-05-03 01:40:41 +02:00
Christian Dywan
07501cf02e
Remove GtkOldEditable completely
2010-05-03 01:40:41 +02:00
Christian Dywan
49ec071c59
Remove GtkFileSelection completely
2010-05-03 01:40:41 +02:00
Christian Dywan
2d763d3430
Remove GtkList completely
2010-05-03 01:40:41 +02:00
Christian Dywan
dc21c8ef06
Remove deprecated GtkToolItem functions
2010-05-03 01:40:41 +02:00
Christian Dywan
aa21bd702f
Remove deprecated GtkColorSelection functions
2010-05-03 01:40:41 +02:00
Christian Dywan
d974436aec
Remove deprecated GtkFontSelection(Dialog) functions
2010-05-03 01:40:41 +02:00
Christian Dywan
d2468351ca
Remove deprecated GtkSpinButton function (macro)
2010-05-03 01:40:40 +02:00
Christian Dywan
474529e2c0
Remove GtkItemFactory completely
2010-05-03 01:40:40 +02:00
Christian Dywan
ea36fff086
Remove GtkCombo completely
2010-05-03 01:40:40 +02:00
Christian Dywan
b653f66b05
Remove GtkCList completely
2010-05-03 01:40:40 +02:00
Christian Dywan
f210f816ca
Remove GtkCTree completely
2010-05-03 01:40:40 +02:00
Christian Dywan
f3ea5702ab
Remove GtkTreeItem completely
2010-05-03 01:40:40 +02:00
Christian Dywan
b0149a9f3f
Remove GtkTree completely
2010-05-03 01:40:40 +02:00
Christian Dywan
5c3b5ecfce
Remove deprecated/ broken types from the default value test
2010-05-03 01:40:40 +02:00
Christian Dywan
16011da879
Remove some deprecated functions from GtkWidget
2010-05-03 01:40:40 +02:00
Christian Dywan
6513947473
Prefix gtk_selection_clear with an underscore
2010-05-03 01:39:50 +02:00
Christian Dywan
a42886d81d
Remove GtkCList, GtkCTree, GtkFileSelection and GtkPreeview tests
2010-05-03 01:39:50 +02:00
Christian Dywan
8ac9a0e67f
Remove deprecated GtkStyle functions
2010-05-03 01:39:50 +02:00
Christian Dywan
165fd5903f
Remove deprecated GtkToolbar functions
2010-05-03 01:39:50 +02:00
Christian Dywan
7d3dbb9532
Remove deprecated GtkMenuBar functions (macros)
2010-05-03 01:39:50 +02:00
Christian Dywan
956a5c47ed
Remove deprecated GtkRcStyle functions
2010-05-03 01:39:50 +02:00
Christian Dywan
2e1b3abad3
Remove deprecated GtkRadioMenuItem function (macro)
2010-05-03 01:39:50 +02:00
Christian Dywan
11e97600f0
Remove deprecated GtkTreeView functions
2010-05-03 01:39:50 +02:00
Christian Dywan
b7eed8cbff
Remove deprecated GtkMenuToolButton function
2010-05-03 01:39:50 +02:00
Christian Dywan
7e67ec8414
Remove deprecated GtkTreeModel functions (macros)
2010-05-03 01:39:50 +02:00
Christian Dywan
c4b3b13f9d
Remove deprecated GtkNotebook functions
2010-05-03 01:39:50 +02:00
Christian Dywan
025eebb49d
Remove deprecated GtkMenuItem function
2010-05-03 01:39:49 +02:00
Christian Dywan
2f1a59c0f2
Remove deprecated GtkLayout functions
2010-05-03 01:39:49 +02:00
Christian Dywan
7fd68866fe
Remove deprecated GtkImage functions
2010-05-03 01:39:49 +02:00
Christian Dywan
605705fd6b
Remove deprecated gtk_drag_set_default_icon
2010-05-03 01:39:49 +02:00
Christian Dywan
2eb26d68f6
Remove deprecated function from GtkDrawingArea
2010-05-03 01:39:49 +02:00
Christian Dywan
304f36b587
Remove deprecated functions from GtkCalendar
2010-05-03 01:39:49 +02:00
Christian Dywan
0d7d1ae8dc
Remove deprecated functions from GtkBox
2010-05-03 01:39:49 +02:00
Christian Dywan
de29ee15c6
Remove deprecated gtk_binding_entry functions
2010-05-03 01:39:49 +02:00
Christian Dywan
5a33eb8d67
Remove deprecated functions from GtkAboutDialog
2010-05-03 01:39:49 +02:00
Reşat SABIQ
dc00452d34
Updated Crimean Tatar (Crimean Turkish) translation
2010-05-02 14:07:17 -05:00
Reşat SABIQ
0a05a199c4
Updated Crimean Tatar (Crimean Turkish) translation
2010-05-02 14:07:16 -05:00
Benjamin Otte
b08a6750dc
filechooser: Fix a crash when removing files
...
The file removal code was not properly clearing the file=>array index
cache, so later lookups into that cache would return invalid array
indexes.
The easiest way to reproduce it is to create a directory with two files
and deleting both of them.
Reported-by: Javier Jardón <jjardon@gnome.org >
2010-05-02 14:34:43 +02:00
Matthias Clasen
4cf9ac5b4d
Add a frame to the examples
2010-05-01 21:40:44 -04:00
Matthias Clasen
1782151092
Doc fixes
...
Correct some Since tags.
2010-05-01 21:40:43 -04:00
Matthias Clasen
201635a203
Fix doc typos
2010-05-01 21:40:43 -04:00
Matthias Clasen
82647f274c
Integrate GtkExtendedLayout docs
2010-05-01 21:40:43 -04:00
Fran Diéguez
89a645108d
Updated Galician translation
2010-05-02 00:17:01 +02:00
Fran Diéguez
f3b2632731
Updated Galician translation
2010-05-02 00:10:08 +02:00
Kjartan Maraas
c2ef54fa5f
Updated Norwegian bokmål translation
2010-05-01 17:06:26 +02:00
Javier Jardón
1cf85176e4
Add gtk_extended_layout_get_desired_size() to gtk.symbols
2010-05-01 16:04:51 +02:00
Javier Jardón
0d85671bc9
Fix some compilation warnings
2010-05-01 03:52:03 +02:00
Matthias Clasen
db76c77b81
Merge branch 'native-layout-incubator'
...
Conflicts:
configure.in
docs/reference/gtk/tmpl/gtkaction.sgml
docs/reference/gtk/tmpl/gtkbuilder.sgml
gdk/directfb/gdkkeys-directfb.c
gdk/gdk.symbols
gdk/x11/gdkwindow-x11.c
gtk/gtkalignment.c
gtk/gtkbox.c
gtk/gtkbutton.c
gtk/gtkcelleditable.c
gtk/gtkfilechooser.c
gtk/gtkframe.c
gtk/gtkinvisible.c
gtk/gtklabel.c
gtk/gtkscrolledwindow.c
gtk/gtksearchenginetracker.c
gtk/gtktextview.c
gtk/gtktoolbutton.c
gtk/gtktooltip.c
gtk/gtkviewport.c
gtk/gtkwidget.c
gtk/gtkwindow.c
po-properties/ca@valencia.po
po-properties/es.po
po-properties/kn.po
po-properties/mr.po
po/ca.po
po/ca@valencia.po
po/el.po
po/es.po
po/gl.po
po/id.po
po/kn.po
po/lv.po
po/mr.po
po/th.po
2010-04-30 17:56:50 -04:00
Jorge González
6ea712fe09
Updated Spanish translation
2010-04-30 07:56:20 +02:00
Jorge González
e50c6e5837
Updated Spanish translation
2010-04-30 07:56:15 +02:00
Matthias Clasen
fc1450d55d
Set an appropriate title on the folder selection dialog for print-to-file
2010-04-29 17:14:14 -04:00
Matthias Clasen
556531b16f
Get symbolic colors for statusicons from systray
...
Uses the X property _NET_SYSTEM_TRAY_COLORS.
2010-04-29 17:01:25 -04:00
Matthias Clasen
1335275548
Add a way to set symbolic colors per-widget
...
The new function, gtk_widget_modify_symbolic_color() is similar
in spirit to the other gtk_widget_modify_ functions.
2010-04-29 17:01:25 -04:00
Tadej Borovšak
be3a1abc04
Move documentation to inline comments: GtkBuilder
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=611742
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-04-28 18:41:34 +02:00
Tadej Borovšak
d6bc1a99dc
Move documentation to inline comments: GtkButtonBox
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=612349
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-04-28 18:41:34 +02:00
Tadej Borovšak
ef4e7b2473
Move documentation to inline comments: GtkBox
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=611742
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-04-28 18:41:33 +02:00
Javier Jardón
fa3bb041eb
Fix <ulink> tag in previous commit
2010-04-28 18:41:33 +02:00
Matthias Clasen
3833ef5c35
Fix the build
2010-04-28 11:17:30 -04:00
Matthias Clasen
b3dd3a89d3
Formatting tweaks
2010-04-28 11:15:15 -04:00
Matthias Clasen
5d5d93e624
Make the docs build
...
Grr
2010-04-28 11:10:34 -04:00
Matthias Clasen
50656c74e3
Some doc and formatting tweaks
2010-04-28 10:04:21 -04:00
Matthias Clasen
6b939d57c7
Support 'symbolic' themed icons
...
Add gtk_icon_info_load_symbolic() to load symbolic icons, and
theme their background/foreground colours to match the
colours used in the theme.
Adds the gtk_icon_info_load_symbolic() function, explicit
support in GtkImage and GtkCellRendererPixbuf, and test cases
for those 2 widgets.
With help from Bastien Nocera <hadess@hadess.net >
https://bugzilla.gnome.org/show_bug.cgi?id=614711
2010-04-28 12:02:05 +01:00
Matthias Clasen
c8dd9895e4
Add some documentation about width-chars and max-width-chars
...
Explain how these properties determine the width of ellipsized
and wrapped labels.
2010-04-28 00:48:15 -04:00
Javier Jardón
3cc9575323
Move documentation to inline comments: GtkHBox
2010-04-28 04:29:41 +02:00
Javier Jardón
a6ed128abf
Move documentation to inline comments: Testing utilities
2010-04-28 04:20:10 +02:00
Javier Jardón
1e2dabf31d
Allow NULL as 'icon_widget' in gtk_tool_button_new()
...
This completes the patch of
commit b8ec73a52f
2010-04-27 03:26:11 +02:00
Javier Jardón
d3d4cf0e84
Deprecate GTK_WIDGET_*SET_FLAGS() macro
...
The macro GTK_WIDGET_SET_FLAGS(w, GTK_VISIBLE) should
still be fixed internally.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-27 02:45:18 +02:00
Mirsal Ennaime
5eaff47e85
Add accessors for GtkTextView adjustments
...
GtkTextView is missing accessors for its sealed hadjustment
and vadjustment members.
This patch adds gtk_text_view_get_hadjustment() and
gtk_text_view_get_vadjustment() to GtkTextView
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=616053
2010-04-27 02:23:07 +02:00
Matthias Clasen
538ec4efbb
Add a GtkExtendedLayout implementation for GtkFrame
2010-04-26 18:07:42 -04:00
Javier Jardón
41a073263a
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_HAS_DEFAULT)
...
Introduce internal _gtk_widget_set_has_default() for this
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=614515
2010-04-26 21:10:15 +02:00
Javier Jardón
45257e31c7
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_TOPLEVEL)
...
Introduce internal _gtk_widget_set_is_toplvel() for this
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=614510
2010-04-26 21:07:20 +02:00
Javier Jardón
560e426f16
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_HAS_GRAB)
...
Introduce internal _gtk_widget_set_has_grab() for this
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=614513
2010-04-26 21:04:51 +02:00
Javier Jardón
b8ec73a52f
Only a GtkMisc widget should be passed to gtk_tool_button_new()
...
Reported by Hernando Torque here:
https://bugzilla.gnome.org/show_bug.cgi?id=616851
2010-04-26 20:23:39 +02:00
Emmanuele Bassi
621b415e5b
tree-view: Use gtk_widget_send_focus_change()
...
Remove the second (and last) internal user of the GTK_HAS_FOCUS flag.
https://bugzilla.gnome.org/show_bug.cgi?id=593671
2010-04-26 18:59:24 +01:00
Emmanuele Bassi
91930f86b2
window: Use gtk_widget_send_focus_change()
...
Remove the original user of the GTK_HAS_FOCUS flags.
https://bugzilla.gnome.org/show_bug.cgi?id=593671
2010-04-26 18:59:23 +01:00
Emmanuele Bassi
f04a720348
widget: Add send_focus_change()
...
Currently the only users of the GTK_HAS_FOCUS flag are setting it
before sending a focus change event. This is normally needed by
GtkWindow, but there are widgets that require controlling the focus
of widgets that are semantically their children even though they are
parented to another top-level. Case in point: the quick search entry
for GtkTreeView.
Over the years people have been hacking the focus change out of
gtkwindow.c and gtktreeview.c, thus leaking the direct access of the
GTK_HAS_FOCUS flag.
The simplest way to avoid that is to add a function that sends the
focus change event and controls the setting of the flag, thus removing
the need for external widgets to do the same.
https://bugzilla.gnome.org/show_bug.cgi?id=593671
2010-04-26 18:59:22 +01:00
Matthias Clasen
cd45dfaa1d
Tiny documentation tweak
2010-04-26 07:34:01 -04:00
Mike Gorse
15482528a5
Implement action interface for gailcell.
...
Bug #580889 .
2010-04-26 16:12:59 +08:00
Matthias Clasen
a0b61a5a72
Make testellipsize work for rotating non-ellipsized labels
2010-04-25 20:58:36 -04:00
Matthias Clasen
36c3eaea81
Refer to GtkExtendedLayout from the container docs
2010-04-25 17:32:44 -04:00
Matthias Clasen
f285ed1348
Treat h and v boxes the same way
...
...we've got the money!
2010-04-25 17:12:15 -04:00
Matthias Clasen
ff267664b8
Fix a few typos
2010-04-25 16:59:13 -04:00
Matthias Clasen
bcbd7cce13
Don't add padding to a pointer
2010-04-25 16:45:21 -04:00
Matthias Clasen
ff0eb03201
Fix a regression in RTL flipping
...
This was only showing up with pack-end packing in horizontal boxes.
The RTL flipping has to be applied after moving the reference point
to the left edge of the child.
2010-04-25 16:23:01 -04:00
Peteris Krisjanis
52887f0006
Updated Latvian translation.
2010-04-24 21:40:15 +03:00
Baurzhan Muftakhidinov
1ab3fc02f9
Added Kazakh translation
2010-04-24 12:30:03 +02:00
Matthias Clasen
148ea63dba
Formatting and typo fixes
2010-04-23 21:52:55 -04:00
Florian Scandella
53fae3247c
Add heuristic for primary monitor
...
Use the first monitor returned by RANDR as primary, if primary
is not set and no LVDS is found.
https://bugzilla.gnome.org/show_bug.cgi?id=615128
2010-04-23 23:42:02 +02:00
Carles Ferrando
093722fcc8
Updated Catalan (Valencian) translation
2010-04-23 00:15:20 +02:00
Carles Ferrando
e816ab7cff
Updated Catalan (Valencian) translation
2010-04-23 00:10:32 +02:00
Torsten Schönfeld
85d166fbb9
[docs] Fix a typo in the offscreen windows docs
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=616565
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-04-22 23:17:32 +02:00
Claude Paroz
5e22dd4e43
Revert "Make GTK+ Tutorial gnome-doc-utils compliant"
...
This reverts commit 4d1cf25080 .
GTK+ maintainers should first approved the gnome-doc-utils dependency
before this migration.
2010-04-22 21:11:53 +02:00
Claude Paroz
4d1cf25080
Make GTK+ Tutorial gnome-doc-utils compliant
2010-04-22 20:18:32 +02:00
Matthias Clasen
78e68d4548
Update the gdk_event_free docs
...
Bug 616118
2010-04-22 14:13:35 -04:00
Shankar Prasad
af06c64edb
Updated Kannada translations
2010-04-22 16:33:24 +05:30
Shankar Prasad
206f2bbfa8
Updated Kannada translations
2010-04-22 16:30:17 +05:30
Mike Gorse
3f78773862
Notify ATK_STATE_ENABLED change when ATK_STATE_SENSITIVE changes if necessary.
...
Bug #615999 .
2010-04-22 12:24:41 +08:00
Tristan Van Berkom
909ca43c1a
Renamed testextendedlayout2 --> extendedlayoutexample, also removed testextendedlayout and letting it reside for now in native-layout branch.
2010-04-21 04:11:55 -04:00
Tristan Van Berkom
2a5272647d
Mega commit backing out everything from the native-layout branch that
...
is not ready for integration
This commit makes the native-layout branch into a reasonable
patch applicable to git master, it pulls out GtkCellRenderer
support, ComboBox support, the Plug/Socket api is also not ready
and is pulled out.
2010-04-21 03:42:23 -04:00
Tristan Van Berkom
9306a73dfd
Added documentation, implemented gtk_extended_layout_is_height_for_width() where needed.
2010-04-21 01:32:55 -04:00
Javier Jardón
95fd5011c2
Move documentation to inline comments: GtkMessageDialog
...
Also, add a note about GTK_BUTTONS_OK, GTK_BUTTONS_YES_NO
and GTK_BUTTONS_OK_CANCEL are discouraged by the GNOME HIG.
https://bugzilla.gnome.org/show_bug.cgi?id=597865
2010-04-21 05:57:29 +02:00
Tristan Van Berkom
504ec365a7
Improved legibility of the label parameters test.
2010-04-20 22:02:48 -04:00
Tristan Van Berkom
7db18bb726
Added test reflecting the usage of GtkLabel parameters.
2010-04-20 20:44:24 -04:00
Tristan Van Berkom
a3a245ab56
Updated test for api change.
2010-04-20 20:44:11 -04:00
Tristan Van Berkom
4d06d75dce
Updating test for api change.
2010-04-20 20:43:41 -04:00
Tristan Van Berkom
680d7762ba
Make sure not to base the minimum size on "max-width-chars", only the natural size.
2010-04-20 20:30:10 -04:00
Tristan Van Berkom
630357beb3
Added test to demonstrate width-for-height labels.
2010-04-20 18:58:44 -04:00
Tristan Van Berkom
dfd311497d
Fixed GtkLabel to wrap correctly and report width-for-height correctly when vertical.
2010-04-20 18:54:50 -04:00
Tristan Van Berkom
d5b31c303c
Slightly reduced extended layout cache size, updated authors/copywrite year.
2010-04-20 18:53:54 -04:00
Tristan Van Berkom
17883f3ce6
Fixed GtkLabel to include GtkMisc padding when calculating height-for-width.
2010-04-20 15:23:13 -04:00
Tristan Van Berkom
80428e7745
Restore layout in get_desired_size() after guessing a wrap width
...
This fixes the label layout in cases where gtk_widget_size_request()
is called on a label without a following size_allocate(), for instance
when a button state changes.
2010-04-20 14:16:13 -04:00
Tristan Van Berkom
4ed5e6d526
Various updates to follow new gtk_extended_layout_get_desired_size added argument.
2010-04-20 01:30:56 -04:00
Tristan Van Berkom
b7a05d1832
Fixed missing return from get_desired_width/height in GtkViewport (causing testgtk to have a small width).
2010-04-20 01:27:32 -04:00
Tristan Van Berkom
c927f5e60d
Split up width and height queries so that they make more sense (extended-layout)
2010-04-20 01:26:58 -04:00
Tristan Van Berkom
0330658a7f
Added request_natural argument to get_desired_size()
...
Currently get_desired_size() is more of an emulation of
gtk_widget_size_request() for the minimum size as it bases the
contextual request on the minimum preferred size; this argument
lets you do the request with the natural preferred size as well.
2010-04-20 01:24:51 -04:00
Tristan Van Berkom
3a9ab87489
GtkAlignment now tries to allocate natural size to the child if available and does the height-for-width calculation depending on allocation.
2010-04-20 01:22:31 -04:00
Tristan Van Berkom
0b92348077
Fixed acces of child->requisition; call gtk_widget_get_child_requisition instead.
...
This fixes squished pathbar issue (as access to ->requisition is really
not supported anymore).
2010-04-20 00:33:20 -04:00
Tristan Van Berkom
b0fc43e958
Reduced natural request padding for rotating ellipsizing labels
...
After fixing height requests this works much smoother, although in
some places pango seems to ellipsize a rotated label when given
the width it requested.
2010-04-19 21:50:55 -04:00
Tristan Van Berkom
8ae5e01225
Fixed another caching bug in extended layout
...
Was confusing width/height REQUEST_NEEDED flags, this caused
the volumebutton test to not re-request the height properly
when changing orientations.
2010-04-19 21:37:44 -04:00
Tristan Van Berkom
de4a8f8ddc
Unconditionally return the height for the minimum width when doing get_desired_height()
...
This is the correct support for the opposing orientation for widgets
that support height-for-width, in an interface that was realized as
width-for-height, a height-for-width supporting widget should return
the minimum height for the minimum width when the initial
get_desired_height() is run.
2010-04-19 20:43:19 -04:00
Tristan Van Berkom
ee8db39393
Fixed height-for-width cache
...
Fixed the cache to be cleared when flagged with WIDTH/HEIGHT_REQUEST_NEEDED.
This error was causing some widgets to not be sized correctly (the stock and
icon browser in the demo for instance).
2010-04-19 20:41:23 -04:00
Tristan Van Berkom
119267d7c8
Removing old comments in gtkbin.c
2010-04-19 20:40:04 -04:00
Tristan Van Berkom
3783a0a54f
Fixed computation of sizegroups when no explicit request is set.
...
My previous commit to GtkSizeGroup made sure that when
gtk_widget_set_size_request() is set on a widget, it will be
taken into account when computing the widget's own request,
this commit fixes the case where there is no explicit size
request.
2010-04-19 14:46:28 -04:00
Tristan Van Berkom
e9e3725ee7
Fixed testellipsize
2010-04-19 14:04:20 -04:00
Claudio Saavedra
51a1af7aa4
Use the proper screen in _gdk_windowing_get_shape_for_mask()
...
Bug 615853 - BadMatch when pressing keyboard volume keys while pointer in
secondary X screen
_gdk_windowing_get_shape_for_mask() is using the default screen, not taking
into account that its GdkBitmap could have been created for a different one,
causing BadMatch errors.
2010-04-19 18:51:27 +03:00
Javier Jardón
4e50724471
Bump version to 2.21.0
2010-04-19 17:46:51 +02:00
Tristan Van Berkom
a141c66253
Added testextendedlayout2.c to tests.
...
This test is a collection of builder files which demonstrate the
added features of natural sizes and height-for-width geometry; so
far it only contains 3 cases, more to come...
2010-04-19 01:07:20 -04:00
Tristan Van Berkom
0dff033a64
Fixed GtkSpinner to request 12x12 at init time instead of at expose time.
...
This should not change the space taken by the spinner when hidden,
and it should only set the minimum size not the actual size (i.e. code
in place was conditionally setting it if not allocated 12x12, which
doesnt really make sense)... This fixes spinners showing at the correct size
in gtk-demo.
2010-04-18 20:46:30 -04:00
Tristan Van Berkom
4c1fa76520
Fixed _gtk_size_group_bump_requisition() to properly handle values specified by gtk_widget_set_size_request()
2010-04-18 20:45:42 -04:00
Tristan Van Berkom
e997ac37a7
Added GTK_DEBUG_EXTENDED_LAYOUT flag and use that for debuggin in gtkextendedlayout.c
2010-04-18 20:14:13 -04:00
Tristan Van Berkom
6dc5cdb981
Implemented GtkExtendedLayout on GtkWindow.
2010-04-18 20:13:46 -04:00
Tristan Van Berkom
fe257d23dd
Fixed GtkAssistant to not access ->requisition of children directly.
...
This was causing a 0 height action-area because a GtkBox does not
generally update ->requisition with anything useful
(call gtk_widget_get_child_requisition() here instead).
2010-04-18 20:11:43 -04:00
Tristan Van Berkom
3cbd9e9313
Further fixed base outputs of GtkLabel desired geometries.
...
Now (when wrapping), if no "width-chars" was specified for a minimum
width, default to the width guessed by gtk_label_ensure_layout(), small
specified widths will otherwise result in very large height requests.
2010-04-18 18:13:56 -04:00
Tristan Van Berkom
da318411dc
Fixed bug in gtk_extended_get_desired_size().
...
gtk_extended_get_desired_size() was mixing up orientations based
on the preference, considering ditching the preference anyway.
Also slightly enhanced debug prints.
2010-04-18 18:12:30 -04:00
Tristan Van Berkom
35cc52f418
Compute the collective heights for the width of a horizontal box.
...
Introduce an algorithm to allocate children some virtual widths based on
their base widths returned by ->get_desired_width(), then return the
collective desired heights for each or thier virtually allocated width.
This will only work in the horizontal orientation.
2010-04-18 18:09:40 -04:00
Tristan Van Berkom
33039c1452
Fixed extended layout test to compile without the gtk_label_set_fullsize() api.
2010-04-18 17:56:58 -04:00
Javier Jardón
791962e06d
Include <X11/Xutil.h> in gdkdnd-x11.c
...
Otherwise, inclusion of shape.h triggers an unknown type error
for Region, and compile fails, at least in Solaris.
Reported by Philip Brown here:
https://bugzilla.gnome.org/show_bug.cgi?id=615028
2010-04-18 19:54:22 +02:00
Javier Jardón
72d5cc8cd5
[docs] Move documentation to inline comments: GailTextUtil and GailMisc
2010-04-18 19:46:29 +02:00
Javier Jardón
508ed4bbab
[docs] Move documentation to inline comments: GtkArrow
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=611957
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-04-18 17:59:53 +02:00
Steven Harms
c3d5faf6b7
[docs] Move documentation to inline comments: GtkVButtonBox
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=611833
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-04-18 08:54:40 +02:00
Tadej Borovšak
5f767e2c48
[docs] Move documentation to inline comments: GtkAssistant
...
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-04-18 08:02:03 +02:00
Tadej Borovšak
51e32fe67a
[docs] Move documentation to inline comments: GtkBuildable
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=611741
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-04-18 05:27:22 +02:00
Tadej Borovšak
8e8d302d10
[docs] Move documentation to inline comments: GtkBin
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=612351
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-04-18 05:19:21 +02:00
Tadej Borovšak
4c0cf04688
[docs] Move documentation to inline comments: GtkAspectFrame
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=611958
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-04-18 05:08:36 +02:00
Tristan Van Berkom
e8a365ce36
Restore functionality where ellipsizing label *minimum* size grows to "max-char-width".
2010-04-17 23:06:24 -04:00
Tadej Borovšak
b802be45b3
[docs] Move documentation to inline comments: GtkAlignment.
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=611956
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-04-18 04:55:27 +02:00
Tristan Van Berkom
64e23c42bd
Fixed GtkLabel reported minimum and natural sizes
...
This commit makes GtkLabel use "max-width-chars" to determine the
desired natural width for wrapping labels as well as all around refactoring
the initially reported values in get_desired_width/height. this also
addresses some issues with rotating ellipsizing text.
2010-04-17 22:54:29 -04:00
Tristan Van Berkom
8b57ad94c0
Now gtk_extended_layout_get_desired_size() returns a minimum for minimum in the minimum requisition and a natural for minimum in the natural.
2010-04-17 22:52:27 -04:00
Tristan Van Berkom
b30445c927
Make GtkWindow use the generic smallest size for the requisition again
2010-04-17 22:51:35 -04:00
Tristan Van Berkom
19ff8cb026
Fixed test to call the extended layout api instead of consulting ->requisition
2010-04-17 22:50:12 -04:00
Tadej Borovšak
b6a6142556
[docs] Move documentation to inline comments: GtkAction
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=611952
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-04-18 04:49:51 +02:00
Steven Harms
6cdeb370a1
[docs] Move documentation to inline comments: GtkVRuler
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=611656
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-04-18 03:55:22 +02:00
Steven Harms
25b6994cba
[docs] Move documentation to inline comments: GtkVolumeButton
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=611827
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-04-18 03:48:26 +02:00
Steven Harms
7693026e44
[docs] Move documentation to inline comments: GtkViewport
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=611829x
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-04-18 03:29:16 +02:00
Steven Harms
75ffa7983a
[docs] Move documentation to inline comments: GtkVPaned
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=611634
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-04-18 02:57:30 +02:00
Patrick Bernaud
6a9b72525a
[docs] Move documentation to inline comments: GtkSocket
...
https://bugzilla.gnome.org/show_bug.cgi?id=611707
2010-04-18 02:36:04 +02:00
Tristan Van Berkom
9247bc8d6d
Fixed GtkExtendedLayout interaction with sizegroups plus cleanups
...
Fixed GtkExtendedLayout to interact with sizegroups, "size-requsts"
and caching the values all in the same code segment.
Migrated the cache code to be internal to gtkextendedlayout.c
2010-04-17 01:51:10 -04:00
Tristan Van Berkom
46fe9c3f00
Disabling natural sizes of labels.
...
Since GtkLabel is returning invalid natural sizes for now,
in order to test regressions well with the new width-for-height
api, I've temporarily disabled the natural values.
2010-04-17 01:49:35 -04:00
Tristan Van Berkom
caba7992b8
Refactored GtkSizeGroup for GtkExtendedLayout
...
Removed _gtk_size_group_compute_requisition and
_gtk_size_group_get_child_requisition in favor of
_gtk_size_group_bump_requisition() which does an orientation
contextual computation of the size group and returns the
collective value in one pass.
2010-04-17 01:46:59 -04:00
Stefan Kost
d4a159d488
[docs] improve docs for gtk_accelerator_parse().
...
Link to gdk_keyval_from_name() and give example for non obvious accelerator
strings.
2010-04-16 21:30:47 +03:00
Javier Jardón
edfcc3dd41
[docs] Fix GtkWidget and GtkFileChooser documentation
...
gtk-doc version >= 1.14 is more strict, It produces valid xml
if the source is valid.
2010-04-15 22:58:39 +02:00
Javier Jardón
06f66c185a
Fix compilation warning: set a default case in switchs
2010-04-15 21:10:32 +02:00
Javier Jardón
8cde95bc5f
Fix compilation warning: remove unused variable
2010-04-15 16:19:42 +02:00
Andika Triwidada
6680266093
Updated Indonesian translation
2010-04-15 20:32:58 +07:00
Michael Natterer
9cac8f23d5
gdk: remove convert_coords_to_child()
...
and use the new public gdk_window_coords_from_parent().
2010-04-15 13:16:17 +02:00
Michael Natterer
878cde53d0
gdk: use gdk_window_is_offscreen() instead of checking manually
2010-04-15 13:08:47 +02:00
Michael Natterer
ece97b2359
Bug 615162 - Fix tooltips on offscreen widgets
...
Fix the "widget under pointer" logic and keyboard tooltip positioning
to do the right thing on offscreen widgets.
2010-04-15 13:03:43 +02:00
Michael Natterer
fdf936b5ad
gtk: fixes for offscreen widgets
...
Fix gtk_widget_translate_coordinates() and
_gtk_widget_synthesize_crossing() so they work in hierarchies with
offscreen widgets.
2010-04-15 13:02:04 +02:00
Michael Natterer
5a52d2a2f0
gdk: add API to convert coords between parent and child windows
...
which also works for offscreen windows and their embedder.
Also add gdk_window_get_effective_parent() and
gdk_window_get_effective_toplevel() which are offscreen aware.
2010-04-15 12:59:44 +02:00
Tristan Van Berkom
8432f54c51
Added _gtk_size_group_bump_requisition()
...
Added a function to update sizegroups in multiple passes, this
way the width and height can be updated in the sizegroups after
querying the extended layout implementor for these.
Implemented this in GtkExtendedLayout, sizegroups should be working reasonably now.
2010-04-14 18:07:27 -04:00
Sandeep Shedmake
615f91dadd
Updated Marathi Translations
2010-04-14 17:51:16 +05:30
Sandeep Shedmake
9990b14d1a
Updated Marathi Translations
2010-04-14 15:53:53 +05:30
Vincent Untz
9b34203cb6
No accessor for GtkAccessible.widget
...
Add gtk_accessible_get_widget().
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=612509
2010-04-14 03:49:26 +02:00
Javier Jardón
7dcb7ec357
[docs] Fix gtk_button_box_set_child_size() documentation
...
Changing these variables is not supported anymore and can
only be set through the theme.
2010-04-13 21:23:14 +02:00
Martyn Russell
100ecea239
Fixed build failure for gtkorientable
2010-04-13 11:22:45 +01:00
Martyn Russell
72c51a5a6a
tracker-search-engine: Fixed whitespace issues and copyright/authors
2010-04-13 11:13:58 +01:00
Martyn Russell
f5781b42cf
tracker-search-engine: Improve search query to order by rank and title
2010-04-13 11:13:58 +01:00
Martyn Russell
f6c1d54b3f
tracker-search-engine: Fixed 0.7/0.8 issues and add 0.9 cases
2010-04-13 11:13:58 +01:00
Javier Jardón
af0a7aea5f
Use G_DEFINE_INTERFACE macro in gtkbuildable
...
https://bugzilla.gnome.org/show_bug.cgi?id=605186
2010-04-13 07:44:12 +02:00
Javier Jardón
9f6e03f231
Use G_DEFINE_INTERFACE macro in gtkorientable
...
https://bugzilla.gnome.org/show_bug.cgi?id=605186
2010-04-13 07:43:51 +02:00
Javier Jardón
e534897216
Use G_DEFINE_INTERFACE macro in gtkcelleditable
...
https://bugzilla.gnome.org/show_bug.cgi?id=605186
2010-04-13 07:42:34 +02:00
Tristan Van Berkom
d2c35ec62a
Mega commit to change ->get_desired_size() for ->get_desired_width/height().
...
This commit changes gtk_extended_layout_get_desired_size() for
per dimension variants. Furthermore this commit reverts the actions
done in size-groups for now as it needs a different approach.
The natural width/height parameters added to aux_info have been changed
for a per width cache for heights and a per height cache for widths.
gtk-demo is still working, currently sizegroups are not taken
into account as mentioned above - size groups need to be alerted both
when the widths and heights are updated independantly and then that
information needs to repropagate also to other extended layout implementors.
2010-04-12 22:21:46 -04:00
Tor Lillqvist
d5585745f1
Need to include Makefile.decl in the new Makefile.am files
...
Otherwise make check breaks.
2010-04-12 23:47:52 +03:00
Javier Jardón
5bcf3ba72a
Fix compilation warning: move function to proper location
...
Move _count_nodes() auxiliar function inside the
G_ENABLE_DEBUG define, where other auxiliar functions are.
2010-04-12 22:10:38 +02:00
Javier Jardón
3e5d49f52b
Fix compilation warning: Use G_ENABLE_DEBUG to enable the var
2010-04-12 22:10:34 +02:00
Tor Lillqvist
b3bd16e8bb
Use a honestly bogus GTK_LOCALEDIR in config.h.win32.in
...
Instead of something that looks like it might actually be intended to
exist.
2010-04-12 13:44:59 +03:00
Tor Lillqvist
34916b01ec
Some people use a hacked libtool that doesn't even install .la files
2010-04-12 13:42:31 +03:00
Tor Lillqvist
e544602065
Add Visual Studio 2008 project files
...
Similar setup as in GLib and Pango. Also here we use a build/win32/vs9
subfolder, even if there is nothing else in build or build/win32.
2010-04-12 12:45:40 +03:00
Tor Lillqvist
8d17d157ba
Update to match what configure produces
...
Just trivial irrelevant stuff.
2010-04-12 12:45:39 +03:00
Tristan Van Berkom
1b2be80f10
Constrain the window to the minimum width for the natural height
...
GtkWindow now requests the minimum width for the natural height
of its child, or the opposite; depending on ->get_height_for_width.
Currently its not done for GTK_WINDOW_POPUP windows as the menushells
aren't working right yet.
2010-04-10 22:48:13 -04:00
Tristan Van Berkom
6b89f05a99
Implemented gtk_extended_layout_is_height_for_width() and added another guess algorithm
...
This patch adds another commented algorythm to find the collective
minimum and natural height for a said width of a horizontally oriented
box (or the opposite). The algorithm works quite well and can be optimized
a bit more - currently its commented because GtkLabel cannot effectively
do width-for-height calculations (doh).
Further, this patch returns an is_height_for_width() preference depending
on the boxes orientation (vertical boxes are width-for-height).
2010-04-10 22:39:11 -04:00
Tristan Van Berkom
639e396147
Fixed gtkbin.c:parent_extended_layout_iface to be static.
2010-04-10 22:38:47 -04:00
Tristan Van Berkom
24950ec144
Added gtk_extended_layout_is_height_for_width()
...
Added an indicator telling whether a widget prefers to be allocated
as height-for-width or width-for-height. Usually this depends on the
orientation of a container or the nature of a content widget like GtkLabel.
This indicator is only used in the seldom case where a parent is allocating
free space to the child and the child can flow in either direction, GtkWindow
and GtkScrolledWindow are users of this api.
2010-04-10 22:32:55 -04:00
Tristan Van Berkom
629bb5a265
Fixed warnings due to missing GTK_WIDGET (cellview) casting.
2010-04-10 22:31:52 -04:00
Tristan Van Berkom
c0e950f17b
Fixed wrapping labels to show up correctly aligned inside their allocations.
2010-04-10 22:30:42 -04:00
Tristan Van Berkom
c67559ad03
Adding tests ported over from the old branch by Matthias.
2010-04-10 22:03:20 -04:00
Tristan Van Berkom
1041a186c7
Added get_height_for_width/get_width_for_height implementation to GtkBox.
...
In order for natural size information to cascade correctly up through
the ancestry GtkBox needs to report height-for-width and width-for-height,
this patch includes an implementation for both in both orientations, one
of them is commented for now as its much too cpu intensive to actually use.
2010-04-09 21:50:33 -04:00
Tristan Van Berkom
35e2dfce08
Fixing height-for-width wrapping of GtkLabel
...
Merged in fixes from the old branch in a patch prepared by Matthias Clasen,
added some fixes of my own to make sure that label wrapping follows allocation
and not requisition at show time (allocate time).
2010-04-09 21:47:25 -04:00
Johan Bilien
d36b281a58
Fixed annotation of gdk_screen_get_rgb_colormap and similar
...
These return an object with no extra references, need to be transfer
none.
2010-04-09 13:53:19 -04:00
Javier Jardón
eb7121c4e6
[directfb] Fix compile error on DirectFB backend.
...
Add a stub for gdk_keymap_add_virtual_modifiers()
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=613988
2010-04-09 18:15:55 +02:00
Matthias Clasen
b4adea7477
Fix a silly mistake in primary_monitor handling
...
It doesn't make sense to determine an index into an array, if
you are going to sort the array afterwards...pointed out in
bug 615128 by Florian Scandella.
2010-04-09 09:05:38 -04:00
Tristan Van Berkom
73056e92d8
Reimplemented GtkExtendedLayout on GtkBin
...
Instead of implementing ->get_desired_size() on GtkBin, which
cant really be done because border widths are in the domain of
the concrete subclasses; here we implement only the get_height_for_width
and get_width_for_height apis - GtkBin subclasses whom might have a
variable border width depending on allocations need to write their
own height-for-width implementations.
2010-04-09 00:19:42 -04:00
Tristan Van Berkom
b3303727ad
Fixed regression in GtkImage size requests
...
Fixed gtksizegroup.c:do_size_request() to never force an initial requisition
as some widgets expect it to remain unchanged across resizes (GtkImage
with pixbufs/filenames assigned is one of these cases).
2010-04-08 22:05:36 -04:00
Tristan Van Berkom
7304e4227f
Fixed gtk_box_size_allocate() for homogeneous boxes
...
gtk_box_size_allocate() was forgetting to fetch the minimum
size for children when allocating in homogeneous mode and then
accessing the uninitialized allocated values in that case, fixed.
2010-04-08 21:45:07 -04:00
Tristan Van Berkom
ffffa7361c
Implemented GtkExtendedLayout on GtkComboBox.
...
With this commit it is possible to use ellipsizing text
in the combobox's cell renderers and have them desire to
expand to natural size when placed in a GtkBox.
2010-04-08 18:54:47 -04:00
Tristan Van Berkom
531b449580
Deprecated gtk_widget_size_request and gtk_widget_get_child_requisition()
...
Ever since size groups gtk_widget_size_request() can be used in place
of gtk_widget_get_child_requisition(), deprecating both now in favor
of gtk_extended_layout_get_desired_size().
2010-04-08 18:53:23 -04:00
Tristan Van Berkom
99425f15f5
Added assertions
...
Added assersions that gtk_extended_layout_get_height_for_width()
methods return minimum sizes lesser than the natural size.
2010-04-08 18:52:12 -04:00
Tristan Van Berkom
1706608de3
Simplified code in GtkSizeGroup, fixes minimum natural size.
...
collapse get_fast_child_requisition && get_fast_natural_size into
a single get_fast_size() function which uses the possibly hard coded
minimum request as a minimum value for the returned desired size
(this fixes cases where widgets unwarily return height-for-width
with minimum size > natural size).
2010-04-08 18:49:34 -04:00
Tristan Van Berkom
36ef655061
Added gtk_cell_view_get_size_of_row() to gtk.symbols
2010-04-08 18:48:42 -04:00
Tristan Van Berkom
143660eff6
GtkCellView refactoring for extended layout
...
Added gtk_cell_view_get_desired_size_of_row() to report full
extended layout information for a said row, this obsoletes
gtk_cell_view_get_size_of_row(). Also make GtkCellView queue
a resize on itself when cell renderers are added/removed.
2010-04-08 18:46:19 -04:00
Thanos Lefteris
f5344f8d93
Updated Greek translation for gtk+
2010-04-09 01:45:17 +03:00
Tomas Bzatek
faf0beede0
FileChooser: Initialize search engines on demand
...
We postpone initialization of the search engines until
it's really needed. See bug 614971 for reference.
2010-04-07 15:07:05 +02:00
Tomas Bzatek
a812fcb305
Support for tracker 0.8 stable release
2010-04-07 15:02:18 +02:00
Tristan Van Berkom
b10f2fc001
Some extended layout fixes for GtkCellView
...
Fixed GtkCellView to use the new GtkExtendedCell interface to get
natural size from cells and factored out the old size_request() method.
2010-04-07 01:27:15 -04:00
Tristan Van Berkom
51ffd59884
Implement GtkExtendedLayout on GtkButton
...
GtkButton as a content type of widget needs to forward natural size information
to parent containers in order to be resized naturally.
2010-04-06 20:48:41 -04:00
Tristan Van Berkom
85a55b2921
Implement GtkExtendedLayout on Alignment
...
GtkAlignment is already using the height for width api to align
the child in the cases where space is available, but also needed
to implement the extended layout in order to reflect natural sizes
to parent widgets.
2010-04-06 20:47:15 -04:00
Matthias Clasen
0efb24f589
Yet another fix for shape handling
...
This should fix problems with awn and notify-osd.
2010-04-06 20:33:19 -04:00
Tristan Van Berkom
388ad4090c
Implemented GtkExtendedLayout on GtkViewport
2010-04-06 17:15:50 -04:00
Tristan Van Berkom
b9516e70f5
Add notes to GtkBuilder docs about the possible error domains, closed bgo #560147
2010-04-06 16:27:40 -04:00
Tristan Van Berkom
d92ee6dc68
Fixed gtk_builder_value_from_string_type() to always assign the GError
...
when returning FALSE, fixes bgo #615000 .
2010-04-06 16:25:43 -04:00
Theppitak Karoonboonyanan
b9002febd8
Updated Thai translation.
2010-04-06 15:08:47 +07:00
Tristan Van Berkom
a17e12c87d
Implement GtkExtendedCell on GtkCellRendererText
2010-04-06 03:05:52 -04:00
Tristan Van Berkom
59dafa77dc
Use new gtk_tree_view_column_get_desired_size()
2010-04-06 03:05:20 -04:00
Tristan Van Berkom
3128bd0937
Added gtk_tree_view_column_get_desired_size() as its a corner case
...
that does not fall under the two categories.
2010-04-06 03:03:55 -04:00
Tristan Van Berkom
bb86e61171
Added GtkExtendedCell interface (last commit)
2010-04-06 03:03:03 -04:00
Tristan Van Berkom
7beb83cea4
Add new GtkExtendedCell interface
...
Added a new interface to extend layout information of GtkCellRenderers,
GtkCellRenderer is a prerequisite of GtkExtendedCellIface and provides
a base implementation of ->get_desired_size() with ->get_size().
Note that the api for GtkExtendedCell differs from GtkExtendedLayout
since the cells need to be passed an additional widget to calculate
sizes contextual to the widget/screen (fonts etc).
2010-04-06 02:59:21 -04:00
Tristan Van Berkom
8263633478
Remove gtk_widget_get_desired_size()
2010-04-06 02:56:20 -04:00
Tristan Van Berkom
68c38e0ffd
Fixed classes to call gtk_extended_layout_get_desired_size_again()
...
The previous patch removes the ambiguous gtk_widget_get_desired_size().
2010-04-06 02:55:07 -04:00
Tristan Van Berkom
ef32192329
Call the ->get_desired_size() method directly on the vtable
...
This commit is a mistake, it should have been included with the last
commit.
2010-04-06 02:53:51 -04:00
Tristan Van Berkom
92309019e5
Make GtkWidget a prerequisite of extended layout
...
As it is not allowed to called gtk_extended_layout_get_desired_size()
on a GtkWidget directly; gtk_widget_get_desired_size() was really an
ambiguous api. This patch removes the added GtkWidget api, calls
the appropriate sizegroup code which in turn envokes the interface
vtable, this patch also accordingly makes GtkWidget a prerequisite
of GtkExtendedLayout (the api doesnt work for cell renderers anyway,
patch comming...).
2010-04-06 02:47:20 -04:00
Adel Gadllah
20dacce4d8
[GdkScreenX11] Fix check in gdk_screen_get_primary_monitor
...
Fix bug in last commit.
2010-04-06 02:41:55 +02:00
Adel Gadllah
5651cbc4b4
[GdkScreenX11] Add heuristic for pre XRandR 1.3 drivers
...
Currently gdk_screen_get_primary_monitor just returns the first monitor,
in this case but both the panel and now gnome-shell use an additional
heuristic to prefer LVDS as primary if present.
Move this heuristic to gdk_screen_get_primary_monitor to avoid duplicating
it all over the place.
The fallback heuristic is also used when no primary output is set.
https://bugzilla.gnome.org/show_bug.cgi?id=614894
2010-04-06 02:36:53 +02:00
Tristan Van Berkom
52eabce3c4
Revert "Implement extended layout for GtkBin"
...
This reverts commit 5e8045b14d .
Conflicts:
gtk/gtkbin.c
2010-04-05 18:10:41 -04:00
Tristan Van Berkom
24ed2f8aa1
Fixed 2 bugs in gtk_box_size_allocate()
...
This commit fixes the loop to take into consideration the
child->padding that will be allocated to the child while calculating
full available size. Additionally it fixes the initial positioning
of child widgets when packed at the end (a special case because the
x position used starts from the end of the box).
2010-04-05 18:01:56 -04:00
Tristan Van Berkom
eb537a6773
Fixed do_size_request() to start with a 0 base requisition instead of -1
2010-04-05 17:57:06 -04:00
Fran Diéguez
e13ab6c53a
Updated Galician translation
2010-04-05 20:59:23 +03:00
Cody Russell
b6d9bb6e1e
Fix for bug #557689 and bug #402349 , where opening a file chooser in
...
folder browse mode would require the user to click on something
before clicking "Open".
2010-04-05 12:57:33 -05:00
Tristan Van Berkom
4b1315cedc
Changed initial values for requisition from -1 to 0.
...
When doing size-requests and get_natural_size() calls, use 0 as
the base value instead of -1, because size_request code assumes
that widget->requesition is initialized at 0.
2010-04-04 16:38:36 -04:00
Tristan Van Berkom
75b8f7d3ae
Fixed GtkBox to not call get_desired_size() on a child when no child is present.
2010-04-04 16:37:06 -04:00
Tristan Van Berkom
1212f263c3
Making function private in gtktreeviewcolumn to pass the abi test.
2010-04-03 21:37:42 -04:00
Tristan Van Berkom
ae2c0b02c3
Refixed merge conflicts for GTK_WIDGET_MAPPED/GTK_WIDGET_VISIBLE
2010-04-03 21:35:18 -04:00
Tristan Van Berkom
5d83f5eba5
Fixed internal native layout algorythm wrt size-request singals/implementations.
...
Because "size-request" signal can be handled by signal connections as well
as by third party derived classes it is necessary to always fire the
"size-request" signal for every recalculation of the widget requisition,
now gtksizegroup.c:do_size_request() fires the signal first and allows it
to overflow the minimum/natural sizes returned by extended layout
implementations.
GtkWidget->get_natural_size() is now left assigning default -1 values to
ensure they both get overridden by the size-request handling.
2010-04-03 20:59:28 -04:00
Tristan Van Berkom
a33053db74
Fixed extended layout implementors to not call ->get_desired_size() directly
...
Getting the desired size of a GtkWidget must always be done with
gtk_widget_get_desired_size() and never with
gtk_extended_layout_get_desired_size() directly as the former passes
through size group logic and updates the widget->requisition cache.
2010-04-03 20:59:28 -04:00
Tristan Van Berkom
8413f22d90
Removed casing of GTK_IS_EXTENDED_LAYOUT() from GtkViewport.
2010-04-03 20:59:28 -04:00
Tristan Van Berkom
61fab15139
Fixed invalid pointer access in gtk_tree_view_column_get_desired_size()
2010-04-03 20:59:28 -04:00
Tristan Van Berkom
22de1a7c65
Partially fixed GtkTreeview for extended layout
...
Removed the size_request() handling on the class and calculate
minimum size from get_desired_size(); base the natural width on
either the minimum of column headers, or a greater natural request
of the columns renderers.
2010-04-03 20:59:28 -04:00
Tristan Van Berkom
a18af0b980
Applied Jan Arne Petersen's patch for GtkScrolledWindow
...
Applied patch to add height-for-width/width-for-height suppot
to GtkScrolledWindow plus modifications to use gtk_widget_get_desired_size()
to query children sized instead of directly calling the layout api, plus
removed the ->size_request() implementation interfering with the mess.
2010-04-03 20:59:28 -04:00
Tristan Van Berkom
894e887370
Fixed GtkCellRendererText invalid pointer access.
...
Fixed get_desired_size() to not access parameters when NULL and
also not to access priv->object if it hasnt yet been assigned.
2010-04-03 20:59:27 -04:00
Jan Arne Petersen
0fbdb3c73f
Take extended layout into account in viewport
...
Make sure the right height is used in GtkViewPort.
2010-04-03 20:59:27 -04:00
Matthias Clasen
c4dec47536
Don't use gio-unix on win32
...
We only need gio-unix when building the x11 backend.
Reported by Yevgen Muntyan in bug 614540.
2010-04-03 20:59:27 -04:00
Inaki Larranaga Murgoitio
f48299c86e
Updated Basque language
2010-04-03 20:59:27 -04:00
Inaki Larranaga Murgoitio
67eccabfca
Updated Basque language
2010-04-03 20:59:27 -04:00
Inaki Larranaga Murgoitio
923e37e908
Updated Basque language
2010-04-03 20:59:27 -04:00
Kenneth Nielsen
829cfe21e1
Updated Danish translation
2010-04-03 20:59:26 -04:00
Runa Bhattacharjee
65a322c94d
Updated Bengali India Translation
2010-04-03 20:59:26 -04:00
Runa Bhattacharjee
93df7c133e
Updated Bengali India Translation
2010-04-03 20:59:26 -04:00
Jordi Serratosa
299cd7fec1
Fixes to Catalan translation
2010-04-03 20:59:26 -04:00
Tristan Van Berkom
523283bb36
Fixed possible devision by zero in size negotiations
...
Fixed GtkToolItemGroup to avoid deviding by zero when all children
are invisible or there are no children. bgo #613974 .
2010-04-03 20:59:26 -04:00
Tristan Van Berkom
9fe9898045
Added missing default events in realize() implementations
...
Added gtk_widget_get_events() to the event masks declared by
GtkToolPalette & GtkToolItemGroup.
2010-04-03 20:59:26 -04:00
Tristan Van Berkom
96793999df
Added missing break statement to mutator: gtk_tool_item_group_set_property()
2010-04-03 20:59:26 -04:00
Benjamin Otte
80efec2a8c
Fix error case in filesystem model
...
We should not unref the model here, it might not even exist anymore.
Instead check if it exists and only use it if it does.
The unref was leftover from a previous fix in
ba9f53397f .
Spotted by Matthias Clasen in
https://bugzilla.gnome.org/show_bug.cgi?id=614099
2010-04-03 20:59:25 -04:00
David Planella
9441d96620
Updated Catalan translation with a couple of fixes
2010-04-03 20:59:25 -04:00
David Planella
0df8e5e3f0
Updated Catalan translation
2010-04-03 20:59:25 -04:00
Jamil Ahmed
a4a0019586
Updated Bengali translation
2010-04-03 20:59:25 -04:00
Christian Dywan
69b241c66d
Fix a misspelling in gtk_cell_view_new_with_markup
...
This fixes bug 613887.
2010-04-03 20:59:25 -04:00
Ask H. Larsen
e8f9085426
Updated Danish translation
2010-04-03 20:59:25 -04:00
Maxim V. Dziumanenko
5559cbeb70
Updated Ukrainian translation
2010-04-03 20:59:25 -04:00
Maxim V. Dziumanenko
8e0088dcea
Updated Ukrainian translation
2010-04-03 20:59:24 -04:00
Jamil Ahmed
839a347db1
Updated Bengali translation
2010-04-03 20:59:24 -04:00
Jamil Ahmed
b19d76a156
Updated Bengali translation
2010-04-03 20:59:24 -04:00
Hiroyuki Ikezoe
d995132ca5
[directfb] Fix compile error on DirectFB backend.
...
Add a stub for gdk_keymap_map_virtual_modifiers.
2010-04-03 20:59:24 -04:00
Hiroyuki Ikezoe
61a73b3df6
Use g_value_take_string to avoid redundant invoking g_free.
2010-04-03 20:59:24 -04:00
Javier Jardón
7ef003f7d4
Fix compilation warning: Use GtkWidget instead GtkMenuItem
2010-04-03 20:59:23 -04:00
Matthias Clasen
aaf541903b
Fix a 64bit issue
...
Thank you libpng, for typedef unsigned long png_uint_32.
2010-04-03 20:59:23 -04:00
Matthias Clasen
6af58c6208
Add notes about gobject-introspection
2010-04-03 20:59:23 -04:00
Matthias Clasen
3be389fe96
Bump version to 2.20.1
2010-04-03 20:59:23 -04:00
Matthias Clasen
5a5a24d4dc
2.20.0
2010-04-03 20:59:23 -04:00
Miloš Popović
39779813ab
Updated Serbian translations
2010-04-03 20:59:20 -04:00
Matthias Clasen
f743b2460a
Bump required version of glib in INSTALL.in, too
2010-04-03 20:59:20 -04:00
Matthias Clasen
cbfdfb8450
Set version to 2.20.0
2010-04-03 20:59:20 -04:00
Matthias Clasen
381d892079
Another small doc cleanup
2010-04-03 20:59:20 -04:00
Matthias Clasen
7431550129
Minor doc cleanup
2010-04-03 20:59:20 -04:00
Matthias Clasen
a22afdb642
Updates
2010-04-03 20:59:20 -04:00
Wouter Bolsterlee
15bc2b787b
Dutch translation updated by Tino Meinen
2010-04-03 20:59:20 -04:00
Sjoerd Simons
177973bdfc
Prevent the destruction of the menu label on page removal
...
In certain cases the menu label of a notebook page will be reused after the
page was removed from the notebook, for instance when a page is dragged from
one notebook to another. For such cases make sure that the menu label isn't
destroyed as part of destroying the menu item it was in.
2010-04-03 20:59:19 -04:00
Matthias Clasen
b1ca3163a6
Add a dependency for Gtk-2.0.gir on Gdk-2.0.gir
...
Another parallel build fix, see bug 610946.
2010-04-03 20:59:19 -04:00
Damien Lespiau
2055066d92
introspection: Fix parallel builds
...
One needs to add an explicit dependency between the gir files and the
.la libtool wrapper as this dependency is not added automatically by
Makefile.introspection. Not adding these breaks parallel builds as make
does not wait for the .la to be generated before launching g-ir-scanner.
2010-04-03 20:59:19 -04:00
Inaki Larranaga Murgoitio
449bc50b24
Updated Basque language
2010-04-03 20:59:19 -04:00
Clytie
69e86f56be
Updated Vietnamese translation
2010-04-03 20:59:19 -04:00
Clytie
472ffe7539
Updated Vietnamese translation
2010-04-03 20:59:19 -04:00
Inaki Larranaga Murgoitio
0b0b960122
Updated Basque language
2010-04-03 20:59:19 -04:00
Sweta Kothari
99b6a3df76
Updated Gujarati translations
2010-04-03 20:59:18 -04:00
Sweta Kothari
cf87932bba
Updated Gujarati Translations
2010-04-03 20:59:18 -04:00
Daniel Nylander
984a16df2a
Updated Swedish translation
2010-04-03 20:59:18 -04:00
Daniel Nylander
deb012bd34
Updated Swedish translation
2010-04-03 20:59:18 -04:00
Daniel Nylander
5f7e8547f9
Updated Swedish translation
2010-04-03 20:59:18 -04:00
Tommi Vainikainen
ad87a23ffe
Updated Finnish translation
2010-04-03 20:59:18 -04:00
Chao-Hsiung Liao
637df00c87
Updated Traditional Chinese translation(Hong Kong and Taiwan)
2010-04-03 20:59:17 -04:00
Matthias Clasen
fe34ee4ff3
Avoid spurious notifications from GtkEntry
...
Using gtk_entry_set_buffer() in dispose() causes problematic
notifications, so just get rid of the buffer manually. See bug 613241.
2010-04-03 20:59:17 -04:00
Tomas Bzatek
95dbbe2bda
search: update for tracker 0.8 API
...
Tracker 0.8 series (and late 0.7.xx) introduces new API based on SPARQL
query language. The queries here use fulltext search, just like with
with previous tracker versions. Old tracker 0.6 support is still maintained.
2010-04-03 20:59:17 -04:00
Fabrício Godoy
e64cc4edeb
Updated Brazilian Portuguese Translation
2010-04-03 20:59:17 -04:00
A S Alam
151c6c2a78
Completed Punjabi Translation by A S Alam
2010-04-03 20:59:17 -04:00
Dumitru Mișu Moldovan
036fa03550
Updated Romanian translation
2010-04-03 20:59:16 -04:00
Mattias Põldaru
291e8bd913
Estonian translation updated
2010-04-03 20:59:16 -04:00
Matthias Clasen
643c7c2060
Make menu scrolling work with auto mnemonics
...
The menu scrolling code is not robust against menu repositioning so
we have avoid causing unnecessary recalculations of labels in parent
menuitems.
2010-04-03 20:59:16 -04:00
Hiroyuki Ikezoe
837b998810
Fix a tiny documentation typo
2010-04-03 20:59:16 -04:00
Marek Kasik
bc57726d91
Define httpGetHostname() for CUPS 1.1 and lower
...
Function httpGetHostname() is in CUPS since version 1.2, that is why we need
its equivalent for lower versions of CUPS (#610176 ).
2010-04-03 20:59:16 -04:00
Javier Jardón
add084329c
More uses of g_strcmp0
2010-04-03 20:59:16 -04:00
Rafal Luzynski
7a6e782184
Use g_strcmp0 where it makes sense
2010-04-03 20:59:16 -04:00
Hiroyuki Ikezoe
5f30ba46ea
Don't get settings unless we need them
...
Pointed out in bug 613028.
2010-04-03 20:59:15 -04:00
Matthias Clasen
1f3a57691f
Don't crash in DND when the X server doesn't support SHAPE
...
Reported in bug 612768
2010-04-03 20:59:15 -04:00
Matthias Clasen
4b7b8e513f
Require a new-enough glib
2010-04-03 20:59:15 -04:00
Jan Arne Petersen
ed9cff6fbb
Fix notify::label emmision in GtkMenuItem
...
Emit notify::label in GtkMenuItem also when label is changed through GtkAction.
Refactor GtkMenuItem and remove duplicated code for GtkLabel creation. Reset
the accel-widget back to the GtkMenuItem itself when there is no action related
to the GtkMenuItem anymore.
Add test for notify::label emmisions.
Fixes bug 612574 - GtkMenuItem does not emit notify::label when label is
changed through GtkAction.
2010-04-03 20:59:15 -04:00
Tristan Van Berkom
c8ee1927a5
Refixed patch for bug 612505.
...
New patch makes sure to update the display even when
the GtkEntry's buffer is set to NULL, it also breaks the
reference to the buffer in ->dispose() instead of ->finalize().
2010-04-03 20:59:15 -04:00
Matthias Clasen
56c488e690
Improve the behaviour of automatic mnemonics
...
With this change, key events continue to go to an open menu even
when the pointer is moved over a non-selectable menuitem. The mnemonics
are shown and hidden accordingly.
2010-04-03 20:59:15 -04:00
Matthias Clasen
5b20892a3d
Update release notes
...
Add a warning about the change in GtkBuilders id/name handling.
2010-04-03 20:59:15 -04:00
Colin Walters
a0508bc64c
[startup notification] Set APPLICATION_ID
...
http://lists.freedesktop.org/archives/xdg/2010-February/011321.html
In addition to ICON, BINARY_NAME etc., it's very helpful if launcher
programs include the name of the .desktop file they're launching.
This is APPLICATION_ID.
https://bugzilla.gnome.org/show_bug.cgi?id=611118
2010-04-03 20:59:14 -04:00
Fran Diéguez
d240b649e7
Update Galician translation
2010-04-03 20:59:14 -04:00
Luca Ferretti
0f90c49440
Updated Italian translation
2010-04-03 20:59:14 -04:00
Matthias Clasen
de1b75aabb
Fix tests
2010-04-03 20:59:14 -04:00
Luca Ferretti
908915c9da
Updated Italian translation
2010-04-03 20:59:14 -04:00
Matthias Clasen
9408915114
Recompute label contents when the buffer changes
...
Also reset cursor positions to avoid assertions.
This fixes bug 612505, patch by Tristan Van Berkom.
2010-04-03 20:59:14 -04:00
Matthias Clasen
df95db7649
Fix gdk_window_set_icon_name
...
A typo kept this from working on toplevel windows.
Reported in bug 612346.
2010-04-03 20:59:14 -04:00
Matthias Clasen
b04186d272
updates
2010-04-03 20:59:13 -04:00
Christian Dywan
f909f3866f
Remove most G_OBJECT casts in the tutorial
...
This fixes bug 605333.
2010-04-03 20:59:13 -04:00
Christian Dywan
1b61e9dc2b
Reword explanation of delete-event and destroy
2010-04-03 20:59:13 -04:00
Christian Dywan
e85b9b3523
Spell delete-event with hyphen and don't cast to G_OBJECT
2010-04-03 20:59:13 -04:00
Christian Dywan
63d03344f9
Improve docs of gtk_notebook_set_tab_label_packing
...
Use the term tab label rather than bookmark and point out
that packing type is deprecated.
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=612575
2010-04-03 20:59:13 -04:00
Tor Lillqvist
2b1ec1b227
Check for __MINGW64__ and not __MINGW64
...
Should fix bug #612308 .
2010-04-03 20:59:12 -04:00
Javier Jardón
74c7588040
Improve GTK_WIDGET_FLAGS() deprecation documentation
...
Also, use GTK_OBJECT_FLAGS() instead.
Note that some internal code still uses GTK_WIDGET_FLAGS().
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:59:12 -04:00
Christian Dywan
08bce451b7
Fix definition of GTK_VOLUME_BUTTON_CLASS cast
...
There is an extra 'e' there.
2010-04-03 20:59:12 -04:00
Alan Knowles
48cc791fb2
Fix introspection on return value transfer for gtk_clipboard_get*
...
ownership transfer set to none for clipboard get methods
2010-04-03 20:59:12 -04:00
Alan Knowles
2e00e16650
Fix gtk_text_tag_table_lookup transfer introspection notes
...
transfer should be none for return value of gtk_text_tag_table_lookup
2010-04-03 20:59:12 -04:00
Jorge González
68e833dc1b
Updated Spanish translation
2010-04-03 20:59:12 -04:00
Jorge González
8cc486ace5
Updated Spanish translation
2010-04-03 20:59:12 -04:00
David Planella
b447f59fe0
Updated Catalan translation
2010-04-03 20:59:12 -04:00
Matthias Clasen
c470e592a3
Bump version
2010-04-03 20:59:11 -04:00
Matthias Clasen
167413e7c3
2.19.7
2010-04-03 20:59:11 -04:00
Matthias Clasen
07f2bb0b84
Updates
2010-04-03 20:59:08 -04:00
Javier Jardón
6750ffebc8
Fix compilation warning: use entry var correctly initilized
...
The warning was added in
commit c744594b20
2010-04-03 20:59:08 -04:00
Matthias Clasen
7b7f8f1e5d
Remove conflicting legacy compose sequences in favour of X.org sequences
...
Patch by Jeroen Hoek. See bug 557420 for a prolonged discussion.
Quick summary of the removed sequences:
<Multi_key> <asciicircum> <0>
Consistency. <Multi_key> <asciicircum> [1..9] gives the superscript digit,
legacy sequence for zero is inconsistent.
<Multi_key> <c> <o>
<Multi_key> <c> <O>
Consistency. <Multi_key> <c> [:letter:] already gives vowel plus caron, legacy
sequence for c is inconsistent.
<Multi_key> <comma> <e>
<Multi_key> <comma> <E>
Consistency. <Multi_key> <comma> [:letter:] is for letter with cedilla,
<Multi_key> <semicolon> [:letter:] is for letter with ogolek
<Multi_key> <C> <slash>
<Multi_key> <slash> <C>
Unintuitive. ¢ is visually a vertical bar through a lowercase c, not a slash
through an uppercase C. ₡ has no alternatives, whilst ¢ can be typed as
<Multi_key> <bar> <c>.
<Multi_key> <d> <minus>
đ can be input through <Multi_key> <minus> <d>. <Multi_key> <d> <minus> is used
for ₫.
<Multi_key> <equal> <L>
<Multi_key> <L> <equal>
Unintuitive. ₤ has two dashes, £ one; therefore L + = > ₤, and L + - = £.
<Multi_key> <exclam> <s>
<Multi_key> <exclam> <S>
Consistency. <Multi_key> <exclam> [:letter:] is used for letter with dot below.
§ can be input using <Multi_key> <o> <s>.
<Multi_key> <period> <period>
Might need an alternative for ˙, but … (upstream) has no alternative either.
<Multi_key> <underscore> <a>
<Multi_key> <underscore> <A>
<Multi_key> <underscore> <o>
<Multi_key> <underscore> <O>
Consistency. <Multi_key> <underscore> [:vowel:] gives vowel with macron for ȳ ū
ī ē too.
<Multi_key> <minus> <d>
<Multi_key> <minus> <D>
<Multi_key> <o> <e>
<Multi_key> <O> <E>
Redundant. In upstream as is.
2010-04-03 20:59:08 -04:00
Matthias Clasen
04fd3f14ac
Regenerated compose tables
...
Now without non-BMP keysyms.
2010-04-03 20:59:08 -04:00
Matthias Clasen
040d8d1414
Updates to the compose-parse.py script
...
Get gdkkeysyms.h from git, instead of the outdated copy from svn.
Get Unicode 5.2.0 data. Fix a few issues with missing keysyms in
keysyms.txt. Make the filtering of non-BMP keysyms work.
2010-04-03 20:59:08 -04:00
Matthias Clasen
d50cd83fd0
Add some keysyms missing from keysyms.txt
2010-04-03 20:59:07 -04:00
Matthias Clasen
94e80bbbed
fix file permissions
2010-04-03 20:59:07 -04:00
Matthias Clasen
f185967ba1
Add some more annotation to the DND api
2010-04-03 20:59:07 -04:00
Matthias Clasen
57a3de1bcd
Fix file chooser refcounting issues
...
This was reported in bug 600992.
2010-04-03 20:59:07 -04:00
Matthias Clasen
b229aa8d5e
Add missing colons
2010-04-03 20:59:07 -04:00
Christian Dywan
4c86b6112e
Document the use of NULL in gtk_window_set_transient_for
...
This fixes bug 611319.
2010-04-03 20:59:07 -04:00
Matthias Clasen
870fefbfaf
Minor doc clarification for gdk_drag_begin
...
Mention that targets is a list of atoms. Bug 611317.
2010-04-03 20:59:07 -04:00
Javier Jardón
8ea37e551b
Don't use GTK_WIDGET_STATE in internal code anymore
...
Use gtk_widget_get/set_state() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:59:06 -04:00
Matthias Clasen
ca43e7d3be
Remove obsolete translator comments
...
Reported in bug 611217
2010-04-03 20:59:06 -04:00
Matthias Clasen
f77c10b0b0
Add accessible alternatives to entry icon functionality
...
Inspired by the complaint in bug 611051.
2010-04-03 20:59:06 -04:00
Matthias Clasen
e566c96137
Add introspection annotations to gtk_drag_(source|dest)_set
...
Also move docs inline at the same time. Bug 610905.
2010-04-03 20:59:05 -04:00
Ryan Lortie
313e1b9c2f
Update release HOWTO
...
- 'cvs' -> 'git'
- gnome-hackers is now closed. Reply-to: desktop-devel-list instead.
2010-04-03 20:59:05 -04:00
Matthias Clasen
ba4695e8e5
Don't scroll to insert after middle-click paste
...
Patch by Ignacio Casal Quinteiro, bug 612119.
2010-04-03 20:59:05 -04:00
Matthias Clasen
0a12113d9d
Fix an infinite loop in gtk_dialog_map()
...
The new focus handling with links in labels tripped up the code
that tries to avoid focussing labels. Bug 612066
2010-04-03 20:59:05 -04:00
Nils-Christoph Fiedler
248719c771
Updated LowGerman translation
2010-04-03 20:59:05 -04:00
Nils-Christoph Fiedler
9a19752da4
Updated LowGerman translation
2010-04-03 20:59:05 -04:00
Nils-Christoph Fiedler
39ff3a4822
Updated LowGerman translation
2010-04-03 20:59:05 -04:00
Alexander Shopov
6b1126ab54
Updated Bulgarian translation
2010-04-03 20:59:04 -04:00
Michael Natterer
7eedb7a0b3
gtk: remove begin-user-action/end-user-action around copying
...
Copying to the clipboard is not a buffer mutation, so calling
gtk_text_buffer_begin_user_action() and _end_user_action() is only
confusing apps which connect to these signals in order to build undo
stacks or otherwise track buffer changes. Most likely, these apps
either didn't notice the bugus undo step or simply work around it.
2010-04-03 20:59:04 -04:00
Jennie Petoumenou
f000d83f00
Updated Greek translation.
2010-04-03 20:59:04 -04:00
Jennie Petoumenou
8411cd3282
Updated Greek translation.
2010-04-03 20:59:04 -04:00
Claude Paroz
92c6be8ac0
Updated French translation
2010-04-03 20:59:04 -04:00
Javier Jardón
1931a8db5d
Don't use GTK_WIDGET_SET_FLAGS() in gtk_widget_init()
2010-04-03 20:59:04 -04:00
Javier Jardón
bbf5e95c41
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_PARENT_SENSITIVE)
...
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:59:03 -04:00
Javier Jardón
9f3d23a900
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_RC_STYLE)
...
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:59:03 -04:00
Javier Jardón
5c2c742c8d
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_APP_PAINTABLE)
...
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:59:03 -04:00
Javier Jardón
a602ff82eb
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_MAPPED)
...
Use new API instead: gtk_widget_set_mapped ()
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:59:03 -04:00
Javier Jardón
e082783fbb
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_REALIZED)
...
Use new API instead: gtk_widget_set_realized ()
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:59:03 -04:00
Javier Jardón
e2f79c33ff
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_NO_WINDOW)
...
Use new API instead: gtk_widget_set_has_window ()
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:59:02 -04:00
Daniel Nylander
e5aca4ac88
Updated Swedish translation
2010-04-03 20:59:02 -04:00
Daniel Nylander
01bb46fefe
Updated Swedish translation
2010-04-03 20:59:01 -04:00
Joanmarie Diggs
70d2c392ca
Add/Remove ATK_STATE_SENSITIVE according to cells' state.
...
Bug #569042 .
2010-04-03 20:59:01 -04:00
Patrick Bernaud
fe0a89e251
Move documentation to inline comments: GtkPlug
...
https://bugzilla.gnome.org/show_bug.cgi?id=611707
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-04-03 20:59:01 -04:00
Steven Harms
09e4738682
Move documentation to inline comments: GtkVBox
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=611831
2010-04-03 20:59:01 -04:00
Fran Diéguez
190096f41e
Update Galician translation
2010-04-03 20:59:01 -04:00
Friedel Wolff
8ad3276a77
Update Afrikaans translation
2010-04-03 20:59:01 -04:00
Li Yuan
828c4f7aa5
Return FALSE in signal handlers to make the signals be propagated
...
Bug #611686 .
2010-04-03 20:59:00 -04:00
Steven Harms
0cdcfcca9f
Move documentation to inline comments: GtkVSeparator
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=611662
2010-04-03 20:59:00 -04:00
Steven Harms
ba22b91e31
Move documentation to inline comments: GtkVScrollbar
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=611658
2010-04-03 20:59:00 -04:00
Gabor Kelemen
83430719d1
Updated Hungarian translation
2010-04-03 20:59:00 -04:00
Steven Harms
15a797e8e9
Update gtkvscale documentation for in code comments. Removed template document
2010-04-03 20:59:00 -04:00
Inaki Larranaga Murgoitio
a0441bcb4c
Updated Basque language
2010-04-03 20:59:00 -04:00
Javier Jardón
cb4f39c7a8
Add version info about the deprecation of GTK_WIDGET_SENSITIVE
...
This completes the patch of
commit 64f526d34e
2010-04-03 20:59:00 -04:00
Inaki Larranaga Murgoitio
fa934294a7
Updated Basque language
2010-04-03 20:59:00 -04:00
Javier Jardón
ee0bf98769
Deprecate widget flag: GTK_WIDGET_REALIZED
...
Use gtk_widget_get_realized() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:58:59 -04:00
Javier Jardón
e53efb120a
Deprecate widget flag: GTK_WIDGET_MAPPED
...
Use gtk_widget_get_mapped() instead.
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:58:58 -04:00
Nils-Christoph Fiedler
8c1f5dbc03
Updated LowGerman translation
2010-04-03 20:58:24 -04:00
Nils-Christoph Fiedler
2bb5e9e75a
Updated Low German translation
2010-04-03 20:58:24 -04:00
Nils-Christoph Fiedler
289948f1d3
Updated Low German translation
2010-04-03 20:58:23 -04:00
Kjartan Maraas
3ffee3e6e5
Updated Norwegian bokmål translation
2010-04-03 20:58:23 -04:00
Javier Jardón
2dc372a657
Fix gtk_widget_is_sensitive() function. Second try
...
Use GTK_PARENT_SENSITIVE flag instead
gtk_widget_get_sensitive(widget->parent)
2010-04-03 20:58:23 -04:00
Gabor Kelemen
6d8fee9879
Updated Hungarian translation
2010-04-03 20:58:23 -04:00
Javier Jardón
2dd2650215
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_NO_SHOW_ALL)
2010-04-03 20:58:23 -04:00
Javier Jardón
e6572c0939
Fix gtk_widget_is_sensitive() function
...
The bug was introduced in
commit a27d5a2c9e
2010-04-03 20:58:23 -04:00
Javier Jardón
ec20658b51
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_CAN_DEFAULT)
...
Use new API instead: gtk_widget_set_can_default ()
2010-04-03 20:58:22 -04:00
Javier Jardón
76943117be
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_CAN_FOCUS)
...
Use new API instead: gtk_widget_set_can_focus ()
2010-04-03 20:58:22 -04:00
Gabor Kelemen
6379f64a37
Updated Hungarian translation
2010-04-03 20:58:21 -04:00
Petr Kovar
aabe0b16cf
Update Czech translation
2010-04-03 20:58:21 -04:00
Javier Jardón
2d96f39335
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_SENSITIVE)
2010-04-03 20:58:21 -04:00
Javier Jardón
5d4af6ca80
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_DOUBLE_BUFFERED)
...
Use new API instead: gtk_widget_set_double_buffered ()
2010-04-03 20:58:21 -04:00
Javier Jardón
3ebbee6958
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_RECEIVES_DEFAULT)
...
Use new API instead: gtk_widget_set_receives_default ()
2010-04-03 20:58:21 -04:00
Javier Jardón
08d42ed8fe
Deprecate widget flag: GTK_WIDGET_PARENT_SENSITIVE
...
Use gtk_widget_get_sensitive() on the parent widget instead.
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:58:21 -04:00
Javier Jardón
edc65ce1d2
Deprecate widget flag: GTK_WIDGET_VISIBLE
...
Use gtk_widget_get_visible() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:58:20 -04:00
Javier Jardón
eb90ec7513
Deprecate widget flag: GTK_WIDGET_HAS_FOCUS
...
Use gtk_widget_has_focus() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:56:30 -04:00
Javier Jardón
c3f8b4226d
Deprecate widget flag: GTK_WIDGET_SENSITIVE
...
Use gtk_widget_get_sensitive() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:56:30 -04:00
Javier Jardón
c44c026ee9
Don't use GTK_WIDGET_NO_WINDOW in internal code anymore
...
Use gtk_widget_get_has_window() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:56:30 -04:00
Javier Jardón
e7127daf84
Deprecate widget flag: GTK_WIDGET_IS_SENSITIVE
...
Use gtk_widget_is_sensitive() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:56:29 -04:00
Javier Jardón
04aba4bde2
Deprecate widget flag: GTK_WIDGET_DRAWABLE
...
Use gtk_widget_is_drawable() instead.
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:56:29 -04:00
Mario Blättermann
126133a927
Updated German translation
2010-04-03 20:56:28 -04:00
Nils-Christoph Fiedler
9a33ab970f
Updated LowGerman translation
2010-04-03 20:56:28 -04:00
Nils-Christoph Fiedler
79453a952f
Updated LowGerman translation
2010-04-03 20:56:28 -04:00
Florian Müllner
f5aa0fad6c
Add introspection annotation for gtk_builder_get_object
2010-04-03 20:56:28 -04:00
Nils-Christoph Fiedler
2e78caa5a2
Updated LowGerman translation
2010-04-03 20:56:28 -04:00
Piotr Drąg
7044a9d027
Updated Polish translation
2010-04-03 20:56:28 -04:00
Piotr Drąg
fe2cb223ea
Updated Polish translation
2010-04-03 20:56:27 -04:00
Leonid Kanter
9dd2609525
Update Russian translation
2010-04-03 20:56:27 -04:00
Leonid Kanter
1d34e445e9
Update Russian translation
2010-04-03 20:56:27 -04:00
Nils-Christoph Fiedler
d3db379573
Updated LowGerman translation
2010-04-03 20:56:27 -04:00
Duarte Loreto
4e8d4ead22
Updated Portuguese translation
2010-04-03 20:56:27 -04:00
Duarte Loreto
87e7f3c0c1
Updated Portuguese translation
2010-04-03 20:56:27 -04:00
Khaled Hosny
9c054e3029
Updated Arabic translation
2010-04-03 20:56:26 -04:00
Bruce Cowan
7c9f3072eb
Updated British English translation
2010-04-03 20:56:26 -04:00
Matej Urbančič
109ca57aa8
Updated Slovenian translation
2010-04-03 20:56:26 -04:00
Nils-Christoph Fiedler
af51a093fe
Updated LowGerman translation
2010-04-03 20:56:26 -04:00
Nils-Christoph Fiedler
599d6f0a2c
Updated LowGerman translation
2010-04-03 20:56:26 -04:00
Alexander Shopov
4e3c3baac2
Updated Bulgarian translation
2010-04-03 20:56:26 -04:00
Gintautas Miliauskas
f8cd486871
Updated Lithuanian translation.
2010-04-03 20:56:25 -04:00
Gintautas Miliauskas
0fa5fb2894
Updated Lithuanian translation.
2010-04-03 20:56:25 -04:00
Ask H. Larsen
76a752b69d
Updated Danish translation
2010-04-03 20:56:25 -04:00
Ask H. Larsen
9889445169
Updated Danish translation
2010-04-03 20:56:25 -04:00
Matthias Clasen
83518ec77c
Bump version
2010-04-03 20:56:25 -04:00
Matthias Clasen
b51edbe745
2.19.6
2010-04-03 20:56:25 -04:00
Jorge González
468a947285
Updated Spanish translation
2010-04-03 20:56:23 -04:00
Matthias Clasen
daf00f6f94
Updates
2010-04-03 20:56:23 -04:00
Matthias Clasen
53bebef4bf
Some forgotten docs
2010-04-03 20:56:23 -04:00
Matthias Clasen
b23c114b95
Add some missing docs
2010-04-03 20:56:22 -04:00
Matthias Clasen
3fe334c3a8
doc fixes
2010-04-03 20:56:22 -04:00
Jorge González
f5d67c8b44
Updated Spanish translation
2010-04-03 20:56:22 -04:00
Matthias Clasen
462a491fa7
Add 2.20 index for gdk docs
2010-04-03 20:56:22 -04:00
Matthias Clasen
21b1a03e1e
Init gdk in the same order as other backends
...
Patch by Andre Draszik, bug 609172
2010-04-03 20:56:22 -04:00
Matthias Clasen
d1babc7775
Fix a memory leak in gdk_display_open in the directfb backend
...
Patch by Andre Draszik, bug 609172
2010-04-03 20:56:22 -04:00
Matthias Clasen
db0faed54c
Simplify the DirectFBInit call
...
Patch by Andre Draszik, bug 609172
2010-04-03 20:56:22 -04:00
Matthias Clasen
f6a173d302
Catch directfb errors in gdk_colormap_new
...
Patch by Andre Draszik, bug 609172.
2010-04-03 20:56:22 -04:00
Matthias Clasen
938795f922
Fix a crash at startup in the directfb backend
...
Patch by André Draszik, bug 600789
2010-04-03 20:56:22 -04:00
Matthias Clasen
9160cf1af7
Fix gdk_windowing_window_at_pointer in the directfb backend
...
Patch by Hiroyuki Ikezoe, see bug 604799.
2010-04-03 20:56:21 -04:00
Matthias Clasen
28dda32acc
Correct annotations for gtk_tree_view_get_path_at_pos
...
Patch by Alan Knowles, bug 609514.
2010-04-03 20:56:21 -04:00
Matthias Clasen
c5dc38c142
Protect against X errors when clearing the DND cache
...
This was reported as a problem in bug 609952.
2010-04-03 20:56:21 -04:00
Mario Blättermann
4815119eab
Updated German translation
2010-04-03 20:56:21 -04:00
Matthias Clasen
df32ea9960
Prevent a crash in the TGA loader
...
Reported in bug 609744.
2010-04-03 20:56:21 -04:00
Matthias Clasen
624ac853ba
Handle out-of-bounds parameters in gtk_assistant_get_nth_page
...
Better do what the docs say...fix by Tadej Borovšak, bug 610141.
2010-04-03 20:56:21 -04:00
Matthias Clasen
d405d997bd
Fix a segfault in gtk_assistant_set_current_page
...
Reported by Tadej Borovšak in bug 610184
2010-04-03 20:56:21 -04:00
Matthias Clasen
f90b880ce8
Clarify the docs for gtk_info_bar_set_default_response
...
According to bug 610632
2010-04-03 20:56:20 -04:00
Matthias Clasen
d316798685
Add some padding in tool buttons
...
The default value of the icon-spacing style property was 0, which
is just not good. Themes are of course free to change this anyway.
Bug 610381.
2010-04-03 20:56:20 -04:00
Matthias Clasen
2f772399ce
Only look at x11 backend for gtk-doc comments for now
...
See followup discussion in bug 610701
2010-04-03 20:56:20 -04:00
Mario Blättermann
dc8965f9ea
Updated German translation
2010-04-03 20:56:20 -04:00
Matej Urbančič
2eab767d4c
Updated Slovenian translation
2010-04-03 20:56:20 -04:00
Alexander Shopov
5781ea200b
Updated Bulgarian translation
2010-04-03 20:56:20 -04:00
Matthias Clasen
2c6b8680c3
Fix incorrect string
...
String change. See bug 610235.
2010-04-03 20:56:20 -04:00
Matthias Clasen
9414dc2cf6
Add some missing introspection annotations
2010-04-03 20:56:19 -04:00
Johan Dahlin
087ff5f220
[build] Include all target source files
...
Include all target source files when buildin the gir
https://bugzilla.gnome.org/show_bug.cgi?id=610701
2010-04-03 20:56:19 -04:00
Matthias Clasen
12b8b8bf7c
Add a missing introspection annotation for gdk_screen_get_default_colormap
2010-04-03 20:56:19 -04:00
Rimas Kudelis
f773c8975d
Updated Lithuanian translation
2010-04-03 20:56:17 -04:00
Carlos Garcia Campos
7edbc6b6ee
[docs] Fix GtkPlug::embedded signal documentation
...
See bug #609650 .
2010-04-03 20:56:17 -04:00
Carlos Garcia Campos
576f2770c7
Emit GtkPlug::embedded signal when plug/socket are in the same process too
...
Fixes bug #609650 .
2010-04-03 20:56:17 -04:00
Masato Hashimoto
7835a51040
Updated Japanese translation.
...
Translator: Masato Hashimoto <cabezon.hashimoto@gmail.com >
Reviewed by: Nishibori Kiyotaka <ml.nishibori.kiyotaka@gmail.com >
2010-04-03 20:56:17 -04:00
Khaled Hosny
7a8a188b4c
Updated Arabic translation
2010-04-03 20:56:17 -04:00
Alexander Shopov
3394c2fbe5
Updated Bulgarian translation
2010-04-03 20:56:17 -04:00
Lucian Adrian Grijincu
d170fb7983
Updated Romanian translation
2010-04-03 20:56:16 -04:00
Piotr Drąg
87fb3d9e08
Updated Polish translation
2010-04-03 20:56:16 -04:00
Piotr Drąg
c393ce993f
Updated Polish translation
2010-04-03 20:56:16 -04:00
Jorge González
54f851b5b5
Updated Spanish translation
2010-04-03 20:56:16 -04:00
Viktor Pracht
62a5e11483
[Annotations] Add array length for GtkTreeStore
...
https://bugzilla.gnome.org/show_bug.cgi?id=603923
2010-04-03 20:56:16 -04:00
Johan Dahlin
71df0c45ba
[annotations] Add allow-none for gtk_menu_popup
2010-04-03 20:56:16 -04:00
Johan Dahlin
eee7bb2b2e
[annotations] Add allow-none
...
This commit was created using a script that searched for all docstrings
containing a parameter and the string 'or %NULL'.
Gdk backends and demos excluded as they are not part of a public API
https://bugzilla.gnome.org/show_bug.cgi?id=610474
2010-04-03 20:56:15 -04:00
Michael Natterer
87334d465c
Bug 548026 - No accessor for GtkWidget.requisition
...
Add gtk_widget_get_requisition().
2010-04-03 20:56:15 -04:00
Matej Urbančič
91302444cc
Updated Slovenian translation
2010-04-03 20:56:14 -04:00
Manoj Kumar Giri
58d7a0e2d7
Updated Oriya Translation
2010-04-03 20:56:14 -04:00
Mattias Põldaru
3d71d992a6
Estonian translation updated
2010-04-03 20:56:14 -04:00
Mario Blättermann
998591adf6
Updated German translation
2010-04-03 20:56:14 -04:00
Javier Jardón
2140a5b107
[gdk/x11] Change the name of the functions in the header file
...
_gdk_keymap_add_virtual_modifiers() changed to
_gdk_keymap_add_virtual_modifiers_compat() in
commit 13d69e552d
This patch change the header name too.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=610063
2010-04-03 20:56:14 -04:00
Changwoo Ryu
f148059b7b
Update Korean translation
2010-04-03 20:56:14 -04:00
Matej Urbančič
94480795c7
Updated Slovenian translation
2010-04-03 20:56:14 -04:00
Matej Urbančič
9cd074b663
Updated Slovenian translation
2010-04-03 20:56:13 -04:00
Stefan Kost
4b8a91bb85
widget: ensure boolean before comparing
...
Ensure boolean value like done elsewhere.
2010-04-03 20:56:13 -04:00
Stefan Kost
100c6dc513
widget: don't check before setting to avoid costly type checks
...
There are no side effect of setting these flags and we don't fire g_object
notifies also. Thus set/unset right away without costly check of current state.
2010-04-03 20:56:13 -04:00
Javier Jardón
501f327b56
Revert "Drop duplicate declarations"
...
The issue is already fixed in f9a3ce06cc
This reverts commit 6f566057e8 .
2010-04-03 20:56:13 -04:00
Matthias Clasen
29efd9a753
Fix a compatibility problem
...
It turns out that my attempt at handling Super, Hyper and Meta better
is causing problems, mostly because Alt and Meta are commonly colocated
in the modmap, and apps do a check for the Alt modifier regularly.
See e.g bug 607697.
2010-04-03 20:56:13 -04:00
Matthias Clasen
966b619705
Drop duplicate declarations
2010-04-03 20:56:13 -04:00
Christian Dywan
ce07f4403b
Remove duplicate definitions of gtk_widget_set/get_realized/mapped
2010-04-03 20:56:13 -04:00
Michael Natterer
800fbc513f
Allow calling gtk_widget_style_attach() only when realized
2010-04-03 20:56:12 -04:00
Petr Kovar
42f920c77b
Update Czech translation
2010-04-03 20:56:12 -04:00
Javier Jardón
fc246a9305
Fix compilation warning: return FALSE instead NULL
2010-04-03 20:56:12 -04:00
Javier Jardón
c59386ba1d
Fix compilation warning: cast to GCompareFunc
2010-04-03 20:56:12 -04:00
Kjartan Maraas
92b1c9150d
Updated Norwegian bokmål translation
2010-04-03 20:56:12 -04:00
Jorge González
78b42c67e6
Updated Spanish translation
2010-04-03 20:56:12 -04:00
Matthias Clasen
5eccd0d20e
bump version
2010-04-03 20:56:11 -04:00
Matthias Clasen
11788b71e1
2.19.5
2010-04-03 20:56:11 -04:00
Matthias Clasen
96e42fb1ee
Updates
2010-04-03 20:56:09 -04:00
Matthias Clasen
5438a7b608
Add some more goddamn accessors
2010-04-03 20:56:09 -04:00
Matthias Clasen
d154b115e5
Avoid overlap of scale marks
...
This was reported to be a problem in bug 608807.
2010-04-03 20:56:08 -04:00
Matthias Clasen
9983f2e551
Avoid a crash when setting a tooltip on a GtkCalendar
...
The details code was assuming that it controls ::has-tooltip.
Reported by Bill Nottingham, bug 607344.
2010-04-03 20:56:08 -04:00
Matthias Clasen
6247ef7a32
Fix a refcounting issues in GtkPlug
...
When the foreign window already has a GdkWindow, we forget to take
an extra references, leading to crashes later on. Patch by
Karl Tomlinson, bug 607061.
2010-04-03 20:56:08 -04:00
Matthias Clasen
2c53b675c3
Allow running without any im context
...
Setting GtkSettings::im-module to gtk-im-context-none will make
GtkIMMultiContext just pass through.
2010-04-03 20:56:08 -04:00
Alan Knowles
7485d64249
Add introspection annotations for gtk_tree_model_get_path+gtk_tree_store_newv
2010-04-03 20:56:08 -04:00
Christian Persch
a4186b6aa5
Correctly clone the toolbutton's icon-name image widget
...
Bug #608162 .
2010-04-03 20:56:08 -04:00
Alejandro Piñeiro
b6139abb37
Solve a wrong reference on gdk_keymap_translate_keyboard_state
...
Solves https://bugzilla.gnome.org/show_bug.cgi?id=608345
2010-04-03 20:56:08 -04:00
Tor Lillqvist
067cce5d63
Use correct processorArchitecture for x86_64 in manifest file
2010-04-03 20:56:07 -04:00
Javier Jardón
541448732d
Move documentation to inline comments: GtkAccelLabel
...
https://bugzilla.gnome.org/show_bug.cgi?id=403485
2010-04-03 20:56:07 -04:00
Javier Jardón
239570abdd
[tests] Not use GtkOptionMenu deprecate widget.
...
Replace GtkOptionMenu with GtkComboBox.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=606288
2010-04-03 20:56:07 -04:00
Theppitak Karoonboonyanan
8633c6ffc6
Updated Thai translation.
2010-04-03 20:56:07 -04:00
André Draszik
935a3f7b65
gdk/directfb: cursor size is artificially limited
...
Cursor sizes in DirectFB can be large (4095x4095), limit to 128x128
though, because the x11 backend has this limit, too - for max.
compatibility.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=609201
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-04-03 20:56:07 -04:00
André Draszik
987256968b
gdk/directfb: convert gdkgc-directfb to using G_DEFINE_TYPE
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=609199
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-04-03 20:56:07 -04:00
André Draszik
9bc658f6ed
gdk/directfb: gdkdnd-directfb's private data is used uninitialized
...
Use G_TYPE_INSTANCE_GET_PRIVATE() instead
In the process, convert to using G_DEFINE_TYPE, too.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=609195
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-04-03 20:56:07 -04:00
André Draszik
2e9a0028fb
gdk/directfb: convert gdkcolor-directfb to using G_DEFINE_TYPE
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=609191
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-04-03 20:56:07 -04:00
André Draszik
442f7a9d26
gdk/directfb: fix _gdk_windowing_pointer_grab()
...
Fix for bgo #609188
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-04-03 20:56:06 -04:00
Steffen Macke
029b7b6361
Fix menu bar problem in ms-windows theme engine on Windows 7
...
Patch from bug #591186 . It won't have any effect in this branch as the
whole XP-and-later theming code is broken and disabled, but when/if
that is fixed, then this patch should help.
2010-04-03 20:56:06 -04:00
Christian Dywan
931ed06beb
[gtk] Deprecate GtkCurveType enum
...
It's only used by already deprecated GtkCurve and GtkGammaCurve
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=556263
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-04-03 20:56:06 -04:00
Claude Paroz
cc895cc924
Updated French translation
2010-04-03 20:56:06 -04:00
Michael Natterer
ca9e029838
gtk: fix crash in _gtk_rbtree_find_offset() called from update_prelight()
...
Move the check for tree_view->priv->tree being NULL into update_prelight()
so the function will never call _gtk_rbtree_find_offset() on a NULL rbtree.
2010-04-03 20:56:06 -04:00
Jonh Wendell
e9d53fd675
Updated Brazilian Portuguese translation
2010-04-03 20:56:06 -04:00
Jonh Wendell
d0c4e2d762
Updated Brazilian Portuguese translation
2010-04-03 20:56:05 -04:00
Matthias Clasen
fe7af7a9e5
Make DND work better with shaped windows
...
If mouse clicks go through, drag-and-drop should too...
Fixes bug 608615.
2010-04-03 20:56:05 -04:00
Cody Russell
bc01a0cbcf
Bug 554420 - Seal GtkTextTag
...
Seal GtkTextTag.
2010-04-03 20:56:05 -04:00
Petr Kovar
2194ee02e3
Update Czech properties translation
2010-04-03 20:56:05 -04:00
Petr Kovar
b6d139f954
Update Czech translation
2010-04-03 20:56:05 -04:00
Michael Natterer
9dfadca46c
Bug 608993 - Add gtk_widget_style_attach()
...
As replacement for:
widget->style = gtk_style_attach (widget->style, widget->window);
2010-04-03 20:56:05 -04:00
Pavol Šimo
0a037fa4fe
Updated Slovak translation
2010-04-03 20:55:30 -04:00
Javier Jardón
4b85311951
[docs] Add anchor for keybinding signals
2010-04-03 20:55:30 -04:00
Mattias Põldaru
e193b20d50
Updating Estonian translation
2010-04-03 20:55:30 -04:00
Mattias Põldaru
a9f0710686
Updating Estonian translation
2010-04-03 20:55:30 -04:00
Mattias Põldaru
fb0c247e30
Updating Estonian translation
2010-04-03 20:55:30 -04:00
Kjartan Maraas
b802beb0b1
Updated Norwegian bokmål translation
2010-04-03 20:55:30 -04:00
Jorge González
686efe8145
Updated Spanish translation
2010-04-03 20:55:29 -04:00
Kristian Rietveld
a86bbf759f
Improve enter/motion notify semantics
...
On X11 we receive enter notify and motion notify events for a window
regardless of its focus state. On Mac OS X this is not the case. This
commit improves the semantics to overcome this difference. It improves
on my earlier patch that sent a motion notify event when a window became
main.
Instead of sending a motion notify when a window becomes main, we now
send one when a window becomes key, which comes closest to a window
getting focus in X11. This motion notify is needed because Mac OS X does
not send motion events when an application is inactive (none of its
windows have focus), these events are sent in X11. This dummy motion
notify event (with current coordinates of the mouse cursor) allows an
application to get its prelight and other state right when it gets focus
and thus user attention.
Another change is to send an enter notify event when updating the
tracking rectangle of a GdkQuartView and the mouse cursor is currently in
this rectangle. This rectangle is at least updated on window creation.
This enter notify event is important for the case where a new window
appears right below the mouse cursor. The window has to receive an enter
notify event for the subsequent events to be processed correctly. Mac
OS X does not send one in this case, so we generate it ourselves.
Both of these synthesized events have to go through
_gdk_windowing_got_event() for updating statekeeping, etc.
append_event() has a boolean flag now to make this convenient.
2010-04-03 20:55:29 -04:00
Jorge González
453ac4a2ec
Updated Spanish translation
2010-04-03 20:55:29 -04:00
Jorge González
39945324bc
Updated Spanish translation
2010-04-03 20:55:29 -04:00
Jorge González
a622ca52a0
Updated Spanish translation
2010-04-03 20:55:29 -04:00
Andre Klapper
05bc895378
Add missing files to POTFILES.in to make l10n.gnome.org happy
2010-04-03 20:55:29 -04:00
Cody Russell
1ae55844f7
Remove existing signal connections in gtk_drag_dest_unset().
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=608370
2010-04-03 20:55:29 -04:00
Christian Dywan
21ef8f9ad9
Implement gtk_paned_get_handle_window
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=607885
2010-04-03 20:55:28 -04:00
Christian Dywan
bffcae28d7
Do not update paned position if it's already at the given value
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=561816
2010-04-03 20:55:28 -04:00
Theppitak Karoonboonyanan
36b1586f86
Updated Thai translation.
2010-04-03 20:55:28 -04:00
Li Yuan
5067f69ff1
Bug #608410 . Set cursor position after inserting text.
2010-04-03 20:55:28 -04:00
Jamil Ahmed
8a9dabd683
Updated Bengali translation
2010-04-03 20:55:28 -04:00
Jamil Ahmed
47c66ad3bc
Updated Bengali translation
2010-04-03 20:55:28 -04:00
Jamil Ahmed
7e978d3447
Updated Bengali translation
2010-04-03 20:55:28 -04:00
Javier Jardón
d8453e7826
[docs] Fix GtkOffscreenWindow documentation
2010-04-03 20:55:27 -04:00
Matthias Clasen
4343bc8d0a
Bump version
2010-04-03 20:55:27 -04:00
Matthias Clasen
539545688c
2.19.4
2010-04-03 20:55:27 -04:00
Matthias Clasen
c51d3805a7
Doc additions
2010-04-03 20:55:25 -04:00
Matthias Clasen
a7e91ca4ca
Minor doc fix
2010-04-03 20:55:24 -04:00
Matthias Clasen
a17acc0572
Updates
2010-04-03 20:55:24 -04:00
Jamil Ahmed
30101c195c
Updated Bengali translation
2010-04-03 20:55:24 -04:00
Alexander Shopov
2bd8ea3084
Updated Bulgarian translation
2010-04-03 20:55:24 -04:00
Alexander Shopov
6d84afc2f5
Updated Bulgarian translation
2010-04-03 20:55:24 -04:00
Christian Dywan
8f49f935df
Remove the destination file if trying to save a pixbuf failed
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=591102
2010-04-03 20:55:24 -04:00
Javier Jardón
bb7ff7b586
[test] Fix some typos
2010-04-03 20:55:23 -04:00
Paul Davis
1c9cc0acf0
Small memory fix
2010-04-03 20:55:23 -04:00
Michael Natterer
88977f73eb
Bug 607778 - Add accessors for GtkEntry's windows
...
Add gtk_entry_get_text_window() and get_icon_window() so we can
distinguigh them in expose-event callbacks.
2010-04-03 20:55:23 -04:00
Michael Natterer
5585335dd9
Bug 607082 - Add accessors for sealed GtkRange members
...
Add accessors for range->range_rect, range->slider_range,
range->slider_size_fixed and range->min_slider_size. Didn't add
properties for any of them because thir purpose is mostly to enable
proper subclassing.
2010-04-03 20:55:23 -04:00
Claudio Saavedra
189a35fe59
GtkTreeView: plug a leaking GtkTreeRowReference
...
This is exposed by overshooting in a HildonPannableArea. Leaking
a GtkTreeRowReference also means leaking the whole model, since
the GtkTreeModel reference count is increased for each row
reference.
Fixes bug #607770 - Leak in GtkTreeView with HildonPannableArea
2010-04-03 20:55:23 -04:00
Alexander Larsson
b8a0ff9e04
Avoid integer overflow in gdk_rectangle_intersect
...
If e.g. the right edge of the leftmost rectangle is near MIN_INT, and
the left edge of the rightmost rectangle is large then subtracting these
can lead to an integer overflow, making the resultant "width" falsely
positive, thus returning a very wide result instead of the expected
no-intersection result.
We avoid the overflow by not doing the subtraction unless we know the
result will be positive. There are still risks for overflow if x + width
or y + width is larger than MAXINT, but we won't ever overflow for valid
rects now.
This may fix #607687
2010-04-03 20:55:23 -04:00
Matthias Clasen
c81131ff21
Add a way to set wm_class on statusicons
...
Since the shell uses wm_class for sorting statusicons.
2010-04-03 20:55:22 -04:00
Alexander Larsson
b26536162c
When native window requests button presses request other button related events
...
We need to do this because otherwise the implicit button grab for this
(native) window will not deliver the button events not selected for
by this window. This is a problem because non-native child windows may
select using a wider event mask, and we can't emulate these events if we
don't get the native events.
Fixes bug #607508
2010-04-03 20:55:22 -04:00
Javier Jardón
06eb74410d
Fix some compilation warnings
...
The warnings was introduced with the changes in commit
a491091e29
2010-04-03 20:55:22 -04:00
Alexander Larsson
8f125f9b93
Drop outstanding cairo surfaces when window is made native
...
Any old cairo_surface referencing the old impl window will be wrong
when we make a window native, so drop it.
This fixes bug #599511
2010-04-03 20:55:22 -04:00
Alexander Larsson
26d5674b65
Move common gdkwindow.c code into function gdk_window_drop_cairo_surface
...
This code is duplicated in several places, and more to come, so put
it all in one place.
2010-04-03 20:55:22 -04:00
Russell Kyaw
3dcb9d4bfc
Added Burmese translation for gtk+ properties
2010-04-03 20:55:22 -04:00
Russell Kyaw
23d870de2f
Added Burmese translation
2010-04-03 20:55:22 -04:00
Simos Xenitellis
2de67d907b
Added Burmese (my) to po/LINGUAS
2010-04-03 20:55:21 -04:00
Alexander Larsson
e9da5b95de
Track direct window cairo access and avoid tricks when used
...
When a cairo surface is requested for direct window access (i.e. not
when double-buffering) we can't really track when the actual drawing happens
as cairo drawing is not virtualized. This means we can't properly flush
any outstanding window moves or implicit paints.
This actually causes problems with e.g. abiword (bug #606009 ) where they
draw without double-buffering. If you press down it scrolls the window
and then draws the caret, but the caret drawing does not flush the
outstanding move from the scroll, so the caret gets drawn on the wrong
screen.
We fix this by never allowing either implicit paints or outstanding window
moves on impl-windows where any windows related to it has an outstanding
direct cairo surface. Luckily this is not very common so in practice this
doesn't matter much.
2010-04-03 20:55:21 -04:00
Kjartan Maraas
4aa4093b6e
Updated Norwegian bokmål translation
2010-04-03 20:55:21 -04:00
Kjartan Maraas
04bc35f060
Updated Norwegian bokmål translation
2010-04-03 20:55:21 -04:00
Kjartan Maraas
c8fdec0419
Updated Norwegian bokmål translation
2010-04-03 20:55:21 -04:00
Murray Cumming
2a762bf6ca
GtkToolPalette: Fix a compiler warning introduced in my last commit.
2010-04-03 20:55:21 -04:00
Javier Jardón
ef3dc5fd42
Add gtk_widget_has_rc_style() accessor
...
Add gtk_widget_has_rc_style() as accessor for sealed
GTK_WIDGET_RC_STYLE widget flag.
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:55:21 -04:00
Kristian Rietveld
9743d2e83c
Bug 607322 - Double-click doesn't work if the item is selected in...
...
Slight correction to fix for #596473 .
2010-04-03 20:55:20 -04:00
Murray Cumming
eed0dd0944
GtkToolPalette: Change gtk_tool_palette_get_drop_group() return.
...
* gtk/gtktoolpalette.[h|cc]: gtk_tool_palette_get_drop_group():
Change the return type from GtkWidget* to GtkToolItemGroup*,
for consistency with other parts of GTK+, such as GtkToolbar.
2010-04-03 20:55:20 -04:00
Matthias Clasen
2091807b24
Fix some issues with action widgets
...
We need to hide/show them depending on show_tabs, and we should
not grow the notebooks requisition unless we have to. Reported
in bug 601412.
2010-04-03 20:55:20 -04:00
Matthias Clasen
c31f02b455
Fix declaration of gtk_print_job_set_status
...
The problem was reported in bug 606698.
2010-04-03 20:55:20 -04:00
Matthias Clasen
b5061249e7
Reset effective_attrs when necessary
...
This fixes both bug 607217 and bug 607269.
2010-04-03 20:55:19 -04:00
Matthias Clasen
58956ad7e2
Fix a few C99isms
...
Reported in bug 606761.
2010-04-03 20:55:19 -04:00
Daniel Nylander
38c309869d
Updated Swedish translation
2010-04-03 20:55:19 -04:00
Matej Urbančič
ac4d89113b
Updated Slovenian translation
2010-04-03 20:55:19 -04:00
Alexander Larsson
51b774f59a
Avoid drawing implicit paints to destroyed windows
...
It may happen that a window gets destroyed during painting, if so
we should not draw the implicit paint double-buffered pixmap to it
as that will cause a BadDrawable X error.
This fixes bug 600865
2010-04-03 20:55:19 -04:00
Xandru Armesto Fernandez
07d3c79945
Updated asturian translation
2010-04-03 20:55:19 -04:00
Xandru Armesto Fernandez
84c77b7ca5
Updated asturian translations
2010-04-03 20:55:19 -04:00
Xandru Armesto Fernandez
0d0f3a1e4c
Updated asturian translations
2010-04-03 20:55:18 -04:00
Murray Cumming
18b7ad4182
GtkToolPalette: Use GtkToolItemGroup* instead of GtkWidget* for setter parameters.
...
See Bug #567729
2010-04-03 20:55:18 -04:00
Michael Natterer
27f81d8918
Some fixes in gtkoffscreenwindow.h
...
- use (void) not () for void functions
- disallow individual inclusion unconditionally
2010-04-03 20:55:18 -04:00
Inaki Larranaga Murgoitio
e40dcff11b
Updated Basque language
2010-04-03 20:55:18 -04:00
Inaki Larranaga Murgoitio
4f37e160af
Updated Basque language
2010-04-03 20:55:18 -04:00
Javier Jardón
905edf9478
[docs] Use the correct GTK-doc syntax to refer to GTK+ properties
2010-04-03 20:55:18 -04:00
Jorge González
74a104d73a
Updated Spanish translation
2010-04-03 20:55:18 -04:00
Javier Jardón
149f5891fa
[docs] Use the correct GTK-doc syntax to refer to GTK+ property
2010-04-03 20:55:17 -04:00
Javier Jardón
29e8460604
[docs] Remove GTK+ 1.2 tutorial from master
...
The tutorial it's still inside the gtk-1-2 branch if It's needed
2010-04-03 20:55:17 -04:00
Khaled Hosny
eaac92f621
Updated Arabic translation
2010-04-03 20:55:17 -04:00
Javier Jardón
f01e0670f8
[docs] Fix documentation build warnings
...
Fix issues when using GI annotations so the xslt does a
fallback if the local links do not exist.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=604876
2010-04-03 20:55:17 -04:00
Matthias Clasen
c0d7fe2ad4
Correct PRC6 and PRC9 envelope sizes
...
See bug 603144 for the full story.
2010-04-03 20:55:17 -04:00
Matthias Clasen
e3cf8611b2
Bump version
2010-04-03 20:55:17 -04:00
Matthias Clasen
f0d57f40f5
2.19.3
2010-04-03 20:55:16 -04:00
Matthias Clasen
82956742c0
Dco updates
2010-04-03 20:55:14 -04:00
Matthias Clasen
57ca68d591
Updates
2010-04-03 20:55:14 -04:00
Christian Persch
cf9edf9ff7
Implement property editor for GdkColor properties
...
Bug #606434 .
2010-04-03 20:55:14 -04:00
Christian Dywan
4285f21b3b
Limit GtkContainer::border-width to 65535
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=605199
2010-04-03 20:55:13 -04:00
Matthias Clasen
6860f86724
Plug a pixmap leak
...
We were getting our refcounts tangled up when setting drawable clips on
GCs with CSW, leading to a pretty bad pixmap leak. See bug 606143.
2010-04-03 20:55:13 -04:00
Christian Dywan
43572af86e
Implement "preedit-changed" in GtkEntry and GtkTextView
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=602284
2010-04-03 20:55:13 -04:00
Christian Dywan
cad18bbfe3
Use const gchar* in gtk_window_get_icon_name implementation
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=597100
2010-04-03 20:55:13 -04:00
Christian Dywan
174c126b6e
Document GtkWidget::state-changed signal properly
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=598383
2010-04-03 20:55:13 -04:00
Javier Jardón
a821df1577
[docs] Add missing "Deprecated: 2.x" to the api doc comments
2010-04-03 20:55:13 -04:00
Daniel Nylander
99e2f97f30
Updated Swedish translation
2010-04-03 20:55:12 -04:00
Daniel Nylander
4f0619de15
Updated Swedish translation
2010-04-03 20:55:12 -04:00
Christian Persch
66882103cc
Allow NULL iter in gtk_combo_box_set_active_iter to unset
...
Bug #606230 .
2010-04-03 20:55:12 -04:00
Matthias Clasen
7673c45fec
Try a little harder to survive close to OOM
2010-04-03 20:55:12 -04:00
Matthias Clasen
675ead1d82
Avoid an FPE for ludicrous scale values
...
...just bail out early.
2010-04-03 20:55:12 -04:00
Javier Jardón
b3e06e8302
Use g_strcmp0() instead custom safe_strcmp()
...
Reported by Rafal Luzynski in
https://bugzilla.gnome.org/show_bug.cgi?id=606415
2010-04-03 20:55:12 -04:00
Xandru Armesto Fernandez
e9d18c8e07
Updated asturian language
2010-04-03 20:55:11 -04:00
Javier Jardón
01a3ad45b8
Fix links in GtkComboBox migration guide
...
Some link to GTK+ classes are not gererated because the ":" near
the class name; solution: "#GtkComboBox<!---->:"
Also, added some links to the proper signals
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=606291
2010-04-03 20:55:11 -04:00
Jean Brefort
694bf7230e
fix critical in gtk_editable_insert_text
2010-04-03 20:55:11 -04:00
Javier Jardón
f8d1cf58af
Deprecate widget flag: GTK_WIDGET_CAN_FOCUS
...
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:55:11 -04:00
Javier Jardón
69de358b38
Deprecate some widget flags
...
Deprecate the following:
GTK_WIDGET_APP_PAINTABLE
GTK_WIDGET_CAN_DEFAULT
GTK_WIDGET_DOUBLE_BUFFERED
GTK_WIDGET_HAS_DEFAULT
GTK_WIDGET_HAS_GRAB
GTK_WIDGET_RECEIVES_DEFAULT
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:55:10 -04:00
Shankar Prasad
312263233f
Made couple of translation changes in kn.po
2010-04-03 20:55:10 -04:00
Matthias Clasen
bd5431e620
Setup libjpeg error handlers early enough
...
See bug 606068 for details.
2010-04-03 20:55:10 -04:00
Jorge González
95ccaa02de
Updated Spanish translation
2010-04-03 20:55:10 -04:00
Timo Jyrinki
9d7ef2875d
One-line fix to a noticiable translation bug.
2010-04-03 20:55:10 -04:00
Matej Urbančič
6972375688
Updated Slovenian translation
2010-04-03 20:55:10 -04:00
Maxim V. Dziumanenko
e4d9e5dd63
Update Ukrainian translation
2010-04-03 20:55:10 -04:00
Kjartan Maraas
bfadb65fb0
Updated Norwegian bokmål translation.
2010-04-03 20:55:09 -04:00
Inaki Larranaga Murgoitio
5c35215457
Updated Basque language
2010-04-03 20:55:09 -04:00
Javier Jardón
02b2810a0e
Fix compilation warning: use const *gchar variable
...
https://bugzilla.gnome.org/show_bug.cgi?id=605090
2010-04-03 20:55:09 -04:00
Javier Jardón
7ed2cbcfce
Fix compilation warning: use the correct conversion specifier
...
Use G_GSIZE_FORMAT instead of %i
The warning was added in
commit ba651d4022
2010-04-03 20:55:08 -04:00
Christian Dywan
4b03789551
Don't use GTK_WIDGET_NO_WINDOW in GtkEventBox
2010-04-03 20:55:08 -04:00
Christian Dywan
5db40e41b3
No GTK_WIDGET_NO_WINDOW in GtkFixed and deprecate gtk_fixed_set_has_window
2010-04-03 20:55:08 -04:00
Christian Dywan
bcb255593d
Don't use GTK_WIDGET_NO_WINDOW in GtkContainer
2010-04-03 20:55:08 -04:00
Christian Dywan
fc2cbf960c
Deprecate flag macros for toplevel, state, no window and composite child
...
Deprecate widget flag macros GTK_WIDGET_STATE, GTK_WIDGET_SAVED_STATE,
GTK_WIDGET_FLAGS, GTK_WIDGET_TOPLEVEL, GTK_WIDGET_NO_WINDOW and
GTK_WIDGET_COMPOSITE_CHILD.
Also deprecate the type macros GTK_WIDGET_TYPE, GTK_OBJECT_TYPE_NAME and
GTK_OBJECT_TYPE which have become redundant.
Instances of GTK_WIDGET_TOPLEVEL are replaced with gtk_widget_is_toplevel,
GTK_WIDGET_TYPE is replaced with G_OBJECT_TYPE, GTK_WIDGET_COMPOSITE_CHILD
is replaced with use of the "composite-child" property and uses of
GTK_WIDGET_NO_WINDOW are adjusted to use gtk_widget_get_has_window.
Uses of GTK_WIDGET_SAVED_STATE and GTK_WIDGET_FLAGS inside GtkWidget are
changed to direct flag usage.
Documentation is updated to refer to gtk_widget_set_has_window and
gtk_widget_get_has_window.
Gail and tests are updated as well.
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-04-03 20:55:07 -04:00
Christian Dywan
20dcd8a723
Fix missing GTK_WIDGET cast on printer option widget in construct_widgets
2010-04-03 20:53:49 -04:00
Christian Dywan
ea7bd00e92
Fix missing GTK_WINDOW cast in _gtk_menu_shell_update_mnemonics
2010-04-03 20:53:49 -04:00
Benjamin Otte
d3e91fbba6
Document missing signal parameter
2010-04-03 20:53:49 -04:00
Javier Jardón
54573f1582
[docs] Add documentation for GdkWindow 'cursor' property
...
Reported by Rafal Luzynski here:
https://bugzilla.gnome.org/show_bug.cgi?id=604821
2010-04-03 20:53:49 -04:00
Theppitak Karoonboonyanan
62a2dd6c78
Updated Thai translation.
2010-04-03 20:53:49 -04:00
Hiroyuki Ikezoe
699fc85a67
Use CAIRO_VERSION instead of CAIRO_VERSION_CODE
...
Cairo does not have CAIRO_VERSION_CODE macro.
Fix for bug #605472 .
2010-04-03 20:53:49 -04:00
Matthias Clasen
e337bd8583
Make mnemonic hiding work in all cases
...
Both gtk-enable-mnemonics and gtk-auto-mnemonis did not work with
gtk_label_set_markup_with_mnemonic(). Also, fix gtk_label_set_pattern().
2010-04-03 20:53:49 -04:00
Matthias Clasen
facb5e7d60
Update dependency information
2010-04-03 20:53:48 -04:00
Matthias Clasen
37e71e4e28
Don't use string concatentation in translated strings
...
gettext can't handle it, and there is no real need to use G_GSIZE_FORMAT
here anyway.
2010-04-03 20:53:48 -04:00
Matej Urbančič
1566b3af8a
Updated Slovenian translation
2010-04-03 20:53:48 -04:00
Matej Urbančič
3dca3822fb
Updated Slovenian translation
2010-04-03 20:53:48 -04:00
Kristian Rietveld
51f9ce390f
Plug leaks in quartz implementation of gtk_drag_begin_idle()
2010-04-03 20:53:48 -04:00
Kristian Rietveld
91663e0791
Rework a previous commit to not crash in addition to fixing leaks
...
The target list/entry to pasteboard entry conversions return a NSSet
now instead of NSArray.
2010-04-03 20:53:48 -04:00
Murray Cumming
b2d6bf1526
GtkToolPalette: docs: Minor English corrections.
2010-04-03 20:53:48 -04:00
Johan Dahlin
3871291ba3
Make sure Gdk-2.0.gir is installed
...
Fixes a variable name typo
2010-04-03 20:53:47 -04:00
Johan Dahlin
9242d1414d
Avoid warnings when introspetion is not available
...
-include is the same as include but will never warn if the
file is not available
2010-04-03 20:53:47 -04:00
Johan Dahlin
e4ac9609a2
Fix build with system install of introspection
...
Or redo it properly and remove previous hack by Matthias.
2010-04-03 20:53:47 -04:00
Kristian Rietveld
753e30667f
Fix compiler warning
2010-04-03 20:53:47 -04:00
Kristian Rietveld
80a015529d
Fix memory management of types array
...
Also add autorelease pool to gtk_drag_begin_idle().
2010-04-03 20:53:47 -04:00
Kristian Rietveld
b48c8318a1
Do not leak the NSMutableSet
2010-04-03 20:53:47 -04:00
Kristian Rietveld
b8fa675a6a
Release view after setting it as contentView
...
Fixes GdkQuartzView being leaked.
2010-04-03 20:53:47 -04:00
Kristian Rietveld
969ff4c863
Fix memleak in get_nsscreen_for_point()
...
One codepath did not go through GDK_QUARTZ_RELEASE_POOL, refactored
the code to fix this.
2010-04-03 20:53:47 -04:00
Kristian Rietveld
81cf73ae8a
Fix memory leak in GdkQuartzView
...
Should remove the tracking rect in dealloc.
2010-04-03 20:53:46 -04:00
Kristian Rietveld
8273349eca
Use CGFLOAT_DEFINED, don't rely on NSINTEGER_DEFINED for this
2010-04-03 20:53:46 -04:00
Kristian Rietveld
50c7d672c1
Unset expander_column when expander column is removed from tree view
2010-04-03 20:53:46 -04:00
Kristian Rietveld
0d51400b29
Add gdk_keymap_map_virtual_modifiers() to Quartz backend
2010-04-03 20:53:46 -04:00
Kristian Rietveld
f7daeec10f
Start using CGFloat
...
Fixes a bunch of compiler warnings. Since CGFloat does not exist on
Tiger and earlier, we have added a typedef likewise as was done for
NSInteger.
2010-04-03 20:53:46 -04:00
Kristian Rietveld
5d3e414994
Fix compile warning in gdk_cursor_new_from_pixmap
2010-04-03 20:53:46 -04:00
Kristian Rietveld
b86b00b387
initWithContentRect: has a NSUInteger parameter now
...
The typedef in place for Tiger and earlier systems should change this
to unsigned int without problems.
2010-04-03 20:53:46 -04:00
Cody Russell
1fa4359218
Add GtkOffscreenWindow to gtk-sections.txt
2010-04-03 20:53:46 -04:00
Cody Russell
a739d9fb80
Documentation changes.
2010-04-03 20:53:45 -04:00
Cody Russell
2831ef6b19
Add 'Since 2.20' documentation.
2010-04-03 20:53:45 -04:00
Cody Russell
b7fd519822
Add documentation note for GtkOffscreenWindow emission of damage-event.
2010-04-03 20:53:45 -04:00
Cody Russell
4c14a043eb
Add gtk-doc section for GtkOffscreenWindow
2010-04-03 20:53:45 -04:00
Cody Russell
a078bd09b0
Add gtk_offscreen_window_get_{pixmap,pixbuf} to gtk.symbols
2010-04-03 20:53:45 -04:00
Cody Russell
da2d84c0bf
Add gtkoffscreenwindow.sgml
2010-04-03 20:53:45 -04:00
Cody Russell
4c4f795da9
Add gtk_offscreen_window_get_pixmap() and gtk_offscreen_window_get_pixbuf(), some API docs.
2010-04-03 20:53:45 -04:00
Cody Russell
e0e2c768dd
Add headers
2010-04-03 20:53:45 -04:00
Cody Russell
f76e9f5804
Add offscreen window symbols to gtk.symbols
2010-04-03 20:53:44 -04:00
Cody Russell
cab66c128c
Add gtk_offscreen_window_new() prototype to gtkoffscreenwindow.h
2010-04-03 20:53:44 -04:00
Cody Russell
6b9924db1c
Add delete-event callback to window, use gtk_widget_queue_draw() instead of gtk_widget_draw()
2010-04-03 20:53:44 -04:00
Cody Russell
87487cea62
GtkOffscreenWindow implementation for #604901
2010-04-03 20:53:44 -04:00
Jorge González
ddf4cde3af
Updated Spanish translation
2010-04-03 20:53:44 -04:00
Kristian Rietveld
e9b593c2e6
Start using NSInteger and NSUInteger
...
These have been introduced in Leopard and default to int and unsigned int.
In 64-bit Snow Leopard they are long and unsigned long. This caused issues
with the getRectsBeingDrawn message which needs a pointer to a NSInteger
(long on 64-bit!) but we passed in an integer. Surprisingly this problem
was visible when compiling with -O0 (segfault), but *not* when compiling
with -O1. Other messages were NSInteger is now needed have also been
adapted.
Since NSInteger and NSUInteger are not available on Tiger, a define
has been added to add typedefs for these when they have not been defined
by the system headers.
2010-04-03 20:53:44 -04:00
Ivar Smolin
324c3e4ced
Updating Estonian translation
2010-04-03 20:53:44 -04:00
Iestyn Pryce
f099bf1f58
Updated Welsh translation
2010-04-03 20:53:44 -04:00
Iestyn Pryce
1d3707ca56
Updated Welsh translation
2010-04-03 20:53:43 -04:00
Kristian Rietveld
3e9dabbdb8
Fix call to update_prelight()
...
Seems like some minus signs sneaked in while diffing and reapplying...
Fixes regression noted in 480065.
2010-04-03 20:53:43 -04:00
Theppitak Karoonboonyanan
fa60b41c52
Updated Thai translation.
2010-04-03 20:53:43 -04:00
Jonh Wendell
3750e4fb67
Fix a memory leak in gtk_label_compose_effective_attrs()
2010-04-03 20:53:43 -04:00
Matthias Clasen
8928fd096e
Forgotten news
2010-04-03 20:53:42 -04:00
Matthias Clasen
33a021868a
Bump version and add dist-bzip2
2010-04-03 20:53:42 -04:00
Matthias Clasen
1de99c2c95
2.19.2
2010-04-03 20:53:42 -04:00
Kristian Rietveld
a763546c8f
Correct problems with earlier fix for bug #480065
...
Initialize event_last_[xy] to out of range coordinates and also update
these values in enter and leave notify. Fix up calls to
update_prelight() from size allocate. Unconditionally doing these calls
caused problems with hover selection. Now we only do this call when
the "width before the expander column" has changed. (Which might be
awkward, but it is the best heuristic I could come up with so far).
2010-04-03 20:53:38 -04:00
Kristian Rietveld
0cbf76ed47
Bug 480065 - wrong tree collapsed (or expanded) after having scrolled
...
Commit again after revert.
Store (x, y) of last motion event. From
gtk_tree_view_adjustment_changed(), call prelight_or_select() so that
the prelight is recalculated. We do the same from
gtk_tree_view_size_allocate() for the case that clicking on an expander
shows new rows that resize the column(s) left of the expander. This
means that the expander is moved horizontally, in such a case the
prelight also has to be reconsidered.
2010-04-03 20:53:38 -04:00
Matthias Clasen
00ec5fcd7a
Updates
2010-04-03 20:53:38 -04:00
Tor Lillqvist
a75065a458
Add gdk_keymap_map_virtual_modifiers() implementation
2010-04-03 20:53:38 -04:00
Matthias Clasen
afbc052916
Fix a think in the CSW input extension handling
...
This was causing stack overflow due to an obvious infinite recursion.
See e.g. RH #548849 .
2010-04-03 20:53:38 -04:00
Matthias Clasen
58f7b084b5
Fix make check
2010-04-03 20:53:37 -04:00
Matthias Clasen
a8fcc1c482
Improve selection/arrow key behaviour in GtkTextView
...
This patch makes the text view behave more similar to entries.
Patch by Michael Natterer, see bug 50942
2010-04-03 20:53:37 -04:00
Matthias Clasen
87075b3b97
Add a release note about virtual modifiers
2010-04-03 20:53:37 -04:00
Matthias Clasen
d1c3745b07
Try harder to handle accelerators involving virtual modifiers
...
This patch changes GDK to add all matching virtual modifiers in
the state field of the key event. The corresponding GTK+ change makes
use of a new GdkKeymap function to map virtual modifiers back to
real modifiers and detect conflicts while doing so.
This should fix bug 603190 and bug 427409.
2010-04-03 20:53:37 -04:00
Richard Hughes
94f6a09585
Add icc-profile option to gdk-pixbuf for the TIFF image format
2010-04-03 20:53:37 -04:00
Javier Jardón
af09dd08c1
Move documentation to inline comments: GtkMountOperation
...
https://bugzilla.gnome.org/show_bug.cgi?id=597865
2010-04-03 20:53:37 -04:00
Javier Jardón
dab1cacba7
Move documentation to inline comments: GtkImage
...
https://bugzilla.gnome.org/show_bug.cgi?id=597865
2010-04-03 20:53:37 -04:00
Javier Jardón
f746afc794
Move documentation to inline comments: GtkFileChooser
...
Also, use Gtk-Doc markup to improve documentation
cross-references.
https://bugzilla.gnome.org/show_bug.cgi?id=597865
2010-04-03 20:53:37 -04:00
Benjamin Otte
9889c4db88
Build adds not-yet-built libgtk-x11-2.0.la into the linker flags
...
Commit 9e7c91bf83 added a bit too many
LDFLAGS to the build of gtk-update-icon-cache, revert it to only use the
required ones. Bug 605036
2010-04-03 20:53:36 -04:00
Matthias Clasen
1f50800129
Make mnemonic hiding work for printer option widgets
...
By making the widget itself insensitive.
2010-04-03 20:53:36 -04:00
Matthias Clasen
132276fa75
More auto-mnemonics tweaks
...
When auto-mnemonics are on, hide mnemonics with insensitive target.
2010-04-03 20:53:36 -04:00
Matthias Clasen
779d3d58ea
Some improvements to the auto-mnemonics code
2010-04-03 20:53:36 -04:00
Matthias Clasen
9de876c222
Handle reading the create-folders property
2010-04-03 20:53:36 -04:00
Javier Jardón
2abf1056c9
Fix compilation warning: cast to GTK_WIDGET()
2010-04-03 20:53:36 -04:00
Javier Jardón
14724073a4
Fix compilation warning: use the correct conversion specifier
...
Use G_GSIZE_FORMAT instead of %d
2010-04-03 20:53:36 -04:00
Jorge González
c12194feae
Updated Spanish translation
2010-04-03 20:53:35 -04:00
Matthias Clasen
d68d78de81
Only show the mnemonic underline when pressing Alt
...
...and show them in menus when navigating the menu with the keyboard.
This is similar to what other platforms do, and reduces visual clutter.
There is a setting to control this. Most of the work on this patch was
done by Thomas Wood. See bug 588554.
2010-04-03 20:53:35 -04:00
Matthias Clasen
ce9c3df4c8
Small documentation correction
2010-04-03 20:51:58 -04:00
Matthias Clasen
4bc8dcede8
Properly free damage events
...
This was reported in bug 605008
2010-04-03 20:51:57 -04:00
Benjamin Otte
3659db3a4a
Fix up linker flags
...
This adds LDFLAGS everywhere where they were previously pulled in via
other libraries. This is however unsupported by modern linkers.
You can trigger these failures by building with gold (or, I'm told, with
very new ld).
2010-04-03 20:51:57 -04:00
Benjamin Otte
71d7b97a90
Disconnect signal handlers on adjustment in destroy handler
...
Not removing the signal handler caused crashes if the adjustment
survived longer than the scrolled window and still emitted signals. This
could happen inside WebKit.
2010-04-03 20:51:57 -04:00
Jorge González
7545e7211c
Updated Spanish translation
2010-04-03 20:51:57 -04:00
Carlos Garcia Campos
acca24e9c1
Fix a crash on print preview
...
There's no printer when doing print preview so it's not possible to get
its hard margins.
2010-04-03 20:51:57 -04:00
Dan Winship
507bf6a85f
Change GtkIconSize to int in params/return values
...
GtkIconSize is an extensible enumeration (via
gtk_icon_size_register()), so methods that claim to take/return a
GtkIconSize need to actually use "int" to work correctly with bindings
that are strict about enum values.
https://bugzilla.gnome.org/show_bug.cgi?id=604895
2010-04-03 20:51:56 -04:00
Dan Winship
750a96e4cc
Fix out/transfer annotations on GtkImage getters
...
https://bugzilla.gnome.org/show_bug.cgi?id=604895
2010-04-03 20:51:56 -04:00
Matthias Clasen
b68bbbb892
Fix doc typos
...
Reported in bug 604902.
2010-04-03 20:51:56 -04:00
Javier Jardón
1abc649b8c
[docs] Cast to GFunc in gtk_tree_selection_get_selected_rows() example code
...
Reported by Diego Escalante Urrelo here:
https://bugzilla.gnome.org/show_bug.cgi?id=502266
2010-04-03 20:51:56 -04:00
Hiroyuki Ikezoe
f8b8bb4bf9
[gtk] GtkCellEditable::editing-cancelled should be writable
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=604881
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-04-03 20:51:56 -04:00
Matthias Clasen
360820e9bf
Fix a thinko in computing damage for segments
...
The code was not taking the endpoint of the first segment into account.
This was reported in bug 604747.
2010-04-03 20:51:56 -04:00
Matthias Clasen
214d5efdd4
Ensure native windows in gdk_property_change
...
Using X properties on non-toplevel windows is somewhat exotic,
but some people seem to do it, so better to keep it working.
See bug 604787.
2010-04-03 20:51:55 -04:00
Torsten Schoenfeld
600ae2db92
[docs] Add some 'Since: 2.4' tags
...
This patch adds Since: 2.4 tags to gtk_bindings_activate_event,
gtk_window_propagate_key_event and gtk_window_activate_key.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=604859
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-04-03 20:51:55 -04:00
Hiroyuki Ikezoe
5cb043d5dd
Use g_value_dup_string instead.
...
g_value_get_string and g_strdup should be replaced by
g_value_dup_string.
2010-04-03 20:51:55 -04:00
Richard Hughes
f289f667e7
Add color management support to gdk_pixbuf_save
...
This patch adds an icc-profile option to a GdkPixbuf which can
be used to read or write an embedded ICC profile.
Add PNG support for now, but other image formats are awaiting
review.
2010-04-03 20:51:55 -04:00
Alexander Larsson
89ac81e767
Actually send exposes from gdk_window_clear_area_e
2010-04-03 20:51:55 -04:00
Javier Jardón
0c991c5645
Add 'Since: 2.18' tag
...
Add missing 'Since:' tag in gdk_window_get_root_coords() and
gdk_window_is_destroyed()
Reported by Rafal Luzynski in
https://bugzilla.gnome.org/show_bug.cgi?id=604821
2010-04-03 20:51:55 -04:00
Nguyễn Thái Ngọc Duy
901aa0d645
vi.po: Updated Vietnamese translation
2010-04-03 20:51:54 -04:00
Christian Dywan
2336ebca5c
Use gtk_widget_get_tooltip_text for gtk_tooltips_data_get in Gail
2010-04-03 20:51:54 -04:00
Tor Lillqvist
9d4e82a0dc
Make the OLE2 DND code selectable at run-time instead of compile-time
...
(It still doesn't work, though.)
2010-04-03 20:51:54 -04:00
Johan Dahlin
b0e01bee7f
Make sure dist check includes introspection
2010-04-03 20:51:54 -04:00
Johan Dahlin
944bf11cee
Bump the required introspection version
...
Makefile.introspection was added in 0.6.7
2010-04-03 20:51:54 -04:00
Johan Dahlin
3a4f027074
Use Makefile.introspection
...
Use the new fancy rules from the Makefile.introspection, it makes
the rules prettier and avoids quite a bit of duplication
2010-04-03 20:51:54 -04:00
Johan Dahlin
a8bf73cfa7
Update introspection.m4
...
This one includes the INTROSPECTION_MAKEFILE variable
which we will include in all Makefiles which are going
to build introspection girs/typelibs
2010-04-03 20:51:54 -04:00
Johan Dahlin
4330bd6e52
Bump required introspection version to 0.6.6
2010-04-03 20:51:54 -04:00
Johan Dahlin
6c9bfc5f39
Make sure dist check works with introspection
...
We need to prepend the srcdir to all variables
passed into the scanner as it runs with srcdir != builddir during
distcheck.
2010-04-03 20:51:53 -04:00
Johan Dahlin
9d4674a5ec
Re-add accidentially removed gtkintl header
2010-04-03 20:51:53 -04:00
Johan Dahlin
cd50594db8
Add no-portability option to automake
...
We require GNU Make and has done so for a while already
2010-04-03 20:51:53 -04:00
Colin Walters
fcbbd763cd
[introspection] Merge in Gtk-custom.c annotations
...
The Gtk-custom.c file in gir-repository contained a number of
introspection annotations. Merge those into the GTK source files.
Some documentation was moved from the tmpl/ files to accomodate
the addition of annotations.
2010-04-03 20:51:53 -04:00
Johan Dahlin
99de88c452
Bump the required version of autoconf to 2.62
...
It's need by the new introspection macro.
2010-04-03 20:51:52 -04:00
Johan Dahlin
7c0624aa92
Separate private from public gdk headers
...
We don't want to parse the private gdk headers when
creating the GIR.
2010-04-03 20:51:52 -04:00
Johan Dahlin
b1397c64e4
Add an m4 directory and a introspection.m4
...
So we don't need the introspection.m4 file
to create a dist of gtk+
2010-04-03 20:51:52 -04:00
Tomeu Vizoso
1ba7e8eb15
Add a few more annotations to GtkIconTheme
2010-04-03 20:51:51 -04:00
Colin Walters
f584679cfa
Merge in Gdk-custom.c introspection annotations
...
The Gdk-custom.c file in gir-repository contained a number of
introspection annotations. Merge those into the GDK source files.
Some documentation was moved from the tmpl/ files to accomodate
the addition of annotations.
https://bugzilla.gnome.org/show_bug.cgi?id=592279
2010-04-03 20:51:51 -04:00
Colin Walters
41342b23e5
Build introspection data for gdk-pixbuf, gdk, and gtk
...
Generate .gir and .typelib files for gdk-pixbuf, gdk, and gtk.
https://bugzilla.gnome.org/show_bug.cgi?id=592279
2010-04-03 20:51:51 -04:00
Tor Lillqvist
3546feb389
Add copyright note and comment for merged old code
2010-04-03 20:51:51 -04:00
Tor Lillqvist
af37f76bc6
Work on OLE2-based generic DND
...
Intermediate commit of work in progress on integrating the old code
for OLE2-based generic drag and drop from Arhaeopteryx Software, from
a long time ago in the GTK+ 1.3 timeframe. Does still not work and is
as before not compiled in unless OLE2_DND is defined in
gdkdnd-win32.c. (Thus, for inter-process DND, still only WM_DROPFILES
style dropping of files on GTK+ apps works.)
Related slight refactoring of other code that shouldn't change how it
works. Add more global variables for run-time constants (once
initialized) representing well-known GdkAtoms and registered Windows
clipboard formats, as they with the generic DND code will be needed in
several source files. Some improved debugging output.
2010-04-03 20:51:51 -04:00
Tor Lillqvist
e5b4a51b6b
Make more GdkAtom variables visible in all gdk/win32 files
...
Make the GdkAtoms for the image formats extern and usable from all
gdk/win32 files.
2010-04-03 20:51:51 -04:00
Tor Lillqvist
750fa5398e
Make the gdk/win32 event debug printing function non-static
...
Make print_event() extern and rename it to _gdk_win32_print_event() so
it can be used from all gdk/win32 source files.
2010-04-03 20:51:51 -04:00
Tor Lillqvist
e70ef71c3a
Remove unused functions and variables
2010-04-03 20:51:50 -04:00
Benjamin Otte
fb0968a99f
Revert dd511e825a
...
The patch completely breaks entry completion - as can be seen when using
epiphany. Bug 480065 has been reopened.
2010-04-03 20:51:50 -04:00
Javier Jardón
4f0f6243c9
Add info about single includes when compiling GTK+ apps
...
gtk.h, gdk.h, gdk-pixbuf.h. are the recommended includes.
But there are some exceptions: gdkkeysyms.h, gdkx.h and
gtkunixprint.h
https://bugzilla.gnome.org/show_bug.cgi?id=604117
2010-04-03 20:51:49 -04:00
Matthew Barnes
52e84a9ecc
Bug 602099 - Actions can be activatable too
...
Add a couple type checks in gtk_activatable_do_set_related_action() to
allow both GtkWidgets and GtkActions to implement GtkActivatable. Bug
602099 describes a use case for this.
Also add a GObject prerequisite to the GtkActivatable interface.
2010-04-03 20:51:49 -04:00
Jordi Serratosa
0c90bacff8
Fixes to Catalan translation
2010-04-02 18:26:35 +02:00
Matthias Clasen
b416198a18
Don't use gio-unix on win32
...
We only need gio-unix when building the x11 backend.
Reported by Yevgen Muntyan in bug 614540.
2010-04-01 10:07:11 -04:00
Inaki Larranaga Murgoitio
9d2168ded2
Updated Basque language
2010-03-31 12:22:17 +02:00
Inaki Larranaga Murgoitio
da3efeb746
Updated Basque language
2010-03-31 12:06:11 +02:00
Inaki Larranaga Murgoitio
8809f33b65
Updated Basque language
2010-03-31 12:06:11 +02:00
Kenneth Nielsen
0a1ad1a4e2
Updated Danish translation
2010-03-31 00:21:44 +02:00
Runa Bhattacharjee
6ced4f526c
Updated Bengali India Translation
2010-03-30 15:53:06 +05:30
Runa Bhattacharjee
0cbffefde8
Updated Bengali India Translation
2010-03-30 15:06:26 +05:30
Jordi Serratosa
e1f73a1984
Fixes to Catalan translation
2010-03-29 20:27:08 +02:00
Tristan Van Berkom
b4d09fd5fb
Fixed possible devision by zero in size negotiations
...
Fixed GtkToolItemGroup to avoid deviding by zero when all children
are invisible or there are no children. bgo #613974 .
2010-03-29 13:27:40 -04:00
Tristan Van Berkom
7e43059e84
Added missing default events in realize() implementations
...
Added gtk_widget_get_events() to the event masks declared by
GtkToolPalette & GtkToolItemGroup.
2010-03-29 13:22:18 -04:00
Tristan Van Berkom
133e3e84a7
Added missing break statement to mutator: gtk_tool_item_group_set_property()
2010-03-29 13:16:54 -04:00
Benjamin Otte
9514e741cd
Fix error case in filesystem model
...
We should not unref the model here, it might not even exist anymore.
Instead check if it exists and only use it if it does.
The unref was leftover from a previous fix in
ba9f53397f .
Spotted by Matthias Clasen in
https://bugzilla.gnome.org/show_bug.cgi?id=614099
2010-03-29 16:29:20 +02:00
David Planella
b84d4a308e
Updated Catalan translation with a couple of fixes
2010-03-29 09:22:08 +02:00
David Planella
9e607a572b
Updated Catalan translation
2010-03-29 09:16:43 +02:00
Jamil Ahmed
7d90caca4f
Updated Bengali translation
2010-03-28 15:49:58 +06:00
Christian Dywan
23fa7fcc6e
Fix a misspelling in gtk_cell_view_new_with_markup
...
This fixes bug 613887.
2010-03-28 04:22:41 +02:00
Ask H. Larsen
a34ddc38b6
Updated Danish translation
2010-03-28 00:15:48 +01:00
Maxim V. Dziumanenko
484c40bab0
Updated Ukrainian translation
2010-03-27 14:42:07 +02:00
Maxim V. Dziumanenko
e11db0ea01
Updated Ukrainian translation
2010-03-27 14:29:56 +02:00
Jamil Ahmed
f896f48dcc
Updated Bengali translation
2010-03-27 18:10:02 +06:00
Jamil Ahmed
9c1ad44ed9
Updated Bengali translation
2010-03-27 18:02:54 +06:00
Hiroyuki Ikezoe
ffbd007c50
[directfb] Fix compile error on DirectFB backend.
...
Add a stub for gdk_keymap_map_virtual_modifiers.
2010-03-25 16:39:41 +01:00
Hiroyuki Ikezoe
22b0149b78
Use g_value_take_string to avoid redundant invoking g_free.
2010-03-25 16:34:46 +01:00
Javier Jardón
014c28c208
Fix compilation warning: Use GtkWidget instead GtkMenuItem
2010-03-25 14:52:18 +01:00
Matthias Clasen
a0f23e1706
Fix a 64bit issue
...
Thank you libpng, for typedef unsigned long png_uint_32.
2010-03-25 00:55:15 -04:00
Matthias Clasen
eb42c9e9ce
Add notes about gobject-introspection
2010-03-23 11:41:17 -04:00
Matthias Clasen
42ef281ea4
Bump version to 2.20.1
2010-03-23 10:24:51 -04:00
Matthias Clasen
7e36ea7010
2.20.0
2010-03-23 10:18:29 -04:00
Miloš Popović
f31e6568fa
Updated Serbian translations
2010-03-23 10:39:34 +01:00
Matthias Clasen
c02fe1ff28
Bump required version of glib in INSTALL.in, too
2010-03-23 00:21:24 -04:00
Matthias Clasen
909fe7f933
Set version to 2.20.0
2010-03-22 23:30:00 -04:00
Matthias Clasen
3ed737e5fc
Another small doc cleanup
2010-03-22 23:15:52 -04:00
Matthias Clasen
f5c6712002
Minor doc cleanup
2010-03-22 23:10:38 -04:00
Matthias Clasen
fb262f51c6
Updates
2010-03-22 18:25:49 -04:00
Wouter Bolsterlee
e46240063e
Dutch translation updated by Tino Meinen
2010-03-22 19:34:29 +01:00
Sjoerd Simons
a957d4593e
Prevent the destruction of the menu label on page removal
...
In certain cases the menu label of a notebook page will be reused after the
page was removed from the notebook, for instance when a page is dragged from
one notebook to another. For such cases make sure that the menu label isn't
destroyed as part of destroying the menu item it was in.
2010-03-22 14:11:05 -04:00
Matthias Clasen
3c7b29098c
Add a dependency for Gtk-2.0.gir on Gdk-2.0.gir
...
Another parallel build fix, see bug 610946.
2010-03-22 13:02:24 -04:00
Damien Lespiau
0a0e0a868a
introspection: Fix parallel builds
...
One needs to add an explicit dependency between the gir files and the
.la libtool wrapper as this dependency is not added automatically by
Makefile.introspection. Not adding these breaks parallel builds as make
does not wait for the .la to be generated before launching g-ir-scanner.
2010-03-22 12:53:18 -04:00
Inaki Larranaga Murgoitio
086b952267
Updated Basque language
2010-03-22 14:22:35 +01:00
Clytie
cf491292cc
Updated Vietnamese translation
2010-03-22 23:18:44 +10:30
Clytie
b5e9579d49
Updated Vietnamese translation
2010-03-22 23:18:03 +10:30
Inaki Larranaga Murgoitio
095dfd783f
Updated Basque language
2010-03-22 13:08:52 +01:00
Sweta Kothari
8b6abfd320
Updated Gujarati translations
2010-03-22 13:04:22 +05:30
Sweta Kothari
01f3dfc2b5
Updated Gujarati Translations
2010-03-22 12:31:13 +05:30
Daniel Nylander
910e68502b
Updated Swedish translation
2010-03-21 21:12:28 +01:00
Daniel Nylander
beb3d24a22
Updated Swedish translation
2010-03-21 12:29:31 +01:00
Daniel Nylander
e1114f60b5
Updated Swedish translation
2010-03-21 12:29:31 +01:00
Tommi Vainikainen
e309bec6ea
Updated Finnish translation
2010-03-20 21:56:13 +02:00
Chao-Hsiung Liao
782dda6c21
Updated Traditional Chinese translation(Hong Kong and Taiwan)
2010-03-20 20:11:07 +08:00
Matthias Clasen
5f29a679f8
Avoid spurious notifications from GtkEntry
...
Using gtk_entry_set_buffer() in dispose() causes problematic
notifications, so just get rid of the buffer manually. See bug 613241.
2010-03-19 23:24:33 -04:00
Tomas Bzatek
8dc4a4f954
search: update for tracker 0.8 API
...
Tracker 0.8 series (and late 0.7.xx) introduces new API based on SPARQL
query language. The queries here use fulltext search, just like with
with previous tracker versions. Old tracker 0.6 support is still maintained.
2010-03-19 14:40:11 +01:00
Fabrício Godoy
d2642e7ae3
Updated Brazilian Portuguese Translation
2010-03-18 23:46:13 -03:00
A S Alam
f242258f37
Completed Punjabi Translation by A S Alam
2010-03-19 08:07:20 +05:30
Dumitru Mișu Moldovan
b3112949bd
Updated Romanian translation
2010-03-18 22:33:16 +02:00
Mattias Põldaru
0e4dc91e32
Estonian translation updated
2010-03-18 16:27:02 +02:00
Matthias Clasen
6ad8909e3c
Make menu scrolling work with auto mnemonics
...
The menu scrolling code is not robust against menu repositioning so
we have avoid causing unnecessary recalculations of labels in parent
menuitems.
2010-03-17 21:18:31 -04:00
Hiroyuki Ikezoe
3a65f554c5
Fix a tiny documentation typo
2010-03-17 13:10:17 -04:00
Marek Kasik
59e5e2dd5b
Define httpGetHostname() for CUPS 1.1 and lower
...
Function httpGetHostname() is in CUPS since version 1.2, that is why we need
its equivalent for lower versions of CUPS (#610176 ).
2010-03-17 10:14:24 +01:00
Javier Jardón
14c9a3a596
More uses of g_strcmp0
2010-03-16 19:16:31 +01:00
Rafal Luzynski
839c88fd73
Use g_strcmp0 where it makes sense
2010-03-16 19:01:25 +01:00
Hiroyuki Ikezoe
590ceded96
Don't get settings unless we need them
...
Pointed out in bug 613028.
2010-03-16 13:01:18 -04:00
Matthias Clasen
996541d096
Don't crash in DND when the X server doesn't support SHAPE
...
Reported in bug 612768
2010-03-16 12:35:13 -04:00
Matthias Clasen
e9b4d7c69b
Require a new-enough glib
2010-03-15 22:30:57 -04:00
Jan Arne Petersen
63c21edab7
Fix notify::label emmision in GtkMenuItem
...
Emit notify::label in GtkMenuItem also when label is changed through GtkAction.
Refactor GtkMenuItem and remove duplicated code for GtkLabel creation. Reset
the accel-widget back to the GtkMenuItem itself when there is no action related
to the GtkMenuItem anymore.
Add test for notify::label emmisions.
Fixes bug 612574 - GtkMenuItem does not emit notify::label when label is
changed through GtkAction.
2010-03-15 20:50:07 +01:00
Tristan Van Berkom
e8c0920494
Refixed patch for bug 612505.
...
New patch makes sure to update the display even when
the GtkEntry's buffer is set to NULL, it also breaks the
reference to the buffer in ->dispose() instead of ->finalize().
2010-03-14 16:29:42 -04:00
Matthias Clasen
a085bb1f0b
Improve the behaviour of automatic mnemonics
...
With this change, key events continue to go to an open menu even
when the pointer is moved over a non-selectable menuitem. The mnemonics
are shown and hidden accordingly.
2010-03-14 16:11:48 -04:00
Matthias Clasen
f3f44d6650
Update release notes
...
Add a warning about the change in GtkBuilders id/name handling.
2010-03-14 16:08:51 -04:00
Colin Walters
55feb804f0
[startup notification] Set APPLICATION_ID
...
http://lists.freedesktop.org/archives/xdg/2010-February/011321.html
In addition to ICON, BINARY_NAME etc., it's very helpful if launcher
programs include the name of the .desktop file they're launching.
This is APPLICATION_ID.
https://bugzilla.gnome.org/show_bug.cgi?id=611118
2010-03-14 15:13:26 -04:00
Fran Diéguez
ab650a1bef
Update Galician translation
2010-03-13 21:04:38 +01:00
Luca Ferretti
d7796a4b7a
Updated Italian translation
2010-03-13 15:42:07 +01:00
Matthias Clasen
c55e0fc372
Fix tests
2010-03-13 00:49:10 -05:00
Luca Ferretti
11649e4ca7
Updated Italian translation
2010-03-12 22:52:01 +01:00
Matthias Clasen
233281fd39
Recompute label contents when the buffer changes
...
Also reset cursor positions to avoid assertions.
This fixes bug 612505, patch by Tristan Van Berkom.
2010-03-12 15:59:59 -05:00
Matthias Clasen
f73f9d802c
Fix gdk_window_set_icon_name
...
A typo kept this from working on toplevel windows.
Reported in bug 612346.
2010-03-12 15:59:59 -05:00
Matthias Clasen
f868a6efb4
updates
2010-03-12 15:59:59 -05:00
Christian Dywan
652df93594
Remove most G_OBJECT casts in the tutorial
...
This fixes bug 605333.
2010-03-12 21:05:33 +01:00
Christian Dywan
072673c612
Reword explanation of delete-event and destroy
2010-03-12 21:03:35 +01:00
Christian Dywan
325c86f83c
Spell delete-event with hyphen and don't cast to G_OBJECT
2010-03-12 21:02:42 +01:00
Christian Dywan
c1a3a0fd9b
Improve docs of gtk_notebook_set_tab_label_packing
...
Use the term tab label rather than bookmark and point out
that packing type is deprecated.
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=612575
2010-03-12 17:56:21 +01:00
Tor Lillqvist
a46d2e68c6
Check for __MINGW64__ and not __MINGW64
...
Should fix bug #612308 .
2010-03-12 11:47:15 +02:00
Javier Jardón
2c043d33c2
Improve GTK_WIDGET_FLAGS() deprecation documentation
...
Also, use GTK_OBJECT_FLAGS() instead.
Note that some internal code still uses GTK_WIDGET_FLAGS().
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-12 06:46:34 +01:00
Christian Dywan
f90abc4eed
Fix definition of GTK_VOLUME_BUTTON_CLASS cast
...
There is an extra 'e' there.
2010-03-11 15:27:34 +01:00
Alan Knowles
8b6e1b4de2
Fix introspection on return value transfer for gtk_clipboard_get*
...
ownership transfer set to none for clipboard get methods
2010-03-10 22:21:52 +08:00
Alan Knowles
96acf8d46d
Fix gtk_text_tag_table_lookup transfer introspection notes
...
transfer should be none for return value of gtk_text_tag_table_lookup
2010-03-10 22:13:53 +08:00
Jorge González
d0094e3d03
Updated Spanish translation
2010-03-10 08:59:18 +01:00
Jorge González
a20eb8df22
Updated Spanish translation
2010-03-10 08:55:17 +01:00
David Planella
375b28f079
Updated Catalan translation
2010-03-09 20:13:02 +01:00
Matthias Clasen
975c84ff79
Bump version
2010-03-09 13:56:16 -05:00
Matthias Clasen
3737c34b44
2.19.7
2010-03-09 13:52:34 -05:00
Matthias Clasen
0eb89bf378
Updates
2010-03-09 12:07:35 -05:00
Javier Jardón
6a513f2289
Fix compilation warning: use entry var correctly initilized
...
The warning was added in
commit c744594b20
2010-03-09 17:15:53 +01:00
Matthias Clasen
718bf77712
Remove conflicting legacy compose sequences in favour of X.org sequences
...
Patch by Jeroen Hoek. See bug 557420 for a prolonged discussion.
Quick summary of the removed sequences:
<Multi_key> <asciicircum> <0>
Consistency. <Multi_key> <asciicircum> [1..9] gives the superscript digit,
legacy sequence for zero is inconsistent.
<Multi_key> <c> <o>
<Multi_key> <c> <O>
Consistency. <Multi_key> <c> [:letter:] already gives vowel plus caron, legacy
sequence for c is inconsistent.
<Multi_key> <comma> <e>
<Multi_key> <comma> <E>
Consistency. <Multi_key> <comma> [:letter:] is for letter with cedilla,
<Multi_key> <semicolon> [:letter:] is for letter with ogolek
<Multi_key> <C> <slash>
<Multi_key> <slash> <C>
Unintuitive. ¢ is visually a vertical bar through a lowercase c, not a slash
through an uppercase C. ₡ has no alternatives, whilst ¢ can be typed as
<Multi_key> <bar> <c>.
<Multi_key> <d> <minus>
đ can be input through <Multi_key> <minus> <d>. <Multi_key> <d> <minus> is used
for ₫.
<Multi_key> <equal> <L>
<Multi_key> <L> <equal>
Unintuitive. ₤ has two dashes, £ one; therefore L + = > ₤, and L + - = £.
<Multi_key> <exclam> <s>
<Multi_key> <exclam> <S>
Consistency. <Multi_key> <exclam> [:letter:] is used for letter with dot below.
§ can be input using <Multi_key> <o> <s>.
<Multi_key> <period> <period>
Might need an alternative for ˙, but … (upstream) has no alternative either.
<Multi_key> <underscore> <a>
<Multi_key> <underscore> <A>
<Multi_key> <underscore> <o>
<Multi_key> <underscore> <O>
Consistency. <Multi_key> <underscore> [:vowel:] gives vowel with macron for ȳ ū
ī ē too.
<Multi_key> <minus> <d>
<Multi_key> <minus> <D>
<Multi_key> <o> <e>
<Multi_key> <O> <E>
Redundant. In upstream as is.
2010-03-09 02:26:51 -05:00
Matthias Clasen
0ffc31d762
Regenerated compose tables
...
Now without non-BMP keysyms.
2010-03-09 02:15:20 -05:00
Matthias Clasen
a152f7360d
Updates to the compose-parse.py script
...
Get gdkkeysyms.h from git, instead of the outdated copy from svn.
Get Unicode 5.2.0 data. Fix a few issues with missing keysyms in
keysyms.txt. Make the filtering of non-BMP keysyms work.
2010-03-09 02:12:33 -05:00
Matthias Clasen
0fca5a3cca
Add some keysyms missing from keysyms.txt
2010-03-09 00:54:08 -05:00
Matthias Clasen
6ab9b85159
fix file permissions
2010-03-09 00:52:26 -05:00
Matthias Clasen
09b64dab0d
Add some more annotation to the DND api
2010-03-09 00:12:57 -05:00
Matthias Clasen
bf88eee131
Fix file chooser refcounting issues
...
This was reported in bug 600992.
2010-03-08 23:56:43 -05:00
Matthias Clasen
2036d9262e
Add missing colons
2010-03-08 21:34:17 -05:00
Christian Dywan
bc284541a9
Document the use of NULL in gtk_window_set_transient_for
...
This fixes bug 611319.
2010-03-08 21:22:54 -05:00
Matthias Clasen
9c8dbc292f
Minor doc clarification for gdk_drag_begin
...
Mention that targets is a list of atoms. Bug 611317.
2010-03-08 21:01:30 -05:00
Javier Jardón
32b9aeaadd
Don't use GTK_WIDGET_STATE in internal code anymore
...
Use gtk_widget_get/set_state() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-09 02:40:17 +01:00
Matthias Clasen
b61fe50640
Remove obsolete translator comments
...
Reported in bug 611217
2010-03-08 20:14:37 -05:00
Matthias Clasen
c744594b20
Add accessible alternatives to entry icon functionality
...
Inspired by the complaint in bug 611051.
2010-03-08 19:59:24 -05:00
Matthias Clasen
ac6525b27c
Add introspection annotations to gtk_drag_(source|dest)_set
...
Also move docs inline at the same time. Bug 610905.
2010-03-08 19:21:32 -05:00
Ryan Lortie
fcc43e7b6d
Update release HOWTO
...
- 'cvs' -> 'git'
- gnome-hackers is now closed. Reply-to: desktop-devel-list instead.
2010-03-08 12:14:19 -05:00
Matthias Clasen
d84a831423
Don't scroll to insert after middle-click paste
...
Patch by Ignacio Casal Quinteiro, bug 612119.
2010-03-08 11:25:26 -05:00
Matthias Clasen
87f48634f4
Fix an infinite loop in gtk_dialog_map()
...
The new focus handling with links in labels tripped up the code
that tries to avoid focussing labels. Bug 612066
2010-03-08 10:36:11 -05:00
Nils-Christoph Fiedler
e629a9c7a8
Updated LowGerman translation
2010-03-08 11:41:52 +01:00
Nils-Christoph Fiedler
770ebc707b
Updated LowGerman translation
2010-03-08 11:38:51 +01:00
Nils-Christoph Fiedler
8d78ae44da
Updated LowGerman translation
2010-03-08 11:38:50 +01:00
Alexander Shopov
f32d4c104f
Updated Bulgarian translation
2010-03-08 07:02:00 +02:00
Michael Natterer
0a49865ec4
gtk: remove begin-user-action/end-user-action around copying
...
Copying to the clipboard is not a buffer mutation, so calling
gtk_text_buffer_begin_user_action() and _end_user_action() is only
confusing apps which connect to these signals in order to build undo
stacks or otherwise track buffer changes. Most likely, these apps
either didn't notice the bugus undo step or simply work around it.
2010-03-07 12:15:33 +01:00
Jennie Petoumenou
85611bedcd
Updated Greek translation.
2010-03-07 06:56:23 +01:00
Jennie Petoumenou
7253ed5dd4
Updated Greek translation.
2010-03-07 00:07:43 +01:00
Claude Paroz
dbda10d03e
Updated French translation
2010-03-06 15:22:12 +01:00
Javier Jardón
72948f46bd
Don't use GTK_WIDGET_SET_FLAGS() in gtk_widget_init()
2010-03-06 13:17:56 +01:00
Javier Jardón
691c13c424
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_PARENT_SENSITIVE)
...
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-06 13:13:01 +01:00
Javier Jardón
a7efb2eaa0
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_RC_STYLE)
...
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-06 13:01:58 +01:00
Javier Jardón
24491f8224
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_APP_PAINTABLE)
...
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-06 12:29:26 +01:00
Javier Jardón
74ed719fa4
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_MAPPED)
...
Use new API instead: gtk_widget_set_mapped ()
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-06 12:02:21 +01:00
Javier Jardón
1934de4b65
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_REALIZED)
...
Use new API instead: gtk_widget_set_realized ()
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-06 11:51:33 +01:00
Javier Jardón
24bafd8693
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_NO_WINDOW)
...
Use new API instead: gtk_widget_set_has_window ()
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-06 11:37:06 +01:00
Daniel Nylander
2d4b7b2630
Updated Swedish translation
2010-03-06 00:26:05 +01:00
Daniel Nylander
44a8c5f3ff
Updated Swedish translation
2010-03-06 00:24:37 +01:00
Joanmarie Diggs
4759da2634
Add/Remove ATK_STATE_SENSITIVE according to cells' state.
...
Bug #569042 .
2010-03-05 14:48:23 +08:00
Patrick Bernaud
7ab2155aef
Move documentation to inline comments: GtkPlug
...
https://bugzilla.gnome.org/show_bug.cgi?id=611707
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-03-05 05:37:16 +01:00
Steven Harms
3f579a7a93
Move documentation to inline comments: GtkVBox
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=611831
2010-03-05 05:25:07 +01:00
Fran Diéguez
a5e496cf87
Update Galician translation
2010-03-05 00:25:31 +01:00
Friedel Wolff
01593516f1
Update Afrikaans translation
2010-03-04 11:35:33 +01:00
Li Yuan
8c30affb6e
Return FALSE in signal handlers to make the signals be propagated
...
Bug #611686 .
2010-03-04 16:30:00 +08:00
Steven Harms
15d1d8bb3b
Move documentation to inline comments: GtkVSeparator
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=611662
2010-03-04 02:33:56 +01:00
Steven Harms
f0f3b01876
Move documentation to inline comments: GtkVScrollbar
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=611658
2010-03-04 02:33:50 +01:00
Gabor Kelemen
244ae204da
Updated Hungarian translation
2010-03-04 00:34:29 +01:00
Steven Harms
69279262bc
Update gtkvscale documentation for in code comments. Removed template document
2010-03-03 23:46:15 +01:00
Inaki Larranaga Murgoitio
24ba8f315e
Updated Basque language
2010-03-03 23:20:00 +01:00
Javier Jardón
62a829dd30
Add version info about the deprecation of GTK_WIDGET_SENSITIVE
...
This completes the patch of
commit 64f526d34e
2010-03-03 23:05:40 +01:00
Inaki Larranaga Murgoitio
f6d54ac7be
Updated Basque language
2010-03-03 22:43:01 +01:00
Javier Jardón
16a59ad912
Deprecate widget flag: GTK_WIDGET_REALIZED
...
Use gtk_widget_get_realized() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-03 20:41:05 +01:00
Javier Jardón
1fe7d3cefd
Deprecate widget flag: GTK_WIDGET_MAPPED
...
Use gtk_widget_get_mapped() instead.
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-03 20:19:03 +01:00
Nils-Christoph Fiedler
f4d9c7be2b
Updated LowGerman translation
2010-03-03 15:51:31 +01:00
Nils-Christoph Fiedler
42f1789c1e
Updated Low German translation
2010-03-03 15:24:51 +01:00
Nils-Christoph Fiedler
fc82769a88
Updated Low German translation
2010-03-03 15:22:58 +01:00
Kjartan Maraas
6520046f03
Updated Norwegian bokmål translation
2010-03-03 13:51:43 +01:00
Javier Jardón
32d043535b
Fix gtk_widget_is_sensitive() function. Second try
...
Use GTK_PARENT_SENSITIVE flag instead
gtk_widget_get_sensitive(widget->parent)
2010-03-03 02:39:25 +01:00
Gabor Kelemen
f61016f554
Updated Hungarian translation
2010-03-03 00:56:00 +01:00
Javier Jardón
491ed58420
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_NO_SHOW_ALL)
2010-03-02 18:24:21 +01:00
Javier Jardón
f8fb228752
Fix gtk_widget_is_sensitive() function
...
The bug was introduced in
commit a27d5a2c9e
2010-03-02 17:54:16 +01:00
Javier Jardón
e8e95d4c5e
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_CAN_DEFAULT)
...
Use new API instead: gtk_widget_set_can_default ()
2010-03-02 07:58:05 +01:00
Javier Jardón
483a5a9e1a
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_CAN_FOCUS)
...
Use new API instead: gtk_widget_set_can_focus ()
2010-03-02 04:42:54 +01:00
Gabor Kelemen
f19dc0bd4b
Updated Hungarian translation
2010-03-02 00:29:40 +01:00
Petr Kovar
1ec18b9258
Update Czech translation
2010-03-01 20:12:54 +01:00
Javier Jardón
c3d09e5627
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_SENSITIVE)
2010-03-01 18:24:28 +01:00
Javier Jardón
27b64f50e6
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_DOUBLE_BUFFERED)
...
Use new API instead: gtk_widget_set_double_buffered ()
2010-03-01 18:14:05 +01:00
Javier Jardón
b909abaa62
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_RECEIVES_DEFAULT)
...
Use new API instead: gtk_widget_set_receives_default ()
2010-03-01 18:03:19 +01:00
Javier Jardón
b4b95d07f8
Deprecate widget flag: GTK_WIDGET_PARENT_SENSITIVE
...
Use gtk_widget_get_sensitive() on the parent widget instead.
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-01 07:57:27 +01:00
Javier Jardón
214a023e91
Deprecate widget flag: GTK_WIDGET_VISIBLE
...
Use gtk_widget_get_visible() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-01 07:52:07 +01:00
Javier Jardón
4232115e22
Deprecate widget flag: GTK_WIDGET_HAS_FOCUS
...
Use gtk_widget_has_focus() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-01 06:11:01 +01:00
Javier Jardón
64f526d34e
Deprecate widget flag: GTK_WIDGET_SENSITIVE
...
Use gtk_widget_get_sensitive() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-01 05:59:23 +01:00
Javier Jardón
f5bde06e82
Don't use GTK_WIDGET_NO_WINDOW in internal code anymore
...
Use gtk_widget_get_has_window() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-01 05:44:19 +01:00
Javier Jardón
a27d5a2c9e
Deprecate widget flag: GTK_WIDGET_IS_SENSITIVE
...
Use gtk_widget_is_sensitive() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-01 05:32:51 +01:00
Javier Jardón
4f78f70b15
Deprecate widget flag: GTK_WIDGET_DRAWABLE
...
Use gtk_widget_is_drawable() instead.
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-01 04:55:55 +01:00
Mario Blättermann
6a9d4d8203
Updated German translation
2010-02-27 20:33:02 +01:00
Nils-Christoph Fiedler
8864b81903
Updated LowGerman translation
2010-02-26 13:56:29 +01:00
Nils-Christoph Fiedler
a9e0010ff8
Updated LowGerman translation
2010-02-26 13:42:38 +01:00
Florian Müllner
c4a3a7bdfd
Add introspection annotation for gtk_builder_get_object
2010-02-25 21:33:15 +01:00
Nils-Christoph Fiedler
ab3d86d44d
Updated LowGerman translation
2010-02-25 19:30:59 +01:00
Piotr Drąg
93ed6885a1
Updated Polish translation
2010-02-25 14:32:38 +01:00
Piotr Drąg
0807dd6512
Updated Polish translation
2010-02-25 13:50:21 +01:00
Leonid Kanter
973dbbf634
Update Russian translation
2010-02-25 13:59:46 +02:00
Leonid Kanter
31abb05273
Update Russian translation
2010-02-25 13:59:46 +02:00
Nils-Christoph Fiedler
707bec3ec2
Updated LowGerman translation
2010-02-25 12:47:55 +01:00
Duarte Loreto
211c174580
Updated Portuguese translation
2010-02-25 02:43:25 +00:00
Duarte Loreto
8d475898ab
Updated Portuguese translation
2010-02-25 02:30:32 +00:00
Khaled Hosny
4ba5e0e5d6
Updated Arabic translation
2010-02-24 21:18:37 +02:00
Bruce Cowan
868e1b07c3
Updated British English translation
2010-02-24 16:40:46 +00:00
Matej Urbančič
7d2f616bc6
Updated Slovenian translation
2010-02-24 15:32:09 +01:00
Nils-Christoph Fiedler
62954b2f48
Updated LowGerman translation
2010-02-24 12:47:20 +01:00
Nils-Christoph Fiedler
e173212e45
Updated LowGerman translation
2010-02-24 12:39:51 +01:00
Alexander Shopov
0305a39900
Updated Bulgarian translation
2010-02-24 07:18:26 +02:00
Gintautas Miliauskas
00a404c515
Updated Lithuanian translation.
2010-02-24 00:04:14 +02:00
Gintautas Miliauskas
49429b07a9
Updated Lithuanian translation.
2010-02-24 00:03:20 +02:00
Ask H. Larsen
e8e29861d3
Updated Danish translation
2010-02-23 22:17:20 +01:00
Ask H. Larsen
cc6e4d0450
Updated Danish translation
2010-02-23 22:14:45 +01:00
Matthias Clasen
e1ddcf8466
Bump version
2010-02-23 15:57:14 -05:00
Matthias Clasen
1364b49e67
2.19.6
2010-02-23 15:54:56 -05:00
Jorge González
980326a231
Updated Spanish translation
2010-02-23 21:51:30 +01:00
Matthias Clasen
18d065c109
Updates
2010-02-23 15:14:28 -05:00
Matthias Clasen
6b5034323a
Some forgotten docs
2010-02-23 14:14:02 -05:00
Matthias Clasen
e69add1dad
Add some missing docs
2010-02-23 14:14:02 -05:00
Matthias Clasen
e601f6c478
doc fixes
2010-02-23 14:14:02 -05:00
Jorge González
a6fc3b9109
Updated Spanish translation
2010-02-23 20:01:39 +01:00
Matthias Clasen
60017d2676
Add 2.20 index for gdk docs
2010-02-23 13:57:47 -05:00
Matthias Clasen
28760d992b
Init gdk in the same order as other backends
...
Patch by Andre Draszik, bug 609172
2010-02-23 13:07:23 -05:00
Matthias Clasen
7f483dbd7b
Fix a memory leak in gdk_display_open in the directfb backend
...
Patch by Andre Draszik, bug 609172
2010-02-23 13:06:44 -05:00
Matthias Clasen
2dc9298b41
Simplify the DirectFBInit call
...
Patch by Andre Draszik, bug 609172
2010-02-23 13:06:03 -05:00
Matthias Clasen
3d66034d7d
Catch directfb errors in gdk_colormap_new
...
Patch by Andre Draszik, bug 609172.
2010-02-23 13:05:24 -05:00
Matthias Clasen
e06edf375a
Fix a crash at startup in the directfb backend
...
Patch by André Draszik, bug 600789
2010-02-23 12:54:00 -05:00
Matthias Clasen
cb184bed8c
Fix gdk_windowing_window_at_pointer in the directfb backend
...
Patch by Hiroyuki Ikezoe, see bug 604799.
2010-02-23 12:51:45 -05:00
Matthias Clasen
1e381138f3
Correct annotations for gtk_tree_view_get_path_at_pos
...
Patch by Alan Knowles, bug 609514.
2010-02-23 12:51:45 -05:00
Matthias Clasen
325cbef27e
Protect against X errors when clearing the DND cache
...
This was reported as a problem in bug 609952.
2010-02-23 12:51:44 -05:00
Mario Blättermann
cc66fd5eae
Updated German translation
2010-02-23 17:59:28 +01:00
Matthias Clasen
33330ab332
Prevent a crash in the TGA loader
...
Reported in bug 609744.
2010-02-23 11:50:25 -05:00
Matthias Clasen
06d02578f8
Handle out-of-bounds parameters in gtk_assistant_get_nth_page
...
Better do what the docs say...fix by Tadej Borovšak, bug 610141.
2010-02-23 11:23:10 -05:00
Matthias Clasen
ddcc305f4e
Fix a segfault in gtk_assistant_set_current_page
...
Reported by Tadej Borovšak in bug 610184
2010-02-23 11:16:04 -05:00
Matthias Clasen
c3f0cdcfcf
Clarify the docs for gtk_info_bar_set_default_response
...
According to bug 610632
2010-02-23 11:13:16 -05:00
Matthias Clasen
9ce6db1297
Add some padding in tool buttons
...
The default value of the icon-spacing style property was 0, which
is just not good. Themes are of course free to change this anyway.
Bug 610381.
2010-02-23 10:30:23 -05:00
Matthias Clasen
42e90521a9
Only look at x11 backend for gtk-doc comments for now
...
See followup discussion in bug 610701
2010-02-23 10:24:55 -05:00
Mario Blättermann
47fed7080e
Updated German translation
2010-02-23 16:24:38 +01:00
Matej Urbančič
1e4a58fce6
Updated Slovenian translation
2010-02-23 16:00:19 +01:00
Alexander Shopov
3866b07aa2
Updated Bulgarian translation
2010-02-23 09:35:51 +02:00
Matthias Clasen
23450f4e74
Fix incorrect string
...
String change. See bug 610235.
2010-02-22 23:49:47 -05:00
Matthias Clasen
bcee7bda64
Add some missing introspection annotations
2010-02-22 23:47:24 -05:00
Johan Dahlin
f0ce4dcaa5
[build] Include all target source files
...
Include all target source files when buildin the gir
https://bugzilla.gnome.org/show_bug.cgi?id=610701
2010-02-22 17:26:24 -03:00
Matthias Clasen
c85e7ec6d8
Add a missing introspection annotation for gdk_screen_get_default_colormap
2010-02-22 14:15:45 -05:00
Rimas Kudelis
cb438725c7
Updated Lithuanian translation
2010-02-22 16:54:27 +02:00
Carlos Garcia Campos
62758ff5ef
[docs] Fix GtkPlug::embedded signal documentation
...
See bug #609650 .
2010-02-22 15:02:58 +01:00
Carlos Garcia Campos
e5fc3dcf64
Emit GtkPlug::embedded signal when plug/socket are in the same process too
...
Fixes bug #609650 .
2010-02-22 15:02:19 +01:00
Masato Hashimoto
eaf2549be2
Updated Japanese translation.
...
Translator: Masato Hashimoto <cabezon.hashimoto@gmail.com >
Reviewed by: Nishibori Kiyotaka <ml.nishibori.kiyotaka@gmail.com >
2010-02-22 22:32:13 +09:00
Khaled Hosny
5b3ef8007b
Updated Arabic translation
2010-02-22 14:03:59 +02:00
Alexander Shopov
51f7cedbd1
Updated Bulgarian translation
2010-02-22 08:36:18 +02:00
Lucian Adrian Grijincu
433892a20f
Updated Romanian translation
2010-02-21 21:02:51 +02:00
Piotr Drąg
b38e60b7ed
Updated Polish translation
2010-02-21 00:07:42 +01:00
Piotr Drąg
019f74ae39
Updated Polish translation
2010-02-20 22:07:29 +01:00
Jorge González
a067d58449
Updated Spanish translation
2010-02-20 16:56:43 +01:00
Viktor Pracht
ff28ee8e6b
[Annotations] Add array length for GtkTreeStore
...
https://bugzilla.gnome.org/show_bug.cgi?id=603923
2010-02-19 18:58:01 -02:00
Johan Dahlin
592fd7a93b
[annotations] Add allow-none for gtk_menu_popup
2010-02-19 18:52:19 -02:00
Johan Dahlin
fe85272112
[annotations] Add allow-none
...
This commit was created using a script that searched for all docstrings
containing a parameter and the string 'or %NULL'.
Gdk backends and demos excluded as they are not part of a public API
https://bugzilla.gnome.org/show_bug.cgi?id=610474
2010-02-19 17:57:51 -02:00
Michael Natterer
347d406f80
Bug 548026 - No accessor for GtkWidget.requisition
...
Add gtk_widget_get_requisition().
2010-02-19 17:04:20 +01:00
Matej Urbančič
68a4847ac9
Updated Slovenian translation
2010-02-18 13:48:34 +01:00
Manoj Kumar Giri
ca0b29ff55
Updated Oriya Translation
2010-02-17 21:22:41 +05:30
Mattias Põldaru
8b11bdb27c
Estonian translation updated
2010-02-17 13:30:33 +02:00
Mario Blättermann
45842ec58b
Updated German translation
2010-02-17 09:16:18 +01:00
Javier Jardón
41ef40bec0
[gdk/x11] Change the name of the functions in the header file
...
_gdk_keymap_add_virtual_modifiers() changed to
_gdk_keymap_add_virtual_modifiers_compat() in
commit 13d69e552d
This patch change the header name too.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=610063
2010-02-16 20:59:22 +01:00
Changwoo Ryu
046b760127
Update Korean translation
2010-02-16 05:31:45 +09:00
Matej Urbančič
cf76627e93
Updated Slovenian translation
2010-02-15 18:45:14 +01:00
Matej Urbančič
e2a742dbd2
Updated Slovenian translation
2010-02-15 18:44:55 +01:00
Stefan Kost
5ff724ea95
widget: ensure boolean before comparing
...
Ensure boolean value like done elsewhere.
2010-02-15 10:14:50 +02:00
Stefan Kost
ad93f2bc3e
widget: don't check before setting to avoid costly type checks
...
There are no side effect of setting these flags and we don't fire g_object
notifies also. Thus set/unset right away without costly check of current state.
2010-02-15 10:14:50 +02:00
Javier Jardón
c77678e037
Revert "Drop duplicate declarations"
...
The issue is already fixed in f9a3ce06cc
This reverts commit 6f566057e8 .
2010-02-13 04:54:19 +01:00
Matthias Clasen
13d69e552d
Fix a compatibility problem
...
It turns out that my attempt at handling Super, Hyper and Meta better
is causing problems, mostly because Alt and Meta are commonly colocated
in the modmap, and apps do a check for the Alt modifier regularly.
See e.g bug 607697.
2010-02-12 18:55:42 -05:00
Matthias Clasen
6f566057e8
Drop duplicate declarations
2010-02-12 18:55:42 -05:00
Christian Dywan
f9a3ce06cc
Remove duplicate definitions of gtk_widget_set/get_realized/mapped
2010-02-12 18:10:17 +01:00
Michael Natterer
0231cff988
Allow calling gtk_widget_style_attach() only when realized
2010-02-11 09:27:05 +01:00
Petr Kovar
96d07cacb2
Update Czech translation
2010-02-11 02:26:16 +01:00
Javier Jardón
3cccae316e
Fix compilation warning: return FALSE instead NULL
2010-02-11 01:11:17 +01:00
Javier Jardón
45987f44c4
Fix compilation warning: cast to GCompareFunc
2010-02-11 00:57:13 +01:00
Kjartan Maraas
aefec46936
Updated Norwegian bokmål translation
2010-02-10 19:53:37 +01:00
Jorge González
129637220d
Updated Spanish translation
2010-02-10 07:56:11 +01:00
Matthias Clasen
ed9b8f3d3c
bump version
2010-02-09 15:58:13 -05:00
Matthias Clasen
d034007df3
2.19.5
2010-02-09 15:53:41 -05:00
Matthias Clasen
da68b2e600
Updates
2010-02-09 14:12:54 -05:00
Matthias Clasen
e821eea4f0
Add some more goddamn accessors
2010-02-09 13:41:58 -05:00
Matthias Clasen
893408352d
Avoid overlap of scale marks
...
This was reported to be a problem in bug 608807.
2010-02-09 13:41:58 -05:00
Matthias Clasen
412beb4444
Avoid a crash when setting a tooltip on a GtkCalendar
...
The details code was assuming that it controls ::has-tooltip.
Reported by Bill Nottingham, bug 607344.
2010-02-09 13:41:58 -05:00
Matthias Clasen
beddf67e56
Fix a refcounting issues in GtkPlug
...
When the foreign window already has a GdkWindow, we forget to take
an extra references, leading to crashes later on. Patch by
Karl Tomlinson, bug 607061.
2010-02-09 13:41:57 -05:00
Matthias Clasen
9fc642019e
Allow running without any im context
...
Setting GtkSettings::im-module to gtk-im-context-none will make
GtkIMMultiContext just pass through.
2010-02-09 13:41:57 -05:00
Alan Knowles
b193be9003
Add introspection annotations for gtk_tree_model_get_path+gtk_tree_store_newv
2010-02-09 12:27:05 -05:00
Christian Persch
9497a198f7
Correctly clone the toolbutton's icon-name image widget
...
Bug #608162 .
2010-02-09 15:08:56 +01:00
Alejandro Piñeiro
bc39d88b44
Solve a wrong reference on gdk_keymap_translate_keyboard_state
...
Solves https://bugzilla.gnome.org/show_bug.cgi?id=608345
2010-02-09 11:52:49 +01:00
Tor Lillqvist
d2b412af40
Use correct processorArchitecture for x86_64 in manifest file
2010-02-09 12:19:22 +02:00
Javier Jardón
2adef27d7b
Move documentation to inline comments: GtkAccelLabel
...
https://bugzilla.gnome.org/show_bug.cgi?id=403485
2010-02-09 04:12:25 +01:00
Javier Jardón
db45d38b6f
[tests] Not use GtkOptionMenu deprecate widget.
...
Replace GtkOptionMenu with GtkComboBox.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=606288
2010-02-08 16:57:02 +01:00
Theppitak Karoonboonyanan
d1d98ad97b
Updated Thai translation.
2010-02-08 11:13:03 +07:00
André Draszik
12edc32d95
gdk/directfb: cursor size is artificially limited
...
Cursor sizes in DirectFB can be large (4095x4095), limit to 128x128
though, because the x11 backend has this limit, too - for max.
compatibility.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=609201
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-02-07 20:12:43 +01:00
André Draszik
7f8b96d9bc
gdk/directfb: convert gdkgc-directfb to using G_DEFINE_TYPE
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=609199
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-02-07 20:10:53 +01:00
André Draszik
e1a83243e4
gdk/directfb: gdkdnd-directfb's private data is used uninitialized
...
Use G_TYPE_INSTANCE_GET_PRIVATE() instead
In the process, convert to using G_DEFINE_TYPE, too.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=609195
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-02-07 20:08:52 +01:00
André Draszik
bc36a15446
gdk/directfb: convert gdkcolor-directfb to using G_DEFINE_TYPE
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=609191
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-02-07 20:06:52 +01:00
André Draszik
e71d3c459a
gdk/directfb: fix _gdk_windowing_pointer_grab()
...
Fix for bgo #609188
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-02-07 20:01:05 +01:00
Steffen Macke
f94d62aeab
Fix menu bar problem in ms-windows theme engine on Windows 7
...
Patch from bug #591186 . It won't have any effect in this branch as the
whole XP-and-later theming code is broken and disabled, but when/if
that is fixed, then this patch should help.
2010-02-07 11:15:47 +02:00
Christian Dywan
5adb75f26b
[gtk] Deprecate GtkCurveType enum
...
It's only used by already deprecated GtkCurve and GtkGammaCurve
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=556263
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-02-07 01:52:58 +01:00
Claude Paroz
e9d0bb5d58
Updated French translation
2010-02-06 23:00:16 +01:00
Michael Natterer
07dc2f6c35
gtk: fix crash in _gtk_rbtree_find_offset() called from update_prelight()
...
Move the check for tree_view->priv->tree being NULL into update_prelight()
so the function will never call _gtk_rbtree_find_offset() on a NULL rbtree.
2010-02-06 15:57:15 +01:00
Jonh Wendell
ee57066cac
Updated Brazilian Portuguese translation
2010-02-05 15:20:03 -03:00
Jonh Wendell
42081e5f4a
Updated Brazilian Portuguese translation
2010-02-05 11:30:41 -03:00
Matthias Clasen
69aa7a6392
Make DND work better with shaped windows
...
If mouse clicks go through, drag-and-drop should too...
Fixes bug 608615.
2010-02-04 19:18:22 -05:00
Cody Russell
0d94617935
Bug 554420 - Seal GtkTextTag
...
Seal GtkTextTag.
2010-02-04 15:35:15 -08:00
Petr Kovar
465dd9207c
Update Czech properties translation
2010-02-04 23:39:36 +01:00
Petr Kovar
6c12219eb3
Update Czech translation
2010-02-04 22:45:51 +01:00
Michael Natterer
9d4c8f38d8
Bug 608993 - Add gtk_widget_style_attach()
...
As replacement for:
widget->style = gtk_style_attach (widget->style, widget->window);
2010-02-04 16:43:54 +01:00
Pavol Šimo
91c4184af6
Updated Slovak translation
2010-02-04 09:18:05 +01:00
Javier Jardón
11bd065adf
[docs] Add anchor for keybinding signals
2010-02-02 20:57:58 +01:00
Mattias Põldaru
6a05e5edbf
Updating Estonian translation
2010-02-01 17:09:06 +02:00
Mattias Põldaru
ac2df186aa
Updating Estonian translation
2010-02-01 09:41:45 +02:00
Mattias Põldaru
4c3f32a632
Updating Estonian translation
2010-02-01 09:33:49 +02:00
Kjartan Maraas
dead9af3d4
Updated Norwegian bokmål translation
2010-01-31 20:03:30 +01:00
Jorge González
54b3340eee
Updated Spanish translation
2010-01-31 13:31:26 +01:00
Kristian Rietveld
66207cf13e
Improve enter/motion notify semantics
...
On X11 we receive enter notify and motion notify events for a window
regardless of its focus state. On Mac OS X this is not the case. This
commit improves the semantics to overcome this difference. It improves
on my earlier patch that sent a motion notify event when a window became
main.
Instead of sending a motion notify when a window becomes main, we now
send one when a window becomes key, which comes closest to a window
getting focus in X11. This motion notify is needed because Mac OS X does
not send motion events when an application is inactive (none of its
windows have focus), these events are sent in X11. This dummy motion
notify event (with current coordinates of the mouse cursor) allows an
application to get its prelight and other state right when it gets focus
and thus user attention.
Another change is to send an enter notify event when updating the
tracking rectangle of a GdkQuartView and the mouse cursor is currently in
this rectangle. This rectangle is at least updated on window creation.
This enter notify event is important for the case where a new window
appears right below the mouse cursor. The window has to receive an enter
notify event for the subsequent events to be processed correctly. Mac
OS X does not send one in this case, so we generate it ourselves.
Both of these synthesized events have to go through
_gdk_windowing_got_event() for updating statekeeping, etc.
append_event() has a boolean flag now to make this convenient.
2010-01-30 20:36:28 +01:00
Jorge González
15ef288b9b
Updated Spanish translation
2010-01-30 20:03:42 +01:00
Jorge González
f0005fb96b
Updated Spanish translation
2010-01-30 16:17:18 +01:00
Jorge González
a5d7a7a6a3
Updated Spanish translation
2010-01-30 16:17:14 +01:00
Andre Klapper
2d0cef0896
Add missing files to POTFILES.in to make l10n.gnome.org happy
2010-01-29 22:28:45 +01:00
Cody Russell
2147e57f46
Remove existing signal connections in gtk_drag_dest_unset().
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=608370
2010-01-29 11:10:16 -06:00
Christian Dywan
c9639c924b
Implement gtk_paned_get_handle_window
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=607885
2010-01-29 16:49:12 +01:00
Christian Dywan
a23f581c5d
Do not update paned position if it's already at the given value
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=561816
2010-01-29 16:43:15 +01:00
Theppitak Karoonboonyanan
da86b0bd3f
Updated Thai translation.
2010-01-29 21:46:36 +07:00
Li Yuan
899d425e50
Bug #608410 . Set cursor position after inserting text.
2010-01-29 14:16:24 +08:00
Jamil Ahmed
3a796a5158
Updated Bengali translation
2010-01-29 00:53:15 +06:00
Jamil Ahmed
7aa3414c41
Updated Bengali translation
2010-01-29 00:49:07 +06:00
Jamil Ahmed
6048c4b127
Updated Bengali translation
2010-01-29 00:44:43 +06:00
Javier Jardón
cc62ab3a0c
[docs] Fix GtkOffscreenWindow documentation
2010-01-28 04:10:39 +01:00
Matthias Clasen
f5a8db1536
Bump version
2010-01-25 23:25:17 -05:00
Matthias Clasen
7ad6567d77
2.19.4
2010-01-25 23:23:51 -05:00
Matthias Clasen
aa81f217cc
Doc additions
2010-01-25 22:35:02 -05:00
Matthias Clasen
f286c6281a
Minor doc fix
2010-01-25 22:32:00 -05:00
Matthias Clasen
7092006aea
Updates
2010-01-25 21:31:09 -05:00
Jamil Ahmed
d7c16f3607
Updated Bengali translation
2010-01-26 03:03:14 +06:00
Alexander Shopov
e06bd6ba92
Updated Bulgarian translation
2010-01-25 11:43:00 +02:00
Alexander Shopov
f544c72ba1
Updated Bulgarian translation
2010-01-25 11:42:36 +02:00
Christian Dywan
a7d57b622b
Remove the destination file if trying to save a pixbuf failed
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=591102
2010-01-25 10:37:53 +01:00
Javier Jardón
f8f35363de
[test] Fix some typos
2010-01-23 05:05:08 +01:00
Paul Davis
7767dae9cf
Small memory fix
2010-01-22 21:09:10 +01:00
Michael Natterer
2f9c4be0a8
Bug 607778 - Add accessors for GtkEntry's windows
...
Add gtk_entry_get_text_window() and get_icon_window() so we can
distinguigh them in expose-event callbacks.
2010-01-22 17:20:01 +01:00
Michael Natterer
35a2b65328
Bug 607082 - Add accessors for sealed GtkRange members
...
Add accessors for range->range_rect, range->slider_range,
range->slider_size_fixed and range->min_slider_size. Didn't add
properties for any of them because thir purpose is mostly to enable
proper subclassing.
2010-01-22 16:52:56 +01:00
Claudio Saavedra
52acceef56
GtkTreeView: plug a leaking GtkTreeRowReference
...
This is exposed by overshooting in a HildonPannableArea. Leaking
a GtkTreeRowReference also means leaking the whole model, since
the GtkTreeModel reference count is increased for each row
reference.
Fixes bug #607770 - Leak in GtkTreeView with HildonPannableArea
2010-01-22 16:53:33 +02:00
Alexander Larsson
3c618f2f1f
Avoid integer overflow in gdk_rectangle_intersect
...
If e.g. the right edge of the leftmost rectangle is near MIN_INT, and
the left edge of the rightmost rectangle is large then subtracting these
can lead to an integer overflow, making the resultant "width" falsely
positive, thus returning a very wide result instead of the expected
no-intersection result.
We avoid the overflow by not doing the subtraction unless we know the
result will be positive. There are still risks for overflow if x + width
or y + width is larger than MAXINT, but we won't ever overflow for valid
rects now.
This may fix #607687
2010-01-22 09:41:17 +01:00
Matthias Clasen
97a1a28bcb
Add a way to set wm_class on statusicons
...
Since the shell uses wm_class for sorting statusicons.
2010-01-20 12:25:24 -05:00
Alexander Larsson
3d9d002bed
When native window requests button presses request other button related events
...
We need to do this because otherwise the implicit button grab for this
(native) window will not deliver the button events not selected for
by this window. This is a problem because non-native child windows may
select using a wider event mask, and we can't emulate these events if we
don't get the native events.
Fixes bug #607508
2010-01-20 15:37:16 +01:00
Javier Jardón
5469695f29
Fix some compilation warnings
...
The warnings was introduced with the changes in commit
a491091e29
2010-01-19 17:01:10 +01:00
Alexander Larsson
e31a6d1fea
Drop outstanding cairo surfaces when window is made native
...
Any old cairo_surface referencing the old impl window will be wrong
when we make a window native, so drop it.
This fixes bug #599511
2010-01-19 16:40:59 +01:00
Alexander Larsson
46d25437a1
Move common gdkwindow.c code into function gdk_window_drop_cairo_surface
...
This code is duplicated in several places, and more to come, so put
it all in one place.
2010-01-19 16:40:55 +01:00
Russell Kyaw
4fc8a11a9f
Added Burmese translation for gtk+ properties
2010-01-19 16:36:15 +02:00
Russell Kyaw
bf17d48c08
Added Burmese translation
2010-01-19 16:36:15 +02:00
Simos Xenitellis
7e9acc01ad
Added Burmese (my) to po/LINGUAS
2010-01-19 16:36:15 +02:00
Alexander Larsson
841fa47715
Track direct window cairo access and avoid tricks when used
...
When a cairo surface is requested for direct window access (i.e. not
when double-buffering) we can't really track when the actual drawing happens
as cairo drawing is not virtualized. This means we can't properly flush
any outstanding window moves or implicit paints.
This actually causes problems with e.g. abiword (bug #606009 ) where they
draw without double-buffering. If you press down it scrolls the window
and then draws the caret, but the caret drawing does not flush the
outstanding move from the scroll, so the caret gets drawn on the wrong
screen.
We fix this by never allowing either implicit paints or outstanding window
moves on impl-windows where any windows related to it has an outstanding
direct cairo surface. Luckily this is not very common so in practice this
doesn't matter much.
2010-01-19 15:01:03 +01:00
Kjartan Maraas
269b0fe97f
Updated Norwegian bokmål translation
2010-01-19 11:21:18 +01:00
Kjartan Maraas
18f33af2a0
Updated Norwegian bokmål translation
2010-01-19 11:20:18 +01:00
Kjartan Maraas
fa989128d4
Updated Norwegian bokmål translation
2010-01-19 11:20:18 +01:00
Murray Cumming
cf8b941807
GtkToolPalette: Fix a compiler warning introduced in my last commit.
2010-01-19 09:04:15 +01:00
Javier Jardón
6b808a7389
Add gtk_widget_has_rc_style() accessor
...
Add gtk_widget_has_rc_style() as accessor for sealed
GTK_WIDGET_RC_STYLE widget flag.
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-01-19 00:20:52 +01:00
Matthias Clasen
833b9b42cc
Fix a redraw problem with action widgets
...
Fixes bug 603245.
2010-01-18 17:06:48 -05:00
Kristian Rietveld
2f73fb76c1
Bug 607322 - Double-click doesn't work if the item is selected in...
...
Slight correction to fix for #596473 .
2010-01-18 22:22:30 +01:00
Murray Cumming
a491091e29
GtkToolPalette: Change gtk_tool_palette_get_drop_group() return.
...
* gtk/gtktoolpalette.[h|cc]: gtk_tool_palette_get_drop_group():
Change the return type from GtkWidget* to GtkToolItemGroup*,
for consistency with other parts of GTK+, such as GtkToolbar.
2010-01-18 09:37:14 +01:00
Matthias Clasen
d253fb5140
Fix some issues with action widgets
...
We need to hide/show them depending on show_tabs, and we should
not grow the notebooks requisition unless we have to. Reported
in bug 601412.
2010-01-18 01:20:50 -05:00
Matthias Clasen
5e7801a304
Fix declaration of gtk_print_job_set_status
...
The problem was reported in bug 606698.
2010-01-17 23:47:20 -05:00
Matthias Clasen
b242c02e71
Reset effective_attrs when necessary
...
This fixes both bug 607217 and bug 607269.
2010-01-17 23:33:19 -05:00
Matthias Clasen
3fdcf3d3e2
Fix a few C99isms
...
Reported in bug 606761.
2010-01-17 22:47:14 -05:00
Daniel Nylander
81359376d7
Updated Swedish translation
2010-01-16 13:47:42 +01:00
Matej Urbančič
236b155822
Updated Slovenian translation
2010-01-15 19:39:32 +01:00
Alexander Larsson
f96e51db46
Avoid drawing implicit paints to destroyed windows
...
It may happen that a window gets destroyed during painting, if so
we should not draw the implicit paint double-buffered pixmap to it
as that will cause a BadDrawable X error.
This fixes bug 600865
2010-01-15 16:08:18 +01:00
Xandru Armesto Fernandez
1e6df1dfc5
Updated asturian translation
2010-01-15 13:26:37 +01:00
Xandru Armesto Fernandez
637cdd5d38
Updated asturian translations
2010-01-15 13:21:50 +01:00
Xandru Armesto Fernandez
cefc04070b
Updated asturian translations
2010-01-15 13:21:40 +01:00
Murray Cumming
122d2a3288
GtkToolPalette: Use GtkToolItemGroup* instead of GtkWidget* for setter parameters.
...
See Bug #567729
2010-01-14 10:26:49 +01:00
Michael Natterer
4b1299ab8f
Some fixes in gtkoffscreenwindow.h
...
- use (void) not () for void functions
- disallow individual inclusion unconditionally
2010-01-13 22:23:03 +01:00
Inaki Larranaga Murgoitio
f804bff705
Updated Basque language
2010-01-13 17:36:18 +01:00
Inaki Larranaga Murgoitio
865249598f
Updated Basque language
2010-01-13 16:32:02 +01:00
Javier Jardón
f1676cfb11
[docs] Use the correct GTK-doc syntax to refer to GTK+ properties
2010-01-12 21:00:30 +01:00
Jorge González
d5086dc379
Updated Spanish translation
2010-01-12 20:23:15 +01:00
Javier Jardón
291aa854df
[docs] Use the correct GTK-doc syntax to refer to GTK+ property
2010-01-12 20:19:40 +01:00
Javier Jardón
fe0324d76a
[docs] Remove GTK+ 1.2 tutorial from master
...
The tutorial it's still inside the gtk-1-2 branch if It's needed
2010-01-12 17:44:50 +01:00
Khaled Hosny
92e1e4d9e3
Updated Arabic translation
2010-01-12 18:42:26 +02:00
Javier Jardón
48f572822c
[docs] Fix documentation build warnings
...
Fix issues when using GI annotations so the xslt does a
fallback if the local links do not exist.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=604876
2010-01-12 15:47:00 +01:00
Matthias Clasen
b6ff1abc93
Correct PRC6 and PRC9 envelope sizes
...
See bug 603144 for the full story.
2010-01-12 01:10:13 -05:00
Matthias Clasen
1024b44df9
Bump version
2010-01-11 13:58:16 -05:00
Matthias Clasen
c54219da24
2.19.3
2010-01-11 13:57:21 -05:00
Matthias Clasen
76ae6a80ff
Dco updates
2010-01-11 12:58:34 -05:00
Matthias Clasen
5adb6f2c20
Updates
2010-01-11 12:21:10 -05:00
Christian Persch
59ddde4c37
Implement property editor for GdkColor properties
...
Bug #606434 .
2010-01-11 17:51:41 +01:00
Christian Dywan
2520d02be9
Limit GtkContainer::border-width to 65535
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=605199
2010-01-11 17:37:13 +01:00
Matthias Clasen
d32b061895
Plug a pixmap leak
...
We were getting our refcounts tangled up when setting drawable clips on
GCs with CSW, leading to a pretty bad pixmap leak. See bug 606143.
2010-01-11 10:23:57 -05:00
Christian Dywan
90f72a0d8f
Implement "preedit-changed" in GtkEntry and GtkTextView
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=602284
2010-01-11 10:59:26 +01:00
Christian Dywan
5bcc4e2e97
Use const gchar* in gtk_window_get_icon_name implementation
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=597100
2010-01-11 10:35:06 +01:00
Christian Dywan
3925408232
Document GtkWidget::state-changed signal properly
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=598383
2010-01-11 10:30:48 +01:00
Javier Jardón
ccf17a828b
[docs] Add missing "Deprecated: 2.x" to the api doc comments
2010-01-11 06:25:59 +01:00
Daniel Nylander
1d2900bb27
Updated Swedish translation
2010-01-09 16:59:32 +01:00
Daniel Nylander
d907ef4f73
Updated Swedish translation
2010-01-09 16:54:54 +01:00
Christian Persch
e18ac2a617
Allow NULL iter in gtk_combo_box_set_active_iter to unset
...
Bug #606230 .
2010-01-08 19:48:14 +01:00
Matthias Clasen
d85735a337
Try a little harder to survive close to OOM
2010-01-08 13:24:33 -05:00
Matthias Clasen
1d4c6ebe5f
Avoid an FPE for ludicrous scale values
...
...just bail out early.
2010-01-08 13:24:33 -05:00
Javier Jardón
f5b21802bb
Use g_strcmp0() instead custom safe_strcmp()
...
Reported by Rafal Luzynski in
https://bugzilla.gnome.org/show_bug.cgi?id=606415
2010-01-08 18:27:43 +01:00
Xandru Armesto Fernandez
fbd0db99e4
Updated asturian language
2010-01-08 17:55:32 +01:00
Javier Jardón
2a34285ad7
Fix links in GtkComboBox migration guide
...
Some link to GTK+ classes are not gererated because the ":" near
the class name; solution: "#GtkComboBox<!---->:"
Also, added some links to the proper signals
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=606291
2010-01-07 16:51:07 +01:00
Jean Brefort
808e698ea7
fix critical in gtk_editable_insert_text
2010-01-07 16:40:49 +01:00
Javier Jardón
56a893ca8c
Deprecate widget flag: GTK_WIDGET_CAN_FOCUS
...
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-01-07 10:05:08 +01:00
Javier Jardón
51e0dd9a82
Deprecate some widget flags
...
Deprecate the following:
GTK_WIDGET_APP_PAINTABLE
GTK_WIDGET_CAN_DEFAULT
GTK_WIDGET_DOUBLE_BUFFERED
GTK_WIDGET_HAS_DEFAULT
GTK_WIDGET_HAS_GRAB
GTK_WIDGET_RECEIVES_DEFAULT
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-01-07 10:04:55 +01:00
Shankar Prasad
b9a96210ea
Made couple of translation changes in kn.po
2010-01-07 13:40:17 +05:30
Matthias Clasen
9fc436d810
Setup libjpeg error handlers early enough
...
See bug 606068 for details.
2010-01-06 22:44:16 -05:00
Jorge González
e466b0e93e
Updated Spanish translation
2010-01-06 14:33:14 +01:00
Timo Jyrinki
cec572dbf6
One-line fix to a noticiable translation bug.
2010-01-06 11:41:07 +02:00
Matej Urbančič
f28f71dbbd
Updated Slovenian translation
2010-01-05 17:00:15 +01:00
Maxim V. Dziumanenko
8f79d833a2
Update Ukrainian translation
2010-01-05 17:03:04 +02:00
Kjartan Maraas
de72a5dc9e
Updated Norwegian bokmål translation.
2010-01-05 13:48:13 +01:00
Inaki Larranaga Murgoitio
0d501df246
Updated Basque language
2010-01-05 12:54:33 +01:00
Javier Jardón
aa63be61d9
Fix compilation warning: use const *gchar variable
...
https://bugzilla.gnome.org/show_bug.cgi?id=605090
2010-01-04 11:47:40 +01:00
Javier Jardón
c1cddb2b24
Fix compilation warning: use the correct conversion specifier
...
Use G_GSIZE_FORMAT instead of %i
The warning was added in
commit ba651d4022
2010-01-04 10:43:32 +01:00
Christian Dywan
d8adf58d38
Don't use GTK_WIDGET_NO_WINDOW in GtkEventBox
2010-01-04 08:41:07 +01:00
Christian Dywan
5d675b9f11
No GTK_WIDGET_NO_WINDOW in GtkFixed and deprecate gtk_fixed_set_has_window
2010-01-04 08:39:24 +01:00
Christian Dywan
525cc3ada2
Don't use GTK_WIDGET_NO_WINDOW in GtkContainer
2010-01-04 08:26:50 +01:00
Christian Dywan
bb1824c131
Deprecate flag macros for toplevel, state, no window and composite child
...
Deprecate widget flag macros GTK_WIDGET_STATE, GTK_WIDGET_SAVED_STATE,
GTK_WIDGET_FLAGS, GTK_WIDGET_TOPLEVEL, GTK_WIDGET_NO_WINDOW and
GTK_WIDGET_COMPOSITE_CHILD.
Also deprecate the type macros GTK_WIDGET_TYPE, GTK_OBJECT_TYPE_NAME and
GTK_OBJECT_TYPE which have become redundant.
Instances of GTK_WIDGET_TOPLEVEL are replaced with gtk_widget_is_toplevel,
GTK_WIDGET_TYPE is replaced with G_OBJECT_TYPE, GTK_WIDGET_COMPOSITE_CHILD
is replaced with use of the "composite-child" property and uses of
GTK_WIDGET_NO_WINDOW are adjusted to use gtk_widget_get_has_window.
Uses of GTK_WIDGET_SAVED_STATE and GTK_WIDGET_FLAGS inside GtkWidget are
changed to direct flag usage.
Documentation is updated to refer to gtk_widget_set_has_window and
gtk_widget_get_has_window.
Gail and tests are updated as well.
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-01-04 07:57:05 +01:00
Christian Dywan
ac26960e62
Fix missing GTK_WIDGET cast on printer option widget in construct_widgets
2010-01-04 07:30:57 +01:00
Christian Dywan
3a9633a9de
Fix missing GTK_WINDOW cast in _gtk_menu_shell_update_mnemonics
2010-01-04 07:29:42 +01:00
Benjamin Otte
8f7c3729ef
Document missing signal parameter
2010-01-03 23:12:24 +01:00
Javier Jardón
bef70bc5bf
[docs] Add documentation for GdkWindow 'cursor' property
...
Reported by Rafal Luzynski here:
https://bugzilla.gnome.org/show_bug.cgi?id=604821
2010-01-03 21:14:06 +01:00
Theppitak Karoonboonyanan
9734b1f138
Updated Thai translation.
2010-01-03 22:25:17 +07:00
Hiroyuki Ikezoe
23042427f5
Use CAIRO_VERSION instead of CAIRO_VERSION_CODE
...
Cairo does not have CAIRO_VERSION_CODE macro.
Fix for bug #605472 .
2010-01-03 18:22:55 +09:00
Matthias Clasen
23a5381cba
Make mnemonic hiding work in all cases
...
Both gtk-enable-mnemonics and gtk-auto-mnemonis did not work with
gtk_label_set_markup_with_mnemonic(). Also, fix gtk_label_set_pattern().
2010-01-03 00:57:14 -05:00
Matthias Clasen
eb2879eba9
Update dependency information
2010-01-02 22:20:51 -05:00
Matthias Clasen
85b41aaffc
Don't use string concatentation in translated strings
...
gettext can't handle it, and there is no real need to use G_GSIZE_FORMAT
here anyway.
2010-01-02 20:11:50 -05:00
Matej Urbančič
94ba3d86f3
Updated Slovenian translation
2010-01-02 09:59:16 +01:00
Matej Urbančič
1353e1f518
Updated Slovenian translation
2010-01-02 09:59:04 +01:00
Kristian Rietveld
5886e5cff2
Plug leaks in quartz implementation of gtk_drag_begin_idle()
2010-01-01 21:28:16 +01:00
Kristian Rietveld
c049c6a385
Rework a previous commit to not crash in addition to fixing leaks
...
The target list/entry to pasteboard entry conversions return a NSSet
now instead of NSArray.
2010-01-01 21:28:16 +01:00
Murray Cumming
6931245003
GtkToolPalette: docs: Minor English corrections.
2009-12-31 13:55:51 +01:00
Johan Dahlin
cdb13d233e
Make sure Gdk-2.0.gir is installed
...
Fixes a variable name typo
2009-12-31 01:48:50 +01:00
Johan Dahlin
c212f680a4
Avoid warnings when introspetion is not available
...
-include is the same as include but will never warn if the
file is not available
2009-12-31 01:47:24 +01:00
Johan Dahlin
5955cfe37f
Fix build with system install of introspection
...
Or redo it properly and remove previous hack by Matthias.
2009-12-31 01:19:38 +01:00
Kristian Rietveld
c37c57528c
Fix compiler warning
2009-12-30 14:21:31 +01:00
Kristian Rietveld
f91907101d
Fix memory management of types array
...
Also add autorelease pool to gtk_drag_begin_idle().
2009-12-30 14:18:33 +01:00
Kristian Rietveld
c12dbae0ac
Do not leak the NSMutableSet
2009-12-30 14:16:55 +01:00
Kristian Rietveld
0912a113dd
Release view after setting it as contentView
...
Fixes GdkQuartzView being leaked.
2009-12-30 14:14:21 +01:00
Kristian Rietveld
255c2739e2
Fix memleak in get_nsscreen_for_point()
...
One codepath did not go through GDK_QUARTZ_RELEASE_POOL, refactored
the code to fix this.
2009-12-30 14:12:42 +01:00
Kristian Rietveld
3887838244
Fix memory leak in GdkQuartzView
...
Should remove the tracking rect in dealloc.
2009-12-30 14:11:14 +01:00
Kristian Rietveld
ee62948b83
Use CGFLOAT_DEFINED, don't rely on NSINTEGER_DEFINED for this
2009-12-28 23:01:42 +01:00
Kristian Rietveld
436855210e
Unset expander_column when expander column is removed from tree view
2009-12-28 21:34:17 +01:00
Kristian Rietveld
e22de4a88e
Add gdk_keymap_map_virtual_modifiers() to Quartz backend
2009-12-28 21:18:57 +01:00
Kristian Rietveld
c8fef502e2
Start using CGFloat
...
Fixes a bunch of compiler warnings. Since CGFloat does not exist on
Tiger and earlier, we have added a typedef likewise as was done for
NSInteger.
2009-12-28 21:18:57 +01:00
Kristian Rietveld
f3a5bf48d4
Fix compile warning in gdk_cursor_new_from_pixmap
2009-12-28 21:18:57 +01:00
Kristian Rietveld
dd415881be
initWithContentRect: has a NSUInteger parameter now
...
The typedef in place for Tiger and earlier systems should change this
to unsigned int without problems.
2009-12-28 21:18:56 +01:00
Cody Russell
98a14e6067
Add GtkOffscreenWindow to gtk-sections.txt
2009-12-28 09:42:12 -06:00
Cody Russell
dd8e4d588f
Documentation changes.
2009-12-28 09:33:42 -06:00
Cody Russell
4681f0b467
Add 'Since 2.20' documentation.
2009-12-28 09:33:42 -06:00
Cody Russell
09b25f9739
Add documentation note for GtkOffscreenWindow emission of damage-event.
2009-12-28 09:33:42 -06:00
Cody Russell
2158f59263
Add gtk-doc section for GtkOffscreenWindow
2009-12-28 09:33:42 -06:00
Cody Russell
309e48378e
Add gtk_offscreen_window_get_{pixmap,pixbuf} to gtk.symbols
2009-12-28 09:33:42 -06:00
Cody Russell
06a53cc482
Add gtkoffscreenwindow.sgml
2009-12-28 09:33:42 -06:00
Cody Russell
1c92a54983
Add gtk_offscreen_window_get_pixmap() and gtk_offscreen_window_get_pixbuf(), some API docs.
2009-12-28 09:33:42 -06:00
Cody Russell
5e76656a65
Add headers
2009-12-28 09:33:42 -06:00
Cody Russell
2cd2e03721
Add offscreen window symbols to gtk.symbols
2009-12-28 09:33:41 -06:00
Cody Russell
7fed174194
Add gtk_offscreen_window_new() prototype to gtkoffscreenwindow.h
2009-12-28 09:33:41 -06:00
Cody Russell
8801d163a6
Add delete-event callback to window, use gtk_widget_queue_draw() instead of gtk_widget_draw()
2009-12-28 09:33:41 -06:00
Cody Russell
8a523393ac
GtkOffscreenWindow implementation for #604901
2009-12-28 09:33:41 -06:00
Jorge González
74b8191f55
Updated Spanish translation
2009-12-28 02:09:35 +01:00
Kristian Rietveld
b2b70e5a8d
Start using NSInteger and NSUInteger
...
These have been introduced in Leopard and default to int and unsigned int.
In 64-bit Snow Leopard they are long and unsigned long. This caused issues
with the getRectsBeingDrawn message which needs a pointer to a NSInteger
(long on 64-bit!) but we passed in an integer. Surprisingly this problem
was visible when compiling with -O0 (segfault), but *not* when compiling
with -O1. Other messages were NSInteger is now needed have also been
adapted.
Since NSInteger and NSUInteger are not available on Tiger, a define
has been added to add typedefs for these when they have not been defined
by the system headers.
2009-12-27 19:28:56 +01:00
Ivar Smolin
9d1e7b2146
Updating Estonian translation
2009-12-27 00:54:40 +02:00
Iestyn Pryce
07e8e4bc23
Updated Welsh translation
2009-12-24 23:47:44 +00:00
Iestyn Pryce
da3f12b965
Updated Welsh translation
2009-12-24 23:45:52 +00:00
Kristian Rietveld
acb6f4ff33
Fix call to update_prelight()
...
Seems like some minus signs sneaked in while diffing and reapplying...
Fixes regression noted in 480065.
2009-12-23 08:33:10 +01:00
Theppitak Karoonboonyanan
270dc0b582
Updated Thai translation.
2009-12-23 13:32:51 +07:00
Jonh Wendell
da113b8312
Fix a memory leak in gtk_label_compose_effective_attrs()
2009-12-22 11:46:08 -03:00
Matthias Clasen
bda55eaac7
Forgotten news
2009-12-21 22:51:08 -05:00
Matthias Clasen
277b5e5bd8
Bump version and add dist-bzip2
2009-12-21 22:26:43 -05:00
Matthias Clasen
53b9a41b47
2.19.2
2009-12-21 22:24:59 -05:00
Kristian Rietveld
f59294fd93
Correct problems with earlier fix for bug #480065
...
Initialize event_last_[xy] to out of range coordinates and also update
these values in enter and leave notify. Fix up calls to
update_prelight() from size allocate. Unconditionally doing these calls
caused problems with hover selection. Now we only do this call when
the "width before the expander column" has changed. (Which might be
awkward, but it is the best heuristic I could come up with so far).
2009-12-21 22:42:15 +01:00
Kristian Rietveld
f223577a88
Bug 480065 - wrong tree collapsed (or expanded) after having scrolled
...
Commit again after revert.
Store (x, y) of last motion event. From
gtk_tree_view_adjustment_changed(), call prelight_or_select() so that
the prelight is recalculated. We do the same from
gtk_tree_view_size_allocate() for the case that clicking on an expander
shows new rows that resize the column(s) left of the expander. This
means that the expander is moved horizontally, in such a case the
prelight also has to be reconsidered.
2009-12-21 22:42:15 +01:00
Matthias Clasen
d5394b06e4
Updates
2009-12-21 16:11:26 -05:00
Tor Lillqvist
8daf770a73
Add gdk_keymap_map_virtual_modifiers() implementation
2009-12-21 22:43:44 +02:00
Matthias Clasen
d2ce67734a
Fix a think in the CSW input extension handling
...
This was causing stack overflow due to an obvious infinite recursion.
See e.g. RH #548849 .
2009-12-21 15:27:46 -05:00
Matthias Clasen
1781696a4a
Fix make check
2009-12-21 13:13:36 -05:00
Matthias Clasen
c0d8b71bc5
Improve selection/arrow key behaviour in GtkTextView
...
This patch makes the text view behave more similar to entries.
Patch by Michael Natterer, see bug 50942
2009-12-21 11:29:12 -05:00
Matthias Clasen
c9875c6247
Add a release note about virtual modifiers
2009-12-21 11:26:11 -05:00
Matthias Clasen
03b179c5e8
Try harder to handle accelerators involving virtual modifiers
...
This patch changes GDK to add all matching virtual modifiers in
the state field of the key event. The corresponding GTK+ change makes
use of a new GdkKeymap function to map virtual modifiers back to
real modifiers and detect conflicts while doing so.
This should fix bug 603190 and bug 427409.
2009-12-21 11:15:28 -05:00
Richard Hughes
60e0183ac9
Add icc-profile option to gdk-pixbuf for the TIFF image format
2009-12-21 08:53:28 +00:00
Javier Jardón
25e3329215
Move documentation to inline comments: GtkMountOperation
...
https://bugzilla.gnome.org/show_bug.cgi?id=597865
2009-12-21 06:34:43 +01:00
Javier Jardón
e62e7f76c9
Move documentation to inline comments: GtkImage
...
https://bugzilla.gnome.org/show_bug.cgi?id=597865
2009-12-21 06:34:10 +01:00
Javier Jardón
016fba99e7
Move documentation to inline comments: GtkFileChooser
...
Also, use Gtk-Doc markup to improve documentation
cross-references.
https://bugzilla.gnome.org/show_bug.cgi?id=597865
2009-12-21 06:31:37 +01:00
Benjamin Otte
3921834b96
Build adds not-yet-built libgtk-x11-2.0.la into the linker flags
...
Commit 9e7c91bf83 added a bit too many
LDFLAGS to the build of gtk-update-icon-cache, revert it to only use the
required ones. Bug 605036
2009-12-21 02:51:59 +01:00
Matthias Clasen
5a88e689f3
Make mnemonic hiding work for printer option widgets
...
By making the widget itself insensitive.
2009-12-20 19:17:24 -05:00
Matthias Clasen
72e41b41f5
More auto-mnemonics tweaks
...
When auto-mnemonics are on, hide mnemonics with insensitive target.
2009-12-20 19:17:24 -05:00
Matthias Clasen
6f421d1450
Some improvements to the auto-mnemonics code
2009-12-20 19:17:24 -05:00
Matthias Clasen
4116baef32
Handle reading the create-folders property
2009-12-20 19:17:24 -05:00
Javier Jardón
134a8ffa19
Fix compilation warning: cast to GTK_WIDGET()
2009-12-21 00:40:03 +01:00
Javier Jardón
479c7b0476
Fix compilation warning: use the correct conversion specifier
...
Use G_GSIZE_FORMAT instead of %d
2009-12-21 00:39:19 +01:00
Jorge González
c939fdbfbc
Updated Spanish translation
2009-12-20 13:37:45 +01:00
Matthias Clasen
c59f76fda2
Only show the mnemonic underline when pressing Alt
...
...and show them in menus when navigating the menu with the keyboard.
This is similar to what other platforms do, and reduces visual clutter.
There is a setting to control this. Most of the work on this patch was
done by Thomas Wood. See bug 588554.
2009-12-20 03:11:05 -05:00
Matthias Clasen
af268d5b07
Small documentation correction
2009-12-20 03:11:04 -05:00
Matthias Clasen
9d999fb89f
Properly free damage events
...
This was reported in bug 605008
2009-12-20 03:11:04 -05:00
Matthias Clasen
a2a990aa0b
Fix a typo
2009-12-19 13:12:16 -05:00
Benjamin Otte
9e7c91bf83
Fix up linker flags
...
This adds LDFLAGS everywhere where they were previously pulled in via
other libraries. This is however unsupported by modern linkers.
You can trigger these failures by building with gold (or, I'm told, with
very new ld).
2009-12-19 18:37:39 +01:00
Matthias Clasen
d99742e1cb
implement extended layout for GtkCellRendererText
2009-12-19 10:31:16 -05:00
Matthias Clasen
5e62f81196
implement extended layout for GtkCellView
2009-12-19 10:23:58 -05:00
Benjamin Otte
ff1343a594
Disconnect signal handlers on adjustment in destroy handler
...
Not removing the signal handler caused crashes if the adjustment
survived longer than the scrolled window and still emitted signals. This
could happen inside WebKit.
2009-12-19 13:50:39 +01:00
Jorge González
17f026e462
Updated Spanish translation
2009-12-19 13:31:19 +01:00
Carlos Garcia Campos
a4db99ff1e
Fix a crash on print preview
...
There's no printer when doing print preview so it's not possible to get
its hard margins.
2009-12-19 12:28:46 +01:00
Dan Winship
0b4af241b6
Change GtkIconSize to int in params/return values
...
GtkIconSize is an extensible enumeration (via
gtk_icon_size_register()), so methods that claim to take/return a
GtkIconSize need to actually use "int" to work correctly with bindings
that are strict about enum values.
https://bugzilla.gnome.org/show_bug.cgi?id=604895
2009-12-19 10:32:35 +01:00
Dan Winship
6afa3b9507
Fix out/transfer annotations on GtkImage getters
...
https://bugzilla.gnome.org/show_bug.cgi?id=604895
2009-12-19 10:32:35 +01:00
Matthias Clasen
d4b1f0cadf
implement extended layout for GtkTreeView and GtkTreeViewColumn
2009-12-19 02:07:51 -05:00
Matthias Clasen
56edab3553
Implement extended layout for plug/socket
2009-12-19 01:23:58 -05:00
Matthias Clasen
9a48091064
Implement extended layout for GtkScrolledWindow
2009-12-19 00:57:49 -05:00
Matthias Clasen
5e8045b14d
Implement extended layout for GtkBin
2009-12-19 00:34:04 -05:00
Matthias Clasen
7a69bdc5f0
Make it compile
2009-12-18 23:44:43 -05:00
Matthias Clasen
a5475e0ec2
Fix doc typos
...
Reported in bug 604902.
2009-12-18 21:48:18 -05:00
Javier Jardón
7e11475298
[docs] Cast to GFunc in gtk_tree_selection_get_selected_rows() example code
...
Reported by Diego Escalante Urrelo here:
https://bugzilla.gnome.org/show_bug.cgi?id=502266
2009-12-19 02:09:18 +01:00
Hiroyuki Ikezoe
702ee3b350
[gtk] GtkCellEditable::editing-cancelled should be writable
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=604881
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2009-12-19 01:21:22 +01:00
Matthias Clasen
aadb190b77
Fix a thinko in computing damage for segments
...
The code was not taking the endpoint of the first segment into account.
This was reported in bug 604747.
2009-12-18 19:17:04 -05:00
Matthias Clasen
7a9a3077e4
Ensure native windows in gdk_property_change
...
Using X properties on non-toplevel windows is somewhat exotic,
but some people seem to do it, so better to keep it working.
See bug 604787.
2009-12-18 18:43:32 -05:00
Torsten Schoenfeld
0addda2028
[docs] Add some 'Since: 2.4' tags
...
This patch adds Since: 2.4 tags to gtk_bindings_activate_event,
gtk_window_propagate_key_event and gtk_window_activate_key.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=604859
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2009-12-18 21:00:10 +01:00
Hiroyuki Ikezoe
d3fab727ae
Use g_value_dup_string instead.
...
g_value_get_string and g_strdup should be replaced by
g_value_dup_string.
2009-12-18 20:51:03 +01:00
Richard Hughes
ba651d4022
Add color management support to gdk_pixbuf_save
...
This patch adds an icc-profile option to a GdkPixbuf which can
be used to read or write an embedded ICC profile.
Add PNG support for now, but other image formats are awaiting
review.
2009-12-18 15:17:13 +00:00
Alexander Larsson
7e9d89b555
Actually send exposes from gdk_window_clear_area_e
2009-12-18 15:35:04 +01:00
Javier Jardón
674dd557e8
Add 'Since: 2.18' tag
...
Add missing 'Since:' tag in gdk_window_get_root_coords() and
gdk_window_is_destroyed()
Reported by Rafal Luzynski in
https://bugzilla.gnome.org/show_bug.cgi?id=604821
2009-12-18 10:53:01 +01:00
Nguyễn Thái Ngọc Duy
16ce0c76eb
vi.po: Updated Vietnamese translation
2009-12-18 16:07:40 +07:00
Christian Dywan
99f63451e0
Use gtk_widget_get_tooltip_text for gtk_tooltips_data_get in Gail
2009-12-17 10:41:11 +01:00
Tor Lillqvist
435606a5bf
Make the OLE2 DND code selectable at run-time instead of compile-time
...
(It still doesn't work, though.)
2009-12-17 01:51:51 +02:00
Johan Dahlin
a5dec477e2
Make sure dist check includes introspection
2009-12-16 17:30:53 -02:00
Johan Dahlin
957f50f5f0
Bump the required introspection version
...
Makefile.introspection was added in 0.6.7
2009-12-16 17:22:02 -02:00
Johan Dahlin
eadc7885da
Use Makefile.introspection
...
Use the new fancy rules from the Makefile.introspection, it makes
the rules prettier and avoids quite a bit of duplication
2009-12-16 17:22:02 -02:00
Johan Dahlin
2ada5a9cb9
Update introspection.m4
...
This one includes the INTROSPECTION_MAKEFILE variable
which we will include in all Makefiles which are going
to build introspection girs/typelibs
2009-12-16 17:22:02 -02:00
Johan Dahlin
75c7d910ae
Bump required introspection version to 0.6.6
2009-12-16 17:22:02 -02:00
Johan Dahlin
248d4b1622
Make sure dist check works with introspection
...
We need to prepend the srcdir to all variables
passed into the scanner as it runs with srcdir != builddir during
distcheck.
2009-12-16 17:22:02 -02:00
Johan Dahlin
09362d6e34
Re-add accidentially removed gtkintl header
2009-12-16 17:22:02 -02:00
Johan Dahlin
a945505246
Add no-portability option to automake
...
We require GNU Make and has done so for a while already
2009-12-16 17:22:02 -02:00
Colin Walters
6529c07614
[introspection] Merge in Gtk-custom.c annotations
...
The Gtk-custom.c file in gir-repository contained a number of
introspection annotations. Merge those into the GTK source files.
Some documentation was moved from the tmpl/ files to accomodate
the addition of annotations.
2009-12-16 17:22:01 -02:00
Johan Dahlin
b3c48a4501
Bump the required version of autoconf to 2.62
...
It's need by the new introspection macro.
2009-12-16 17:22:01 -02:00
Johan Dahlin
80c7937d60
Separate private from public gdk headers
...
We don't want to parse the private gdk headers when
creating the GIR.
2009-12-16 17:22:01 -02:00
Johan Dahlin
945689548d
Add an m4 directory and a introspection.m4
...
So we don't need the introspection.m4 file
to create a dist of gtk+
2009-12-16 17:22:01 -02:00
Tomeu Vizoso
c171d58640
Add a few more annotations to GtkIconTheme
2009-12-16 17:22:01 -02:00
Colin Walters
18dc96caf8
Merge in Gdk-custom.c introspection annotations
...
The Gdk-custom.c file in gir-repository contained a number of
introspection annotations. Merge those into the GDK source files.
Some documentation was moved from the tmpl/ files to accomodate
the addition of annotations.
https://bugzilla.gnome.org/show_bug.cgi?id=592279
2009-12-16 17:22:01 -02:00
Colin Walters
78758d43ea
Build introspection data for gdk-pixbuf, gdk, and gtk
...
Generate .gir and .typelib files for gdk-pixbuf, gdk, and gtk.
https://bugzilla.gnome.org/show_bug.cgi?id=592279
2009-12-16 17:22:00 -02:00
Tor Lillqvist
6e73be9d6c
Add copyright note and comment for merged old code
2009-12-16 13:47:57 +02:00
Tor Lillqvist
eb21a7df29
Work on OLE2-based generic DND
...
Intermediate commit of work in progress on integrating the old code
for OLE2-based generic drag and drop from Arhaeopteryx Software, from
a long time ago in the GTK+ 1.3 timeframe. Does still not work and is
as before not compiled in unless OLE2_DND is defined in
gdkdnd-win32.c. (Thus, for inter-process DND, still only WM_DROPFILES
style dropping of files on GTK+ apps works.)
Related slight refactoring of other code that shouldn't change how it
works. Add more global variables for run-time constants (once
initialized) representing well-known GdkAtoms and registered Windows
clipboard formats, as they with the generic DND code will be needed in
several source files. Some improved debugging output.
2009-12-16 13:10:21 +02:00
Tor Lillqvist
c196ac2b63
Make more GdkAtom variables visible in all gdk/win32 files
...
Make the GdkAtoms for the image formats extern and usable from all
gdk/win32 files.
2009-12-16 13:10:20 +02:00
Tor Lillqvist
c1ddd8f9bc
Make the gdk/win32 event debug printing function non-static
...
Make print_event() extern and rename it to _gdk_win32_print_event() so
it can be used from all gdk/win32 source files.
2009-12-16 13:10:19 +02:00
Tor Lillqvist
1bf9a2fa41
Remove unused functions and variables
2009-12-16 13:10:18 +02:00
Benjamin Otte
9647285441
Revert dd511e825a
...
The patch completely breaks entry completion - as can be seen when using
epiphany. Bug 480065 has been reopened.
2009-12-16 11:48:11 +01:00
Javier Jardón
44cadd2a48
Add info about single includes when compiling GTK+ apps
...
gtk.h, gdk.h, gdk-pixbuf.h. are the recommended includes.
But there are some exceptions: gdkkeysyms.h, gdkx.h and
gtkunixprint.h
https://bugzilla.gnome.org/show_bug.cgi?id=604117
2009-12-15 20:10:20 +01:00
Matthew Barnes
e8ed566898
Bug 602099 - Actions can be activatable too
...
Add a couple type checks in gtk_activatable_do_set_related_action() to
allow both GtkWidgets and GtkActions to implement GtkActivatable. Bug
602099 describes a use case for this.
Also add a GObject prerequisite to the GtkActivatable interface.
2009-12-15 08:05:11 -05:00
Johannes Schmid
21ebf5df86
native-layout: Change test-case so that it is more obvious that the algorithm tries to show as many
...
widgets with full size as possible.
2009-12-14 17:24:52 +01:00
Johannes Schmid
24c1a4f24b
native-layout: Fix typo that brakes layout completely
2009-12-14 17:16:21 +01:00
Johannes Schmid
462dc0643b
native-layout: Bump version of GtkExtendedLayout gtk-doc comments to 2.20
2009-12-14 16:30:26 +01:00
Johannes Schmid
9724366289
native-layout: Don't expose extra gtk_widget_* function that are similar to the GtkExtendedLayout interface
2009-12-14 16:28:56 +01:00
Johannes Schmid
c659d1a505
Merge branch 'master' into native-layout
2009-12-14 15:36:22 +01:00
Johannes Schmmid
e08d04b561
native-layout: Introduce GtkExtendedLayout interface.
2009-12-14 15:32:49 +01:00
Matthias Clasen
182108c68e
Implement gdk_screen_get_primary_monitor in all GDK backends
...
The implementations are all trivial, just returning 0. At least
for Quartz, we could probably do better than that. Bug 604459.
2009-12-13 20:40:02 -05:00
Matthias Clasen
a9cd99c15f
Fix gtk_tool_item_get_text_size_group return value
...
Reported by Kazuki Iwamoto in bug 604462.
2009-12-13 20:32:46 -05:00
Jorge González
3d74197f8c
Updated Spanish translation
2009-12-13 09:55:01 +01:00
Christian Dywan
b20f2d26b4
Reset the pressed state of a button when the screen changes
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=599397
2009-12-11 17:17:38 +01:00
Nils-Christoph Fiedler
a515a01faa
Updated LowGerman translation
2009-12-11 09:16:09 +01:00
Sven Herzberg
70440523e3
let the close button reflect the page_complete status of SUMMARY pages
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=604289
In order to respect this properly, we have to restore the original
behavior by watching a flag to check if the user has already set this.
* gtk/gtkassistant.c: fix the bug by introducing a flag to check for
non-automatic value setting
* tests/testassistant.c: updated the "generous assistant" to permit
quick manual testing of this feature
2009-12-10 22:06:30 +01:00
Johan Dahlin
6879032113
Fix the builder tests
2009-12-10 12:33:55 -02:00
Cody Russell
53ab5c0b63
Add gdk_screen_get_primary_monitor to gdk.symbols
2009-12-09 23:20:30 -06:00
Danielle Madeley
15a5f153b1
Fix GTK_TREE_MODEL_FILTER_GET_CLASS macro
2009-12-09 15:48:58 +11:00
Cody Russell
662e69ad3e
Add gdk_screen_get_primary_monitor(). This fixes bug #601712
2009-12-08 11:27:02 -06:00
Matthias Clasen
0748cf563d
Never do implicit paints for foreign windows
...
They don't need double buffer combination since they have no
client-side children, and creating pixmaps for them is risky
since they could disappear at any time.
May fix bug 598476 and 603652.
2009-12-08 10:09:04 -05:00
Matthias Clasen
105b007545
Set colormap of offscreen pixmaps
...
This fixes problems in clutter-gtk. See bug 603619.
2009-12-08 09:58:23 -05:00
Alexander Larsson
22d1d0d507
Fix up last commit
2009-12-08 12:28:44 +01:00
Alexander Larsson
159214173d
Handle input extension events when making a window native
...
It may happen when turning a client side window into a native window
that the window, or some of its children with the same native parent
have extension events enabled, and thus have an input window enabled
for the native parent which needs to change as the window is made
native.
We fix this by temporarily disabling extension events on all the affected
windows while we create the native window, and then reenable them afterwards.
This fixes: https://bugzilla.redhat.com/show_bug.cgi?id=544624
2009-12-08 12:22:59 +01:00
Ivar Smolin
ae2a33be2f
Updating Estonian translation
2009-12-08 09:01:21 +02:00
David King
260b442462
[doc] Add error domains on functions taking a GError**
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=544706
2009-12-08 05:55:21 +01:00
Christian Dywan
ae057dcd12
[doc] Fix the documentation of GtkIconEntry
...
Cast to (GFunc) in example code
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=601383
2009-12-08 05:45:50 +01:00
Javier Jardón
0e3e20e705
[gtk/gtkaccessible] Seal the public member of GtkAccesible
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=544892
2009-12-08 02:08:35 +01:00
Alexander Larsson
98a9c5c69a
Fix damage report for lines drawn on offscreen windows
...
All kinds of lines (lines, segments, arcs, etc) need to take into
account the line properties (width, miter limit, joins, caps, etc)
to get proper damage extents.
This is not really possible to do, but we can make it likely to work
with some ad-hoc estimates.
Fixes bug 603904.
2009-12-07 10:49:57 +01:00
Alexander Larsson
48fc0f36c2
Fix mouse pointer handling on multiple screens
...
The fix in 786b589d95 for the
"Cannot click buttons more than once without moving the mouse cursor"
did not correctly handle setups with multiple screens in one display.
We need to handle the case where the first XQueryPointer returns
a different root window than the default one.
This fixes bug 597386 (agaion)
2009-12-07 10:49:57 +01:00
Yair Hershkovitz
3ea51bfec0
Updated Hebrew translation
2009-12-05 23:24:01 +02:00
Carlos Garcia Campos
a3fea3f241
Fix Since tag in gtk_printer_get_default_page_size() doc
2009-12-05 15:48:46 +01:00
Adrian Johnson
6e351f9214
Set win32 printer hard margins on print context
2009-12-05 13:51:37 +01:00
Adrian Johnson
7c5e1cb703
Set hard margins to 0 when printing n-up on unix printers
2009-12-05 13:50:34 +01:00
Adrian Johnson
05bb47cc3e
Default to hard margins not available
...
unless the print backend explicitly provides them.
2009-12-05 13:47:31 +01:00
Adrian Johnson
48cf7d9e7e
Set unix printer hard margins on print context
2009-12-05 13:45:55 +01:00
ecyrbe
be686e2bad
Bring GtkPrintContext hard margin aware
...
See bug #468989 .
2009-12-05 13:23:44 +01:00
Kjartan Maraas
db30c79dac
Updated Norwegian bokmål translation.
2009-12-04 21:21:38 +01:00
Matej Urbančič
1e3719ba81
Updated Slovenian translation
2009-12-04 20:48:54 +01:00
Matej Urbančič
19d2beee53
Updated Slovenian translation
2009-12-04 20:48:44 +01:00
Javier Jardón
325bd9299a
Use GtkCellEditable::editing-canceled
...
GtkCellEditable::editing-canceled property was added in 2.19 cycle,
so we should make the code that currently uses entry->editing_canceled
directly go through the property
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=599213
2009-12-04 02:50:57 +01:00
Christian Dywan
46f5ee1d0c
Store the buildable name in object data instead of the widget name
...
Widget names are used for theming which is why GtkBuilder should
use object data.
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=591085
2009-12-03 13:10:02 +01:00
Khaled Hosny
7e7c23de19
Updated Arabic translation
2009-12-02 15:53:31 +02:00
Alexander Larsson
b509f28559
Don't filter out BUTTON_MOTION event masks
...
We don't really need to filter these out, it was just a leftover
safety check to not override the GDK_POINTER_MOTION_MASK.
Furthermore when we changed behaviour to not always select for native
pointer motion it is actually wrong. We'll still get normal motion
events for the toplevel which we will emulate as button motion on the
child, but the button motion mask will not be inherited by implicit
grabs which makes us not get any motion events during grabs.
This fixes bug 601473
2009-12-02 11:19:21 +01:00
krishnababu k
6201a5d7ee
Updated telugu translations
2009-12-02 15:04:25 +05:30
Javier Jardón
62bfbe91d8
[gtk/gtktextview] Use {} in empty if..else blocks
2009-12-02 09:38:08 +01:00
Javier Jardón
f35c581de4
[gtk/gtktreestore] Remove useless line
2009-12-02 09:36:58 +01:00
Johannes Schmid
a8ec02c930
gtknotebook: Avoid drawing artifacts with action widgets and long tab labels (bgo#603245)
2009-12-02 09:36:53 +01:00
Javier Jardón
f332506804
Fix compilation warning: cast to GTK_LABEL()
...
This was introduced in commit 478ca88ae5
2009-12-02 02:11:59 +01:00
Matthias Clasen
a18b8cdc46
Fix strftime format translation
...
This was reported in RH bug 500067.
2009-12-01 17:07:28 -05:00
Christian Persch
33552c75b1
Revert "Set unix printer hard margins on print context"
...
This reverts commit 826d800b74 .
2009-12-01 19:00:58 +01:00
Christian Persch
b2602a92b9
Revert "Default to hard margins not available"
...
This reverts commit a77f209f23 .
2009-12-01 19:00:58 +01:00
Christian Persch
ab8e565740
Revert "Set hard margins to 0 when printing n-up on unix printers"
...
This reverts commit 215eb8c9f1 .
2009-12-01 19:00:58 +01:00
Christian Persch
723c16d6cd
Revert "Set win32 printer hard margins on print context"
...
This reverts commit a42107389f .
2009-12-01 19:00:58 +01:00
Christian Persch
88bcbf4866
Revert "Add comment explaining why we set the hard margins to 0 for n-up"
...
This reverts commit 394f698e4e .
2009-12-01 19:00:57 +01:00
Matthias Clasen
a31b5130ec
Regenerate gtkimcontextsimpleseqs.h
...
Based on the changes in the previous commit; this also pulls in
some additions fixes from the current X.org Compose.pre file.
2009-12-01 12:47:44 -05:00
Matthias Clasen
25260f9867
Make Compose-vowel-minus combinations consistent
...
Change <Multi_key>a- and <Multi_key>o- to produce āō to be consistent
with eiu. See RH bug 510741.
2009-12-01 12:29:53 -05:00
Christian Persch
394f698e4e
Add comment explaining why we set the hard margins to 0 for n-up
...
Bug #468989 comment 28.
2009-12-01 17:42:08 +01:00
Adrian Johnson
a42107389f
Set win32 printer hard margins on print context
2009-12-01 17:40:16 +01:00
Adrian Johnson
215eb8c9f1
Set hard margins to 0 when printing n-up on unix printers
2009-12-01 17:40:09 +01:00
Adrian Johnson
a77f209f23
Default to hard margins not available
...
unless the print backend explicitly provides them.
2009-12-01 17:39:54 +01:00
Adrian Johnson
826d800b74
Set unix printer hard margins on print context
2009-12-01 17:39:26 +01:00
Christian Persch
efa90e4182
Allow getting the printer's hard margins
...
Adds a way to get the unprintable area of the printer. Bug #468989 .
2009-12-01 17:39:01 +01:00
Matthias Clasen
e81dacb8e3
Bump version
2009-11-30 18:36:56 -05:00
Matthias Clasen
eb662b4b58
2.19.1
2009-11-30 17:23:48 -05:00
Matthias Clasen
1d6b7f6de8
Another make dist fix
2009-11-30 16:55:32 -05:00
Pablo Castellano
602e7e1910
Corrected typo in GtkIconTheme documentation
2009-11-30 22:41:18 +01:00
Matthias Clasen
671f117d24
Another update
2009-11-30 16:15:43 -05:00
Matthias Clasen
2c0dbe0a0a
Doc fixes
2009-11-30 16:14:11 -05:00
Matthias Clasen
1587165c18
More updates
2009-11-30 16:14:11 -05:00
Javier Jardón
dd3d8c96d0
[gdk-pixbuf] Use G_STRLOC instead __LINE__
2009-11-30 21:10:49 +01:00
Matthias Clasen
8ecd77ffd1
Add a release note about statusbar internal hierarchy changes
2009-11-30 14:06:57 -05:00
Matthias Clasen
ba1c9ae2bc
Another make check fix
2009-11-30 13:50:39 -05:00
Matthias Clasen
9d6ddfdc51
Make dist fixes
2009-11-30 13:10:36 -05:00
Christian Dywan
e72435f9d0
Implement "compression" option in the TIFF pixbuf loader
...
This enables applications to read out the compression of a TIFF image
and also makes it possible to apply the same or a different
compression when saving.
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=584700
2009-11-30 13:55:12 +01:00
Christian Dywan
6dfdf0fadf
Fallback to gtk_show_uri for print preview if the command fails
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=601682
2009-11-30 13:20:43 +01:00
Christian Dywan
cb49a28f8c
Mention exact property names in notebook tab packing deprecation
...
Follow-up for bug 596083.
2009-11-30 12:55:29 +01:00
Javier Jardón
ee2c797e70
[gdk/directfb] Made dfb_events_dispatch() thread save
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=591438
2009-11-30 06:02:49 +01:00
Matthias Clasen
d0083b5df3
Whitespace fixes
2009-11-29 19:48:16 -05:00
Matthias Clasen
478ca88ae5
Use a url label instead of a link button
...
This looks nicer, and allows us to make the url-hook work again
for the website url. Fixes bug 603201.
2009-11-29 19:00:28 -05:00
Matthias Clasen
6abb399ef4
Trivial doc typo fix
2009-11-29 19:00:10 -05:00
Matthias Clasen
324ff48edc
Avoid a harmless warning
...
In labels with colored, underlined text, the link handling code
would spit out a warning, even if no links are around.
See 603302.
2009-11-29 17:19:58 -05:00
Jorge González
d0bbb86f1b
Updated Spanish translation
2009-11-29 12:24:10 +01:00
Matthias Clasen
c08ed56f13
Allow holding compose key while entering a sequence
...
This broke when we started allowing Super, Hyper and Meta as
accel modifiers. See bug 601959.
2009-11-28 21:47:36 -05:00
Matthias Clasen
bbb4e4910b
Make the toolbar-style and toolbar-size settings work
...
This broke when moving the setting from gtktoolbar.c to gtksettings.c.
Spotted by Christian Persch in bug 603271.
2009-11-28 21:43:59 -05:00
Matthias Clasen
d8dfad3eb9
Fix small documentation problems after the toolpalette merge
...
Several Since tags were wrong. Spotted by Christian Persch in
bug 603268.
2009-11-28 20:59:56 -05:00
Alexander Larsson
4e0b7bf6fe
Position new ui nodes correctly when existing dirty dead nodes exist
...
If you add a new ui node that was recently removed it will still be
in the tree, but marked dirty. In this case we previously just used
the old node, which meant it wouldn't get the same position as if
the dirty nodes had been processed first (and deleted) before the
new node was added.
We handle this by detecting this case and reposition the node as if
it was new.
https://bugzilla.gnome.org/show_bug.cgi?id=603128
2009-11-28 20:49:37 -05:00
Matthew Barnes
25a8c7316d
Bug 601869 - GtkUIManager assumes too much about popup menus
...
Check that the child of a popup menu item is actually a GtkAccelLabel
before setting its "accel-closure" property.
2009-11-28 20:00:07 -05:00
Christian Persch
5bf30c2885
Make the action widgets internal children of GtkNotebook
...
So they're not included in the result of gtk_container_foreach() which
preserves it as a convenient way to get the list of all notebook content
widgets.
Bug #601409 .
2009-11-28 18:05:09 +01:00
Matthias Clasen
6dfb21e616
Rework a broken workaround for a Java bug
...
This was committed to fix bug 568263, but it is not correct, as
pointed out in 601611.
2009-11-28 10:29:35 -05:00
Nils-Christoph Fiedler
be86bc5c32
Updated Low German translation
2009-11-28 13:37:49 +01:00
Nils-Christoph Fiedler
dc98b24561
Updated Low German translation
2009-11-28 13:36:06 +01:00
Nils-Christoph Fiedler
d5395027e5
Updated Low German translation
2009-11-28 13:30:13 +01:00
Jorge González
cbf6c1b572
Updated Spanish translation
2009-11-28 10:53:59 +01:00
Matthias Clasen
53218f5c82
Improve docs of two style properties
...
See discussion in bug 561334. Based on a patch by Paul Bolle.
2009-11-28 02:17:40 -05:00
Matthias Clasen
84254039f2
Handle reparenting out of a socket
...
Although it isnt' allowed by the XEMBED protocol, its possible
that the plug window will be reparented out of the socket without
the socket having done so. See bug 123569. Patch by David Jander.
2009-11-27 23:49:04 -05:00
Javier Jardón
2040547d96
Move documentation to inline comments: GtkStock
...
https://bugzilla.gnome.org/show_bug.cgi?id=597865
2009-11-28 03:05:09 +01:00
Matthias Clasen
869ee7f232
Allocate a large-enough and mask
...
We came up short when the image width is not a multiple of 8.
Bug 585383, fix by Felix Riemann.
2009-11-27 20:59:42 -05:00
Matthias Clasen
36ca3fd5e9
Add a missing include
...
memset() is used in gdk/x11/gdkinput-xfree.c but string.h is not included.
Patch by Vincent Untz, bug 597026.
2009-11-27 20:59:42 -05:00
Javier Jardón
0ef8f52567
Move documentation from templates to inline comments: GtkWidget
...
https://bugzilla.gnome.org/show_bug.cgi?id=597865
2009-11-28 02:59:06 +01:00
Matthias Clasen
43a07af9b1
Be a bit more forgiving about invalid monitor number
...
By moving the g_return_if_fail() checks into individual monitor functions.
See bug 561130.
2009-11-27 18:39:15 -05:00
Matthias Clasen
5bfab2b9d4
Short-circuit get_frame_extents for override-redirect windows
...
There's no reason to do our expensive round-trips for an override-redirect
window; just use local information. See bug 581145. Patch by Owen Taylor.
2009-11-27 18:19:20 -05:00
Christian Persch
7abd4d1359
Implement gail_image_get_image_size for storage GICON and ICON_NAME
...
Bug #602724 .
2009-11-27 19:17:23 +01:00
Christian Persch
65485cbc7c
Add UI manager attribute to always show image in menu items
...
Add always-show-image="true|false" attribute to <menuitem> element in UI
manager markup. If present, it overrides the always-show-image property
on image menu items. Bug #589842 .
2009-11-27 19:14:43 +01:00
Christian Persch
e571273d81
Add gtk_action_[sg]et_always_show_image()
...
Add a way to tell a GtkAction to have its menu item proxies always show
their image. Bug #589842 .
2009-11-27 19:14:35 +01:00
Michael Natterer
1e476186cb
Add missing single-include guards
2009-11-27 15:58:13 +01:00
Kristian Rietveld
2ef9b989bf
Bug 596473 - Second double-click of GtkTreeView row doesn't emit...
...
Rework double click handling in GtkTreeView. We cannot blindly use
the 2BUTTON_PRESS and 3BUTTON_PRESS events. In case a user does two
fast double clicks, we receive a 3BUTTON_PRESS and BUTTON_PRESS. We
cannot easily deduce two double clicks from this.
We have removed the bookkeeping using row references of the last paths
clicked. Instead we monitor event time, (x, y) coordinates and compare
against double-click-time and double-click-distance ourselves.
2009-11-27 13:48:16 +01:00
Kristian Rietveld
dd511e825a
Bug 480065 - wrong tree collapsed (or expanded) after having scrolled
...
Store (x, y) of last motion event. From
gtk_tree_view_adjustment_changed(), call prelight_or_select() so that
the prelight is recalculated. We do the same from
gtk_tree_view_size_allocate() for the case that clicking on an expander
shows new rows that resize the column(s) left of the expander. This
means that the expander is moved horizontally, in such a case the
prelight also has to be reconsidered.
2009-11-27 13:48:16 +01:00
Kristian Rietveld
d3592dc22c
Logically re-group fields in GtkTreePrivate structure
...
This should now cause much less of a headache than before. Fields have
been properly reordered, each group has been given a comment. Since the
GtkTreePrivate structure is private (as the name says), this should not
have any effect on ABI.
2009-11-27 13:48:16 +01:00
Matej Urbančič
2b810d1a22
Updated Slovenian translation
2009-11-27 13:38:19 +01:00
Matthias Clasen
4df3377446
Updates
2009-11-27 02:11:08 -05:00
Matthias Clasen
0567ea1c18
Add customary args to gtk_style_paint_spinner()
...
...and adjust all callers.
2009-11-27 01:23:55 -05:00
Matthias Clasen
c1dfd2f2f5
Remove duplicate entries
2009-11-27 00:47:03 -05:00
Matthias Clasen
14fb7dfb7e
Fix a doc comment
2009-11-27 00:46:18 -05:00
Matthias Clasen
111dd859ba
Fix a doc comment
2009-11-27 00:45:22 -05:00
Matthias Clasen
6255df0982
Fix a doc comment
2009-11-27 00:43:51 -05:00
Matthias Clasen
927aaa43f9
Remove duplicate doc comments.
...
These can only serve to confuse gtk-doc.
2009-11-27 00:42:54 -05:00
Matthias Clasen
3faf7d0214
Fix a doc comment
2009-11-27 00:39:26 -05:00
Matthias Clasen
7ad6bb3eb6
Un-doc-commentify a comment
2009-11-27 00:37:20 -05:00
Matthias Clasen
13d5d37bc7
Fix a doc comment
2009-11-27 00:37:03 -05:00
Matthias Clasen
104ee307c2
Update debug flag information
2009-11-27 00:32:14 -05:00
Matthias Clasen
1f8d468123
Adjust default value for GtkToolItemGroup::label
2009-11-27 00:14:37 -05:00
Matthias Clasen
4362400018
Exclude GtkToolItemGroup::label-widget from default value test
2009-11-27 00:11:59 -05:00
Matthias Clasen
37255486d4
Merge branch 'master' into toolpalette
2009-11-26 23:54:55 -05:00
Matthias Clasen
837775af7b
Fix up docs, and set up the aliasing machinery
2009-11-26 23:52:20 -05:00
Matthias Clasen
7f9b55710a
Some cleanups for the toolpalette demo
2009-11-26 19:41:38 -05:00
Matthias Clasen
7aa1d6fcaf
Fix another doc typo
2009-11-26 18:56:25 -05:00
Nishibori Kiyotaka
9f1399e018
Updated Japanese translation
2009-11-26 23:13:38 +09:00
Matthias Clasen
044f168507
Set scale_num only once
...
This modifies the previous commit to be according the upstream libjpeg
maintainers recommendations. See bug 588740.
2009-11-25 23:39:31 -05:00
Matthias Clasen
b72c2143b0
Remove misleading text about invisible text
...
Invisible text has been working reasonably well since 2.8.
2009-11-25 17:33:41 -05:00
Nils-Christoph Fiedler
85cb4e7a9c
Updated LowGerman translation
2009-11-25 18:08:10 +01:00
Matthias Clasen
d4b92737ab
Make level3 keys work again
...
We were not paying attention to consumed modifiers when adding
virtual modifiers. This fixes RH bug 537567.
2009-11-25 01:02:40 -05:00
Christian Persch
ba218a7789
Make setting the icon-size property on GTK_IMAGE_GICON images work
...
Bug #602725 .
2009-11-23 17:03:55 +01:00
Ivar Smolin
f0923341bb
Updating Estonian translation
2009-11-22 12:20:41 +02:00
Johannes Schmid
bffd43bd8f
toolpalette: Don't call gdk_window_process_updates() in the animation callback
...
That does not seem to make any difference.
2009-11-18 10:38:45 +01:00
Johannes Schmid
3cc1478a29
toolpalette: Added dnd code to the gtk-demo
2009-11-18 10:32:37 +01:00
Matt Arsenault
ad2f04119f
Fix missing documentation for GdkPixbufSimpleAnim.
...
It wasn't clear it was a GObject.
2009-11-15 13:11:22 -05:00
Mario Blättermann
81101c2271
Added dummy Low German translation
2009-11-15 17:58:59 +01:00
Nils-Christoph Fiedler
5cef58cfc3
Added Low German translation
2009-11-15 17:55:27 +01:00
Kristian Rietveld
cffddd2adc
Document how Cocoa coordinate and monitor layout transforms to GDK work
2009-11-15 15:29:45 +01:00
Alberto Garcia
087348a55d
Bug 601512 - Remove unnecessary check in GtkTreeModelFilter
...
gtk_tree_model_filter_set_visible_func() is checking for
priv->visible_func, but that is always going to be NULL since there's
no way to call this function twice.
Besides that the code itself is wrong, since it tries to call
priv->visible_destroy without making sure that it's not NULL
2009-11-15 13:42:36 +01:00
Tor Lillqvist
7fda8e6378
Awful hack for problem in dnd of images from Firefox on Windows
...
Bypassed with #if 0 because it is an awful hack and not really
acceptable from a privacy point of view for instance. It prevents
Firefox from deleting temporary files containing images being dragged,
so they stay on disk. Bug #561973 .
2009-11-15 00:37:17 +02:00
Antón Méixome
ccf97385a7
Updated Galician Translation
2009-11-13 11:27:54 +01:00
Li Yuan
c10231f3e0
Require atk 1.29.2 for bug #569430 .
2009-11-13 12:28:03 +08:00
Christian Dywan
0bc6680564
Implement gtk_statusbar_get_message_area and "message_area" child
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=594535
2009-11-12 18:57:37 +01:00
Kjartan Maraas
d03b53800e
Fix typo
2009-11-11 21:39:32 +01:00
Kjartan Maraas
385c266a0f
Updated Norwegian bokmål translation.
2009-11-11 21:39:32 +01:00
Christian Dywan
00d87c2563
[gtk/gtkwindow] Added accessor for GTK_WINDOW ()->type
...
There already is the "type" property, but an accessor
function for it would be intuitive: gtk_window_get_window_type()
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=595498
2009-11-11 20:07:39 +01:00
Javier Jardón
ecc3065f76
Only use gdk_input_select_events() if XINPUT_NONE is defined
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=601337
2009-11-11 17:42:20 +01:00
Marek Kasik
c32c2882b2
Rotate figures on landscape icons in page setup dialog
...
Rotate figures on landscape and reverse landscape icons
to match output of print (#599402 ).
2009-11-11 14:21:11 +01:00
Johannes Schmid
ffce5223fc
toolpalette: Fixed inconsistent spacing
2009-11-11 10:02:36 +01:00
Johannes Schmid
0e2a5509f6
toolpalette: fixed trailing whitespaces
2009-11-11 09:42:49 +01:00
Johannes Schmid
0886416f26
toolpalette: Fixed documentation
2009-11-11 09:38:32 +01:00
Johannes Schmid
fe216c9367
toolpalette: allow to reset same adjustment
2009-11-11 09:33:49 +01:00
Johannes Schmid
3b2ae9dc3e
toolpalettte: Fixed some style issues
2009-11-11 09:32:15 +01:00
Johannes Schmid
e8b640104e
toolpalette: Always show text horizontally
2009-11-11 09:27:00 +01:00
Javier Jardón
c366d5c89e
Fix incorrect GtkMovementStep description
...
Reported by James Campos here:
https://bugzilla.gnome.org/show_bug.cgi?id=601432
2009-11-10 20:42:13 +01:00
Javier Jardón
e8e82802a4
Fix compilation warning: Use GDK_GPOINTER_TO_NATIVE_WINDOW() macro
2009-11-10 20:26:59 +01:00
Javier Jardón
cd2ff792ca
[gdk] Added GDK_GPOINTER_TO_NATIVE_WINDOW() macro
...
GdkNativeWindow cast is needed in 64-bit Windows so gpointer data
is converted to a (64-bit) native window handle.
GPOINTER_TO_UINT() is used in other platforms.
2009-11-10 20:15:37 +01:00
Tor Lillqvist
0e87c90539
Revert "Fix compilation warning: Use G_POINTER_TO_UINT"
...
GPOINTER_TO_UINT() *does* drop the upper 32 bits on 64-bit
Windows. After all, it by definition produces a (32-bit) unsigned int.
The GLib commit mentioned in the reverted commit's log message just
means that it does this without any compiler warning about casting
from pointer to integer of smaller size, as it first casts to a 64-bit
integer, then casts that to a (32-bit) int.
We must use the GdkNativeWindow cast here so that on 64-bit Windows
the gpointer data in embedded_list is converted to a (64-bit) native
window handle without going through 32-bit truncation. If ifdefs are
required to avoid compiler warnings on X11, so be it then. Probably it
would be best to introduce a GDK_GPOINTER_TO_NATIVE_WINDOW() macro in
gdktypes.h.
This reverts commit 78151dc7d4 .
2009-11-10 16:17:33 +02:00
Javier Jardón
cb301e6dbb
Fix compilation warning: Use a variable to store the return value
2009-11-09 22:39:54 +01:00
Johannes Schmid
1de2a55eaf
Ported gtktoolpalette from a custom array to GPtrArray.
...
...and some mixed fixes of things mentioned in the bug report
2009-11-09 22:16:15 +01:00
Javier Jardón
21f6e1841a
Fix compilation warning: Use G_GNUC_UNUSED macro
...
add_builtin_module() is only used into #define block of code
2009-11-09 21:49:47 +01:00
Javier Jardón
78151dc7d4
Fix compilation warning: Use G_POINTER_TO_UINT
...
GPOINTER_TO_UINT() doesn't drops the upper 32 bits on Win64 anymore.
The Glib commit e4194cb055e44f8a1bd2ab666ead9fa040bcdb89 solved this
problem.
2009-11-09 21:18:22 +01:00
Javier Jardón
3143a344a7
Fix compilation warning: Disable unused function
...
Use #if 0 to disable unused gtk_text_btree_node_invalidate_downward()
2009-11-09 20:56:54 +01:00
Christian Dywan
148ffd2cc9
Clarify documentation of gtk_notebook_set_action_widget
2009-11-09 16:36:17 +01:00
Javier Jardón
f1f6d76078
Fix some compilation warnings
...
Use the proper G*_TO_POINTER macro
2009-11-09 10:27:30 +01:00
Javier Jardón
1919f55647
Fix compilation warning: initialize variable to NO_MATCH
2009-11-09 09:41:51 +01:00
Javier Jardón
20f123531a
Fix compilation warning
...
Use GINT_TO_POINTER() and GPOINTER_TO_INT()
2009-11-09 09:36:49 +01:00
Javier Jardón
8831a44902
Fix warning: Use parentheses around '&&' within '||'
2009-11-09 09:36:41 +01:00
Javier Jardón
d8f5ce4b54
Fix compilation warning: Use const gchar* variable
2009-11-09 09:36:36 +01:00
Javier Jardón
ef414cc6bf
Fix compilation warning: Cast to gchar*
2009-11-09 09:36:31 +01:00
Javier Jardón
c7a5ddf8a7
Disable test until it is rewritten to work
2009-11-09 09:36:23 +01:00
Javier Jardón
e70a46c7e3
Fix compilation warning: initialize the variable
2009-11-09 09:36:15 +01:00
Javier Jardón
73cfcf9495
Fix compilation warning: Cast to guchar*
2009-11-09 09:34:23 +01:00
Matthias Clasen
c605474fa9
Add GtkBuilder support for notebook action area.
...
Allow to place children into the notebooks action areas by using
"action-start" or "action-end" as the type.
2009-11-08 21:34:29 -05:00
Matthias Clasen
c7e4a1a012
Add an 'action area' to GtkNotebook
...
Add support for putting widgets in the tab area, before or after
the tabs. This was requested a long time ago in bug 116650. The
implementation is the work of Johannes Schmid.
2009-11-08 21:28:17 -05:00
Daniel Nylander
38f7383c7a
Updated Swedish translation
2009-11-08 22:09:50 +01:00
Robin Stocker
26e2c7f398
Example for setting default action in gtk_drag_dest_set
2009-11-08 01:35:42 +01:00
Paul Pogonyshev
bb036097c3
Trivial typo fix.
2009-11-08 01:10:45 +02:00
Thomas Thurman
812c97012e
Shavian translation
2009-11-07 15:49:44 +00:00
Jorge González
51534bd666
Updated Spanish translation
2009-11-07 12:45:52 +01:00
A S Alam
42b6d0a02d
Change Latin Number to Gurmukhi for Step up the use of Punjabi (Gurmukhi)
2009-11-07 16:08:34 +05:30
Johannes Schmid
02a9d9afd8
Remove G_GNUC_UNUSED
2009-11-07 10:56:59 +01:00
Javier Jardón
78acc785db
Fix a typo
...
This was introduced in commit 72b69e0094
Reported by BugByteMan here:
http://mail.gnome.org/archives/gtk-devel-list/2009-November/msg00014.html
2009-11-07 02:18:05 +01:00
Jorge González
f733568f1f
Updated Spanish translation
2009-11-06 21:52:01 +01:00
Matej Urbančič
d823957ee6
Updated Slovenian translation
2009-11-06 14:50:26 +01:00
Matej Urbančič
bcd8b4b2b8
Updated Slovenian translation
2009-11-06 14:49:58 +01:00
Joanmarie Diggs
a196cb9400
Add RELATION_NODE_PARENT_OF relationship for treeview.
...
Bug 569430.
2009-11-06 16:17:23 +08:00
Nirbheek Chauhan
aaa126d39f
[configure] Add check for cairo-svg.h for file print backend
...
Closes https://bugzilla.gnome.org/show_bug.cgi?id=600222
2009-11-06 05:47:15 +01:00
Javier Jardón
7d1c8fa644
[gdk/x11/gdkdnd-x11] Add missing "Deprecated: 2.x" to the api doc comments.
2009-11-06 03:41:02 +01:00
Javier Jardón
0d55c6ede1
[gdk/gdkimage] Add missing "Deprecated: 2.x" to the api doc comments.
2009-11-06 03:37:56 +01:00
Javier Jardón
7bc07ffe86
[gdk/gdkgc] Add missing "Deprecated: 2.x" to the api doc comments.
2009-11-06 03:30:31 +01:00
Javier Jardón
925fa99393
[gdk/gdkdraw] Add missing "Deprecated: 2.x" to the api doc comments.
2009-11-06 03:26:27 +01:00
Javier Jardón
64d054264e
[gdk/gdkcolors] Add missing "Deprecated: 2.x" to the api doc comments.
2009-11-06 03:16:34 +01:00
Javier Jardón
8082aad271
Use "Deprecated:" gtk-doc symbol corrently
...
Also, added some suggestion about replacements for deprecated functions
2009-11-06 03:03:40 +01:00
Nicola Fontana
1e1131c959
Do not use static GTypeInfo and GInterfaceInfo
...
Either g_type_register_static_simple (used by G_DEFINE_TYPE_EXTENDED)
and G_IMPLEMENT_INTERFACE use automatic variables for GTypeInfo and
GInterfaceInfo structs, while tutorials and source code often use
static variables. This commit consistently adopts the former method.
https://bugzilla.gnome.org/show_bug.cgi?id=600158
2009-11-06 01:21:09 +01:00
Christian Dywan
e41f4e85cf
Improve accessibility context and description of the spinner
...
https://bugzilla.gnome.org/show_bug.cgi?id=598758
2009-11-06 00:56:30 +01:00
Bruce Cowan
2f9bd297bb
Fix tooltips in GtkColorSelection
...
Tooltips made reference to palette, even though it may not have been
visible. Bug #600150 .
2009-11-05 23:22:32 +00:00
Matthias Clasen
f4990f6c9d
Fix loading scaled-down jpegs
...
The assumption that scale_num will be automatically be 1 is no longer
with libjpeg7. So set it explicitly. Bug #588740 .
2009-11-05 10:29:34 -05:00
Alexander Larsson
9e51c10edc
Don't unnecessarily clear windows with no exposure mask set
...
When we just invalidate some area from the app we don't need to clear
windows with no exposure mask, because that wouldn't have happened pre-csw
anyway. Additionally we can avoid such clearing for native windows in cases
where the xserver already did the clearing like on exposes or when resizing
toplevels.
This means we don't fully redraw a GtkSocket when it resizes, thus
avoiding flicker in gnome-mplayer as reported in this bug:
https://bugzilla.gnome.org/show_bug.cgi?id=598050
2009-11-05 12:52:12 +01:00
Alexander Larsson
9ae0d9a44f
Document clears_as_native and make the name more descriptive
2009-11-05 12:52:12 +01:00
Alexander Larsson
39993f147f
Add supports_native_bg to GdkWindowImpl
...
Backends that support native window background setting (and that clears
new window areas to this color/pixmap) should set this to true.
Currently only X11 supports this.
2009-11-05 12:52:12 +01:00
Alexander Larsson
4cd5c98942
Don't unnecessarily expose areas copied by native windowing system
...
When moving or scrolling a window with native children, there is no
need to expose the areas that are copied by the windowing system
as part of moving/resizing the native windows anyway.
2009-11-05 12:52:12 +01:00
Alexander Larsson
a299797883
Only send exposes on unmap if window really was unmapped
...
Exposing when you hide a hidden window is just a waste of time.
2009-11-05 12:52:12 +01:00
Alexander Larsson
8c1ea38d84
Flush outstanding stuff when clearing directly on a window
...
Clearing will directly modify the contents of the window, so we need
to flush any outstanding moves or double-buffering.
2009-11-05 12:52:11 +01:00
Paolo Bonzini
72b69e0094
Don't run system("touch conf.gtktest") in the AM_PATH_GTK_2_0 macro
...
Just use the C library instead to create the file. Helps building
using Wine. Not that I think we want to endorse that way to build GTK+
for Windows, proper cross-compiling surely probably more sense, but
accepting this minimal patch doesn't hurt. From bug #590017 .
Signed-off-by: Tor Lillqvist <tml@iki.fi >
2009-11-03 18:50:55 +02:00
Javier Jardón
8dfac859a1
Fix some compilation warnings
...
Cast to guint8* and use guint instead int in some variables
2009-11-03 00:04:49 +01:00
Javier Jardón
1a02671437
Fix compilation warning: Use gpointer variables
2009-11-02 23:49:00 +01:00
Benjamin Otte
ba9f53397f
Don't keep the filesystem model alive while querying files
...
This allows disposing of the filesystemmodel while the file enumeration
is still happening.
As the filechooser does not disconnect its signals because it assumes it
is the only owner of the model, this also prevents a SEGV when emitting
the "load-finished" signal in that case.
2009-11-02 20:11:09 +01:00
Benjamin Otte
8632d8763d
Simplify cleanup code
...
The patch ensures that the file browse model can only get removed in one
place, so it's easier to clean up.
2009-11-02 20:11:03 +01:00
Matthias Clasen
1dbb6ebcfc
Bump version
2009-11-01 19:37:53 -05:00
Matthias Clasen
6f3a73cfb9
2.19.0
2009-11-01 19:23:05 -05:00
Matthias Clasen
80de4ab0d9
Another property formatting fix
2009-11-01 18:53:51 -05:00
Matthias Clasen
0a9a1bec93
Work around a gtk-doc formatting problem
2009-11-01 16:41:48 -05:00
Matthias Clasen
097b254e4b
Documentation and stylistic fixups
2009-11-01 16:12:43 -05:00
Matthias Clasen
ff2dbc5040
Remove en@shaw from LINGUAS
...
It breaks the build because there is no po-properties/en@shaw.po .
Please add that file before adding it back, thanks.
2009-11-01 15:45:09 -05:00
Matthias Clasen
3e599b651a
Updates
2009-11-01 15:40:02 -05:00
Thomas Thurman
97b7cdda17
Shavian translation fix
2009-10-31 22:20:09 -04:00
Thomas Thurman
e73974f2ee
Shavian translation
2009-10-31 21:52:18 -04:00
Khaled Hosny
5df0609641
Updated Arabic translation
2009-10-30 21:38:21 +02:00
Javier Jardón
141a7dac00
Fix warning: Initialize to TRUE the returned variable
...
Also, fixing some indentation problems
2009-10-30 19:24:08 +01:00
Javier Jardón
550796d897
Fix some compilation warnings
...
Use proper gint8 array variable instead a string
2009-10-30 18:36:03 +01:00
Javier Jardón
8763551b6b
Fix warning: cast to gint*
2009-10-30 18:34:35 +01:00
Javier Jardón
3dbfc08a7a
Fix some compilation warnings
...
Fixed the prototypes of MyEnhancedXkbTranslateKeyCode() and
translate_keysym() to take a gint* because those functions treat
these arguments as an int, so we get around the need to cast.
2009-10-30 18:33:16 +01:00
Javier Jardón
3388a1b146
Use "Since: 2.x" instead "Since 2.x"
2009-10-30 18:11:44 +01:00
Javier Jardón
0a9843c1b9
Fix warning: some casts to gchar*
2009-10-30 04:27:32 +01:00
Javier Jardón
07236ee745
Remove statement with no effect
2009-10-30 04:19:10 +01:00
Javier Jardón
cbba733b47
Fix warning: cast to gchar*
2009-10-30 04:17:29 +01:00
Javier Jardón
d76287c94b
Fix warning: cast to gchar*
2009-10-30 04:04:28 +01:00
Matthias Clasen
0f78a6c89a
Allow setting type hints on unmapped windows
...
We set the hint on map, so it makes sense to check for GTK_WIDGET_MAPPED,
not GTK_WIDGET_VISIBLE as the code currently does.
2009-10-28 12:13:58 -04:00
Johannes Schmid
ed41fa8b50
Fixed GtkToolPalette API docs to mention 2.20 instead of 2.18
2009-10-28 13:17:13 +01:00
Johannes Schmid
e83013c066
Fix custom label handling in gtktoolitemgroup
2009-10-28 13:11:37 +01:00
Johannes Schmid
c229306a18
Merge branch 'master' into toolpalette
2009-10-28 10:57:46 +01:00
Yevgen Muntyan
4ff709c24b
Use standard mac shortcuts: add gtk/gtkrc.key.mac
...
This completes commit 3c510f028f
https://bugzilla.gnome.org/show_bug.cgi?id=530351
2009-10-28 00:54:28 +01:00
Christian Dywan
da8dde446d
Deprecate functions according to deprecated GtkButton signals
...
https://bugzilla.gnome.org/show_bug.cgi?id=599218
2009-10-27 22:42:25 +01:00
Christian Dywan
6271cb9672
Don't use deprecated button signal functions in clist and combo
2009-10-27 22:42:24 +01:00
Christian Dywan
87c0397edc
Don't use deprecated button signal functions in Gail
2009-10-27 22:42:24 +01:00
Jorge González
b2e629f044
Updated Spanish translation
2009-10-27 21:40:12 +01:00
Christian Dywan
4f0b0d0775
Don't use structure fields of GtkAccelMap in GtkSocket
...
https://bugzilla.gnome.org/show_bug.cgi?id=599403
2009-10-27 21:27:28 +01:00
Christian Dywan
f4d5ed5397
Allow removing all closures with gtk_accel_group_disconnect
...
https://bugzilla.gnome.org/show_bug.cgi?id=599403
2009-10-27 21:25:56 +01:00
Marek Kasik
33ec0ecf05
Don't assign a GtkPageOrientation to a boolean value
...
GtkPrintOperationPrivate->orientation is a boolean value.
2009-10-27 17:35:37 +01:00
Marek Kasik
50e784c405
Rotate number-up layout according to orientation when printing
...
Number-up layout has to be rotated differently since rotation in
"landscape" and "reversed landscape" mode was changed.
2009-10-27 16:53:43 +01:00
Adrian Johnson
9f2c5e3b3a
Take printer margins into account on Windows
...
Fixes bug #381371 .
2009-10-27 12:30:50 +02:00
Christian Dywan
57af1cdb8c
Only set the accesible label if it is non-empty
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=599446
2009-10-27 00:34:49 +01:00
Javier Jardón
d0f2cd73b0
Use G_STRLOC instead __FILE__ and __LINE__
2009-10-27 00:21:51 +01:00
Nick Schermer
92a68f4cf9
gtk_init_with_args() arguments should be const gchar*
...
The translation_domain argument should be const gchar * to allow compilation
with -Wwrite-strings. It only passes the argument to
g_option_context_add_main_entries() which is already const gchar*.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=583305
2009-10-26 22:29:33 +01:00
Dumitru Mișu Moldovan
aaa45996d9
Updated Romanian translation
2009-10-26 22:54:59 +02:00
Javier Jardón
12061507b4
Use G_STRFUNC and G_STRLOC instead __FUNCTION__ and __FILE__
2009-10-26 18:46:19 +01:00
Javier Jardón
42aebf51a2
Use G_STRFUNC instead __FUNCTION__
2009-10-26 18:46:14 +01:00
Javier Jardón
c368c6e425
Use G_STRLOC instead __LINE__
2009-10-26 18:19:48 +01:00
Javier Jardón
a667ee8e5e
Use G_STRFUNC instead __FUNCTION__
2009-10-26 18:17:23 +01:00
Marek Kasik
6b5912a213
Show correct print preview
...
Modify print preview according to settings from print dialog.
Similar approach as during real print is applied to the preview
process (#592582 ).
2009-10-26 17:47:37 +01:00
Javier Jardón
567b23229f
Cast to gchar* to fix a compilation warning
2009-10-26 15:14:46 +01:00
Kristian Rietveld
a338c7e929
Update copyright
2009-10-26 09:57:11 +01:00
Kristian Rietveld
fa8fa48ef1
Update position of toplevels after display reconfiguration
...
We have to do this, especially after the screen containing the menubar
has changed. Such more larger changes in monitor geometry will cause
changes to how monitors are laid out in the root window. The position
coordinates of the windows will have to be updated to reflect their
position in the new layout.
2009-10-26 09:52:54 +01:00
Kristian Rietveld
a4d932cc64
Fixup get_nsscreen_for_x()
2009-10-26 09:52:54 +01:00
Kristian Rietveld
221883dd31
Remove unused variable (fix compiler warning)
2009-10-26 09:52:54 +01:00
Kristian Rietveld
93530675de
Update size of root window after display reconfiguration
2009-10-26 09:52:54 +01:00
Kristian Rietveld
959a9437e6
Support arbitrary screen layouts
...
The Quartz port now supports arbitrary multiple monitor layouts instead
of only monitors are were laid out horizontally. This builds on the
reworked coordinate translation done in a previous commit.
2009-10-26 09:52:54 +01:00
Kristian Rietveld
8846012c6d
Rework coordinate transformation to be based on root window
...
The root window contains all the monitors attached to a Mac. The
coordinate transformation now both translates the x and y coordinate,
translating it from the Cocoa monitor coordinate space to the GDK
coordinate space. How monitors are laid out in the root window differs
between Cocoa and GDK, which is why it is important to translate based
on the root window to get multi monitor setups to work properly.
We have replaced the old y coordinate transformation function with
new functions that translate both the x and y coordinate.
When creating new toplevels, we have to determine the Cocoa screen on
which the toplevel should appear and translate the coordinates according
to that screen.
This change also fixes event handling in case there is a monitor left
of the screen containing the menu bar. In such a case all coordinates
on the left monitor are negative. Event handling broke, because of
_gdk_quartz_window_find_child() checking bounds. Now that coordinates
are always properly translated to GDK coordinate space, in which negative
coordinates do never occur, the checks here will work properly.
2009-10-26 09:52:54 +01:00
Kristian Rietveld
d26dd103b2
Be consistent with X11: emit monitors-changed first, then size-changed
2009-10-26 09:52:53 +01:00
Kristian Rietveld
aa25e4a51c
Update documentation for ::monitors-changed to mention OS X support
2009-10-26 09:52:53 +01:00
Kristian Rietveld
e36872da38
Use screen when emitting signal, not _gdk_screen
2009-10-26 09:52:53 +01:00
Kristian Rietveld
63e2f54516
Emit monitors-changed signal when appropriate
2009-10-26 09:52:53 +01:00
Kristian Rietveld
12dc617dc2
Move screen resolution setup to GdkScreenQuartz initializer
2009-10-26 09:52:53 +01:00
Kristian Rietveld
d47772f002
Create a proper subclass of GdkScreen: GdkScreenQuartz
2009-10-26 09:52:52 +01:00
Kristian Rietveld
73b55ae8f5
Register and handle a display reconfiguration callback
...
Using this we can update our internal monitor/screen layout state
and emit the GdkScreen::size-changed signal. Work has not
completely finished on this yet, see bug 596238.
2009-10-26 09:52:52 +01:00
Kristian Rietveld
ce3c861c2a
Setup monitor rects during screen initialization and re-use data
2009-10-26 09:52:52 +01:00
Kristian Rietveld
ca20b04b58
Move screen initialization to gdkscreen-quartz.c
2009-10-26 09:52:52 +01:00
Matthias Clasen
d3e6cffff7
Fix issues with symbolic colors in rc file parsing
...
Don't recreate the settings color hash every time, repopulate it
instead. This avoids invalidating the references held by RcContexts.
2009-10-25 23:47:59 -04:00
Matthias Clasen
16482f20db
Fixes for the compose-parse.py script
...
Several fixes by Ray Strode and Peter Hutterer to make compose-parse.py
work with the current X.org Compose file.
2009-10-25 23:46:27 -04:00
Matthias Clasen
4c26d99d3e
Update compose sequences
...
This patch includes additions to the X.org Compose file from the
last year. Patch by Peter Hutterer
2009-10-25 23:42:58 -04:00
Kevin Peng
4b22b461b6
GdkPixbuf loader for QTIF format
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=366217
2009-10-26 00:08:08 +01:00
Yevgen Muntyan
3c510f028f
Use standard mac shortcuts
...
This changes Ctrl-X, Ctrl-C, etc. to Cmd-X, Cmd-C, etc. Also,
Alt-Left and Alt-Right in text widgets bound to Ctrl-Left and
Ctrl-Right actions
https://bugzilla.gnome.org/show_bug.cgi?id=530351
2009-10-26 00:03:05 +01:00
Javier Jardón
e21355495a
Cast to gchar* to fix a compilation warning
2009-10-25 22:14:12 +01:00
Michael Emmel
04d7d81056
Fix for position bug
...
https://bugzilla.gnome.org/show_bug.cgi?id=590800
2009-10-24 17:20:50 +02:00
Matthew Barnes
13d968adbe
Bug 581150 - GtkIconView tries to paint items with invalid sizes
...
Run gtk_icon_view_layout() if necessary before attempting to paint the
icon view items during an expose event. This ensures all the items have
valid sizes, as some themes don't take kindly to negative dimensions.
2009-10-23 19:32:25 -04:00
Kristian Rietveld
42ac226877
Bug 598881 - Unimplemented GdkWindowImplIface methods crash gimp on OSX
...
Add dummy for _gdk_input_window_crossing (). Set both input_window_destroy
and input_window_crossing pointers in the Impl struct.
Reported by John Ralls.
2009-10-23 13:53:57 +02:00
Tor Lillqvist
861c34b01e
Use correct type text/uri-list for the dropped files selection
...
Fixes bug #599321 .
2009-10-23 13:40:27 +03:00
Javier Jardón
8e945e0e3f
Cast to gchar* to fix a compilation warning
2009-10-22 00:10:50 +02:00
Javier Jardón
852d4f49cd
Cast to fix compilation warning
2009-10-22 00:03:44 +02:00
Luca Ferretti
af6f5c1349
Add translators comments for tab labels (closes 599118)
2009-10-21 22:06:31 +02:00
Luca Ferretti
d3dbd54076
Minor fixes
2009-10-21 21:47:06 +02:00
Javier Jardon
98ea183c13
Use G_STRLOC instead __FILE__ and __LINE__
...
Patch from bug #599225
2009-10-21 21:48:00 +03:00
Michael Natterer
34b4b4d9c3
Add single-include guard and reduce includes to what's needed
2009-10-21 20:21:20 +02:00
Michael Natterer
8c34831e42
Don't allow to include this new header individually
2009-10-21 20:20:54 +02:00
Javier Jardón
c43a3acac3
Fix a compilation warning: use NULL instead ""
2009-10-21 19:41:50 +02:00
Javier Jardón
d020cb4aa3
Remove unused function
2009-10-21 19:39:46 +02:00
Javier Jardón
d5f1b79fab
Fix compilation warnings: use G_GSIZE_FORMAT instead %i
2009-10-21 19:38:20 +02:00
Federico Mena Quintero
48f1b89eae
bgo#563010 - Fix clearing the selection in GtkFileChooserButton
...
Previously the filename would get re-set on the button if one cleared the selection,
as an async cancellable was not getting canceled in that case.
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-21 12:29:03 -05:00
Cody Russell
0f33ad4ee1
Added editing_canceled property to GtkCellEditable
...
GTK_ENTRY()->editing_canceled should really have been a parameter of the
GtkCellEditable::editing-done signal, it should be a property on the cell
editable interface
https://bugzilla.gnome.org/show_bug.cgi?id=594962
2009-10-21 18:55:24 +02:00
Christian Dywan
272e0b5b76
Deprecated GtkNotebook tab packing
...
https://bugzilla.gnome.org/show_bug.cgi?id=596083
2009-10-21 18:25:02 +02:00
Christian Dywan
7c6823373a
Deprecate GtkCurve and GtkGammaCurve
...
https://bugzilla.gnome.org/show_bug.cgi?id=556263
2009-10-21 18:17:32 +02:00
Christian Dywan
f5df4e05e2
Added accesor for GTK_VIEWPORT (widget)->bin_window
...
Although, you can use:
gtk_widget_get_parent_window (gtk_bin_get_child (GTK_BIN (widget)))
there already are gtk_tree_view_get_bin_window() and
gtk_layout_get_bin_window() in GTK+ api.
https://bugzilla.gnome.org/show_bug.cgi?id=594960
2009-10-21 18:14:31 +02:00
Javier Jardón
6f6746389c
Fix a compilation warning
...
Use switch instead if's to get a default value
2009-10-21 02:57:19 +02:00
Javier Jardón
69773763ee
Fix a compilation warning
...
Reorder the function so the "lookup_context" variable can't be
used uninitialized
2009-10-21 02:45:05 +02:00
Javier Jardón
13ff557587
Fix some compilation warning
...
Complete the previous patch: set lower to 0 too
2009-10-21 02:37:05 +02:00
Javier Jardón
670e141b3a
Fix some compilation warning
...
Added some default cases and assert if reached
2009-10-21 02:08:18 +02:00
Javier Jardón
8e70bc988b
Fix a compilation warning
...
Use parenthesis in a expression with "&" operator
2009-10-20 20:44:48 +02:00
Javier Jardón
33f53e1d04
Fix a compilation warning
...
Catch the returned value of write()
2009-10-20 20:43:44 +02:00
Javier Jardón
232fca6e95
Fix compilation warning
...
Use g_get_current_dir() instead getcwd()
2009-10-20 20:38:14 +02:00
Javier Jardón
d3155bb1ea
Remove some unnused variables
2009-10-20 20:37:46 +02:00
Marek Kasik
cf8c4a6a80
A small correction of previous commit
...
Correct of a typo.
2009-10-19 11:44:09 +02:00
Matthias Clasen
52ef2f2a3e
Correct a small oversight
...
When changing themes, we also need to update the box spacing of
tooltips.
2009-10-18 20:38:28 -04:00
Tor Lillqvist
ab13c00a38
Use correct size for root window with multiple monitors
...
The root window width and height have already been correctly
initialised in _gdk_root_window_size_init() to cover all monitors, so
don't incorrectly re-initialise using GetSystemMetrics(SM_C[XY]SCREEN)
which only gives the size of the primary monitor anyway. (See MSDN.)
This fixes at least gdk_screen_get_{width,height}() which indirectly
affects at least the positioning of combo box pop-up menus on multiple
monitors.
2009-10-18 14:35:17 +03:00
Tor Lillqvist
0698ddd421
Delete a couple of leftover commented-out lines
2009-10-18 14:19:55 +03:00
Tor Lillqvist
77590e9af7
Add missing newline to debugging output
2009-10-18 14:19:24 +03:00
Tor Lillqvist
be5c06d799
Delete unused leftover static function
2009-10-18 12:08:18 +03:00
Tor Lillqvist
f545bd270d
More meaningful debugging output in gdk_win32_window_get_root_coords
2009-10-18 12:06:29 +03:00
Tor Lillqvist
d8de422794
Remove unused variables and static functions
2009-10-18 11:51:57 +03:00
Tor Lillqvist
b92f882ec4
Correct function names in debugging output
2009-10-18 11:45:03 +03:00
Matthias Clasen
9f11bb0ff6
Don't omit GTK_ICON_SIZE_DIALOG
2009-10-18 02:07:58 -04:00
Matthias Clasen
1dbfcf484b
Fix a problem in GtkImage size allocation
...
When GtkMisc padding is set on an image, the optimization for only
recalculating size after a clear() breaks, since the requisition is
not (0, 0). We need a separate 'need_calc' flag.
2009-10-18 01:38:44 -04:00
Simos Xenitellis
2f796df1ea
Updated Greek translation
2009-10-17 17:30:28 +03:00
Jorge González
185ed29598
Updated Spanish translation
2009-10-17 13:45:01 +02:00
Christian Dywan
06603435a2
Undefine GTK_DISABLE_DEPRECATED in testinput to keep it compiling
2009-10-16 18:45:53 +02:00
Christian Dywan
8e6dbff2b0
Deprecate GtkInputDialog
...
Deprecate the widget and adjust the documentation.
https://bugzilla.gnome.org/show_bug.cgi?id=594903
2009-10-16 16:05:13 +02:00
Tor Lillqvist
6d62e4fafe
Fix build on Windows
2009-10-16 13:29:54 +03:00
Debarshi Ray
34f6b9518c
Use G_BEGIN/END_DECLS in gtkcellrendererspinner.h
2009-10-16 00:22:20 +03:00
Federico Mena Quintero
f0e2d7d88b
Fix thinkos in which fields get used
...
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:20 +02:00
Federico Mena Quintero
02d96465f4
Oops, it's gsize, not GSize
...
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:19 +02:00
Federico Mena Quintero
1d283145bf
Fix a g_strdup_printf()
...
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:19 +02:00
Federico Mena Quintero
c39e8af7f4
Put the list of column types in a macro
...
Every call to _gtk_file_system_model_new*() gets the same list of column types,
so we now keep the list in a macro instead of having duplicated copies all around.
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:19 +02:00
Federico Mena Quintero
4c242317b0
Clarify the arguments of g_file_query_info_async()
...
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:19 +02:00
Federico Mena Quintero
2f3367fbf8
Make copy_attribute() a function instead of a macro
...
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:19 +02:00
Federico Mena Quintero
442484a280
Don't leak a treepath if the treeview is not populated yet
...
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:18 +02:00
Federico Mena Quintero
35028b9f05
Factor out function to set a fixed size for the icon cell renderers
...
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:18 +02:00
Federico Mena Quintero
90647c1a13
Comment that the column order needs to be kept in sync across two functions
...
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:18 +02:00
Federico Mena Quintero
0144521438
Fix typo in a comment
...
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:18 +02:00
Federico Mena Quintero
6e3a6ba12f
Make get_selected_file() return a ref'ed file
...
The old semantics was to return a GFile* owned by the file system model; the new
semantics is to hand out new references whenever possible.
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:18 +02:00
Federico Mena Quintero
7e9fbd16e4
In set_filter(), handle the case where the new filter is the same as the old filter
...
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:17 +02:00
Federico Mena Quintero
fb1a72fcb0
s/get_is_visible/iter_is_visible for clarity
...
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:17 +02:00
Federico Mena Quintero
9efa64fba5
Remove obsolete comment
...
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:17 +02:00
Federico Mena Quintero
55a04b1da0
Make the code match the docs in _gtk_file_system_model_clear_cache()
...
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:17 +02:00
Federico Mena Quintero
112d2430be
Free some missing fields in ::finalize()
...
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:17 +02:00
Federico Mena Quintero
5ea265ca61
Clarify variable names in gtk_file_system_model_sort()
...
To comply with the i -> indexes; r -> rows convention.
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:17 +02:00
Federico Mena Quintero
7ecc87ed59
Nothing to do for ref/unref_node
...
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:17 +02:00
Federico Mena Quintero
8bf24cdd9d
Clarify a couple of spots with comments
...
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:16 +02:00
Federico Mena Quintero
14cc3e17f5
Clarify array indexes vs. row numbers
...
There was some confusion between "index" as used for the model->files[] array,
and node->index as used for our 1-based row numbers. Now we use "index" only
for indices in the model->files[] array, and node->row for row numbers. Functions
and variables are renamed to clarify whether they refer to indexes or rows.
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:16 +02:00
Federico Mena Quintero
d0468ee7e1
Big comment on how GtkFileSystemModel works
...
Let's have some documentation on the idea behind this beast...
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:16 +02:00
Federico Mena Quintero
04c78019fb
Remove obsolete code to use a cached mime-type
...
The non-standard "filechooser::mime-type" was a remnant of the recent-files code using
a hand-built GFileInfo; now we just query the file info ourselves.
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:16 +02:00
Federico Mena Quintero
6166fccf30
Fix thinko in node_should_be_visible()
...
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:16 +02:00
Federico Mena Quintero
908911d6db
Factory out functions to emit row_inserted, row_changed, row_deleted
...
This is to avoid temporary variables for the path/iter and to avoid duplicated code.
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:16 +02:00
Federico Mena Quintero
ad2e6ff52c
When updating a file, handle the case where the old file info is the same as the new one
...
This prevents us from inadvertently losing the last ref to the info.
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:16 +02:00
Federico Mena Quintero
688917cdbb
When removing a file, also remove it from the file_lookup hash table
...
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:15 +02:00
Federico Mena Quintero
385fa71ec0
Comment on how the file_lookup hash table gets rebuilt on demand
...
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:15 +02:00
Federico Mena Quintero
6820dee988
Clarify the arguments to g_file_query_info_async()
...
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:15 +02:00
Federico Mena Quintero
ccee7ef4fb
Show an error dialog when we can't read the folder's contents
...
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:15 +02:00
Federico Mena Quintero
3b86973075
Clarify the code flow in gtk_file_system_model_got_files()
...
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:15 +02:00
Federico Mena Quintero
3f7c144605
Remove the dir_thaw_source while disposing the model
...
Otherwise that timeout may trigger after the model has died.
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:15 +02:00
Federico Mena Quintero
30016185be
Make _gtk_file_system_model_remove_file() static
...
It was only used internally by the model.
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:14 +02:00
Federico Mena Quintero
2e0382cf02
Make _gtk_file_system_model_add_file() static
...
It was only used internally by the model, anyway.
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:14 +02:00
Federico Mena Quintero
93588c6d5c
Clarify the comments that some fields in GtkFileSystemModel can be NULL
...
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:14 +02:00
Federico Mena Quintero
88bb9342ab
Clarify the arguments to g_file_monitor_directory()
...
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:14 +02:00
Federico Mena Quintero
d2d997a021
Clarify an argument to g_file_enumerate_children_async()
...
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:14 +02:00
Federico Mena Quintero
d5d9601852
Fix and tighten an assertion
...
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:14 +02:00
Federico Mena Quintero
86c32c2502
Complete the documentation string for _gtk_file_system_model_new()
...
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:14 +02:00
Federico Mena Quintero
3232c469fc
Start with a file array with a resonable preallocated size
...
g_array_new() doesn't reserve any size by default, so during the initial population
of the file array, we'll do more reallocs than strictly needed. We'll start with
a reasonable preallocated size, in this case the number of files which we can
get in a single chunk out of GIO.
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:13 +02:00
Federico Mena Quintero
5110415684
Compute the node size only once to avoid the scary macro
...
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:13 +02:00
Federico Mena Quintero
dfe20ea1a8
g_error() as soon as we catch an invalid column type
...
There's no point in running a GtkFileSystemModel with invalid column types.
This way we can also avoid clearing the memory of the column_types array.
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2009-10-15 22:06:13 +02:00
Benjamin Otte
836c3ab043
Improve show_and_select_files() function
...
The previous function enumerated the whole directory and used a lot of
outdated API to decide how to show files.
The new code queries the filesystem model to decide about this.
The now unused old functions were removed.
2009-10-15 22:01:40 +02:00
Benjamin Otte
6bdaaea3a4
Remove unused error argument from show_and_select_files()
2009-10-15 22:01:40 +02:00
Benjamin Otte
682a3c8c75
Enable the size column in recent files/search
...
Previously information about file sizes was not available for search
results and recent files, so the column was always hidden. As this
information is now available, we can stop the special handling and use
the same setting as in browse mode.
2009-10-15 22:01:40 +02:00
Benjamin Otte
d68bca1771
Use the faster accessor function in the sort functions
...
Use the faster _gtk_file_system_model_get_value() function instead of
gtk_tree_model_get() inside the sort functions. This gives a significant
speed-up when sorting large lists.
In a test case with 40.000 files, the sorting time went from ~5 seconds
to less than 0.5 seconds for my test case. There is 2 significant
problems with gtk_tree_model_get() that cause this:
1) The value is copied, which takes quite a bit of time for strings.
~25% of excessive time or ~1 second in my test
2) The tree model functions need to lookup the interface vfunc. And
gtk_tree_model_get() doesn't do that only once, but multiple times
(verifying column id, getting the actual value, ...)
~75% of excessive time or ~3 seconds in my test
2009-10-15 22:01:39 +02:00
Benjamin Otte
53a00e3cc3
Convert recent files to a GtkFileSystemModel
...
This does to the recent files what the last commit did to the search. It
uses a GtkFileSystemModel and its API niceties to show the recent files.
2009-10-15 22:01:39 +02:00
Benjamin Otte
5a31dfd66b
Convert search to use a GtkFileSystemModel
...
Replace the list model code with the file system model and use all the
file system model API niceties we get from that.
Also adds the function _gtk_file_system_model_add_and_query_file() which
g_file_query_info()'s the file before adding it, so it gets added with
the right information.
2009-10-15 22:01:09 +02:00
Benjamin Otte
390a3910f5
Don't count the "enter directory name" line as a selected file
2009-10-15 22:00:09 +02:00
Benjamin Otte
affa8c8459
Add a constructor to filesystem model that does not monitor a directory
...
This is in preparation for switching search and recent models to use
GtkFileSystemModel
2009-10-15 22:00:09 +02:00
Benjamin Otte
10e8d6abca
Make the filesystem model filter API use a GtkFileFilter
...
This gets rid of the vfunc API and does exactly what the file chooser
wants.
2009-10-15 22:00:09 +02:00
Benjamin Otte
cd337e2a95
Only query the absolutely necessary attributes
...
Since the time taken by g_file_enumerate_children() depends a lot on the
attributes that are queried, we query the minimum attributes that need
to be queired to display the file chooser.
In particular, the attributes for loading the icon are ignored, as icons
are loaded on demand (see previous commit).
2009-10-15 22:00:08 +02:00
Benjamin Otte
4a1ff32325
Load icons on-demand
...
Because loading icons takes a noticable performance, this code loads the
pixbuf on demand and only loads icons for rows that are visible. There
is a few caveats to this:
- The pixbuf cell renderer must report the proer size even if the icon
is not yet loaded. This is achieved by setting a fixed size.
- On theme changes the cahced pixbufs and the cell renderer must be
updated to conform to the new theme.
2009-10-15 22:00:08 +02:00
Benjamin Otte
105e6fbc11
Use the GtkTreeSortable of the filesystem model
...
Previously, there was a GtkTreeSortModel wrapped around the filesystem
model to make it sortable. As the new implementation implements the
GtkTreeSortable interface, we can use this instead.
2009-10-15 22:00:08 +02:00
Benjamin Otte
3e385ffd07
Clean up code to use the model directly
...
A lot of code special cases accesses to the tree view for the different
browse modes, which was previously necessary, because the models were
different. Now that they are identical in the first columns, there is no
such need anymore, and the functions don't need to be special cased.
2009-10-15 22:00:08 +02:00
Benjamin Otte
30c1a1ee2c
Replace the cell data computations
...
Previously custom functions were used to compute the data passed to the
cell renderers. Now that all this data is saved by the tree models with
compatible nodes, the usual default attribute-to-column mapping can be
used.
With this, caching of the values can happen in the tree model, which
avoids costly lookups of icons or computation of strings. Last but not
least it avoids spurious bugs that could happen when strings changed
without anyone noticing, like the mtime when a new day begins.
2009-10-15 22:00:08 +02:00
Benjamin Otte
a5390ad49e
Consolidate tree models for different browse modes
...
All tree models in browse mode now share the first 10 column types
containing all the necessary information to display the model on screen.
Therefor it is now easy to just operate on the tree model associated
with the file tree view and in most cases it isn't necessary anymore to
special case the browse modes.
2009-10-15 22:00:07 +02:00
Benjamin Otte
d6f3d0e7eb
Simplify gtk_file_chooser_default_unselect_file()
2009-10-15 22:00:07 +02:00
Benjamin Otte
0ccb2f2427
Creating the model no longer fails
...
So remove the code that checked for failure, as it's not needed anymore.
2009-10-15 22:00:07 +02:00
Benjamin Otte
18b56b9970
Implement new GtkFileSystemModel
...
The new model is mostly API-compatible with the old model (minimal
changes were required), but is a lot faster and has a lot of very
desirable features.
- the model does no longer support a tree, just a list of files in a
given directory
- the storage has been moved to a GArray as opposed to a tree
- no more dependency on GtkFileSystem
- columns are managed by the creator of the model, so any number of
nodes can be added as needed. This also makes the API more similar
to GtkListStore.
- Values are filled on demand using a function given when creating the
model.
- The function can decide to let the model cache returned values or
decide to be called again the next time the value is queried.
- implements GtkTreeSortable
- _gtk_file_system_model_get_value() was added to significantly speed
up value access, which is necessary when sorting large models.
2009-10-15 22:00:06 +02:00
Benjamin Otte
3c9a34dba3
move GtkFileSystemModel private stuff out of the private header
2009-10-15 22:00:06 +02:00
Xan Lopez
009f160709
Do not assign the parent class twice
...
G_DEFINE_TYPE already does this for us, no need to do it again in
class_init
https://bugzilla.gnome.org/show_bug.cgi?id=598515
2009-10-15 15:28:54 +02:00
Paolo Borelli
10a53ff12e
Notify the "active" property of the spinner only when needed
...
Notify spinner::active only if it really changed an other cosmetic fixes
2009-10-15 15:23:30 +02:00
Matej Urbančič
7d6a0f348a
Updated Slovenian translation
2009-10-15 14:30:54 +02:00
Matej Urbančič
ab36b8b12c
Updated Slovenian translation
2009-10-15 14:28:40 +02:00
Emmanuele Bassi
ef3361caa3
gtk-demo: Remove C99-ism from list_store example
2009-10-15 12:25:21 +01:00
Daniel Nylander
3c18cc3405
Updated Swedish translation
2009-10-15 09:53:00 +02:00
A S Alam
edcf78848a
Completing translation for Punjabi
2009-10-15 12:56:27 +05:30
Javier Jardón
df5ee2fa10
Move documentation to inline comments: GtkToolShell
...
https://bugzilla.gnome.org/show_bug.cgi?id=597865
2009-10-15 03:49:08 +02:00
Javier Jardón
fbae115b03
Move documentation from templates to inline comments: GtkAccesible
...
https://bugzilla.gnome.org/show_bug.cgi?id=597865
2009-10-15 03:13:22 +02:00
Javier Jardón
bd2dd7dc9e
Move documentation from templates to inline comments: GtkActivatable
...
https://bugzilla.gnome.org/show_bug.cgi?id=597865
2009-10-15 03:12:42 +02:00
Javier Jardón
ff76366652
Move documentation from templates to inline comments: GtkAccelGroup
...
https://bugzilla.gnome.org/show_bug.cgi?id=597865
2009-10-15 03:11:39 +02:00
Bastien Nocera
7fd79f42ab
Fix GtkSpinner using style before it's set
...
Fix a possible division by zero when the spinner
is started before it's realized (eg. before it has a style
set).
https://bugzilla.gnome.org/show_bug.cgi?id=598496
2009-10-15 01:43:26 +01:00
Bastien Nocera
6f44b00935
Fix property links in GtkSpinner
2009-10-14 22:38:57 +01:00
Leonid Kanter
b466b5e7c1
Updated Russian translation
2009-10-14 23:32:01 +03:00
Bastien Nocera
e9a240cd52
Add GtkSpinner::animation-duration style property
2009-10-14 19:06:26 +01:00
Matthias Clasen
9112194791
Add GtkSpinner to the widget gallery
...
Yes, our documentation setup is wierd and wonderful.
2009-10-14 13:52:52 -04:00
Matthias Clasen
d1ee8e2d4b
Documentation and stylistic fixups
2009-10-14 13:26:10 -04:00
Bastien Nocera
aa663e08f7
Fix "active" property not being notified
...
And setting it FALSE starting the spinning when it should
stop it.
2009-10-14 17:47:02 +01:00
Matthias Clasen
2cd44fa5f3
Fix doc build
...
There was an escaping problem in the newly inlined documentation.
2009-10-14 12:30:40 -04:00
Bastien Nocera
a480cae524
Capitalise a11y description for GtkSpinner
2009-10-14 16:01:24 +01:00
Bastien Nocera
6e3792aad9
Update POTFILES.in for spinner widgets
2009-10-14 15:58:05 +01:00
Bastien Nocera
d21700f510
Bug 319607 – Add a throbber (activity widget) to GTK+
...
Add GtkSpinner activity throbber, as well as a cell renderer.
2009-10-14 14:58:30 +01:00
Bastien Nocera
df53e6ad8b
Add ability to set a tooltip's image from a GIcon
...
Makes it easier to implement fallbacks whilst following
theme changes.
https://bugzilla.gnome.org/show_bug.cgi?id=598261
2009-10-14 13:22:14 +01:00
Javier Jardón
588bec9121
Move documentation from templates to inline comments: GtkAboutDialog
...
https://bugzilla.gnome.org/show_bug.cgi?id=597865
2009-10-14 03:33:09 +02:00
Javier Jardón
df9e1c3294
Substitute gtk_widget_ref/unref with g_object_ref/unref
...
Substitute the use of gtk_widget_ref/unref in documentation examples
and in internal gtk+ code
https://bugzilla.gnome.org/show_bug.cgi?id=598218
2009-10-14 03:30:57 +02:00
Javier Jardón
b66583f2a5
Substitute gtk_style_unref for g_object_unref in documentation example
...
https://bugzilla.gnome.org/show_bug.cgi?id=598218
2009-10-14 03:30:31 +02:00
Javier Jardón
57bc513713
Use g_object_ref/unref instead deprecated gdk_*_ref/unref functions
...
Substitute deprecated reference counting functions for
g_object_ref/unref in documentation and in internal code
https://bugzilla.gnome.org/show_bug.cgi?id=598217
2009-10-14 03:13:52 +02:00
Tor Lillqvist
fb63e32a9d
Don't use XP themes until they work
2009-10-13 21:34:22 +03:00
Javier Jardón
8539899349
Bump version to 2.19.0
2009-10-13 17:29:04 +02:00
Leonid Kanter
9eeece19ed
Updated Russian translation
2009-10-13 17:19:26 +03:00
Leonid Kanter
891c2d1b3f
Updated Russian translation
2009-10-13 17:00:59 +03:00
Nguyễn Thái Ngọc Duy
646955f186
po/vi.po: update translation of "Places"
2009-10-13 20:19:54 +07:00
David Planella
1542fa6f8d
Updated Catalan translation
2009-10-13 13:37:44 +02:00
David Planella
0ade1c4bff
Updated Catalan translation
2009-10-12 19:32:26 +02:00
Javier Jardón
127033f83d
Bug 596019 - No accessors for GtkDialog buttons
...
Add API for GtkDialog to return widgets by response ID.
Added gtk_dialog_get_widget_for_response() to access to all kinds
of buttons with all kinds of responses.
2009-10-12 17:20:02 +02:00
Dumitru Mișu Moldovan
39c1da4d01
Updated Romanian translation
2009-10-11 14:29:25 +03:00
Kjartan Maraas
80ace71c94
Updated Norwegian bokmål translation
2009-10-11 12:36:48 +02:00
Eitan Isaacson
76997ab57d
Explicitly set the accessible name of GtkToolButton.
...
GAIL is not able to retrieve the correct button name alone, so it must be set in gtktoolbutton.c
https://bugzilla.gnome.org/show_bug.cgi?id=597596
2009-10-10 18:11:00 -07:00
Michael Natterer
59f2a62e9c
Revert "Remove deprecated GtkContainer function and macros"
...
This reverts commit 0e3a46915e .
2009-10-10 18:26:07 +02:00
Javier Jardón
0e3a46915e
Remove deprecated GtkContainer function and macros
2009-10-10 16:58:33 +02:00
Branko Kokanović
1b32f7ad17
Updated Serbian translation
2009-10-09 20:12:26 +00:00
Tor Lillqvist
f562138ef0
Create and install gtk-update-icon-cache.exe.manifest to avoid UAC
2009-10-09 15:13:39 +03:00
Tor Lillqvist
2e0b5580ef
Don't include gdkwin32.h when testing Objective-C++
...
Fixes bug #594644 . If somebody actually some day needs to include
gdkwin32.h from an Objective-C++ program something needs to be done.
2009-10-09 14:35:49 +03:00
Matthias Clasen
088baaec31
Make selecting the last character work again
...
This broke when I added link support. git bisect helped to track it
down.
2009-10-09 07:08:54 +02:00
Matej Urbančič
b3b26b517d
Updated Slovenian translation
2009-10-08 14:20:59 +02:00
Timo Jyrinki
3cad065c98
Updated Finnish translation by Jiri Grönroos.
2009-10-08 12:50:35 +03:00
Tor Lillqvist
9212f560f0
Fix the GDI+ gdk-pixbuf loader
...
Should fix bug #552678 . Patch by Dominic Lachowicz, based on a clueful
response from Jason Copenhaver on Albeto Ruiz's blog
http://aruiz.typepad.com/siliconisland/2009/08/dear-lazyweb-gtk-need-gdi-help.html
2009-10-08 10:59:55 +03:00
André Gondim
f38fc7f37d
Updated Brazilian Portuguese translation.
...
Reviewed by Rodrigo Flores <mail@rodrigoflores.org >.
2009-10-07 07:20:26 -03:00
Alexander Shopov
79c2af5c4e
Updated Bulgarian translation
2009-10-07 07:48:27 +03:00
Tor Lillqvist
425b652003
Don't ignore SIGPIPE unless it exists
2009-10-06 14:53:22 +03:00
Manoj Kumar Giri
2dee48b6d0
Updated Oriya Translation
2009-10-06 11:27:46 +05:30
Matthias Clasen
4ee18f8b94
Bump version
2009-10-05 17:44:25 -04:00
Matthias Clasen
68f25328e4
2.18.2
2009-10-05 17:42:00 -04:00
Matthias Clasen
c29e8f6cff
Updates
2009-10-05 16:43:37 -04:00
Alexander Larsson
c5d0861179
Don't request window sizes with zero width or height
...
Zero width/height is unsupported and will magically be turned into one.
For instance, gtk_widget_size_allocate() will eventually do this magic
on the value stored in widget->allocation.
However, if we don't do this magic conversion early, then the value
returned from gtk_window_compute_configure_request() will not be
comparable with whats stored in widget->allocation. (I.E. they will
differ if width or height are zero).
This is dangerous, as we do such a comparison in gtk_window_move_resize().
Currently a change from e.g. 10x1 (current allocation) to 10x0 (new size)
will be expected to produce a ConfigureNotify, when it actually won't,
thus never thawing the frozen toplevel.
Fixes bug #588059
2009-10-05 22:07:06 +02:00
Alexander Larsson
786b589d95
Fix up _gdk_windowing_window_at_pointer coordinate reporting
...
We need to do a final XQueryWindow to get the coordinates inside the
windows rather than in the parent window.
This fixes bug #597386 , "Cannot click buttons more than once...", which
failed due to the grab tracking stuff getting the wrong coordinates as
per the above.
2009-10-05 11:41:50 +02:00
Matthias Clasen
4581432387
Plug a memory leak
...
Valgrind reported a leak of regions from gdk_window_process_updates_internal.
2009-10-04 22:35:12 -04:00
Takayuki KUSANO
05ded28d7d
Updated Japanese translation
2009-10-03 18:34:58 +09:00
Luca Ferretti
c3b22ee7c4
Updated Italian translation
2009-10-03 09:20:44 +02:00
Sebastian Dröge
59177b1932
Bug 596959 - DirectFB backend compilation broken with changes from 2.18.0 to 2.18.1
...
Fix compilation of the DirectFB backend after internal API changes of GDK.
2009-10-02 07:39:34 +02:00
Murray Cumming
249be999a6
Fixed a typo that I didn't see until now, strangely.
2009-07-16 19:27:20 +02:00
Murray Cumming
87b53b3df1
Removed empty docs/reference/ChangeLog entries. I am using prepare-ChangeLog.pl to help create informative commit messages and this was a side-effect.
2009-07-16 18:13:34 +02:00
Murray Cumming
eb76666f1c
GtkToolPalette: Use gtk-toolbar-style and gtk-toolbar-icon-size settings.
...
* gtk/gtksettings.c: (settings_install_property_parser): Handle enums too.
* gtk/gtktoolbar.c (gtk_toolbar_class_init): Move the gtk-toolbar-style and
gtk-toolbar-icon-size settings into GtkSettings because we now use it in
GtkToolPalette too.
* gtk/gtktoolpalette.[h|c]: Add gtk_tool_palette_unset_style() and
gtk_tool_palette_unset_icon_size(), and use the toolbar-style and
icon-size from GtkSettings if these are not set via the set functions.
* demos/gtk-demo/toolpalette.c (on_combo_style_changed),
(do_toolpalette): Add and handle a -1 value to mean the desktop "Default"
toolbar style.
2009-07-16 17:51:55 +02:00
Murray Cumming
a14e05fa59
GtkToolItemGroup now has label and label-widget properties.
...
* demos/gtk-demo/toolpalette.c (load_special_items): Demonstrate
gtk_tool_item_group_set_label_widget().
* gtk/gtktoolitemgroup.[h|c]: Rename the "item-group-name" property to
"label" because that is what it is. Likewise rename the functions.
Add a "label-widget" propert and get/set_label_widget() functions,
based on the same code/API in GtkExpander.
2009-07-14 23:46:49 +02:00
Matthias Clasen
33c4cb76d8
Also flip scrollbars in the toolpalette example
2009-07-14 15:55:12 -04:00
Murray Cumming
fc226767eb
GtkToolItemGroup: Rename the name property. GtkToolPalette: Added class padding.
...
* gtk/gtktoolitemgroup.[h|c]: Rename the name property to item-group-name
and rename get/set_name() to get/set_item_group_name(), to avoid a clash with
GtkWidget::name.
* gtk/gtktoolpalette.h: GtkToolPaletteClass: Add padding for future use.
2009-07-14 19:53:28 +02:00
Murray Cumming
ac7b0c91ae
ToolPalette: Implement GtkOrientable.
...
* gtk/gtktoolpalette.[h|c]: Remove gtk_tool_palette_get/set_property(),
implementing GtkOrientable instead.
* gtk/gtktoolitemgroup.c:
* demos/gtk-demo/toolpalette.c: Use gtk_orientable_* instead.
2009-07-14 19:11:20 +02:00
Murray Cumming
2976f4d98c
GtkTool*: Removed the HAVE_EXTENDED_TOOL_SHELL_SUPPORT_BUG_535090 ifdefs. This gives us nicer text alignment among other things.
2009-07-13 19:37:25 +02:00
Murray Cumming
dad6e7343c
ToolShell: Add ellipsize, text-orientation, text-alignment and size-group.
...
* gtk/gtktoolshell.c: Added vfuncs to get/set ellipsize, text-orientation,
text-alignment and size-group plus getter/setters to invoke these vfuncs.
* gtk/gtktoolitem.[h|c]: Added getters and setters to get/set these from the
parent GtkToolShell. This is in the style of the existing "properties".
* gtk/gtktoolbutton.c: Updated to use the extra properties.
* docs/reference/gtk/gtk-sections.txt
* gtk/gtk.symbols: Updated to mention the new functions.
These new "properties" are used by GtkToolPalette.
2009-07-13 19:13:59 +02:00
Murray Cumming
8a294b8bb7
Added missing files that I thought I had already added.
2009-07-13 19:11:12 +02:00
Murray Cumming
d95654fd5f
gtk+/demos/gtk-demo/: Added GtkToolPalette demo.
2009-07-13 18:45:48 +02:00
Johannes Schmid
5a1415feda
Added GtkToolPalette.
...
* gtk/gtktoolpallete.[h|cc]:
* gtk/gtktoolitemgroup.[h|cc]: Added a tool pallete container widget,
with groups of toolbar items that can be shown as a grid of icons
or a list of names.
* gtk/Makefile.am:
* gtk/gtk.h:
* gtk/gtkmarshal.list: Mentioned the new files.
Bug #567729
2009-07-13 17:38:34 +02:00