| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| |
| | |
Conflicts:
docs/reference/gtk/gtk-docs.sgml
gtk/gtkfilechooserdefault.c
gtk/org.gtk.Settings.FileChooser.gschema.xml
|
| |
| |
| |
| | |
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
|
| |
| |
| |
| |
| |
| | |
In addition, remove a list of pending_cancellables that was no longer being used.
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
These are generic tests that can test the button in all of its modes,
instead of hand-written tests for each combination.
Some tests fail currently.
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
mean current_folder
If the user didn't explicitly select anything, BUT the file chooser button has
a current_folder set, do the same as what GtkFileChooserDefault would do:
return the current folder as the selection.
This makes the tests in tests/filechooser pass!
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
|
| |
| |
| |
| |
| |
| | |
This is analogous to keeping the selection while the dialog is inactive.
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If no file was originally selected in the GtkFileChooserButton, then its
internal dialog is brought up and cancelled, then we need to restore the
selection back to none. GtkFileChooser, though, doesn't like to
select a NULL file, so call _unselect_all() in that condition.
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
|
| |
| |
| |
| |
| |
| | |
currently fails
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
|
| |
| |
| |
| |
| |
| |
| |
| | |
The button's underlying file chooser dialog should not be used to store the file selection
while the dialog is unmapped. Instead, the file chooser button now stores the
selection itself.
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
|
| |
| |
| |
| | |
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
dialog is running
It used to fetch a possibly multiple selection from the GtkFileChooserDialog, and then
pick just the first item from the selection list. But since GtkFileChooserButton
operates in single-selection mode only, it can simply use gtk_file_chooser_get_file()
instead.
Also, the right way to reset the selection for GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER
is with gtk_file_chooser_select_file(), not with _set_current_folder_file().
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
|
| |
| |
| |
| | |
Let the dialog decide by itself.
|
| |
| |
| |
| | |
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
|
| |
| |
| |
| | |
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
|
| |
| |
| |
| |
| |
| | |
This lets us see exactly what failed, instead of just seeing a boolean error value.
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
|
| |
| |
| |
| |
| |
| |
| |
| | |
This code came from a home-grown testing mechanism, which didn't aggregate tests
into a test suite; it just ran them one by one. Here we move some of that machinery
to GTestDataFunc for more flexibility in running tests.
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
|
| |
| |
| |
| | |
Some are ifdef-ed out with BROKEN_TESTS, but at least the tests will compile for now.
|
| | |
|
| |
| |
| |
| |
| |
| | |
Avoid showing the Recent files entry if the setting is FALSE.
https://bugzilla.gnome.org/show_bug.cgi?id=693709
|
| |
| |
| |
| | |
https://bugzilla.gnome.org/show_bug.cgi?id=693724
|
| |
| |
| |
| |
| |
| |
| | |
Backed by an XSetting, so g-s-d can set it according to the GSettings
value.
https://bugzilla.gnome.org/show_bug.cgi?id=693724
|
| |
| |
| |
| |
| | |
Expose information about outputs in GdkScreen (gdk_screen_get_n_monitors
and gdk_screen_get_monitor_*).
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This adds a way to get the gtk_widget_set_opacity liike behaviour
of retargeting GdkWindows and exposing every child in ::draw, without
actually having an alpha. This is needed if you're doing more complex things
such as cross fading of widgets.
We do this as a hack by using opacity values that round to 255 yet not
really 1.0 in order to avoid having some magical API call for this
mainly internal call.
https://bugzilla.gnome.org/show_bug.cgi?id=687842
|
| |
| |
| |
| |
| |
| |
| | |
Pointer and keyboard events can be received after the surface has been
destroyed, in which case the surface will be NULL.
https://bugzilla.gnome.org/show_bug.cgi?id=693338
|
| |
| |
| |
| |
| |
| |
| |
| | |
Some backends do not have slave devices, which means last_slave may be
NULL. Use the current device as the source device if last_slave is NULL
when synthesizing a crossing event.
https://bugzilla.gnome.org/show_bug.cgi?id=692411
|
| |
| |
| |
| |
| |
| |
| | |
This prevents the tooltip surfaces from taking the focus away from the
parent surface.
https://bugzilla.gnome.org/show_bug.cgi?id=693313
|
| |
| |
| |
| |
| |
| |
| | |
Set the transient parent window on tooltips so that they can be
positioned correctly when using the Wayland backend.
https://bugzilla.gnome.org/show_bug.cgi?id=693313
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Sink the GtkEntry assigned to the private structure of GtkCellRendererText
before signals containing it as an argument are sent out. This keeps
language bindings from sinking the reference and then destroying the entry
when the signal closure is finished.
https://bugzilla.gnome.org/show_bug.cgi?id=693400
|
| |
| |
| |
| |
| | |
gtk-demo isn't localized at this point.
https://bugzilla.gnome.org/show_bug.cgi?id=681578
|
| |
| |
| |
| |
| |
| | |
This cleans up the internals but doesn't really change the behaviour.
https://bugzilla.gnome.org/show_bug.cgi?id=687842
|
| |
| |
| |
| | |
Remove two unused variables.
|
| |
| |
| |
| |
| |
| | |
GtkBuilder files are commonly named .ui - mention that in the
docs.
https://bugzilla.gnome.org/show_bug.cgi?id=590325
|
| |
| |
| |
| |
| |
| | |
The accessibles for icon view items were not properly freed
in all cases.
https://bugzilla.gnome.org/show_bug.cgi?id=683311
|
| |
| |
| |
| |
| |
| | |
The example in the GtkWidget docs was referring to a nonexisting
AtkObject::name property. The correct property name is
accessible-name.
|
| |
| |
| |
| | |
This is wrongly documented in the GtkWidget docs.
|
| | |
|
| |
| |
| |
| | |
This reverts commit 434f07944bbd5997a71ced13d8b5e402ecaf4c8f.
|
| | |
|
| |
| |
| |
| |
| |
| | |
This broke 'make dist' on linux.
This reverts commit ecf2a9471b4dd440709ffa4ae7c3efb5741dfaa5.
|
| |
| |
| |
| | |
This reverts commit 2204f120839fbcebfab665fea0b70ed4176d7466.
|
| |
| |
| |
| | |
https://bugzilla.gnome.org/show_bug.cgi?id=687842
|
| |
| |
| |
| | |
https://bugzilla.gnome.org/show_bug.cgi?id=687842
|
| |
| |
| |
| |
| |
| | |
This will be nice as this is will be the default for opacity.
https://bugzilla.gnome.org/show_bug.cgi?id=687842
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When calling gtk_widget_draw() on the entry gtk_cairo_should_draw_window()
will return TRUE for all windows. This is used when rendering a widget to
somewhere other than the screen, and its now used for transparent widgets.
This caused the texthandle to always draw itself and terminate the draw
handler for the entry.
Instead we now only draw the markers when really visible, plus we return
FALSE to avoid stopping the entry drawing.
https://bugzilla.gnome.org/show_bug.cgi?id=687842
|
| |
| |
| |
| | |
https://bugzilla.gnome.org/show_bug.cgi?id=687842
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This adds gtk_widget_get/set_opacity, as well as a GtkWidget.opacity
property. Additionally it deprectates gtk_window_get/set_opacity and
removes the GtkWindow.opacity property (in preference for the new
identical inherited property from GtkWidget, which should be ABI/API
compat).
The implementation is using the new gdk_window_set_opacity child
window support for windowed widgets, and cairo_push/pop_group()
bracketing in gtk_widget_draw() for non-window widgets.
https://bugzilla.gnome.org/show_bug.cgi?id=687842
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This replaces the previously hardcoded calls to gdk_window_set_user_data,
and also lets us track which windows are a part of a widget. Old code
should continue working as is, but new features that require the
windows may not work perfectly.
We need this for the transparent widget support to work, as we need
to specially mark the windows of child widgets.
https://bugzilla.gnome.org/show_bug.cgi?id=687842
|