From 39677907c48daa4ebdef0ab6979f808075d5fbbf Mon Sep 17 00:00:00 2001 From: Jehan Monnier Date: Mon, 4 Apr 2011 15:17:16 +0200 Subject: [PATCH 1/5] avoid relative gtk resource search on macport minimize main windows instead of hidding for APPLE --- configure.ac | 4 +++- gtk/main.c | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index fbb99d282..04ad46c58 100644 --- a/configure.ac +++ b/configure.ac @@ -239,7 +239,9 @@ fi if test "$relativeprefix" = "auto" ; then case $target_os in *darwin*) - relativeprefix=yes + if test "$enable_x11" = "false" ; then + relativeprefix=yes + fi ;; *mingw*) relativeprefix=yes diff --git a/gtk/main.c b/gtk/main.c index a2641b65b..e73ae8a5e 100644 --- a/gtk/main.c +++ b/gtk/main.c @@ -1266,7 +1266,7 @@ gboolean linphone_gtk_close(GtkWidget *mw){ linphone_core_terminate_all_calls(lc); } linphone_core_enable_video_preview(lc,FALSE); -#ifdef HAVE_GTK_OSX +#ifdef __APPLE__ /*until with have a better option*/ gtk_window_iconify(GTK_WINDOW(mw)); #else gtk_widget_hide(mw); From a1f4b29ef22d048d07c818e81bf2c2774b0217be Mon Sep 17 00:00:00 2001 From: Simon Morlat Date: Mon, 4 Apr 2011 15:25:57 +0200 Subject: [PATCH 2/5] improves doc, error checking and add norwegian translation --- configure.ac | 2 +- coreapi/help/doxygen.dox | 31 +- coreapi/sal_eXosip2_presence.c | 16 +- gtk/main.ui | 3 +- po/nb_NO.po | 1505 ++++++++++++++++++++++++++++++++ 5 files changed, 1536 insertions(+), 21 deletions(-) create mode 100644 po/nb_NO.po diff --git a/configure.ac b/configure.ac index fbb99d282..2e9834df7 100644 --- a/configure.ac +++ b/configure.ac @@ -91,7 +91,7 @@ fi dnl Add the languages which your application supports here. PKG_PROG_PKG_CONFIG -ALL_LINGUAS="fr it de ja es pl cs nl sv pt_BR hu ru zh_CN" +ALL_LINGUAS="fr it de ja es pl cs nl sv pt_BR hu ru zh_CN nb_NO" AC_SUBST(ALL_LINGUAS) AC_DEFINE_UNQUOTED(LINPHONE_ALL_LANGS, "$ALL_LINGUAS", [All supported languages]) diff --git a/coreapi/help/doxygen.dox b/coreapi/help/doxygen.dox index 8217eaf6b..99293c65b 100644 --- a/coreapi/help/doxygen.dox +++ b/coreapi/help/doxygen.dox @@ -205,7 +205,7 @@ void text_received(LinphoneCore *lc, LinphoneChatRoom *room, const LinphoneAddre * @ingroup port *
Multitasking -
liblinphone for IOS natively supports multitasking assuming application follows multitasking guides provided by Apple. First step is to declare application as multitasked. It means adding background mode for both audio and voip to Info.plist file. +
Liblinphone for IOS natively supports multitasking assuming application follows multitasking guides provided by Apple. First step is to declare application as multitasked. It means adding background mode for both audio and voip to Info.plist file.
\code UIBackgroundModes @@ -216,9 +216,9 @@ void text_received(LinphoneCore *lc, LinphoneChatRoom *room, const LinphoneAddre \endcode