[Olsr-cvs] olsrd-current/gui/linux-gtk/src common.h, 1.3, 1.4 interface.c, 1.5, 1.6

Bernd Petrovitsch (spam-protected)
Sun Sep 16 23:20:09 CEST 2007


Update of /cvsroot/olsrd/olsrd-current/gui/linux-gtk/src
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv8566/gui/linux-gtk/src

Modified Files:
	common.h interface.c 
Log Message:
* creating builddata.c containing build time information as date+time,
  host and version
  and using it througout
* activated links in the httpinfo plugin again if we have host links
  other minor HTML cleanups there
* replaced the olsr_host_rt_maxplen() function with a field in
  "struct olsr_cfg" similar to "ipsize"


Index: common.h
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/gui/linux-gtk/src/common.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** common.h	17 Nov 2004 20:01:57 -0000	1.3
--- common.h	16 Sep 2007 21:20:07 -0000	1.4
***************
*** 39,43 ****
  #include "olsr_protocol.h"
  
! #define SOFTWARE_VERSION "olsr.org GUI 0.2.7" 
  #define IPC_INTERVAL 500 //interval for IPC read timeout
  #define MAXPACKS 20
--- 39,43 ----
  #include "olsr_protocol.h"
  
! #define olsrd_version "olsr.org GUI 0.2.7" 
  #define IPC_INTERVAL 500 //interval for IPC read timeout
  #define MAXPACKS 20

Index: interface.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/gui/linux-gtk/src/interface.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** interface.c	29 Mar 2005 19:07:59 -0000	1.5
--- interface.c	16 Sep 2007 21:20:07 -0000	1.6
***************
*** 107,111 ****
    main_window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
    gtk_object_set_data (GTK_OBJECT (main_window), "main_window", main_window);
!   gtk_window_set_title (GTK_WINDOW (main_window), (SOFTWARE_VERSION));
    gtk_window_set_default_size(GTK_WINDOW (main_window), 600, 550);
    gtk_signal_connect(GTK_OBJECT(main_window),
--- 107,111 ----
    main_window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
    gtk_object_set_data (GTK_OBJECT (main_window), "main_window", main_window);
!   gtk_window_set_title (GTK_WINDOW (main_window), (olsrd_version));
    gtk_window_set_default_size(GTK_WINDOW (main_window), 600, 550);
    gtk_signal_connect(GTK_OBJECT(main_window),
***************
*** 1254,1258 ****
    gtk_label_set_text((GtkLabel *)net_label, "Connected"); 
  
!   strcat(title, SOFTWARE_VERSION);
    strcat(title, " - ");
    strcat(title, ip_to_string(&main_addr));
--- 1254,1258 ----
    gtk_label_set_text((GtkLabel *)net_label, "Connected"); 
  
!   strcat(title, olsrd_version);
    strcat(title, " - ");
    strcat(title, ip_to_string(&main_addr));





More information about the Olsr-cvs mailing list