mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-07 16:38:43 +02:00
bits and pieces from gtk-2-12 and gunix*.[hc] to make the file chooser
2008-06-17 Hans Breuer <hans@breuer.org> * gwin32mount.[ch] gwin32volumemonitor.[ch] : bits and pieces from gtk-2-12 and gunix*.[hc] to make the file chooser show drive letter access again on win32, see bug #538127 * giomodule.c : ensure GWin32VolumeMonitor is registered * glocaldireoctorymonitor.c : initial state on win32 is_mounted=TRUE * Makefile.am makefile.msc : updated svn path=/trunk/; revision=7055
This commit is contained in:
@@ -113,7 +113,8 @@ g_local_directory_monitor_constructor (GType type,
|
||||
if (!klass->mount_notify)
|
||||
{
|
||||
#ifdef G_OS_WIN32
|
||||
g_warning ("G_OS_WIN32: no mount emulation");
|
||||
/*claim everything was mounted */
|
||||
local_monitor->was_mounted = TRUE;
|
||||
#else
|
||||
GUnixMountEntry *mount;
|
||||
|
||||
@@ -177,7 +178,8 @@ mounts_changed (GUnixMountMonitor *mount_monitor,
|
||||
/* Emulate unmount detection */
|
||||
#ifdef G_OS_WIN32
|
||||
mount = NULL;
|
||||
g_warning ("G_OS_WIN32: no mount emulation");
|
||||
/*claim everything was mounted */
|
||||
is_mounted = TRUE;
|
||||
#else
|
||||
mount = g_unix_mount_at (local_monitor->dirname, NULL);
|
||||
|
||||
|
Reference in New Issue
Block a user