| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
If we set c_marshaller manually, then g_signal_newv() will not setup a
va_marshaller for us. However, if we provide c_marshaller as NULL, it will
setup both the c_marshaller (to g_cclosure_marshal_VOID__VOID) and
va_marshaller (to g_cclosure_marshal_VOID__VOIDv) for us.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
GDK has a lock to mark critical sections inside the backends.
Additionally, code that would re-enter into the GTK main loop was
supposed to hold the lock.
Back in the Good Old Days™ this was guaranteed to kind of work only on
the X11 backend, and would cause a neat explosion on any other GDK
backend.
During GTK+ 3.x we deprecated the API to enter and leave the critical
sections, and now we can remove all the internal uses of the lock, since
external API that uses GTK+ 4.x won't be able to hold the GDK lock.
https://bugzilla.gnome.org/show_bug.cgi?id=793124
|
|
|
|
| |
These are no longer used.
|
|
|
|
|
| |
We want to move away from surfaces, and instead pass
GIcons and GdkTextures around.
|
|
|
|
|
|
|
|
|
| |
Use G_FILE_ATTRIBUTE_FILESYSTEM_REMOTE to detect remote filesystems
instead of hardcoded list of filesystem types.
Bump required GLib version accordingly.
https://bugzilla.gnome.org/show_bug.cgi?id=767965
|
|
|
|
|
| |
When introducing handlers for state_flags_changed in the node
transitions, chaining up was forgotten.
|
|
|
|
|
| |
No need to look at the settings when the CSS has a property for the icon
theme.
|
|
|
|
|
|
| |
The filesystem:type attribute could be NULL, then g_strv_contains
will crash if that happens.
Just don't call it if the attribute is not set.
|
|
|
|
| |
This avoids pointless allocations
|
|
|
|
|
|
| |
Add afp and google-drive to the list of remote filesystems.
https://bugzilla.gnome.org/show_bug.cgi?id=754746
|
|
|
|
|
| |
Using prerendered surfaces is not working well when it comes
to state changes, so make the GIcon available.
|
|
|
|
|
|
| |
Use g_slist_free_full more consistently. This commit just converts
the obvious cases where g_slist_forall is directly followed by
g_slist_free.
|
|
|
|
|
|
|
| |
Add a helper function that says whether a location should be
considered remote. To determine this, we look at the filesystem
type reported by gvfs, and say 'remote' for sftp, webdav, ftp,
nfs and cifs.
|
| |
|
|
|
|
| |
Mostly missing declarations and missing statics.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Failing to load a thumbnail returns a NULL pixbuf. Since the hidpi
patches this wasn't checked when creating the surface. Result: assertion
failure.
https://bugzilla.gnome.org/show_bug.cgi?id=719977
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=702996
|
| |
|
|\
| |
| |
| |
| |
| | |
This lands the GtkPlacesSidebar widget. It is used in
GtkFileChooserDefault, and it can also be used by third-party
applications.
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
Conflicts:
gtk/gtkfilesystem.c
|
| | |
| | |
| | |
| | |
| | |
| | | |
Negatives in names of boolean functions are confusing.
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
|
| |/
|/|
| |
| |
| |
| |
| | |
Since FUSE locations can be handled safely by applications show these mounted locations regardless of whether gtk_file_chooser_set_local_only()
is set to TRUE
https://bugzilla.gnome.org/show_bug.cgi?id=586367
|
|/ |
|
|
|
|
|
|
|
| |
Will read from old location if new location isn't found but will
write it out to the new location.
https://bugzilla.gnome.org/show_bug.cgi?id=646631
|
| |
|
|
|
|
|
| |
It's very specific to the file chooser entry, so it's better kept there.
It's also not used anywhere else in the code.
|
|
|
|
| |
It's not used anymore. And new code should of course use gio.
|
|
|
|
| |
We weren't checking for the lines in that file being valid UTF-8 strings.
|
|
|
|
|
| |
This lets us do proper completion in GtkFileChooserEntry even when no base folder
has been set. Completion for relative paths won't work, as usual, as expected.
|
|
|
|
|
|
| |
Async callbacks are delivered in idles, so we need to make sure
we get the gdk lock before calling any gdk/gtk stuff. This was
missing in a few places.
|
| |
|
| |
|
|
|
|
| |
Use a private pointer instead
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=623845
|
|
|
|
| |
This was reported in bug 600992.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix completion so it doesn't pop up for every character in a URI
hostname:
* gtk/gtkfilechooser.h (GtkFileChooserError): Add a
GTK_FILE_CHOOSER_ERROR_INCOMPLETE_HOSTNAME.
* gtk/gtkfilesystem.c (_gtk_file_system_parse): Return an
"incomplete hostname" error if the user has not typed a full
hostname yet in an URI.
* gtk/gtkfilechooserentry.c (append_common_prefix): If we get an
incomplete hostname, just don't pop up an error, since that is a
transient state and the user doesn't need to be notified about it.
(refresh_current_folder_and_file_part): Don't revert to showing
the base folder if we have an incomplete hostname.
(reload_current_folder): Handle the passed folder being NULL, even
if we must force a reload. Also, reload the folder if we didn't
have a cancellable for it (i.e. we hadn't started to load it
before).
Signed-off-by: Federico Mena Quintero <federico@novell.com>
svn path=/trunk/; revision=22157
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2009-01-15 Federico Mena Quintero <federico@novell.com>
http://bugzilla.gnome.org/show_bug.cgi?id=545980 -
GtkFileChooserEntry should handle URIs
* gtk/gtkfilesystem.c (_gtk_file_system_parse): Detect URI schemes
and parse the full URI.
(has_uri_scheme): New function, stolen from the old
gtkfilesystemgnomevfs.c.
Signed-off-by: Federico Mena Quintero <federico@novell.com>
svn path=/trunk/; revision=22154
|
|
|
|
|
|
|
|
|
|
|
| |
2008-12-15 Tomas Bzatek <tbzatek@redhat.com>
* gtk/gtkfilechooserdefault.c: (list_row_activated):
* gtk/gtkfilesystem.c: (_gtk_file_info_consider_as_directory):
Mask G_FILE_TYPE_SHORTCUT as a directory (#561494)
svn path=/trunk/; revision=21906
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gtk/gtkfilesystem.[hc] (_gtk_file_info_consider_as_directory):
Privately export this method. It classifies directories and mountables
the same.
* gtk/gtkfilesystem.c (enclosing_volume_mount_cb): Silently drop
G_IO_ERROR_ALREADY_MOUNTED error for gvfs backends without visible
mounts.
* gtk/gtkfilesystemmodel.c:
* gtk/gtkfilechooserbutton.c:
* gtk/gtkfilechooserentry.c:
* gtk/gtkfilechooserdefault.c: Use the new function instead of
direct checks for G_FILE_TYPE_DIRECTORY throughout.
svn path=/trunk/; revision=21898
|
|
|
|
| |
svn path=/trunk/; revision=21838
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-10-23 Alexander Larsson <alexl@redhat.com>
Bug 528320 - Incorrect icons displayed for files with custom mimetype icons
* gtk/gtkfilesystem.c:
(_gtk_file_info_render_icon):
Fall back on default file icon if there was no icon or it
was not found in the theme. This goes with the corresponding
change in glib to not add the fallback icon, but is useful
in other cases too.
svn path=/trunk/; revision=21702
|
|
|
|
|
|
|
| |
Also fixes some "format not a string literal and no format arguments"
warnings.
svn path=/trunk/; revision=21611
|
|
|
|
| |
svn path=/trunk/; revision=21571
|
|
|
|
|
|
|
|
|
|
| |
2008-09-22 Frederic Crozat <fcrozat@mandriva.com>
* gtk/gtkfilesystem.c: use the correct gi18n header.
Fixes bug #553000.
svn path=/trunk/; revision=21486
|
|
|
|
|
|
|
|
|
| |
* gtk/gtkfilesystem.c (_gtk_file_system_set_bookmark_label): Don't
free a GFile. Reported by Sebastien Bacher
svn path=/trunk/; revision=20843
|
|
|
|
|
|
|
|
|
|
| |
2008-07-07 Michael Natterer <mitch@imendio.com>
* gtk/gtkfilesystem.c: include the two needed headers instead of
<gtk/gtk.h>.
svn path=/trunk/; revision=20804
|