diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-02-16 17:44:20 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-02-16 17:57:36 +0800 |
commit | f19e015dc6bc1b62805dd37159176b591a7f9676 (patch) | |
tree | 45e9c3a138ced227f5862ca341700258183fc450 /src/empathy-av.c | |
parent | 9c59bb18947a31362ded4c9e5ec5c4ea8c4d0b83 (diff) | |
download | gsoc2013-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-av.c')
-rw-r--r-- | src/empathy-av.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/empathy-av.c b/src/empathy-av.c index 37438fe32..6f8c5ba61 100644 --- a/src/empathy-av.c +++ b/src/empathy-av.c @@ -134,6 +134,8 @@ main (int argc, g_set_application_name (_("Empathy Audio/Video Client")); g_setenv ("PULSE_PROP_media.role", "phone", TRUE); + /* Make empathy and empathy-av appear as the same app in gnome-shell */ + gdk_set_program_class ("Empathy"); gtk_window_set_default_icon_name ("empathy"); textdomain (GETTEXT_PACKAGE); |