]> Pileus Git - ~andy/gtk/log
~andy/gtk
13 years agoDon't use old GtkComboBoxEntry in gail
Christian Dywan [Mon, 18 Oct 2010 07:08:31 +0000 (09:08 +0200)]
Don't use old GtkComboBoxEntry in gail

Use gtk_combo_box_get_has_entry instead.

13 years agoAdd gtk_combo_box_{get,set}_popup_fixed_width to gtk.symbols
Christian Dywan [Mon, 18 Oct 2010 07:05:03 +0000 (09:05 +0200)]
Add gtk_combo_box_{get,set}_popup_fixed_width to gtk.symbols

13 years agoIcon view must layout before the draw handler is called
Kristian Rietveld [Sun, 17 Oct 2010 08:27:41 +0000 (10:27 +0200)]
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.

13 years agoImplement gtk_drag_set_icon_surface in gtkdnd-quartz
Kristian Rietveld [Sun, 17 Oct 2010 08:07:29 +0000 (10:07 +0200)]
Implement gtk_drag_set_icon_surface in gtkdnd-quartz

13 years agoFix typo in docs
Kristian Rietveld [Sun, 17 Oct 2010 07:51:57 +0000 (09:51 +0200)]
Fix typo in docs

13 years agoUse cairo_surface_destroy instead of g_object_unref
Kristian Rietveld [Sat, 16 Oct 2010 18:16:19 +0000 (20:16 +0200)]
Use cairo_surface_destroy instead of g_object_unref

13 years agoUpdated Japanese translation
Takayuki KUSANO [Sun, 17 Oct 2010 06:10:45 +0000 (15:10 +0900)]
Updated Japanese translation

13 years agoAllow GtkComboBox popup to be wider than the combo itself.
Tristan Van Berkom [Sat, 16 Oct 2010 09:01:33 +0000 (18:01 +0900)]
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.

13 years agoFix some GtkComboBoxText problems
Matthias Clasen [Sat, 16 Oct 2010 12:17:34 +0000 (08:17 -0400)]
Fix some GtkComboBoxText problems

We must use entry-text-column explicitly to 0, since it defaults to -1.

13 years agoFix some GtkComboBoxText problems
Matthias Clasen [Sat, 16 Oct 2010 12:16:55 +0000 (08:16 -0400)]
Fix some GtkComboBoxText problems

13 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Sat, 16 Oct 2010 10:22:01 +0000 (12:22 +0200)]
Updated Norwegian bokmål translation

13 years agodocs: Remove template about deprecated GtkItemFactory
Javier Jardón [Sat, 16 Oct 2010 03:24:24 +0000 (05:24 +0200)]
docs: Remove template about deprecated GtkItemFactory

13 years agoBump version to 2.91.2
Matthias Clasen [Sat, 16 Oct 2010 02:38:37 +0000 (22:38 -0400)]
Bump version to 2.91.2

13 years agoMore distcheck fixes
Matthias Clasen [Sat, 16 Oct 2010 01:55:17 +0000 (21:55 -0400)]
More distcheck fixes

13 years agoAdd filechooser settings gschema to EXTRA_DIST
Matthias Clasen [Sat, 16 Oct 2010 01:20:13 +0000 (21:20 -0400)]
Add filechooser settings gschema to EXTRA_DIST

13 years agoMore examples removal
Matthias Clasen [Sat, 16 Oct 2010 00:59:38 +0000 (20:59 -0400)]
More examples removal

13 years agoDrop crazy listing of all example files
Matthias Clasen [Sat, 16 Oct 2010 00:53:07 +0000 (20:53 -0400)]
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.

13 years agoFix make distcheck
Matthias Clasen [Sat, 16 Oct 2010 00:48:37 +0000 (20:48 -0400)]
Fix make distcheck

13 years agoUpdate POTFILES.in
Matthias Clasen [Sat, 16 Oct 2010 00:20:25 +0000 (20:20 -0400)]
Update POTFILES.in

13 years agoRemove a private symbol from gtk.symbols
Matthias Clasen [Sat, 16 Oct 2010 00:12:08 +0000 (20:12 -0400)]
Remove a private symbol from gtk.symbols

13 years agoTemporarily disable test involving file choosers
Matthias Clasen [Sat, 16 Oct 2010 00:10:08 +0000 (20:10 -0400)]
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.

13 years agoFix up symbol lists
Matthias Clasen [Fri, 15 Oct 2010 23:20:08 +0000 (19:20 -0400)]
Fix up symbol lists

13 years agoGtkComboBoxText: Use gtk_combo_box_text_remove instead gtk_combo_box_text_remove_text
Javier Jardón [Sat, 16 Oct 2010 00:07:01 +0000 (02:07 +0200)]
GtkComboBoxText: Use gtk_combo_box_text_remove instead gtk_combo_box_text_remove_text

13 years agoUpdate NEWS for 2.91.1
Matthias Clasen [Fri, 15 Oct 2010 23:01:36 +0000 (19:01 -0400)]
Update NEWS for 2.91.1

13 years agoRemove tutorial from configure.ac
Matthias Clasen [Fri, 15 Oct 2010 22:18:58 +0000 (18:18 -0400)]
Remove tutorial from configure.ac

13 years agoParse lpoptions correctly
Marek Kasik [Fri, 15 Oct 2010 10:08:12 +0000 (12:08 +0200)]
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.

13 years agoUse property system to coerce model data to G_TYPE_STRING
Christian Dywan [Fri, 15 Oct 2010 14:29:30 +0000 (16:29 +0200)]
Use property system to coerce model data to G_TYPE_STRING

Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=423201
13 years agodocs: cross-reference to GtkComboBoxText
Matthias Clasen [Fri, 15 Oct 2010 20:52:54 +0000 (16:52 -0400)]
docs: cross-reference to GtkComboBoxText

13 years agoAdd docs for GtkComboBoxText
Matthias Clasen [Fri, 15 Oct 2010 20:52:25 +0000 (16:52 -0400)]
Add docs for GtkComboBoxText

13 years agodocs: fix a cross-reference
Matthias Clasen [Fri, 15 Oct 2010 20:36:27 +0000 (16:36 -0400)]
docs: fix a cross-reference

13 years agoDeprecate the old combobox text convenience api
Matthias Clasen [Fri, 15 Oct 2010 20:33:11 +0000 (16:33 -0400)]
Deprecate the old combobox text convenience api

13 years agoUse the new GtkComboBoxText API
Javier Jardón [Sat, 2 Oct 2010 16:19:46 +0000 (18:19 +0200)]
Use the new GtkComboBoxText API

Also remove mentions of the old text convenience API from the docs,
and point to GtkComboBoxText instead.

13 years agoAdd gtk_combo_box_text_new_with_entry
Matthias Clasen [Fri, 15 Oct 2010 20:16:45 +0000 (16:16 -0400)]
Add gtk_combo_box_text_new_with_entry

Also, make use of the configured entry_text_column.

13 years agodocs: adjust Since tags
Matthias Clasen [Fri, 15 Oct 2010 20:15:16 +0000 (16:15 -0400)]
docs: adjust Since tags

13 years agoUse text column value in GtkComboBoxText
Christian Dywan [Fri, 15 Oct 2010 13:26:00 +0000 (15:26 +0200)]
Use text column value in GtkComboBoxText

13 years agoAdded GtkComboBoxText api
Christian Dywan [Wed, 19 May 2010 15:27:47 +0000 (17:27 +0200)]
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>
13 years agoBug 631719 - Restore second, more important, call to set label from the menu item.
John Ralls [Fri, 15 Oct 2010 20:10:25 +0000 (13:10 -0700)]
Bug 631719 - Restore second, more important, call to set label from the menu item.

13 years agodocs: update OSX port project page
Javier Jardón [Fri, 15 Oct 2010 18:51:18 +0000 (20:51 +0200)]
docs: update OSX port project page

13 years agoMake gtk_accelerator_get_default_mod_mask() return a GdkModifierType
Alberto Garcia [Fri, 15 Oct 2010 18:46:22 +0000 (14:46 -0400)]
Make gtk_accelerator_get_default_mod_mask() return a GdkModifierType

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

13 years agoTake cursor hotspot from pixbuf if available
Christian Persch [Fri, 15 Oct 2010 18:34:44 +0000 (14:34 -0400)]
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.

