]> Pileus Git - ~andy/gtk/log
~andy/gtk
13 years agoUse gtk_separator_new() instead gtk_[v|h]separator_new()
Javier Jardón [Fri, 29 Oct 2010 23:32:34 +0000 (01:32 +0200)]
Use gtk_separator_new() instead gtk_[v|h]separator_new()

13 years agoUse gtk_button_box_new() instead gtk_[v|h]_button_box_new()
Javier Jardón [Fri, 29 Oct 2010 23:21:15 +0000 (01:21 +0200)]
Use gtk_button_box_new() instead gtk_[v|h]_button_box_new()

13 years agogtk: remove declarations of removed internal functions
Michael Natterer [Fri, 29 Oct 2010 11:19:22 +0000 (13:19 +0200)]
gtk: remove declarations of removed internal functions

13 years agoDon't set get_preferred_width_for_height to NULL
Matthias Clasen [Fri, 29 Oct 2010 16:58:24 +0000 (12:58 -0400)]
Don't set get_preferred_width_for_height to NULL

The size request machinery expects that it is non-NULL.

13 years agoGtkComboBox: Add a constructor that takes a model and adds an entry
Matthias Clasen [Fri, 29 Oct 2010 16:28:42 +0000 (12:28 -0400)]
GtkComboBox: Add a constructor that takes a model and adds an entry

https://bugzilla.gnome.org/show_bug.cgi?id=633050

13 years agoRe-enable deprecation guards
Javier Jardón [Fri, 29 Oct 2010 01:28:24 +0000 (03:28 +0200)]
Re-enable deprecation guards

13 years agoUpdated Catalan (Valencian) translation
Carles Ferrando [Fri, 29 Oct 2010 00:37:58 +0000 (01:37 +0100)]
Updated Catalan (Valencian) translation

13 years agoUse the client pointer for events with no device.
Carlos Garnacho [Thu, 28 Oct 2010 21:01:16 +0000 (23:01 +0200)]
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.

13 years agoRemove unused GdkDeviceManager variable
Owen W. Taylor [Thu, 28 Oct 2010 20:43:55 +0000 (16:43 -0400)]
Remove unused GdkDeviceManager variable

gdk_display_get_device_manager() was called but the device manager
not used.

13 years agoifdef X-specific stuff
Matthias Clasen [Thu, 28 Oct 2010 18:27:04 +0000 (14:27 -0400)]
ifdef X-specific stuff

gdk_x11_ APIs can only be used inside #ifdef GDK_WINDOWING_X11.

13 years agoGtkButtonBox doesn't do height-for-width
Matthias Clasen [Thu, 28 Oct 2010 18:22:46 +0000 (14:22 -0400)]
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.

13 years ago[introspection] annotate delete_text invoker to match do_delete_text v-method
John (J5) Palmieri [Thu, 28 Oct 2010 17:25:10 +0000 (13:25 -0400)]
[introspection] annotate delete_text invoker to match do_delete_text v-method

13 years agoPort tests to GtkScrollable API instead of deprecated GtkLayout API
Vincent Untz [Thu, 28 Oct 2010 16:16:55 +0000 (12:16 -0400)]
Port tests to GtkScrollable API instead of deprecated GtkLayout API

https://bugzilla.gnome.org/show_bug.cgi?id=633374

13 years agoRemove useless vars.
Ignacio Casal Quinteiro [Thu, 28 Oct 2010 09:54:05 +0000 (11:54 +0200)]
Remove useless vars.

13 years agoFire a warning if there are any handlers connected to the deprecated "size-request...
Tristan Van Berkom [Thu, 28 Oct 2010 07:00:19 +0000 (16:00 +0900)]
Fire a warning if there are any handlers connected to the deprecated "size-request" signal.

13 years agoAdded a runtime warning if any class is implementing the ->size_request() vfunc.
Tristan Van Berkom [Thu, 28 Oct 2010 06:41:00 +0000 (15:41 +0900)]
Added a runtime warning if any class is implementing the ->size_request() vfunc.

13 years agoMerge branch 'kill-size-request'
Tristan Van Berkom [Thu, 28 Oct 2010 06:30:32 +0000 (15:30 +0900)]
Merge branch 'kill-size-request'

13 years agoMake GtkPathBar use set_size_request() instead of the "size-request" signal.
Tristan Van Berkom [Thu, 28 Oct 2010 06:17:06 +0000 (15:17 +0900)]
Make GtkPathBar use set_size_request() instead of the "size-request" signal.

