summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Popela <tpopela@redhat.com>2017-07-25 15:03:39 +0200
committerTomas Popela <tpopela@redhat.com>2017-07-25 15:03:39 +0200
commit394daa33c6ac23750ed08b0765d5e7f01f35a651 (patch)
tree954a4dffa72f480d6a14034ef2fe158263f92964
parentd433f3c20d2ca198a97f21596d8cc212bff8426c (diff)
downloadempathy-394daa33c6ac23750ed08b0765d5e7f01f35a651.tar.gz
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.
-rw-r--r--src/empathy-roster-window.c4
-rw-r--r--src/empathy.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/empathy-roster-window.c b/src/empathy-roster-window.c
index 6249d2729..101698f85 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 9978bd53e..3b77a940f 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,