13 years agodocs: Document GtkScrolledWindow's signals
Javier Jardón [Mon, 11 Oct 2010 00:01:14 +0000 (02:01 +0200)]
docs: Document GtkScrolledWindow's signals

Based on a patch by Björn Lindqvist
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=351247

13 years agoDeprecate gtk_init_add, gtk_remove_add and friends
Matthias Clasen [Fri, 15 Oct 2010 18:13:32 +0000 (14:13 -0400)]
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

13 years agoAdd boxed type and constructor
Colin Walters [Fri, 15 Oct 2010 17:54:37 +0000 (13:54 -0400)]
Add boxed type and constructor

This allows bindings to sanely construct these.

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

13 years agoForgotten file
Matthias Clasen [Fri, 15 Oct 2010 17:07:08 +0000 (13:07 -0400)]
Forgotten file

13 years agoexamples: build examples that are included in the docs
Matthias Clasen [Fri, 15 Oct 2010 16:37:21 +0000 (12:37 -0400)]
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.

13 years agodocs: Drop the old tutorial
Matthias Clasen [Fri, 15 Oct 2010 16:12:50 +0000 (12:12 -0400)]
docs: Drop the old tutorial

The tutorial is outdated, essentially stuck at GTK+ 2.0.
At this point, it is more misleading than helpful.

13 years agodocs: move some tutorial content to the reference
Matthias Clasen [Fri, 15 Oct 2010 16:10:59 +0000 (12:10 -0400)]
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.

13 years agodocs: Move the introduction of the tutorial in the reference
Emmanuele Bassi [Fri, 15 Oct 2010 15:04:27 +0000 (11:04 -0400)]
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

13 years agox11: Don't set ParentRelative if the parent's visual is different
Benjamin Otte [Fri, 15 Oct 2010 14:58:29 +0000 (16:58 +0200)]
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

13 years agoImprove GtkBox and GtkTable docs a bit
Matthias Clasen [Fri, 15 Oct 2010 14:58:35 +0000 (10:58 -0400)]
Improve GtkBox and GtkTable docs a bit

This adds some details gleaned from the tutorial, before its
impending demise.

13 years agolink-button: Add ::activate-link signal
Emmanuele Bassi [Thu, 14 Oct 2010 14:22:19 +0000 (15:22 +0100)]
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

13 years agoRemoved screwy GtkScrolledWindow logic
Tristan Van Berkom [Fri, 15 Oct 2010 05:14:14 +0000 (14:14 +0900)]
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).

13 years agoImplement get_preferred_width/height in GtkEventBox
Matthias Clasen [Fri, 15 Oct 2010 03:03:39 +0000 (23:03 -0400)]
Implement get_preferred_width/height in GtkEventBox

And drop size_request.

13 years agoUse gtk_container_handle_border_width() in GtkEventBox
Matthias Clasen [Fri, 15 Oct 2010 02:34:39 +0000 (22:34 -0400)]
Use gtk_container_handle_border_width() in GtkEventBox

13 years agoInclusion cleanups in sources
Matthias Clasen [Fri, 15 Oct 2010 02:05:51 +0000 (22:05 -0400)]
Inclusion cleanups in sources

Try to do inclusions in the same sequence, more or less.

13 years agoInclusion cleanups in headers
Matthias Clasen [Tue, 5 Oct 2010 20:11:49 +0000 (16:11 -0400)]
Inclusion cleanups in headers

13 years agoMake gdk.h an include-only header
Matthias Clasen [Sat, 25 Sep 2010 03:46:32 +0000 (23:46 -0400)]
Make gdk.h an include-only header

Move declarations to other headers, and introduce some new ones:
gdkmain.h, gdkrectangle.h, gdkthreads.h.

13 years agoDrop dead gxid_proto.h header
Matthias Clasen [Tue, 5 Oct 2010 20:44:55 +0000 (16:44 -0400)]
Drop dead gxid_proto.h header

This header is no longer used.

13 years agoSome GDK documentation fixes
Matthias Clasen [Fri, 15 Oct 2010 01:40:33 +0000 (21:40 -0400)]
Some GDK documentation fixes

13 years agoEnable the build of MS Windows engine again
Fridrich Štrba [Thu, 14 Oct 2010 18:56:17 +0000 (20:56 +0200)]
Enable the build of MS Windows engine again

