]> git.0d.be Git - empathy.git/commitdiff
Merge branch 'gnome-3-4'
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Wed, 11 Apr 2012 09:09:08 +0000 (11:09 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Wed, 11 Apr 2012 09:09:52 +0000 (11:09 +0200)
Conflicts:
po/ca@valencia.po

1  2 
configure.ac
src/empathy-roster-window.c
src/empathy.c

diff --combined configure.ac
index 40a731a2b58fdbf740cc9cc35a1b6cebe3455acc,33bbf466aa5b77073c5d0088419a1f70cf29648d..9aab250b6542847706ad15df40b957d45475c335
@@@ -2,9 -2,9 +2,9 @@@ dnl If not 1, append datestamp to the v
  m4_define(empathy_released, 0)
  
  m4_define([empathy_major_version], [3])
 -m4_define([empathy_minor_version], [4])
 +m4_define([empathy_minor_version], [5])
  m4_define([empathy_micro_version], [0])
- m4_define([empathy_nano_version], [1])
 -m4_define([empathy_nano_version], [2])
++m4_define([empathy_nano_version], [0])
  
  dnl Display the nano_version only if it's not '0'
  m4_define([empathy_base_version],
@@@ -37,9 -37,9 +37,9 @@@ AC_COPYRIGHT(
  FOLKS_REQUIRED=0.6.6
  GNUTLS_REQUIRED=2.8.5
  
 -GLIB_REQUIRED=2.30.0
 +GLIB_REQUIRED=2.32.0
  AC_DEFINE(GLIB_VERSION_MIN_REQUIRED, GLIB_VERSION_2_30, [Ignore post 2.30 deprecations])
 -AC_DEFINE(GLIB_VERSION_MAX_ALLOWED, GLIB_VERSION_2_30, [Prevent post 2.30 APIs])
 +AC_DEFINE(GLIB_VERSION_MAX_ALLOWED, GLIB_VERSION_2_32, [Prevent post 2.32 APIs])
  
  GTK_REQUIRED=3.3.6
  AC_DEFINE(GDK_VERSION_MIN_REQUIRED, GDK_VERSION_3_4, [Ignore post 3.4 deprecations])
@@@ -58,7 -58,7 +58,7 @@@ GCR_REQUIRED=2.91.
  LIBCANBERRA_GTK_REQUIRED=0.25
  LIBNOTIFY_REQUIRED=0.7.0
  TELEPATHY_FARSTREAM_REQUIRED=0.2.1
 -TELEPATHY_GLIB_REQUIRED=0.17.5
 +TELEPATHY_GLIB_REQUIRED=0.17.6
  TELEPATHY_LOGGER=0.2.13
  WEBKIT_REQUIRED=1.3.13
  GOA_REQUIRED=3.3.0
@@@ -265,6 -265,58 +265,6 @@@ GETTEXT_PACKAGE=empath
  AC_SUBST(GETTEXT_PACKAGE)
  AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE",[Gettext package name])
  
 -# -----------------------------------------------------------
 -# Connectivity integration
 -# -----------------------------------------------------------
 -AC_ARG_WITH(connectivity,
 -              AS_HELP_STRING([--with-connectivity=@<:@nm/connman/auto/no@:>@],
 -                             [build with connectivity support]), ,
 -                             with_connectivity=auto)
 -
 -if test "x$with_connectivity" = "xno"; then
 -   have_nm=no
 -   have_connman=no
 -
 -elif test "x$with_connectivity" = "xconnman"; then
 -   have_nm=no
 -
 -   PKG_CHECK_MODULES(CONNMAN,
 -   [
 -      dbus-glib-1
 -   ], have_connman="yes", have_connman="no")
 -
 -   if test "x$have_connman" = "xyes"; then
 -      AC_DEFINE(HAVE_CONNMAN, 1, [Define if you have connman dependencies])
 -   fi
 -
 -else
 -   have_connman=no
 -
 -   PKG_CHECK_MODULES(NETWORK_MANAGER,
 -   [
 -      libnm-glib >= $NETWORK_MANAGER_REQUIRED
 -   ], have_nm="yes", have_nm="no")
 -
 -   if test "x$have_nm" = "xyes"; then
 -      AC_DEFINE(HAVE_NM, 1, [Define if you have libnm-glib])
 -   fi
 -fi
 -
 -if test "x$with_connectivity" = "xconnman" -a "x$have_connman" != "xyes"; then
 -   AC_MSG_ERROR([Couldn't find connman dependencies:
 -
 -$CONNMAN_PKG_ERRORS])
 -fi
 -
 -if test "x$with_connectivity" = "xnm" -a "x$have_nm" != "xyes"; then
 -   AC_MSG_ERROR([Couldn't find Network Manager dependencies:
 -
 -$NETWORK_MANAGER_PKG_ERRORS])
 -fi
 -
 -AM_CONDITIONAL(HAVE_NM, test "x$have_nm" = "xyes")
 -AM_CONDITIONAL(HAVE_CONNMAN, test "x$have_connman" = "xyes")
 -
  # -----------------------------------------------------------
  # gudev
  # -----------------------------------------------------------
@@@ -426,6 -478,38 +426,6 @@@ AM_CONDITIONAL(HAVE_GEOCODE, test "x$ha
  AC_SUBST(GEOCODE_CFLAGS)
  AC_SUBST(GEOCODE_LIBS)
  
 -# -----------------------------------------------------------
 -# meego widgets support
 -# -----------------------------------------------------------
 -AC_ARG_ENABLE(meego,
 -              AS_HELP_STRING([--enable-meego=@<:@no/yes@:>@],
 -                             [Enable meego widgets]), ,
 -                             enable_meego=no)
 -
 -if test "x$enable_meego" != "xno"; then
 -    PKG_CHECK_MODULES(MEEGO,
 -    [
 -       mx-gtk-1.0
 -       gio-unix-2.0
 -    ], have_meego="yes", have_meego="no")
 -
 -    if test "x$have_meego" = "xyes"; then
 -       AC_DEFINE(HAVE_MEEGO, 1, [Define if you have meego])
 -    fi
 -else
 -   have_meego="no"
 -fi
 -
 -if test "x$enable_meego" = "xyes" -a "x$have_meego" != "xyes"; then
 -   AC_MSG_ERROR([Could not find meego dependencies:
 -
 -$MEEGO_PKG_ERRORS])
 -fi
 -
 -AM_CONDITIONAL(HAVE_MEEGO, test "x$have_meego" = "xyes")
 -AC_SUBST(MEEGO_CFLAGS)
 -AC_SUBST(MEEGO_LIBS)
 -
  # -----------------------------------------------------------
  # nautilus-sendto
  # -----------------------------------------------------------
@@@ -556,9 -640,14 +556,9 @@@ Configure summary
        Display maps (libchamplain).:  ${have_libchamplain}
        Location awareness (Geoclue):  ${have_geoclue}
        Geocode support (Geocode)...:  ${have_geocode}
 -      Meego widgets...............:  ${have_meego}
        Cheese webcam support ......:  ${have_cheese}
        Camera monitoring...........:  ${have_gudev}
  
 -    Connectivity:
 -      NetworkManager integration..:  ${have_nm}
 -      ConnMan integration.........:  ${have_connman}
 -
      Extras:
        Nautilus-sendto plugin......:  ${have_nst}
        GOA MC plugin...............:  ${have_goa}
index 952073d25caa9478240a0f91bd942d945f0c4725,203a5aede087ed645a348405084ddc209b0e9f26..a8eb408086c26af564a1acb379a82b79e7f67e9d
@@@ -37,6 -37,7 +37,6 @@@
  #include <libempathy/empathy-request-util.h>
  #include <libempathy/empathy-chatroom-manager.h>
  #include <libempathy/empathy-chatroom.h>
 -#include <libempathy/empathy-contact-list.h>
  #include <libempathy/empathy-gsettings.h>
  #include <libempathy/empathy-individual-manager.h>
  #include <libempathy/empathy-gsettings.h>
@@@ -2642,6 -2643,7 +2642,7 @@@ empathy_roster_window_init (EmpathyRost
        EMPATHY_INDIVIDUAL_FEATURE_CALL |
        EMPATHY_INDIVIDUAL_FEATURE_EDIT |
        EMPATHY_INDIVIDUAL_FEATURE_INFO |
+       EMPATHY_INDIVIDUAL_FEATURE_LOG |
        EMPATHY_INDIVIDUAL_FEATURE_SMS |
        EMPATHY_INDIVIDUAL_FEATURE_CALL_PHONE);
  
diff --combined src/empathy.c
index 2876edf8414cf9f1c9c2474f13fd1be568c1cdfb,b06b595e6af7b31ce7eb6a72a348a4131fcbd740..4db2cbb6218b1ba510810251bef92b776c20ecf3
@@@ -52,6 -52,7 +52,6 @@@
  #include <libempathy/empathy-utils.h>
  #include <libempathy/empathy-chatroom-manager.h>
  #include <libempathy/empathy-account-settings.h>
 -#include <libempathy/empathy-connectivity.h>
  #include <libempathy/empathy-connection-managers.h>
  #include <libempathy/empathy-request-util.h>
  #include <libempathy/empathy-ft-factory.h>
@@@ -118,6 -119,7 +118,6 @@@ struct _EmpathyAp
    EmpathyChatroomManager *chatroom_manager;
    EmpathyFTFactory  *ft_factory;
    EmpathyPresenceManager *presence_mgr;
 -  EmpathyConnectivity *connectivity;
    GSettings *gsettings;
    EmpathyNotificationsApprover *notifications_approver;
    EmpathyConnectionAggregator *conn_aggregator;
@@@ -155,6 -157,7 +155,6 @@@ empathy_app_dispose (GObject *object
  #endif
  
    tp_clear_object (&self->presence_mgr);
 -  tp_clear_object (&self->connectivity);
    tp_clear_object (&self->icon);
    tp_clear_object (&self->account_manager);
    tp_clear_object (&self->log_manager);
@@@ -367,13 -370,6 +367,6 @@@ empathy_app_command_line (GApplication 
        self->notifications_approver =
          empathy_notifications_approver_dup_singleton ();
      }
-   else
-     {
-       /* We're requested to show stuff again, disable the start hidden global in
-        * case the accounts wizard wants to pop up.
-        */
-       self->start_hidden = FALSE;
-     }
  
    if (self->show_preferences)
      empathy_roster_window_show_preferences (
@@@ -518,6 -514,17 +511,6 @@@ empathy_app_init (EmpathyApp *self
  {
  }
  
 -static void
 -use_conn_notify_cb (GSettings *gsettings,
 -    const gchar *key,
 -    gpointer     user_data)
 -{
 -  EmpathyConnectivity *connectivity = user_data;
 -
 -  empathy_connectivity_set_use_conn (connectivity,
 -      g_settings_get_boolean (gsettings, key));
 -}
 -
  static void
  migrate_config_to_xdg_dir (void)
  {
@@@ -759,6 -766,14 +752,6 @@@ empathy_app_constructed (GObject *objec
  
    self->gsettings = g_settings_new (EMPATHY_PREFS_SCHEMA);
  
 -  /* Setting up Connectivity */
 -  self->connectivity = empathy_connectivity_dup_singleton ();
 -  use_conn_notify_cb (self->gsettings, EMPATHY_PREFS_USE_CONN,
 -      self->connectivity);
 -  g_signal_connect (self->gsettings,
 -      "changed::" EMPATHY_PREFS_USE_CONN,
 -      G_CALLBACK (use_conn_notify_cb), self->connectivity);
 -
    /* account management */
    self->account_manager = tp_account_manager_dup ();
    tp_proxy_prepare_async (self->account_manager, NULL,
@@@ -822,6 -837,7 +815,6 @@@ main (int argc, char *argv[]
    EmpathyApp *app;
    gint retval;
  
 -  g_thread_init (NULL);
    g_type_init ();
  
  #ifdef HAVE_LIBCHAMPLAIN