13 years agoRemoved size_request from GtkToolItemGroup
Tristan Van Berkom [Thu, 28 Oct 2010 06:16:06 +0000 (15:16 +0900)]
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.

13 years agoUse gtk_widget_set_size_request() instead of handling "size-request" signals.
Tristan Van Berkom [Thu, 28 Oct 2010 05:56:04 +0000 (14:56 +0900)]
Use gtk_widget_set_size_request() instead of handling "size-request" signals.

13 years agoAdd a migration guide section on size_request
Matthias Clasen [Wed, 27 Oct 2010 19:55:33 +0000 (15:55 -0400)]
Add a migration guide section on size_request

13 years agoFix the build
Matthias Clasen [Wed, 27 Oct 2010 17:00:58 +0000 (13:00 -0400)]
Fix the build

13 years agoFix gtk_fixed_get_preferred_width
Matthias Clasen [Wed, 27 Oct 2010 16:53:47 +0000 (12:53 -0400)]
Fix gtk_fixed_get_preferred_width

When dealing with widths, use x, not y.
Spotted by Ignacio Casal Quintero.

13 years agogtk: Fix crasher when loading symbolic icons
Bastien Nocera [Wed, 27 Oct 2010 16:47:08 +0000 (17:47 +0100)]
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().

13 years agoGtkSocket: Add error trap around call to XFixesChangeSaveSet()
Owen W. Taylor [Wed, 27 Oct 2010 16:40:59 +0000 (12:40 -0400)]
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

13 years agoRevert "Removed size_request from GtkTextView"
Tristan Van Berkom [Wed, 27 Oct 2010 16:40:51 +0000 (01:40 +0900)]
Revert "Removed size_request from GtkTextView"

This reverts commit 87dfa724ebb4e8710bee17461cb4823ba66d8658.

I pushed this to the wrong branch, ouch sorry.

13 years agoRemove size_request from GtkSocket
Matthias Clasen [Wed, 27 Oct 2010 15:17:40 +0000 (11:17 -0400)]
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.

13 years agoDon't g_free gslice-allocated structures
Matthias Clasen [Wed, 27 Oct 2010 15:16:02 +0000 (11:16 -0400)]
Don't g_free gslice-allocated structures

This was causing memory corruption when removing remote plugs from
sockets.

13 years agoRemove size_request from GtkScale
Matthias Clasen [Wed, 27 Oct 2010 14:32:58 +0000 (10:32 -0400)]
Remove size_request from GtkScale

13 years agoRemoved size_request from GtkTearoffMenuItem
Tristan Van Berkom [Wed, 27 Oct 2010 14:59:43 +0000 (23:59 +0900)]
Removed size_request from GtkTearoffMenuItem

13 years agoFixed remaining call to ->size_request in GtkTextView.
Tristan Van Berkom [Wed, 27 Oct 2010 14:34:58 +0000 (23:34 +0900)]
Fixed remaining call to ->size_request in GtkTextView.

13 years agoRemoving size_request from GtkTextView
Tristan Van Berkom [Wed, 27 Oct 2010 14:25:05 +0000 (23:25 +0900)]
Removing size_request from GtkTextView

13 years agoRemove size_request from GtkSeparatorToolItem
Matthias Clasen [Wed, 27 Oct 2010 14:17:58 +0000 (10:17 -0400)]
Remove size_request from GtkSeparatorToolItem

13 years agoUse correct icon name in testtoolbar
Matthias Clasen [Wed, 27 Oct 2010 14:14:25 +0000 (10:14 -0400)]
Use correct icon name in testtoolbar

13 years agoRemoved size_request from GtkTextView
Tristan Van Berkom [Wed, 27 Oct 2010 13:59:49 +0000 (22:59 +0900)]
Removed size_request from GtkTextView

13 years agoRemove size_request from gtkToolItem
Matthias Clasen [Wed, 27 Oct 2010 13:53:46 +0000 (09:53 -0400)]
Remove size_request from gtkToolItem

13 years agoRemoving size_request from GtkToolPalette
Tristan Van Berkom [Wed, 27 Oct 2010 13:50:24 +0000 (22:50 +0900)]
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.

13 years agoRemove size_request from GtkToolbar
Matthias Clasen [Wed, 27 Oct 2010 13:41:37 +0000 (09:41 -0400)]
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.

13 years agoRemove size_request from GtkTable
Matthias Clasen [Wed, 27 Oct 2010 13:32:42 +0000 (09:32 -0400)]
Remove size_request from GtkTable

13 years agoRemoving size_request from GtkTreeview.
Tristan Van Berkom [Wed, 27 Oct 2010 13:23:25 +0000 (22:23 +0900)]
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.

13 years agoRemove size_request from GtkRuler
Matthias Clasen [Wed, 27 Oct 2010 13:23:07 +0000 (09:23 -0400)]
Remove size_request from GtkRuler

13 years agoRemove size_request from GtkPathBar
Matthias Clasen [Wed, 27 Oct 2010 13:13:26 +0000 (09:13 -0400)]
Remove  size_request from GtkPathBar

13 years agoRemove size_request from GtkSeparator
Matthias Clasen [Wed, 27 Oct 2010 12:33:42 +0000 (08:33 -0400)]
Remove size_request from GtkSeparator

13 years agoRemove size_request from GtkRange
Matthias Clasen [Wed, 27 Oct 2010 12:10:40 +0000 (08:10 -0400)]
Remove size_request from GtkRange

13 years agoFix a typo
Matthias Clasen [Wed, 27 Oct 2010 11:57:03 +0000 (07:57 -0400)]
Fix a typo

13 years agoRemove size_request from GtkPaned
Matthias Clasen [Wed, 27 Oct 2010 11:55:27 +0000 (07:55 -0400)]
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.

13 years ago[l10n] Updated Estonian translation
Ivar Smolin [Wed, 27 Oct 2010 08:22:06 +0000 (11:22 +0300)]
[l10n] Updated Estonian translation

13 years agoRemoved size_request from GtkOffscreenWindow
Tristan Van Berkom [Wed, 27 Oct 2010 05:43:30 +0000 (14:43 +0900)]
Removed size_request from GtkOffscreenWindow

13 years agoRemoved size_request from GtkNotebook
Tristan Van Berkom [Wed, 27 Oct 2010 05:35:04 +0000 (14:35 +0900)]
Removed size_request from GtkNotebook

13 years agoRemoved size_request from GtkMenuBar
Tristan Van Berkom [Wed, 27 Oct 2010 05:30:07 +0000 (14:30 +0900)]
Removed size_request from GtkMenuBar

13 years agoRemoved size_request from GtkImageMenuItem
Tristan Van Berkom [Wed, 27 Oct 2010 05:12:41 +0000 (14:12 +0900)]
Removed size_request from GtkImageMenuItem

13 years agoRemoved size_request from GtkIconView.
Tristan Van Berkom [Wed, 27 Oct 2010 05:11:36 +0000 (14:11 +0900)]
Removed size_request from GtkIconView.

13 years agoRemove size_request from GtkHandleBox
Tristan Van Berkom [Wed, 27 Oct 2010 04:56:46 +0000 (13:56 +0900)]
Remove size_request from GtkHandleBox

13 years agoFixed unused variable in get_preferred_height().
Tristan Van Berkom [Wed, 27 Oct 2010 04:56:13 +0000 (13:56 +0900)]
Fixed unused variable in get_preferred_height().

13 years agoRemove size_request from GtkSpinButton
Matthias Clasen [Wed, 27 Oct 2010 03:46:06 +0000 (23:46 -0400)]
Remove size_request from GtkSpinButton

13 years agoRemove size_request from GtkProgressBar
Matthias Clasen [Wed, 27 Oct 2010 03:30:48 +0000 (23:30 -0400)]
Remove size_request from GtkProgressBar

13 years agoRemove size_reuqest from GtkImage
Matthias Clasen [Wed, 27 Oct 2010 03:16:40 +0000 (23:16 -0400)]
Remove size_reuqest from GtkImage

13 years agoRemove size_request from GtkLayout
Matthias Clasen [Wed, 27 Oct 2010 03:03:10 +0000 (23:03 -0400)]
Remove size_request from GtkLayout

13 years agoRemove size_request from GtkHSV
Matthias Clasen [Wed, 27 Oct 2010 02:56:53 +0000 (22:56 -0400)]
Remove size_request from GtkHSV