The MS Windows engine compiles anew, so enable it so that one can fix remaining issues

13 years agoPart of bgo#613728 - [GtkTreeView] Focus the list, not the headers, when Tab-focusing
Federico Mena Quintero [Thu, 14 Oct 2010 18:17:46 +0000 (13:17 -0500)]
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>
13 years agoInitialize device_cursor hash table before creating impl window
Kristian Rietveld [Thu, 14 Oct 2010 16:01:51 +0000 (18:01 +0200)]
Initialize device_cursor hash table before creating impl window

13 years agoDo not call validate_visible_area() from the draw method
Kristian Rietveld [Thu, 14 Oct 2010 15:26:17 +0000 (17:26 +0200)]
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.

13 years agoAdd test for bug 163214
Kristian Rietveld [Thu, 14 Oct 2010 13:07:06 +0000 (15:07 +0200)]
Add test for bug 163214

13 years agoAdd test for bug 111500
Kristian Rietveld [Thu, 14 Oct 2010 12:11:30 +0000 (14:11 +0200)]
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.

13 years agoAdd unit test for bug 93584
Kristian Rietveld [Thu, 14 Oct 2010 09:24:46 +0000 (11:24 +0200)]
Add unit test for bug 93584

13 years agoAlso test scrolling to a new row in a mixed height model
Kristian Rietveld [Thu, 14 Oct 2010 08:57:20 +0000 (10:57 +0200)]
Also test scrolling to a new row in a mixed height model

13 years agoTrying to fix MS Windows engine
Martin Schlemmer [Thu, 14 Oct 2010 12:15:06 +0000 (14:15 +0200)]
Trying to fix MS Windows engine

13 years agoInitialize variables
Matthias Clasen [Thu, 14 Oct 2010 12:12:11 +0000 (08:12 -0400)]
Initialize variables

valgrind was complaining about uninitialized values here, and
sure enough, gdkdevice-xi.c doesn't set device position.

13 years agobuild: Require cairo-gobject for GDK
Benjamin Otte [Thu, 14 Oct 2010 11:53:23 +0000 (13:53 +0200)]
build: Require cairo-gobject for GDK

With the new signal added, GDK now also requires cairo-gobject.

13 years agogdk: add slots for all GdkWindowObject signals
Michael Natterer [Thu, 14 Oct 2010 11:43:08 +0000 (13:43 +0200)]
gdk: add slots for all GdkWindowObject signals

Also add padding for future extension.

13 years agoBug 631599 - Allow to use arbitrary surfaces for offscreen windows
Michael Natterer [Thu, 14 Oct 2010 11:25:23 +0000 (13:25 +0200)]
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

13 years agogtk: add cast to fix warning in my last commit
Michael Natterer [Thu, 14 Oct 2010 09:32:44 +0000 (11:32 +0200)]
gtk: add cast to fix warning in my last commit

13 years agoImplement style_set() for GtkWindow to resize window grips when the style changes.
Cody Russell [Thu, 14 Oct 2010 04:04:11 +0000 (23:04 -0500)]
Implement style_set() for GtkWindow to resize window grips when the style changes.

13 years agoDeprecate GtkComboBoxEntry in favor of added properties to GtkComboBox
Tristan Van Berkom [Thu, 14 Oct 2010 01:52:27 +0000 (21:52 -0400)]
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.

13 years agoAdd new API to docs and symbol list
Matthias Clasen [Wed, 13 Oct 2010 15:24:56 +0000 (11:24 -0400)]
Add new API to docs and symbol list

13 years agoSupport GtkWidget expand properties in GtkNotebook
Matthias Clasen [Mon, 11 Oct 2010 19:23:03 +0000 (15:23 -0400)]
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.

13 years agoSupport GtkWidget expand properties in GtkTable
Matthias Clasen [Mon, 11 Oct 2010 17:56:52 +0000 (13:56 -0400)]
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

13 years agoAdd a GtkTable testcase
Matthias Clasen [Mon, 11 Oct 2010 17:26:11 +0000 (13:26 -0400)]
Add a GtkTable testcase

13 years agoSupport GtkWidget expand properties in GtkBox
Havoc Pennington [Mon, 6 Sep 2010 16:30:40 +0000 (12:30 -0400)]
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

