Changeset 712:c1cfbaa00139 in mediastreamer2
- Timestamp:
- Oct 5, 2009 4:50:34 PM (4 years ago)
- Branch:
- default
- Location:
- linphone
- Files:
-
- 2 added
- 2 deleted
- 3 edited
-
Makefile.am (modified) (1 diff)
-
gtk-glade/main.c (modified) (2 diffs)
-
scripts/Makefile.am (modified) (1 diff)
-
scripts/PortFile-devel.tmpl (deleted)
-
scripts/PortFile.tmpl (deleted)
-
scripts/Portfile-devel.tmpl (added)
-
scripts/Portfile.tmpl (added)
Legend:
- Unmodified
- Added
- Removed
-
linphone/Makefile.am
r649 r712 139 139 140 140 141 Port File: $(top_srcdir)/scripts/PortFile.tmpl dist141 Portfile: $(top_srcdir)/scripts/Portfile.tmpl dist 142 142 sed -e 's/\@VERSION\@/$(LINPHONE_VERSION)/g' \ 143 -e 's/\@LINPHONE_MD5\@/$(shell md5sum linphone-$(VERSION).tar.gz | awk {'print $$1'})/' < $< > PortFile 143 -e 's/\@LINPHONE_MD5\@/$(shell md5sum linphone-$(VERSION).tar.gz | awk {'print $$1'})/' < $< > $@ 144 145 Portfile-devel: $(top_srcdir)/scripts/Portfile-devel.tmpl dist 146 sed -e 's/\@VERSION\@/$(LINPHONE_VERSION)/g' \ 147 -e 's/\@LINPHONE_MD5\@/$(shell md5sum linphone-$(VERSION).tar.gz | awk {'print $$1'})/' < $< > $@ 144 148 145 149 146 -
linphone/gtk-glade/main.c
r700 r712 560 560 } 561 561 562 static void _linphone_gtk_accept_call(){ 563 LinphoneCore *lc=linphone_gtk_get_core(); 564 GtkWidget *mw=linphone_gtk_get_main_window(); 565 GtkWidget *icw=GTK_WIDGET(g_object_get_data(G_OBJECT(mw),"incoming_call")); 566 if (icw!=NULL){ 567 g_object_set_data(G_OBJECT(mw),"incoming_call",NULL); 568 gtk_widget_destroy(icw); 569 } 570 571 linphone_core_accept_call(lc,NULL); 572 linphone_gtk_call_started(linphone_gtk_get_main_window()); 573 if (linphone_gtk_use_in_call_view()){ 574 linphone_gtk_in_call_view_set_in_call(); 575 linphone_gtk_show_in_call_view(); 576 } 577 linphone_gtk_enable_mute_button( 578 GTK_TOGGLE_BUTTON(linphone_gtk_get_widget(linphone_gtk_get_main_window(),"main_mute")) 579 ,TRUE); 580 } 581 562 582 void linphone_gtk_start_call(GtkWidget *w){ 563 583 LinphoneCore *lc=linphone_gtk_get_core(); 564 if (linphone_core_inc_invite_pending(lc) || linphone_core_in_call(lc)) { 584 if (linphone_core_inc_invite_pending(lc)){ 585 /*accept the call*/ 586 _linphone_gtk_accept_call(); 587 }else if (linphone_core_in_call(lc)) { 565 588 /*already in call */ 566 589 }else{ … … 596 619 597 620 void linphone_gtk_accept_call(GtkWidget *button){ 598 LinphoneCore *lc=linphone_gtk_get_core(); 599 linphone_core_accept_call(lc,NULL); 600 g_object_set_data(G_OBJECT(linphone_gtk_get_main_window()),"incoming_call",NULL); 601 gtk_widget_destroy(gtk_widget_get_toplevel(button)); 602 linphone_gtk_call_started(linphone_gtk_get_main_window()); 603 if (linphone_gtk_use_in_call_view()){ 604 linphone_gtk_in_call_view_set_in_call(); 605 linphone_gtk_show_in_call_view(); 606 } 607 linphone_gtk_enable_mute_button( 608 GTK_TOGGLE_BUTTON(linphone_gtk_get_widget(linphone_gtk_get_main_window(),"main_mute")) 609 ,TRUE); 621 _linphone_gtk_accept_call(); 610 622 } 611 623 -
linphone/scripts/Makefile.am
r639 r712 1 EXTRA_DIST=builder-mingw.mk Port File.tmpl1 EXTRA_DIST=builder-mingw.mk Portfile.tmpl Portfile-devel.tmpl 2 2
Note: See TracChangeset
for help on using the changeset viewer.
