aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-chat-main.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2007-06-04 02:45:53 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2007-06-04 02:45:53 +0800
commitec7481901727606b0ce05f1dc2088c34f9e18b5f (patch)
tree97a0e0f147278845b1f06b26cb70d76177d05af0 /src/empathy-chat-main.c
parentf76a92f31b0d8212526fe8dd8c89dc1399812072 (diff)
downloadgsoc2013-empathy-ec7481901727606b0ce05f1dc2088c34f9e18b5f.tar
gsoc2013-empathy-ec7481901727606b0ce05f1dc2088c34f9e18b5f.tar.gz
gsoc2013-empathy-ec7481901727606b0ce05f1dc2088c34f9e18b5f.tar.bz2
gsoc2013-empathy-ec7481901727606b0ce05f1dc2088c34f9e18b5f.tar.lz
gsoc2013-empathy-ec7481901727606b0ce05f1dc2088c34f9e18b5f.tar.xz
gsoc2013-empathy-ec7481901727606b0ce05f1dc2088c34f9e18b5f.tar.zst
gsoc2013-empathy-ec7481901727606b0ce05f1dc2088c34f9e18b5f.zip
libempathy-gtk/gossip-ui-utils.c libempathy-gtk/gossip-accounts-dialog.c
2007-06-03 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/gossip-ui-utils.c * libempathy-gtk/gossip-accounts-dialog.c * libempathy-gtk/Makefile.am * src/empathy-accounts-main.c * src/empathy-chat-main.c * src/Makefile.am * src/empathy-main.c * libempathy/gossip-utils.c * libempathy/Makefile.am * src/empathy-filter.h * src/empathy-filter-plugin.c * src/empathy-filter.xml * src/empathy-filter.c * libempathy/gossip-paths.c * libempathy/gossip-paths.h: Remove unused code. svn path=/trunk/; revision=120
Diffstat (limited to 'src/empathy-chat-main.c')
-rw-r--r--src/empathy-chat-main.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/empathy-chat-main.c b/src/empathy-chat-main.c
index fb0964934..3af734ba8 100644
--- a/src/empathy-chat-main.c
+++ b/src/empathy-chat-main.c
@@ -40,7 +40,6 @@
#include <libempathy/gossip-utils.h>
#include <libempathy/empathy-chandler.h>
#include <libempathy/empathy-tp-chat.h>
-#include <libempathy/gossip-paths.h>
#include <libempathy-gtk/gossip-private-chat.h>
#include <libempathy-gtk/gossip-group-chat.h>
@@ -163,13 +162,10 @@ main (int argc, char *argv[])
{
EmpathyChandler *chandler;
GnomeProgram *program;
- gchar *localedir;
- localedir = gossip_paths_get_locale_path ();
- bindtextdomain (GETTEXT_PACKAGE, localedir);
+ bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
textdomain (GETTEXT_PACKAGE);
- g_free (localedir);
program = gnome_program_init ("empathy-chat",
PACKAGE_VERSION,
@@ -180,6 +176,8 @@ main (int argc, char *argv[])
NULL);
gtk_window_set_default_icon_name ("empathy");
+ gtk_icon_theme_append_search_path (gtk_icon_theme_get_default (),
+ DATADIR G_DIR_SEPARATOR_S "empathy");
if (g_getenv ("EMPATHY_DEBUG")) {
debug_mode = TRUE;