Ryan Lortie
d8ceffab5a
beginings of an xcb gdk backend
2010-11-09 13:30:25 -05:00
Matthias Clasen
6613fc7b36
Fix the doc build
2010-11-09 08:16:33 -05:00
Matthias Clasen
88366ad5fe
Don't export _gtk_cell_renderer_calc_offset
...
This is just a private convenience function, and exporting _-prefixed
functions doesn't work with our libtool setup. Just do the 3 line
calculation in gail.
2010-11-09 08:15:06 -05:00
Matthias Clasen
f114efcd10
Bump glib req. to 2.27.3
2010-11-08 23:20:38 -05:00
Chun-wei Fan
3aabef6942
gdk.vcprojin: Include .rc file and fixed linker settings
...
-Added the missed gdk.rc file
-Made up for missed libraries required for link for configs other than Debug|win32
2010-11-09 12:13:17 +08:00
Chun-wei Fan
2fccd515f6
gtk-demo.vcproj: set linker settings to be consistent
...
-Made up for the additional dependencies for setups other than Debug|Win32 (the correct setting)
-Made Subsystem="1" for all setups like Debug|Win32 (the correct setting)
2010-11-09 12:06:34 +08:00
Chun-wei Fan
1b3cc80df8
gtk+.vsprops: Removed GdkPixbuf stuff and made up for missed headers
...
-Removed the GdkPixbuf stuff as it is now in a package of its own and added
it as a dependent library here
-Made up for the headers missed in the installation stage for GTK+/GDK
2010-11-09 11:40:51 +08:00
Matthias Clasen
f718f1bee6
NEWS for 2.91.4
2010-11-08 21:20:02 -05:00
Matthias Clasen
1ddf183bac
Fix entry completion window sizing
...
I don't think we are at the end of scrolledwindow tweaks yet,
but this will make things work for now, as they used to.
https://bugzilla.gnome.org/show_bug.cgi?id=633670
2010-11-08 18:39:02 -05:00
Ryan Lortie
3ecc361f97
pixbuf engine: remove only use of GCache in Gtk
...
We'll be deprecating GCache in GLib soon.
2010-11-08 18:17:48 -05:00
Patrick Bernaud
76ba033f59
docs: Move documentation to inline comments: GtkPaned
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=634338
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-11-08 23:22:03 +01:00
Patrick Bernaud
6a93e3bbe1
docs: Move documentation to inline comments: GtkProgressBar
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=634339
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-11-08 23:21:57 +01:00
Patrick Bernaud
692024940c
docs: Move documentation to inline comments: GtkPageSetup
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=634340
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-11-08 23:21:49 +01:00
Hans Breuer
9452b271a0
Bug 609622 - disappearing statusicon
...
Windows 7 is managing status icon visibility across process lifetime,
which did not work with GTK+ create icons. Apparently the mechanism
does not require use of new API (like suggested by MSDN), but it is
enough to give a "unique" tooltip at creation time.
Formerly this initial tooltip was not set at all, later setting via
gtk_status_icon_set_tooltip_text() is not enough, but luckily
different follow-up tooltips don't disturb the intended behavior.
(cherry picked from commit ae0544c636 )
(cherry picked from commit 8a9d458baf )
2010-11-07 23:58:29 +01:00
Hans Breuer
dc40e17af8
Update msvc build
2010-11-07 23:35:04 +01:00
Matthias Clasen
9dfeee8127
Make GtkFileChooserButton behave as expected when expanding
2010-11-07 11:22:07 -05:00
Ivar Smolin
5400ec8168
[l10n] Updated Estonian translation
2010-11-07 10:50:45 +02:00
Garrett Regier
3aad9f6617
docs: Move documentation to inline comments: GtkCellView
...
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-11-06 18:21:36 +01:00
Garrett Regier
d5593dec9e
docs: Move documentation to inline comments: GtkCellRendererText
...
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-11-06 18:21:36 +01:00
Javier Jardón
6cfd907290
docs: Move documentation to inline comments: GtkCellRenderer
2010-11-06 18:21:35 +01:00
Javier Jardón
c418ea89e5
docs: Move documentation to inline comments: GtkSettings
2010-11-06 18:21:35 +01:00
Garrett Regier
aa4c96544b
docs: Move documentation to inline comments: GtkColorSelection
...
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-11-06 17:42:00 +01:00
Garrett Regier
65536550c5
docs: Move documentation to inline comments: GtkLayout
...
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-11-06 17:42:00 +01:00
Kizito Birabwa
a9a7b60898
Added Luganda translation
2010-11-06 16:41:54 +01:00
Tor Lillqvist
8f98c7f68c
Add _gtk_cell_renderer_calc_offset
2010-11-06 14:12:14 +02:00
Tor Lillqvist
58ed78cbe0
Fix build breakage and avoid a warning
2010-11-06 13:13:59 +02:00
Tor Lillqvist
1e9c091457
Avoid a compiler warning
2010-11-06 13:13:37 +02:00
Tor Lillqvist
6e56d05cbc
Drop unused static function
2010-11-06 13:13:10 +02:00
Javier Jardón
c08e7f01fe
docs: move documentation to inline comments: GtkColorButton
2010-11-06 03:26:14 +01:00
Javier Jardón
5efde9d6d0
docs: move documentation to inline comments: GtkTreeView
2010-11-06 03:26:14 +01:00
Javier Jardón
f90bdb33c8
docs: Move documentation to inline comments: GtkTextView
2010-11-06 03:26:14 +01:00
Matthias Clasen
04ba8ef77a
GtkApplication: rewrite example application
...
The intended way of using GtkApplication is mainly by subclassing,
so make the example do that.
2010-11-05 16:26:51 -04:00
Matthias Clasen
ef3cc732cb
GtkApplication: drop Quit from the docs
...
GtkApplication does not currently implement any default actions.
2010-11-05 16:26:51 -04:00
Javier Jardón
0e0c4ee129
docs: move documentation to inline comments: GtkEntry
2010-11-05 20:49:20 +01:00
Javier Jardón
cf71dbde90
docs: Fix generation of GtkGrid documentation
2010-11-05 17:28:18 +01:00
Cosimo Cecchi
c69075f170
tests: fix the build
...
gtk_box_new() changed API recently.
2010-11-05 17:01:34 +01:00
Cosimo Cecchi
a994a9f945
icon-theme: always force icon sizes for emblems
...
https://bugzilla.gnome.org/show_bug.cgi?id=634060
2010-11-05 16:28:32 +01:00
Cosimo Cecchi
fcfd494b78
tests: add a test for pixbufs implementing the GIcon interface
...
https://bugzilla.gnome.org/show_bug.cgi?id=634060
2010-11-05 16:28:32 +01:00
Cosimo Cecchi
5071aa72ad
icon-theme: support pixbufs implementing the GIcon interface
...
https://bugzilla.gnome.org/show_bug.cgi?id=634060
2010-11-05 16:28:32 +01:00
Cosimo Cecchi
f437507d4d
gtkwindow: properly set the window icon list ( #631331 )
...
This was probably a rendering-cleanup regression.
2010-11-05 16:26:30 +01:00
Murray Cumming
d1829ecd74
GtkWidget/GtkContainer: Slight fixes to geometry-management docs.
...
Replace it's with its in several places.
Replace some , with .
Replace some ; with .
Fix some plurals.
Other minor corrections.
2010-11-04 16:37:54 +01:00
Murray Cumming
897a333744
GtkWidget: Document the size-request signal deprecation.
...
Hopefully my text is correct.
2010-11-04 16:11:25 +01:00
Matthias Clasen
10f0e991da
Handle empty button boxes gracefully
...
https://bugzilla.gnome.org/show_bug.cgi?id=633915
2010-11-03 23:01:09 -04:00
Christian Dywan
1c14268687
Only show Desktop in file chooser button if there is one
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=632894
2010-11-03 19:19:19 +01:00
Owen W. Taylor
5daab52661
Switch to CSS interpretation of rgb() and rgba() colors
...
CSS3 defines a somewhat odd syntax for rgba() colors - the rgb values
are integers from 0 to 255 or percentages and the a value is a
float from 0 to 1. To avoid increasing the total amount of confusion
in the world, make gdk_rgb_to_string() and gdk_rgb_parse() follow
this syntax rather than using floats for r, g, and b.
https://bugzilla.gnome.org/show_bug.cgi?id=633762
2010-11-03 13:41:45 -04:00
Ryan Lortie
fbdcf193ae
gtktoolitemgroup: don't use GTimeSpec
...
Use gint64 time instead.
2010-11-03 08:26:27 -04:00
Javier Jardón
1f1e7c37ad
Revert "Move the /*< private >*/ at the correct position"
...
All the object structures is opaque
This reverts commit c59ca4f6b9 .
2010-11-03 03:38:06 +01:00
Javier Jardón
4e0a50db9e
docs: Improve cross-referencing on GtkGrid docs
2010-11-03 03:31:57 +01:00
Javier Jardón
dab457fbc6
docs: Fix gtk-doc markup in GtkWidget docs
2010-11-03 03:31:46 +01:00
Takayuki KUSANO
b80322ba93
Updated Japanese translation
2010-11-03 09:02:19 +09:00
Murray Cumming
764f627733
Fix tiny documetnation typo.
2010-11-02 10:43:42 +01:00
Murray Cumming
d3aa89fc11
GtkScrollable: Improve the documentation text.
2010-11-02 09:23:24 +01:00
Murray Cumming
c4714662b1
Removed a trailing enum comma.
2010-11-01 23:09:21 +01:00
Ignacio Casal Quinteiro
d8d73163fd
Normalize boolean.
2010-11-01 22:59:21 +01:00
Ignacio Casal Quinteiro
37dc91f012
Do not use gbooleans to save some bits.
2010-11-01 22:43:35 +01:00
Matthias Clasen
586c5f0bb0
Bump version
2010-11-01 13:13:04 -04:00
Paolo Borelli
5dddcb1fa5
Get rid of unused shaped_object list in _GtkTextLineDisplay
...
https://bugzilla.gnome.org/show_bug.cgi?id=631076
2010-11-01 17:09:58 +01:00
Matthias Clasen
450b1f4322
Update NEWS
2010-11-01 11:44:30 -04:00
Matthias Clasen
69c7213ba9
GtkToolitemGroup: Use monotonic clock for animation timeout
2010-11-01 11:43:15 -04:00
Ignacio Casal Quinteiro
1fad7eaf85
Add caseless unit tests for textiter.
2010-11-01 15:21:53 +01:00
Ignacio Casal Quinteiro
2f98a1c8b3
Add case insensitive to GtkTextIter. Fixes bug #61852 .
...
This code has been taken from GtkSourceView so also kudos to Paolo Maggi
and Paolo Borelli for helping with this patch.
2010-11-01 15:21:48 +01:00
Paolo Borelli
42910194a9
Fix backward search bug exposed by the unit test
...
When searching with multiple lines first_line_start/end were initialized
to the last line start/end iters
2010-11-01 15:21:43 +01:00
Ignacio Casal Quinteiro
be703155aa
Add unit tests for textiter.
2010-11-01 15:21:39 +01:00
Matthias Clasen
9ff207bd25
Avoid exporting an extra symbol
2010-11-01 09:17:21 -04:00
Matthias Clasen
816f08872a
Fix make check
2010-11-01 09:17:21 -04:00
Paolo Borelli
c59ca4f6b9
Move the /*< private >*/ at the correct position
2010-11-01 14:15:03 +01:00
Matthias Clasen
8eee2f9bce
NEWS for 2.91.3
2010-11-01 08:14:19 -04:00
Ivar Smolin
b2ff82d0a3
[l10n] Updated Estonian translation
2010-11-01 08:19:38 +02:00
Matthias Clasen
750a9f3225
Fix a typo
2010-10-31 22:16:41 -04:00
Matthias Clasen
a3f19ddae8
Mention actions in the libunique migration guide
2010-10-31 22:14:53 -04:00
Matthias Clasen
54a5e37136
Fix interaction between scrolling menus and automatic mnemonics
...
https://bugzilla.gnome.org/show_bug.cgi?id=612611
2010-10-31 15:53:07 -04:00
Michael Natterer
d1a58b78be
gtk: remove all border_width handling from the button box
...
and let GtkContainer do the job; fixes doubled border widths. GtkBox
did already delegate border handling to Gtkcontainer, which interacted
badly with a subclass that didn't.
2010-10-31 20:16:19 +01:00
Michael Natterer
476b4c248c
gtk: fix automatic width of spin buttons which have no width in chars set
2010-10-31 20:03:55 +01:00
Michael Natterer
240e1b4b59
tests: missed these two gtk_box_new() which sneaked in by rebasing...
2010-10-31 20:01:28 +01:00
Matthias Clasen
c6a379dc62
GtkAssistant: Mention custom pages in the introduction
2010-10-31 14:34:35 -04:00
Michael Natterer
3a0afce509
gtk: remove "gboolean homogeneous" from gtk_box_new()
...
Because it's FALSE in virtually all use cases.
2010-10-31 19:22:28 +01:00
Matthias Clasen
81d7dd0774
Add content size test for scrolled window
2010-10-31 14:10:41 -04:00
Bastien Nocera
cbbfd7beb6
GtkAssistant: Add custom page type
...
The custom page type will not show any buttons by default, and
it is left to the application to add its own buttons instead.
The _next_page() and _previous_page() functions can be used
for the back and forward buttons used by the application.
https://bugzilla.gnome.org/show_bug.cgi?id=576498
2010-10-31 16:08:46 +00:00
Bastien Nocera
b5abd10940
GtkAssistant: Add more details about buttons shown
...
Add more documentation about which buttons will be shown for which
type of GtkAssistant page.
https://bugzilla.gnome.org/show_bug.cgi?id=576498
2010-10-31 16:08:46 +00:00
Matthias Clasen
c5e9526faf
Improve GtkAssistant docs
2010-10-30 21:30:23 -04:00
Martin Nordholts
cdda7f9151
Handle NULL intp in test_increment_intp()
...
Support passing NULL for &int to gtk_test_display_button_window() so
we can use that function also when we are not interested in counting
clicks.
2010-10-31 00:49:38 +02:00
Tristan Van Berkom
ae71cf7209
Fixed hangs in TextView and ToolPalette
...
Fixed the hangs by adding a ->inside_allocation flag and avoiding to
queue resizes while inside the allocation loop. The extra queue'd resizes
were causing the scrolled window size_allocate() to perform the guess
again and again thus causing an infinite loop.
2010-10-30 23:10:43 +09:00
Tristan Van Berkom
338001ae48
Fixing typo in scrolled window
...
Seems with GtkScrollable interface we were setting the hadjustment as
the vadjustment, thanks to Cosimo Cecchi who debugged this and finally
found the typo.
2010-10-30 23:09:14 +09:00
Javier Jardón
73bac5af3b
Emphasize that GtkBox and GtkTable can be replaced by GtkGrid
2010-10-30 06:53:44 +02:00
Javier Jardón
a9894d4cf4
Use gtk_box_new() instead gtk_[v|h]box_new()
2010-10-30 05:22:58 +02:00
Javier Jardón
b2207f6730
docs: remove template of deprecated gtkcombo widget
2010-10-30 05:03:02 +02:00
Matthias Clasen
9795bd4c8c
Migration guide additions
...
Add some information about expand flags and the scrollable interface.
2010-10-29 22:48:26 -04:00
Christian Persch
edec3e12dd
Make gdk_rgba_to_string() take a const GdkRGBA
...
https://bugzilla.gnome.org/show_bug.cgi?id=633216
2010-10-29 21:16:52 -04:00
Matthias Clasen
630b2c58b4
Fix initial size allocation with child widgets
...
On some cases, it would take a resize of the window for children
to 'jump into place'.
https://bugzilla.gnome.org/show_bug.cgi?id=633500
2010-10-29 21:15:13 -04:00
Javier Jardón
570b90e218
Use gtk_scrollbar_new() instead gtk_[v|h]scrollbar_new()
2010-10-30 02:26:24 +02:00
Javier Jardón
217036975a
Use gtk_scale_new() instead gtk_[v|h]scale_new()
2010-10-30 02:26:24 +02:00
Javier Jardón
8177ad320e
Use gtk_scale_new_with_range() instead gtk_[v|h]scale_new_with_range()
2010-10-30 02:26:23 +02:00
Javier Jardón
b3a7d401a1
Use gtk_paned_new() instead gtk_[v|h]paned_new()
2010-10-30 02:26:23 +02:00
Javier Jardón
f00f120fd7
Use gtk_ruler_new() instead gtk_[v|h]ruler_new()
2010-10-30 02:26:23 +02:00
Javier Jardón
8d008790be
Use gtk_separator_new() instead gtk_[v|h]separator_new()
2010-10-30 02:26:23 +02:00
Javier Jardón
e31304fb7b
Use gtk_button_box_new() instead gtk_[v|h]_button_box_new()
2010-10-30 02:26:23 +02:00
Michael Natterer
8154a5930d
gtk: remove declarations of removed internal functions
2010-10-29 20:24:41 +02:00
Matthias Clasen
b2397d3d7e
Don't set get_preferred_width_for_height to NULL
...
The size request machinery expects that it is non-NULL.
2010-10-29 12:58:24 -04:00
Matthias Clasen
ac3fe174f7
GtkComboBox: Add a constructor that takes a model and adds an entry
...
https://bugzilla.gnome.org/show_bug.cgi?id=633050
2010-10-29 12:28:42 -04:00
Javier Jardón
8b512bd9dd
Re-enable deprecation guards
2010-10-29 05:10:52 +02:00
Carles Ferrando
a4d9d2c3d4
Updated Catalan (Valencian) translation
2010-10-29 01:37:58 +01:00
Carlos Garnacho
b1dec866e5
Use the client pointer for events with no device.
...
The core pointer is sort of meaningless in a multidevice environment,
the client pointer is used instead to fake a GdkDevice on events that
don't have one.
2010-10-28 23:01:16 +02:00
Owen W. Taylor
398728feb5
Remove unused GdkDeviceManager variable
...
gdk_display_get_device_manager() was called but the device manager
not used.
2010-10-28 16:43:55 -04:00
Matthias Clasen
7da5cd5fe6
ifdef X-specific stuff
...
gdk_x11_ APIs can only be used inside #ifdef GDK_WINDOWING_X11.
2010-10-28 14:27:04 -04:00
Matthias Clasen
7018c2acc7
GtkButtonBox doesn't do height-for-width
...
GtkButtonBox doesn't do height-for-width, therefore we should
explicitly set these methods to NULL instead of hoping that the
inherited GtkBox implementations work ok.
2010-10-28 14:25:50 -04:00
John (J5) Palmieri
a863697784
[introspection] annotate delete_text invoker to match do_delete_text v-method
2010-10-28 13:25:10 -04:00
Vincent Untz
4f9f52a6ea
Port tests to GtkScrollable API instead of deprecated GtkLayout API
...
https://bugzilla.gnome.org/show_bug.cgi?id=633374
2010-10-28 12:18:28 -04:00
Ignacio Casal Quinteiro
60feed7360
Remove useless vars.
2010-10-28 11:54:05 +02:00
Tristan Van Berkom
c41ec57fb0
Fire a warning if there are any handlers connected to the deprecated "size-request" signal.
2010-10-28 16:00:19 +09:00
Tristan Van Berkom
18f46adb7d
Added a runtime warning if any class is implementing the ->size_request() vfunc.
2010-10-28 15:41:00 +09:00
Tristan Van Berkom
2f3e51389e
Merge branch 'kill-size-request'
2010-10-28 15:30:32 +09:00
Tristan Van Berkom
7af16e8d91
Make GtkPathBar use set_size_request() instead of the "size-request" signal.
2010-10-28 15:17:06 +09:00
Tristan Van Berkom
1523509467
Removed size_request from GtkToolItemGroup
...
Ofcourse GtkToolPalette needs real migration to height-for-width
apis, this patch just removes the need for the size_request
signal and vfunc.
2010-10-28 15:16:06 +09:00
Tristan Van Berkom
6e22c646c6
Use gtk_widget_set_size_request() instead of handling "size-request" signals.
2010-10-28 14:56:04 +09:00
Matthias Clasen
df4c566220
Add a migration guide section on size_request
2010-10-27 15:55:33 -04:00
Matthias Clasen
48d0be545c
Fix the build
2010-10-27 13:01:21 -04:00
Matthias Clasen
a84b81d4fe
Fix gtk_fixed_get_preferred_width
...
When dealing with widths, use x, not y.
Spotted by Ignacio Casal Quintero.
2010-10-27 12:53:47 -04:00
Bastien Nocera
94c8390ad7
gtk: Fix crasher when loading symbolic icons
...
If the style didn't include symbolic colors for either success,
warning or error, gtk_icon_info_load_symbolic_for_style() would crash.
Instead, make sure we don't try to use the colors if they're not
available, and fallback on default colors inside
_gtk_icon_info_load_symbolic_internal().
2010-10-27 17:52:30 +01:00
Owen W. Taylor
cb287cde00
GtkSocket: Add error trap around call to XFixesChangeSaveSet()
...
Previously any X error from XFixesChangeSaveSet() was being eaten
by the subsequent error trap when sending a client message. With
asynchronous error traps, that side effect no longer occurs, so
we need to add a proper error trap around the call to
XFixesChangeSaveSet().
https://bugzilla.gnome.org/show_bug.cgi?id=633274
2010-10-27 12:40:59 -04:00
Tristan Van Berkom
d13bf0801d
Revert "Removed size_request from GtkTextView"
...
This reverts commit 87dfa724eb .
I pushed this to the wrong branch, ouch sorry.
2010-10-28 01:40:51 +09:00
Matthias Clasen
e3bf39b2e6
Remove size_request from GtkSocket
...
This is only preliminary, GtkSocket can do minimal/natural width
properly, there's code for that in the extended-layout branch.
2010-10-27 11:18:47 -04:00
Matthias Clasen
f5207ab647
Don't g_free gslice-allocated structures
...
This was causing memory corruption when removing remote plugs from
sockets.
2010-10-27 11:18:46 -04:00
Matthias Clasen
fb0a72dc0f
Remove size_request from GtkScale
2010-10-27 11:18:46 -04:00
Tristan Van Berkom
a41436c40f
Removed size_request from GtkTearoffMenuItem
2010-10-27 23:59:43 +09:00
Tristan Van Berkom
c33a2b7237
Fixed remaining call to ->size_request in GtkTextView.
2010-10-27 23:34:58 +09:00
Tristan Van Berkom
1132f54dcc
Removing size_request from GtkTextView
2010-10-27 23:25:05 +09:00
Matthias Clasen
8f9807ac15
Remove size_request from GtkSeparatorToolItem
2010-10-27 10:17:58 -04:00
Matthias Clasen
cb34d4036d
Use correct icon name in testtoolbar
2010-10-27 10:14:25 -04:00
Tristan Van Berkom
87dfa724eb
Removed size_request from GtkTextView
2010-10-27 22:59:49 +09:00
Matthias Clasen
17c1bb4e52
Remove size_request from gtkToolItem
2010-10-27 09:54:44 -04:00
Tristan Van Berkom
7a85a31cc4
Removing size_request from GtkToolPalette
...
Note GtkToolPalette is internally height-for-width, it needs to
be refactored to cooperate with GTK+'s height-for-width geometry
management properly.
2010-10-27 22:51:35 +09:00
Matthias Clasen
1205f5a230
Remove size_request from GtkToolbar
...
This is just a bandaid fix, the toolbar should really return proper
min/natural sizes, so that we can handle the overflow properly.
2010-10-27 09:41:37 -04:00
Matthias Clasen
f7740fe580
Remove size_request from GtkTable
2010-10-27 09:33:41 -04:00
Tristan Van Berkom
add32bab71
Removing size_request from GtkTreeview.
...
This should be implemented as propery height-for-width by
the treeview-refactor branch. This commit includes a FIXME
comment that scroll adjustments should not be updated from
inside size requests but only after receiving an allocation.
2010-10-27 22:28:41 +09:00
Matthias Clasen
1184295620
Remove size_request from GtkRuler
2010-10-27 09:23:07 -04:00
Matthias Clasen
fc081e7847
Remove size_request from GtkPathBar
2010-10-27 09:13:26 -04:00
Matthias Clasen
7947f1933e
Remove size_request from GtkSeparator
2010-10-27 08:33:42 -04:00
Matthias Clasen
d95f8ae2e2
Remove size_request from GtkRange
2010-10-27 08:10:40 -04:00
Matthias Clasen
2b728f66a8
Fix a typo
2010-10-27 07:57:19 -04:00
Matthias Clasen
9b60d27b83
Remove size_request from GtkPaned
...
This is not the final word; GtkPaned should really implement
height-for-width, but I didn't have time to complete that now.
2010-10-27 07:55:27 -04:00
Ivar Smolin
d8051d1f94
[l10n] Updated Estonian translation
2010-10-27 11:22:06 +03:00
Tristan Van Berkom
80ac6c9701
Removed size_request from GtkOffscreenWindow
2010-10-27 14:43:30 +09:00
Tristan Van Berkom
9a80908c91
Removed size_request from GtkNotebook
2010-10-27 14:35:04 +09:00
Tristan Van Berkom
2dca7ad91d
Removed size_request from GtkMenuBar
2010-10-27 14:30:07 +09:00
Tristan Van Berkom
c8c3cf9beb
Removed size_request from GtkImageMenuItem
2010-10-27 14:12:41 +09:00
Tristan Van Berkom
814cd2c3ff
Removed size_request from GtkIconView.
2010-10-27 14:11:36 +09:00
Tristan Van Berkom
7e3e0636aa
Remove size_request from GtkHandleBox
2010-10-27 13:56:46 +09:00
Tristan Van Berkom
393bd507bb
Fixed unused variable in get_preferred_height().
2010-10-27 13:56:13 +09:00
Matthias Clasen
ac1bb229d1
Remove size_request from GtkSpinButton
2010-10-26 23:46:06 -04:00
Matthias Clasen
e45e9b187b
Remove size_request from GtkProgressBar
2010-10-26 23:30:48 -04:00
Matthias Clasen
4ca87168d4
Remove size_reuqest from GtkImage
2010-10-26 23:16:40 -04:00
Matthias Clasen
86cb8d02d3
Remove size_request from GtkLayout
2010-10-26 23:08:15 -04:00
Matthias Clasen
909a005cb2
Remove size_request from GtkHSV
2010-10-26 23:08:01 -04:00
Matthias Clasen
58354f2036
Remove size_request from GtkFixed
2010-10-26 23:07:56 -04:00
Matthias Clasen
2432bf4a58
Remove size_request from GtkEntry
2010-10-26 21:41:13 -04:00
Matthias Clasen
3bb3dc72e3
Remove size_request from GtkCheckButton
2010-10-26 21:29:58 -04:00
Matthias Clasen
f85543af98
Remove size_request from GtkCalendar
2010-10-26 21:06:40 -04:00
Matthias Clasen
8178e6016a
Remove size_request from GtkButtonBox
2010-10-26 20:57:40 -04:00
Matthias Clasen
d08e8aac62
Remove size_request from GtkAssistant
2010-10-26 20:57:23 -04:00
Javier Jardón
e0e6d5b4df
Fix gtk-doc markup: /* <private> */ should be /*< private >*/
2010-10-26 18:35:04 +02:00
Fran Diéguez
fca72da479
Updated galician translations
2010-10-26 17:00:40 +02:00
Matthias Clasen
b69232e51b
Stop calling GtkWidget parameters 'request'
...
There were at least a few places where we were using GTK_WIDGET()
on something that was already a GtkWidget*, just because it was
named wrong.
2010-10-26 10:53:46 -04:00
Yaron Shahrabani
bb77ea4a2c
Update properties Hebrew translation.
2010-10-26 08:32:32 +02:00
Xan Lopez
9c7016ab87
gtkcomboboxtext: remove unused variable
2010-10-26 15:18:35 +09:00
Javier Jardón
5aea672e00
gtk.symbols: Add scrollable policy API
2010-10-26 06:07:43 +02:00
Javier Jardón
8dd7ae38f9
gtkfilechooserentry: Use accessor functions to access GtkEntry
2010-10-26 06:07:43 +02:00
Javier Jardón
0b72acf78d
gtkspinbutton: Use accessor functions to access GtkEntry
2010-10-26 06:07:42 +02:00
Javier Jardón
f5615022a7
Use accessor functions to access GtkButton
2010-10-26 06:07:42 +02:00
Javier Jardón
8991603c88
gtktogglebutton: move public members to private structure
2010-10-26 06:07:42 +02:00
Javier Jardón
49446ed57c
gtktogglebutton: Add _gtk_toggle_button_set_active private accessor
...
It's needed by gtkradiobutton
2010-10-26 06:07:42 +02:00
Javier Jardón
a93e79f8d2
gtkradiobutton: Use accessor functions to access GtkToggleButton
2010-10-26 06:07:42 +02:00
Javier Jardón
783d18650b
gtkcheckbutton: Use accessor functions to access GtkToggleButton
2010-10-26 06:07:42 +02:00
Javier Jardón
356cfaa084
gtktoggletoolbutton: Use accessor functions to access GtkToggleButton
2010-10-26 06:07:42 +02:00
Javier Jardón
fda588d10d
gail: use accessor functions to access GtkToggleButton
2010-10-26 06:07:33 +02:00
Javier Jardón
49c409c498
tests: use accessor functions to access GtkToogleButton
2010-10-26 05:02:19 +02:00
Tristan Van Berkom
209715f0ef
Missed adding the scrolled window test in previous commit, added scrolled window test.
2010-10-26 11:35:04 +09:00
Tristan Van Berkom
3fe0fb4ed9
Added GtkScrollablePolicy property to scrollable interface
...
This patch adds the GtkScrollablePolicy type property to GtkScrollable
and implements it in all subclasses. GtkScrolledWindow observes this
property to make a good guess about when to show/hide scrollbars for
height-for-width content.
Most scrollable children do not do height-for-width *yet* but
most certainly will (toolpalette, treeview, iconview, textview
widgets all TODO), for scrollable widgets that do have a minimum
and natural size, it's important for them to observe the state
of this property in order to properly drive the scroll adjustments
according to the desired GtkScrollablePolicy. This patch makes
GtkViewport do this.
Patch also adds tests/testscrolledwindow.c to display the effects
of this property.
2010-10-26 10:15:56 +09:00
Matthias Clasen
04c1337bda
Bump version
2010-10-25 18:32:37 -04:00
Matthias Clasen
a7285e6435
Include gdkrgba.h
2010-10-25 14:35:19 -04:00
Matthias Clasen
7bbaa56f53
More updates
2010-10-25 13:59:49 -04:00
Matthias Clasen
c406b6ed22
Add new GdkRGBA apis to gtk.symbols
2010-10-25 13:49:37 -04:00
Matthias Clasen
9c60da8978
Add new GdkRGBA api to symbol list
2010-10-25 13:44:43 -04:00
=Christian Persch
d3f1745493
Use g_ascii_strto[u]ll instead of strto[u]l
...
We don't want GtkBuilder input to be locale-dependent.
Bug #632503
2010-10-25 12:22:20 -04:00
Matthias Clasen
377e7179b8
Add tests for GdkRGBA serialization
...
In particular, test that serialization is not dependent on the
locale.
2010-10-25 12:10:48 -04:00
Matthias Clasen
366a37d8c1
Add some GdkRGBA tests
2010-10-25 12:01:11 -04:00
Matthias Clasen
503698f587
Support resetting cell renderer colors with NULL again
...
This functionality was lost when GdkRGBA was introduced.
Bug 632936
2010-10-25 11:17:24 -04:00
Jorge González
546be63ecc
Updated Spanish translation
2010-10-25 16:26:28 +02:00
Richard Hughes
1d7aabee69
Fix make distcheck as gtkcomboboxentry does not exist anymore
2010-10-25 10:20:10 +01:00
Fran Diéguez
4a63814815
Updated Galician translations
2010-10-25 01:13:13 +02:00
Ignacio Casal Quinteiro
fdea6c5c19
Fix typo.
2010-10-24 22:51:51 +02:00
Matthias Clasen
52a7553b2c
GtkCalendar: turn into a no-window widget
...
After these changes, GtkCalendar only has a few input-only windows
left for catching input events. All drawing goes to the parent
window now.
2010-10-24 14:43:05 -04:00
Matthias Clasen
bcb23945f6
Bring back lost functionality
...
Double-click to mark/unmark was lost a while ago.
Also add easy RTL testing.
2010-10-24 14:43:04 -04:00
Matthias Clasen
6153feb3b6
Fill out the bug section
2010-10-24 14:43:04 -04:00
Khaled Hosny
5e163f79d0
Updated Arabic translation
2010-10-24 12:04:02 +02:00
Matthias Clasen
520a6aeb8f
Fix up docs
2010-10-23 23:41:08 +02:00
Matthias Clasen
d7653e7c0c
Add a unique->GtkApplication migration guide
2010-10-23 22:51:38 +02:00
Matthias Clasen
1be9b7f782
Some GtkApplication cleanups
...
Remove no-longer-needed vfuncs, no longer existing functions,
and improve the docs here and there.
2010-10-23 21:24:24 +02:00
Matthias Clasen
3e594dd845
Fix doc build
2010-10-23 21:23:22 +02:00
Matthias Clasen
7651c231e0
Revert the id-column patch
...
It didn't quite turn out as I wanted it.
I'll put it in bug 619148 for now.
2010-10-23 19:34:20 +02:00
Tristan Van Berkom
051dcde4bf
Fixed fallout from GtkScrollable patches.
...
The scrollable patch removed set_scroll_adjustments (NULL, NULL) from
gtk_tree_view_init() which ensured the treeview would have adjustments
at all times, this patch adds set_v/hadjustment (NULL) to _init to ensure
the same thing (without it, there are crashes when trying to access the
adjustments notably from set_headers_visible() in gedit).
2010-10-23 22:53:06 +09:00
Jorge González
ff5972c4cd
Updated Spanish translation
2010-10-23 14:25:35 +02:00
Tristan Van Berkom
ed63ae2bd3
Fixed push/pop_recursion_check() to not fire warnings for expected code.
...
I.e. Since we are now calling get_preferred_width() to ensure a good 'for_size'
for get_height_for_width() we need to avoid warning about this internal expected
recursion.
2010-10-23 20:03:41 +09:00
Javier Jardón
0dd5eb4b61
docs: GtkComboBoxText: more fixes
2010-10-23 03:03:50 +02:00
Javier Jardón
d94adcf643
docs: Some fixes in GtkComboboxText notations
2010-10-23 03:01:35 +02:00
Yaron Shahrabani
f89aaf9091
Updated Hebrew translation.
2010-10-23 02:40:54 +02:00
Matthias Clasen
a94db5b3b9
Fix distcheck
2010-10-23 02:31:30 +02:00
Matthias Clasen
ae6ba3adeb
NEWS for 2.91.2
2010-10-23 02:31:30 +02:00
Matthias Clasen
9fb36fff36
Add a way to associate numeric ids with combobox values
...
This will let us use combo boxes as property editors for
GSettings enmerations easily.
2010-10-23 02:31:30 +02:00
Javier Jardón
38dbb84095
gtkadjustment: Move documentation to inline comments
2010-10-23 00:31:37 +02:00
Javier Jardón
96f2f2ff5b
gtkscrollbar: Move documentation to inline comments
2010-10-23 00:31:37 +02:00
Javier Jardón
ec0c739520
gtktreemodelfilter: Move documentation to inline comments
2010-10-23 00:31:37 +02:00
Javier Jardón
8d3b36d534
gtktreeselection: Move documentation to inline comments
2010-10-23 00:31:37 +02:00
Javier Jardón
e51daa79fe
gtktreesortable: Move documentation to inline comments
2010-10-23 00:31:37 +02:00
Javier Jardón
16cf23959f
gtktreeviewcolumn: Move documentation to inline comments
2010-10-23 00:31:36 +02:00
Javier Jardón
8f766d36f4
gtktreestore: Move documentation to inline comments
2010-10-23 00:31:36 +02:00
Carlos Garnacho
d2781bc74b
GtkBuilder: Prepare for parsing GdkRGBA types.
2010-10-22 20:14:57 +02:00
Carlos Garnacho
d1140d0b1e
GtkCellRendererText: Add [foreground|background]-rgba properties
...
These properties use GdkRGBA to render the cell renderer's content.
Note that Pango attributes are used to render the foreground color,
so the alpha value is currently ignored.
2010-10-22 20:14:57 +02:00
Carlos Garnacho
5fbf20c2d8
GtkCellRenderer: Add ::cell-background-rgba property
...
This property uses GdkRGBA in order to render the cell renderer's
background.
2010-10-22 20:14:57 +02:00
Carlos Garnacho
1bbbd005a4
GtkColorButton: Add API to deal with GdkRGBA.
2010-10-22 20:14:57 +02:00
Carlos Garnacho
cb5b74e9c6
GtkColorSelection: Add API to deal with GdkRGBA.
...
The hook to change the global palette is still unchanged, it is quite
tied to GdkColor and the color format used to store the palette in
GtkSettings.
2010-10-22 20:14:56 +02:00
Carlos Garnacho
e351a48d6a
Make gtk_icon_info_load_symbolic() Take GdkRGBA colors.
2010-10-22 20:14:56 +02:00
Carlos Garnacho
684c9415ee
GtkCellView: Add gtk_cell_view_set_background_rgba()
...
A ::background-rgba property was also added, this API is meant
to replace the gtk_cell_view_set_background_color() call.
2010-10-22 20:14:56 +02:00
Carlos Garnacho
ce06043f17
GdkWindow: Add gdk_window_set_background_rgba()
...
This new function takes a GdkRGBA in order to set the background to
an alpha color. Keep in mind that RGBA visuals and a composited environment
are still necessary to have an alpha background displayed.
2010-10-22 20:14:56 +02:00
Carlos Garnacho
5a5f8081f0
Add GdkRGBA struct to supersede GdkColor
...
GdkRGBA is a boxed struct similar to GdkColor, with the difference
that it stores alpha information as well, and colors are stored in
[0..1] doubles, in the cairo spirit.
gdk_cairo_set_source_rgba() has been also added to allow easier handling
of this new type.
2010-10-22 20:14:56 +02:00
Matthias Clasen
c750003168
Point to GtkGrid from the GtkBox and GtkTable docs
2010-10-22 19:59:29 +02:00
Matthias Clasen
d2eac1bf81
Remove some warnings
2010-10-22 19:28:32 +02:00
Matthias Clasen
09ec50af90
Remove GtkScrollablePolicy again
...
This was a miscommunication, the properties need to live elsewhere.
2010-10-22 19:24:03 +02:00
Matthias Clasen
0d9ebb501d
Move min-display-width/height to GtkScrolledWindow
...
It is just too annoying to have to implement these properties in
every scrollable. Instead, we now have ::min-content-height/width
in GtkScrolledWindow.
We also add GtkScrollablePolicy to determine how to size the
scrollable content.
2010-10-22 19:21:17 +02:00
Emmanuele Bassi
ce5a29bc38
recent-manager: Coalesce multiple changes
...
Since the ::changed implementation of GtkRecentManager implies a
synchronous write operation, when we receive multiple requests to emit a
::changed signal we might end up blocking.
This change coalesces multiple ::changed emission requests using the
following sequence:
• the first request will install a timeout in 250 ms, which will
emit the ::changed signal
• each further request while the timeout has not been emitted
will increase a counter
‣ if the counter reaches 250 before the timeout has been
emitted, then the RecentManager will remove the timeout
source and force a signal emission and reset the counter
This sequence should guarantee that frequent ::changed emission requests
are coalesced, and also guarantee that we don't let them dangle for too
long.
https://bugzilla.gnome.org/show_bug.cgi?id=616997
2010-10-22 18:08:48 +01:00
Christian Dywan
5ef2b46d64
Don't declare various unused variables in gtk_grid_set_orientation
2010-10-22 19:05:40 +02:00
Alberto Garcia
d6a73fd5b0
Assign all g_signal_connect() and friends to gulong variables
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=87821
2010-10-22 18:58:47 +02:00
Javier Jardón
56d5b45443
GtkExpander: avoid use of gtk_get_event_widget()
...
We can compare the window to the window instead of the widget to the widget.
2010-10-22 18:21:44 +02:00
Javier Jardón
8999053b5f
docs: Add gtk-doc notation
...
to emphasize that GtkMisc and GtkAdjustment are not encouraged in new code
2010-10-22 17:59:38 +02:00
Michael Natterer
1f77384ab3
gtk: undef DISABLE_DEPRECATED around including our own header
...
so we can see our own deprecated API and don't get warnings.
2010-10-22 17:10:49 +02:00
Michael Natterer
3dc1f09772
gtk: use the new scrollable API to get to the scroll adjustments
2010-10-22 17:10:49 +02:00
Richard Hughes
585d7192fd
Fix make dist now that gtkcomboboxentry does not exist
2010-10-22 16:07:55 +01:00
Tristan Van Berkom
d26ac6421b
Fixed problems with combination of height-for-width apis and
...
alignment/margin vfuncs adjust_size_request/allocation
Now get_height_for_width() will internally update the for_width
before passing it to the real height_for_width() vfunc, allowing
margins and extra space for alignments to be stripped, thus requesting
sufficient height for greater than natural widths (and also accounting
for margins properly). Test case adjusted in testadjustsize to ensure
proper behavior.
2010-10-23 00:11:37 +09:00
Michael Natterer
a46dec176e
gtk: use the new scrollable API to get scroll adjustments
2010-10-22 17:03:21 +02:00
Michael Natterer
8e7aed9489
gtk: fix tool palette scroll adjustment setting
...
Create a new adjustment if there was *no* adjustment passed in, not
the other way around. Also remove unused function
gtk_tool_palette_set_adjustment().
2010-10-22 17:01:58 +02:00
Michael Natterer
6d2e4c26bd
gtk: return 0 not NULL from functions returning gint
2010-10-22 16:54:45 +02:00
Matthias Clasen
8cd13d09e8
Discourage use of GtkMisc and GtkAlignment
2010-10-22 16:52:08 +02:00
Matthias Clasen
a9204e65dd
Remove child flipping from GtkGrid
...
We decided that this is not really the right thing to do, for one
thing, because it doesn't flip ::expand and ::margin properties
of children.
2010-10-22 16:43:45 +02:00
Matthias Clasen
8f0ae8e8a3
Add GtkGrid
...
GtkGrid is a container similar to GtkTable, without legacy
properties and unnecessary restrictions.
It does height-for-width geometry management.
2010-10-22 16:42:50 +02:00
Matthias Clasen
c10127156f
Make the docs build
2010-10-22 16:42:50 +02:00
Matthias Clasen
a7465c3479
Fix a typo
2010-10-22 16:42:50 +02:00
Michael Natterer
ba9efeda4b
gtk: add gtk_entry_get_text_area() and gtk_entry_get_icon_area()
...
as replacement for the removed get_foo_window() functions, so draw()
callbacks can figure where to paint.
2010-10-22 14:48:08 +02:00
Christian Persch
95610f2a14
recent-chooser: Use gtk_recent_info_get_gicon()
...
https://bugzilla.gnome.org/show_bug.cgi?id=617174
2010-10-22 12:20:55 +01:00
Christian Persch
b0fe3e49bb
Add gtk_recent_info_get_gicon()
...
https://bugzilla.gnome.org/show_bug.cgi?id=617174
2010-10-22 11:58:00 +01:00
Emmanuele Bassi
27b71e0143
recent-manager: Fix the documentation
...
The default RecentManager is not destroyed at the end of the process.
https://bugzilla.gnome.org/show_bug.cgi?id=602794
2010-10-22 11:54:53 +01:00
Emmanuele Bassi
03fc0dd5ca
recent-manager: Add RecentInfo.create_app_info()
...
A simple wrapper that makes it possible to create a GAppInfo from a
GtkRecentInfo blob.
2010-10-22 11:54:53 +01:00
Emmanuele Bassi
06758f1ab5
recent-manager: Move the file under XDG_USER_DATA
...
Do not use $HOME/.recently-used.xbel any more. No migration path is
included: we're breaking API anyway.
https://bugzilla.gnome.org/show_bug.cgi?id=524304
2010-10-22 11:53:09 +01:00
Tadej Borovšak
55196a705f
Add GtkScrollable interface
...
The GtkScrollable interface provides "hadjustment" and "vadjustment"
properties that are used by GtkScrolledWindow. It replaces
the ::set_scroll_adjustment signal. The scrollable interface
also has ::min-display-width/height properties that can be
used to control the minimally visible part inside a scrolled window.
2010-10-22 11:03:45 +02:00
Tristan Van Berkom
86b3c1b65e
Enhanced GtkWidget documentation with regards to height-for-width geometry management.
2010-10-21 22:53:06 +09:00
Benjamin Otte
5e8baa5f63
container: Fix typo that caused madness
...
Interestingly, this typo has been causing madness since 2 months, but
Mitch complained only today.
2010-10-21 15:31:07 +02:00
Benjamin Otte
e428a0937a
configure: Enable silent rules by default
...
Go Hackfest!
2010-10-21 15:08:46 +02:00
Benjamin Otte
e6f95e9316
entry: No, you can not haz ununused variables
2010-10-21 15:08:14 +02:00
Christian Dywan
5862075e9d
comboboxtext: Add gtk_combo_box_text_remove_all()
...
https://bugzilla.gnome.org/show_bug.cgi?id=324899
2010-10-21 14:30:11 +02:00
Benjamin Otte
707d05bac0
progressbar: Remove declaration of nonexisting function
2010-10-21 14:30:11 +02:00
Benjamin Otte
715f57790b
socket: Fix compiler issues
2010-10-21 14:30:11 +02:00
Matthias Clasen
596da84312
Make GtkEntry a no-window widget
...
Use input-only windows for capturing input, and just draw onto
the parent window. This allows themes to make entries with rounded
corners. Patch by Boram Park.
https://bugzilla.gnome.org/show_bug.cgi?id=632736
2010-10-21 13:17:33 +02:00
Michael Natterer
e4654327df
gtk: change GtkIconView to "support" actual trees
...
Remove the check for GTK_TREE_MODEL_LIST_ONLY and make the view
display only the first level of the tree, ignoring all insert, remove
etc. events on the model's branches. This enables generic application
code which always produces GtkTreeStores (also for flat lists) to
display grids of these flat trees.
2010-10-21 12:57:55 +02:00
Matthias Clasen
331323e5c7
Make GtkSpinButton a no-window widget
...
We still retain an input-only window here for now, but all
the painting is done to the parent window.
2010-10-21 11:41:20 +02:00
Matthias Clasen
f4d57dbe98
Make GtkProgressBar a no-window widget
...
It doesn't really have a good reason for having a window.
2010-10-21 11:40:46 +02:00
Matthias Clasen
0a3fa74a52
Properly propagate expand flags
...
When showing a widget that already has need_compute_expand set,
we need to queue the recomputation on the parent.
2010-10-21 11:14:26 +02:00
Ryan Lortie
c7e1f567b6
GtkButton: avoid use of gtk_get_event_widget()
...
We can compare the window to the window instead of the widget to the
widget.
2010-10-21 00:37:29 +02:00
Ryan Lortie
56d2590b49
GtkIMContextSimple: avoid gdk_window_get_user_data
...
We lookup a widget to call a function on GtkWidget that ends up just
performing an operation directly on the GdkWindow again anyway
(beeping). There's already fallback code at the point of the call that
does exactly that anyway, so just do that all of the time.
2010-10-20 23:58:20 +02:00
Javier Jardón
3fcec464ac
gtk.symbols: Add missing GtkApplication api
2010-10-20 20:46:48 +02:00
Michael Natterer
0f2d1547f8
gdk: add alpha to the offscreen window's surface if its visual is RGBA
2010-10-20 17:44:23 +02:00
Michael Natterer
c2f29f2cef
gtk: clean up GtkWidget signals
...
- add slots for damage-event, move-focus and keynav-failed
- reorder signals a bit so related stuff is grouped together
- some indentation fixes in the GtkWidgetClass
- remove the move-focus compat hack from GtkTextView
- turn the move-focus compat hack in GtkWindow into properly
implementing GtkWidget::move-focus()
2010-10-20 17:02:38 +02:00
Emmanuele Bassi
ef9a6f205c
Re-add copyright notice
...
https://bugzilla.gnome.org/show_bug.cgi?id=632677
2010-10-20 12:05:23 +01:00
Richard Hughes
55f76d8bee
Do not install the hello-world and window-default example programs
2010-10-20 11:57:58 +01:00
Michael Natterer
283f7ddd6c
tests: gdk_device_get_history() takes "gint *n_events" again, not guint
2010-10-20 12:50:21 +02:00
Emmanuele Bassi
2cc059a0e7
Split off gtkprivate.h
...
The gtkprivate.h header contains GtkWidget-specific private symbols that
are not useful except in a handful of cases. Basically everything
includes gtkprivate.h for the GTK_PARAM_* macros.
https://bugzilla.gnome.org/show_bug.cgi?id=632539
2010-10-20 10:34:26 +01:00
Emmanuele Bassi
9b34bf17e5
build: Do not install gtkprivate.h
...
This is a private header file, and it should *not* be installed. It
should also not be scanned by the introspection machinery.
https://bugzilla.gnome.org/show_bug.cgi?id=632539
2010-10-20 10:34:25 +01:00
Emmanuele Bassi
9f9edb662e
settings: Move setting property registration in gtksettings.c
...
Some GtkSettings property are registered by other classes. This leads
to the "interesting" issue that setting GtkSettings:gtk-button-images
requires that the GtkButton class is referenced first - or that a
GtkButton is created.
https://bugzilla.gnome.org/show_bug.cgi?id=632538
2010-10-20 10:34:25 +01:00
Javier Jardón
9f035742e3
gtkapplication: fix docs
2010-10-20 11:07:11 +02:00
Matthias Clasen
0219eea4d7
Remove GtkComboBoxEntry and the combo box text api
2010-10-20 11:02:03 +02:00
Ryan Lortie
c5ebb61b6f
GtkApplication: add gtk_application_get_windows()
...
Return a GList of the GtkWindow objects for each window that has the
application set as its "application" property.
2010-10-19 21:10:02 +02:00
Javier Jardón
9b3ee686ea
Completely remove gtk_widget_hide_all
...
This completes commit d1a9d764a8
2010-10-19 20:25:33 +02:00
Matthias Clasen
d1a9d764a8
Remove gtk_widget_hide_all()
...
it's useless and a trap for programmers
https://bugzilla.gnome.org/show_bug.cgi?id=438318
2010-10-19 19:31:38 +02:00
Matthias Clasen
4824a73084
Add padding to class structs
2010-10-19 19:07:36 +02:00
Matthias Clasen
921f069269
Remove the outdated faq
...
It mainly contains information that is already covered in the
API docs, or is outdated, or refers to no longer existing widgets.
2010-10-19 18:22:08 +02:00
Kristian Rietveld
6e4643de14
Make gdk_pixbuf_get_from_surface() accept negative src_x,y coordinates
2010-10-19 14:07:39 +02:00
Kristian Rietveld
046ca498de
dnd-quartz: get hot spot from device offset for surface and use this
2010-10-19 14:07:39 +02:00
Kristian Rietveld
8ac7f64123
dnd-quartz: take hot spot into account when setting up drag
2010-10-19 14:07:39 +02:00
Michael Natterer
a1134e5622
gdk: change signature of gdk_device_get_history() back to what it used to be
...
"n_events" went back from guint to gint.
2010-10-19 13:30:42 +02:00
Jorge González
e09e8718f8
Updated Spanish translation
2010-10-19 12:39:25 +02:00
krishnababu k
7eb42bbc7f
Updated Telugu Translations
2010-10-19 15:57:59 +05:30
Javier Jardón
04900c8caa
docs: Update templates
2010-10-19 03:31:02 +02:00
Javier Jardón
bf4ee1b52b
configure.ac: Update Glib required version to 2.27.1
2010-10-19 03:06:49 +02:00
Ryan Lortie
ab5fb5dee5
GtkApplication rewrite
2010-10-19 01:31:09 +02:00
Benjamin Otte
ff142ac2ef
gtk: Add gtk_widget_queue_draw_region()
...
People were requesting it and it mirrors the behavior of GdkWindow.
2010-10-18 19:22:44 +02:00
Benjamin Otte
9e31ef616d
cups: Add hack to work around gcc warning
...
gcc warns if you switch on values that are not part of the enum you're
switching on. So handle those cases in the default handler by using if
statments.
PS: Someone file a bug against cups about this?
2010-10-18 19:22:44 +02:00
Benjamin Otte
3b8a264a5e
print: Make things compile again
...
Remove workaround for entries - the general codepath should just work.
2010-10-18 19:22:44 +02:00
Benjamin Otte
3a55137709
selection: Hi, I can't get my code right
...
Also, I refuse to compile with -Werror, so I don't notice.
2010-10-18 19:22:44 +02:00
Benjamin Otte
6e90804b30
notebook: Hi, I can't get my function prototypes right
...
Also, I refuse to compile with -Werror
2010-10-18 19:22:43 +02:00
Benjamin Otte
e0d7da3c8c
x11: Set GDK_PIXBUF_ENABLE_BACKEND before including files
...
Otherwise we get an undefined gdk_pixbuf_set_option().
2010-10-18 19:22:43 +02:00
Benjamin Otte
206b41c6f6
widget: Remove special case in gtk_widget_queue_draw_area()
...
This path would only do anything where widget->window was not located at
widget->allocation.x/y but at a different position. This should never
happen in the real world. But if it does, GTK3 will break for you.
Better fix your widget.
2010-10-18 19:22:43 +02:00
Colin Walters
d34b9ed192
introspection: Filter out all headers ending in "private"
...
We were including at least "gtkprivate.h" before.
2010-10-18 13:02:41 -04:00
Ryan Lortie
8cca398a2f
Gdk X11: Add setter for startup notify ID
...
For launch requests coming in over DBus.
2010-10-18 17:21:22 +02:00
Matthias Clasen
b613cc6478
Don't add a second cell renderer
...
When has-entry is TRUE, GtkComboBox already adds a cell renderer
for the text column, so avoid adding a second one in GtkComboBoxText.
https://bugzilla.gnome.org/show_bug.cgi?id=632381
2010-10-18 08:13:41 -04:00
Jorge González
8d456e3c50
Updated Spanish translation
2010-10-18 11:32:45 +02:00
Christian Dywan
6db62c6617
Use new GtkComboBoxEntry in all tests
2010-10-18 09:13:44 +02:00
Christian Dywan
f891c58432
Don't use old GtkComboBoxEntry in gail
...
Use gtk_combo_box_get_has_entry instead.
2010-10-18 09:13:44 +02:00
Christian Dywan
ba32934ea6
Add gtk_combo_box_{get,set}_popup_fixed_width to gtk.symbols
2010-10-18 09:13:44 +02:00
Kristian Rietveld
cc22469b69
Icon view must layout before the draw handler is called
...
gtk_icon_view_layout(), which can resize the bin window and thus
underlying surfaces, could be called from gtk_icon_view_draw(). So
we have to make sure that layouting is done before the draw handler is
called. We use the same construction as in tree view here, the layout
idle handler is installed with a higher priority than
GDK_PRIORITY_REDRAW and we wrap the call to gdk_window_process_updates()
in a new function that will flush the layout queue beforehand.
2010-10-17 10:30:46 +02:00
Kristian Rietveld
f27d7bdea5
Implement gtk_drag_set_icon_surface in gtkdnd-quartz
2010-10-17 10:30:46 +02:00
Kristian Rietveld
d2c6533107
Fix typo in docs
2010-10-17 10:30:46 +02:00
Kristian Rietveld
47969615b2
Use cairo_surface_destroy instead of g_object_unref
2010-10-17 10:30:46 +02:00
Takayuki KUSANO
b06f05e72c
Updated Japanese translation
2010-10-17 15:12:27 +09:00
Tristan Van Berkom
31abdf723a
Allow GtkComboBox popup to be wider than the combo itself.
...
This patch adds a GtkComboBox:popup-fixed-width to decide if the
popup's width should be a fixed width matching the combo's allocated width.
The patch includes a kindof hack to work around treeviews currently
not supporting height-for-width geometry (for list-mode only), this
hack can be safely removed once treeviews start reporting natural
widths properly.
2010-10-17 14:11:27 +09:00
Matthias Clasen
17cd0db6a8
Fix some GtkComboBoxText problems
...
We must use entry-text-column explicitly to 0, since it defaults to -1.
2010-10-16 08:17:34 -04:00
Matthias Clasen
a62e1b95bc
Fix some GtkComboBoxText problems
2010-10-16 08:16:55 -04:00
Kjartan Maraas
098d23c096
Updated Norwegian bokmål translation
2010-10-16 12:22:01 +02:00
Javier Jardón
f2ae6814e7
docs: Remove template about deprecated GtkItemFactory
2010-10-16 05:24:24 +02:00
Matthias Clasen
963f6c587a
Bump version to 2.91.2
2010-10-15 22:38:37 -04:00
Matthias Clasen
2dd3317522
More distcheck fixes
2010-10-15 21:55:17 -04:00
Matthias Clasen
c6c1871734
Add filechooser settings gschema to EXTRA_DIST
2010-10-15 21:20:13 -04:00
Matthias Clasen
bd7e3852ac
More examples removal
2010-10-15 20:59:38 -04:00
Matthias Clasen
9ae2c1fcf9
Drop crazy listing of all example files
...
This will likely mean that the old examples will not appear in the
tarball until they have been integrated in the new 'getting started'
docs.
2010-10-15 20:53:07 -04:00
Matthias Clasen
39529dcfed
Fix make distcheck
2010-10-15 20:48:37 -04:00
Matthias Clasen
4869aeb28d
Update POTFILES.in
2010-10-15 20:20:25 -04:00
Matthias Clasen
a0aed8402b
Remove a private symbol from gtk.symbols
2010-10-15 20:14:11 -04:00
Matthias Clasen
4f9175d7fc
Temporarily disable test involving file choosers
...
After the filechooser got converted to use gsettings, it can no
longer be used uninstalled, breaking make distcheck here.
Also disable the treeview-scrolling tests, since they are failing
here.
2010-10-15 20:14:11 -04:00
Matthias Clasen
f87b26a653
Fix up symbol lists
2010-10-15 20:14:11 -04:00
Javier Jardón
45c463e376
GtkComboBoxText: Use gtk_combo_box_text_remove instead gtk_combo_box_text_remove_text
2010-10-16 02:07:38 +02:00
Matthias Clasen
2dbfca9d02
Update NEWS for 2.91.1
2010-10-15 19:01:36 -04:00
Matthias Clasen
88d74e23fa
Remove tutorial from configure.ac
2010-10-15 18:18:58 -04:00
Marek Kasik
95e69afea8
Parse lpoptions correctly
...
Parse options job-sheets, job-hold-until and sides correctly.
Add get_lpoption_name() for translation of lpoption names to
gtk option names. Usable for options which values don't need
conversion (e.g. number-up, number-up-layout, job-billing
and job-priority).
Rename array option_names to ppd_option_names to reflect its
purpose better. Rename get_option_name() to get_ppd_option_name()
because of the same reason.
2010-10-15 17:01:16 -04:00
Christian Dywan
d70b7f49b6
Use property system to coerce model data to G_TYPE_STRING
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=423201
2010-10-15 17:00:13 -04:00
Matthias Clasen
50cbd23d5b
docs: cross-reference to GtkComboBoxText
2010-10-15 16:58:28 -04:00
Matthias Clasen
3e9bdf6fd9
Add docs for GtkComboBoxText
2010-10-15 16:58:27 -04:00
Matthias Clasen
3e2a259a78
docs: fix a cross-reference
2010-10-15 16:58:27 -04:00
Matthias Clasen
43250e8faf
Deprecate the old combobox text convenience api
2010-10-15 16:58:27 -04:00
Javier Jardón
e7f51ef6a4
Use the new GtkComboBoxText API
...
Also remove mentions of the old text convenience API from the docs,
and point to GtkComboBoxText instead.
2010-10-15 16:58:27 -04:00
Matthias Clasen
99cfbecf46
Add gtk_combo_box_text_new_with_entry
...
Also, make use of the configured entry_text_column.
2010-10-15 16:58:26 -04:00
Matthias Clasen
8353754c17
docs: adjust Since tags
2010-10-15 16:58:26 -04:00
Christian Dywan
a16722fc3a
Use text column value in GtkComboBoxText
2010-10-15 16:58:26 -04:00
Christian Dywan
7a5a5e9c5d
Added GtkComboBoxText api
...
This is a derived class of GtkComboBox to replace the
gtk_combo_box_*_text() convenience API.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=612396
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-10-15 16:58:26 -04:00
John Ralls
27ad64dccf
Bug 631719 - Restore second, more important, call to set label from the menu item.
2010-10-15 13:14:19 -07:00
Javier Jardón
80d3f1fcda
docs: update OSX port project page
2010-10-15 20:55:32 +02:00
Alberto Garcia
8d05e74212
Make gtk_accelerator_get_default_mod_mask() return a GdkModifierType
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=313350
2010-10-15 14:46:22 -04:00
Christian Persch
b5621b3c89
Take cursor hotspot from pixbuf if available
...
Allow -1 for the hotspot coordinates in gdk_cursor_new_from_pixbuf,
if the pixbuf contains the x_hot/y_hot options with appropriate values.
Bug #632140 .
2010-10-15 14:38:21 -04:00
Javier Jardón
cbc358ead8
docs: Document GtkScrolledWindow's signals
...
Based on a patch by Björn Lindqvist
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=351247
2010-10-15 20:34:07 +02:00
Matthias Clasen
921fc8807c
Deprecate gtk_init_add, gtk_remove_add and friends
...
This functions are going to be removed in GTK+ 3.
https://bugzilla.gnome.org/show_bug.cgi?id=629955
2010-10-15 14:13:32 -04:00
Colin Walters
18578b33c5
Add boxed type and constructor
...
This allows bindings to sanely construct these.
https://bugzilla.gnome.org/show_bug.cgi?id=632095
2010-10-15 13:54:37 -04:00
Matthias Clasen
f87023d8ee
Forgotten file
2010-10-15 13:07:08 -04:00
Matthias Clasen
0ff28d72f6
examples: build examples that are included in the docs
...
We build the examples that are included in the 'getting started'
chapter of the docs to prevent them from bitrotting. Also
remove the awk scripts used to extract the old examples from
the tutorial, since the tutorial is gone. I'm still leaving
the examples themeselves in place, for possible inclusion in
'getting started' later on.
2010-10-15 13:02:50 -04:00
Matthias Clasen
ef7fddac3b
docs: Drop the old tutorial
...
The tutorial is outdated, essentially stuck at GTK+ 2.0.
At this point, it is more misleading than helpful.
2010-10-15 13:02:50 -04:00
Matthias Clasen
28cb8583c3
docs: move some tutorial content to the reference
...
We add a "Getting started" chapter that will grow into a
(hopefully) non-outdated, maintained tutorial. For now, it
includes two minimal examples by xincluding them.
2010-10-15 13:02:50 -04:00
Emmanuele Bassi
f085c8b272
docs: Move the introduction of the tutorial in the reference
...
The tutorial should just go away, but some of its contents can be moved
to the API reference as chapters.
https://bugzilla.gnome.org/show_bug.cgi?id=632059
2010-10-15 13:02:50 -04:00
Benjamin Otte
22d28ef47d
x11: Don't set ParentRelative if the parent's visual is different
...
It's like 82e6e32c , but when a pattern is given as argument.
https://bugzilla.gnome.org/show_bug.cgi?id=632218
2010-10-15 17:10:05 +02:00
Matthias Clasen
56e797397b
Improve GtkBox and GtkTable docs a bit
...
This adds some details gleaned from the tutorial, before its
impending demise.
2010-10-15 10:58:35 -04:00
Emmanuele Bassi
17ffcb0cc6
link-button: Add ::activate-link signal
...
We cannot use the GtkButton::clicked signal to override the default
behavior of GtkLinkButton (i.e. call gtk_show_uri()), because
GtkButton::clicked is registered as a RUN_FIRST signal, which obviously
prevents any other signal handler connected to it to stop the
propagation before the class handler has a chance to run.
For this reason we can add a GtkLinkButton::activate-link signal, which
will be emitted by the default GtkButton::clicked signal handler; the
::activate-link signal has a boolean return value, which allows simpler
code for stopping the propagation to the next signal handler.
https://bugzilla.gnome.org/show_bug.cgi?id=632150
2010-10-15 10:36:01 +01:00
Tristan Van Berkom
d7c7f010b0
Removed screwy GtkScrolledWindow logic
...
Removed portion of scrolled-window that observes user-set
size request data (aux_info->width/height) on the child directly
in order to derive it's minimum possible size... if the scrolled
window has (auto/always) scrollbars in a said orientation; only
request enough space for the scrollbars (bug 631976).
2010-10-15 14:14:14 +09:00
Matthias Clasen
479dc131ee
Implement get_preferred_width/height in GtkEventBox
...
And drop size_request.
2010-10-14 23:04:24 -04:00
Matthias Clasen
aaf0f0f5c3
Use gtk_container_handle_border_width() in GtkEventBox
2010-10-14 22:34:39 -04:00
Matthias Clasen
bda1f35585
Inclusion cleanups in sources
...
Try to do inclusions in the same sequence, more or less.
2010-10-14 22:09:36 -04:00
Matthias Clasen
88ef199ed7
Inclusion cleanups in headers
2010-10-14 22:08:53 -04:00
Matthias Clasen
9d644e9d2d
Make gdk.h an include-only header
...
Move declarations to other headers, and introduce some new ones:
gdkmain.h, gdkrectangle.h, gdkthreads.h.
2010-10-14 22:08:48 -04:00
Matthias Clasen
e613d26448
Drop dead gxid_proto.h header
...
This header is no longer used.
2010-10-14 22:08:26 -04:00
Matthias Clasen
9ff4f0819f
Some GDK documentation fixes
2010-10-14 21:45:56 -04:00
Fridrich Štrba
733f1710c6
Enable the build of MS Windows engine again
...
The MS Windows engine compiles anew, so enable it so that one can fix remaining issues
2010-10-14 20:56:30 +02:00
Federico Mena Quintero
85e47b5c4e
Part of bgo#613728 - [GtkTreeView] Focus the list, not the headers, when Tab-focusing
...
The idea is that it is way more common to want to manipulate the
actual list, rather than the headers. Once you Tab into the treeview
(and the list part gets the focus), you can use Shift-Tab to focus
the headers.
This means that some hysteresis is added to the focus chain, but
it makes the treeview a lot more convenient to focus with the keyboard.
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2010-10-14 13:17:46 -05:00
Kristian Rietveld
5cbb309841
Initialize device_cursor hash table before creating impl window
2010-10-14 18:01:51 +02:00
Kristian Rietveld
aeec832f0e
Do not call validate_visible_area() from the draw method
...
Because validate_visible_area() can modify the window size (and thus
the underlying surface), it should not be called from within the draw
method. Given that the presize handler is run with a higher priority
than redraw, and the presize handler will validate the visible area,
there should not be cases wherein the draw method is called and
validate_visible_area() has not been run yet.
However, one such a case was gdk_window_process_updates(), which would
trigger the draw method at some point. We now work around this
by factoring this in a new gtk_tree_view_bin_process_updates() function
that will run the presize handler first if needed.
Note: for other platforms, it might still be the case that the draw
method is called and validate_visible_area() has not been run yet.
(For example the Mac backend calls gdk_window_process_updates() from
the drawRect method, and the redraw-in-idle handling thus works
differently). This does not seem to be a problem now, if
it will be in the future we need to take care of that then.
2010-10-14 17:26:17 +02:00
Kristian Rietveld
4fc31dd87a
Add test for bug 163214
2010-10-14 16:47:00 +02:00
Kristian Rietveld
51820d3e34
Add test for bug 111500
...
This test is constructed in such a way that it breaks when you
(currently!) do not trigger a size-request from validate_visible_area.
Especially row expansion appears to have a need for this currently.
2010-10-14 16:47:00 +02:00
Kristian Rietveld
e774e235d7
Add unit test for bug 93584
2010-10-14 16:47:00 +02:00
Kristian Rietveld
359818d6b7
Also test scrolling to a new row in a mixed height model
2010-10-14 16:47:00 +02:00
Martin Schlemmer
3d31254fd9
Trying to fix MS Windows engine
2010-10-14 14:20:04 +02:00
Matthias Clasen
34b117865a
Initialize variables
...
valgrind was complaining about uninitialized values here, and
sure enough, gdkdevice-xi.c doesn't set device position.
2010-10-14 08:14:33 -04:00
Benjamin Otte
407b73dd80
build: Require cairo-gobject for GDK
...
With the new signal added, GDK now also requires cairo-gobject.
2010-10-14 13:53:23 +02:00
Michael Natterer
4ca2632d42
gdk: add slots for all GdkWindowObject signals
...
Also add padding for future extension.
2010-10-14 13:43:08 +02:00
Michael Natterer
9d9742f1e5
Bug 631599 - Allow to use arbitrary surfaces for offscreen windows
...
Add signal GdkWindow::create-surface which allows to use any
surface type as storage for offscreen windows.
Test the new signal in tests/gdkoffscreenbox.c
2010-10-14 13:25:23 +02:00
Michael Natterer
10c76c1c95
gtk: add cast to fix warning in my last commit
2010-10-14 11:35:30 +02:00
Cody Russell
44cb3bcfed
Implement style_set() for GtkWindow to resize window grips when the style changes.
2010-10-13 23:04:11 -05:00
Tristan Van Berkom
9612c64817
Deprecate GtkComboBoxEntry in favor of added properties to GtkComboBox
...
GtkComboBox now sports a construct-only "has-entry" property which
decides if it uses a GtkEntry to allow additional user input. Also
it has a new "entry-text-column" to fetch strings for the entry
from the model.
This patch deprecates the GtkComboBoxEntry and updates the rest of GTK+
to use the new semantics on GtkComboBox instead.
GtkComboBoxEntry will be removed altogether before GTK+ 3, in a
later commit.
2010-10-13 21:52:27 -04:00
Matthias Clasen
7c8ee80c5a
Add new API to docs and symbol list
2010-10-13 11:24:56 -04:00
Matthias Clasen
7791013754
Support GtkWidget expand properties in GtkNotebook
...
We expand a tab if either tab-expand is set, or the generic widget
expand property in the correct direction is set. And we do not
propagate expand flags from tab labels to the notebook, only
the expand flags from the pages.
2010-10-13 10:49:06 -04:00
Matthias Clasen
48de50df89
Support GtkWidget expand properties in GtkTable
...
We expand a child when it either has the table-specific expand flag
or the generic expand property set. Override compute_expand so that
it also takes the table-specific expand flags of children into
account.
https://bugzilla.gnome.org/show_bug.cgi?id=628902
2010-10-13 10:49:06 -04:00
Matthias Clasen
29ce9e679a
Add a GtkTable testcase
2010-10-13 10:49:06 -04:00
Havoc Pennington
8abb18f910
Support GtkWidget expand properties in GtkBox
...
This consists of:
* expand a child if either child->expand || gtk_widget_get_expand(child)
* override compute_expand so that child->expand will cause us to
return TRUE for gtk_widget_get_expand()
https://bugzilla.gnome.org/show_bug.cgi?id=628902
2010-10-13 10:49:06 -04:00
Havoc Pennington
7597a35477
add tests/testexpand.c used to test the expand props on GtkWidget
...
There are two colored boxes with toggle buttons nested
inside several GtkBox. Toggling these to expand mode
should automatically propagate expansion up through
the several GtkBox such that resizing the window
results in resizing the colored boxes.
https://bugzilla.gnome.org/show_bug.cgi?id=628902
2010-10-13 10:49:04 -04:00
Havoc Pennington
031856eb33
Add horizontal and vertical expand flags, compute_expand() to GtkWidget
...
GtkWidget now has flags for horizontal and vertical expand, and
a compute_expand() method. compute_expand() is used by containers
to set a default expand flag. (If a widget has expand set explicitly,
it always overrides the results of compute_expand.)
GtkContainer has a default implementation of compute_expand which
simply walks over all child widgets and sets expand=TRUE
if any child is expanding.
The overall effect is that you only have to set expand on
leaf nodes in the widget tree, while previously you had to
set expand all the way up the tree as you packed every
container. Also, now containers need not have their own child
properties for expand.
For old containers which do have "expand" child properties,
they should override compute_expand and include the child
properties in whether the container is expand=TRUE.
Also, the old container should use
"child_prop_expand || gtk_widget_compute_expand()" everywhere
it previously used simply "child_prop_expand"
https://bugzilla.gnome.org/show_bug.cgi?id=628902
2010-10-13 10:40:07 -04:00
Matthias Clasen
7d5a85c3ad
Some more resize grip cleanups
...
Don't recompute hints whenever we determine the drag edge, and
take the drag edge into account when deciding whether to show
the grip.
2010-10-13 10:39:09 -04:00
Matthias Clasen
9e661ed0e9
Unify handling of GtkWindow::resizable property
2010-10-13 10:23:51 -04:00
Matthias Clasen
b36819957f
Remove GtkWrapBox from the docs, too
2010-10-13 10:21:04 -04:00
Matthias Clasen
dbdc9c99e5
Make GtkRecentManager use standard icon names for themed icons
2010-10-13 10:18:03 -04:00
Matthias Clasen
f8b8c95f45
Some resize grip cleanups
...
Safe space in the private struct, always set the cursor when we
update visibility, since the cursor depends on resizability conditions
too. And don't set the shape needlessly.
2010-10-13 09:51:54 -04:00
Tristan Van Berkom
e3cc39cb98
Removed all traces of GtkWrapBox from GTK+.
2010-10-13 22:26:44 +09:00
Matthias Clasen
5e1d8814ca
Don't start a drag if we are not resizable
...
This was caused by get_drag_edge() returning -1 to mean 'no drag',
but callers didn't really pay attention. Change get_drag_edge()
to return a boolean instead.
2010-10-13 08:31:06 -04:00
Christian Persch
803233cc14
Use GSettings for the filechooser settings
...
Bug #630850 .
2010-10-13 14:31:07 +02:00
Jorge González
a2e88f9b80
Updated Spanish translation
2010-10-13 14:26:30 +02:00
Jorge González
3b7cbaa47f
Updated Spanish translation
2010-10-13 01:25:28 +02:00
Jorge González
af31afb906
Updated Spanish translation
2010-10-12 21:56:42 +02:00
Michael Natterer
6bdc9b7f8a
Bug 563002 - Doesn't call 'update-preview' on set_filename
...
Call gtk_tree_view_set_cursor() in addition to
gtk_tree_selection_select_iter() when selecting the file in
show_and_select_files() so the preview update machinery gets
triggered.
(cherry picked from commit 795c8070db )
2010-10-12 21:27:21 +02:00
Matej Urbančič
4469d2cde1
Updated Slovenian translation
2010-10-12 20:09:27 +02:00
Kristian Rietveld
25bf8ba4de
Don't check resize-grip-visible in default values unit test
...
The value for this property is determined at runtime.
2010-10-12 19:12:44 +02:00
Kristian Rietveld
d7c3d378eb
Disable resize grip on spin button test
...
Otherwise, the resize grip obscures the decrement button causing the
test to fail.
2010-10-12 19:12:44 +02:00
Kristian Rietveld
c143105ae9
Fix scrolled window policy so the size allocation does not "flap"
2010-10-12 19:12:44 +02:00
Kristian Rietveld
65c3fc9953
Handle off-by-one errors due to rounding
2010-10-12 19:12:44 +02:00
Kristian Rietveld
b58e3bb30c
Use double iso. float since that is what GtkAdjustment uses
2010-10-12 19:12:44 +02:00
Kristian Rietveld
e732c16aab
Use GtkAdjustment accessors to properly compress changed signals
2010-10-12 19:12:44 +02:00
Matthias Clasen
c7e024d160
Rework GdkPangoRenderer example to use existing api
2010-10-12 11:29:56 -04:00
Matthias Clasen
abb25b7895
docs: add a longdesc for X-specifics
2010-10-12 11:29:56 -04:00
Matthias Clasen
0a8abdcdf6
docs: Update cairo-related docs
2010-10-12 11:29:55 -04:00
Matthias Clasen
d8700a02f1
docs: Remove mentions of GdkPixmap from cursor docs
2010-10-12 11:29:55 -04:00
Matthias Clasen
ec7c2acf7b
Move GdkVisualType docs inline
2010-10-12 11:29:55 -04:00
Matthias Clasen
4d63d96762
docs: Correct some link targets
2010-10-12 11:29:55 -04:00
Jorge González
2853db41f8
Updated Spanish translation
2010-10-12 17:16:12 +02:00
Tor Lillqvist
eae3183f1c
Add two new functions to gtk.symbols
2010-10-12 14:39:30 +03:00
Michael Natterer
bef6c0a4a3
Bug 631599 - Allow to use arbitrary surfaces for offscreen windows
...
As a first step, create surfaces lazily and factor surface creation
out to a single function.
2010-10-12 11:34:20 +02:00
Tristan Van Berkom
e85dad38e2
Added logic to GtkScrolledWindow when allocating height-for-width children.
...
This patch makes the scrolled window reconsider allocating the child
the full width or height (depending on the child's request mode) without
a scrollbar. For instance when the child is height-for-width; the child
will first be tested if the content's height for full allocated width
(without a vscrollbar) will allow the contents height for that width
to fit the allocated height.
Patch is a simplified version of code inspected in st-scroll-view.c.
Note that this patch assumes children will begin to scroll only after
reaching their minimum size; adding a property to the future
GtkScrollableIface to decide whether to scroll-to-minimum or scroll-to-natural
will effect this code (it should then reconsider whether the child
will scroll below the natural size instead of the minimum).
Patch addresses bug 629778.
2010-10-12 17:16:32 +09:00
Tristan Van Berkom
0e0d938cc3
Make GtkScrolledWindow offload border-width calculations to GtkContainerClass.
2010-10-12 17:10:55 +09:00
Matthias Clasen
f106d369a7
Don't link to old stuff
2010-10-12 01:10:32 -04:00
Matthias Clasen
5a6ea62125
Add a missing close tag
2010-10-12 01:05:39 -04:00
Matthias Clasen
b23dc8477f
Remove a note about GTK 1.2 api
2010-10-12 00:57:13 -04:00
Matthias Clasen
36f1d08bce
Fix a trivial typo
2010-10-12 00:50:18 -04:00
Matthias Clasen
6899956770
Reorder some sections
2010-10-12 00:47:49 -04:00
Matthias Clasen
cf1745a935
Remove mentions of dialog separator from the docs
2010-10-12 00:38:04 -04:00
Matthias Clasen
82712a150a
Some documentation updates
2010-10-12 00:33:38 -04:00
Matthias Clasen
e0c2a4e10f
Inspect geometry when setting resize grip cursors
...
We want to use the same cursor as metacity when the window is only
resizable in one dimension.
2010-10-11 23:26:58 -04:00
Owen W. Taylor
a4a7a611f2
GtkWindow: Allow setting size from geometry
...
If you set a geometry widget via gtk_window_set_geometry_hints() it
becomes very hard to compute appropriate toplevel sizes in pixels
to make the window a particular size. Synthesizing strings and passing
them to gtk_window_parse_geometry() is possible, but to avoid
avoid such ugliness, add functions:
gtk_window_set_default_geometry()
gtk_window_resize_to_geometry()
That act like gtk_window_set_default_size() and
gtk_window_resize() but are in terms of the resize increments of the
geometry widget.
https://bugzilla.gnome.org/show_bug.cgi?id=631796
2010-10-11 14:06:16 -04:00
Owen W. Taylor
519d758711
Warn when calling gtk_window_parse_geometry() on an empty window
...
gtk_window_parse_geometry() gets the size of the window in order
to interpret the position of the window; calling it before, say,
calling gtk_widget_show_all() on a window is a subtle trap, so
add a warning in the case we can easily detect.
https://bugzilla.gnome.org/show_bug.cgi?id=631794
2010-10-11 14:06:03 -04:00
Owen W. Taylor
88cf547029
Fix handling of the geometry widget
...
The geometry widget feature of gtk_window_set_geometry_hints() has
never really worked right because the calculation that GTK+ did to
compute the base size of the window only worked when the geometry
widget had a larger minimum size than anything else in the window.
Setup:
* Move the GtkSizeGroup private functions to a new private header
gtksizegroup-private.h
* Add the possibilty to pass flags to _gtk_size_group_queue_resize(),
with the flag GTK_QUEUE_RESIZE_INVALIDATE_ONLY to suppress adding
the widget's toplevel to the resize queue.
* _gtk_container_resize_invalidate() is added to implement that feature
* _gtk_widget_override_size_request()/_gtk_widget_restore_size_request()
allow temporarily forcing a large minimum size on the geometry
widget without creating resize loops.
GtkWindow:
* Compute the extra width/height around the geometry widget
correctly; print a warning if the computation fails.
* Always make the minimum size at least the natural minimum
size of the toplevel; GTK+ now fails badly with underallocation.
* Always set the base size hint; we were failing to set it
properly when the specified minimum size was overriden, but
it's harmless to always set it.
Tests:
* New test 'testgeometry' that replaces the 'gridded geometry' test
from testgtk. The new test is roughly similar but creates a bunch
of windows showing different possibilities.
* The testgtk test is removed. No need to have both.
https://bugzilla.gnome.org/show_bug.cgi?id=68668
2010-10-11 14:05:29 -04:00
Tristan Van Berkom
c250a7e673
Added documentation to GtkContainer about implementing containers using height-for-width apis.
2010-10-12 00:47:43 +09:00
Vincent Untz
4490aeddf7
build: Distribute README.multipress
...
https://bugzilla.gnome.org/show_bug.cgi?id=631872
2010-10-11 15:21:56 +02:00
Fran Diéguez
70228649ee
Updated Galician translations
2010-10-11 10:22:04 +02:00
Ivar Smolin
4588408268
[l10n] Updated Estonian translation
2010-10-11 09:40:35 +03:00
Javier Jardón
c2ab54a31f
docs: Move documentation do inline comments: GtkContainer
2010-10-11 05:13:45 +02:00
Javier Jardón
cabc386252
docs: Improve reference crossing in GtkWidget docs
2010-10-11 05:04:20 +02:00
Xan Lopez
71b4d83144
Plug memory leak in GtkWindow
...
1,936 (112 direct, 1,824 indirect) bytes in 4 blocks are definitely lost in loss record 13,453 of 13,673
at 0x4005BDC: malloc (vg_replace_malloc.c:195)
by 0x69615A1: cairo_region_create (cairo-region.c:196)
by 0x683BFBF: gdk_cairo_region_create_from_surface (gdkcairo.c:455)
by 0x670C882: set_grip_shape (gtkwindow.c:5020)
by 0x670CFBF: resize_grip_create_window (gtkwindow.c:5271)
by 0x670C466: gtk_window_realize (gtkwindow.c:4902)
Signed-off-by: Benjamin Otte <otte@redhat.com >
2010-10-11 02:33:25 +02:00
Xan Lopez
3f3d33ee6c
Plug leak in gdkcairo.c
...
1,968 (1,236 direct, 732 indirect) bytes in 1 blocks are definitely lost in loss record 11,816 of 11,947
at 0x4025BDC: malloc (vg_replace_malloc.c:195)
by 0x6950676: _context_get (cairo.c:250)
by 0x6950940: cairo_create (cairo.c:370)
by 0x685CD1E: _gdk_cairo_surface_extents (gdkcairo.c:381)
by 0x685CEDA: gdk_cairo_region_create_from_surface (gdkcairo.c:433)
Signed-off-by: Benjamin Otte <otte@redhat.com >
2010-10-11 02:33:09 +02:00
Javier Jardón
ee58c6c37d
docs: Move documentation to inline comments: GtkScrolledWindow
2010-10-11 02:17:08 +02:00
Javier Jardón
9009683247
docs: Region returned by gdk_cairo_region_create_from_surface() should be freed
2010-10-11 02:17:08 +02:00
Gil Forcada
0afd8be7ef
Updated Catalan translation
2010-10-10 23:22:40 +02:00
Simos Xenitellis
120a1006da
l10n: Updated Greek translation for gtk+ properties
2010-10-10 21:18:39 +03:00
Jorge González
6c258b863d
Updated Spanish translation
2010-10-09 14:26:20 +02:00
A S Alam
ff2476152b
updating translation for Punjabi
2010-10-09 08:27:32 +05:30
Matthias Clasen
9d750ad13e
Fix a problem with 'resize grip avoidance' in scrollbars
...
We need to be a little more careful when determining the overlap
between the new allocation and the grip area. This was causing
vertical scrollbars in evince to overlap with the grip.
2010-10-08 22:04:33 -04:00
Matthias Clasen
2f8f0d8eab
Check for grip_window != NULL in gtk_window_draw
...
This is safer, since GtkWindow subclasses may override realize
and end up with has_resize_grip == TRUE, but grip_window still
being NULL - as is the case with GtkPlug.
2010-10-08 20:19:24 -04:00
William Jon McCann
de3e703444
gail: GtkTreeViewColumn doesn't have a destroy signal anymore
...
Replace with g_object_set_qdata_full usage.
2010-10-08 19:57:06 -04:00
William Jon McCann
f8b573766d
Don't assume widgets are containers when walking the focus tree
...
This causes problems for links in labels.
2010-10-08 19:27:35 -04:00
Colin Walters
6c537bd0bf
autogen: Explicitly allow libtool > 2.2
...
Apparently 2.4 is out, I'm not aware of a reason we shouldn't
allow it.
2010-10-08 16:46:50 -04:00
Matthias Clasen
31a45c957c
Fix grip window positioning
...
We need to position the grip window in size_allocate after all,
otherwise the grip ends up in the wrong place when the window
is realized early.
Also, avoid shadowing a variable.
2010-10-08 14:21:11 -04:00
Matthias Clasen
0ebf090d9e
Don't show resize grips on override-redirect window
2010-10-08 14:01:46 -04:00
Matthias Clasen
9b9ccb56b1
Make GtkPaned use gtk_container_class_handle_border_width
2010-10-08 11:11:33 -04:00
Matthias Clasen
f7418b1652
Make GtkPaned use gtk_container_class_handle_border_width
2010-10-08 10:45:24 -04:00
Matthias Clasen
c113b8e229
Make GtkPathBar use gtk_container_class_handle_border_width
2010-10-08 10:27:00 -04:00
Tristan Van Berkom
5a7cfa7fb9
Migrated old GtkSizeRequestIface documentation to GtkWidget and added notes to gtk_widget_get_preferred_size().
2010-10-08 23:18:05 +09:00
Christian Dywan
e9a7a2104b
Use and print note for key only if there are credentials
...
Otherwise key might be printed uninitialized.
2010-10-08 16:03:49 +02:00
Tristan Van Berkom
3267cd08e9
Removed call to get_preferred_size (widget, NULL, NULL);
...
This was another case of making sure size-request was called
before other code was doing get_child_requisition(), now caching
is done via the same api so no need for that line.
2010-10-08 22:33:21 +09:00
Tristan Van Berkom
480b9f6b11
Removed needless initial size request of children
...
Old code was probably doing size-request on all children initially,
and then calling get_child_requisition() in other passes, now these
are cached after the first request anyway.
2010-10-08 22:33:21 +09:00
Tristan Van Berkom
c1e9f4a798
Removed needless size-requesting of children (child sizes are ignored at request time).
2010-10-08 22:33:21 +09:00
Matthias Clasen
2e98e37fe4
Make GtkTable use gtk_container_handle_border_width
2010-10-08 09:28:00 -04:00
Matthias Clasen
f8490e425f
Add a migration guide section about resize grips
2010-10-08 02:18:15 -04:00
Matthias Clasen
8ed725bad8
Get scrollbars out of the way of the window's resize grip
...
If there are both horizontal and vertical scrollbars, there is
an unused 'corner' into which the resize grip fits. Individual
scrollbars need to be shortened and moved to make room for the
resize grip.
2010-10-08 02:14:19 -04:00
Matthias Clasen
b04bceb47e
Remove resize grip handling from GtkStatusbar
...
We remove the resize grip from GtkStatusbar, but keep the code
that makes the content avoid the grip, and adapt it to GtkWindow
grips.
The gtk_status_bar_set/get_has_resize_grip() functions and related
properties are removed.
2010-10-08 02:14:19 -04:00
Cody Russell
fe9a45c413
Remove uses of gtk_statusbar_set_has_resize_grip()
...
This function is going away.
2010-10-08 02:14:19 -04:00
Matthias Clasen
f9265ea3b8
Fix resize grip drawing in GtkAssistant
...
Chain up in the draw() implementation of GtkAssistant to let
GtkWindow draw the resize grip. This avoids black resize grips
in GtkAssistant windows.
2010-10-08 02:14:19 -04:00
Matthias Clasen
f6347baf64
Add resize grips to GtkWindow
...
Allow any window to display a resize grip, in the south-east or
south-west corner, depending on text direction. This is implemented
as a shaped window that gets overlayed on top of whatever content
is there. We add api that allows widgets to avoid the resize grip,
if desired.
The ::has-resize-grip property controls if a window may display
a resize grip. It will only be displayed if the window is resizable
and not maximized.
The size and visual appearance of the resize grip is under theme
control, using the resize-grip-width/height style properties and
the paint_resize_grip style function.
2010-10-08 02:14:10 -04:00
Matthias Clasen
368f0d0843
Fix export of a few (currently unused) configure variables
...
Turns out that autoconf eats all the m4_define magic before
AC_INIT.
2010-10-07 07:50:30 -04:00
William Jon McCann
cadbdd32ba
gail: don't try to get stock id from images that aren't stock
...
Fixes assertion caused by 41d2a4d059
2010-10-07 02:52:35 -04:00
Tor Lillqvist
bbf189ca0d
Gail needs _gtk_cell_renderer_calc_offset
2010-10-07 01:28:48 +03:00
Tor Lillqvist
3c4d1cc856
Bypass the ms-windows engine for now
...
It requires massive changes to build again. I started, but gave
up. More insight is needed.
2010-10-07 01:28:47 +03:00
Tor Lillqvist
e346d26f70
Make it compile again for Windows
2010-10-07 01:28:47 +03:00
Stef Walter
4196f56de9
Remove reference to hooks in gtk_about_dialog_set_website() docs.
...
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-10-06 23:54:35 +02:00
Federico Mena Quintero
e17b9ae8ba
Filechooser - In OPEN or SAVE mode, typing a plain folder name should switch to it
...
If you type 'subfolder/' and hit Enter, the file chooser will switch you to
it. But if you type just 'subfolder' without the trailing slash, apps would
receive *that* filename (e.g. file:///foo/bar/subfolder) as the response, and
they would likely print an error that they can't open that file (as it is
a folder). So, we change the file chooser's current folder to that subfolder
in this case.
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2010-10-06 13:10:16 -05:00
Benjamin Otte
e3e243688a
widget: Fix GtkWidget::draw docs
...
width and height have been gone for a while...
2010-10-06 12:53:33 +02:00
Tristan Van Berkom
e1b00b52d2
Enhanced documentation description for GtkWrapBox (text by Murray Cumming).
2010-10-06 17:00:43 +09:00
Baurzhan Muftakhidinov
22e9fcf6db
Updates for Kazakh translation
2010-10-06 10:36:18 +06:00
John Ralls
c3851df92d
Replace GDK_Tab and GDK_ISO_Left_Tab with GDK_KEY equivalents
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=631475
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-10-06 01:20:29 +02:00
Javier Jardón
718ccc9e4e
docs: visuals: Do not mention deprecated GdkRGB API's
...
Reported by Milan Bouchet-Valat in bug
https://bugzilla.gnome.org/show_bug.cgi?id=631473
2010-10-06 01:11:19 +02:00
Benjamin Otte
60655a36dc
docs: Dn't mark all signals in GtkWidgetClass as private
...
They are meant to be overwritten by subclasses after all.
2010-10-05 23:25:53 +02:00
Benjamin Otte
04c630d0fd
viewport: Clip contents properly when called via gtk_widget_draw()
2010-10-05 23:22:55 +02:00
Benjamin Otte
2a1650843d
Revert "testgtk: Remove snapshot test"
...
This reverts commit 99c82af20a and fixes
up things to compile again. Of course, the snapshotting now uses
gtk_widget_draw() instead.
2010-10-05 23:22:55 +02:00
Javier Jardón
cc0ada40b5
docs: reword GtkAdjustment short description
2010-10-05 22:55:08 +02:00
Federico Mena Quintero
1d21668ecc
Handle the case where you type /blah/nonexistent in SELECT_FOLDER mode
...
Previously name_entry_get_parent_info_cb() would fail as it doesn't handle SELECT_FOLDER.
Now we just make that function act the same as for CREATE_FOLDER mode. In either
case, if you type "/blah/nonexistent" and hit Enter, you want a folder
with that name to be created (under the already-existing /blah).
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2010-10-05 15:35:31 -05:00
Stephen Shaw
f7a20e35c1
Clarify the name of a callback
...
The old save_entry_get_info_cb() was misnamed; it is actually used
to see if a file's presumed parent *is* a folder. So we rename
it to name_entry_get_parent_info_cb().
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2010-10-05 15:35:31 -05:00
Stephen Shaw
2b348f9a48
bgo#629722 - file chooser should cope with typing a directory name and then Enter
...
file_exists_get_info_cb() used to let some actions fall through to
the code that checks for the file type of the selected file's parent
(e.g. to see if /foo/bar *is* indeed a folder if you type /foo/bar/baz).
However, we need to be more explicit for each file chooser action, as
in SELECT_FOLDER mode typing /foo/foldername and hitting Enter would not
give you an immediate selection, but rather the file chooser would
complain that it couldn't create that directory as it already exists.
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2010-10-05 15:35:30 -05:00
Kibavuidi Nsiangani
0eab3a7ad7
Added Kikongo translation
2010-10-05 21:56:56 +02:00
Kristian Rietveld
eca2af5230
Make set_cairo_surface_size a vfunc on GdkWindowImpl
...
Note the special implementation of this method on GdkOffscreenWindow
that makes sure its current surface is not destroyed.
2010-10-05 15:38:23 +02:00
Michael Natterer
a472d1a400
tests: don't call gtk_widget_get_allocation() on NULL children
2010-10-05 13:05:56 +02:00
Javier Jardón
90d9bfe086
gtkmenu: Really fix menu code
...
Previous patch f0039aa2a4
is not correct as it try to fix a bug introduced in commit
3a10216dd0
2010-10-04 18:51:28 +02:00
Christian Persch
f0039aa2a4
Fix a crash in menu code
...
https://bugzilla.gnome.org/show_bug.cgi?id=631311
2010-10-04 10:36:43 -04:00
Matthias Clasen
21eae6b6f3
Make GdkRectangle arguments in GtkCellRenderer use const consistently
...
https://bugzilla.gnome.org/show_bug.cgi?id=630900
2010-10-04 10:23:55 -04:00
Kristian Rietveld
8970b174dc
quartz: Emulate root window as 1x1 bitmap
...
We subclass GdkWindowImplQuartz into a new GdkRootWindowImplQuartz,
and override the get_context method in order to do this cleanly.
Also made release_context a virtual method, since the root window has
to release its CGContextRef differently compared to normal windows.
2010-10-04 11:45:47 +02:00
Javier Jardón
97bdf55b6d
docs: Move documentation to inline comments: colors
2010-10-04 03:48:05 +02:00
Javier Jardón
9e869af6c5
docs: Move documentation to inline comments: pixbufs
2010-10-04 03:36:12 +02:00
Javier Jardón
a4c2018452
docs: Move documentation to inline comments: regions
2010-10-04 03:19:43 +02:00
Javier Jardón
4e71a4df7b
docs: Move documentation to inline comments: cairo_interaction
2010-10-04 03:04:09 +02:00
Javier Jardón
5a30dad531
docs: Move documentation to inline comments: GtkComboBox
2010-10-04 02:37:42 +02:00
Ignacio Casal Quinteiro
13c4c554ef
Add missing vfuncs to gtknotebook.
2010-10-03 21:48:56 +02:00
Javier Jardón
bbd80b671a
docs: Move documentation to inline comments: GtkNotebook
2010-10-03 20:21:48 +02:00
Žygimantas Beručka
b4f81fd612
Updated Lithuanian translation by Aurimas Černius <aurisc4@gmail.com> and Rimas Kudelis <rq@akl.lt>
2010-10-03 15:21:48 +02:00
Žygimantas Beručka
a1ee7e7a30
Updated Lithuanian translation by Aurimas Černius <aurisc4@gmail.com>
2010-10-03 15:15:53 +02:00
José Aliste
846f774642
textview: Fix clip usage
...
The previous code used cairo_clip_extents() and interpreted its
parameters wrong.
https://bugzilla.gnome.org/show_bug.cgi?id=631203
2010-10-03 12:30:30 +02:00
Javier Jardón
c4705377f4
docs: Latest 2.x release will be 2.24, not 2.22
2010-10-03 04:59:23 +02:00
Javier Jardón
2a9d299aa3
docs: Use gtk_widget_get_preferred_size() instead gtk_size_request_get_preferred_size()
...
GtkSizeRequest interface is now merged in GtkWidget
2010-10-03 03:42:31 +02:00
Garrett Regier
78bd97bfbe
docs: Move documentation to inline comments: GtkEntryBuffer
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=617320
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-10-03 01:21:38 +02:00
Javier Jardón
ccaf842919
docs: Move documentation to inline comments: GtkTooltip
2010-10-03 00:59:39 +02:00
Javier Jardón
3846988211
docs: Move documentation to inline comments: GtkToolbar
2010-10-03 00:30:25 +02:00
Garrett Regier
5fcf06bb91
docs: Move documentation to inline comments: GtkComboBoxEntry
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=617308
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-10-02 22:39:35 +02:00
William Jon McCann
5fbd77526a
gail: use a weak pointer instead of an invalid destroy signal
2010-10-02 15:45:46 -04:00
Matthias Clasen
fcbe49829c
Bump version to 2.91.1
2010-10-01 23:29:00 -04:00
Matthias Clasen
6f3c3c3413
Fix a reference in the gdk_pixbuf_get_from_surface docs
2010-10-01 21:43:23 -04:00
Matthias Clasen
30a660213e
More distcheck fixes
2010-10-01 21:40:34 -04:00
Benjamin Otte
e9c9193ff6
gail: Fix menu emission hooks
...
Ref the GtkmenuItem class, so we can add emission hooks. And actually
add the emission hooks again that were removed in
7c140feb6b .
2010-10-02 03:34:42 +02:00
Benjamin Otte
872ef111ec
gdk: Make gdk_pixbuf_get_from_*() bindable
...
The ownership of the return value for gdk_pixbuf_get_from_window() and
gdk_pixbuf_get_from_surface() was determined by the first argument.
Because that is an ugly design and the functions are new to GTK3, we
decided to adapt them.
And that adaptation was quite easy since almost no one passses anything
but NULL as the first argument.
2010-10-02 03:08:24 +02:00
Matthias Clasen
0555dd0645
Fix distcheck
...
Don't include config.h in headers, it doesn't work.
2010-10-01 20:02:35 -04:00
Matthias Clasen
9595501dbd
Fix make dist
2010-10-01 18:46:09 -04:00
Matthias Clasen
4eac816898
Update NEWS for 2.91.0
2010-10-01 18:29:14 -04:00
Matthias Clasen
8fdcd4bfb2
Update po files
2010-10-01 18:29:12 -04:00
Colin Walters
9a6c1e58b6
Distribute autogen.sh
...
This makes it easier for OS vendors to always invoke autogen.sh
for building, regardless of building from legacy tarballs or
git snapshots.
2010-10-01 17:30:18 -04:00
Matthias Clasen
2d3d2a2626
Set version to 2.91.0
...
Having an odd minor helps some tools which assume 'even minor == stable'
and 2.91 will keep us in sync with the wider GNOME versioning.
2010-10-01 14:57:25 -04:00
Matthias Clasen
fc2da1a137
Migration guide: Add an example for creating custom cursors
2010-10-01 14:54:11 -04:00
Matthias Clasen
86665897db
Revert an erroneous change
2010-10-01 13:46:39 -04:00
Matthias Clasen
e3957f559d
GTK docs: Update width-for-height docs
...
Some places did not get updated after the recent rename-and-GtkWidget-merge.
2010-10-01 13:10:35 -04:00
Matthias Clasen
0bca60fdd3
GTK docs: various fixups
2010-10-01 13:05:12 -04:00
Matthias Clasen
d35aa02dd5
Drop GdkSpan type
...
GdkSpan is not used anywhere.
2010-10-01 09:39:10 -04:00
Matthias Clasen
28aa906681
GDK docs: Improve gdk_pixbuf_get_from_window docs
2010-10-01 09:38:36 -04:00
Matthias Clasen
32d1defc76
GDK docs: help gtk-doc understand gdk_window_invalidate_maybe_recurse
2010-10-01 09:10:52 -04:00
Matthias Clasen
448d903c16
GDK docs: improve the gdk_x11_display_error_trap_push docs
2010-10-01 08:16:38 -04:00
Matthias Clasen
4e96a84c67
GDK docs: Clean out some dead symbols
2010-10-01 08:09:31 -04:00
Matthias Clasen
036aa0eea9
GdkVisual: tell gtk-doc to ignore the innards
2010-10-01 07:37:26 -04:00
Matthias Clasen
8f91329900
Update for recent api changes
2010-10-01 07:09:28 -04:00
Matthias Clasen
98b497eb99
Remove colormap api from gdk.symbols
2010-10-01 07:09:28 -04:00
Richard Hughes
f3716aa210
Complete the removal of GtkObject to fix make dist
2010-10-01 12:37:34 +01:00
Richard Hughes
908bdf7941
Complete the removal of examples/pixmap to fix make dist
2010-10-01 12:37:34 +01:00
Jonh Wendell
0fa0e653d5
Initialize private structure
2010-09-30 16:56:11 -03:00
William Jon McCann
7c140feb6b
gail: remove obsolete select and deselect signals from MenuItem
...
They were removed in 3bd93e5bfd
2010-09-30 14:42:38 -04:00
Benjamin Otte
f64e2df911
dnd: Fix gtk_drag_set_icon_surface() with translucent surfaces
...
The code for surfaces with alpha content was apparently untested and
screwed up the signs.
2010-09-30 16:25:44 +02:00
Benjamin Otte
7203b72193
gdk: Fix gdk_cairo_region_create_from_surface() with device offsets
2010-09-30 16:24:41 +02:00
Benjamin Otte
c6e58f84ee
trayicon: Use gdk_cairo_get_clip_rectangle() to simplify code
2010-09-30 15:50:52 +02:00
Benjamin Otte
7acb4d0502
docs: Add note about hot_x/y in gtk_drag_set_icon_surface()
2010-09-30 13:55:10 +02:00
Kristian Rietveld
1b9029fc64
Fix GDK build on Quartz
2010-09-30 09:01:11 +02:00
Colin Walters
ad474edda8
introspection: Fix some annotation syntax
2010-09-29 10:45:04 -04:00
Benjamin Otte
14dc932fd1
gtk: Fix remaining mentions of gtk_container_propagate_expose()
...
That includes the gtkcontainer.h header file.
https://bugzilla.gnome.org/show_bug.cgi?id=630800
2010-09-29 14:14:20 +02:00
Benjamin Otte
1408bd9a37
gdk: Don't (un)set the background when destroying a window.
...
This previously caused the x11 code to do a XSetWindowBackgroundPixmap
call on a window that was about to be destroyed. And that's not really
useful.
https://bugzilla.gnome.org/show_bug.cgi?id=630864
2010-09-29 12:18:17 +02:00
Benjamin Otte
82e6e32c77
x11: Don't set ParentRealtive if the parent's visual is different
...
Causes a BadMatch otherwise, see code comments.
https://bugzilla.gnome.org/show_bug.cgi?id=630864
2010-09-29 12:18:17 +02:00
Javier Jardón
72d48cbc61
gtk-demo: remove GtkObject type
2010-09-29 06:11:13 +02:00
Javier Jardón
7f88afef90
examples/gtkdial/gtkdial.c: Fixing for removal of GtkObject type
2010-09-29 06:06:50 +02:00
Javier Jardón
34ae2ea601
examples/colorsel/colorsel.c: remove unneded GTK_OBJECT cast
2010-09-29 06:01:07 +02:00
Javier Jardón
e141bd3287
testtext: Use gtk_widget_destroy() instead gtk_object_destroy()
2010-09-29 05:58:02 +02:00
Javier Jardón
b072ea220c
Remove unneded casts
...
As gtk_adjustment_new() returns a GtkAdjustment* now
https://bugzilla.gnome.org/show_bug.cgi?id=630731
2010-09-29 01:18:10 +02:00
Javier Jardón
42f480a537
gtk_adjustment_new() should return a GtkAdjustment*
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=630731
2010-09-29 01:18:10 +02:00
Benjamin Otte
948768c708
API: remove gtk_window_set_visual()
...
gtk_widget_set_visual() exists now and can be used instead.
This reverts commit 59b227e123 .
2010-09-28 19:13:24 +02:00
Benjamin Otte
bf81be51eb
testgtk: Use gtk_widget_set_visual()
2010-09-28 19:11:46 +02:00
Benjamin Otte
32c80ca6a9
trayicon: Use gtk_widget_set_visual()
2010-09-28 19:11:30 +02:00
Benjamin Otte
5ac6234815
API: gtk: Add gtk_widget_set_visual()
...
It turns out that the previous handling of just providing a way to set
visuals just on toplevels was not sufficient. In particular it
complicated the various implementations of the tray icon specification.
This patch reintroduces gtk_widget_set_visual() which behaves very
similar to GTK2's gtk_widget_set_colormap().
A future commit will remove the gtk_window_set_visual() function.
2010-09-28 19:11:21 +02:00
Benjamin Otte
d4fb25f6de
widget: Fix compile warnings: missing return value
2010-09-28 18:33:23 +02:00
Benjamin Otte
d9c581900b
gail: Fix tests compilation - too many casts
2010-09-28 18:26:31 +02:00
Benjamin Otte
65dee4e31b
toolbar: Fix compilation warnings - missing cast
2010-09-28 18:26:23 +02:00
Benjamin Otte
de89fe501d
treeview: Fix compilation warnings - missing cast
2010-09-28 18:26:05 +02:00
Benjamin Otte
69240d9824
offscreenwindow: Fix includes
2010-09-28 18:24:55 +02:00
Benjamin Otte
6c7daaf8b9
notebook: Fix compilation warnings - missing cast
2010-09-28 18:24:34 +02:00
Benjamin Otte
7adeca53b2
combobox: Fix compilation warnings - missing cast
2010-09-28 18:24:14 +02:00
Michael Natterer
06773b1e8b
gdk: remove "screen" member from GdkOffscreenWindow, it has become obsolete
...
Also remove screen parameter from _gdk_offscreen_window_new() and get
rid of a bunch on includes in gdkoffscreenwindow.c
2010-09-28 16:05:38 +02:00
Tor Lillqvist
f51f39af2a
Create directory before installing files there
2010-09-28 16:24:24 +03:00
Claudio Saavedra
e0f290278b
Fix maintainer-clean
...
gtkimcontextsimpleseqs.h is not really autogenerated but shipped
https://bugzilla.gnome.org/show_bug.cgi?id=630708
2010-09-28 10:39:39 +03:00
Matthias Clasen
2b3574dda1
Improve some docs
2010-09-27 20:59:08 -04:00
Sílvia Miranda
296824ecf3
Updated Catalan translation
2010-09-28 00:04:12 +02:00
Gil Forcada
3ae29e1d6b
Removed invalid entry
2010-09-28 00:03:28 +02:00
Benjamin Otte
dec47f062e
label: Fix rendering of rotated labels
...
gtk_paint_layout is utterly broken. Someone needs to fix it so we use
the cairo_t's matrix and don't juggle with both Pango and cairo matrices
everywhere.
2010-09-27 20:49:39 +02:00
Benjamin Otte
1b170a1a14
gtk-demo: Clean up toolpalette drawing code
...
Fix compile warning and use cairo_paint() instead of querying the widget
size and cairo_fill()ing it.
2010-09-27 20:49:06 +02:00
Benjamin Otte
efefc4e794
cups: Fix compile warnings with --enable-debug
2010-09-27 20:48:43 +02:00
Benjamin Otte
f0d337a0ca
x11: Fix debug code
...
With recent changes, nobody compiled with debug enabled. Fix that.
2010-09-27 17:39:51 +02:00
Tristan Van Berkom
7047502d84
Fix erroneous usage of height-for-width apis in gtk_widget_real_adjust_size_allocation().
...
When fitting a widget into its allocation, the second dimension
is always dependent on the first, so gtk_widget_get_preferred_size()
cannot be used directly (because we want the natural height for
the allocated width, not the natural height for the natural width,
which is generally a smaller height than the height-for-minimum-width
or height-for-allocated-width).
Added test to testadjustsize to ensure proper behaviour.
2010-09-27 21:15:16 +09:00
Tristan Van Berkom
de0428fe52
Fixing documentation of gtk_widget_get_request_mode()
2010-09-27 15:11:27 +09:00
Tristan Van Berkom
427226b083
Fixing demos/ directory to build for removal of GtkObject type.
2010-09-27 15:10:50 +09:00
Tristan Van Berkom
e4a0a39a56
Fixing tests/ build for removal of GtkObject type.
2010-09-27 15:10:23 +09:00
Tristan Van Berkom
53214f2584
Fixing gail build for removal of GtkObject type.
2010-09-27 15:09:51 +09:00
Matthias Clasen
87e29c99d7
Add a migration guide section on GtkObject
2010-09-26 22:29:33 -04:00
Matthias Clasen
b81de973af
Remove GtkObject from the docs
2010-09-26 22:18:46 -04:00
Matthias Clasen
d869a1e419
Remove GtkWidgetFlags
2010-09-26 22:18:46 -04:00
Matthias Clasen
f53ad33994
Remove GtkObject completely
2010-09-26 22:18:19 -04:00
Javier Jardón
eac1959d2c
Move destroy signal to GtkWidget
...
Also make GtkWidget derive from GInitiallyUnowned
2010-09-26 22:18:18 -04:00
Javier Jardón
3b8184cfee
Move classes that currently derive from GtkObject to GInitiallyUnowned
2010-09-26 22:18:13 -04:00
Javier Jardón
945e97e505
Move documentation to inline comments: GtkPaperSize
2010-09-27 03:49:49 +02:00
Tadej Borovšak
d947178e42
Update and expand GtkAccelMap API docs
2010-09-27 03:04:34 +02:00
Javier Jardón
e267ed84db
Move documentation to inline comments: GtkAccelMap
2010-09-27 02:56:25 +02:00
Matthias Clasen
aa8561aac2
Add a missing end tag
2010-09-26 20:42:07 -04:00
Benjamin Otte
f15860fb31
tests: Port testadjustsize to draw vfunc
2010-09-27 00:50:14 +02:00
Javier Jardón
e16f9bc51c
gtk-demo: Use draw signal in toolpalette demo
2010-09-27 00:07:20 +02:00
Damyan Ivanov
b8b6ceef16
Updated Bulgarian translation
2010-09-26 22:34:23 +03:00
Benjamin Otte
18e489fedd
image: Fix up draw function
...
The previous port to the draw function was a tiny bit incomplete. This
patch should fix the remaining issues and remove unused variables.
2010-09-26 17:51:05 +02:00
Matthias Clasen
b522a1b367
Migration guide: Add an example for colormap -> visual
2010-09-26 15:11:46 +02:00
Matthias Clasen
d3a90eae72
Expand the migration guide
...
This commit add some text about mult-window ::draw implementations,
pointing out the gtk_cairo_should_draw_window() and
gtk_cairo_transform_to_window() convenience functions.
2010-09-26 15:11:46 +02:00
Benjamin Otte
c34c05217c
accellabel: Remove gtk_widget_is_drawable() check from draw vfunc
2010-09-26 15:11:46 +02:00
Benjamin Otte
41e6da4075
treeview: Use gtk_cairo_transform_to_window()
2010-09-26 15:11:46 +02:00
Benjamin Otte
bc3d3e6cf4
spinbutton: Use gtk_cairo_transform_to_window()
2010-09-26 15:11:46 +02:00
Benjamin Otte
92732ffea0
notebook: Use gtk_cairo_transform_to_window()
2010-09-26 15:11:46 +02:00
Benjamin Otte
bd4545c03a
menu: Use gtk_cairo_transform_to_window()
2010-09-26 15:11:46 +02:00
Benjamin Otte
7a2010ae28
iconview: Use gtk_cairo_transform_to_window()
2010-09-26 15:11:46 +02:00
Benjamin Otte
90beb8a514
entry: Use gtk_cairo_transform_to_window()
2010-09-26 15:11:46 +02:00
Benjamin Otte
e13d93a707
calendar: Use gtk_cairo_transform_to_window()
2010-09-26 15:11:45 +02:00
Benjamin Otte
19d1377494
textview: Use gtk_cairo_transform_to_window()
2010-09-26 15:11:45 +02:00
Benjamin Otte
0795f1e0c9
API: Add gtk_cairo_transform_to_window()
...
The function reverses the transform that GTK does before emitting a draw
event. So we can use it in "old" widgets to revert the coordinate system
properly.
2010-09-26 15:11:45 +02:00
Benjamin Otte
e66129015d
cellrenderer: Merge GtkCellSizeRequest into GtkCellRenderer
...
This mostly goes to keep consistency with the changes to GtkSizeRequest
in the last patch, as GtkCellSizeRequest requires GtkCellRenderer and
GtkCellRenderer implements GtkCellSizeRequest there's no use in keeping
them separate.
This patch renames the functions:
gtk_cell_size_request_get_request_mode()
=> gtk_cell_renderer_get_request_mode()
gtk_cell_size_request_get_width()
=> gtk_cell_renderer_get_preferred_width()
gtk_cell_size_request_get_height()
=> gtk_cell_renderer_get_preferred_height()
gtk_cell_size_request_get_size()
=> gtk_cell_renderer_get_preferred_size()
gtk_cell_size_request_get_width_for_height()
=> gtk_cell_renderer_get_preferred_width_for_height()
gtk_cell_size_request_get_height_for_width()
=> gtk_cell_renderer_get_preferred_height_for_width()
... and moves the corresponding vfuncs to GtkCellRenderer.
The patch also renames the implementations of these functions in cell
renderers to include the word "preferrred".
2010-09-26 15:11:45 +02:00
Benjamin Otte
d9c9259861
Move GtkSizeRequest into GtkWidget
...
It doesn't make sense to keep them separate as GtkSizeRequest requires a
GtkWidget and GtkWidget implements GtkSizeRequest, so you can never have
one without the other.
It also makes the code a lot easier because no casts are required when
calling functions.
Also, the names would translate to gtk_widget_get_width() and people
agreed that this would be a too generic name, so a "preferred" was added
to the names.
So this patch moves the functions:
gtk_size_request_get_request_mode() => gtk_widget_get_request_mode()
gtk_size_request_get_width() => gtk_widget_get_preferred_width()
gtk_size_request_get_height() => gtk_widget_get_preferred_height()
gtk_size_request_get_size() => gtk_widget_get_preferred_size()
gtk_size_request_get_width_for_height() =>
gtk_widget_get_preferred_width_for_height()
gtk_size_request_get_height_for_width() =>
gtk_widget_get_preferred_height_for_width()
... and moves the corresponding vfuncs to the GtkWidgetClass.
The patch also renames the implementations of the vfuncs in widgets to
include the word "preferrred".
2010-09-26 15:11:45 +02:00
Benjamin Otte
f52a1fcfbd
API: remove gdk_drawable_get_size()
2010-09-26 15:11:45 +02:00
Benjamin Otte
5b687d938a
gdk: Remove default implementations for get_*_region
...
This should only be used on windows anyway and GdkWindow has an
implementation for both functions.
2010-09-26 15:11:45 +02:00
Benjamin Otte
9403e167b4
docs: Get rid of gdk_drawable_get_size() usage in shooter example
2010-09-26 15:11:45 +02:00
Benjamin Otte
aa70d351c4
tests: Get rid of gdk_drawable_get_size() usage in testwindows
2010-09-26 15:11:45 +02:00
Benjamin Otte
cdba1f6519
tests: Get rid of gdk_drawable_get_size() usage in offscreenbox
2010-09-26 15:11:45 +02:00
Benjamin Otte
15497825c0
testgtk: Get rid of gdk_drawable_get_size() usage
2010-09-26 15:11:44 +02:00
Benjamin Otte
ffa5587fb3
dnd-quartz: Get rid of gdk_drawable_get_size() usage
2010-09-26 15:11:44 +02:00
Benjamin Otte
99eae4e208
window: Get rid of gdk_drawable_get_size() usage
2010-09-26 15:11:44 +02:00
Benjamin Otte
64dddaf1fe
widget: Get rid of gdk_drawable_get_size() usage
2010-09-26 15:11:44 +02:00
Benjamin Otte
f999c8dc29
viewport: Get rid of gdk_drawable_get_size() usage
2010-09-26 15:11:44 +02:00
Benjamin Otte
21d6aba620
treeview: Get rid of gdk_drawable_get_size() usage
2010-09-26 15:11:44 +02:00
Benjamin Otte
e10f5e9ad5
textview: Get rid of gdk_drawable_get_size() usage
2010-09-26 15:11:44 +02:00
Benjamin Otte
e25208825f
testutils: Get rid of gdk_drawable_get_size() usage
2010-09-26 15:11:44 +02:00
Benjamin Otte
f0c067063c
spinbutton: Get rid of gdk_drawable_get_size() usage
2010-09-26 15:11:44 +02:00
Benjamin Otte
fb43f590e9
plug: Get rid of gdk_drawable_get_size() usage
2010-09-26 15:11:44 +02:00
Benjamin Otte
dca859dfa1
offscreenwindow: Get rid of gdk_drawable_get_size() usage
2010-09-26 15:11:44 +02:00
Benjamin Otte
6eb6135e2d
notebook: Get rid of gdk_drawable_get_size() usage
2010-09-26 15:11:44 +02:00
Benjamin Otte
2743f0bdcd
menu: Get rid of gdk_drawable_get_size() usage
2010-09-26 15:11:44 +02:00
Benjamin Otte
a145deb083
iconview: Get rid of gdk_drawable_get_size() usage
2010-09-26 15:11:44 +02:00
Benjamin Otte
2e5df3306a
handlebox: Get rid of gdk_drawable_get_size() usage
2010-09-26 15:11:44 +02:00
Benjamin Otte
34c6e35152
entry: Get rid of gdk_drawable_get_size() usage
2010-09-26 15:11:44 +02:00
Benjamin Otte
7125712299
calendar: Get rid of gdk_drawable_get_size() usage
2010-09-26 15:11:44 +02:00
Benjamin Otte
c5d309e596
msw-engine: Remove sanitize_size code
...
It's not needed with the new APIs
2010-09-26 15:11:43 +02:00
Benjamin Otte
f5ad38fdc4
gtk-demo: Get rid of gdk_drawable_get_size() usage
2010-09-26 15:11:43 +02:00
Benjamin Otte
9826c31a9f
gdk: Get rid of gdk_drawable_get_size() usage
2010-09-26 15:11:43 +02:00
Benjamin Otte
0a57863f73
win32: Get rid of gdk_drawable_get_size() usage
2010-09-26 15:11:43 +02:00
Benjamin Otte
f44f35548d
quartz: Get rid of gdk_drawable_get_size() usage
2010-09-26 15:11:43 +02:00
Benjamin Otte
e8e657725c
x11: Get rid of gdk_drawable_get_size() usage
2010-09-26 15:11:43 +02:00
Benjamin Otte
6c971ac479
API: Remove window clear APIs
...
The feature can and should be implemented manually using
gdk_window_get_background() and Cairo drawing. A non-cairo drawing API
does not make sense in GDK anymore.
2010-09-26 15:11:43 +02:00
Benjamin Otte
fd200f07f5
gdk: No need to clear offscreen window when showing
...
I don't think it's necessary to clear the backing surface when showing
the window, as we're going to repaint it anyway. If it's needed, we can
implement it again using internal APIs, as the public window_clear()
APIs are going away.
2010-09-26 15:11:43 +02:00
Benjamin Otte
af32c9c9be
API: Add size getters for GdkWindow
...
gdk_window_get_width() and gdk_window_get_height() will replace
gdk_drawable_get_size().
2010-09-26 15:11:43 +02:00
Matthias Clasen
f3ccf2fccf
Add gtk_cairo_should_draw_window to the docs
2010-09-26 15:11:43 +02:00
Matthias Clasen
b7027d778c
Docs: start migration guide additions
2010-09-26 15:11:43 +02:00
Benjamin Otte
5f57cede3c
widget: Check the widget has an allocation in gtk_widget_draw()
...
Following the mailing list discussion, require that the widget does not
have a pending size_allocate when calling the draw function.
http://mail.gnome.org/archives/gtk-devel-list/2010-September/msg00214.html
and the associated thread explain this in more detail.
2010-09-26 15:11:43 +02:00
Benjamin Otte
b89920e203
API: Add gtk_widget_draw()
...
And here's the final patch that all the previous patches were about.
2010-09-26 15:11:43 +02:00
Benjamin Otte
1142c8bf18
API: gtk_cell_renderer_render_cairo() => gtk_cell_renderer_render()
2010-09-26 15:11:43 +02:00
Benjamin Otte
ec6e97be4d
API: Remove gtk_cell_renderer_render()
...
The next commit will rename gtk_cell_renderer_render_cairo() to
gtk_cell_renderer_render() again
2010-09-26 15:11:43 +02:00
Benjamin Otte
67284a57de
API: Get rid of gtk_draw_insertion_cursor()
...
and rename gtk_cairo_draw_insertion_cursor() to
gtk_draw_insertion_cursor().
2010-09-26 15:11:43 +02:00
Benjamin Otte
1d3f6b30b0
API: Rename gtk_cairo_paint_*() to gtk_paint_*()
...
Large patch, but just renaming.
Indentation should still mostly be correct because I took care of
keeping the indentation for this function name.
2010-09-26 15:11:42 +02:00
Benjamin Otte
70e6aba0d0
API: style: Remove old drawing functions
2010-09-26 15:11:42 +02:00
Benjamin Otte
326f887ae7
API: widget: Remove the expose event
...
gtk_widget_send_expose() now calls the draw function.
2010-09-26 15:11:42 +02:00
Benjamin Otte
9aa4f417d0
API: Remove gtk_container_propagate_expose()
...
Also, move the documentation to its replacement
gtk_widget_propagate_draw().
2010-09-26 15:11:42 +02:00
Benjamin Otte
7947b3faf8
container: Implement gtk_container_propagate_draw() without fallbacks
...
No more fallbacks to gtk_container_propagate_expose().
2010-09-26 15:11:42 +02:00
Benjamin Otte
45744d9a5f
Change semantics of the draw signal
...
Previously, we tried to move the context's origin to the widget's top
left location, no matter what window the paint was happening on. Now we
only do that for child windows of the widget's window and leave the
context untouched for windows that the widget has created outside its
own hierarchy. In those casses, we also don't clip the context to
the widget's allocation.
Includes fixes to GtkHandlebox for this effect and fixes all known
issues with it.
These semantics assume that gtk_widget_draw() should only draw the parts
of a widget that are inside child windows and not draw stuff that is
located in completely different GdkWindows. In the handlebox case, it
means that it should only draw the handle when it is attached, but not
when it isn't. We'll likely need a special draw function for the
detached handlebox if we want to draw it.
2010-09-26 15:11:42 +02:00
Benjamin Otte
0acec382c8
widget: Clip drawing to the widget's allocation.
...
I've seen (and written) quite some widgets (and theme engines) that use
cairo_paint() to draw the background. So avoiding overdraw makes sense.
Also move all that setup into a _gtk_widget_draw_internal() function
that will be used by all functions that can be used by other functions
that draw widgets.
2010-09-26 15:11:42 +02:00
Benjamin Otte
0c285bad75
iconfactory: Initialize varibale to NULL in failure path
...
Otherwise we use random memory and that is not good.
2010-09-26 15:11:42 +02:00
Benjamin Otte
8929321cba
image: Add a default case to switch statement to avoid gcc warnings
2010-09-26 15:11:42 +02:00
Benjamin Otte
45836db7a5
test: Port offscreen test to draw vfunc
2010-09-26 15:11:42 +02:00
Benjamin Otte
8aa402b610
gtk-demo: Port offscreen example to draw vfunc
2010-09-26 15:11:42 +02:00
Benjamin Otte
256012bdbd
gtk-demo: Port offscreen example to draw vfunc
2010-09-26 15:11:42 +02:00
Benjamin Otte
e194bc14fd
testgtk: Use draw signal in layout test
2010-09-26 15:11:42 +02:00
Benjamin Otte
5442f5b9f2
testgtk: Use draw signal in scrolling test
2010-09-26 15:11:42 +02:00
Benjamin Otte
0ab6956579
testgtk: Use draw signal in cursors example
2010-09-26 15:11:41 +02:00
Benjamin Otte
87940287aa
testgtk: Remove non-existing property from frame constructor
2010-09-26 15:11:41 +02:00
Benjamin Otte
38c932ace6
testgtk: Use draw signal in gridded geometry example
2010-09-26 15:11:41 +02:00
Benjamin Otte
c42f6ff4bf
testgtk: Make big windows test not use expose events
...
Instead, use gdk_window_set_background().
2010-09-26 15:11:41 +02:00
Benjamin Otte
e1571a5936
testgtk: Use draw signal in resize grips example
2010-09-26 15:11:41 +02:00
Benjamin Otte
5625c20759
x11: When querying window size, ask the wrapper, not ourselves
2010-09-26 15:11:41 +02:00
Benjamin Otte
7c62a44324
gdk: Make GdkWindow cope better with its surface outliving the window
...
Make extra sure we release the surface properly. Also make sure that the
released surface doesn't keep any references to us.
2010-09-26 15:11:41 +02:00
Benjamin Otte
ba21d3e687
tests: Use draw vfunc in print-editor
2010-09-26 15:11:41 +02:00
Benjamin Otte
e65b1cfd76
testoffscreen: Connect to draw signal
2010-09-26 15:11:41 +02:00
Benjamin Otte
9cd83da6dc
tests: Use draw signal in testinput
2010-09-26 15:11:41 +02:00
Benjamin Otte
97b997d59e
testpixbuf-save: Use the draw signal
2010-09-26 15:11:41 +02:00
Benjamin Otte
b271c76c06
testpixbuf-scale: Connect to draw signal
2010-09-26 15:11:41 +02:00
Benjamin Otte
ebba458336
pixbuf-demo: Use draw signal
2010-09-26 15:11:41 +02:00
Benjamin Otte
f1171c9c07
gtk-demo: Use draw signal in color selection demo
2010-09-26 15:11:41 +02:00
Benjamin Otte
c6f28c3dbc
testtooltips: Connect to draw signal
2010-09-26 15:11:41 +02:00
Benjamin Otte
07d0c0b921
testtooltips: Don't call gdk_window_get_pointer() in expose events
2010-09-26 15:11:41 +02:00
Benjamin Otte
b8ebcdd0e0
testgtk: Connect to draw signal in "rotated text" example
2010-09-26 15:11:41 +02:00
Benjamin Otte
7af767333e
testgtk: Connect to draw signals in "composited window" example
2010-09-26 15:11:41 +02:00
Benjamin Otte
ec604d11ec
testgtk: Connect to draw signal in alpha test
...
Test still behaves weird, no idea why though.
2010-09-26 15:11:41 +02:00
Benjamin Otte
dfd0ceab1c
tests: Connect to draw signal in testimage
2010-09-26 15:11:40 +02:00
Benjamin Otte
f8b420783d
tests: Connect to draw signal in testoffscreenwindow
2010-09-26 15:11:40 +02:00
Benjamin Otte
0ad2f57332
tests: Connect to draw signal in testellipsise
...
The test seems broken, not sure why.
2010-09-26 15:11:40 +02:00
Benjamin Otte
9c980372d2
testcairo: Connect to draw signal
2010-09-26 15:11:40 +02:00
Benjamin Otte
eed9468e06
perf: Connect to draw signal
2010-09-26 15:11:40 +02:00
Benjamin Otte
b452bb768d
imcontextxim: Connect to draw signal
2010-09-26 15:11:40 +02:00
Benjamin Otte
73b6ddbf47
gtk-demo: Connect to draw signal in rotated-text
2010-09-26 15:11:40 +02:00
Benjamin Otte
9ef1dfc0a3
gtk-demo: Connect to draw signal in pixbufs example
2010-09-26 15:11:40 +02:00
Benjamin Otte
ef56ba83f8
gtk-demo: Connet to draw signal in drawingarea example
2010-09-26 15:11:40 +02:00
Benjamin Otte
3f10e45ea1
printunixdialog: Connect to draw vfunc
2010-09-26 15:11:40 +02:00
Benjamin Otte
d207fd05e5
printunixdialog: Connect to draw signal for collate callback
2010-09-26 15:11:40 +02:00
Benjamin Otte
b0f078ba43
dnd-quartz: Connect to draw func for dnd hilight
2010-09-26 15:11:40 +02:00
Benjamin Otte
729f80b554
dnd: Connect to raw func for drag hilight
2010-09-26 15:11:40 +02:00
Benjamin Otte
830cda9e32
colorsel: Connect to draw signal
2010-09-26 15:11:40 +02:00
Benjamin Otte
b717f1b265
filechooserentry: Connect to draw event
2010-09-26 15:11:40 +02:00
Benjamin Otte
8f2fdec7d6
colorbutton: Connect to draw event
2010-09-26 15:11:40 +02:00
Benjamin Otte
5f771c8a9f
notebook: Connect to draw signal
2010-09-26 15:11:40 +02:00
Benjamin Otte
c54968e964
tooltip: Connect to draw signal
2010-09-26 15:11:40 +02:00
Benjamin Otte
bec11c352d
toolitemgroup: Connect to draw signal
2010-09-26 15:11:40 +02:00
Benjamin Otte
a4bbe4da10
assistant: Port to draw vfunc
2010-09-26 15:11:39 +02:00
Benjamin Otte
b0c5302115
trayicon: Port to draw vfunc
2010-09-26 15:11:39 +02:00
Benjamin Otte
1b9f793311
window: Port to draw vfunc
2010-09-26 15:11:39 +02:00
Benjamin Otte
15f48a818d
window: Remove hack to set background
...
I can't see this having any effect in current code, but who knows...
2010-09-26 15:11:39 +02:00
Benjamin Otte
67299ed106
expander: Port to draw vfunc
2010-09-26 15:11:39 +02:00
Benjamin Otte
e63d6dd379
frame: Port to draw vfunc
2010-09-26 15:11:39 +02:00
Benjamin Otte
fac27827c4
frame: Remove unneeded is_drawable() check
2010-09-26 15:11:39 +02:00
Benjamin Otte
ff97485695
API: checkbutton: Port to draw vfunc
...
Requires changing the API of the draw_indicator vfunc.
2010-09-26 15:11:39 +02:00
Benjamin Otte
be8a398bb5
radiobutton: Remove redundant is_drawable() check
2010-09-26 15:11:39 +02:00
Benjamin Otte
70bdbb3f4c
checkbutton: Remove redundant is_drawable() check
2010-09-26 15:11:39 +02:00
Benjamin Otte
66bd7c1578
checkbutton: Remove excessive is_drawable() check
2010-09-26 15:11:39 +02:00
Benjamin Otte
6a0c31143f
handlebox: Port to draw vfunc
2010-09-26 15:11:39 +02:00
Benjamin Otte
2e53b58b01
handlebox: Simplify painting code
2010-09-26 15:11:39 +02:00
Benjamin Otte
08d05f954d
handlebox: Don't draw outside of expose events
...
We do a queue_draw() via queue_resize() here, so everything's fine.
2010-09-26 15:11:39 +02:00
Benjamin Otte
748d3d612d
button: Port to draw vfunc
...
Also port togglebutton, they use the same paint function.
2010-09-26 15:11:39 +02:00
Benjamin Otte
e0be884297
button: Remove is_drawable() check
...
It's already done in the expose function
2010-09-26 15:11:39 +02:00
Benjamin Otte
ee15f5aab1
tearoffmenuitem: remove is_drawable() check
2010-09-26 15:11:39 +02:00
Benjamin Otte
c9c9d2ac15
API: checkmenuitem: Port to draw vfunc
...
Requires changing the draw_indicator vfunc to take a cairo_t.
2010-09-26 15:11:39 +02:00
Benjamin Otte
79477e097d
tearoffmenuitem: Port to draw vfunc
2010-09-26 15:11:39 +02:00
Benjamin Otte
557b9d0b26
tearoffmenuitem: Don't clear the window, it should be clear already
2010-09-26 15:11:38 +02:00
Benjamin Otte
d992df0a47
tearoffmenuitem: Merge paint() into expose()
2010-09-26 15:11:38 +02:00
Benjamin Otte
6f6c81e527
menuitem: Remove is_drawable() check
2010-09-26 15:11:38 +02:00
Benjamin Otte
475f96216d
menuitem: Port to draw vfunc
2010-09-26 15:11:38 +02:00
Benjamin Otte
e6d1c8aeab
menuitem: Move paint function into expose function
2010-09-26 15:11:38 +02:00
Benjamin Otte
1f640d127e
combobox: Port to draw vfunc
2010-09-26 15:11:38 +02:00
Benjamin Otte
fe4c61b1ec
eventbox: Port to draw vfunc
2010-09-26 15:11:38 +02:00
Benjamin Otte
d17ba1d30a
eventbox: Merge paint function into expose function
2010-09-26 15:11:38 +02:00
Benjamin Otte
ce2d6cc015
scrolledwindow: Port to draw vfunc
2010-09-26 15:11:38 +02:00
Benjamin Otte
5eabd8c6fa
scrolledwindow: Move paint function into expose handler
...
Also remove the is_drawable() check. It will not be needed once we have
the draw vfunc.
2010-09-26 15:11:38 +02:00
Benjamin Otte
8af968946f
viewport: No need to check if the widget is drawable anymore
2010-09-26 15:11:38 +02:00
Benjamin Otte
bf8df2daea
viewport: Port to draw vfunc
2010-09-26 15:11:38 +02:00
Benjamin Otte
4a23b12911
viewport: Pass sizes explicitly to paint functions
2010-09-26 15:11:38 +02:00
Benjamin Otte
e087fe7e99
viewport: Merge gtk_viewport_paint() into expose function
2010-09-26 15:11:38 +02:00
Benjamin Otte
01a1e16dcf
viewport: Don't paint stuff in realize handler
2010-09-26 15:11:38 +02:00
Benjamin Otte
f383e1f183
notebook: Port to draw vfunc
2010-09-26 15:11:38 +02:00
Benjamin Otte
21099d31ed
notebook: The drawable check is not necessary
...
Large patch, but that's only indentation.
2010-09-26 15:11:38 +02:00
Benjamin Otte
fadf269a36
notebook: Draw tabs and arrows with Cairo
...
Includes a fix to only draw the current page once during a drag
operation.
2010-09-26 15:11:38 +02:00
Benjamin Otte
ad030e1696
notebook: Simplify draw_tab function a bit
...
Don't keep lots of local variables that are only used once.
2010-09-26 15:11:38 +02:00
Benjamin Otte
806bcb10ff
notebook: remove check for is_drawable
...
When we reach that code, the widget will always be drawable
2010-09-26 15:11:37 +02:00
Benjamin Otte
c46ce97145
notebook: Reorder expose function in preparation of draw vfunc
2010-09-26 15:11:37 +02:00
Benjamin Otte
f94ff0b3b9
notebook: Use a for loop when iterating over a list
2010-09-26 15:11:37 +02:00
Benjamin Otte
468e453a31
notebook: Draw focus when drawing tab
...
Instead of using a special function, draw the focus of a tab when the
tab actually is painted. Simplifies the code quite a bit.
2010-09-26 15:11:37 +02:00
Benjamin Otte
a5e487846a
notebook: Remove useless optimization
...
It will become especially useless once we draw with Cairo exclusively.
2010-09-26 15:11:37 +02:00
Benjamin Otte
1c94efc921
paned: Port to draw vfunc
2010-09-26 15:11:37 +02:00
Benjamin Otte
f2d7e6c8d4
infobar: Port to draw vfunc
2010-09-26 15:11:37 +02:00
Benjamin Otte
299d533376
statusbar: Port to draw vfunc
2010-09-26 15:11:37 +02:00
Benjamin Otte
782af63273
layout: Port to draw vfunc
2010-09-26 15:11:37 +02:00
Benjamin Otte
8fc35150a2
iconview: Port to draw vfunc
2010-09-26 15:11:37 +02:00
Benjamin Otte
c8b16f66b6
iconview: Check if the cr is clipped instead of using region
2010-09-26 15:11:37 +02:00
Benjamin Otte
ab781bd89b
iconview: Simplify rubberband drawing
2010-09-26 15:11:37 +02:00
Benjamin Otte
0d6461714b
menu: Port to draw vfunc
2010-09-26 15:11:37 +02:00
Benjamin Otte
240ca0bb21
menubar: Port to draw vfunc
2010-09-26 15:11:37 +02:00
Benjamin Otte
00375c7692
textview: Port to draw vfunc
2010-09-26 15:11:37 +02:00
Benjamin Otte
9daab81ab5
separatortoolitem: Port to draw vfunc
2010-09-26 15:11:37 +02:00
Benjamin Otte
818005f3fe
toolbar: Port to draw vfunc
2010-09-26 15:11:37 +02:00
Benjamin Otte
9a8c9d6579
toolbar: Don't propagate events to placeholders
...
In particular don't when that's done using uninitialized memory
2010-09-26 15:11:36 +02:00
Benjamin Otte
a18ec3485c
toolpalette: Port to draw vfunc
2010-09-26 15:11:36 +02:00
Benjamin Otte
f525837e39
treeview: Port to draw vfunc
2010-09-26 15:11:36 +02:00
Benjamin Otte
327a04807e
treeview: Update rubberbanding code to Cairo
2010-09-26 15:11:36 +02:00
Benjamin Otte
bf3b4438bb
treeview: Do not put different windows in else if branches anymore
2010-09-26 15:11:36 +02:00
Benjamin Otte
f679516ce1
treeview: Use Cairo for all bin window drawing
2010-09-26 15:11:36 +02:00
Benjamin Otte
62f5fdc856
treeview: Invalidate on expander changes, don't just repaint
...
Repaints are supposed to be initiated by GDK, not by random repaints.
2010-09-26 15:11:36 +02:00
Benjamin Otte
bc1cd6c5cb
treeview: Draw empty tree view with Cairo
2010-09-26 15:11:36 +02:00
Benjamin Otte
0cbe62f943
API: Add gtk_container_propagate_draw()
...
Equivalent to gtk_container_propagate_expose(), just for the draw event.
Also port GtkContainer to the draw vfunc
2010-09-26 15:11:36 +02:00
Benjamin Otte
90379ed68a
widget: Store the expose event in the cairo_t, not just the window
...
This way we can grab it for propagating expose events. Not sure if we
need to do this once we're all Cairo, but for now we do.
2010-09-26 15:11:36 +02:00
Benjamin Otte
fb4ba51d44
accellabel: Port to draw vfunc
2010-09-26 15:11:36 +02:00
Benjamin Otte
4aefc82496
label: Port to draw vfunc
2010-09-26 15:11:36 +02:00
Benjamin Otte
2e75cecd49
scale: Port to draw vfunc
2010-09-26 15:11:36 +02:00
Benjamin Otte
e605272436
range: Port to draw vfunc
2010-09-26 15:11:36 +02:00
Benjamin Otte
745f110814
range: Make drawing use a single cairo context
2010-09-26 15:11:36 +02:00
Benjamin Otte
c85f91e14c
tests: Remove ability to set backend from testfilechooser
...
There's no backends anymore
2010-09-26 15:11:35 +02:00
Benjamin Otte
1d5796c95b
arrow: Port to draw vfunc
2010-09-26 15:11:35 +02:00
Benjamin Otte
9233a08991
calendar: Port to draw vfunc
2010-09-26 15:11:35 +02:00
Benjamin Otte
725749cd14
calendar: Fix drawing order for windows
2010-09-26 15:11:35 +02:00
Benjamin Otte
02572cdf7e
calendar: Create one cairo_t per expose event and pass it around
2010-09-26 15:11:35 +02:00
Benjamin Otte
ed996bcd68
cellview: Port to draw vfunc
2010-09-26 15:11:35 +02:00
Benjamin Otte
0a6b7e5759
spinner: Port to draw vfunc
2010-09-26 15:11:35 +02:00
Benjamin Otte
7121ec2880
image: Port to draw vfunc
2010-09-26 15:11:35 +02:00
Benjamin Otte
c76221426a
image: Always render the whole image
...
Otherwise effects like blur etc will have funny seams on repaints.
Oh, and also, the draw vfunc doesn't have an equivalent to event->area
;)
2010-09-26 15:11:35 +02:00
Benjamin Otte
5228913f68
spinbutton: Port to draw vfunc
2010-09-26 15:11:35 +02:00
Benjamin Otte
d13a2ad66a
entry: Remove gtk_entry_is_drawable() checks when painting
2010-09-26 15:11:35 +02:00
Benjamin Otte
c412c1c752
entry: Port to draw signal
2010-09-26 15:11:35 +02:00
Benjamin Otte
696989d499
entry: Split else ifs into separate if statements
...
Preparation for the draw vfunc
2010-09-26 15:11:35 +02:00
Benjamin Otte
ec4be3619f
entry: Add bug reference to workaround
2010-09-26 15:11:35 +02:00
Benjamin Otte
867ab99b1a
API: Add gtk_cairo_should_draw_window()
...
See the function documentation for its purpose and the next commit(s)
for examples on how to use it.
2010-09-26 15:11:35 +02:00
Benjamin Otte
04e58c192e
ruler: Port to draw signal
2010-09-26 15:11:35 +02:00
Benjamin Otte
ee8788f766
API: ruler: Change draw_pos vfunc to take a cr, width and height
...
Also refactor code to use it
2010-09-26 15:11:35 +02:00
Benjamin Otte
f5a10b05b5
API: ruler: Remove private ruler draw functions from header
2010-09-26 15:11:34 +02:00
Benjamin Otte
892593eff4
ruler: Change the way the ruler handles exposes
...
1) Don't directly draw in motion-notify, instead call
gtk_widget_queue_draw()
2) Don't draw ticks in expose events anymore, only when they were
changed
2010-09-26 15:11:34 +02:00
Benjamin Otte
c68029b778
API: ruler: Change draw_ticks vfunc
...
We now pass in a cairo_t of the backbuffer and the width and height of
the widget/backbuffer, so the vfunc has a place to draw to.
2010-09-26 15:11:34 +02:00
Benjamin Otte
3bd8319a08
ruler: Don't create two cairo_t's
2010-09-26 15:11:34 +02:00
Benjamin Otte
84671438b0
separator: Convert to draw signal
2010-09-26 15:11:34 +02:00
Benjamin Otte
812d9b9948
hsv: Convert to draw signal
2010-09-26 15:11:34 +02:00
Benjamin Otte
5ea1d78857
progressbar: Port to new draw signal
2010-09-26 15:11:34 +02:00
Benjamin Otte
7108586b16
widget: Add draw signal
...
For now, the draw signal is emitted by default from the expose event, so
widgets can chose to either implement the expose event or the draw
function.
This is for the transitional period from expose event to draw signal.
Note that for now subclasses can only implement the draw function when
none of their parents implemented the expose event.
2010-09-26 15:11:34 +02:00
Benjamin Otte
9507670db4
API: Add API to query width and height when rendering
...
The functions are gtk_widget_get_allocated_width() and
gtk_widget_get_allocated_height().
They are currently identical to using width/height of
gtk_widget_get_allocation(), but are introduced for ease of use (no need
to use a custom struct) and to free people from having to think about
allocation.x and allocation.y (which is where the origin of the cairo
context in GtkWidget::draw is located).
2010-09-26 15:11:34 +02:00
Benjamin Otte
d4f08efd57
API: add gdk_cairo_get_clip_rectangle() convenience API
2010-09-26 15:11:34 +02:00
Benjamin Otte
39b376681c
build: Depend on cairo-gobject
...
We want to use cairo types for signals and properties, so we need to
depend on the library providing them.
2010-09-26 15:11:34 +02:00
Kristian Rietveld
03cf19e8e2
Create cairo context after running validate_visible_area()
...
validate_visible_area() can change the vertical adjustment and thus
trigger window moves/scrolls. This seems to change the surface for
which gtk_tree_view_bin_expose() just created a cairo context. Creating
the cairo context after the call to validate_visible_area() fixes
such crashes.
2010-09-26 15:11:34 +02:00
Kristian Rietveld
0129b89153
quartz: Get size from wrapper, not drawable
2010-09-26 15:11:34 +02:00
Matthias Clasen
0775b0a858
Make the docs build
2010-09-26 15:11:34 +02:00
Benjamin Otte
e624656c20
API: Remove GdkColormap
2010-09-26 15:11:34 +02:00
Benjamin Otte
94f809d439
gdk: Remove nonexisting function from internal header
2010-09-26 15:11:34 +02:00
Benjamin Otte
cf4cb4f6d9
API: Remove colormap handling from GdkScreen
...
In particular, the following functions are gone:
- gdk_screen_get_default_colormap()
- gdk_screen_set_default_colormap()
- gdk_screen_get_system_colormap()
- gdk_screen_get_rgba_colormap()
2010-09-26 15:11:34 +02:00
Benjamin Otte
04d5c477aa
API: Remove gdk_drawable_get_colormap()
...
And with it, remove any notion of colormaps from GdkWindow. In
particular, X11 windows will now not set attrs.colormap when calling
XCreateWindow.
2010-09-26 15:11:33 +02:00
Benjamin Otte
28b4567159
x11: Keep a default X Colormap in every visual to construct windows with
...
This way, we can specify a colormap when constructing windows. And ew
must do that to avoid BadMatch from XCreateWindow when we use a
different visual.
2010-09-26 15:11:33 +02:00
Benjamin Otte
47ee996198
x11: Use G_DEFINE_TYPE() to define GdkVisual
...
Also add a priv pointer to GdkVisual and use it for the GdkVisualPrivate
structure. Then Make GdkVisualPrivate actually private to
gdkvisual-x11.c and make other callers use proper function calls to
access it.
2010-09-26 15:11:33 +02:00
Benjamin Otte
571e749d60
x11: Set background color bypassing colormaps
...
Direct and TrueColor visuals don't alloc colors, so they don't need to
fiddle with colormaps. Just copy the code that computes the pixel value
from gdkcolor-x11.c and use it. For other visual types, don't set the
background color and fallback to background = None.
2010-09-26 15:11:33 +02:00
Benjamin Otte
f08254074c
API: Remove colormap member from GdkWindowAttr
...
Also remove all code that cares about differing colormaps for child
windows.
2010-09-26 15:11:33 +02:00
Benjamin Otte
eac72ec830
quartz: Compare visuals for RGBA, not colormaps
2010-09-26 15:11:33 +02:00
Benjamin Otte
504a2d4194
API: Remove gdk_drawable_get_display()
2010-09-26 15:11:33 +02:00
Benjamin Otte
b5097de481
gdk: gdk_drawable_get_display() => gdk_window_get_display()
2010-09-26 15:11:33 +02:00
Benjamin Otte
2ee8fdb79b
gtk: gdk_drawable_get_display() => gdk_window_get_display()
2010-09-26 15:11:33 +02:00
Benjamin Otte
7f486231ac
API: Add gdk_window_get_display()
2010-09-26 15:11:33 +02:00
Benjamin Otte
0f13411cb0
x11: Use gdk_window_get_screen() in the testutils
2010-09-26 15:11:33 +02:00
Benjamin Otte
a6ef356107
API: Remove drawable getters for visual, screen and depth
...
Removed and replaced are:
gdk_drawable_get_visual() => gdk_window_get_visual()
gdk_drawable_get_screen() => gdk_window_get_screen()
gdk_drawable_get_depth() => gdk_visual_get_depth
(gdk_window_get_visual())
2010-09-26 15:11:33 +02:00
Benjamin Otte
ffed076891
quartz: Remove unused _gdk_quartz_colormap_get_cgcolor_from_pixel()
2010-09-26 15:11:33 +02:00
Benjamin Otte
a6e936788a
gdk: gdk_drawable_get_screen/visual => gdk_window_get_screen/visual
2010-09-26 15:11:33 +02:00
Benjamin Otte
9f47be2216
gtk: gdk_drawable_get_screen/visual => gdk_window_get_screen/visual
2010-09-26 15:11:33 +02:00
Benjamin Otte
5b9bbf9de2
API: Add gdk_window_get_visual() and gdk_window_get_screen()
...
Now that we store the visual in the GdkWindow, these are rather trivial
accessors.
2010-09-26 15:11:32 +02:00
Benjamin Otte
eee6c002d1
gdk: store the visual in the GdkWindowObject
2010-09-26 15:11:32 +02:00
Benjamin Otte
894d402c0f
API: Remove gdk_drawable_set_colormap()
2010-09-26 15:11:32 +02:00
Benjamin Otte
e316157671
API: gdk_pixbuf_get_from_drawable() => gdk_pixbuf_get_from_window()
...
The Colormap argument needed to be removed, so the renaming is just a
side effect.
2010-09-26 15:11:32 +02:00
Benjamin Otte
a9f198082a
dnd: Remove unused colormap code
2010-09-26 15:11:32 +02:00
Benjamin Otte
3607a4c082
API: Remove setters and getters for default colormaps
...
This removes:
gtk_widget_set_default_colormap()
gtk_widget_get_default_colormap()
gtk_widget_get_default_visual()
Colormaps are gone, and the default visual is the system visual of the
default screen.
2010-09-26 15:11:32 +02:00
Benjamin Otte
c51e8bd9e5
API: Remove colormap setting and getting from GtkWidget
...
gtk_widget_get_colormap() and gtk_widget_set_colormap() are gone. They
are replaced by visuals.
2010-09-26 15:11:32 +02:00
Benjamin Otte
4701bdb2a8
style: Move from colormaps to visuals
2010-09-26 15:11:32 +02:00
Benjamin Otte
fc52c9daf3
testgtk: Check visual, not colormap for RGBA availability
2010-09-26 15:11:32 +02:00
Benjamin Otte
0a63e954af
gtk-demo: Remove colormaps from window attributes
2010-09-26 15:11:32 +02:00
Benjamin Otte
2fc80e6102
gdk: Create paint surfaces of the same content as the window
...
Previously, we failed to create RGBA double buffers for RGBA windows.
2010-09-26 15:11:32 +02:00
Benjamin Otte
c64946c52d
trayicon: Use XClearArea
...
gdk_window_clear_area() isn't smart enough to clear to a parent pixmap
that is part of a window that GDK doesn't manage.
2010-09-26 15:11:32 +02:00
Benjamin Otte
d7ede44dae
testgtk: gtk_widget_set_colormap() => gtk_window_set_visual()
2010-09-26 15:11:32 +02:00
Benjamin Otte
4515f0803b
trayicon: Change to use gtk_window_set_visual()
...
One less user of colormaps, and the code is cleaner, too!
2010-09-26 15:11:32 +02:00
Benjamin Otte
59b227e123
window: Keep track of own visual
...
Add gtk_window_set_visual() and a "visual" property. This allows
changing the window visual to the rgba one and other awesome things
(like implementing the trayicon spec).
2010-09-26 15:11:32 +02:00
Benjamin Otte
913f3fcc9f
gtk: Change gtk_widget_get_visual()
...
We now return the visual of the topmost widget in widget's stack that
has a window. If no such widget exists, but a GtkWindow is a parent, we
return its visual (note: GtkWindow Will gain support for setting visuals
soon). If a window doesn't exist, we return the system visual of the
default screen.
This change has multiple reasons:
- Colormaps are gone
Now visuals are the most important resource for creating GDK windows.
- Allow widgets to change visuals for themselves and their children
By walking the hierarchy, we ensure that child windows have the same
visual as their parents by default. But widgets can still select a
different visual in their realize handler when creating the GDK
window.
- Have a replacement for gtk_widget_set_colormap()
That function is going to die with colormaps, so a replacement was
needed. That replacement is going to be gdk_window_set_visual().
- Make a future transition to no-window GTK easy
Should we ever attempt a change to make all GTK widgets no-window, a
gtk_widget_set_visual() would be silly, as only widgets with windows
can have their own visuals. So only toplevels will gain the ability to
change it.
2010-09-26 15:11:31 +02:00
Benjamin Otte
600f52321b
tests: Don't set colormap when creating offscreen windows
2010-09-26 15:11:31 +02:00
Benjamin Otte
08e6fc11ad
testgtk: Don't set colormap when creating GDK windows
2010-09-26 15:11:31 +02:00
Benjamin Otte
e8a6bad00b
gtk: Don't set colormap anymore when creating GDK windows
...
Colormaps are about to be removed, so not using them sounds like an
awesome idea.
2010-09-26 15:11:31 +02:00
Benjamin Otte
a38472c139
testgtk: No need to set a custom colourmap here
2010-09-26 15:11:31 +02:00
Benjamin Otte
e06d04032b
spinner: We're a no-window widget, so setting a colormap does nothing
2010-09-26 15:11:31 +02:00
Benjamin Otte
ce7379a8bd
style: Remove depth member from GtkStyle
2010-09-26 15:11:31 +02:00
Benjamin Otte
6a2124d566
gdk: Remove _gdk_drawable_get_source_drawable()
...
Now that we don't create pixmaps anymore, this function is not needed
anymore. The indirection it did previously is now basically moved to
gdk_window_create_similar_surface()
2010-09-26 15:11:31 +02:00
Benjamin Otte
b09019560b
style: Remove depth checks in render functions
...
There's no need for them anymore now that we render with Cairo.
2010-09-26 15:11:31 +02:00
Benjamin Otte
a520b4f372
x11: Remove some unused macros
2010-09-26 15:11:31 +02:00
Benjamin Otte
a7208d675f
x11: s/GDK_DRAWABLE_DISPLAY/GDK_WINDOW_DISPLAY
2010-09-26 15:11:31 +02:00
Benjamin Otte
c340fb7efd
tests: No need to allocate colors anymore
2010-09-26 15:11:31 +02:00
Benjamin Otte
b479ff9cb5
API: Remove gtk_widget_push_colormap()
...
And of course, gtk_widget_pop_colormap() is gone, too.
No replacement is necessary, the function is basically unused.
2010-09-26 15:11:31 +02:00
Benjamin Otte
522becccc0
gdk: Remove pixmap debug category
...
It's not used anywhere anymore.
2010-09-26 15:11:30 +02:00
Benjamin Otte
f74f9b2766
gdk: Remove GdkPixmap
...
All iusers of it are gone, so it's now time to let go.
cairo_surface_t is a full replacement, combined with
gdk_window_create_similar_surface().
2010-09-26 15:11:30 +02:00
Kristian Rietveld
cadcd029a1
Include OS X system headers
2010-09-26 15:11:30 +02:00
Benjamin Otte
4dd215f82d
tests: Remove GdkPixmap from test
...
It's not used anymore. (Was it ever?)
2010-09-26 15:11:30 +02:00
Benjamin Otte
b7f2f9a678
gtk: Remove special code for detecting pixmaps as event targets
2010-09-26 15:11:30 +02:00
Kristian Rietveld
18a4ed6fd0
quartz: Remove else-clause for pixmaps
2010-09-26 15:11:30 +02:00
Benjamin Otte
9bcbdb7494
x11: Create blank cursor without pixmaps
2010-09-26 15:11:30 +02:00
Benjamin Otte
e6b74551d1
gdk: Get rid of all occurences of "pixmap" in the comments
...
Replace them with the correct term, usually "surface".
2010-09-26 15:11:30 +02:00
Benjamin Otte
55c4cdab1a
x11: Make fallback cursor code not use pixmaps
...
The fallback code for when XCursor wasn't available was still using
GdkPixmap to create the bitmaps.
2010-09-26 15:11:30 +02:00
Benjamin Otte
8d3319f088
x11: Remove last traces of XShm
...
Since deletion of GdkImage, shm is no longer in use.
2010-09-26 15:11:30 +02:00
Benjamin Otte
2b4efe2690
x11: Remove _gdk_x11_convert_to_format()
...
It's unused now.
2010-09-26 15:11:30 +02:00
Benjamin Otte
47292f28d5
x11: Upload cursor image using Cairo
...
There's no need to write our own upload function when the cursor format
is identical to CAIRO_FORMAT_ARGB32.
2010-09-26 15:11:30 +02:00
Benjamin Otte
6607f2b794
API: Rename gdk_set_source_pixmap() to gdk_set_source_window()
...
That's what it's used for now.
2010-09-26 15:11:30 +02:00
Benjamin Otte
e500f997db
gdk: Convert test to not use pixmaps
2010-09-26 15:11:30 +02:00
Benjamin Otte
90b4b88629
API: Remove gdk_window_set_back_pixmap()
...
The same effect can be achieved with
gdk_window_set_background_pattern().
2010-09-26 15:11:30 +02:00
Benjamin Otte
36f0a96161
demos: No need to set the background, it gets overridden anyway
2010-09-26 15:11:30 +02:00
Benjamin Otte
de2a4d1b1a
perf: Use a temp window instead of a normal one
...
This way, we don't need hacks to not set the background.
2010-09-26 15:11:30 +02:00
Benjamin Otte
4a9c32dc36
API: Remove APIs to generate pixmaps from pixbufs
...
The 3 functions in question were:
- gdk_pixbuf_render_threshold_alpha()
- gdk_pixbuf_render_pixmap_and_mask()
- gdk_pixbuf_render_pixmap_and_mask_for_colormap()
All of them can be replaced using Cairo if they have to. The
functionality is only needed to talk to old X interfaces and normal apps
do fine without them.
2010-09-26 15:11:29 +02:00
Benjamin Otte
6453710266
x11: Set the icon using Cairo
...
No more GdkPixmap to store the icon and its mask, but instead use cairo
surfaces. Also render the icon into the surfaces using Cairo instead of
gdk_pixbuf_render_threshold_alpha().
2010-09-26 15:11:29 +02:00
Benjamin Otte
332652f702
API: Change offscreen windows to use a cairo_surface_t
...
This requires changes to all the offscreen surface getters that used to
return a GdkPixmap before.
2010-09-26 15:11:29 +02:00
Benjamin Otte
ebdf26e1d8
gdk: Use surfaces for double buffering
...
Don't use pixmaps anymore. Also use subsurfaces for implicit paints and
correcly set device offsets.
2010-09-26 15:11:11 +02:00
Benjamin Otte
666539736d
gdk: Make csw windows have their own cairo surface
...
With Cairo 1.10 now having cairo_surface_create_for_rectangle(), we can
use them. No need to create multiple native surfaces for the same X
window (ugh) anymore.
2010-09-26 15:11:11 +02:00
Benjamin Otte
b69fdbbd04
API: Remove gdk_window_get_internal_paint_info()
...
This function should not exist in public API, it exposes too many
internals.
2010-09-26 15:11:11 +02:00
Benjamin Otte
d04bb38b28
gdk: offscreen window source drawable now is the root window
...
As the source drawable is only used for creating pixmaps these days, we
don't have to keep a real drawable around, but can just use the root
window.
2010-09-26 15:11:11 +02:00
Benjamin Otte
6d27362620
gdk: Create surfaces directly, not from the source drawable
...
The notion of a source drawable does not make a lot of sense for windows
that are not backed by a drawable, such as GdkOffscreenWindow after
converting it to cairo_surface_t.
2010-09-26 15:11:11 +02:00
Benjamin Otte
2bedd205c5
gdk: Remove gdk_windowing_create_cairo_surface()
...
Instead, actually use the create_cairo_surface vfunc on the
implementation drawable. D'oh.
2010-09-26 15:11:11 +02:00
Benjamin Otte
804fd4b15a
dnd: Replace last pixmap usage with cairo surfaces.
2010-09-26 15:11:11 +02:00
Benjamin Otte
b370cb0d4c
API: image: Remove ability to set image from a pixmap
2010-09-26 15:11:11 +02:00
Benjamin Otte
3ba78fed2a
API: Remove the ability to set the dnd icon from a pixmap
2010-09-26 15:11:11 +02:00
Benjamin Otte
19bad9fecc
tests: Convert testinput to use cairo_surface_t
2010-09-26 15:11:11 +02:00
Benjamin Otte
d7335837e0
gdk: Remove gdk_window_redirect_to_drawable()
...
Also remove the reverse gdk_window_remove_redirection().
The code was only used by the snapshotting code, and that code is dead
now.
2010-09-26 15:11:11 +02:00
Benjamin Otte
039e0c273a
testoffscreen: Remove unused code
2010-09-26 15:11:11 +02:00
Benjamin Otte
ca8a835874
API: Remove gtk_widget_get_snapshot()
...
It will be replaced with gtk_widget_draw().
2010-09-26 15:11:11 +02:00
Benjamin Otte
99c82af20a
testgtk: Remove snapshot test
...
gtk_widget_get_snapshot is on its way out.
The test can be added back once we have gtk_widget_draw(), but until
then, there's no way to take snapshots.
2010-09-26 15:04:02 +02:00
Benjamin Otte
8ac0e98f98
ruler: Make the backing store use a surface
2010-09-26 15:04:02 +02:00
Benjamin Otte
b186680a43
API: make gtk_icon_view_create_drag_icon() return a cairo_surface_t
...
GdkPixmap is going to die!
2010-09-26 15:04:02 +02:00
Benjamin Otte
db47dd6197
API: make gtk_tree_view_create_row_drag_icon() return a cairo_surface_t
...
GdkPixmap is going to die!
2010-09-26 15:04:02 +02:00
Benjamin Otte
f085bc67cd
treeview: Convert GtkTreeViewColumn rendering to Cairo
2010-09-26 15:03:01 +02:00
Benjamin Otte
b259dd9aba
iconview: Port to Cairo rendering
2010-09-26 15:03:01 +02:00
Benjamin Otte
e9dd3dc46a
cellview: Port to Cairo rendering
2010-09-26 15:03:01 +02:00
Benjamin Otte
42947e3cdc
API: Add gtk_cell_renderer_render_cairo()
...
It's like gtk_cell_renderer_render(), just cooler.
2010-09-26 15:03:01 +02:00
Benjamin Otte
e31e77eeb8
API: Change cellrenderer->render vfunc to take a cairo_t
...
Also constify the rectangle arguments. They were const anyway.
2010-09-26 15:03:01 +02:00
Benjamin Otte
4138e86ad4
testview: Convert _gtk_text_util_create_rich_drag_icon() to use surfaces
2010-09-26 15:03:01 +02:00
Benjamin Otte
331999d84d
textview: API: change gtk_text_layout_draw() to take a cairo_t
...
This simplifies the API a lot and allows more magic to happen later.
2010-09-26 15:03:01 +02:00
Benjamin Otte
ac48f2330d
API: Add gtk_cairo_draw_insertion_cursor()
...
For now just add it instead of replacing the current function. In the
end, this one should probably be renamed to
gtk_draw_insertion_cursor() and the current
gtk_draw_insertion_cursor() should die.
2010-09-26 15:03:00 +02:00
Benjamin Otte
3d340d7449
text: Make _gtk_text_util_create_drag_icon() return a surface
...
And change its callers to handle it that way.
2010-09-26 15:03:00 +02:00
Benjamin Otte
3dfb47bc3c
API: Add gtk_drag_set_icon_surface()
...
The function is supposed to replace gtk_drag_set_icon_pixmap().
2010-09-26 15:03:00 +02:00
Benjamin Otte
0d9d599b50
menu: set tearoff background using new background API
2010-09-26 15:03:00 +02:00
Benjamin Otte
134683c9be
Use gdk_window_set_background_pattern() to set parent-relative bakground
2010-09-26 15:03:00 +02:00
Benjamin Otte
20d1030823
iconview: No need to set background
2010-09-26 15:03:00 +02:00
Benjamin Otte
84c77c0be3
style: Rewrite background handling to use cairo_pattern_t
2010-09-26 15:03:00 +02:00
Benjamin Otte
603a840de9
trayicon: Use new gdk_window_set_background_pattern() API
2010-09-26 15:03:00 +02:00
Benjamin Otte
5e4aaba482
gtk: Remove calls that try to set GDK_NO_BG on their windows
...
These calls aren't necessary anymore.
2010-09-26 15:03:00 +02:00
Benjamin Otte
2c1633699f
gdk: Rewrite background handling
...
Now the window background is a cairo_pattern_t. The backends will try to
set this as good as they can on the windowing system, but no guarantees
are made on wether the windowing system supports the pattern.
Also gets rid of GDK_NO_BG as undefined behavior is not a good idea to
support, and GDK_NO_BG effectively made the window's contents undefined.
It wasn't effectively used in GTK anyway.
2010-09-26 15:03:00 +02:00
Benjamin Otte
c250b3fe1d
gdk: Remove supports_native_bg on WindowImplIface
...
This will not be TRUE for anything anymore, once we fix background
handling.
2010-09-26 15:03:00 +02:00
Benjamin Otte
95686cb704
gdk: Remove send_expose event from gdk_window_clear_region_internal()
...
It's always FALSE.
2010-09-26 15:03:00 +02:00
Benjamin Otte
547e2cc837
gdk: Remove GdkWindowImpl->clear_region
...
It was only used on the X11 backend and is easier to implement locally,
in particular when we want to allow backgrounds that X can't handle.
2010-09-26 15:03:00 +02:00
Benjamin Otte
3d98537c2e
gdk: Simplify clear_area code
...
No more use for a gdk_window_clear_area_internal() function as there's
just one caller.
2010-09-26 15:03:00 +02:00
Benjamin Otte
6ab793da8d
API: Remove gdk_window_clear_area_e()
...
Awesome name for a function. Plus, it's unused and its functionality can
easily be replicated.
2010-09-26 15:03:00 +02:00
Benjamin Otte
4b57560666
gdk: Don't use clear_area_e() in offscreenwindow
...
Instead, call gdk_window_invalidate_rect() ourselves.
2010-09-26 15:02:59 +02:00
Benjamin Otte
bfa6ad6e7c
gdk: Remove _gdk_windowing_get_shape_for_mask()
...
It's unused. And there's a replacement available with
gdk_cairo_region_create_from_surface()
2010-09-26 15:02:59 +02:00
Benjamin Otte
a7fec8cf46
API: Remove shape_combine_mask functions from gdk
...
This removes gdk_window_shape_combine_mask() and
gdk_window_input_shape_combine_mask(). GdkBitmap is going away and a
replacement exists via the combine_region() functions and
gdk_cairo_region_create_from_surface().
2010-09-26 15:02:59 +02:00
Benjamin Otte
806a7239ae
widget: shape_combine_mask => shape_cobine_region
...
Replace gtk_widget_shape_combine_region() with
gtk_widget_shape_combine_mask() and
gtk_widget_input_shape_combine_region() with
gtk_widget_input_shape_combine_mask().
As GdkBitmap is going away, and the region equivalents already exist,
this seems like pretty much the default step to take.
Includes code to fix up the users.
2010-09-26 15:02:59 +02:00
Benjamin Otte
8b4d50dd1d
treeview: Port to gdk_window_shape_combine_region()
...
gdk_window_shape_combine_mask() is going away. It's using a GdkPixmap
and falls back to gdk_window_shape_combine_region() anyway.
2010-09-26 15:02:59 +02:00
Benjamin Otte
96b387599d
API: Add gdk_cairo_region_create_from_surface()
...
The function converts the given surface into an alpha bitmap mask. This
is mostly useful for setting shape regions.
Also adds a new internal function _gdk_cairo_surface_extents() that
computes a surface's extents.
2010-09-26 15:02:59 +02:00
Benjamin Otte
6218c16ff8
API: Remove gdk_cursor_new_from_pixmap()
...
gdk_cursor_new_from_pixbuf() is the proper replacement.
2010-09-26 15:02:59 +02:00
Benjamin Otte
0178bff5c0
colorsel: Use gdk_cursor_new_from_pixbuf() to create the cursor
...
gdk_cursor_new_from_pixmap() is about to die.
2010-09-26 15:02:59 +02:00
Benjamin Otte
6ef27387e0
API: remove gdk_window_set_icon()
...
gdk_window_set_icon_list() now does everything gdk_window_set_icon()
used to do.
2010-09-26 15:02:59 +02:00
Benjamin Otte
dceb149ca4
testgtk: Convert WM hints example to use gdk_window_set_icon_list()
...
gdk_window_set_icon() is about to go away.
Also removes the circles.xbm file and uses the oncluded openfile logo
instead.
2010-09-26 15:02:59 +02:00
Benjamin Otte
37a62e9367
window: Remove call to gdk_window_set_icon()
...
Also remove all the functions taking care of it. This is now handled by
the X11 backend directly. And the other backends ignored this function
anyway.
2010-09-26 15:02:59 +02:00
Benjamin Otte
241f38992b
x11: remove icon_window property, it's not used anymore
2010-09-26 15:02:59 +02:00
Benjamin Otte
c65bb2b3b4
x11: Set icon based on icon list
...
Basically copies the code for setting the WM icon hint from GtkWindow to
GdkWindow. This achieves the following:
- Putting this X11 specific code into the X11 backend
- Enables removal of gdk_window_set_icon()
- Gets rid of Pixmap/Bitmap usage outside of GDK.
2010-09-26 15:02:59 +02:00
Benjamin Otte
da9b45be78
pixbuf-engine: remove unused theme_pixbuf_render_no_cairo()
2010-09-26 15:02:59 +02:00
Benjamin Otte
be1d190b2e
style: Convert draw_spinner vfunc to Cairo version
2010-09-26 15:02:59 +02:00
Benjamin Otte
81f15cf908
style: Convert draw_resize_grip vfunc to Cairo version
...
Includes removal of now unused draw_simple_image_no_cairo() function
from pixbuf engine.
2010-09-26 15:02:59 +02:00
Benjamin Otte
d80e2897b9
style: Convert draw_layout vfunc to Cairo version
2010-09-26 15:02:58 +02:00
Benjamin Otte
ff6e75adbc
style: Convert draw_expander vfunc to Cairo version
2010-09-26 15:02:58 +02:00
Benjamin Otte
e5e228debf
style: Convert draw_handle vfunc to Cairo version
2010-09-26 15:02:58 +02:00
Benjamin Otte
f0fd2e3a6e
style: Convert draw_slider vfunc to Cairo version
2010-09-26 15:02:58 +02:00
Benjamin Otte
24304a2e93
style: Convert draw_focus vfunc to Cairo version
2010-09-26 15:02:58 +02:00
Benjamin Otte
4d4871203e
style: Convert draw_extension vfunc to Cairo version
2010-09-26 15:02:58 +02:00
Benjamin Otte
45a2656e32
style: Convert draw_box_gap vfunc to Cairo version
...
Includes removal of now unused draw_gap_image_no_cairo() function from
pixbuf theme engine.
2010-09-26 15:02:58 +02:00
Benjamin Otte
3f7b36d5cc
style: Convert draw_shadow_gap vfunc to a Cairo version
2010-09-26 15:02:58 +02:00
Benjamin Otte
e1544bcc7f
style: Convert draw_tab vfunc to Cairo version
2010-09-26 15:02:58 +02:00
Benjamin Otte
f2dc8a26ed
style: Convert draw_option vfunc to Cairo version
2010-09-26 15:02:58 +02:00
Benjamin Otte
fed19bcf50
style: Convert draw_check vfunc to Cairo version
2010-09-26 15:02:58 +02:00
Benjamin Otte
bea727a142
style: Convert draw_flat_box vfunc to Cairo version
2010-09-26 15:02:58 +02:00
Benjamin Otte
8c325f0d60
style: Convert draw_shadow vfunc to Cairo version
2010-09-26 15:02:58 +02:00
Benjamin Otte
e59cbd5605
style: Convert draw_vline vfunc to a Cairo version
2010-09-26 15:02:58 +02:00
Benjamin Otte
abaecf4308
style: Convert draw_hline vfunc to Cairo version
2010-09-26 15:02:58 +02:00
Benjamin Otte
07662f288d
API: change gtk_style_apply_default_background()
...
It now takes a cr to apply the default background to. And it no longer
takes a set_bg parameter
2010-09-26 15:02:57 +02:00
Benjamin Otte
761a1932a6
pixbuf-engine: Add Cairo version for draw_gap_image()
2010-09-26 15:02:57 +02:00
Benjamin Otte
e08d4258bb
pixbuf-engine: Add Cairo version for draw_simple_image()
2010-09-26 15:02:57 +02:00
Benjamin Otte
507f37b536
pixbuf-engine: Make theme_pixbuf_render take a cairo_t
...
This is in preparation for the theme engine switch to Cairo. We keep the
old function around so that we can step-by-step upgrade all the vfuncs.
2010-09-26 15:02:57 +02:00
Benjamin Otte
f7cfaee18a
pixbuf-engine: Get rid of unused mask argument
2010-09-26 15:02:57 +02:00
Benjamin Otte
eda14b2d47
notebook: Fix compilation warnings
...
A quark is not a pointer.
2010-09-26 15:02:00 +02:00
Benjamin Otte
bbcb737b86
menu: Remove unused variable
2010-09-26 15:01:52 +02:00
Matthias Clasen
71991f339d
GtkScrolledWindow: document changed default policy
2010-09-25 12:54:47 -04:00
Matthias Clasen
5aad25aa42
Nuke the 'Types' section from the docs
2010-09-24 23:03:51 -04:00
Matthias Clasen
3fd767c92d
Remove mention of input dialog from the docs
2010-09-24 22:16:53 -04:00
Matthias Clasen
8b5bc9669b
GtkOffscreenWindow: shorten doc title
2010-09-24 22:13:42 -04:00
Matthias Clasen
a98127fc12
GtkScale: Remove links from doc section title
2010-09-24 21:52:58 -04:00
Matthias Clasen
92ededc9b4
GtkMenu: Add a destroy notify to gtk_menu_popup_for_device
...
This is necessary so language bindings can use gtk_menu_popup_for_device()
as a 'full' variant of gtk_menu_popup().
http://bugzilla.gnome.org/show_bug.cgi?id=623664
2010-09-24 13:52:49 -04:00
Matthias Clasen
cc9ac5b7ea
Update docs of GtkAboutDialog and GtkLinkButton
...
Remove references to global hooks from the docs. Also move remaining
docs inline, and remove the templates.
2010-09-24 13:41:29 -04:00
Matthias Clasen
bc6a3f8cd8
DND: don't use uninitialized memory
...
The dest_x/y members of GtkDragDestInfo were not initialized.
At the same time, switch some of the small temporary structs
to g_slice allocation.
https://bugzilla.gnome.org/show_bug.cgi?id=630532
2010-09-24 13:23:47 -04:00
Matthias Clasen
1773b6d50a
GtkAboutDialog: correct a since tag
2010-09-24 12:43:55 -04:00
Christian Dywan
7dde4d93ad
gtkeditable: move documentation to inline comments
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=617316
2010-09-24 18:42:44 +02:00
Florian Müllner
93fd2b44c3
introspection: Fix typo in annotation
2010-09-24 18:26:34 +02:00
Tomeu Vizoso
41f4fd94df
Don't try to unref event->dnd.context unconditionally.
...
As it's not set in gdk_event_new but eventually later.
https://bugzilla.gnome.org/show_bug.cgi?id=630520
2010-09-24 18:20:41 +02:00
Matthias Clasen
26c93dc04b
GtkAboutDialog: escape mail addresses
...
This got lost when converting to the ::activate-link signal.
2010-09-24 12:02:37 -04:00
Matthias Clasen
8578ff4b38
Remove gtk_notebook_set_window_creation_hook in testnotebookdnd.c
2010-09-24 11:53:20 -04:00
Matthias Clasen
94e9a35a16
Another since tag
2010-09-24 11:31:23 -04:00
Matthias Clasen
50971f704c
Correct since tags
2010-09-24 11:29:17 -04:00
Matthias Clasen
3c19eea34b
GtkNotebook: replace group by group_name
...
Dealing with bare pointers is problematic for language bindings,
using interned strings is much more straightforward and more than
good enough for what is needed here.
http://bugzilla.gnome.org/show_bug.cgi?id=630521
2010-09-24 11:13:30 -04:00
Matthias Clasen
b47b1428b8
GtkNotebook: remove gtk_notebook_set_window_creation_hook
...
http://bugzilla.gnome.org/show_bug.cgi?id=630521
2010-09-24 11:10:51 -04:00
Matthias Clasen
3557761fb3
docs: Add a CODING-STYLE document
...
This document mostly codifies the existing GTK+ coding style
conventions; it is strongly based on the clutter document of
the same name.
2010-09-23 22:28:02 -04:00
Matthias Clasen
65db1100ec
docs: remove defsformat.txt
...
We should not ship documentation for file formats we are no longer
using.
2010-09-23 22:28:01 -04:00
Matthias Clasen
c45985ae01
docs: remove gtk-config.txt
...
Considering that gtk-config has been obsoleted by pkg-config
a decade ago, we should stop shipping docs for it...
2010-09-23 22:28:01 -04:00
Matthias Clasen
8026cd386b
Bump gobject-introspection dep in INSTALL.in
2010-09-23 22:28:01 -04:00
Johan Dahlin
8736d31a04
Fix a couple of broken annotations
2010-09-23 17:57:16 -03:00
Matthias Clasen
76d7331578
Fix the annotation of gtk_tree_view_create_row_drag_icon
2010-09-23 13:17:52 -04:00
Matthias Clasen
84bae92928
fix a typo in the gtk_widget_render_icon annotations
2010-09-23 13:17:52 -04:00
Takayuki KUSANO
381c14f1e2
Updated Japanese translation
2010-09-24 02:16:55 +09:00
Javier Jardón
61e9f570d9
INSTALL.in: Automate the versions of the dependencies
2010-09-23 19:05:13 +02:00
Kenneth Nielsen
e56a209077
Updated Danish translation
2010-09-22 22:58:04 +02:00
Tristan Van Berkom
aad77642be
Fixed GtkWrapBox base requests for ALIGNED and FREE mode
...
Problems were; in FREE mode there was a simple typo where we were
repeatedly checking the size of the same item in get_largest_line_length(),
and in ALIGNED mode we were assuming something like HOMOGENEOUS which
was incorrect; added get_largest_aligned_line_length() which properly
adds up the collective max sizes of every index in the line.
2010-09-22 16:06:42 +09:00
Tristan Van Berkom
c9ca4beb35
Fixed gtk_distribute_natural_allocation() to place the g_newa *after* g_return_if_fail() guards.
2010-09-22 16:06:42 +09:00
Matthias Clasen
b0713fb3bb
Remove url hooks from GtkAboutDialog and GtkLinkButton
...
With gtk_show_uri, global configurability of link activation has
moved to GIO/gvfs. For local overrides, GtkLinkButton has the ::clicked
signal, and GtkAboutDialog gets an ::activate-link signal.
Bug 339745
2010-09-22 00:36:13 -04:00
Tristan Van Berkom
0e1bba6ef5
Fixed GtkViewport to set adjustments properly for width-for-height widgets
...
Make GtkViewport calculate widget-for-height as well as height-for-width
cases when setting the scroll adjustment values, also base the scrolling
on the minimum size instead of the natural size in the interest of showing
as much content as possible when the viewport is smaller than the natural
size.
2010-09-22 12:50:06 +09:00
Javier Jardón
bb90394147
Do not disable GDK deprecation guards
2010-09-22 04:28:53 +02:00
Javier Jardón
fb62d6105f
Do not disable deprecation guards
2010-09-22 04:21:13 +02:00
Javier Jardón
9ef738c4ab
Add deprecation guards for gdk_device_get_core_pointer()
2010-09-22 03:53:23 +02:00
Javier Jardón
9c3d1080d6
Do not use deprecated gdk_display_get_core_pointer()
...
Use gdk_device_manager_get_client_pointer() instead
2010-09-22 03:42:15 +02:00
Matthias Clasen
59bc9e8860
Fix an off-by-one error in serial range handling
...
trap->end_sequence is the first serial for which we don't
ignore errors anymore, so we know the trap is dead if
end_sequence <= processed_serial.
Bug 629608
2010-09-21 21:10:15 -04:00
Matthias Clasen
0f88b6808c
GtkScrolledWindow: change default policy to 'automatic'
...
This change was proposed in bug 468672.
2010-09-21 20:14:46 -04:00
Cody Russell
27bc88f7c2
Merge branch 'notebooks-without-mouse-scrolling'
2010-09-21 16:19:10 -05:00
Cody Russell
ad48f4d52b
Remove mouse scrolling from GtkNotebook tabs. Bug #630226 .
2010-09-21 16:18:22 -05:00
Matthias Clasen
eba2d6cf61
autogen.sh: run gtkdocize before aclocal
2010-09-21 12:45:51 -04:00
Tristan Van Berkom
e976abe825
Split up GtkWrapBox:spreading property into two orientation specific properties.
...
Now GtkWrapBox has "horizontal-spreading" and "vertical-spreading" options,
before GtkWrapBox never spread out children across the opposing orientation
(i.e. it never grew "lines" larger then their natural width, they would
act as if set to GTK_WRAP_BOX_SPREAD_START, now they are completely configurable).
2010-09-21 22:00:54 +09:00
Michael Natterer
9e2996decd
configure.ac: remove check for sigsetjmp(), it belonged to gdk-pixbuf
2010-09-21 12:35:37 +02:00
Owen W. Taylor
93e203e067
Use g_warning() for X errors and X IO errors
...
Currently fprintf(stderr, ...) is used for X error and X IO errors
(unless compiled with debugging, in which case g_error() is used for
X errors.)
But if an application is redirecting log messages, we really want
X errors to appear in that same log, so it's better to use a g_logv()
variant.
Though g_warning() isn't really appropriate for "lost connection to the
server", G_LOG_LEVEL_INFO isn't part of the "prefixed log levels"
so will produce output without the application name and PID.
https://bugzilla.gnome.org/show_bug.cgi?id=630216
2010-09-21 00:30:46 -04:00
Matthias Clasen
e0aa12eb0a
Tons of transfer annotations
2010-09-21 00:18:11 -04:00
Tristan Van Berkom
ca251cf1d4
Reduced overall SizeRequestCache size
...
This patch changes the 'age' counting previous approach taken
verbatim from clutter and changes it for a counter of validated
caches and an index to the last cached value which we use to
round-robin through the cache if ever a widget is requested
for more than 3 contextual sizes (cache is reduced by 3 * sizeof (int)
per widget private data).
2010-09-21 12:57:27 +09:00
Johan Dahlin
6ba904486c
Add a couple of missing transfer annotations
2010-09-20 23:45:01 -03:00
Johan Dahlin
330bc154ed
Fixup gtk-doc comment syntax
2010-09-20 23:40:21 -03:00
Matthias Clasen
2ddfaeddad
More error trap cleanups
...
Remove syncs in front of gdk_error_trap_pop() calls, and convert
gdk_error_trap_pop() calls to gdk_error_trap_pop_ignored() in gdk.
2010-09-20 16:40:14 -04:00
Owen W. Taylor
14e38da150
Only store error codes in inner-most X error trap
...
When an error occurs with nested traps in place, only the innermost
trap should have the error code stored in it; outer traps are
shielded by the inner trap.
https://bugzilla.gnome.org/show_bug.cgi?id=629608
2010-09-20 16:35:41 -04:00
Aron Xu
1592738d2f
Add a ug.po for po-properties, re-enable ug in LINGUAS.
2010-09-20 20:16:29 +00:00
Emmanuele Bassi
1aea318d0f
po: Disable ug localization
...
The ug.po file is missing from the po-properties directory and it's
breaking the build.
2010-09-20 13:51:38 +01:00
Takayuki KUSANO
bb7ffddff2
Updated Japanese translation
2010-09-20 18:50:58 +09:00
Sweta Kothari
e8a60e6123
Updated Gujarati Translations
2010-09-20 12:50:44 +05:30
Aron Xu
d14687ef4b
Add ug to LINGUAS.
2010-09-20 05:17:10 +00:00
Matthias Clasen
def95d1319
Add new error trap api to gdk.symbols and gdk3-sections.txt
2010-09-19 22:45:02 -04:00
Javier Jardón
743202261a
Add deprecation guards for gtk_cell_renderer_get_size()
2010-09-19 17:47:09 +02:00
Kenneth Nielsen
ae3be469b3
Updated Danish translation
2010-09-19 17:40:56 +02:00
Wouter Bolsterlee
bc7654826f
Updated Dutch translation by Vincent van Adrighem
2010-09-19 16:39:54 +02:00
Matthias Clasen
1dcd209cdd
Fix a few dubious return values in return_if_fail calls
...
These were pointed out in bug 623958.
2010-09-19 01:58:46 -04:00
Matthias Clasen
8e117b6f3a
Add a rename-to annotation for gtk_tree_path_get_indices_with_depth
...
https://bugzilla.gnome.org/show_bug.cgi?id=621590
2010-09-19 01:15:17 -04:00
Matthias Clasen
6b4992d647
Point to the new GtkWidget align and margin properties
2010-09-19 01:01:09 -04:00
Matthias Clasen
35e0ad72e4
Another fix for the initial focus heuristic
...
We were trying to avoid selecting a label initially, but the code
was sometimes leaving labels selected when the focus eventually
ended up on a button instead.
2010-09-19 00:54:50 -04:00
Matthias Clasen
92411d2c84
Fix an annotation
2010-09-19 00:22:37 -04:00
Matthias Clasen
1243b4861c
Use gdk_error_trap_pop_ignore() where appropriate
2010-09-18 23:17:31 -04:00
Havoc Pennington
e32ab82069
Improve tests for X error traps, fix two bugs
...
* don't lose track of previous X error handler
if nested traps are pushed
* free any remaining traps when display
is finalized
Test will fail unless bug 630032 is closed so
gdk_display_close() works.
https://bugzilla.gnome.org/show_bug.cgi?id=630033
2010-09-18 23:03:31 -04:00
Havoc Pennington
c7d73ee587
Fix bugs that crashed gdk_display_close() on x11
...
* _gdk_device_set_associated_device() did not allow NULL device
* GdkDisplay should dispose device manager to avoid devices
trying to touch the display in finalize
* GdkDeviceManagerXI did not ref devices in id hash
* GdkDisplayX11 did not ref devices in ->input_devices
2010-09-18 22:57:36 -04:00
Havoc Pennington
b837ef5a6d
Revamp and modernize X error traps
...
* add per-display gdk_x11_display_error_trap_push()
(X11-specific because gdk_error_trap_push() probably
should have been)
* make gdk_error_trap_push() handle only GDK displays
not displays opened without a GDK wrapper
* make gdk_error_trap_pop() and gdk_x11_display_error_trap_pop()
automatically sync only if needed, so manual gdk_flush() is not
required
* add gdk_error_trap_pop_ignored() which just asynchronously
ignores errors, so never needs to sync
* add G_GNUC_WARN_UNUSED_RESULT to plain pop(), because
if you use plain pop() and don't need the return value,
the async gdk_error_trap_pop_ignored() should be used
instead. This results in lots of warnings to clean
up in a later patch.
The main objective here was to avoid the need to sync just
to ignore an error. Now, syncing is automatic, and only
happens when we need to know the error code.
https://bugzilla.gnome.org/show_bug.cgi?id=629608
2010-09-18 18:19:27 -04:00
Matthias Clasen
4f3e5e6ebc
Add some minimal test for X error traps
2010-09-18 18:18:36 -04:00
Havoc Pennington
8d5b4e9f6e
Replace crufty old code for gdk error traps with GQueue and GSlice
...
No need to do a manual free list these days.
https://bugzilla.gnome.org/show_bug.cgi?id=629608
2010-09-18 16:44:25 -04:00
Havoc Pennington
de3512dbba
Remove trailing whitespace and obsolete doc comments from gdk_error_trap code
...
(there are actual docs in the template file, these were some kind of
pre-gtk-doc comments without useful info)
https://bugzilla.gnome.org/show_bug.cgi?id=629608
2010-09-18 16:39:56 -04:00
Johan Dahlin
19cab17c22
Add a couple of missing annotations
2010-09-18 13:43:06 -03:00
Johan Dahlin
60c920f228
[introspection] Do not parse private sources
...
Private sources include private headers which we may not be able
to parse properly since some of them use unsupported syntax such
as objective-c.
2010-09-18 13:43:00 -03:00
Johan Dahlin
8c3900f420
[introspection] Do not include internal api
...
GtkTextLayout is internal and unsupported, do not include
it in the gir
2010-09-18 13:28:52 -03:00
Ryan Lortie
ac051a7b2c
depend on GLib 2.27.0
2010-09-17 20:49:30 -04:00
Javier Jardón
809dbe9f99
gail: Do not use deprecated gtk_cell_renderer_get_size()
...
Use gtk_cell_size_request_get_size() instead
https://bugzilla.gnome.org/show_bug.cgi?id=629785
2010-09-17 20:00:25 +02:00
Javier Jardón
15a5a231fc
Do not use deprecated gtk_cell_renderer_get_size()
...
Use gtk_cell_size_request_get_size() instead
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=629785
2010-09-17 19:59:56 +02:00
Javier Jardón
efbf04236e
Change GtkEditable typedef from GtkEditableClass to GtkEditabeInterface
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=323904
2010-09-17 19:57:09 +02:00
Matthias Clasen
6e9349d858
Fix a trivial typo in a doc comment
...
https://bugzilla.gnome.org/show_bug.cgi?id=629733
2010-09-17 10:30:37 -04:00
Matthias Clasen
54077d61e2
Add some element-type annotations to gtk apis
2010-09-17 09:26:39 -04:00
Matthias Clasen
28c66ed9b0
Fix a doc comment
2010-09-17 09:25:49 -04:00
Matthias Clasen
bf19aa46e9
Scan gdk/x11 sources for Gdk-3.0.gir
...
The doc comments (with annotations) for some of the gdk api are down
in x11/ sources, so we need to scan those too, when building Gdk-3.0.gir.
2010-09-17 09:23:30 -04:00
Matthias Clasen
6aa8941b84
Add annotations
...
The goi scanner warns about these nowadays.
2010-09-17 00:18:20 -04:00
Aron Xu
ab0e68e586
Update Simplified Chinese translation of po-properties.
2010-09-16 17:34:27 +00:00
Matthias Clasen
2f78aa3024
Rename h/v-align to h/valign
...
And adjust the getters and setters to match. Also include some
documentation by Havoc Pennington about adjustment of size requests
and allocations.
2010-09-15 20:14:56 -04:00
Colin Walters
bf2a7ee1b6
introspection: Only use 0.9.3 API
2010-09-15 15:07:58 -04:00
Petr Kovar
8e72e9a7a0
Update Czech translation
2010-09-15 20:31:29 +02:00
Petr Kovar
67e6ac5af9
Update Czech translation
2010-09-15 20:01:47 +02:00
Matthias Clasen
b9f66d9197
Add docs for new API
2010-09-15 13:52:52 -04:00
Matthias Clasen
3e91238071
Add new api to gtk.symbols
2010-09-15 13:49:00 -04:00
Matthias Clasen
38e09dcbb1
Use gint instead of in for local consistency
2010-09-15 13:22:51 -04:00
Tristan Van Berkom
896e249e8f
Added a default size of a magic number to testwrapbox.c
...
This was added to the test only for the sake of making it
easier to reproduce a bug with scrolled windows (bug 629778).
Expected behaviour: The vertical scrollbar should dissapear as soon
as the required height for the full allocation width (without any
vertical scrollbar) is small enough to not need a scrollbar.
2010-09-16 01:41:53 +09:00
Sebastian Dröge
560ca1eaad
gdk: Only use XComposite if it is available
...
Fixes build if it isn't available. Bug #629748 .
2010-09-15 16:42:57 +02:00
Tor Lillqvist
57e0b9a979
Fix build on Windows
...
No idea of the widget embedding crack has worked in recent versions,
even less now. But at least it now compiles.
2010-09-15 14:19:40 +03:00
Tristan Van Berkom
1110375f24
spinner: Dont inherit from GtkDrawingArea part 2.
...
Seems commit 7b42d4feda makes
GtkSpinner a direct subclass of GtkWidget but forgets to
update the header file to include gtkwidget.h instead and
declare the instance and class structures properly (assuming
this was just a missed file in the commit).
2010-09-15 16:52:29 +09:00
Javier Jardón
f5a06df3dc
spinner: timeout should add/remove in map/unmap, not realize/unrealize.
...
Otherwise hiding the spinner won't stop it
2010-09-15 04:00:55 +02:00
Javier Jardón
8345760fdb
gtkentry: remove unnneded check in map/unmap functions
2010-09-15 03:28:24 +02:00
Javier Jardón
e3a8e29a6c
Add deprecation guards for gtk_widget_size_request()
2010-09-15 03:14:34 +02:00
Javier Jardón
15d46dd866
demos: Use gtk_size_request_get_size() instead gtk_widget_size_request()
2010-09-15 03:14:34 +02:00
Javier Jardón
b140884fec
Use gtk_size_request_get_size() instead deprecated gtk_widget_size_request()
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=629598
Signed-off-by: Javier Jardón <jjardon@gnome.org >
Signed-off-by: Tristan Van Berkom <tristanvb@openismus.com >
2010-09-15 03:02:58 +02:00
Christian Kirbach
a18e2370bf
[l10n] Updated German translation
2010-09-14 23:38:07 +02:00
Tristan Van Berkom
2ee532645f
Adjusted new documentation for GtkSizeGroup.
2010-09-15 04:51:36 +09:00
Tristan Van Berkom
266476d32b
Added documentation to gtksizegroup.sgml explaining what happens with height-for-width widgets.
...
When grouping height-for-width trading widgets (wrapping labels for instance)
vertically; the height for the minimum width will always be used for the entire
group... this patch warns about this in the docs.
2010-09-15 04:04:02 +09:00
Tristan Van Berkom
8bfb1e0ab8
Fixed GtkSizeGroups to adjust both minimum and natural requisitions
...
Originally the GtkSizeRequestIface patches left GtkSizeGroup working
only by bumping the minimum sizes - this commit fixes size groups to take
both minimum and natural requests into account.
2010-09-15 04:04:02 +09:00
Javier Jardón
ab4ba69cc8
Add deprecation guards for gtk_cell_view_get_size_of_row()
2010-09-14 20:40:34 +02:00
Benjamin Otte
7b42d4feda
spinner: Don't inherit from drawing area
...
A drawing area is not meant to be subclassed from. It also doesn't
provide any feature a spinner would need either.
2010-09-14 01:28:01 +02:00
Benjamin Otte
032d3f0ada
spinner: Implement the size request interface
...
Doing size requests in expose is broken.
2010-09-14 01:25:07 +02:00
Benjamin Otte
c22b80949d
spinner: Move G_DEFINE_TYPE() below function definitions
...
Also remove redundant double definition.
2010-09-14 01:19:48 +02:00
Benjamin Otte
419e1548ab
wrapbox: Lookie, an unused variable
2010-09-14 01:17:17 +02:00
Benjamin Otte
5ba6295a10
spinner: Define desired size at top of file
...
No magic numbers in the code please
2010-09-14 01:09:53 +02:00
Matthias Clasen
ff29972a48
GtkWrapBox: let GtkContainer handle border width
2010-09-13 18:47:59 -04:00
Matthias Clasen
b64e91adf0
Remove fill options from GtkWrapBox
...
GtkWidget alignment properties make this unnecessary in new containers.
2010-09-13 18:47:59 -04:00
Matthias Clasen
0e484a83d1
Remove padding from GtkWrapBox
...
GtkWidget margins make this unnecessary in new containers.
2010-09-13 18:47:58 -04:00
Matthias Clasen
8204fe6036
GtkBox: let GtkContainer handle border width
2010-09-13 18:47:58 -04:00
Javier Jardón
97ffc36540
Add deprecation guards for gtk_widget_get_child_requisition()
2010-09-13 22:37:11 +02:00
Javier Jardón
450beef2a2
demos: Do not use deprecated gtk_widget_get_child_requisition()
...
Use gtk_size_request_get_size() instead
2010-09-13 22:37:11 +02:00
Milan Bouchet-Valat
e02252cdd6
bgo#486839 - Fix path bar size group in the file chooser
...
Since the location button is hidden in save mode, we need to add the
path bar to the size group too. The location button still has to be in
the group though, because it's larger than the path bar (when
shown). Instead of using the recent/search icons, add their hboxes so
that themed widget spacings don't introduce variations.
2010-09-13 14:57:23 -05:00
Javier Jardón
9e81022bf6
Use gtk_size_request_get_size() instead deprecated gtk_widget_get_child_requisition()
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=629177
2010-09-13 21:26:01 +02:00
Tristan Van Berkom
153bfacde0
Fixed GtkWrapBox to allocate variable row AND column heights when in ALIGNED mode
...
With this new approach at request and allocate time, the average child size
is used to determine a good guess at how many columns will fit the box
width; afterwards extra columns are appended and checked to fit.
Then the row heights are calculated based on height-for-width of each
child in the row which now may have individual widths.
2010-09-14 02:32:36 +09:00
Tristan Van Berkom
96c3858b21
Make testwrapbox scrolled window scrollbars automatic.
...
Did this in the hope to reproduce infinite recursion bugs
with height-for-width in scrolled windows (see complex bgo #611740
for reference for now).
2010-09-14 02:32:36 +09:00
Tristan Van Berkom
a79637f081
Changed GtkWrapBox code to avoid a growing GArray of a known size.
2010-09-14 02:32:36 +09:00
Adel Gadllah
85ae875dcb
[GdkWindowCache] Don't ignore the CompositeOverlayWindow
...
Add the composite overlay window to the cache, as this can be a reasonable Xdnd proxy as well.
This is only done when the screen is composited in order to avoid mapping
the COW. We assume that the CM is using the COW (which is true for pretty
much any CM currently in use).
https://bugzilla.gnome.org/show_bug.cgi?id=601731
2010-09-13 18:20:22 +02:00
Kristian Rietveld
a79d6676ac
Update gtkstyle.c to account for removal of row-ending-details
...
The detail strings now have more "detail" by default, so gtkstyle.c
needed to be updated to properly handle this. Tests like testtreeview,
testtreesort now have proper background drawing again.
This strncmp trick was the best I could think of so quickly, if anybody
has an idea to do this in a better way, let me know.
2010-09-13 17:13:21 +02:00
Kristian Rietveld
ecaa37529c
Mark declaration of symbol _gtk_text_unknown_char_utf8 as extern
...
So that the symbol is not re-created each time the header is included.
The symbol is defined in gtktexttypes.c already.
2010-09-13 16:47:14 +02:00
Kristian Rietveld
31cd439385
Use accessor functions to access GtkWidget
2010-09-13 16:39:55 +02:00
Kristian Rietveld
0fc5433753
Update for GDK key name changes
2010-09-13 16:27:08 +02:00
Kristian Rietveld
234d750bb3
Update Quartz backend for GDK key name changes
2010-09-13 16:26:02 +02:00
Takayuki KUSANO
d93ab58829
Updated Japanese translation.
2010-09-13 22:19:59 +09:00
Havoc Pennington
1dc9451b57
Add padding and alignment tests to testadjustsize.c
2010-09-12 21:47:10 -04:00
Havoc Pennington
474f80442a
Add margin and alignment properties to GtkWidget
...
h-align = START,END,CENTER,FILL
v-align = START,END,CENTER,FILL
margin-left,right,top,bottom
margin
These should obsolete all such similar properties on
layout containers, GtkMisc, GtkAlignment, GtkContainer::border-width
Margin is outside the size request.
If margin were not outside the set_size_request() it would not work the
same way as container-supplied (child property) padding.
Conceptually set_size_request() forces the value from the subclass
(the original unadjusted request) and then we go on to adjust
the request further by adding the margin.
2010-09-12 21:47:10 -04:00
Havoc Pennington
85735112d7
GtkButton: let GtkContainer handle border width
2010-09-12 21:47:10 -04:00
Havoc Pennington
daebca19da
add gtk_container_class_handle_border_width() so subclasses can ignore border_width
...
A subclass calls gtk_container_class_handle_border_width()
in its class_init
This marks the subclass as expecting GtkContainer to deal with
border width automatically, which GtkContainer then does.
2010-09-12 21:47:10 -04:00
Havoc Pennington
dc1940e99e
Add testadjustsize test, to test new adjust size methods and related features
...
This will test size adjust, and interactions with other padding and border
2010-09-12 21:47:10 -04:00
Havoc Pennington
cd2a19a68d
GtkWidget: add adjust_size_request adjust_size_allocation virtual funcs
...
Use these new methods to handle set_size_request (aka aux_info)
inside gtkwidget.c, instead of having external code mess with it.
The virtual functions can be used for other purposes in the
future. For example, GtkContainer::border_width could be
automatically implemented for all container subclasses.
2010-09-12 21:47:10 -04:00
Havoc Pennington
9debfe243f
Use _gtk_widget_get_aux_info_or_defaults() when possible in gtkwidget.c
...
Did not update uses in other files because the plan is to
get rid of those other uses anyhow. So don't want to make
this function available in the header.
2010-09-12 21:47:10 -04:00
Havoc Pennington
cf68c2636a
add _gtk_widget_get_aux_info_or_defaults()
...
This is better than peeking aux info then testing != NULL
in several ways:
- it returns const aux info so if we don't create we can't write
- it ensures that the default we assume if aux_info is NULL is
the same as the default we set if we've created the aux info
- it avoids typing in != NULL checks
2010-09-12 21:47:10 -04:00
Havoc Pennington
c29f0a1392
Fix more SizeRequest implementations to avoid recursive calls to wrapper API
...
GtkFrame, GtkComboBox, GtkExpander, GtkMenu, GtkWrapBox
These are all the examples I could find so far.
https://bugzilla.gnome.org/show_bug.cgi?id=628829
2010-09-12 21:47:10 -04:00
Havoc Pennington
8960d64cc6
Warn about recursively calling size req wrappers on the same object and orientation
...
We are not re-entrant and there is no reason for widgets to
do this, most likely they'll just get unexpected bugs because
the wrappers may modify the request.
Computing the request should logically rely only on the
widget itself, not on any adjustments caused by set_size_request,
size groups, and so forth.
https://bugzilla.gnome.org/show_bug.cgi?id=628829
2010-09-12 21:47:09 -04:00
Havoc Pennington
cf6eb47758
default impls of width_for_height,hfw should chain directly not use wrapper API
...
In GtkBin and GtkWidget we tried to provide handy defaults that
call get_width if there's no get_width_for_height and
get_height for get_height_for_width.
However, they used the wrapper API on GtkSizeRequest instead of
chaining directly to the other method implementation.
This could result in all kinds of surprising behavior, for example,
get_width_for_height() would now already include the effects of set_size_request().
If nothing else it's inefficient. But it's just conceptually wrong,
because to chain to another implementation, we should call the other
implementation, not call a wrapper around the other implementation
(when we're already inside a previous invocation of the wrapper,
i.e. compute_size_for_orientation() ends up reinvoking itself
in the same orientation on the same object which it pretty
likely isn't intending to do)
https://bugzilla.gnome.org/show_bug.cgi?id=628829
2010-09-12 21:47:09 -04:00
Havoc Pennington
b3079c0d18
Use gint16 for GtkBorder
...
32K of border ought to be enough for any pixel dimensions. At least
until screens are so huge we start using doubles.
This saves a nice 64 bits of space when we have a GtkBorder
stored somewhere.
Signed integers are used to avoid surprising unsigned math
issues. Just search GTK's whole git log from inception
for "unsigned" if you want to find any number of commits
fixing signed/unsigned bugs.
https://bugzilla.gnome.org/show_bug.cgi?id=629387
2010-09-12 21:47:09 -04:00
Javier Jardón
7e520d908a
Fix some compilation warnings
...
GScanner token field is declared as GTokenType instead a guint
See Glib bug: https://bugzilla.gnome.org/show_bug.cgi?id=627890
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=627962
2010-09-13 03:28:36 +02:00
Javier Jardón
e3fafd7512
docs: Fix gdk_display_get_core_pointer() docs
...
Point to gdk_device_manager_get_client_pointer(),
not gdk_display_get_client_pointer().
2010-09-13 02:48:21 +02:00
Benjamin Otte
66e860b5d1
style: Fix drawing of insensitive text
...
When writing the original code I erroneously assumed that the current
point of the cairo context would be saved by cairo_save/restore(), but
of course the current point is part of the path and therefor isn't
saved.
Also do a cairo_new_path() before rendering any text so that we are sure
the text ends up at the right spot.
2010-09-12 16:00:05 +02:00
Matthias Clasen
08dd02fe25
Don't use g_idle_add to schedule idles in GDK
...
We need to use gdk_threads_add_idle, in order to keep GDK code
under the GDK lock.
Bug 629277
2010-09-10 22:32:44 -04:00
Javier Jardón
d3661589f4
gtk/gtkwidget.c: Use accessor functions to access GtkWindowGroup
2010-09-11 04:25:41 +02:00
Javier Jardón
ab248d7ca3
Revert "gtk/gtkmain.c: Use accessor functions to access GtkWindowGroup"
...
This reverts commit 65b9fc3e5b .
2010-09-11 04:24:54 +02:00
Javier Jardón
65b9fc3e5b
gtk/gtkmain.c: Use accessor functions to access GtkWindowGroup
2010-09-11 03:34:01 +02:00
Javier Jardón
6eae25e0b0
GtkWindow: move public members to private structure
...
Signed-off-by: Christian Dywan <christian@twotoasts.de >
2010-09-11 02:22:28 +02:00
Matthias Clasen
402e3bed47
Bump version to 2.90.8
2010-09-10 12:31:15 -04:00
Matthias Clasen
056ec835cc
Include gdkkeysyms.h in gdk.h
...
Followup to bug 629093
2010-09-10 11:08:18 -04:00
Mike Gorse
e356769f33
Gail: Remove gail_cell_type_add_action_interface, as it no longer does anything
2010-09-10 09:46:34 -04:00
Mike Gorse
da0975d5f2
Gail: Take fill/page size into account when returning a range's maximum value
2010-09-10 06:09:41 -04:00
Kjartan Maraas
6460fb6b3e
Updated Norwegian bokmål translation
2010-09-10 09:53:58 +02:00
Matthias Clasen
e2a492cf80
Some more updates
2010-09-09 22:33:56 -04:00
Matthias Clasen
36437a635d
Update potfiles
2010-09-09 22:17:27 -04:00
Matthias Clasen
149b84dacf
Really stop exporting text-related variables
2010-09-09 22:11:36 -04:00
Matthias Clasen
95eb4a868e
Remove GDK_DISPLAY() usage
2010-09-09 21:55:28 -04:00
Matthias Clasen
2a27c90479
Update NEWS for 2.90.7
2010-09-09 19:50:24 -04:00
Matthias Clasen
0dcaad3a85
Drop the gdk_display variable from gdk
...
This was the last exported variable; it wasn't multihead safe,
and there's easy replacement with gdk_display_get_default().
Also drop the GDK_DISPLAY() macro which was just a wrapper around
the variable.
2010-09-09 19:46:41 -04:00
Matthias Clasen
001d16cb87
Fix the docs build after GtkItem removal
2010-09-09 16:11:31 -04:00
Tristan Van Berkom
a6a036ce22
Adding note to docs of gtk_widget_set_window()
...
gtk_widget_set_window() does not add a reference to the
owned window... this is an exception to most gtk_foo_set_bar()
functions where as it acts as if it were named gtk_widget_take_window().
Adding note to the docs to avoid people giving the window to the
widget and naturally proceeding to unref the window.
2010-09-10 03:25:21 +09:00
Benjamin Otte
6624da6393
widget: Fix SEGV when no focus widget exists
2010-09-09 18:10:04 +02:00
Benjamin Otte
b0b8393f99
gail: Add missing include
2010-09-09 15:46:55 +02:00
Tor Lillqvist
e748334327
Avoid potential DLL hijacking in Wintab code
...
Load Wintab32.dll from an absolute path. A proper Wintab32.dll, if
present, should be in the Windows system directory, so load it from
there.
2010-09-09 15:44:12 +03:00
Tor Lillqvist
7464a9ca08
Use accessor functions
2010-09-09 15:02:33 +03:00
Tor Lillqvist
0c662ecb9a
Fix gail build
2010-09-09 15:01:36 +03:00
Tor Lillqvist
ceca2ff10c
Adapt to the GDK_KEY changes
2010-09-09 14:35:20 +03:00
Tristan Van Berkom
73ea777c33
Fixed GtkTextView & GtkIconView to consult it's true previous size request
...
Fixed issues in my previous patch for bug 626939 removing GtkRequisition
cache: these widgets monitor the previous requested size and decide whether
to queue a resize when the content changes based on it's prior request.
2010-09-09 17:19:18 +09:00
Tristan Van Berkom
843be48572
Moved GtkSizeRequest cache to GtkWidget->priv
...
Now that we have a private data installed directly on
the GtkWidget instance it makes no sense to cache the size
requests on widget qdata. This change will generally make
GTK+ memory less fragmented as well as significantly speed
up the size request process.
2010-09-09 17:19:18 +09:00
Tor Lillqvist
f76fddb8a7
Use accessor functions in Win32-only code
2010-09-09 11:09:55 +03:00
Tor Lillqvist
dd36afc207
Don't use the same name for a function that used to be a variable
...
Rename the gtk_major_version() etc functions I introduced yesterday to
start with gtk_get. Avoids misleading results in client programs whose
developers that don't notice the change or the compiler warnings, and
when recompiling against gtk3 then use the function addresses as the
version numbers.
2010-09-09 11:06:26 +03:00
Matthias Clasen
91d0728dfa
Fix build of gail after GtkItem removal
2010-09-09 00:51:08 -04:00
Matthias Clasen
3bd93e5bfd
Remove GtkItem
...
With the demise of GtkList and GtkTree, it has GtkMenuItem as sole
derived class, and is not really adding any value as a separate class.
Its few useful features have been merged into GtkMenuItem.
Bug 629104
2010-09-08 23:38:09 -04:00
Javier Jardón
72ac2175e2
gtk/gtkhandlebox.c: Do not use gdk_window_get_deskrelative_origin()
...
This completes commit bd277fad50
2010-09-09 02:26:43 +02:00
Colin Walters
e08c43faf4
porting guide: Update to mention GDK_KEY_ transition
2010-09-08 18:51:44 -04:00
Colin Walters
913cdf3be7
GDK: Prefix key names with KEY_
...
The keysyms create a lot of potential namespace conflicts for
C, and are especially problematic for introspection, where we take
constants into the namespace, so GDK_Display conflicts with GdkDisplay.
For C application compatiblity, add gdkkeysyms-compat.h which uses
the old names.
Just one user in GTK+ continues to use gdkkeysyms-compat.h, which is
the gtkimcontextsimple.c, since porting that requires porting more
custom Perl code.
2010-09-08 18:51:44 -04:00
Colin Walters
03c19e37af
gdk: Update gdkkeysyms.h
...
In preparation for adding a namespace prefix for introspection.
2010-09-08 18:51:44 -04:00
Javier Jardón
bd277fad50
Remove deprecated gdk_window_get_deskrelative_origin() and its implementations
2010-09-09 00:50:46 +02:00
Tor Lillqvist
3dda0adf76
Drop GDK_DEBUG_GC and _IMAGE as GDK doesn't do that any more
2010-09-09 01:09:49 +03:00
Mike Gorse
8fb5bc2583
Remove a duplicate variable
...
Bug#629110: gtk_spinner_accessible_get_type always returns null
2010-09-08 17:55:28 -04:00
Javier Jardón
1b0d2fcd51
Use G_CALLBACK() instead deprecated GTK_SIGNAL_FUNC()
2010-09-08 23:42:25 +02:00
Javier Jardón
016093d007
docs: Remove GtkFileSelection deprecated docs
2010-09-08 22:58:03 +02:00
Javier Jardón
a76d198508
GtkWidget: Move public members to private structure
2010-09-08 21:28:16 +02:00
Javier Jardón
efaed1b8f1
gtk/gtknotebook.c: use accessor functions to access GtkWidget
2010-09-08 21:13:04 +02:00
Javier Jardón
f8cfb895ed
gtk/gtkarrow.c: use accessor functions to access GtkWidget
2010-09-08 21:13:04 +02:00
Javier Jardón
d9e7680735
gtk/gtkpathbar.c: use accessor functions to access GtkWidget
2010-09-08 21:13:04 +02:00
Javier Jardón
a338d5dea5
gtk/gtkruler.c: use accessor functions to access GtkWidget
2010-09-08 21:13:04 +02:00
Javier Jardón
e4dc454f59
gtk/gtkseparator.c: use accessor functions to access GtkWidget
2010-09-08 21:13:04 +02:00
Javier Jardón
50ef420378
gtk/gtkhandlebox.c: use accessor functions to access GtkWidget
2010-09-08 21:13:04 +02:00
Javier Jardón
89e8f79f07
gtk/gtkiconview.c: use accessor functions to access GtkWidget
2010-09-08 21:13:04 +02:00
Javier Jardón
a48d28848e
gtk/gtkimage.c: use accessor functions to access GtkWidget
2010-09-08 21:13:03 +02:00
Javier Jardón
ec2f2c3daf
gtk/gtkmenu.c: use accessor functions to access GtkWidget
2010-09-08 21:13:03 +02:00
Javier Jardón
0993bc4d1c
gtk/gtkmisc.c: use accessor functions to access GtkWidget
2010-09-08 21:13:03 +02:00
Javier Jardón
29044f0f0e
gtk/gtkspinbutton.c: use accessor functions to access GtkWidget
2010-09-08 21:13:03 +02:00
Javier Jardón
5533264958
gtk/gtktextview.c: use accessor functions to access GtkWidget
2010-09-08 21:13:03 +02:00
Javier Jardón
d05d713068
gtk/gtktreeview.c: use accessor functions to access GtkWidget
2010-09-08 21:13:03 +02:00
Javier Jardón
2d0a655201
gtk/gtkwindow.c: Fix warning
...
Cast to GtkSizeRequest
This was added in
commit b654afcb48
2010-09-08 21:13:03 +02:00
Tor Lillqvist
87141cf4c8
Get rid of the rest of variables exported from libgtk
...
Especially the gtk_*_type ones in gtktexttypes.h were mentioned in
gtk.symbols presumably by accident. That header isn't even installed,
so no way can they be supposed to be public.
gtk_text_attr_appearance_type is from the installed but "semi-private"
gtktextlayout.h, so drop that one too from gtk.symbols for now.
The use of gtk_text_unknown_char_utf8 is bit of a mess. Code in a few
files knew implicitly that it is three bytes. Define a symbolic name
for the length of it instead. Add an exported function
gtk_text_unknown_char_utf8_gtk_tests_only() that returns a pointer to
it just for the sake of gtk/tests/textbuffer.c. Prefix the variable
with an underscore.
I doubt the usefulness of the test_utf8() in textbuffer.c. If it could
be dropped, gtk_text_unknown_char_utf8_gtk_tests_only() could be
dropped, too.
2010-09-08 21:31:34 +03:00
Tor Lillqvist
801875b805
Replace gtk_debug_flags with getter and setter functions
...
Preferrably should be made just into a local variable for libgtk like
_gdk_debug_flags for libgdk. But for now used by
gtk/tests/textbuffer.c and modules/printbackends/cups/gtkprintbackendcups.c.
2010-09-08 21:31:34 +03:00
Tor Lillqvist
2ab562a6f7
Remove also the docs for the gdk_threads_mutex variable
2010-09-08 21:31:33 +03:00
Tor Lillqvist
cb24bcc613
Turn the gtk version and age variables into functions
...
Having variables exported from a DLL is slightly painful and
potentially error-prone on Windows, so let's try get rid of them now
when we can. Starting with these.
2010-09-08 21:31:33 +03:00
Javier Jardón
b654afcb48
gtk/gtkwindow.c: Use gtk_size_request_get_size() instead gtk_widget_get_requisition()
2010-09-08 19:40:51 +02:00
Tristan Van Berkom
9934007420
Completely removed requisition cache from GtkWidget instance structure.
...
Since we have a new mechanism for requesting sizes: GtkSizeRequestIface;
it makes no sense to maintain this cache on the GtkWidget structure...
removing the requisition cache however does not break the old "size-request"
signal which is there for backwards compatability reasons.
In any case widget->requisition should not have been accessed,
gtk_widget_get_child_requisition() would have been the correct way
to consult the cache.
This commit also deprecates the newly added gtk_widget_get_requisition()
API and makes it fallback on gtk_size_request_get_size().
2010-09-08 18:50:24 +02:00
Javier Jardón
4e6a665e61
tests: Use gtk_widget_set_size_request() instead gtk_widget_set_usize()
2010-09-08 18:39:36 +02:00
Javier Jardón
bc366cef52
gtknotebook: Do not mention deprecated API
2010-09-08 17:46:11 +02:00
Javier Jardón
eb81216e32
demos: Do not use deprecated API
2010-09-08 17:45:51 +02:00
Javier Jardón
4a5e0a35b9
gtksocket: Remove mention to gtk_socket_steal() deprecated function
2010-09-08 17:14:37 +02:00
Javier Jardón
ca3348f8f1
Do not use deprecated API in docs and examples
...
gtk_calendar_display_options() was deprecated and removed. Use
gtk_calendar_set_display_options() instead
2010-09-08 17:10:37 +02:00
Tor Lillqvist
3963d5aa76
Remove variables from the platform-independent GDK API
...
gdk_threads_mutex, gdk_threads_lock and gdk_threads_unlock are removed
from public API. gdk_threads_mutex was deprecated already. Instead of
using gdk_threads_lock and _unlock one was presumably supposed to use
the GDK_THREADS_ENTER and _LEAVE macros, which now simply call the
corresponding gdk_threads_enter() and _leave() functions.
Remove he dllimport/dllexport ugliness for GDK for Windows.
There is still a gdk_display variable being exported by the X11
backend.
2010-09-08 15:59:09 +03:00
Colin Walters
319bc22c5c
gtk.symbols: Update expected ABI
2010-09-07 14:17:10 -04:00
Owen W. Taylor
d04e557370
Fix annotations for gdk_window_get_device_position()
...
Add (out) and (transfer none) as appropriate
2010-09-07 14:03:18 -04:00
John (J5) Palmieri
c78a23bdca
add annotations for tranfer and scope so that methods are exported by GI
2010-09-07 13:50:40 -04:00
John (J5) Palmieri
eeaf576316
add array annotation to gtk_builder_add_objects_from_string
2010-09-07 12:06:29 -04:00
John (J5) Palmieri
8a210673fb
add gtk_radio_button_join_group method for bindings
...
* this mirrors the committed change for gtk_radio_action_join_group in
commit 85b53969b2
* 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
GtkRadioButton objects and not with the list of objects that gets
modified in the library
https://bugzilla.gnome.org/show_bug.cgi?id=628935
2010-09-07 10:41:40 -04:00
Tristan Van Berkom
278957a5a4
Removed x/y/x_set/y_set from GtkWidgetAuxInfo
...
These members of GtkWidgetAuxData can no longer be set after
the removal of deprecated gtk_widget_set_uposition(), now removed
these members completely and removed the access to them from
gtk_widget_size_allocate().
2010-09-07 16:21:44 +09:00
Tristan Van Berkom
d5278b5994
Removed _gtk_window_reposition()
...
_gtk_window_reposition() was only some extra confusing code, internally
it only calls the public API gtk_window_move()... replaced calls to
_gtk_window_reposition() with direct calls to gtk_window_move() and
removed the redundant internal API (probably there only for some historical
reason).
2010-09-07 15:45:15 +09:00
Havoc Pennington
c50db9c208
Use a bitfield for Widget::private_flags, ::state, ::saved_state
...
This recovers 10 bits, since state and saved_state as uint8 both
wasted 5 bits. Now we can add 10 more flags.
Also, a possible future patch could just do 1-bit bitfields
for the private flags instead of using manual bit twiddling.
https://bugzilla.gnome.org/show_bug.cgi?id=628884
2010-09-07 00:13:11 -04:00
Matthias Clasen
d5c2cb7bcb
Avoid segfault on xkbless systems
...
This was reported in bug 628932 to cause problems on VNC.
2010-09-07 00:10:26 -04:00
Duarte Loreto
87b192773c
Updated Portuguese translation
2010-09-07 00:51:47 +01:00
Klemen Košir
fc5b39a4b8
Updated Slovenian translation
2010-09-06 16:47:25 +02:00
Baurzhan Muftakhidinov
134f9774dd
Updated Kazakh translation
2010-09-06 10:29:49 +06:00
Matthias Clasen
3c5f9fd1a2
Remove use of ::has-separator property
2010-09-06 00:26:17 -04:00
Matthias Clasen
2f966e8418
Remove some unused enums
...
The GtkAnchorType and GtkVisibility enums are not used anywhere,
so remove them.
2010-09-05 23:55:47 -04:00
Havoc Pennington
88a90b8abb
Warn if a widget requests minimum size > natural size
...
Since this makes no sense and there's no reason we should
have to check for it elsewhere just in case some widget is
busted.
https://bugzilla.gnome.org/show_bug.cgi?id=628808
2010-09-05 21:46:22 -04:00
Havoc Pennington
d7d940c71e
Add more "reserved for expansion" fields to GtkWidgetClass
...
Only 3 were left. 3.x cycle may need more.
https://bugzilla.gnome.org/show_bug.cgi?id=628807
2010-09-05 21:42:35 -04:00
Claude Paroz
956a3f53e1
Updated French translation
2010-09-04 23:21:19 +02:00
Murray Cumming
08ddea5069
GtkStatusIcon: Remove get/set_blinking() declarations from header.
...
This was apparently forgotten in
commit 18b47b6cd0 .
2010-09-04 13:18:09 +02:00
Martin Schlemmer
e6da33a302
MS Windows engine: draw elements in the right place.
...
Work in progress, still remains to be solved the problem of clipping.
2010-09-03 22:19:39 +02:00
Matej Urbančič
3b63ef0ac6
Updated Slovenian translation
2010-09-03 19:16:38 +02:00
Matthew Barnes
bf3b5f785e
Don't leak display name
...
Bug 628656 - _gdk_windowing_get_startup_notify_id memory leak
get_display_name() returns a newly allocated string, which was being fed
directory info a g_strdup_printf() call.
2010-09-03 12:48:50 -04:00
Benjamin Otte
d8f3a162c8
style: Use gtk_widget_get_state() for the entry background
...
New code sets the entry background to GTK_STATE_ACTIVE when it has focus
and the active color in the default theme looks rather bad.
2010-09-03 17:14:17 +02:00
Mattias Põldaru
7e78999034
[l10n] Updated Estonian translation
2010-09-03 18:06:48 +03:00
Benjamin Otte
78ccc74879
entry: Use the same state for the flat box of text area and icons
2010-09-03 17:01:06 +02:00
Benjamin Otte
3fdb4f6069
x11: Unused variable
2010-09-03 13:39:24 +02:00
Benjamin Otte
9c2eca5b06
range: Unused variable
2010-09-03 13:39:10 +02:00
Benjamin Otte
3685db091d
window: Use brackets to silence gcc
2010-09-03 13:38:55 +02:00
Benjamin Otte
fc46f2ca2f
tests: Remove all code relating to the blink menu item
2010-09-03 13:38:29 +02:00
Matthias Clasen
1be5f91491
Document --disable-Bsymbolic option
2010-09-02 22:56:41 -04:00
Matthias Clasen
d095448be3
Remove unused --disable-visibility option
2010-09-02 22:56:15 -04:00
Tor Lillqvist
f42814168c
Just use TrackMouseEvent directly
...
TrackMouseEvent is present in user32.dll in all Windows versions we
support. No need to look it up dynamically. No need to fallback to
_TrackMouseEvent from comctrl32.dll.
2010-09-03 00:30:56 +03:00
Colin Walters
00ce32d940
gtk-demo: Drop use of GTK_DIALOG_NO_SEPARATOR
...
Commit d433a60611 dropped this API.
2010-09-02 16:48:45 -04:00
Klemen Košir
6aa846cc4d
Updated Slovenian translation
2010-09-02 18:24:32 +02:00
Fridrich Štrba
03b6a9b6a0
Oops, make the MS Windows theme really compile.
2010-09-02 15:39:19 +02:00
Matthias Clasen
18b47b6cd0
Remove blinking from status icons
...
This feature was just a bad idea.
2010-09-02 09:37:06 -04:00
Matthias Clasen
46f15e7d68
Adapt docs to dialog api changes
2010-09-02 09:35:50 -04:00
Matthias Clasen
76b21033f9
Adapt tests to dialog api change
2010-09-02 09:31:54 -04:00
Matthias Clasen
d433a60611
Remove separators from dialogs
...
It seems more reasonable to remove this feature than to keep fighting
off every separator that pops up by accident in a dialog.
2010-09-02 09:14:20 -04:00
Fridrich Štrba
97cd2500c3
Make the MS Windows engine compile again.
...
Nevertheless, it is not working and needs a lot of fixing before
it can be useful.
2010-09-02 15:04:14 +02:00
Matthias Clasen
a60a933ca6
Update docs or GtkProgressBar api changes
2010-09-02 08:59:27 -04:00
Matthias Clasen
ece148eec0
Remove ::state-hint use
...
This use of the property was overlooked when it was removed.
We now always behave as if state-hint == TRUE.
2010-09-02 08:59:27 -04:00
Matthias Clasen
55d5d3679e
Table gymnastics
2010-09-02 08:59:26 -04:00
Tor Lillqvist
2994fa11fb
Avoid potential DLL hijacking in ms-windows theme engine
...
Load uxtheme.dll from an absolute path. A proper uxtheme.dll, if
present, will always be in the Windows system directory, so load it
from there.
2010-09-02 14:45:59 +03:00
Fridrich Štrba
e78851b928
Adapt to progressbar api change
2010-09-02 10:24:34 +02:00
Fridrich Štrba
31b709d08a
Export one needed symbol
2010-09-02 10:24:34 +02:00
Tristan Van Berkom
68568cff66
Enhanced/Simplified GtkWrapBox api as per Havoc's comments.
...
Made an enum GtkWrapBoxPacking for the expand/fill horizontal/vertical
boolean options... changed xpadding/ypadding to be horizontal-padding
and vertical-padding for a more consistent api and better readablility.
2010-09-02 15:36:36 +09:00
Tristan Van Berkom
c9ccc7551b
Some api changes for GtkWrapBox
...
Ammended documentation for GTK_WRAP_BOX_SPREAD_EVEN and renamed
GTK_WRAP_BOX_SPREAD_BEGIN -> GTK_WRAP_BOX_SPREAD_START.
2010-09-02 14:22:55 +09:00
Tristan Van Berkom
f2279d5e51
Fixed GtkNotebook to not consult GtkWidget->requisition directly
...
GtkNotebook was filling widget->requisition directly at "size-request"
time instead of filling in the *requsition argument, also (more importantly)
at size_allocate time GtkNotebook was consulting the action widget's
widget->requisition directly instead of safely calling
gtk_widget_get_child_requisition(). This commit closes bgo #628068 .
2010-09-02 13:50:27 +09:00
Matthias Clasen
42a90aa00c
Add information about progressbar migration
...
Add a section to the migration guide about GtkProgressBar.
Also, actually include the wrap box docs.
2010-09-02 00:05:32 -04:00
Matthias Clasen
6b5672c199
Remove now unused GtkProgressBarOrientation enum
2010-09-01 23:30:21 -04:00
Matthias Clasen
0ff6aedca0
Convert GtkCellRendererProgress to a GtkOrientable
...
And add an inverted property to it, too.
2010-09-01 23:27:00 -04:00
Matthias Clasen
3302f22da2
Adapt testgtk progressbar test to api changes
2010-09-01 23:26:19 -04:00
Matthias Clasen
4230f7998b
Make GtkProgressBar implement GtkOrientable
...
This also means that gtk_progress_bar_[sg]et_orientation are
gone.
2010-09-01 23:25:22 -04:00
Matthias Clasen
c3a19a4a14
Split the GtkProgressBar::orientation property
...
We splict the orientation property into a GtkOrientation and a
'inverted' boolean, the same way that GtkRange is set up.
2010-09-01 23:24:20 -04:00
Matthias Clasen
e4af3782d3
Rename GtkIconView::orientation property
...
Rename the ::orientation property of GtkIconView to item-orientation,
which is both clearer and avoids the conflict with the orientation
property of GtkOrientable implementations.
2010-09-01 23:03:48 -04:00
Matthias Clasen
1956cf8d28
Remove GtkRange::activate-slider
...
This was a style property to let theme engines 'opt-in' to more
correct behaviour while maintaining compatibility with existing
themes. GTK+ 3 engines are expected to handle the more correct
behaviour.
2010-09-01 22:09:44 -04:00
Matthias Clasen
d28af9cbb9
Remove GtkRange::stepper-position-details
...
This was a style property to let theme engines 'opt-in' to more
correct behaviour while maintaining compatibility with existing
themes. GTK+ 3 engines are expected to handle the more correct
behaviour.
2010-09-01 21:48:44 -04:00
Matthias Clasen
658f99b8ee
Remove GtkRange::trough-side-details
...
This was a style property to let theme engines 'opt-in' to more
correct behaviour while maintaining compatibility with existing
themes. GTK+ 3 engines are expected to handle the more correct
behaviour.
2010-09-01 21:30:47 -04:00
Matthias Clasen
095fb1afe4
Remove GtkTreeView::row-ending-details
...
This was a style property to let theme engines 'opt-in' to more
correct behaviour while maintaining compatibility with existing
themes. GTK+ 3 engines are expected to handle the more correct
behaviour.
2010-09-01 20:58:39 -04:00
Matthias Clasen
399580f9e1
Remove GtkEntry::state-hint
...
This was a style property to let theme engines 'opt-in' to more
correct behaviour while maintaining compatibility with existing
themes. GTK+ 3 engines are expected to handle the more correct
behaviour.
2010-09-01 20:21:21 -04:00
Matthias Clasen
299454b7ed
Update NEWS for 2.90.7
2010-09-01 20:09:10 -04:00
Matthias Clasen
15ea566813
Wrap box assimilation
...
Some coding style cleanups, rename Priv to Private, add docs
2010-09-01 20:03:30 -04:00
Matthias Clasen
7670b13d19
Update GtkButtonBox docs
2010-09-01 19:15:59 -04:00
Javier Jardón
6e5d65c9af
gtkscale: move documentation to inline comments
2010-09-01 20:37:39 +02:00
Javier Jardón
5484211c90
gtktexttagtable: move documentation to inline comments
2010-09-01 20:37:39 +02:00
Javier Jardón
7eadf45888
gtktypeutils: move documentation to inline comments
2010-09-01 20:37:39 +02:00
Javier Jardón
a47e5483b6
gtkimcontextsimple: move documentation to inline comments
2010-09-01 20:37:39 +02:00
Javier Jardón
3a752e03a8
gtkimmulticontext: move documentation to inline comments
2010-09-01 20:37:39 +02:00
Colin Walters
787df491f3
Add correct namespace prefix to ColorSelectionPrivate
...
gobject-introspection is now more strict about garbage in public headers.
2010-09-01 13:16:37 -04:00
Carl-Anton Ingmarsson
38fad43129
docs: Further fix GtkStock documentation
...
Some icons were left out from the
commit 9688665334
https://bugzilla.gnome.org/show_bug.cgi?id=628308
Signed-off-by: Javier Jardón <jjardon@gnome.org >
2010-09-01 17:43:59 +02:00
Stefan Kost
9074f74c6f
container: use priv in last commit
...
container->focus_child to container->priv->focus_child
2010-09-01 17:33:33 +03:00
Stefan Kost
94420f7110
widget: more details on gtk_widget_grab_focus docs
...
Tell that widget needs to be mapped and realized.
2010-09-01 16:59:00 +03:00
Stefan Kost
267a2156d8
container: clarify the docs
...
Hightlight more that focus_child is a container internal thing and suggest
what application developers most likely were looking for instead.
2010-09-01 16:59:00 +03:00
Stefan Kost
b00b1c33a3
container: don't leak the focus_child ref count
...
gtk_conatiner_set_focus_child() takes a ref. Release the ref in _destroy().
Fixes #414712 .
2010-09-01 16:59:00 +03:00
Matthias Clasen
9688665334
Fix GtkStock documentation
...
After the big icon rename, all the links in the docs have to
be updated, and we need to copy the right icons.
2010-09-01 00:14:45 -04:00
Colin Walters
b04b1b2e84
introspection: Update to new scanner API
...
* Add --warn-all
* Drop unnecessary of --strip-prefix; for GdkX11, use --symbol-prefix
https://bugzilla.gnome.org/show_bug.cgi?id=628160
2010-08-31 16:21:08 -04:00
Fridrich Štrba
5032cdf88f
Porting MS Windows theme engine to cairo - Part 1: stippling
2010-08-31 18:05:41 +02:00
Fridrich Štrba
78dc2debc0
Porting the MS Windows theme engine to cairo - Part 2 rectangle and line drawing
2010-08-31 18:05:41 +02:00
Dirgita
34c6ea0307
Updated Indonesian translation
2010-08-31 21:38:52 +07:00
Dirgita
1810943d5d
Updated Indonesian translation
2010-08-31 21:34:05 +07:00
Javier Jardón
213f8e2f1b
gtk/gtkwindow: use accessor functions to access GtkWidget
2010-08-31 02:51:36 +02:00
Javier Jardón
1a980d0be6
gtk/gtkplug.c: Use accessor functions to access GtkWindow
2010-08-31 02:51:36 +02:00
Javier Jardón
304b1a1f56
Added _gtk_widget_get_wmclass() internal function
...
Needed by GtkPlug
2010-08-31 02:51:36 +02:00
Gabor Kelemen
6250627d9e
Updated Hungarian translation
2010-08-31 02:28:25 +02:00
Gabor Kelemen
7879d5af11
Updated Hungarian translation
2010-08-31 02:26:03 +02:00
Javier Jardón
cc06f3dde6
GtkScrolledWindow: move public members to private structure
2010-08-31 01:34:02 +02:00
Javier Jardón
8da741f955
Gail: use accessor functions to access GtkScrolledWindow
2010-08-31 01:34:02 +02:00
Szilárd Pfeiffer
d8a90be370
Fixed minimum increment calculation of GailScaleButton.
...
Also implemented to use the adjustment to determine the current, minimum,
maximum values and mimimum increment just as the other widgets which have
adjustment.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=626710
2010-08-30 22:39:11 +02:00
Martin Schlemmer
e14560cf1e
[win32] Properly draw the menu separator for Windows Vista/7.
...
Also adds the bits for transparency.
2010-08-30 20:05:09 +02:00
Martin Schlemmer
8476d22dea
[win32] Use pango_win32_font_description_from_logfontw() to get
...
the system font, instead of the code duplication.
2010-08-30 20:01:41 +02:00
Martin Schlemmer
04e241fd85
[win32] Fix some warnings related to type differences and unused variables
2010-08-30 19:58:19 +02:00
Tor Lillqvist
4491bdbb9d
Drop Win32 DLL ABI compatibility cruft
...
No need for that any longer as we are changing DLL name.
2010-08-30 14:57:48 +03:00
Tristan Van Berkom
972f617b77
Fixed GtkToolPalette realize() vfunc.
...
It seems with latest GSEAL work for widget->window access a
call to gtk_widget_set_window() was missed (added the window
assignment and now the palette shows up in Glade again).
2010-08-30 18:25:14 +09:00
Tristan Van Berkom
bbf38a8ebd
Fixing email address in copyright header for testwrapbox test.
2010-08-30 18:24:41 +09:00
Philip Withnall
ba158a24fe
Miscellaneous property string fixes
2010-08-29 19:00:14 +01:00
Szilárd Pfeiffer
86851b7ad3
modules/other/gail/gailtogglebutton.c: Add/remove indeterminate state
...
GailToggleButton does not set/unset ATK_STATE_INDETERMINATE according to the
value of GtkToggleButton's inconsistent property.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=626537
2010-08-29 19:21:05 +02:00
Javier Jardón
f84707d6f9
Add gtk_calendar_day_is_marked() function
...
The marked state of calendar day is not accessible
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=627028
2010-08-29 19:14:24 +02:00
Daiki Ueno
6afa615690
Fix typo in GtkIMContextClass doc.
2010-08-29 19:01:30 +02:00
Милош Поповић
a026b8227c
Updated Serbian translation
2010-08-29 20:14:16 +02:00
Tor Lillqvist
87bf99dcc5
Fix Win32 build
2010-08-29 12:40:56 +03:00
Matthias Clasen
8d36170b8d
Remove deprecated GTK_SELECTION_EXTENDED selection mode
2010-08-28 22:42:59 -04:00
Matthias Clasen
29aa3818a4
Remove deprecated text and text_length field in GtkEntry
...
These fields have been superseded by GtkEntryBuffer.
2010-08-28 22:27:36 -04:00
Matthias Clasen
af8539bf11
Move deprectated menu enumerations to a private header
...
The GtkSubmenuDirection and GtkSubmenuPlacement enumerations
have been deprecated as public API for a while, but are still used
internally in the menu code. Move them to a private header. This
also prevents to generation of GObject boilerplate for these enums.
2010-08-28 21:24:11 -04:00
Matthias Clasen
eb10e6b128
Remove the long deprecated GDK_WINDOW_DIALOG type.
...
This has been deprecated forever, and was just left in for
compatibility reasons.
2010-08-28 20:10:02 -04:00
Matthias Clasen
00438fea3d
Declare the GtkWidget::window-dragging style property as readonly
...
This is how we generally declare style properties, and declaring
this one r/w was just an oversight.
2010-08-28 20:08:14 -04:00
Matthias Clasen
5d6b21e7b2
Remove long-deprecated page-horizontally signal
...
This signal has been superseded by GTK_MOVEMENT_HORIZONTAL_PAGES
long ago. This breaks the GtkTextView ABI.
2010-08-28 19:26:42 -04:00
Matthias Clasen
d2d344a531
Remove a workaround for old toolbar api
...
The old, deprecated toolbar api has been removed, so this workaround
is no longer necessary.
2010-08-28 19:11:23 -04:00
Matthias Clasen
6dd4f32f37
Remove deprecated GTK_CALENDAR_WEEK_START_MONDAY option
...
This has been deprecated and ignored for a long time.
2010-08-28 19:09:21 -04:00
Matthias Clasen
d45d970144
Remove deprecated 'shadow' properties in GtkFrame and GtkHandleBox
2010-08-28 17:20:53 -04:00
Philip Withnall
f733ab0e75
Update British English translation
2010-08-28 15:58:56 +01:00
Yaron Shahrabani
34a8213b0f
Updated Hebrew translation.
2010-08-28 10:27:28 +03:00
Tristan Van Berkom
67194ed77b
Fixed debug build for GTK_PLUG (plug)->socket_window direct accesses.
2010-08-28 16:19:16 +09:00
Tristan Van Berkom
deaa351630
Added initial revision of GtkWrapBox container widget and test case.
2010-08-28 16:01:59 +09:00
Javier Jardón
2a2f7c0993
gtk/gtkwidget.c: Use accessor functions to access GtkWindow
2010-08-28 03:40:47 +02:00
Javier Jardón
face33a411
docs/reference/gtk/gtk3-sections.txt: Use GtkFooPrivate instead GtkFooPriv
...
This completes commit 1e5d7c0225
2010-08-28 03:24:04 +02:00
Fran Diéguez
cd7c3625d7
Updated Galician translations
2010-08-27 23:25:56 +02:00
Javier Jardón
e8184f2a46
GtkPlug: move public members to private structures
2010-08-27 23:12:12 +02:00
Javier Jardón
af8efa0b46
Use accessor functions to access GtkPlug
2010-08-27 23:12:12 +02:00
Bruno Brouard
2425dad948
Updated French translation
2010-08-27 22:19:23 +02:00
Bruno Brouard
0293e2443d
Updated French translation
2010-08-27 20:54:25 +02:00
Claude Paroz
c3395dd726
Add missing files in po-properties/POTFILES.in
...
Accessorily, use the same sort in both POTFILES.in to easily compare
files.
2010-08-27 18:34:10 +02:00
Alexander Shopov
8526997205
Updated Bulgarian translation
2010-08-27 16:20:48 +03:00
Yaron Shahrabani
f3ff581c26
Updated Hebrew translation.
2010-08-27 16:19:53 +03:00
Javier Jardón
1e5d7c0225
Use GtkFooPrivate instead GtkFooPriv
2010-08-27 04:48:23 +02:00
Javier Jardón
c6a44d8494
gtk/gtkseparator: Do not use GET_PRIVATE macro all the time
...
Use a private pointer instead
2010-08-26 18:00:09 +02:00
Javier Jardón
8d983a4547
gtk/gtkfilesystem: Do not use GET_PRIVATE macro all the time
...
Use a private pointer instead
2010-08-26 15:58:20 +02:00
Javier Jardón
904769b004
gdk/gdkwindowimpl.c: Use G_DEFINE_INTERFACE macro
2010-08-26 14:57:56 +02:00
Javier Jardón
29685170cf
gdk/x11/gdkeventtranslator.c: use G_DEFINE_INTERFACE macro
2010-08-26 14:57:56 +02:00
Gabor Kelemen
3247a3a7cd
Updated Hungarian translation
2010-08-26 04:01:47 +02:00
Javier Jardón
1b77e36a59
gtk/gtksizerequest.c: Use G_DEFINE_INTERFACE macro
2010-08-26 00:33:56 +02:00
Javier Jardón
523ea1c656
gtk/gtktoolshell.c: Use G_DEFINE_INTERFACE macro
2010-08-26 00:33:56 +02:00
Javier Jardón
c0b8104232
gtk/gtkcellsizerequest.c: Use G_DEFINE_INTERFACE macro
2010-08-26 00:33:56 +02:00
Javier Jardón
24fedeccac
gtk/gtkcelllayout.c: Use G_DEFINE_INTERFACE macro
2010-08-26 00:33:56 +02:00
Javier Jardón
208e548ab1
gtk/gtkrecentchooser.c: Use G_DEFINE_INTERFACE macro
2010-08-26 00:33:56 +02:00
Javier Jardón
c1476c951e
gtk/gtkfilechooser.c: Use G_DEFINE_INTERFACE macro
2010-08-26 00:33:56 +02:00
Matthias Clasen
3e4e2b233b
Fix trivial doc typo
...
Pointed out in bug 627912.
2010-08-25 18:17:43 -04:00
Javier Jardón
45e2176683
Use G_DEFINE_INTERFACE macro in gtkactivatable
...
https://bugzilla.gnome.org/show_bug.cgi?id=605186
2010-08-25 15:06:40 +02:00
Matthias Clasen
d5a8a3c9bc
Make gdk_keymap_map_virtual_modifiers work early
...
It needs to ensure that we have an uptodate modmap. Bug 616401
2010-08-25 01:05:29 -04:00
Matthias Clasen
1f1b404194
Document that the GTK_STOCK_FILE label is new
2010-08-25 00:46:47 -04:00
Matthias Clasen
586bbc9b13
Make the initial focus in dialogs work as intended
...
We had code that tried to prevent selecting the text in the label
if we end up focusing a label, but it didn't take effect, because
we were moving the focus into the label again afterwards.
2010-08-25 00:43:16 -04:00
Matthias Clasen
e1143c2d45
Make empty buttonboxes work again
...
There was some less than careful / nvis_children.
2010-08-25 00:29:27 -04:00
Matthias Clasen
06c2777d88
Make builtin rc consistent
...
I removed the default label style a few days ago, so it should
no longer be referenced either.
2010-08-25 00:28:23 -04:00
Matthias Clasen
2766cd14ad
Remove depth restriction from gtk_combo_box_set_active_iter docs
...
While it may not work perfectly in menu mode, it works fine for
list mode. Bug 627843.
2010-08-24 21:51:17 -04:00
Sergey Orlov
a676f9dada
bgo#614006 - GtkFileSystemModel - Make sure to generate node IDs are valid for new files
...
When a file was inserted during the period that the editable row was
active, the node IDs would not get updated correctly.
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2010-08-24 17:09:37 -05:00
Javier Jardón
72fad93587
tests/testsocket: Fix broken test
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=627867
2010-08-24 23:49:21 +02:00
Javier Jardón
1abb8f6e7f
gdk/gdkwindow.c: Fix compilation warning
2010-08-24 21:27:57 +02:00
Javier Jardón
c05f344c0a
Use gtk_window_has_group() to know if the window has an explicit window group.
...
gtk_window_get_group() never returns NULL; if the window isn't in a group,
a default window group is returned instead. Use gtk_window_has_group() instead.
This fixes some previous commits to use accessors to access GtkWindow.
Reported by Philip Withnall in bug
https://bugzilla.gnome.org/show_bug.cgi?id=627828
2010-08-24 16:16:42 +02:00
Ivar Smolin
891694d9ff
[l10n] Updated Estonian translation
2010-08-24 15:11:59 +03:00
noch
10ff05fb0c
Added Armenian translation - po file. Modified LINGUAS.
2010-08-24 10:01:41 +05:00
noch
1e33284d60
Added Armenian translation - po file in ./po and ./po-properties directories. Modified LINGUAS.
2010-08-24 09:57:43 +05:00
Javier Jardón
f4f607690d
GtkRange: move public members to private structure
2010-08-23 20:48:03 +02:00
Javier Jardón
ff445e2b79
Use accessor functions to access GtkRange
2010-08-23 20:47:52 +02:00
Javier Jardón
27ec5cd556
gtkscalebutton: use accessor functions to access GtkRange
2010-08-23 20:47:45 +02:00
Javier Jardón
a64869db9e
gtkscale: use accessor functions to access GtkRange
2010-08-23 20:47:38 +02:00
Javier Jardón
f300aefa7e
Added _gtk_range_set_steppers () internal function
...
It's needed by gtkscrollbar
2010-08-23 20:47:30 +02:00
Javier Jardón
1814ea6abd
Added _gtk_range_set_round_digits() insternal function
...
It's needed by gtkscale
2010-08-23 20:47:23 +02:00
Javier Jardón
d38bf4825a
gtkrange: Add some checks to gtk_range_set_slider_size_fixed()
...
Recalculate layout only if the range is already mapped and
adjustment is not NULL.
2010-08-23 20:47:16 +02:00
Javier Jardón
65a28efc15
gtk/gtkprintunixdialog.c: Use accessor functions to access GtkWindow
2010-08-23 20:19:44 +02:00
Javier Jardón
f05acd707d
gtk/gtktreeview.c: Use accessor functions to access GtkWindow
2010-08-23 20:19:38 +02:00
Javier Jardón
31d22d3083
gtk/gtksocket.c: Use accessor functions to access GtkWindow
2010-08-23 20:19:31 +02:00
Javier Jardón
97cbe801c1
gtk/gtkrecentchooserdefault.c: Use accessor functions to access GtkWindow
2010-08-23 20:19:24 +02:00
Javier Jardón
fb4661be6d
gtk/gtkprintoperation.c: Use accessor functions to access GtkWindow
2010-08-23 20:19:18 +02:00
Javier Jardón
54b8b51f43
gtk/gtkpaned.c: Use accessor functions to access GtkWindow
2010-08-23 20:19:11 +02:00
Javier Jardón
f91e5e2ac9
gtk/gtknotebook.c: Use accessor functions to access GtkWindow
2010-08-23 20:19:03 +02:00
Javier Jardón
991eaa7580
gtk/gtklabel.c: Use accessor functions to access GtkWindow
2010-08-23 20:18:55 +02:00
Javier Jardón
e00ffe3872
gtk/gtkfontsel.c: Use accessor functions to access GtkWindow
2010-08-23 20:18:48 +02:00
Javier Jardón
7325c67570
gtk/gtkfilechooserdefault.c: Use accessor functions to access GtkWindow
2010-08-23 20:18:41 +02:00
Javier Jardón
64fca99a89
gtk/gtkfilechooserbutton.c: Use accessor functions to access GtkWindow
2010-08-23 20:18:34 +02:00
Javier Jardón
65266d971e
gtk/gtkentry.c: Use accessor functions to access GtkWindow
2010-08-23 20:18:27 +02:00
Javier Jardón
50aec80efb
gtk/gtkdnd.c: Use accessor functions to access GtkWindow
2010-08-23 20:18:20 +02:00
Javier Jardón
014fc1f73a
gtk/gtkdialog.c: Use accessor functions to access GtkWindow
2010-08-23 20:18:10 +02:00
Javier Jardón
595b27e22d
gtk/gtkcontainer.c: Use accessor functions to access GtkWindow
2010-08-23 20:18:03 +02:00
Javier Jardón
1fe89643a5
gtk/gtkcolorsel.c: Use accessor functions to access GtkWindow
2010-08-23 20:17:56 +02:00
Javier Jardón
fe16bdd8d4
gail: Use accessor functions to access GtkWindow
2010-08-23 20:17:49 +02:00
Javier Jardón
a0e0c9e89c
tests/testgtk.c: Use accessor functions to access GtkWindow
2010-08-23 20:17:41 +02:00
Javier Jardón
e5ed2c02a3
Revert from "edit-preferences" to "gtk-preferences"
...
There is not a icon named "edit-preferences" in the spec
http://standards.freedesktop.org/icon-naming-spec/icon-naming-spec-latest.html
2010-08-23 18:18:05 +02:00
Tor Lillqvist
56f71f0123
Fix Win32 build
...
Builds now, except for the ms-windows theme engine. It doesn't really
work, though.
2010-08-23 18:55:54 +03:00
Javier Jardón
29a758d4c2
The correct icon name is "dialog-information", not "dialog-info"
...
Spec here:
http://standards.freedesktop.org/icon-naming-spec/icon-naming-spec-latest.html
2010-08-23 17:47:28 +02:00
Klemen Košir
1dc0502b4a
Updated Slovenian translation
2010-08-23 14:53:38 +02:00
Benjamin Otte
8856bfc60e
directfb: Remove
...
As announced by email and on IRC, this backend is removed from GTK 3.
It has been broken for over a year with no one fixing it.
2010-08-23 12:44:58 +02:00
Benjamin Otte
7eabb8fd3c
container: suggest parentheses around assignment used as truth value
2010-08-23 12:37:22 +02:00
Torstein Adolf Winterseth
64a852dc76
Updated Norwegian Nynorsk translation
2010-08-23 09:17:26 +02:00
Fran Diéguez
7451827cf9
Updated galician translations
2010-08-23 02:22:00 +02:00
Matthias Clasen
b415d2f79b
Fix a translation problem in the about dialog
...
The license preamble needs to be translated with the GTK+ domain,
not the applications. Bug 627643.
2010-08-22 19:05:35 -04:00
Javier Jardón
ab93613037
gtk/gtk.symbols: Add gtk_cell_view_get_desired_height_for_width_of_row()
2010-08-22 23:35:27 +02:00
Javier Jardón
f3d6aa8bf3
gtk/gtktrayicon-x11.c: Use accessor functions to access GtkWidget
2010-08-22 22:56:17 +02:00
Javier Jardón
04fd195b9b
gtk/gtksocket-x11.c: Use accessor functions to access GtkWidget
2010-08-22 22:56:17 +02:00
Javier Jardón
f25ad7899a
gtk/gtkplug-x11.c: Use accessor functions to access GtkWidget
2010-08-22 22:56:17 +02:00
Javier Jardón
0a1130dcb9
gtk/gtkprintunixdialog.c: Use accessor functions to access GtkWidget
2010-08-22 22:56:17 +02:00
Javier Jardón
07d3f20202
gtk/gtkdnd.c: Use accessor functions to access GtkWidget
2010-08-22 22:56:16 +02:00
Javier Jardón
b99348e443
gtk/gtkaboutdialog.c: use accessor functions to access GtkWidget
2010-08-22 22:56:16 +02:00
Javier Jardón
091335fcb4
gtk/gtkalignment.c: use accessor functions to access GtkWidget
2010-08-22 22:56:16 +02:00
Javier Jardón
2201b2abb6
gtk/gtkassistant.c: use accessor functions to access GtkWidget
2010-08-22 22:56:16 +02:00
Javier Jardón
b05e897453
gtk/gtkbbox.c: use accessor functions to access GtkWidget
2010-08-22 22:56:16 +02:00
Javier Jardón
d9b459dd64
gtk/gtkbox.c: use accessor functions to access GtkWidget
2010-08-22 22:56:16 +02:00
Javier Jardón
6cad69e32a
gtk/gtkbutton.c: use accessor functions to access GtkWidget
2010-08-22 22:56:15 +02:00
Javier Jardón
1b1845863a
gtk/gtkcalendar.c: use accessor functions to access GtkWidget
2010-08-22 22:56:15 +02:00
Javier Jardón
c6b86761d6
gtk/gtkcellrendereraccel.c: use accessor functions to access GtkWidget
2010-08-22 22:56:15 +02:00
Javier Jardón
7b5656b492
gtk/gtkcellrendererpixbuf.c: use accessor functions to access GtkWidget
2010-08-22 22:56:15 +02:00
Javier Jardón
4a17e27a1e
gtk/gtkcellrendererprogress.c: use accessor functions to access GtkWidget
2010-08-22 22:56:15 +02:00
Javier Jardón
cc70f342d0
gtk/gtkcellrendererspinner.c: use accessor functions to access GtkWidget
2010-08-22 22:56:15 +02:00
Javier Jardón
aad72e59fa
gtk/gtkcellrenderertext.c: use accessor functions to access GtkWidget
2010-08-22 22:56:14 +02:00
Javier Jardón
dd61c2bdea
gtk/gtkcellrenderertoggle.c: use accessor functions to access GtkWidget
2010-08-22 22:56:14 +02:00
Javier Jardón
e9915fc8d6
gtk/gtkcellview.c: use accessor functions to access GtkWidget
2010-08-22 22:56:14 +02:00
Javier Jardón
aa63485b87
gtk/gtkcheckbutton.c: use accessor functions to access GtkWidget
2010-08-22 22:56:14 +02:00
Javier Jardón
1e3448f222
gtk/gtkcheckmenuitem.c: use accessor functions to access GtkWidget
2010-08-22 22:56:14 +02:00
Javier Jardón
0baa3feb4b
gtk/gtkcolorbutton.c: use accessor functions to access GtkWidget
2010-08-22 22:56:14 +02:00
Javier Jardón
e9b85cf100
gtk/gtkcolorsel.c: use accessor functions to access GtkWidget
2010-08-22 22:56:13 +02:00
Javier Jardón
42a0a8143b
gtk/gtkcombobox.c: use accessor functions to access GtkWidget
2010-08-22 22:56:13 +02:00
Javier Jardón
3a89cc150c
gtk/gtkcontainer.c: use accessor functions to access GtkWidget
2010-08-22 22:56:13 +02:00
Javier Jardón
83372be93e
gtk/gtkcontainer.c: use accessor functions to access GtkWidget
2010-08-22 22:56:13 +02:00
Javier Jardón
4def73b386
gtk/gtkdialog.c: use accessor functions to access GtkWidget
2010-08-22 22:56:13 +02:00
Javier Jardón
379fc17fa9
gtk/gtkdrawingarea.c: use accessor functions to access GtkWidget
2010-08-22 22:56:12 +02:00
Javier Jardón
4ddff2691b
gtk/gtkentry.c: use accessor functions to access GtkWidget
2010-08-22 22:56:12 +02:00
Javier Jardón
325a00e40d
gtk/gtkentrycompletion.c: use accessor functions to access GtkWidget
2010-08-22 22:56:12 +02:00
Javier Jardón
7764ee564c
gtk/gtkeventbox.c: use accessor functions to access GtkWidget
2010-08-22 22:56:12 +02:00
Javier Jardón
f11207c33e
gtk/gtkexpander.c: use accessor functions to access GtkWidget
2010-08-22 22:56:12 +02:00
Javier Jardón
b62b834eb5
gtk/gtkfilechooserdefault.c: use accessor functions to access GtkWidget
2010-08-22 22:56:12 +02:00
Javier Jardón
7f8aaf04da
gtk/gtkfilechooserentry.c: use accessor functions to access GtkWidget
2010-08-22 22:56:11 +02:00
Javier Jardón
fe2815026b
gtk/gtkfixed.c: use accessor functions to access GtkWidget
2010-08-22 22:56:11 +02:00
Javier Jardón
2758329204
gtk/gtkframe.c: use accessor functions to access GtkWidget
2010-08-22 22:56:11 +02:00
Javier Jardón
effdde9471
gtk/gtkhsv.c: use accessor functions to access GtkWidget
2010-08-22 22:56:11 +02:00
Javier Jardón
90ee7ca493
gtk/gtkimagemenuitem.c: use accessor functions to access GtkWidget
2010-08-22 22:56:11 +02:00
Javier Jardón
37d62149bb
gtk/gtkinfobar.c: use accessor functions to access GtkWidget
2010-08-22 22:56:10 +02:00
Javier Jardón
0a3431e8f6
gtk/gtkinvisible.c: use accessor functions to access GtkWidget
2010-08-22 22:56:10 +02:00
Javier Jardón
84297150e8
gtk/gtkitem.c: use accessor functions to access GtkWidget
2010-08-22 22:56:10 +02:00
Javier Jardón
69b6dbdb08
gtk/gtklabel.c: use accessor functions to access GtkWidget
2010-08-22 22:56:10 +02:00
Javier Jardón
26f21cf0e9
gtk/gtklayout.c: use accessor functions to access GtkWidget
2010-08-22 22:56:10 +02:00
Javier Jardón
00152ff835
gtk/gtklinkbutton.c: use accessor functions to access GtkWidget
2010-08-22 22:56:10 +02:00
Javier Jardón
1783b227e8
gtk/gtkmain.c: use accessor functions to access GtkWidget
2010-08-22 22:56:09 +02:00
Javier Jardón
7587ee2dde
gtk/gtkmenubar.c: use accessor functions to access GtkWidget
2010-08-22 22:56:09 +02:00
Javier Jardón
4d928459d3
gtk/gtkmenuitem.c: use accessor functions to access GtkWidget
2010-08-22 22:56:09 +02:00
Javier Jardón
03842616fb
gtk/gtkmenushell.c: use accessor functions to access GtkWidget
2010-08-22 22:56:09 +02:00
Javier Jardón
298b3643aa
gtk/gtkmenutoolbutton.c: use accessor functions to access GtkWidget
2010-08-22 22:56:09 +02:00
Javier Jardón
593b32c6ab
gtk/gtkmessagedialog.c: use accessor functions to access GtkWidget
2010-08-22 21:25:26 +02:00
Javier Jardón
ce977a1a33
gtk/gtkmnemonichash.c: use accessor functions to access GtkWidget
2010-08-22 21:25:26 +02:00
Javier Jardón
f8ac83bc07
gtk/gtkoffscreenwindow.c: use accessor functions to access GtkWidget
2010-08-22 21:25:26 +02:00
Javier Jardón
e49c130018
gtk/gtkpaned.c: use accessor functions to access GtkWidget
2010-08-22 21:25:26 +02:00
Javier Jardón
d854499f4a
gtk/gtkplug.c: use accessor functions to access GtkWidget
2010-08-22 21:25:26 +02:00
Javier Jardón
6b7efdf8a1
gtk/gtkprogressbar.c: use accessor functions to access GtkWidget
2010-08-22 21:25:25 +02:00
Javier Jardón
d52eb49529
gtk/gtkradiobutton.c: use accessor functions to access GtkWidget
2010-08-22 21:25:25 +02:00
Javier Jardón
c6f4e71a31
gtk/gtkrange.c: use accessor functions to access GtkWidget
2010-08-22 21:25:25 +02:00
Javier Jardón
c35fa9bc5a
gtk/gtkrecentchooserdefault.c: use accessor functions to access GtkWidget
2010-08-22 21:25:25 +02:00
Javier Jardón
dbd395a7ac
gtk/gtkscale.c: use accessor functions to access GtkWidget
2010-08-22 21:25:25 +02:00
Javier Jardón
41fcf40648
gtk/gtkscalebutton.c: use accessor functions to access GtkWidget
2010-08-22 21:25:25 +02:00
Javier Jardón
482637a41e
gtk/gtkscrolledwindow.c: use accessor functions to access GtkWidget
2010-08-22 21:25:25 +02:00
Javier Jardón
804ad0dd88
gtk/gtksizegroup.c: use accessor functions to access GtkWidget
2010-08-22 21:25:25 +02:00
Javier Jardón
4870f2ec30
gtk/gtkselection.c: use accessor functions to access GtkWidget
2010-08-22 21:25:24 +02:00
Javier Jardón
ab27b01fb9
gtk/gtkseparatortoolitem.c: use accessor functions to access GtkWidget
2010-08-22 21:25:24 +02:00
Javier Jardón
551fa5c8df
gtk/gtksocket.c: use accessor functions to access GtkWidget
2010-08-22 21:25:24 +02:00
Javier Jardón
91a49bac5a
gtk/gtkspinner.c: use accessor functions to access GtkWidget
2010-08-22 21:25:24 +02:00
Javier Jardón
4847b9a940
gtk/gtkstatusbar.c: use accessor functions to access GtkWidget
2010-08-22 21:25:24 +02:00
Javier Jardón
f43610e110
gtk/gtkstatusicon.c: use accessor functions to access GtkWidget
2010-08-22 21:25:24 +02:00
Javier Jardón
bf1f03ad5d
gtk/gtkstyle.c: use accessor functions to access GtkWidget
2010-08-22 21:25:24 +02:00
Javier Jardón
c9dd25bd11
gtk/gtktable.c: use accessor functions to access GtkWidget
2010-08-22 21:25:24 +02:00
Javier Jardón
c4b452a22c
gtk/gtktearoffmenuitem.c: use accessor functions to access GtkWidget
2010-08-22 21:25:23 +02:00
Javier Jardón
c6dcef5089
gtk/gtktestutils.c: use accessor functions to access GtkWidget
2010-08-22 21:25:23 +02:00
Javier Jardón
82f521b514
gtk/gtktextdisplay.c: use accessor functions to access GtkWidget
2010-08-22 21:25:23 +02:00
Javier Jardón
063454f630
gtk/gtktextutil.c: use accessor functions to access GtkWidget
2010-08-22 21:25:23 +02:00
Javier Jardón
7fd15c82bf
gtk/gtktoolbar.c: use accessor functions to access GtkWidget
2010-08-22 21:25:23 +02:00
Javier Jardón
7e753a9a86
gtk/gtktoolbutton.c: use accessor functions to access GtkWidget
2010-08-22 21:25:23 +02:00
Javier Jardón
5e2c943742
gtk/gtktoolitem.c: use accessor functions to access GtkWidget
2010-08-22 21:25:23 +02:00
Javier Jardón
1f9eb57338
gtk/gtktoolitemgroup.c: use accessor functions to access GtkWidget
2010-08-22 21:25:23 +02:00
Javier Jardón
34e63dcd46
gtk/gtktoolpalette.c: use accessor functions to access GtkWidget
2010-08-22 21:25:23 +02:00
Javier Jardón
3f101bb08c
gtk/gtktooltip.c: use accessor functions to access GtkWidget
2010-08-22 21:25:22 +02:00
Javier Jardón
1c6b3f53a0
gtk/gtktreeviewcolumn.c: use accessor functions to access GtkWidget
2010-08-22 21:25:22 +02:00
Javier Jardón
a44969e877
gtk/gtkuimanager.c: use accessor functions to access GtkWidget
2010-08-22 21:25:22 +02:00
Javier Jardón
ae47b7925a
gtk/gtkviewport: use accessor functions to access GtkWidget
2010-08-22 21:25:22 +02:00
Javier Jardón
e3be606a1c
gtk/gtkwin32embedwidget: use accessor functions to access GtkWidget
2010-08-22 21:25:22 +02:00
Javier Jardón
7b4cf7587a
gtk/gtkwindow-decorate: use accessor functions to access GtkWidget
2010-08-22 21:25:22 +02:00
Jorge González
40e3d43394
Updated Spanish translation
2010-08-22 21:16:34 +02:00
Javier Jardón
a1c2a00d63
docs: Add GtkLicense enum definition to the docs
2010-08-22 20:53:58 +02:00
Javier Jardón
7d9c4b71a9
gtk/tests/builder.c: Use accessor functions to access GtkWidget
2010-08-22 18:33:10 +02:00
Javier Jardón
46e65a9164
gtk/tests/testing.c: Use accessor functions to access GtkWidget
2010-08-22 18:33:04 +02:00
Javier Jardón
6f74ff20a2
gtk/tests/treeview-scrolling.c: Use accessor functions to acccess GtkWidget
2010-08-22 18:32:56 +02:00
Javier Jardón
b1924555df
modules/input/gtkimcontextxim.c: Use accessors to GtkWidget
2010-08-22 18:32:50 +02:00
Javier Jardón
104fdae2bf
Gail: use accessor functions to access GtkWidget
2010-08-22 18:32:43 +02:00
Javier Jardón
c8afa3f000
tests/testxinerama.c: Use accessor functions to access GtkWidget
2010-08-22 18:31:12 +02:00
Javier Jardón
bd52a8541e
tests/testwindows.c: Use accessor functions to access GtkWidget
2010-08-22 18:31:06 +02:00
Javier Jardón
42c71a1d4a
tests/testtooltips.c: Use accessor functions to access GtkWidget
2010-08-22 18:30:58 +02:00
Javier Jardón
f332976871
tests/testsocket_common.c: Use accessor functions to access GtkWidget
2010-08-22 18:30:51 +02:00
Javier Jardón
b012f0f930
tests/testsocket.c: Use accessor functions to access GtkWidget
2010-08-22 18:30:44 +02:00
Javier Jardón
07e38c51e8
tests/testselection.c: Use accessor functions to access GtkWidget
2010-08-22 18:30:37 +02:00
Javier Jardón
1577a7d415
tests/testoffscreenwindow.c: Use accessor functions to access GtkWidget
2010-08-22 18:30:31 +02:00
Javier Jardón
26d837dd2f
tests/testoffscreen.c: Use accessor functions to access GtkWidget
2010-08-22 18:30:23 +02:00
Javier Jardón
0059a30f0d
tests/testinput.c: Use accessor functions to access GtkWidget
2010-08-22 18:30:17 +02:00
Javier Jardón
4a9c3bc214
tests/testiconview-keynav.c: Use accessor functions to access GtkWidget
2010-08-22 18:30:10 +02:00
Javier Jardón
252a8fc048
tests/testgtk.c: Use accessor functions to access GtkWidget
2010-08-22 18:30:03 +02:00
Javier Jardón
1b7b30bf31
tests/testframe.c: Use accessor functions to access GtkWidget
2010-08-22 18:29:56 +02:00
Javier Jardón
4210ec87b0
tests/testellipsise.c: Use accessor functions to access GtkWidget
2010-08-22 18:29:49 +02:00
Javier Jardón
067f418604
tests/testcairo.c: Use accessor functions to access GtkWidget
2010-08-22 18:29:42 +02:00
Javier Jardón
40dbb2deb2
tests/print-editor.c: Use accessor functions to access GtkWidget
2010-08-22 18:29:35 +02:00
Javier Jardón
5d48658f58
tests/gtkoffscreenbox.c: Use accessor functions to access GtkWidget
2010-08-22 18:29:28 +02:00
Javier Jardón
b6306a0def
perf/gtkwidgetprofiler.c: Use accessor functions to access GtkWidget
2010-08-22 18:29:20 +02:00
Javier Jardón
76b0a349ef
docs/tools/widgets.c: Use accessor functions to access GtkWidget
2010-08-22 18:29:09 +02:00
Javier Jardón
3d77c49e16
docs/tools/shooter.c: Use accessor functions to access GtkWidget
2010-08-22 18:29:02 +02:00
Javier Jardón
26fcfcc5a6
demos/testpixbuf-scale.c: Use accessor functions to access GtkWidget
2010-08-22 18:28:55 +02:00
Javier Jardón
6b3a2fede6
demos/gtk-demo/toolpalette.c: Use accessor functions to access GtkWidget
2010-08-22 18:28:48 +02:00
Javier Jardón
3d942908d3
demos/gtk-demo/rotated_text.c: Use accessor functions to access GtkWidget
2010-08-22 18:28:42 +02:00
Javier Jardón
3204cf726c
demos/gtk-demo/panes.c: Use accessor functions to access GtkWidget
2010-08-22 18:28:33 +02:00
Javier Jardón
5bf0ed62d7
demos/gtk-demo/offscreen_window2.c: Use accessor functions to access GtkWidget
2010-08-22 18:28:25 +02:00
Javier Jardón
4011b70928
demos/gtk-demo/offscreen_window.c: Use accessor functions to access GtkWidget
2010-08-22 18:28:19 +02:00
Javier Jardón
8c4783da05
demos/gtk-demo/hypertext.c: Use accessor functions to access GtkWidget
2010-08-22 18:28:12 +02:00
Javier Jardón
e80db673b1
demos/gtk-demo/drawingarea.c: Use accessor functions to access GtkWidget
2010-08-22 18:28:06 +02:00
Javier Jardón
6a28e7b164
demos/gtk-demo/colorsel.c: Use accessor functions to access GtkWidget
2010-08-22 18:28:01 +02:00
Javier Jardón
876c0b2937
demos/gtk-demo/changedisplay.c: Use accessor functions to access GtkWidget
2010-08-22 18:27:51 +02:00
Philip Withnall
5fa4a05ccc
Miscellaneous string fixes
...
Mostly capitalisation fixes. Closes: bgo#528257
2010-08-22 15:06:45 +01:00
Gabor Kelemen
6c6bb9b3d3
Updated Hungarian translation
2010-08-22 13:52:18 +02:00
Ask H. Larsen
45aafa477f
Updated Danish translation
2010-08-22 13:32:28 +02:00
Philip Withnall
12e83244b1
Bug 528257 — File selector and stock string problems
...
Fix some stock item strings. Helps: bgo#528257
2010-08-22 12:24:00 +01:00
Ivar Smolin
2164e18cd8
[l10n] Updated Estonian translation
2010-08-22 10:37:33 +03:00
Matthias Clasen
fe1a39b1f2
Make button boxes semi-homogeneous
...
If a child is too large (> 1.5 the average), let it have its own
size. The old behaviour of fully homogeneous button boxes can still
be had by setting the homogeneous property to TRUE. Bug 84188.
2010-08-22 00:33:37 -04:00
Philip Withnall
df5ade16ab
GtkFontSelection: don't notify the non-existent "font" property
...
The "font" property was removed in 418d84f311 .
Closes: bgo#627580
2010-08-22 02:47:00 +01:00
Gabor Kelemen
4ef5035674
Updated Hungarian translation
2010-08-21 16:43:05 +02:00
Chao-Hsiung Liao
bfbfa9a589
Updated Traditional Chinese translation (Hong Kong and Taiwan)
2010-08-21 19:50:06 +08:00
Jorge González
50f5b1289c
Updated Spanish translation
2010-08-21 13:01:34 +02:00
Kjartan Maraas
e020217622
Updated Norwegian bokmål translation
2010-08-21 11:18:59 +02:00
Yaron Shahrabani
0b2e5bcb30
Updated Hebrew translation.
2010-08-21 11:55:22 +03:00
Tristan Van Berkom
804c800979
Fixed oversized menus allocated offscreen
...
Removed the old toplevel window size-request signal and
do the clamping in gtk_menu_get_height_for_width() instead,
also make sure to invalidate the size before doing a new
request just after invoking the delegate menu position func.
2010-08-20 21:18:13 -04:00
Tristan Van Berkom
10ceb9da68
Fixed GtkMenuItem to not access the menu->requisition but get the minimum size request instead.
2010-08-20 21:18:13 -04:00
Javier Jardón
9016f0d9a6
Use standard icon names in demos and tests
2010-08-21 03:08:15 +02:00
Tristan Van Berkom
005e8a6c2f
Changed combo box's menu position function to use child menu
...
item's allocation instead of a complex calculation to guess
it's height for width.
2010-08-20 19:26:10 -04:00
Tristan Van Berkom
af7a187919
Added GtkCellRendererText::max-width-chars property
...
Added a property to limit the minimum/natural size request
of a text cell renderer.
2010-08-20 19:26:09 -04:00
Matthias Clasen
f7a6c05158
Remove leftover debug spew
2010-08-20 17:32:21 -04:00
Jonh Wendell
c9340c37a9
Drop one duplicated function header
2010-08-20 14:20:51 -03:00
Jonh Wendell
02b50d71ce
Use an acessor function instead of a deprecated macro
2010-08-20 14:11:05 -03:00
Matthias Clasen
a64bd5d1f0
Fix gtk_widget_queue_draw
...
The draw-border removal did not get it right for !no-window widgets.
Bug 627445.
2010-08-20 08:48:07 -04:00
Tristan Van Berkom
7ef9cc3a1c
Prevent file filter name sizes from expanding the dialog (bgo #527499 ).
...
Made GtkFileChooser file filter combobox ellipsize.
2010-08-19 19:09:53 -04:00
Fabrício Godoy
491bfd6355
Updated Brazilian Portuguese Translation
2010-08-19 13:06:52 -03:00
Khaled Hosny
41c2024d22
Updated Arabic translation
2010-08-19 17:53:26 +02:00
Sandeep Shedmake
3d3e9d85d1
fixed incorrect spelling of calender; corrected to calendar
2010-08-19 21:04:14 +05:30
krishnababu k
af04aeeaed
Updated telugu transaltions
2010-08-19 20:34:34 +05:30
Benjamin Otte
de8b07c3df
textview: Make cursor display again
...
The code for initializing the clip rectangle was accidentally deleted in
a previous patch. Put it back.
2010-08-19 12:08:23 +02:00
Stefan Kost
0e1eee26b9
[filechooserentry] don't show misplaced completion popup
...
Override the key-press-event instead of overriding the focus method.
Fixes #627139
2010-08-19 09:37:53 +03:00
Yaron Shahrabani
ad3e451632
Updated Hebrew translation.
2010-08-19 09:28:39 +03:00
Tristan Van Berkom
d73c11b549
Added test case to testheightforwidth.c to show GtkComboBox/GtkMenu wrapping in action
2010-08-18 20:01:28 -04:00
Tristan Van Berkom
52e5f36dc3
Implemented height-for-width geometry management for menus
...
Now GtkMenu/GtkMenuItem request/allocate in height-for-width
manner... to reduce the height of the menu one must explicitly
set the requested minimum width of the menu to a greater value
(using gtk_widget_set_size_request()).
2010-08-18 20:01:28 -04:00
Tristan Van Berkom
9c26bd525f
Added height-for-width management for GtkComboBox/GtkCellView
...
now GtkComboBox (and GtkCellView) request and allocate children/cells
in a height-for-width manner.
2010-08-18 20:01:28 -04:00
Tristan Van Berkom
9f762fe86c
Added GtkCellSizeRequest bits to makefile, gtk/gtk.h and gtk/gtk.symbols.
2010-08-18 20:01:28 -04:00
Tristan Van Berkom
e2a82c70b4
Added/Implemented GtkCellSizeRequestIface
...
This patch adds height-for-width geometry management
for cell renderers while still responding to the old
gtk_cell_renderer_get_size() apis with virtual return values
(obtained by soliciting the new height-for-width cell renderer
apis).
2010-08-18 20:01:28 -04:00
Tristan Van Berkom
fa565f3a3e
Fixed accel label to do its derived work in ->get_width() instead of the old ->size_request()
2010-08-18 20:01:27 -04:00
Tristan Van Berkom
0cb7aa9c7b
GtkBox: Clipped values passed to gtk_distribute_natural_allocation() incase allocated less than requested.
2010-08-18 20:01:27 -04:00
Tristan Van Berkom
8c14bf009d
Added return_if_fail guard to gtk_distribute_natural_allocation()
2010-08-18 20:01:27 -04:00
Matthias Clasen
0cb1f9a180
Make print backends use standard icon names for printers
...
This is to make the print dialog work with the previous commit.
See bug 626474.
2010-08-18 18:27:39 -04:00
Matthias Clasen
f65265fff9
Make stock icons use standard icon names
...
At least where standard names are available, instead of relying
on a symlink forest in the icon theme directory. For directional
variants, we look up icons by the pair ("foo-rtl", "foo") or
("foo-ltr", "foo"). See bug 626474.
2010-08-18 18:26:58 -04:00
Matthias Clasen
501eeaff11
Remove GtkWidget::draw-border
...
This is a never-used style property that came out of some old
themeing experiments, and handling it has some performance
overhead. Bug 426924
2010-08-18 12:46:57 -04:00
Christian Persch
ffa07ee21e
Use G_DEFINE_BOXED_TYPE
...
Bug #627214 .
2010-08-18 15:34:47 +02:00
Javier Jardón
f730af8360
docs: gtk_window_group_get_current_device_grab() was added in 3.0
2010-08-18 05:29:17 +02:00
Fran Diéguez
1229bfc620
Updated Galician translations
2010-08-17 18:35:35 +02:00
Tomeu Vizoso
24d8c776d4
The 'len' argument of gtk_text_buffer_insert and gtk_text_buffer_insert_at_cursor isn't really the length of the 'text' argument
2010-08-17 17:57:58 +02:00
Tomeu Vizoso
813da6a39a
gtk_tree_model_iter_next's iter is (in), not (inout)
2010-08-17 17:43:04 +02:00
Matthias Clasen
bbebe979da
Bump version to 2.90.7
2010-08-17 11:41:57 -04:00
Jorge González
d6bfd81323
Updated Spanish translation
2010-08-17 17:39:26 +02:00
Carlos Garnacho
bddb72476c
GtkButton: Also handle activate from mouse events.
2010-08-17 15:45:17 +02:00
Carlos Garnacho
b2545e1732
GdkWindow: Check device cursor first in update_cursor().
2010-08-17 15:45:17 +02:00
Matthias Clasen
203c06342d
Remove no-longer-existing file from POTFILES.in
2010-08-17 09:14:09 -04:00
Matthias Clasen
3115de0c36
Remove no-longer-existing file from POTFILES.in
2010-08-17 08:56:07 -04:00
Matthias Clasen
6917d46749
Remove a dangling reference
2010-08-17 00:04:10 -04:00
Matthias Clasen
ce08b9bb01
Fix some documentation issues
2010-08-16 23:52:03 -04:00
Matthias Clasen
db3af409cc
NEWS for 2.90.6
2010-08-16 23:28:35 -04:00
Matthias Clasen
0ea8572d89
Drop internal function from header
...
Make _gtk_button_box_child_requisition static.
2010-08-16 21:58:26 -04:00
Matthias Clasen
e057cb8b4d
Drop some unnecessary variables
2010-08-16 21:58:26 -04:00
Benjamin Otte
434b3e1072
gdk: Use gdk_window_get_background_pixmap() when setting up paint
2010-08-16 19:48:46 +02:00
Benjamin Otte
2944561ba3
API: Add gdk_window_get_background_pattern()
...
This is the suggested way for GTK3 to store a Window's background so it
makes sense to use the same function today already.
2010-08-16 19:48:46 +02:00
Benjamin Otte
8805b58e62
textview: Fix rendering of embedded images
2010-08-16 19:48:45 +02:00
Fran Diéguez
7993ee6d0e
Updated Galician translations
2010-08-16 10:26:42 +02:00
Jorge González
a0a302f7f7
Updated Spanish translation
2010-08-15 21:44:22 +02:00
Jorge González
6a88255e00
Updated Spanish translation
2010-08-15 21:01:19 +02:00
Jorge González
c411df5406
Updated Spanish translation
2010-08-15 21:01:12 +02:00
Kristian Rietveld
14cc894dd7
quartz: gdk_window_get_frame_extents() needs to get effective toplevel
2010-08-15 17:34:44 +02:00
Benjamin Otte
dc7a8f9be7
tests: unbreak testwindows test
...
Delete code that was broken and also used the APIs I just removed.
2010-08-15 03:51:39 +02:00
Benjamin Otte
0b29f4e769
Remove window background getters again
...
They were added as accessors for 2.22 even though querying the
background wasn't possible previously. As GTK 3.0 will change background
handling, it doesn't make sense at all to expose these getters.
2010-08-15 03:34:02 +02:00
Javier Jardón
374d5094a3
Use accessor functions to access GtkToolbar
2010-08-14 02:25:33 +02:00
Javier Jardón
83c20d4b32
GtkToolbar: move public members to private structure
2010-08-14 02:25:33 +02:00
Benjamin Otte
ca7d3f9081
gdk: When using OPERATOR_SOURCE, use clip + paint instead of fill
...
SOURCE is unbounded, so we clear unwanted areas.
2010-08-14 01:46:04 +02:00
Benjamin Otte
fc170551b6
gdk: Do final copy with OPERATOR_SOURCE in end_implicit_paint
...
For windows with alpha channel, the previous contents would otherwise
not be erased. Visible for example in the status icon code.
Thanks to Thomas Wood for noticing.
2010-08-13 20:48:36 +02:00
Matthias Clasen
6334d13de5
Remove some leftovers of deprecated functionality
...
There were some vestiges of the gtk_{h,v}button_box_set_default_layout()
functionality left. These are gone now. I have also removed
the GTK_BUTTONBOX_DEFAULT value in GtkButtonBoxStyle, but the other
values have been kept at their numeric values, to avoid more serious
ABI change.
2010-08-12 23:25:10 -04:00
Javier Jardón
05e33f69eb
gtk_range_set_min_slider_size() should receive an gint, not a gboolean
2010-08-13 02:49:27 +02:00
Benjamin Otte
cc09ec0732
gtk-demo: update drawingarea example
...
Use gdk_window_create_similar_surface() instead of gdk_pixmap_new()
2010-08-12 23:43:24 +02:00
Benjamin Otte
c989d3000a
API: Add gdk_window_create_similar_surface()
2010-08-12 23:43:11 +02:00
Javier Jardón
97fbf97be2
GtkTextTagTable: move public members to private structure
2010-08-12 18:33:28 +02:00
Javier Jardón
1516c86ca4
Use accessor funcions to access GtkCalendar
2010-08-12 18:02:31 +02:00
Javier Jardón
e6ed4da215
GtkCalendar: move public members to private structure
2010-08-12 18:02:31 +02:00
Christian Persch
05134768fe
Revert "Added UG translation" AGAIN
...
This reverts commit ac94b406a1 .
2010-08-12 16:18:47 +02:00
Klemen Košir
8313c7fdbb
Updated Slovenian translation
2010-08-12 14:12:17 +02:00
Claudio Saavedra
e4a83370c4
Improve the looks of the license text in GtkAboutDialog
...
It is not safe to assume that copyright text in applications is
one liner, therefore it's better to split it from the program name.
Also, the license text should be in a paragraph of its own, so
add an extra '\n' above it.
https://bugzilla.gnome.org/show_bug.cgi?id=626514
2010-08-12 14:23:58 +03:00
Sven Herzberg
cd00b0a490
avoid redundant recursion for executing tests
...
* Makefile.decl: make sure that check-local does not depend on a
recursive target for the tests. This way check can recurse and call
check-local in each folder which then invokes test-cwd. This will
make sure that a toplevel check-local doesn't recurse into subfolders
as well. The was resulting in test being run twice (for "/tests"), tree
times (e.g. for "/gtk/tests") and potentially more often
2010-08-12 11:20:41 +02:00
Kristian Rietveld
8b917eeaf6
quartz: make it compile
2010-08-12 10:57:59 +02:00
Benjamin Otte
159caba3e2
Add gtk_license_get_type() to gtk.symbols
2010-08-11 21:43:47 +02:00
Benjamin Otte
ddc184ec79
gdk: Remove nonexistant symbols
...
These symbols have been deleted from the public API with the rendering
cleanup work.
2010-08-11 21:43:47 +02:00
Fran Diéguez
48c34b6868
Updated galician translations
2010-08-11 18:19:34 +02:00
Sahran
ac94b406a1
Added UG translation
2010-08-11 17:48:38 +02:00
Yinghua Wang
aa8a1a8a8e
Update Simplified Chinese UI translation.
2010-08-11 22:42:48 +08:00
Yinghua Wang
a151eac4fb
Update Simplified Chinese property nicks translation.
2010-08-11 22:37:13 +08:00
Benjamin Otte
416d132a72
docs: Some style fixes to the migration guide
...
Most importantly, I decided to not capitalize "cairo".
2010-08-11 05:12:49 +02:00
Matthias Clasen
2acf529b3b
Beef up the migration guide
...
This includes a first cut at documenting the rendering cleanup changes
and the region removal.
2010-08-10 21:22:40 -04:00
Benjamin Otte
eff92cb1d6
dnd: Remove default_icon_pixmap variable and friends
...
The functions to set them were gone already, this is just cleanup
2010-08-11 02:30:29 +02:00
Kristian Rietveld
bde0f9a8f6
quartz: Misc. fixes for getting offscreen windows to work
...
Mainly fixes to properly differentiate between toplevel and offscreen
windows, since these sometimes need different treatment. Furthermore,
usage of gdk_window_get_effective_foo() instead of gdk_window_get_foo()
where applicable.
2010-08-10 21:02:31 +02:00
Kristian Rietveld
d819bc4814
Invalidate cairo surface if resizing is not supported for target
...
While X11 surfaces can be resized, this is not the case for Quartz
surfaces. Instead of resizing we will invalidate the surface instead.
By giving _gdk_windowing_set_cairo_surface_size() a boolean return
value, we can signal back whether or not resizing was possible. If not
possible, we invalidate the surface.
2010-08-10 21:02:31 +02:00
Kristian Rietveld
9c6696dfcc
quartz: Convert default background drawing to cairo
...
Includes some untested (read: uncompiled) simplifications from Benjamin
Otte.
2010-08-10 21:02:31 +02:00
Benjamin Otte
709e05cdb2
style: Use _gtk_pango_fill_layout()
2010-08-10 21:02:31 +02:00
Benjamin Otte
ccacd3a46a
style: Apply same matrix conversion as gdk_draw_layout() did
...
This is only necessary for GtkLabel with an angle set as no other widget
rotates text.
Note that the label code does not need these adjustments as those paths
are only taken when the label is not rotated.
2010-08-10 21:02:31 +02:00
Benjamin Otte
c9d08d02e5
gdk: Remove data consructors for GdkPixmap
...
That is all of the gdk_pixmap/bitmap_create_from_* constructors.
2010-08-10 21:02:31 +02:00
Benjamin Otte
4f37e6833c
x11: Create empty cursor without old functions
...
In particular, clear the bitmap manually instead of using
create_from_data.
2010-08-10 21:02:31 +02:00
Benjamin Otte
aaf70d1327
testgtk: Use Cairo to load XBM image
...
This should really use GdkPixbuf, but apparently we can't load XBM
images. And I'm too lazy to convert it.
2010-08-10 21:02:31 +02:00
Benjamin Otte
de285edc72
testgtk: Use Pixbufs in the shapes example
2010-08-10 21:02:31 +02:00
Benjamin Otte
2513636877
testgtk: Rename pixmap => pixbuf in various places
...
Now that we use Pixbufs for the tests instead of Pixmaps, we should name
the tests like that.
2010-08-10 21:02:31 +02:00
Benjamin Otte
6b19815f87
testgtk: Use pixbufs instead of pixmaps
...
This is for creating a GtkImage with an icon.
2010-08-10 21:02:31 +02:00
Benjamin Otte
ad571a3a5e
testgtk: Make image test not use Pixmaps, but Pixbufs
2010-08-10 21:02:31 +02:00
Benjamin Otte
727122b8d6
testgtk: Fix types and get rid of casting
2010-08-10 21:02:31 +02:00
Benjamin Otte
f3c3e47db7
testdnd: Convert to use pixbufs as icons
...
Using Pixmaps is outdated.
2010-08-10 21:02:30 +02:00
Benjamin Otte
e98f760e9c
x11: Make fallback pixbuf-cursor code not use old constructors
...
These bitmap constructors are about to die. The replacement is painting
with Cairo image surfaces and that's what we do here.
2010-08-10 21:02:30 +02:00
Benjamin Otte
e42033d2cc
colorsel: Create cursor image using Cairo
2010-08-10 21:02:30 +02:00
Benjamin Otte
7b9e2b941c
style: Don't use gdk_pixmap_create_from_xpm
...
Instead, do what that code did manually.
2010-08-10 21:02:30 +02:00
Kristian Høgsberg
1e706ed64f
gdk: Drop Xrender configure.ac check
...
GTK+ no longer depends on the render extension!
2010-08-10 21:02:30 +02:00
Benjamin Otte
8868e77fa0
x11: Remove display_x11->have_render
...
Also remove setters and getters for the variable and the GdkTristate
enum, as it's the only place where it was used.
2010-08-10 21:02:30 +02:00
Benjamin Otte
7182a2dc19
gdk-xft: Don't call render about the subpixel order
...
Instead assume that the root window property is working properly. This
removes the last real Xrender call from GTK.
2010-08-10 21:02:30 +02:00
Kristian Høgsberg
c7bd2ad1c9
gdk: Remove picture pointer from X11 drawable
...
It's not used anymore
2010-08-10 21:02:30 +02:00
Benjamin Otte
c4f280651a
gdk: Don't infinite loop when flushing moves
...
Spotted by Kristian Rietvield. Fixes testoffscreen test.
2010-08-10 21:02:30 +02:00
Matthias Clasen
075661d376
generic damage generation for offscreen windows
...
Generating damage from gdk drawing api doesn't help for cairo rendering
...and the gdk drawing api is gone anyway. Bug 621571
2010-08-10 21:02:30 +02:00
Matthias Clasen
7fd148fc59
Cleanup gdk_pixbuf_render_pixmap_and_mask_for_colormap()
2010-08-10 21:02:30 +02:00
Benjamin Otte
d0d2a6f12c
API: remove gdk_colormap_query_color
2010-08-10 21:02:30 +02:00
Benjamin Otte
09fbed7bc9
style: Do not allocate colors anymore
2010-08-10 21:02:30 +02:00
Benjamin Otte
a50843e160
gtkbuilder: Do not allocate colors when parsing GtkBuilder files
2010-08-10 21:02:30 +02:00
Benjamin Otte
25fc4d97f8
textview: remove GtkTextAttributes (un)realize code
...
It was unused (apart from a few assertion that indeed it was unused).
2010-08-10 21:02:30 +02:00
Benjamin Otte
1308731580
gdk: Don't require allocating window background colors anymore
...
X!! allocates the colors itself now.
2010-08-10 21:02:30 +02:00
Kristian Rietveld
c3a59fbfcc
Fix compile warnings
2010-08-10 21:02:30 +02:00
Kristian Rietveld
54ac92aaaf
Add call to cairo_destroy() to gtk_text_layout_draw()
2010-08-10 21:02:29 +02:00
Kristian Rietveld
089892df27
Add missing calls to cairo_destroy()
2010-08-10 21:02:29 +02:00
Kristian Rietveld
f7a8bac5e6
quartz: Make backend compile again
2010-08-10 21:02:29 +02:00
Kristian Rietveld
23c9cee274
quartz: Fix up _gdk_quartz_window_translate
2010-08-10 21:02:29 +02:00
Benjamin Otte
6a48a042c7
API: remove GdkGC
...
XXX: Some traces in the win32 code are left. I suppose they'd best be
replaced using Cairo.
2010-08-10 21:02:29 +02:00
Benjamin Otte
0fa7d810e7
calendar: Remove unused GdkGC members
2010-08-10 21:02:29 +02:00
Benjamin Otte
ef2d37cdaf
API: remove begin/end_direct_draw functions
...
They're not needed without GdkGCs.
FIXME: This breaks the win32 XP theme. Someone gotta fix it.
2010-08-10 21:02:29 +02:00
Benjamin Otte
ac3ddfa2a7
API: Remove gtk_gc_get() and gtk_gc_release()
...
With this change, GTK does not use GdkGC anymore.
2010-08-10 21:02:29 +02:00
Benjamin Otte
acf33c9e4c
API: Remove GC members from GtkStyle
2010-08-10 21:02:29 +02:00
Benjamin Otte
90ac7b915c
textview: Replace GdkGC * argument with gpointer
...
The argument is unused.
That's also the reason why we can pass NULL instead of the real GC in
the caller.
2010-08-10 21:02:29 +02:00
Benjamin Otte
f7608c33ac
gdk: Move scratch GC handling to X11
...
... and implement it directly instead of using GdkGC, as GdkGC is about
to be deleted, but we need this code.
2010-08-10 21:02:29 +02:00
Benjamin Otte
9c026fb32e
x11: Remove unused code
...
These are function definitions and leftover variabl;es that weren't in
use for a while.
2010-08-10 21:02:29 +02:00
Benjamin Otte
1ac8d80e34
API: remove GdkPangoRenderer
...
Also removes the pango attributes for stipple, emboss and emboss color
2010-08-10 21:02:29 +02:00
Benjamin Otte
fea39c078b
textview: Make the PangoRenderer use Cairo exclusively
...
No more gdkpango usage, no more GdkGC required, yay!
2010-08-10 21:02:29 +02:00
Benjamin Otte
4c16995868
gdk: remove get_composite_drawable vfunc
...
The vfunc is not used anymore.
2010-08-10 21:02:29 +02:00
Benjamin Otte
61d4a019f8
API: remove gdk_draw_drawable()
2010-08-10 21:02:29 +02:00
Benjamin Otte
0cef9c2bbe
quartz: Do repeated fill with Cairo
...
Some things are so easy with Cairo...
XXX: I did not compile this, this is just proof of concept.
2010-08-10 21:02:28 +02:00
Benjamin Otte
65ac54bb23
gdk: Make window moves a custom vfunc
...
The window move code needs special attention for multiple reasons:
- invalid areas for expose events need to be modified
- self-copy is not supported by Cairo
- in X11, copying from an overlapped Window might cause unexposed areas
to be copied in, spo expose events for those need to be generated.
This was all special cased in various parts of the code. By making it an
explicit vfunc, we can work around it.
2010-08-10 21:02:28 +02:00
Benjamin Otte
a581401920
API: remove gdk_draw_layout_*()
2010-08-10 21:02:28 +02:00
Benjamin Otte
805e0d1082
label: Draw all text using PangoCairo
...
This includes the addition of a "small" helper function,
_gtk_pango_fill_layout() that ignores color information. This
functionality is not available inside Pango and until that happens, we
need this fix. The bug is filed at:
https://bugzilla.gnome.org/show_bug.cgi?id=624917
2010-08-10 21:02:28 +02:00
Benjamin Otte
9f1939cbd5
API: Remove GtkTextTag's stipple properties
...
They seem pretty much unused and the only reason why GtkTextView uses a
GdkPangoRenderer and not a PangoCairoRenderer.
2010-08-10 21:02:28 +02:00
Benjamin Otte
4729460a4f
gtk-demo: Adapt textview example for stipple removal
2010-08-10 21:02:28 +02:00
Benjamin Otte
3fc31e88b0
gdk: Remove _gdk_drawable_get_scratch_gc()
...
The function is unused now.
2010-08-10 21:02:28 +02:00
Benjamin Otte
db5fc43759
gdk: Draw redirected windows using Cairo
2010-08-10 21:02:28 +02:00
Benjamin Otte
56e7abb8a4
gdk: Refactor redirection code
...
This will make future patches easier
2010-08-10 21:02:28 +02:00
Benjamin Otte
755bd51757
gdk: Simplify code
...
Use new Cairo APIs to make the code simpler.
2010-08-10 21:02:28 +02:00
Benjamin Otte
a6fcc75774
gdk: Remove excess variables
2010-08-10 21:02:28 +02:00
Benjamin Otte
3df6726656
gdk: Do end_implicit_paint copy with Cairo
2010-08-10 21:02:28 +02:00
Benjamin Otte
f1620b5ce1
gdk: Implement gdk_window_get_source_drawable() using Cairo
...
Do we have a test case for this?
2010-08-10 21:02:28 +02:00
Benjamin Otte
46206f8bb8
gdk: Implement end_implicit_paint() with Cairo
2010-08-10 21:02:28 +02:00
Benjamin Otte
600fbd3e74
API: remove gdk_draw_rectangle()
2010-08-10 21:02:28 +02:00
Benjamin Otte
66048b2f92
style: Replace last gdk_draw_rectangle() with Cairo
2010-08-10 21:02:28 +02:00
Benjamin Otte
9ee5176492
API: remove gdk_draw_point(s)
2010-08-10 21:02:27 +02:00
Benjamin Otte
a9e99e7f5b
API: remove gdk_draw_{line,lines,segments}
...
Those were the 3 intermixed line drawing calls.
2010-08-10 21:02:27 +02:00
Benjamin Otte
c661eb73a1
testgtk: Remove image from drawable test
...
The test only tested old APIs.
2010-08-10 21:02:27 +02:00
Benjamin Otte
a3057d0150
style: replace draw_frame_gap with Cairo calls
2010-08-10 21:02:27 +02:00
Benjamin Otte
5eb76955fd
style: Replace draw_diamond vfunc with Cairo calls
2010-08-10 21:02:27 +02:00
Benjamin Otte
8f21b09eee
tests: remove "draw drawable" button from testwindows test
...
draw_drawable is gone soon. And testing the proper functioning of
drawing calls is Cairo's job anyway.
2010-08-10 21:02:27 +02:00
Benjamin Otte
e85dfc7cc4
API: remove gdk_draw_polygon()
2010-08-10 21:02:27 +02:00
Benjamin Otte
d2b1da4e84
API: remove gtk_paint_polygon()
...
Almost noone uses it in real applications and it's broken in most theme
engines.
2010-08-10 21:02:27 +02:00
Benjamin Otte
53b9bdc3fc
iconview: Remove debug drawing code
...
It uses APIs I'm about to deprecate.
2010-08-10 21:02:27 +02:00
Benjamin Otte
1c4ce45a42
style: apply cleanup patch from bug 576988
...
Ideally this patch would be split up into chunks, but the git branch it
came from doesn't exist anymore. Only this patch is left in a bug
report.
It it's adapted to use accessors and contains some fixes that were
spotted while using the patch.
https://bugzilla.gnome.org/show_bug.cgi?id=576988
2010-08-10 21:02:27 +02:00
Benjamin Otte
89d28eb09d
API: remove gdk_draw_glyphs() and gdk_draw_glyphs_transformed()
2010-08-10 21:02:27 +02:00
Benjamin Otte
92f4882497
API: remove gdk_draw_trapezoids() and GdkTrapezoid struct
2010-08-10 21:02:27 +02:00
Benjamin Otte
559ae63f01
API: remove gdk_draw_arc()
2010-08-10 21:02:27 +02:00
Benjamin Otte
9b713fa4fd
gdk: Remove testgdk code
...
The file wasn't build anyway and it's using all the APIs that are
getting removed.
2010-08-10 21:02:27 +02:00
Benjamin Otte
14fe04ec89
API: remove GdkImage
...
It was unused and buggy.
2010-08-10 21:02:26 +02:00
Benjamin Otte
6f5084551a
API: remove gdk_drawable_copy_to_image()
2010-08-10 21:02:26 +02:00
Benjamin Otte
2a72ffd4de
API: remove gdk_drawable_get_image()
2010-08-10 21:02:26 +02:00
Benjamin Otte
a1a1b135ac
API: remove gdk_pixbuf_get_from_image()
2010-08-10 21:02:26 +02:00
Benjamin Otte
7489c260eb
colorsel: Use gdk_pixbuf_get_from_drawable()
...
Instead of fiddling with GdkImage directly.
2010-08-10 21:02:26 +02:00
Benjamin Otte
84015d4d3f
Implement gdk_pixbuf_get_from_drawable() with Cairo
...
Use gdk_pixbuf_get_from_surface() instead of
gdk_pixbuf_get_from_image().
2010-08-10 21:02:26 +02:00
Benjamin Otte
39b47eaf25
API: Add gdk_pixbuf_get_from_surface()
...
New API to copy any cairo surface into a pixbuf.
2010-08-10 21:02:26 +02:00
Benjamin Otte
b926ce719b
API: remove gdk_draw_image()
2010-08-10 21:02:26 +02:00
Benjamin Otte
d18abf42b7
API: Get rid of GdkRGB
2010-08-10 21:02:26 +02:00
Benjamin Otte
17b8bee168
demos: Convert testpixbuf-save to Cairo
2010-08-10 21:02:26 +02:00
Benjamin Otte
46794cc65c
demos: Remove testpixbuf
...
Another test mainly utilizing inline pixbufs and GdkRGB, both of which
are kinda outdated.
2010-08-10 21:02:26 +02:00
Benjamin Otte
638e415a6d
demos: remove testpixbuf-drawable
...
It only tested GdkRGB, and we're about to kill that.
2010-08-10 21:02:26 +02:00
Benjamin Otte
a513bdf3f7
testgtk: Remove alpha drawing test
...
We use Cairo for that these days.
2010-08-10 21:02:26 +02:00
Benjamin Otte
8f19db7565
Replace gdk_rgb_find_color()
...
Use gdk_colormap_alloc_color() instead.
2010-08-10 21:02:26 +02:00
Benjamin Otte
548ebc29e5
debug: remove GdkRGB debuggability
...
GdkRGB is on its way out, so there's no need to have a debugging
category for it.
2010-08-10 21:02:26 +02:00
Benjamin Otte
119d48c89b
gdk: Remove unused gdkrgb.h includes
2010-08-10 21:02:26 +02:00
Benjamin Otte
d54c2cfeee
API: remove gdk_screen_get_rgb_colormap/visual()
...
People want to use gdk_screen_get_default_colormap/visual().
Also, GdkRGB is about to die.
2010-08-10 21:02:26 +02:00
Benjamin Otte
32c95ebe27
tests: remove testrgb test
...
This is in preparation for the GdkRGB removal
2010-08-10 21:02:25 +02:00
Benjamin Otte
24a867f8da
image: remove GdkImage as a possible image type
...
GdkImage is about to be deprecated.
2010-08-10 21:02:25 +02:00
Benjamin Otte
4f8dbd4a8d
API: Remove gdk_draw_pixbuf()
2010-08-10 21:02:25 +02:00
Kristian Rietveld
11ee2abacc
Add missing cairo_destroy() call
2010-08-10 21:02:25 +02:00
Benjamin Otte
a66e4ebe1a
docs: Add sgml goo for new notebook APIs
2010-08-10 21:02:25 +02:00
Benjamin Otte
472b9d6f66
docs: Add sgml goo for new GtkExpander APIs
2010-08-10 21:02:25 +02:00
Benjamin Otte
1481ab6626
docs: Add sgml goo for gdk_display_is_closed()
2010-08-10 21:02:25 +02:00
Benjamin Otte
50266ca95d
filechooser: Remove unused functions.
...
The last user is gone since 3a1ba3bd1e
2010-08-10 21:02:25 +02:00
Matthias Clasen
2c40c2b7c8
Don't activate insensitive widgets
...
This was reported by Christian Becke in bug 626052.
2010-08-10 13:42:17 -04:00
Federico Mena Quintero
3a1ba3bd1e
bgo#625416 - Don't reload the filechooser's folder during a re-map event
...
Long ago, before we had file monitoring at the GIO/Glib level, we would
reload the current folder each time a file chooser gets (re)mapped.
This was basically to let the GIMP recycle the same file chooser for all
file/open or file/save operations, instead of creating a new one every time.
In that case, we reloaded the folder with each ::map() event so that the
file chooser would present an up-to-date view of the folder that was being
displayed. Now, the folder should always be up-to-date as we do
file monitoring all the time.
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2010-08-10 11:36:03 -05:00
Matthias Clasen
316b9da873
Allow to unset the tree selection function
...
This is not causing problems, and seems natural. Bug 626276.
2010-08-10 07:35:54 -04:00
Yaron Shahrabani
89d4eb6ded
Updated Hebrew translation.
2010-08-10 11:35:59 +03:00
Yaron Shahrabani
ad8f1ef85b
Updated Hebrew translation.
2010-08-10 11:33:34 +03:00
Yaron Shahrabani
7f985e760a
Updated Hebrew translation.
2010-08-10 11:31:57 +03:00
Philip Withnall
3eb197b51f
Bug 596125 — Property string fixes
2010-08-10 09:23:49 +01:00
Matthias Clasen
fb48e023d2
Fix a sporadic segfault in treeview keynav
...
If a a treeview has frequent periodic additions and removals of
rows, it is possible that a page down keypress moves the cursor
out of the height of the treeview. In some of these cases, we
can be tricked into dereferencing a NULL pointer.
Bug 612919.
2010-08-10 00:31:46 -04:00
Gabor Kelemen
e3bd926c1e
Set translation domain for parameter_string in gtk_init_with_args
...
This was requested in bug 554926.
2010-08-10 00:11:40 -04:00
Emmanuele Bassi
73030c462f
about: Add :license-type property
...
The :license-type property of GtkAboutDialog allows using a symbolic
enumeration value that will construct a placeholder license preamble
linking to a specific URL. This allows localization of the licensing
text without using a translation of the actual license, since it would
not be valid.
Bug 336225.
2010-08-10 00:00:15 -04:00
Matthias Clasen
79ef5de505
Make it possible to make the expander label fill the entire space
...
This adds a boolean GtkExpander::label-fill property and uses it
when allocating space to the label. Based on a patch by Matt Barnes,
bug 614049.
2010-08-09 23:08:39 -04:00
Matthias Clasen
7844d3b8db
Fix gail_notebook_get_selection_count()
...
This function should return 0 for empty notebooks. Based on
a patch by Mike Gorse, bug 557263.
2010-08-09 22:24:24 -04:00
Javier Jardón
f760538f17
gtkaccellabel: Remove unused class members
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=97414
2010-08-10 04:17:29 +02:00
Matthias Clasen
61e34032ec
Clarify the docs for gtk_widget_set_has_window()
...
The previous version of the docs did not make it clear that has-window
is the defaults. Pointed out by Magnus Hjorth, bug 615474.
2010-08-09 21:39:20 -04:00
Christian Dywan
2a12f74c8e
Clarify memory management of tree models
...
It helps to be explicit about these things.
Bug 609264.
2010-08-09 21:35:26 -04:00
Hiroyuki Ikezoe
0824862e3b
Drop xim-related configure options from the docs
...
These options have been dropped from configure a while ago,
so they should no longer be in the docs either. Bug 605190.
2010-08-09 21:31:25 -04:00
Sam Thursfield
a2b72c5953
Add missing accessors for notebook details
...
The ms-windows theme engine needs to access the tab-{h,v}border,
so add accessors. Bug 625655.
2010-08-09 21:20:07 -04:00
Sam Thursfield
4047d0526d
Towards GSEAL-clean build on win32
...
Use accessors instead of direct member access in a few places.
Bug 625655.
2010-08-09 21:17:37 -04:00
Szilárd Pfeiffer
93fa95e79f
Implement GailAdjustment::get_minimium_increment
...
...and use it in GailRange and GailSpinButton. Bug 625953.
2010-08-09 21:12:46 -04:00
Szilárd Pfeiffer
2686af2fbb
Make Gail work with custom treemodels
...
Gail did set the role to ATK_ROLE_TABLE for anything that is
not a GtkTreeStore. The propery way to do this is to look at the
tree model flags for list-onlyness. Bug 580291.
2010-08-09 21:09:30 -04:00
Javier Jardón
99e8a76cab
Revert "Added UG translation"
...
ug.po is not in po-properties directory
This reverts commit 623c6239ac .
2010-08-09 13:21:24 +02:00
A S Alam
8397e8e219
update for Punjabi in master by A S Alam
2010-08-10 06:10:54 +05:30
Sahran
623c6239ac
Added UG translation
2010-08-08 13:11:50 +02:00
Sahran
ae5700f64b
Added UG translation
2010-08-08 13:10:49 +02:00
Javier Jardón
e15e37b6ce
Fix GtkIMContextClass inheritance
...
Should be GObjectClass instead GtkObjectClass
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=90935
2010-08-08 06:22:45 +02:00
Javier Jardón
8b2108a8a4
gtkcombobox: Only use the child if It is a GtkCellLayout
...
This error was introduced in
commit 4427760bcc
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=625104
2010-08-08 06:22:45 +02:00
Dan Williams
1d8aec51cc
Elaborate interaction of gtk_widget_grab_default() and GtkEntry widgets
2010-08-07 23:14:47 -05:00
Tristan Van Berkom
9ddef2365f
Fixed expressions in gtk_button_size_allocate()
...
Children were getting negative allocations by misusage
of MAX() macro (bad signedness of expressions).
2010-08-07 17:41:29 -04:00
Javier Jardón
3ccc617052
Completely remove any use of GtkWindow allow-grow and allow-shrink properties
...
These have been deprecated and removed from master.
GtkWindow:resizable should be used instead.
This completes commit 1a03a65e36
Reported by Benjamin Otte
2010-08-07 17:19:16 +02:00
John Stowers
4198dd8519
Add gdk_display_is_closed
...
https://bugzilla.gnome.org/show_bug.cgi?id=624224
2010-08-07 23:21:31 +12:00
Tristan Van Berkom
59e7571aae
Fixed alignment of wrapping labels allocated a greater width than needed
...
When wrapping labels to allocation width, never set the label wrap
width to a size greater than needed for the label's text (closes bug 625715)
2010-08-06 22:44:11 -04:00
Benjamin Otte
32d365f476
label: Make angle part of GtkLabelPrivate
2010-08-07 02:24:00 +02:00
Tadej Borovšak
35105ab2b4
Fix improperly unwinded loops
2010-08-06 20:08:32 -04:00
Tristan Van Berkom
03dfaf3c3e
Fixed bad typo causing bad vertical requests on frames with no label.
2010-08-06 18:57:41 -04:00
Tadej Borovšak
651bed57a4
Implement fair extra space allocation
2010-08-06 17:28:07 -04:00
Tristan Van Berkom
208ba9bb50
Make GtkFrame allocate its label considering natural size requests
...
Also like the GtkExpander, the label widget is allocated the minimum
height for its allocated width and the remaining space is given to
the child, test case included.
2010-08-06 16:57:11 -04:00
Daniel Nylander
c9579f3ca4
Updated Swedish translation
2010-08-06 14:11:43 +02:00
Daniel Nylander
63958858c1
Updated Swedish translation
2010-08-06 14:10:27 +02:00
Tristan Van Berkom
e83a8826e6
Implemented GtkSizeRequest on GtkExpander and added test
...
Now the expander requests and distributes space naturally,
the expander widget prioritizes the child widget vertically
and only allocates the minimum height for width to the label
widget.
2010-08-05 12:50:25 -04:00
Tristan Van Berkom
95b3e63057
Migrated old loops to use gtk_distribute_allocation().
2010-08-05 12:50:25 -04:00
Tristan Van Berkom
6c76243f46
Added gtk_distribute_allocation()
...
Added a convenience api for containers to use when allocating
children (used to distribute space evenly to children).
2010-08-05 12:50:25 -04:00
Fran Diéguez
32869d439d
Updated Galician translations
2010-08-05 16:16:43 +02:00
Yaron Shahrabani
b220c2b975
Updated Hebrew translation.
2010-08-05 13:32:41 +03:00
Jorge González
119a04e0cb
Updated Spanish translation
2010-08-05 11:46:38 +02:00
Tomeu Vizoso
963e1ec033
Stop assuming that priv->label_widget will be a GtkLabel.
...
https://bugzilla.gnome.org/show_bug.cgi?id=623603
2010-08-05 10:31:40 +02:00
Carlos Garcia Campos
76267f9d06
Add _gtk_box_get_children() internal function
...
https://bugzilla.gnome.org/show_bug.cgi?id=625300
2010-08-05 09:51:15 +02:00
Matthias Clasen
dcdb00adb4
Avoid warnings with tooltips on toplevels
...
This was reported for tooltips on statusicons in bug 625235, but
it was affecting regular toplevel windows as well.
2010-08-05 00:12:41 -04:00
Matthias Clasen
92d34337f7
Re-add a lost Since: line
...
Pointed out in bug 579583
2010-08-04 22:58:14 -04:00
Matthias Clasen
519eae8729
Don't allocate space for "" in scale marks
...
Turns out GtkBuilder ends up creating marks with non-NULL
empty texts, so ignore those. Bug 614443, reported by Filippo Argiolas.
2010-08-04 21:47:54 -04:00
Philip Withnall
3a34295b9c
Add (transfer none) annotation to gtk_tree_selection_get_selected_rows()
...
Closes: bgo#625650
2010-08-05 00:53:43 +01:00
Philip Withnall
080e8ab0a8
Add (inout) annotation to gtk_tree_model_iter_next()
...
Closes: bgo#625650
2010-08-05 00:53:36 +01:00
Lucian Adrian Grijincu
ae66d4feb4
Updated Romanian translation
2010-08-05 02:04:30 +03:00
Paolo Borelli
cffda84e93
Annotate GtkTextBuffer insert methods
2010-08-04 21:04:04 +02:00
Pablo Castellano
7df17ad475
Update git.mk from pango
2010-08-03 19:54:02 +02:00
Cody Russell
cd3510ce1f
Change GtkCalendar's inner border and separator values from hard-coded
...
ones to using style properties.
https://bugzilla.gnome.org/show_bug.cgi?id=624779
2010-08-03 10:45:14 -05:00
Javier Jardón
237ed3bbf8
Remove some unused variables
2010-08-03 12:44:52 +02:00
Fridrich Štrba
c4b129bac2
Fix 32-bit Windows build using mingw-w64 toolchain
2010-08-03 03:01:49 +02:00
Fridrich Štrba
02068350ff
Make the Windows manifest correspond to the name of the binary
2010-08-03 02:49:01 +02:00
Javier Jardón
57550e1b47
POTFILES.in: Add some missing files
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=624737
2010-08-03 00:42:52 +02:00
Benjamin Otte
5e8c274e32
progressbar: Remove act_mode_enter vfunc
...
It doesn't make sense to have a vfunc for this.
2010-07-31 22:42:59 +02:00
Benjamin Otte
97f361c98f
progressbar: Remove offscreen pixmap
...
Why did the progressbar keep an offscreen pixmap anyway? It didn't even
double buffer...
2010-07-31 22:42:59 +02:00
Benjamin Otte
ca513cec2e
progressbar: Remove paint vfunc
...
Unconditionally call gtk_progress_bar_paint() instead. It was called in
various places instead of the vfunc already anyway.
2010-07-31 22:42:59 +02:00
Benjamin Otte
de401fd06d
progressbar: Remove unused update vfunc
2010-07-31 22:42:59 +02:00
Benjamin Otte
decbe42212
docs: Add gdk_cursor_get_cursor_type() template
2010-07-31 22:42:59 +02:00
Benjamin Otte
f03ce229e9
docs: Remove GtkNotebookPage from docs
2010-07-31 22:41:51 +02:00
Benjamin Otte
5d5332a493
paned: Remove unused GdkGC
2010-07-31 22:41:39 +02:00
John (J5) Palmieri
5f1827983b
add the transfer and element-type annotation to gdk_device_manager_list_devices
2010-07-29 04:53:54 -04:00
Tomeu Vizoso
1fa7f1085e
Annotate gdk_rectangle_intersect
2010-07-28 17:02:18 +02:00
Xandru Armesto
14d4bc3c40
Updated asturian translation
2010-07-28 12:53:24 +02:00
Xandru Armesto
c774b0fbdb
Updated asturian translation
2010-07-28 12:47:57 +02:00
Jorge González
5a02536da4
Updated Spanish translation
2010-07-26 20:59:11 +02:00
Benjamin Otte
a37ec87ed7
gdk: Flush implicit paints with Cairo
2010-07-26 16:42:49 +02:00
Benjamin Otte
cfa3a71c7b
gdk: Do DEBUG_UPDATES drawing with Cairo
2010-07-26 16:42:49 +02:00
Benjamin Otte
2db020890e
offscreenwindow: Copy old to new pixmap using Cairo
2010-07-26 16:42:49 +02:00
Benjamin Otte
b13480702b
gdk: Create solid mask with Cairo
2010-07-26 16:42:49 +02:00
Benjamin Otte
b478081b7d
gdk: Always clear backing store with Cairo
...
The code to use Cairo existed but wasn't used on Unix due to a bug in
XAA (that was fixed). Fwiw, we use EXA these days...
2010-07-26 16:42:49 +02:00
Benjamin Otte
331d77f3d7
gdkgc: Draw clip mask with Cairo
2010-07-26 16:42:49 +02:00
Benjamin Otte
37c502eae3
gdkpixbuf: Implement gdk_pixbuf_render_threshold_alpha() with Cairo
2010-07-26 16:42:49 +02:00
Benjamin Otte
5649431acb
docs: Remove mention of gdk_draw_drawable()
...
That function is about to die.
2010-07-26 16:42:49 +02:00
Benjamin Otte
ccc26207fe
gdk: Use the system colormap, not the rgb colormap
...
RGB colormaps are on their way out.
2010-07-26 16:42:49 +02:00
Benjamin Otte
b68801f168
gdk: Get rid of GdkRGB usage
...
Unfortunately, there's no code for getting rid of the alpha channel,
so we opacify the image ourselves.
2010-07-26 16:42:49 +02:00
Benjamin Otte
7b213d5604
gdk: Get rid of gdk_draw_pixbuf() call
...
Use Cairo code instead.
2010-07-26 16:42:49 +02:00
Benjamin Otte
610e29892e
style: Draw insertion cursor with Cairo
2010-07-26 16:42:49 +02:00
Benjamin Otte
9bac13b1f5
Remove _gtk_widget_get_cursor_gc() function
...
It's unused now.
2010-07-26 16:42:48 +02:00
Benjamin Otte
761b0ea3ae
testing: Use Cairo calls instead of gdk_draw_line() to test server sync
2010-07-26 16:42:48 +02:00
Benjamin Otte
188884a9b1
gtk-demo: Blit backing pixmap using Cairo
2010-07-26 16:42:48 +02:00
Benjamin Otte
831afa2159
gtk-demo: Convert color selection example to Cairo
2010-07-26 16:42:48 +02:00
Benjamin Otte
760ba34bd8
gtk-demo: Convert drawingarea example to Cairo
2010-07-26 16:42:48 +02:00
Benjamin Otte
4d07fa5772
gtk-demo: Make pixbufs demo use Cairo
2010-07-26 16:42:48 +02:00
Benjamin Otte
1e64e36b58
demos: No need to set the rgb colormap here
2010-07-26 16:42:48 +02:00
Benjamin Otte
da49daecc4
demos: Convert to drawing with Cairo instead of GdkRGB
2010-07-26 16:42:48 +02:00
Benjamin Otte
73ae8a787e
demos: Use Cairo instead of gdk_draw_pixbuf()
2010-07-26 16:42:48 +02:00
Benjamin Otte
e0efb8798a
testgtk: Remove unused variable
2010-07-26 16:42:48 +02:00
Benjamin Otte
e8bf80ebea
testgtk: Draw rotated text example with pangocairo
2010-07-26 16:42:48 +02:00
Benjamin Otte
8630657324
testgtk: Replace gdk_draw_rectangle() with Cairo
2010-07-26 16:42:48 +02:00
Benjamin Otte
0a451f508b
test: Convert testinput to Cairo
...
The test is broken though as it draws onto windows outside of expose
events.
And we all know you shouldn't do that.
2010-07-26 16:42:48 +02:00
Benjamin Otte
6dd7e5af08
tests: Make testoffscreen use Cairo
2010-07-26 16:42:48 +02:00
Benjamin Otte
a625e587a3
tests: replace gdk_draw_drawable() with Cairo calls in testinput
2010-07-26 16:42:48 +02:00
Benjamin Otte
17bd528df5
tests: Use gdk_screen_get_default_colormap()
...
We don't need the RGB colormap here.
2010-07-26 16:42:48 +02:00
Benjamin Otte
58ef2afdfa
tests: Use GdkPixbuf for taking a screenshot, not GdkImage
2010-07-26 16:42:48 +02:00
Benjamin Otte
6d4bae5ccc
tests: Remove gdk_draw_pixbuf() with Cairo equivalent
2010-07-26 16:42:47 +02:00
Benjamin Otte
c1c9b7dfc8
pixbuf-engine: Draw mask with Cairo
...
No more gdk_pixbuf_render_threshold_alpha()
2010-07-26 16:42:47 +02:00
Benjamin Otte
a22ebc974f
pixbuf-engine: replace call to gdk_draw_pixbuf() with Cairo equivalent
2010-07-26 16:42:47 +02:00
Benjamin Otte
59db821725
pixbuf-engine: Replace gdk_draw_pixbuf() with Cairo equivalent
...
This replaces the tiled fill call only.
2010-07-26 16:42:47 +02:00
Benjamin Otte
7f1801eae1
imcontextxim: Draw with Cairo
2010-07-26 16:42:47 +02:00
Benjamin Otte
c122d31c29
decorations: Draw text with Cairo
2010-07-26 16:42:47 +02:00
Benjamin Otte
a8d805ffbc
decorate: Draw decorations using Cairo
...
Patch is untested, is there an example using this?
2010-07-26 16:42:47 +02:00
Benjamin Otte
ff25b0dc20
hsv: Remove unused variable
2010-07-26 16:42:47 +02:00
Benjamin Otte
5cd6d309ea
treeview: Draw the dnd pixmaps with Cairo
2010-07-26 16:42:47 +02:00
Benjamin Otte
da426ec97c
treeview: Draw lines with Cairo
2010-07-26 16:42:47 +02:00
Benjamin Otte
8dd3317502
treeview: Unify all line drawing into the same function
...
This is useful because the dashing stuff needs to be done and it seems
like a good idea to unify it.
2010-07-26 16:42:47 +02:00
Benjamin Otte
526aac1fda
treeview: Draw column reordering arrows with Cairo
2010-07-26 16:42:47 +02:00
Benjamin Otte
41621e212b
ruler: Replace gdk_draw_drawable calls with Cairo
...
and get rid of the custom GC
2010-07-26 16:42:47 +02:00
Benjamin Otte
5fd0c28c78
menu: replace gdk_draw_drawable() call with Cairo equivalent
2010-07-26 16:42:47 +02:00
Benjamin Otte
671c506dfc
filechooser: Remove commented out code
...
It wouldn't compile with current APIs anyway
2010-07-26 16:42:47 +02:00
Benjamin Otte
4181abd69a
progressbar: Use cairo instead of gdk_draw_drawable()
2010-07-26 16:42:47 +02:00
Benjamin Otte
6eed185502
spinner: We want the default colormap, not the RGB colormap
...
GtkSpinner doesn't use GdkRGB
2010-07-26 16:42:46 +02:00
Benjamin Otte
8f6a014de4
image: Use Cairo instead of gdk_draw_drawable()
2010-07-26 16:42:46 +02:00
Benjamin Otte
847d401df3
image: replace gdk_draw_pixbuf() call with Cairo equivalent
2010-07-26 16:42:46 +02:00
Benjamin Otte
0310626938
textview: draw dnd icon with Pango
2010-07-26 16:42:46 +02:00
Benjamin Otte
dec093d9f1
textview: Draw selection background with Cairo
2010-07-26 16:42:46 +02:00
Benjamin Otte
3e469d737e
textview: Draw drag icons using Cairo
2010-07-26 16:42:46 +02:00
Benjamin Otte
f1074be1ed
textview: Use _gtk_widget_get_cursor_color() and Cairo
...
Previously the code was using _gtk_widget_get_cursor_gc()
2010-07-26 16:42:46 +02:00
Benjamin Otte
8c035b6048
textview: Draw empty shape logo with Cairo
2010-07-26 16:42:46 +02:00
Benjamin Otte
373128ce29
textview: replace gdk_draw_pixbuf() call with Cairo version
2010-07-26 16:42:46 +02:00
Benjamin Otte
de6314d084
colorbutton: Render with Cairo
...
In particular, this gets rid of gdk_draw_pixbuf() and GdkGC usage.
2010-07-26 16:42:46 +02:00
Benjamin Otte
d203b830a9
entry: replace gdk_draw_pixbuf() call with Cairo version
2010-07-26 16:42:46 +02:00
Benjamin Otte
2883a274cc
gdk: Revert making get_size optional
...
49a0ec6e95 added this hunk without
explanations and it's obviously wrong because failing to have a get_size
vfunc will now not set width and height and they'll end up with invalid
values.
In fact, the GdkDrawableImpl{X11,Win32,Quartz} functions do not have
get_size implemented, so the patch was most likely an attempt to work
around calling this function erroneously on the impl objects.
The correct fix is to call impl->wrapper instead.
2010-07-26 16:42:46 +02:00
Benjamin Otte
8adfc326f8
x11: Query size on real drawable
...
The X11 drawable does not have a clue about the real size of the
surface.
This might also be the cause for:
https://bugzilla.gnome.org/show_bug.cgi?id=599574
2010-07-26 16:42:46 +02:00
Benjamin Otte
b806701cdb
docs: Fix sgml file to add gdk_keymap_get_num_lock_state()
2010-07-26 16:42:46 +02:00
Benjamin Otte
c90ba0a3be
cups: Fix cast warnings
2010-07-26 16:42:46 +02:00
Klemen Košir
90cd0f6ae7
Updated Slovenian translation
2010-07-26 14:45:57 +02:00
Szilárd Pfeiffer
ac34031b4e
Moved the drawing of horizontal grid lines after cell drawing.
...
Without the change if the cell background is set the horizontal
grid line cannot be seen.
2010-07-25 14:50:12 +02:00
John Stowers
fe603cccf2
Add gdk_cursor_get_cursor_type
...
https://bugzilla.gnome.org/show_bug.cgi?id=624087
2010-07-25 22:12:34 +12:00
Aron Xu
5616a82c0a
Update Simplified Chinese translation.
2010-07-24 13:15:32 +08:00
Federico Mena Quintero
917f5c1272
Clarify what the @event is used for when calling gtk_drag_begin()
...
Signed-off-by: Federico Mena Quintero <federico@novell.com >
2010-07-23 11:51:46 -05:00
Christian Dywan
1c5ee1df12
Correct marshaller for switch-page and adjust emission from menu
...
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=624687
2010-07-23 13:21:33 +02:00
Stanislav Brabec
ccc3d2c69f
Fix stuck pointer grab due to passing GDK_CURRENT_TIME to gtk_drag_begin()
...
If gtk_drag_begin() gets passed GDK_CURRENT_TIME, try to use
gtk_get_current_event_time(). If it fails, use GDK_CURRENT_TIME when
ungrabbing in gtk_drag_end().
For more see https://bugzilla.gnome.org/show_bug.cgi?id=623865
2010-07-22 16:20:06 -05:00
Javier Jardón
c1a2ecc369
Check if childs actually exists before using it
...
Check seems to have gone lost during GtkBin sealing in commit 4427760b
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=624707
2010-07-22 17:17:43 +02:00
Fran Diéguez
90db251624
Updated Galician translations
2010-07-22 16:28:52 +02:00
Tao Wang
a94ff624b6
Update Simplified Chinese translations.
2010-07-21 12:04:06 +08:00
Fran Diéguez
d3ef6af1a6
Updated Galician translations
2010-07-20 12:27:07 +02:00
Javier Jardón
6852137e13
Move GtkBoxChild from the public .h to gtkbox.c
...
https://bugzilla.gnome.org/show_bug.cgi?id=624397
2010-07-20 02:58:36 +02:00
Javier Jardón
82efd2d92f
Do not use GtkBoxChild in GtkStatusBar
...
https://bugzilla.gnome.org/show_bug.cgi?id=624397
2010-07-20 02:35:49 +02:00
Javier Jardón
910ad4872c
gtkentrycompletion: check return value because It can be non-UTF8
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=624270
2010-07-19 23:56:22 +02:00
Kjartan Maraas
0a8043da13
Updated Norwegian bokmål translation
2010-07-19 21:38:04 +02:00
Yaron Shahrabani
4a7cff0cab
Updated Hebrew translation.
2010-07-19 21:39:43 +03:00
Javier Jardón
cd9a9e1548
GtkWindowGroup: Add guards to some gtk_window_group_* functions
2010-07-19 17:53:51 +02:00
Javier Jardón
9ee3d73a19
Add _gtk_check_menu_item_set_active() internal function
...
It's needed by gtkradiomenuitem
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=624432
2010-07-19 16:08:07 +02:00
Christian Persch
1af1362a36
gtknotebook: Fix critical warnings on scroll events
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=604391
2010-07-19 15:28:03 +02:00
Ted Gould
6330ea9e43
gtkstock: Adding a File label stock item.
...
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=622658
2010-07-19 15:26:18 +02:00
Javier Jardón
1bfa931e20
Add _gtk_toggle_action_set_active() internal function
...
It's needed in gtkradioaction
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=624540
2010-07-19 15:16:03 +02:00
Carlos Garnacho
4682d563cf
GtkWindow: keep a reference of the widget on focus change.
...
Focus out could lead to the widget being destroyed (for example,
in editable cell renderers when DnD starts), so keep the widget
alive while iterating through the devices.
2010-07-19 15:08:43 +02:00
Javier Jardón
0fd82767ff
gtktextbuffer: Remove GET_PRIVATE macro
...
It's only needed one time and should not be used again in the code.
2010-07-19 15:01:02 +02:00
Mario Blättermann
ad9a9b7915
[i18n] Updated German translation
2010-07-18 20:35:06 +02:00
Mario Blättermann
1411613a70
[i18n] Updated German translation
2010-07-18 20:31:28 +02:00
Jorge González
a9e96106f9
Updated Spanish translation
2010-07-18 12:03:33 +02:00
Andika Triwidada
edbee1d9fc
Updated Indonesian translation after reapply newest POT
2010-07-18 12:00:22 +07:00
Andika Triwidada
442f7fb2a6
Updated Indonesian translation
2010-07-18 11:56:38 +07:00
Ignacio Casal Quinteiro
a1be4eccb0
Move GtkTextBuffer sealed attributes to private struct.
2010-07-17 10:39:37 +02:00
Emmanuele Bassi
e42c29ca98
gail-util: Constify gchar argument
...
And avoid a compiler warning.
https://bugzilla.gnome.org/show_bug.cgi?id=624349
2010-07-16 17:44:15 +01:00
Yaron Shahrabani
ddcbc0e051
Updated Hebrew translation.
2010-07-16 17:17:13 +03:00
Matthias Clasen
271d66fc81
Remove accidental addition
2010-07-16 01:22:01 -04:00
Matthias Clasen
7491e9e97a
Allow windows to be dragged by clicking on empty areas
...
Allow windows to be dragged by clicking on empty areas in menubars
and toolbars. This is under theme control, via the GtkWidget::window-dragging
style property. The idea is that it makes sense to turn this on if a
theme makes the window frame and the menubar/toolbar appear visually
contiguous.
The main patch was written by Cody Russell, with a contribution by
Ayan George. See bug 611313.
2010-07-16 01:15:47 -04:00
Matthias Clasen
89d0955431
Back down glib requires
...
We really only need 2.25.11 after all.
2010-07-15 23:42:04 -04:00
Paolo Borelli
0754f2d72f
Do not use GtkBoxChild in GtkButtonBox.
...
Do not store the is_secondary bit in the deprecated parent struct, use a
simple flag on the object instead. Fixes bug #624367 .
2010-07-15 22:42:07 +02:00
Javier Jardón
133f0744b9
docs: gitignore GtkRecentManager .sgml template
...
THis completes commit 8eeeb97de6
2010-07-15 15:43:48 +02:00
Emmanuele Bassi
8eeeb97de6
docs: Inline GtkRecentManager documentation
2010-07-15 09:10:55 +01:00
Javier Jardón
cfa241a891
Remove GtkRecenManager:limit deprecated property
2010-07-15 03:12:12 +02:00
Javier Jardón
678e738f8d
Deprecate GtkRecenManager::limit property
...
The :limit property of GtkRecentManager does not serve any useful
purpose: the length of the list should be managed by the view
(implementing GtkRecentChooser), and not by the model (the recent
manager).
https://bugzilla.gnome.org/show_bug.cgi?id=624333
2010-07-15 02:40:28 +02:00
Jonh Wendell
5c2966dda3
Do not access an invalid ActionGroup. Closes #624362 .
2010-07-14 14:50:28 -03: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
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