| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=87821
|
|
|
|
| |
We can compare the window to the window instead of the widget to the widget.
|
|
|
|
| |
to emphasize that GtkMisc and GtkAdjustment are not encouraged in new code
|
|
|
|
| |
so we can see our own deprecated API and don't get warnings.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
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().
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
GtkGrid is a container similar to GtkTable, without legacy
properties and unnecessary restrictions.
It does height-for-width geometry management.
|
| |
|
| |
|
|
|
|
|
| |
as replacement for the removed get_foo_window() functions, so draw()
callbacks can figure where to paint.
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=617174
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=617174
|
|
|
|
|
|
| |
The default RecentManager is not destroyed at the end of the process.
https://bugzilla.gnome.org/show_bug.cgi?id=602794
|
|
|
|
|
| |
A simple wrapper that makes it possible to create a GAppInfo from a
GtkRecentInfo blob.
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
management.
|
|
|
|
|
| |
Interestingly, this typo has been causing madness since 2 months, but
Mitch complained only today.
|
|
|
|
| |
Go Hackfest!
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=324899
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
We still retain an input-only window here for now, but all
the painting is done to the parent window.
|
|
|
|
| |
It doesn't really have a good reason for having a window.
|
|
|
|
|
| |
When showing a widget that already has need_compute_expand set,
we need to queue the recomputation on the parent.
|
|
|
|
|
| |
We can compare the window to the window instead of the widget to the
widget.
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
- 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()
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=632677
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|