[gnome-boxes] installer: UnattendedTextFile -> UnattendedScriptFile
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] installer: UnattendedTextFile -> UnattendedScriptFile
- Date: Fri, 21 Dec 2012 16:11:13 +0000 (UTC)
commit d2116322f4a7bbf38616bebbf4f3f9d4dc8d0c5b
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Wed Dec 19 02:41:00 2012 +0200
installer: UnattendedTextFile -> UnattendedScriptFile
Rename to reflect the role of this class better after recent changes.
https://bugzilla.gnome.org/show_bug.cgi?id=690536
src/unattended-installer.vala | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/unattended-installer.vala b/src/unattended-installer.vala
index f711535..a5a7e74 100644
--- a/src/unattended-installer.vala
+++ b/src/unattended-installer.vala
@@ -114,7 +114,7 @@ private class Boxes.UnattendedInstaller: InstallerMedia {
foreach (var s in scripts.get_elements ()) {
var script = s as InstallScript;
var filename = script.get_expected_filename ();
- add_unattended_file (new UnattendedTextFile (this, script, filename));
+ add_unattended_file (new UnattendedScriptFile (this, script, filename));
}
var time = TimeVal ();
@@ -702,7 +702,7 @@ private class Boxes.UnattendedRawFile : GLib.Object, Boxes.UnattendedFile {
}
}
-private class Boxes.UnattendedTextFile : GLib.Object, Boxes.UnattendedFile {
+private class Boxes.UnattendedScriptFile : GLib.Object, Boxes.UnattendedFile {
public string dest_name { get; set; }
public string src_path { get; set; }
@@ -711,13 +711,13 @@ private class Boxes.UnattendedTextFile : GLib.Object, Boxes.UnattendedFile {
private File unattended_tmp;
- public UnattendedTextFile (UnattendedInstaller installer, InstallScript script, string dest_name) {
+ public UnattendedScriptFile (UnattendedInstaller installer, InstallScript script, string dest_name) {
this.installer = installer;
this.script = script;
this.dest_name = dest_name;
}
- ~UnattendedTextFile () {
+ ~UnattendedScriptFile () {
if (unattended_tmp == null)
return;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]