X G N O K I I
A Linux/Unix GUI for Nokia mobile phones.
+ Copyright (C) 1999 Pavel Janík ml., Hugh Blemings
+ & Ján Derfiòák <ja@mail.upjs.sk>.
Released under the terms of the GNU GPL, see file COPYING for more details.
+ Last modification: Tues 13 June 2000
+ Modified by Chris Kemp
+
*/
#include <stdio.h>
static inline void Help1 (GtkWidget *w, gpointer data)
{
- gchar *indx = g_strdup_printf ("/%s/gnokii/xgnokii/data/index.htm", xgnokiiConfig.locale);
+ gchar *indx = g_strdup_printf ("/help/%s/windows/data/index.html", xgnokiiConfig.locale);
Help (w, indx);
g_free (indx);
}
inline void GUI_ShowData (void)
{
- if (GetModelFeature(FN_DATACALLS)==0)
+ if (!phoneMonitor.supported & PM_DATA)
return;
if (TerminateThread)
{
+#if 0
VM_Terminate ();
+#endif
enabled = false;
TerminateThread = false;
}
static inline void DisableData (GtkWidget *widget,
gpointer data )
{
+#if 0
VM_Terminate ();
+#endif
enabled = false;
UpdateStatus ();
}
{
TerminateThread = false;
+#if 0
VM_Initialise (xgnokiiConfig.model, xgnokiiConfig.port,
- 0, 0, xgnokiiConfig.bindir, false, false,
- xgnokiiConfig.synchronizetime);
+ 0, 0, xgnokiiConfig.bindir, false, false);
+#endif
enabled = true;
UpdateStatus ();
}
GtkWidget *button, *hbox, *vbox;
GUI_DataWindow = gtk_window_new (GTK_WINDOW_TOPLEVEL);
+ gtk_window_set_wmclass (GTK_WINDOW (GUI_DataWindow), "DataWindow", "Xgnokii");
gtk_window_set_title (GTK_WINDOW (GUI_DataWindow), _("Virtual Modem"));
gtk_container_set_border_width (GTK_CONTAINER (GUI_DataWindow), 10);
gtk_signal_connect (GTK_OBJECT (GUI_DataWindow), "delete_event",