]> Pileus Git - ~andy/gtk/log
~andy/gtk
13 years agoNEWS for 2.91.3
Matthias Clasen [Mon, 1 Nov 2010 12:14:19 +0000 (08:14 -0400)]
NEWS for 2.91.3

13 years ago[l10n] Updated Estonian translation
Ivar Smolin [Mon, 1 Nov 2010 06:19:38 +0000 (08:19 +0200)]
[l10n] Updated Estonian translation

13 years agoFix a typo
Matthias Clasen [Mon, 1 Nov 2010 02:16:41 +0000 (22:16 -0400)]
Fix a typo

13 years agoMention actions in the libunique migration guide
Matthias Clasen [Mon, 1 Nov 2010 02:14:53 +0000 (22:14 -0400)]
Mention actions in the libunique migration guide

13 years agoFix interaction between scrolling menus and automatic mnemonics
Matthias Clasen [Sun, 31 Oct 2010 19:52:32 +0000 (15:52 -0400)]
Fix interaction between scrolling menus and automatic mnemonics

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

13 years agogtk: remove all border_width handling from the button box
Michael Natterer [Sun, 31 Oct 2010 19:16:19 +0000 (20:16 +0100)]
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.

13 years agogtk: fix automatic width of spin buttons which have no width in chars set
Michael Natterer [Sun, 31 Oct 2010 19:03:55 +0000 (20:03 +0100)]
gtk: fix automatic width of spin buttons which have no width in chars set

13 years agotests: missed these two gtk_box_new() which sneaked in by rebasing...
Michael Natterer [Sun, 31 Oct 2010 19:00:38 +0000 (20:00 +0100)]
tests: missed these two gtk_box_new() which sneaked in by rebasing...

13 years agoGtkAssistant: Mention custom pages in the introduction
Matthias Clasen [Sun, 31 Oct 2010 18:34:35 +0000 (14:34 -0400)]
GtkAssistant: Mention custom pages in the introduction

13 years agogtk: remove "gboolean homogeneous" from gtk_box_new()
Michael Natterer [Sun, 31 Oct 2010 17:07:20 +0000 (18:07 +0100)]
gtk: remove "gboolean homogeneous" from gtk_box_new()

Because it's FALSE in virtually all use cases.

13 years agoAdd content size test for scrolled window
Matthias Clasen [Sun, 31 Oct 2010 18:09:48 +0000 (14:09 -0400)]
Add content size test for scrolled window

13 years agoGtkAssistant: Add custom page type
Bastien Nocera [Sat, 30 Oct 2010 19:12:58 +0000 (20:12 +0100)]
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

13 years agoGtkAssistant: Add more details about buttons shown
Bastien Nocera [Sat, 30 Oct 2010 18:57:55 +0000 (19:57 +0100)]
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

13 years agoImprove GtkAssistant docs
Matthias Clasen [Sun, 31 Oct 2010 01:25:21 +0000 (21:25 -0400)]
Improve GtkAssistant docs

13 years agoHandle NULL intp in test_increment_intp()
Martin Nordholts [Sat, 30 Oct 2010 22:06:48 +0000 (00:06 +0200)]
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.

13 years agoFixed hangs in TextView and ToolPalette
Tristan Van Berkom [Sat, 30 Oct 2010 14:10:43 +0000 (23:10 +0900)]
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.

13 years agoFixing typo in scrolled window
Tristan Van Berkom [Sat, 30 Oct 2010 14:09:14 +0000 (23:09 +0900)]
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.

13 years agoEmphasize that GtkBox and GtkTable can be replaced by GtkGrid
Javier Jardón [Sat, 30 Oct 2010 04:53:44 +0000 (06:53 +0200)]
Emphasize that GtkBox and GtkTable can be replaced by GtkGrid

13 years agoUse gtk_box_new() instead gtk_[v|h]box_new()
Javier Jardón [Sat, 30 Oct 2010 03:00:32 +0000 (05:00 +0200)]
Use gtk_box_new() instead gtk_[v|h]box_new()

13 years agodocs: remove template of deprecated gtkcombo widget
Javier Jardón [Sat, 30 Oct 2010 03:01:31 +0000 (05:01 +0200)]
docs: remove template of deprecated gtkcombo widget

13 years agoMigration guide additions
Matthias Clasen [Sat, 30 Oct 2010 02:48:26 +0000 (22:48 -0400)]
Migration guide additions

Add some information about expand flags and the scrollable interface.

13 years agoMake gdk_rgba_to_string() take a const GdkRGBA
Christian Persch [Sat, 30 Oct 2010 01:16:52 +0000 (21:16 -0400)]
Make gdk_rgba_to_string() take a const GdkRGBA

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

13 years agoFix initial size allocation with child widgets
Matthias Clasen [Sat, 30 Oct 2010 01:13:55 +0000 (21:13 -0400)]
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

13 years agoUse gtk_scrollbar_new() instead gtk_[v|h]scrollbar_new()
Javier Jardón [Sat, 30 Oct 2010 00:11:05 +0000 (02:11 +0200)]
Use gtk_scrollbar_new() instead gtk_[v|h]scrollbar_new()

13 years agoUse gtk_scale_new() instead gtk_[v|h]scale_new()
Javier Jardón [Sat, 30 Oct 2010 00:07:28 +0000 (02:07 +0200)]
Use gtk_scale_new() instead gtk_[v|h]scale_new()

13 years agoUse gtk_scale_new_with_range() instead gtk_[v|h]scale_new_with_range()
Javier Jardón [Sat, 30 Oct 2010 00:01:27 +0000 (02:01 +0200)]
Use gtk_scale_new_with_range() instead gtk_[v|h]scale_new_with_range()

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

13 years agoUse gtk_ruler_new() instead gtk_[v|h]ruler_new()
Javier Jardón [Fri, 29 Oct 2010 23:41:55 +0000 (01:41 +0200)]
Use gtk_ruler_new() instead gtk_[v|h]ruler_new()

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