gnome-commander r1829 - in trunk: . src
- From: epiotr svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-commander r1829 - in trunk: . src
- Date: Thu, 5 Jun 2008 20:28:10 +0000 (UTC)
Author: epiotr
Date: Thu Jun 5 20:28:10 2008
New Revision: 1829
URL: http://svn.gnome.org/viewvc/gnome-commander?rev=1829&view=rev
Log:
Yet another fix for full file path handling while copying/moving to the mounted devices
Modified:
trunk/ChangeLog
trunk/src/gnome-cmd-file-selector.cc
trunk/src/gnome-cmd-file-selector.h
trunk/src/gnome-cmd-prepare-xfer-dialog.cc
Modified: trunk/src/gnome-cmd-file-selector.cc
==============================================================================
--- trunk/src/gnome-cmd-file-selector.cc (original)
+++ trunk/src/gnome-cmd-file-selector.cc Thu Jun 5 20:28:10 2008
@@ -1831,6 +1831,11 @@
}
+gboolean gnome_cmd_file_selector_is_local (FileSelectorID fsID)
+{
+ return gnome_cmd_file_selector_is_local (gnome_cmd_main_win_get_fs (main_win, fsID));
+}
+
void gnome_cmd_file_selector_update_style (GnomeCmdFileSelector *fs)
{
g_return_if_fail (GNOME_CMD_IS_FILE_SELECTOR (fs));
Modified: trunk/src/gnome-cmd-file-selector.h
==============================================================================
--- trunk/src/gnome-cmd-file-selector.h (original)
+++ trunk/src/gnome-cmd-file-selector.h Thu Jun 5 20:28:10 2008
@@ -111,6 +111,8 @@
return gnome_cmd_con_is_local (gnome_cmd_file_selector_get_connection (fs));
}
+gboolean gnome_cmd_file_selector_is_local (FileSelectorID fsID);
+
void gnome_cmd_file_selector_update_style (GnomeCmdFileSelector *fs);
void gnome_cmd_file_selector_show_mkdir_dialog (GnomeCmdFileSelector *fs);
Modified: trunk/src/gnome-cmd-prepare-xfer-dialog.cc
==============================================================================
--- trunk/src/gnome-cmd-prepare-xfer-dialog.cc (original)
+++ trunk/src/gnome-cmd-prepare-xfer-dialog.cc Thu Jun 5 20:28:10 2008
@@ -64,7 +64,7 @@
if (user_path[0] == '/')
{
- if (gnome_cmd_file_is_local (GNOME_CMD_FILE (dialog->default_dest_dir))) // hack to avoiding 'root' dir for mounted devices
+ if (gnome_cmd_file_selector_is_local (INACTIVE)) // hack to avoiding 'root' dir for mounted devices
{
GnomeCmdCon *dev;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]