#20 Wrong url for web site in cssed

0.4.0
closed-accepted
other (11)
5
2005-12-22
2005-12-21
No

The urls have changed, but they have not been propagated in the
source, so here's the patch:

diff -Naur cssed-0.4.0/src/callbacks.c cssed-0.4.0-new/src/
callbacks.c
--- cssed-0.4.0/src/callbacks.c 2005-11-01 12:46:34.000000000
+0100
+++ cssed-0.4.0-new/src/callbacks.c 2005-12-21
14:22:08.000000000 +0100
@@ -631,7 +631,7 @@
gchar* command;
gchar* cssedwebsiteurl;

- cssedwebsiteurl = "http://cssed.sourceforge.net/index.en.php";
+ cssedwebsiteurl = "http://cssed.sourceforge.net/";

command = g_strdup_printf ( "open -a 'Safari' %s",
cssedwebsiteurl);
system(command);
@@ -645,7 +645,7 @@
gchar* command;
gchar* cssedwebsiteurl;

- cssedwebsiteurl = "http://cssed.sourceforge.net/index.en.php";
+ cssedwebsiteurl = "http://cssed.sourceforge.net/";

command = g_strdup_printf ( "launch -a 'Firefox' %s",
cssedwebsiteurl);
system(command);
@@ -660,7 +660,7 @@
gchar* command;
gchar* cssedwebsiteurl;

- cssedwebsiteurl = "http://cssed.sourceforge.net/index.en.php";
+ cssedwebsiteurl = "http://cssed.sourceforge.net/";

command = g_strdup_printf ( "mozilla %s &", cssedwebsiteurl);
system(command);
@@ -674,7 +674,7 @@
gchar* command;
gchar* cssedwebsiteurl;

- cssedwebsiteurl = "http://cssed.sourceforge.net/index.en.php";
+ cssedwebsiteurl = "http://cssed.sourceforge.net/";

command = g_strdup_printf ( "galeon -x %s &", cssedwebsiteurl);
system(command);
@@ -688,7 +688,7 @@
gchar* command;
gchar* cssedwebsiteurl;

- cssedwebsiteurl = "http://cssed.sourceforge.net/index.en.php";
+ cssedwebsiteurl = "http://cssed.sourceforge.net/";

command = g_strdup_printf ( "dillo %s &", cssedwebsiteurl);
system(command);
@@ -702,7 +702,7 @@
gchar* command;
gchar* cssedwebsiteurl;

- cssedwebsiteurl = "http://cssed.sourceforge.net/index.en.php";
+ cssedwebsiteurl = "http://cssed.sourceforge.net/";

command = g_strdup_printf ( "gnome-moz-remote --newwin %
s", cssedwebsiteurl);
system(command);

Discussion

  • Iago Rubio

    Iago Rubio - 2005-12-22

    Logged In: YES
    user_id=910507

    Fixed in cvs. Thanks !

     
  • Iago Rubio

    Iago Rubio - 2005-12-22
    • status: open --> closed-accepted
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks