summaryrefslogtreecommitdiff
path: root/UGnome.pas
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@users.sourceforge.net>2009-11-28 16:00:34 +0100
committerTomas Bzatek <tbzatek@users.sourceforge.net>2009-11-28 16:00:34 +0100
commit6132c2ef3066e813acb1237afeca266f32c53a21 (patch)
treeb880a4eeb74e07f0e94c9767f9aba0873194d903 /UGnome.pas
parent9e4a6521a9ea3310437962d6708cf814fafc70d1 (diff)
downloadtuxcmd-6132c2ef3066e813acb1237afeca266f32c53a21.tar.xz
Engine and VFS API cleanupv0.6.72
* also split threaded operations into UCoreWorkers.pas * symlinks should be properly resolved now, even in archives * no more relative/absolute path confusion * moved FillDirFiles outside engines, made it more universal
Diffstat (limited to 'UGnome.pas')
-rw-r--r--UGnome.pas10
1 files changed, 5 insertions, 5 deletions
diff --git a/UGnome.pas b/UGnome.pas
index 54386cf..c0f93b1 100644
--- a/UGnome.pas
+++ b/UGnome.pas
@@ -161,9 +161,9 @@ function HandleVFSAskPasswordCallback(DialogParent: PGtkWidget;
flags: TVFSAskPasswordFlags;
username: PPChar;
password: PPChar;
- anonymous: PInteger;
+ anonymous: Pgboolean;
domain: PPChar;
- password_save: PVFSPasswordSave): LongBool;
+ password_save: PVFSPasswordSave): gboolean;
@@ -1351,9 +1351,9 @@ function HandleVFSAskPasswordCallback(DialogParent: PGtkWidget;
flags: TVFSAskPasswordFlags;
username: PPChar;
password: PPChar;
- anonymous: PInteger;
+ anonymous: Pgboolean;
domain: PPChar;
- password_save: PVFSPasswordSave): LongBool;
+ password_save: PVFSPasswordSave): gboolean;
function table_add_entry(table: PGtkWidget; row: integer; const label_text: PChar; const value: PChar; user_data: PVFSAskPasswordCallbackPriv): PGtkEntry;
var entry: PGtkEntry;
@@ -1537,7 +1537,7 @@ begin
if (priv.username_entry <> nil) and (username <> nil) then username^ := g_strdup(gtk_entry_get_text(priv.username_entry));
if (priv.domain_entry <> nil) and (domain <> nil) then domain^ := g_strdup(gtk_entry_get_text(priv.domain_entry));
if (priv.password_entry <> nil) and (password <> nil) then password^ := g_strdup(gtk_entry_get_text(priv.password_entry));
- if (priv.choice_anon <> nil) and (anonymous <> nil) then anonymous^ := Ord(gtk_toggle_button_get_active(PGtkToggleButton(priv.choice_anon)));
+ if (priv.choice_anon <> nil) and (anonymous <> nil) then anonymous^ := gtk_toggle_button_get_active(PGtkToggleButton(priv.choice_anon));
if (password_save <> nil) and (radio_forget <> nil) and (radio_remember <> nil) then begin
if gtk_toggle_button_get_active(PGtkToggleButton(radio_forget)) then password_save^ := VFS_PASSWORD_SAVE_NEVER else
if (radio_session <> nil) and gtk_toggle_button_get_active(PGtkToggleButton(radio_session)) then password_save^ := VFS_PASSWORD_SAVE_FOR_SESSION else