[chronojump] connect chronopic on start better on linux
- From: Xavier de Blas <xaviblas src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [chronojump] connect chronopic on start better on linux
- Date: Fri, 20 Nov 2009 11:15:29 +0000 (UTC)
commit 5f35077dde641447f546206153ea02d48a91c930
Author: Xavier de Blas <xaviblas gmail com>
Date: Wed Nov 18 16:53:10 2009 +0100
connect chronopic on start better on linux
show it if the entryChronopic is not default and the file exist
.../r-sqlite/howto_r-sqlite_scripts.txt | 2 ++
src/gui/chronojump.cs | 5 +++--
2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/chronojump_server/r-sqlite/howto_r-sqlite_scripts.txt b/chronojump_server/r-sqlite/howto_r-sqlite_scripts.txt
index d2336da..85219bb 100644
--- a/chronojump_server/r-sqlite/howto_r-sqlite_scripts.txt
+++ b/chronojump_server/r-sqlite/howto_r-sqlite_scripts.txt
@@ -18,6 +18,8 @@ in order to compile, on server, needed to update R to 2.7.1-lenny, install ttf-f
with the ttf-freefont, done links of ttf fonts to
/usr/local/lib/R/site-library/GDD/fonts
+a corall està a:
+/home/xavier/R/i486-pc-linux-gnu-library/2.9/GDD/fonts
and done in ls /usr/local/lib/R/site-library/GDD/fonts/basefont.mapping
#--- add your section here if you have some nice TTFs ---
diff --git a/src/gui/chronojump.cs b/src/gui/chronojump.cs
index 835c5a7..04f82ba 100644
--- a/src/gui/chronojump.cs
+++ b/src/gui/chronojump.cs
@@ -527,8 +527,9 @@ public class ChronoJumpWindow
putNonStandardIcons();
- if(chronopicPort != Constants.ChronopicDefaultPortWindows &&
- chronopicPort != Constants.ChronopicDefaultPortLinux) {
+ if(chronopicPort != Constants.ChronopicDefaultPortWindows &&
+ (chronopicPort != Constants.ChronopicDefaultPortLinux && File.Exists(chronopicPort))
+ ) {
ConfirmWindow confirmWin = ConfirmWindow.Show(Catalog.GetString("Do you want to connect to Chronopic now?"), "", "");
confirmWin.Button_accept.Clicked += new EventHandler(chronopicAtStart);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]