| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Added exception for single line spread table and
updated test case to allow configuration to a single line.
|
|
|
|
|
|
|
|
|
|
| |
Gets the line index in which a child would be positioned
if the table were to be allocated size in the opposing
orientation of the table.
For instance, if the table is oriented vertically,
this function will return the child's column if
the table were to be allocated size width.
|
|
|
|
|
|
|
|
|
|
| |
This has some exceptions:
- We still ignore the height of a widget that spans the entire column
(i.e. large images dont force the whole table to try to be as tall
as the image itself)
- In this new algorithm we fill in to the best height from left to
right which can leave trailing empty columns; in this case we place
only a single widget in each trailing column.
|
|
|
|
|
|
|
|
|
|
| |
GtkSpreadTable positions its children by distributing them as
evenly as possible across a fixed number of rows or columns.
When oriented vertically the GtkSpreadTable will list its
children in order from top to bottom in columns and request
the smallest height as possible regardless of differences in
child sizes.
|
| |
|
| |
|
|
|
|
|
|
| |
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=631475
Signed-off-by: Javier Jardón <jjardon@gnome.org>
|
|
|
|
|
| |
Reported by Milan Bouchet-Valat in bug
https://bugzilla.gnome.org/show_bug.cgi?id=631473
|
|
|
|
| |
They are meant to be overwritten by subclasses after all.
|
| |
|
|
|
|
|
|
| |
This reverts commit 99c82af20a5204940ce2cb0f841be0d6f70a2778 and fixes
up things to compile again. Of course, the snapshotting now uses
gtk_widget_draw() instead.
|
| |
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
| |
Note the special implementation of this method on GdkOffscreenWindow
that makes sure its current surface is not destroyed.
|
| |
|
|
|
|
|
|
| |
Previous patch f0039aa2a4367df95bda1b6cf3d4a735cafb4eb2
is not correct as it try to fix a bug introduced in commit
3a10216dd01c8d10df235b88c8942b2fda15689b
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=631311
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=630900
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Rimas Kudelis <rq@akl.lt>
|
| |
|
|
|
|
|
|
|
| |
The previous code used cairo_clip_extents() and interpreted its
parameters wrong.
https://bugzilla.gnome.org/show_bug.cgi?id=631203
|
| |
|
|
|
|
|
|
| |
gtk_size_request_get_preferred_size()
GtkSizeRequest interface is now merged in GtkWidget
|
|
|
|
|
|
| |
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=617320
Signed-off-by: Javier Jardón <jjardon@gnome.org>
|
| |
|
| |
|
|
|
|
|
|
| |
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=617308
Signed-off-by: Javier Jardón <jjardon@gnome.org>
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Ref the GtkmenuItem class, so we can add emission hooks. And actually
add the emission hooks again that were removed in
7c140feb6b18c6e158b83356370a85864758c4f9.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Don't include config.h in headers, it doesn't work.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
This makes it easier for OS vendors to always invoke autogen.sh
for building, regardless of building from legacy tarballs or
git snapshots.
|
|
|
|
|
| |
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.
|