| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
The argument is ignored by anything but X11.
It's treated like suggested_action == MOVE.
So do that in gtk_drag_finish(), too.
|
|
|
|
|
| |
I had overlooked ui files. We should really
validate those during build.
|
|
|
|
|
|
| |
It is about all window buttons, so rename it to ::show-title-buttons.
https://bugzilla.gnome.org/show_bug.cgi?id=779862
|
|
|
|
| |
This will free up primary button press for drags.
|
|
|
|
|
| |
This demo needs stopped spinners to be visible,
so the user can interact with them.
|
| |
|
|
|
|
| |
Still no dnd in the drag-and-drop demo...
|
|
|
|
| |
Not sure this is quite right yet.
|
|
|
|
| |
Nothing to see yet.
|
|
|
|
|
|
| |
This is in preparation of using input streams to show that these
coordinates aren't needed most of the time and can otherwise be saved
during GtkWidget::drag-drop.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Instead of using GtkClipboard and handling everything ourselves, we now
put GtkTextBuffer into the GdkClipboard and register (de)serializers for
text/plain.
|
| |
|
|
|
|
|
| |
Just rename the function, so the previous one can be used for the
new clipboard.
|
|
|
|
|
|
|
|
|
|
| |
Change the name of the property from stock-size to icon-size,
and make it an enum property instead of uint. This makes it
impossible to specify invalid numeric values in ui files, and
at the same time makes it possible to refer to the existing
values by their nick.
Fix up the callers.
|
|
|
|
|
| |
Make the icon grid on page 2 work with our new
approach to icon sizes.
|
|
|
|
|
|
|
| |
Every added widget having a separate random widget type makes it useless
to use the widgetbowl demo for any sort of performance comparison.
Instead. use only one widget type for all the moving children but make
that changable.
|
|
|
|
|
|
| |
This gets rid of more GdkPixbuf in the API.
Update all callers.
|
|
|
|
|
|
|
|
| |
This affects a few apis, such as gtk_text_iter_get_pixbuf,
gtk_text_buffer_insert_pixbuf and GtkTextBuffer::insert-pixbuf,
which have all been replaced by texture equivalents.
Update all callers.
|
|
|
|
| |
We can just use gtk_drag_source_set_icon_name.
|
| |
|
|
|
|
| |
It's now called GdkContentsFormat
|
|
|
|
|
|
|
| |
warning: We don't do any same-app checks anymore so you currently can
copy local data into external apps.
This will be fixed later.
|
|
|
|
| |
And if there was a need, GDK should have done it.
|
|
|
|
|
|
|
|
|
| |
Instead of allowing people to pass a uint user-data, insist on them
comparing mime types.
The user data was a uint instead of a pointer anyway, so uniqueness
could not be guaranteed and it caused more issues than it was worth.
And that's ignoring the fact that it basically wasn't used.
|
|
|
|
|
| |
Add a new, private gtk_image_get_image_size to replace it, and
update the remaining callers in a suitable way.
|
|
|
|
|
| |
The new values are the ones we intend to keep. The old ones had
duplicated meanings and nobody knew which one to take.
|
|
|
|
|
|
|
|
| |
Instead, add a function gtk_image_set_icon_size() for the cases where
overriding the icon size is necessary.
Treat icon sizes the same way as pixel sizes, too. So gtk_image_clear()
no longer unsets the icon size.
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of returning the icon size with them, make
gtk_image_get_icon_name() and gtk_image_get_gicon() only return the icon
itself.
As a benefit, we can turn them into regular getters that return values
instead of requiring out parameters.
Instead, provide gtk_image_get_icon_size() to query the icon size.
|
| |
|
|
|
|
|
| |
This gets rid of GtkTargetEntry in the API and consistently uses
GtkTargetList.
|
|
|
|
|
| |
Some code was using GtkTargetList, some used GtkTargetEntry and some
GtkTargetPair.
|
|
|
|
| |
Explain what why we show each cursor 4 times.
|
| |
|
|
|
|
| |
Use get_width()/get_height() instead.
|
|
|
|
|
|
| |
It's all glade-ified, hurray!
It also now properly tests image cursors, named cursors and fallbacks.
I'm not gonna tell how many bugs I found though.
|
|
|
|
|
|
| |
A sideeffect is that we don't set the correct parent window on child
widgets anymore, but that is hopefully going to be fixed once we get rid
of child windows completely.
|
|
|
|
|
|
|
| |
Change constructors to reflect that.
While doing so, also add a fallback argument to the cursor constructors,
so it is now possible to create cursors with fallback.
|
| |
|
|
|
|
|
|
|
|
| |
This patch moves the "Copy to Clipboard" button into the same container
as the description label, to centre the button regardless of the number
of icons shown in the grid.
https://bugzilla.gnome.org/show_bug.cgi?id=789134
|
|
|
|
|
|
|
| |
And have a priv->display instead of a priv->screen.
Includes turning gtk_menu_set_screen() into gtk_menu_set_display(),
because that function just forwards to its window.
|
| |
|
| |
|
|
|
|
|
| |
Those calls have been unneeded for a long time - since we gained the
changed signal on the StyleProvider in fact.
|
|
|
|
|
| |
The commit that added the scalable size to the details dialog
inadvertedly caused all icons to be hidden. No need to do that.
|
|
|
|
|
| |
These are basically animated gifs, and don't fit well in how
modern things animate.
|
|
|
|
|
|
|
|
|
|
| |
This drops the pixbuf property and the pixbuf getters. We keep
gtk_image_new/set_from_pixbuf, but these are small helpers that
immediately convert to a surface, and there is no way to later get
back the pixbuf you passed in.
The from file/resource codepaths are also changed to load a surface
instead of a pixbuf.
|
|
|
|
|
| |
Stop using gtk_drag_set_icon_pixbuf.
This api is going away.
|