summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/empathy-accounts.c2
-rw-r--r--src/empathy-auth-client.c2
-rw-r--r--src/empathy-call.c2
-rw-r--r--src/empathy-chat.c2
-rw-r--r--src/empathy-debugger.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/src/empathy-accounts.c b/src/empathy-accounts.c
index 9788e11d5..f0db55157 100644
--- a/src/empathy-accounts.c
+++ b/src/empathy-accounts.c
@@ -240,7 +240,7 @@ main (int argc, char *argv[])
g_set_application_name (_("Empathy Accounts"));
/* Make empathy and empathy-accounts appear as the same app in gnome-shell */
- gdk_set_program_class ("Empathy");
+ g_set_prgname ("empathy");
gtk_window_set_default_icon_name ("empathy");
app = gtk_application_new (EMPATHY_ACCOUNTS_BUS_NAME, G_APPLICATION_FLAGS_NONE);
diff --git a/src/empathy-auth-client.c b/src/empathy-auth-client.c
index be5b13a0b..3ee478d3e 100644
--- a/src/empathy-auth-client.c
+++ b/src/empathy-auth-client.c
@@ -302,7 +302,7 @@ main (int argc,
/* Make empathy and empathy-auth-client appear as the same app in
* gnome-shell */
- gdk_set_program_class ("Empathy");
+ g_set_prgname ("empathy");
gtk_window_set_default_icon_name ("empathy");
textdomain (GETTEXT_PACKAGE);
diff --git a/src/empathy-call.c b/src/empathy-call.c
index 3bc148802..8821bf386 100644
--- a/src/empathy-call.c
+++ b/src/empathy-call.c
@@ -250,7 +250,7 @@ main (int argc,
g_set_application_name (_("Empathy Audio/Video Client"));
/* Make empathy and empathy-call appear as the same app in gnome-shell */
- gdk_set_program_class ("Empathy");
+ g_set_prgname ("empathy");
gtk_window_set_default_icon_name ("empathy");
gtk_settings = gtk_settings_get_default ();
diff --git a/src/empathy-chat.c b/src/empathy-chat.c
index f25acb657..e0bcd813e 100644
--- a/src/empathy-chat.c
+++ b/src/empathy-chat.c
@@ -116,7 +116,7 @@ main (int argc,
empathy_init ();
/* Make empathy and empathy-chat appear as the same app in gnome-shell */
- gdk_set_program_class ("Empathy");
+ g_set_prgname ("empathy");
gtk_window_set_default_icon_name ("empathy");
textdomain (GETTEXT_PACKAGE);
diff --git a/src/empathy-debugger.c b/src/empathy-debugger.c
index 8be2be32c..36819ba8a 100644
--- a/src/empathy-debugger.c
+++ b/src/empathy-debugger.c
@@ -141,7 +141,7 @@ main (int argc,
g_set_application_name (_("Empathy Debugger"));
/* Make empathy and empathy-debugger appear as the same app in gnome-shell */
- gdk_set_program_class ("Empathy");
+ g_set_prgname ("empathy");
gtk_window_set_default_icon_name ("empathy");
retval = g_application_run (G_APPLICATION (app), argc, argv);