13 years agoRemove size_request from GtkFixed
Matthias Clasen [Wed, 27 Oct 2010 02:28:24 +0000 (22:28 -0400)]
Remove size_request from GtkFixed

13 years agoRemove size_request from GtkEntry
Matthias Clasen [Wed, 27 Oct 2010 01:41:13 +0000 (21:41 -0400)]
Remove size_request from GtkEntry

13 years agoRemove size_request from GtkCheckButton
Matthias Clasen [Wed, 27 Oct 2010 01:29:58 +0000 (21:29 -0400)]
Remove size_request from GtkCheckButton

13 years agoRemove size_request from GtkCalendar
Matthias Clasen [Wed, 27 Oct 2010 01:06:40 +0000 (21:06 -0400)]
Remove size_request from GtkCalendar

13 years agoRemove size_request from GtkButtonBox
Matthias Clasen [Wed, 27 Oct 2010 00:57:40 +0000 (20:57 -0400)]
Remove size_request from GtkButtonBox

13 years agoRemove size_request from GtkAssistant
Matthias Clasen [Wed, 27 Oct 2010 00:57:23 +0000 (20:57 -0400)]
Remove size_request from GtkAssistant

13 years agoFix gtk-doc markup: /* <private> */ should be /*< private >*/
Javier Jardón [Tue, 26 Oct 2010 04:35:10 +0000 (06:35 +0200)]
Fix gtk-doc markup: /* <private> */ should be /*< private >*/

13 years agoUpdated galician translations
Fran Diéguez [Tue, 26 Oct 2010 14:59:45 +0000 (16:59 +0200)]
Updated galician translations

13 years agoStop calling GtkWidget parameters 'request'
Matthias Clasen [Tue, 26 Oct 2010 14:53:46 +0000 (10:53 -0400)]
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.

13 years agoUpdate properties Hebrew translation.
Yaron Shahrabani [Tue, 26 Oct 2010 06:32:05 +0000 (08:32 +0200)]
Update properties Hebrew translation.

13 years agogtkcomboboxtext: remove unused variable
Xan Lopez [Tue, 26 Oct 2010 06:18:35 +0000 (15:18 +0900)]
gtkcomboboxtext: remove unused variable

13 years agogtk.symbols: Add scrollable policy API
Javier Jardón [Tue, 26 Oct 2010 04:03:34 +0000 (06:03 +0200)]
gtk.symbols: Add scrollable policy API

13 years agogtkfilechooserentry: Use accessor functions to access GtkEntry
Javier Jardón [Wed, 20 Oct 2010 16:37:59 +0000 (18:37 +0200)]
gtkfilechooserentry: Use accessor functions to access GtkEntry

13 years agogtkspinbutton: Use accessor functions to access GtkEntry
Javier Jardón [Wed, 20 Oct 2010 15:45:17 +0000 (17:45 +0200)]
gtkspinbutton: Use accessor functions to access GtkEntry

13 years agoUse accessor functions to access GtkButton
Javier Jardón [Tue, 19 Oct 2010 00:00:10 +0000 (02:00 +0200)]
Use accessor functions to access GtkButton

13 years agogtktogglebutton: move public members to private structure
Javier Jardón [Tue, 19 Oct 2010 16:18:02 +0000 (18:18 +0200)]
gtktogglebutton: move public members to private structure

13 years agogtktogglebutton: Add _gtk_toggle_button_set_active private accessor
Javier Jardón [Tue, 19 Oct 2010 16:21:56 +0000 (18:21 +0200)]
gtktogglebutton: Add _gtk_toggle_button_set_active private accessor

It's needed by gtkradiobutton

13 years agogtkradiobutton: Use accessor functions to access GtkToggleButton
Javier Jardón [Tue, 19 Oct 2010 02:16:17 +0000 (04:16 +0200)]
gtkradiobutton: Use accessor functions to access GtkToggleButton

13 years agogtkcheckbutton: Use accessor functions to access GtkToggleButton
Javier Jardón [Tue, 19 Oct 2010 02:15:37 +0000 (04:15 +0200)]
gtkcheckbutton: Use accessor functions to access GtkToggleButton

13 years agogtktoggletoolbutton: Use accessor functions to access GtkToggleButton
Javier Jardón [Tue, 19 Oct 2010 16:45:11 +0000 (18:45 +0200)]
gtktoggletoolbutton: Use accessor functions to access GtkToggleButton