13 years agoadd tests/testexpand.c used to test the expand props on GtkWidget
Havoc Pennington [Mon, 6 Sep 2010 16:31:54 +0000 (12:31 -0400)]
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

13 years agoAdd horizontal and vertical expand flags, compute_expand() to GtkWidget
Havoc Pennington [Mon, 6 Sep 2010 16:26:32 +0000 (12:26 -0400)]
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

13 years agoSome more resize grip cleanups
Matthias Clasen [Wed, 13 Oct 2010 14:39:09 +0000 (10:39 -0400)]
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.

13 years agoUnify handling of GtkWindow::resizable property
Matthias Clasen [Mon, 11 Oct 2010 21:23:01 +0000 (17:23 -0400)]
Unify handling of GtkWindow::resizable property

13 years agoRemove GtkWrapBox from the docs, too
Matthias Clasen [Wed, 13 Oct 2010 14:21:04 +0000 (10:21 -0400)]
Remove GtkWrapBox from the docs, too

13 years agoMake GtkRecentManager use standard icon names for themed icons
Matthias Clasen [Wed, 13 Oct 2010 14:18:03 +0000 (10:18 -0400)]
Make GtkRecentManager use standard icon names for themed icons

13 years agoSome resize grip cleanups
Matthias Clasen [Wed, 13 Oct 2010 13:51:54 +0000 (09:51 -0400)]
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.

13 years agoRemoved all traces of GtkWrapBox from GTK+.
Tristan Van Berkom [Wed, 13 Oct 2010 13:26:08 +0000 (22:26 +0900)]
Removed all traces of GtkWrapBox from GTK+.

13 years agoDon't start a drag if we are not resizable
Matthias Clasen [Wed, 13 Oct 2010 12:28:21 +0000 (08:28 -0400)]
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.

13 years agoUse GSettings for the filechooser settings
Christian Persch [Tue, 28 Sep 2010 20:56:02 +0000 (22:56 +0200)]
Use GSettings for the filechooser settings

Bug #630850.

13 years agoUpdated Spanish translation
Jorge González [Wed, 13 Oct 2010 12:26:30 +0000 (14:26 +0200)]
Updated Spanish translation

13 years agoUpdated Spanish translation
Jorge González [Tue, 12 Oct 2010 23:25:28 +0000 (01:25 +0200)]
Updated Spanish translation

13 years agoUpdated Spanish translation
Jorge González [Tue, 12 Oct 2010 19:56:42 +0000 (21:56 +0200)]
Updated Spanish translation

13 years agoBug 563002 - Doesn't call 'update-preview' on set_filename
Michael Natterer [Tue, 12 Oct 2010 19:20:16 +0000 (21:20 +0200)]
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 795c8070db6c97ace040bfd220794bae3e2721c2)

13 years agoUpdated Slovenian translation
Matej Urbančič [Tue, 12 Oct 2010 18:09:27 +0000 (20:09 +0200)]
Updated Slovenian translation

13 years agoDon't check resize-grip-visible in default values unit test
Kristian Rietveld [Tue, 12 Oct 2010 17:08:34 +0000 (19:08 +0200)]
Don't check resize-grip-visible in default values unit test

The value for this property is determined at runtime.

13 years agoDisable resize grip on spin button test
Kristian Rietveld [Tue, 12 Oct 2010 16:53:44 +0000 (18:53 +0200)]
Disable resize grip on spin button test

Otherwise, the resize grip obscures the decrement button causing the
test to fail.

13 years agoFix scrolled window policy so the size allocation does not "flap"
Kristian Rietveld [Tue, 12 Oct 2010 16:25:22 +0000 (18:25 +0200)]
Fix scrolled window policy so the size allocation does not "flap"

13 years agoHandle off-by-one errors due to rounding
Kristian Rietveld [Tue, 12 Oct 2010 15:39:26 +0000 (17:39 +0200)]
Handle off-by-one errors due to rounding

13 years agoUse double iso. float since that is what GtkAdjustment uses
Kristian Rietveld [Tue, 12 Oct 2010 15:25:21 +0000 (17:25 +0200)]
Use double iso. float since that is what GtkAdjustment uses