Changeset 662:fffcc453369d in mediastreamer2


Ignore:
Timestamp:
Sep 11, 2009 10:05:07 PM (4 years ago)
Author:
smorlat <smorlat@…>
Branch:
default
Message:

add --iconified option.

git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@650 3f6dc0c8-ddfe-455d-9043-3cd528dc4637

File:
1 edited

Legend:

Unmodified
Added
Removed
  • linphone/gtk-glade/main.c

    r660 r662  
    7777static gboolean auto_answer = 0; 
    7878static gchar * addr_to_call = NULL; 
     79static gboolean iconified=FALSE; 
     80 
    7981static GOptionEntry linphone_options[]={ 
    8082        { 
     
    8486                .arg_data= (gpointer)&verbose, 
    8587                .description=N_("log to stdout some debug information while running.") 
     88        }, 
     89        { 
     90                .long_name="iconified", 
     91                .short_name= '\0', 
     92                .arg=G_OPTION_ARG_NONE, 
     93                .arg_data= (gpointer)&iconified, 
     94                .description=N_("Start only in the system tray, do not show the main interface.") 
    8695        }, 
    8796        {                               /* zsd addition */ 
     
    11301139        linphone_gtk_init_main_window(); 
    11311140        linphone_gtk_init_status_icon(); 
    1132         linphone_gtk_show_main_window(); 
     1141        if (!iconified) 
     1142                linphone_gtk_show_main_window(); 
    11331143        linphone_gtk_check_for_new_version(); 
    11341144 
Note: See TracChangeset for help on using the changeset viewer.