13 years agogail: use accessor functions to access GtkToggleButton
Javier Jardón [Tue, 19 Oct 2010 16:46:07 +0000 (18:46 +0200)]
gail: use accessor functions to access GtkToggleButton

13 years agotests: use accessor functions to access GtkToogleButton
Javier Jardón [Tue, 19 Oct 2010 16:46:40 +0000 (18:46 +0200)]
tests: use accessor functions to access GtkToogleButton

13 years agoMissed adding the scrolled window test in previous commit, added scrolled window...
Tristan Van Berkom [Tue, 26 Oct 2010 02:35:04 +0000 (11:35 +0900)]
Missed adding the scrolled window test in previous commit, added scrolled window test.

13 years agoAdded GtkScrollablePolicy property to scrollable interface
Tristan Van Berkom [Tue, 26 Oct 2010 00:59:02 +0000 (09:59 +0900)]
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.

13 years agoBump version
Matthias Clasen [Mon, 25 Oct 2010 22:32:37 +0000 (18:32 -0400)]
Bump version

13 years agoInclude gdkrgba.h
Matthias Clasen [Mon, 25 Oct 2010 18:35:19 +0000 (14:35 -0400)]
Include gdkrgba.h

13 years agoMore updates
Matthias Clasen [Mon, 25 Oct 2010 17:59:49 +0000 (13:59 -0400)]
More updates

13 years agoAdd new GdkRGBA apis to gtk.symbols
Matthias Clasen [Mon, 25 Oct 2010 17:49:37 +0000 (13:49 -0400)]
Add new GdkRGBA apis to gtk.symbols

13 years agoAdd new GdkRGBA api to symbol list
Matthias Clasen [Mon, 25 Oct 2010 17:44:43 +0000 (13:44 -0400)]
Add new GdkRGBA api to symbol list

13 years agoUse g_ascii_strto[u]ll instead of strto[u]l
=Christian Persch [Mon, 25 Oct 2010 16:22:20 +0000 (12:22 -0400)]
Use g_ascii_strto[u]ll instead of strto[u]l

We don't want GtkBuilder input to be locale-dependent.

Bug #632503

13 years agoAdd tests for GdkRGBA serialization
Matthias Clasen [Mon, 25 Oct 2010 16:10:48 +0000 (12:10 -0400)]
Add tests for GdkRGBA serialization

In particular, test that serialization is not dependent on the
locale.

13 years agoAdd some GdkRGBA tests
Matthias Clasen [Mon, 25 Oct 2010 16:01:11 +0000 (12:01 -0400)]
Add some GdkRGBA tests

13 years agoSupport resetting cell renderer colors with NULL again
Matthias Clasen [Mon, 25 Oct 2010 15:17:24 +0000 (11:17 -0400)]
Support resetting cell renderer colors with NULL again

This functionality was lost when GdkRGBA was introduced.

Bug 632936

13 years agoUpdated Spanish translation
Jorge González [Mon, 25 Oct 2010 14:26:28 +0000 (16:26 +0200)]
Updated Spanish translation

13 years agoFix make distcheck as gtkcomboboxentry does not exist anymore
Richard Hughes [Mon, 25 Oct 2010 09:20:10 +0000 (10:20 +0100)]
Fix make distcheck as gtkcomboboxentry does not exist anymore

13 years agoUpdated Galician translations
Fran Diéguez [Sun, 24 Oct 2010 23:13:13 +0000 (01:13 +0200)]
Updated Galician translations

13 years agoFix typo.
Ignacio Casal Quinteiro [Sun, 24 Oct 2010 20:51:51 +0000 (22:51 +0200)]
Fix typo.

13 years agoGtkCalendar: turn into a no-window widget
Matthias Clasen [Sun, 24 Oct 2010 05:22:13 +0000 (07:22 +0200)]
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.

13 years agoBring back lost functionality
Matthias Clasen [Sun, 24 Oct 2010 05:21:37 +0000 (07:21 +0200)]
Bring back lost functionality

Double-click to mark/unmark was lost a while ago.

Also add easy RTL testing.

13 years agoFill out the bug section
Matthias Clasen [Sat, 23 Oct 2010 22:38:37 +0000 (00:38 +0200)]
Fill out the bug section

13 years agoUpdated Arabic translation
Khaled Hosny [Sun, 24 Oct 2010 10:04:02 +0000 (12:04 +0200)]
Updated Arabic translation