[empathy] Use dash instead of underscore in some of the action names
- From: Tomas Popela <tpopela src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] Use dash instead of underscore in some of the action names
- Date: Tue, 25 Jul 2017 13:13:12 +0000 (UTC)
commit 394daa33c6ac23750ed08b0765d5e7f01f35a651
Author: Tomas Popela <tpopela redhat com>
Date: Tue Jul 25 15:03:39 2017 +0200
Use dash instead of underscore in some of the action names
Underscore is not a valid character for action name. Fixes critical
warning during startup.
src/empathy-roster-window.c | 4 ++--
src/empathy.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/empathy-roster-window.c b/src/empathy-roster-window.c
index 6249d27..101698f 100644
--- a/src/empathy-roster-window.c
+++ b/src/empathy-roster-window.c
@@ -1927,8 +1927,8 @@ static GActionEntry menubar_entries[] = {
static GActionEntry app_entries[] =
{
- { "tab_next", next_tab_cb, NULL, NULL, NULL },
- { "tab_prev", prev_tab_cb, NULL, NULL, NULL }
+ { "tab-next", next_tab_cb },
+ { "tab-prev", prev_tab_cb }
};
diff --git a/src/empathy.c b/src/empathy.c
index 9978bd5..3b77a94 100644
--- a/src/empathy.c
+++ b/src/empathy.c
@@ -298,9 +298,9 @@ empathy_app_activate (GApplication *app)
"win." EMPATHY_PREFS_UI_SHOW_OFFLINE,
NULL);
gtk_application_add_accelerator (GTK_APPLICATION (app),
- "<Control>Page_Up", "win.tab_prev", NULL);
+ "<Control>Page_Up", "win.tab-prev", NULL);
gtk_application_add_accelerator (GTK_APPLICATION (app),
- "<Control>Page_Down", "win.tab_next", NULL);
+ "<Control>Page_Down", "win.tab-next", NULL);
/* Allow Empathy to watch session state */
autoaway = g_settings_get_boolean (self->gsettings,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]