Changeset 666:197093e04bcc in mediastreamer2
- Timestamp:
- Sep 14, 2009 12:40:30 PM (4 years ago)
- Branch:
- default
- File:
-
- 1 edited
-
linphone/gtk-glade/main.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
linphone/gtk-glade/main.c
r662 r666 78 78 static gchar * addr_to_call = NULL; 79 79 static gboolean iconified=FALSE; 80 #ifdef WIN32 81 static gchar *workingdir=NULL; 82 #endif 80 83 81 84 static GOptionEntry linphone_options[]={ … … 94 97 .description=N_("Start only in the system tray, do not show the main interface.") 95 98 }, 96 { /* zsd addition */99 { 97 100 .long_name = "call", 98 101 .short_name = 'c', … … 101 104 .description = N_("address to call right now") 102 105 }, 103 { /* zsd addition */106 { 104 107 .long_name = "auto-answer", 105 108 .short_name = 'a', … … 108 111 .description = N_("if set automatically answer incoming calls") 109 112 }, 113 #ifdef WIN32 114 { /* zsd addition */ 115 .long_name = "workdir", 116 .short_name = '\0', 117 .arg = G_OPTION_ARG_STRING, 118 .arg_data = (gpointer) & workingdir, 119 .description = N_("Specifiy a working directory (should be the base of the installation, eg: c:\\Program Files\\Linphone)") 120 }, 121 #endif 110 122 {0} 111 123 }; … … 1064 1076 } 1065 1077 1066 1067 1078 int main(int argc, char *argv[]){ 1068 1079 #ifdef ENABLE_NLS … … 1078 1089 1079 1090 #ifdef WIN32 1091 if (workingdir!=NULL) 1092 _chdir(workingdir); 1093 1080 1094 /*workaround for windows: sometimes LANG is defined to an integer value, not understood by gtk */ 1081 1095 if ((lang=getenv("LANG"))!=NULL){
Note: See TracChangeset
for help on using the changeset viewer.
