aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-call-chandler.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2007-11-11 22:42:34 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2007-11-11 22:42:34 +0800
commitbb465d15f0c6c963556801cca5164f6d9071437b (patch)
tree32af73a3583508290edaf96b225bb5bfe4f623b2 /src/empathy-call-chandler.c
parenta57649e2d7991866a68aea8cb36bf91638df0a21 (diff)
downloadgsoc2013-empathy-bb465d15f0c6c963556801cca5164f6d9071437b.tar
gsoc2013-empathy-bb465d15f0c6c963556801cca5164f6d9071437b.tar.gz
gsoc2013-empathy-bb465d15f0c6c963556801cca5164f6d9071437b.tar.bz2
gsoc2013-empathy-bb465d15f0c6c963556801cca5164f6d9071437b.tar.lz
gsoc2013-empathy-bb465d15f0c6c963556801cca5164f6d9071437b.tar.xz
gsoc2013-empathy-bb465d15f0c6c963556801cca5164f6d9071437b.tar.zst
gsoc2013-empathy-bb465d15f0c6c963556801cca5164f6d9071437b.zip
Move chats to its own process.
2007-11-11 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-chat.c: * src/empathy-call-chandler.c: * src/org.gnome.Empathy.Chat.service.in: * src/empathy-chat-chandler.c: * src/empathy.c: * src/Makefile.am: Move chats to its own process. svn path=/trunk/; revision=429
Diffstat (limited to 'src/empathy-call-chandler.c')
-rw-r--r--src/empathy-call-chandler.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/empathy-call-chandler.c b/src/empathy-call-chandler.c
index bb88747f4..8833bcbcc 100644
--- a/src/empathy-call-chandler.c
+++ b/src/empathy-call-chandler.c
@@ -18,10 +18,16 @@
* Authors: Elliot Fairweather <elliot.fairweather@collabora.co.uk>
*/
+#include <config.h>
+
#include <stdlib.h>
+#include <glib.h>
+#include <glib/gi18n.h>
#include <gtk/gtk.h>
+#include <libgnomevfs/gnome-vfs.h>
+
#include <libmissioncontrol/mission-control.h>
#include <libempathy/empathy-chandler.h>
@@ -59,8 +65,18 @@ main (int argc, char *argv[])
EmpathyChandler *chandler;
MissionControl *mc;
+ empathy_debug_set_log_file_from_env ();
+
+ bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
+ bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
+ textdomain (GETTEXT_PACKAGE);
+
gtk_init (&argc, &argv);
+ gtk_window_set_default_icon_name ("empathy");
+ gtk_icon_theme_append_search_path (gtk_icon_theme_get_default (),
+ PKGDATADIR G_DIR_SEPARATOR_S "icons");
+
mc = empathy_mission_control_new ();
chandler = empathy_chandler_new (BUS_NAME, OBJECT_PATH);
g_signal_connect (chandler, "new-channel",