aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-chat.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-02-16 17:44:20 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-02-16 17:57:36 +0800
commitf19e015dc6bc1b62805dd37159176b591a7f9676 (patch)
tree45e9c3a138ced227f5862ca341700258183fc450 /src/empathy-chat.c
parent9c59bb18947a31362ded4c9e5ec5c4ea8c4d0b83 (diff)
downloadgsoc2013-empathy-f19e015dc6bc1b62805dd37159176b591a7f9676.tar
gsoc2013-empathy-f19e015dc6bc1b62805dd37159176b591a7f9676.tar.gz
gsoc2013-empathy-f19e015dc6bc1b62805dd37159176b591a7f9676.tar.bz2
gsoc2013-empathy-f19e015dc6bc1b62805dd37159176b591a7f9676.tar.lz
gsoc2013-empathy-f19e015dc6bc1b62805dd37159176b591a7f9676.tar.xz
gsoc2013-empathy-f19e015dc6bc1b62805dd37159176b591a7f9676.tar.zst
gsoc2013-empathy-f19e015dc6bc1b62805dd37159176b591a7f9676.zip
set 'Empathy' as program class in all binaries
This will make all the empathy apps windows appear as the same application in gnome-shell. (#642440) Thanks to Owen Taylor for this trick.
Diffstat (limited to 'src/empathy-chat.c')
-rw-r--r--src/empathy-chat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/empathy-chat.c b/src/empathy-chat.c
index db4000e66..195f2ebf2 100644
--- a/src/empathy-chat.c
+++ b/src/empathy-chat.c
@@ -118,6 +118,8 @@ main (int argc,
empathy_gtk_init ();
+ /* Make empathy and empathy-chat appear as the same app in gnome-shell */
+ gdk_set_program_class ("Empathy");
gtk_window_set_default_icon_name ("empathy");
textdomain (GETTEXT_PACKAGE);