Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugal-tweak.git;a=commitdiff;h=fca7c72a61bf7c9095eef5d5387af396a2e7b1a4

commit fca7c72a61bf7c9095eef5d5387af396a2e7b1a4
Author: bouleetbil <bouleet...@frogdev.info>
Date:   Mon Jan 3 23:27:49 2011 +0100

*added some var

diff --git a/frugal-tweak-vala/src/MainClient.vala 
b/frugal-tweak-vala/src/MainClient.vala
index 555e288..9a86af8 100644
--- a/frugal-tweak-vala/src/MainClient.vala
+++ b/frugal-tweak-vala/src/MainClient.vala
@@ -49,6 +49,8 @@ void* func()
{
informUpdate();
}
+       roadmap.GetDateRelease();
+
return null;
}

@@ -93,6 +95,10 @@ int main (string[] args) {
//trayicon.activate += icon_clicked;
//create_menu()

+       //Fixes home dir
+       Config.HOMEDIR=File.new_for_path (Environment.get_home_dir ());
+       Config.CACHEDIR=Config.HOMEDIR+"/.cache/frugalware-tweak2";
+
var window = new Window ();
window.title = "Frugalware Tweak";
window.set_default_size (400, 300);
diff --git a/frugal-tweak-vala/vapi/config.vapi 
b/frugal-tweak-vala/vapi/config.vapi
index 8e8127a..7cf8cac 100644
--- a/frugal-tweak-vala/vapi/config.vapi
+++ b/frugal-tweak-vala/vapi/config.vapi
@@ -27,5 +27,7 @@ namespace Config {
public const string PACKAGE_NAME;
public const string PACKAGE_VERSION;
public const string VERSION;
+       public const string HOMEDIR;
+       public const string CACHEDIR;
}
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to