[gedit] Use dash in gaction names
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] Use dash in gaction names
- Date: Sat, 1 Feb 2014 11:54:11 +0000 (UTC)
commit 5eb20c25ee6c3973ed03c3e4088526b44aca7784
Author: Paolo Borelli <pborelli gnome org>
Date: Sat Feb 1 12:31:46 2014 +0100
Use dash in gaction names
gedit/gedit-notebook-popup-menu.c | 16 ++--
gedit/gedit-notebook-popup-menu.ui | 8 +-
gedit/gedit-settings.c | 2 +-
gedit/gedit-window.c | 124 ++++++++++++++++++------------------
gedit/gedit-window.ui | 38 ++++++------
5 files changed, 93 insertions(+), 95 deletions(-)
---
diff --git a/gedit/gedit-notebook-popup-menu.c b/gedit/gedit-notebook-popup-menu.c
index 3a583a5..c6646cf 100644
--- a/gedit/gedit-notebook-popup-menu.c
+++ b/gedit/gedit-notebook-popup-menu.c
@@ -127,19 +127,19 @@ update_sensitivity (GeditNotebookPopupMenu *menu)
(state != GEDIT_TAB_STATE_SAVING_ERROR));
action = g_action_map_lookup_action (G_ACTION_MAP (menu->priv->action_group),
- "move_to_new_window");
+ "move-to-new-window");
g_simple_action_set_enabled (G_SIMPLE_ACTION (action), n_tabs > 1);
action = g_action_map_lookup_action (G_ACTION_MAP (menu->priv->action_group),
- "move_to_new_tab_group");
+ "move-to-new-tab-group");
g_simple_action_set_enabled (G_SIMPLE_ACTION (action), n_pages > 1);
action = g_action_map_lookup_action (G_ACTION_MAP (menu->priv->action_group),
- "move_left");
+ "move-left");
g_simple_action_set_enabled (G_SIMPLE_ACTION (action), page_num > 0);
action = g_action_map_lookup_action (G_ACTION_MAP (menu->priv->action_group),
- "move_right");
+ "move-right");
g_simple_action_set_enabled (G_SIMPLE_ACTION (action), page_num < n_pages - 1);
}
@@ -267,10 +267,10 @@ on_close_activate (GSimpleAction *action,
}
static GActionEntry action_entries[] = {
- { "move_left", on_move_left_activate },
- { "move_right", on_move_right_activate },
- { "move_to_new_window", on_move_to_new_window_activate },
- { "move_to_new_tab_group", on_move_to_new_tab_group_activate },
+ { "move-left", on_move_left_activate },
+ { "move-right", on_move_right_activate },
+ { "move-to-new-window", on_move_to_new_window_activate },
+ { "move-to-new-tab-group", on_move_to_new_tab_group_activate },
{ "close", on_close_activate }
};
diff --git a/gedit/gedit-notebook-popup-menu.ui b/gedit/gedit-notebook-popup-menu.ui
index 048825c..19c2c65 100644
--- a/gedit/gedit-notebook-popup-menu.ui
+++ b/gedit/gedit-notebook-popup-menu.ui
@@ -5,21 +5,21 @@
<section>
<item>
<attribute name="label" translatable="yes">Move _Left</attribute>
- <attribute name="action">move_left</attribute>
+ <attribute name="action">move-left</attribute>
</item>
<item>
<attribute name="label" translatable="yes">Move _Right</attribute>
- <attribute name="action">move_right</attribute>
+ <attribute name="action">move-right</attribute>
</item>
</section>
<section>
<item>
<attribute name="label" translatable="yes">Move to New _Window</attribute>
- <attribute name="action">move_to_new_window</attribute>
+ <attribute name="action">move-to-new-window</attribute>
</item>
<item>
<attribute name="label" translatable="yes">Move to New Tab _Group</attribute>
- <attribute name="action">move_to_new_tab_group</attribute>
+ <attribute name="action">move-to-new-tab-group</attribute>
</item>
</section>
<section>
diff --git a/gedit/gedit-settings.c b/gedit/gedit-settings.c
index 287756f..133008e 100644
--- a/gedit/gedit-settings.c
+++ b/gedit/gedit-settings.c
@@ -326,7 +326,7 @@ on_syntax_highlighting_changed (GSettings *settings,
{
GAction *action;
- action = g_action_map_lookup_action (G_ACTION_MAP (l->data), "highlight_mode");
+ action = g_action_map_lookup_action (G_ACTION_MAP (l->data), "highlight-mode");
g_simple_action_set_enabled (G_SIMPLE_ACTION (action), enable);
}
}
diff --git a/gedit/gedit-window.c b/gedit/gedit-window.c
index 7304b82..0ab0e03 100644
--- a/gedit/gedit-window.c
+++ b/gedit/gedit-window.c
@@ -455,12 +455,12 @@ update_next_prev_doc_sensitivity (GeditWindow *window,
g_return_if_fail (tab_number >= 0);
action = g_action_map_lookup_action (G_ACTION_MAP (window),
- "previous_document");
+ "previous-document");
g_simple_action_set_enabled (G_SIMPLE_ACTION (action),
tab_number != 0);
action = g_action_map_lookup_action (G_ACTION_MAP (window),
- "next_document");
+ "next-document");
g_simple_action_set_enabled (G_SIMPLE_ACTION (action),
tab_number < gtk_notebook_get_n_pages (GTK_NOTEBOOK (notebook)) - 1);
}
@@ -482,11 +482,11 @@ update_next_prev_doc_sensitivity_per_window (GeditWindow *window)
}
action = g_action_map_lookup_action (G_ACTION_MAP (window),
- "previous_document");
+ "previous-document");
g_simple_action_set_enabled (G_SIMPLE_ACTION (action), FALSE);
action = g_action_map_lookup_action (G_ACTION_MAP (window),
- "next_document");
+ "next-document");
g_simple_action_set_enabled (G_SIMPLE_ACTION (action), FALSE);
}
@@ -604,7 +604,7 @@ set_sensitivity_according_to_tab (GeditWindow *window,
!gedit_document_get_readonly (doc) &&
!(lockdown & GEDIT_LOCKDOWN_SAVE_TO_DISK));
- action = g_action_map_lookup_action (G_ACTION_MAP (window), "save_as");
+ action = g_action_map_lookup_action (G_ACTION_MAP (window), "save-as");
g_simple_action_set_enabled (G_SIMPLE_ACTION (action),
(state_normal ||
(state == GEDIT_TAB_STATE_SAVING_ERROR) ||
@@ -683,27 +683,27 @@ set_sensitivity_according_to_tab (GeditWindow *window,
editable);
b = !_gedit_document_get_empty_search (doc);
- action = g_action_map_lookup_action (G_ACTION_MAP (window), "find_next");
+ action = g_action_map_lookup_action (G_ACTION_MAP (window), "find-next");
g_simple_action_set_enabled (G_SIMPLE_ACTION (action),
(state_normal ||
state == GEDIT_TAB_STATE_EXTERNALLY_MODIFIED_NOTIFICATION) && b);
- action = g_action_map_lookup_action (G_ACTION_MAP (window), "find_prev");
+ action = g_action_map_lookup_action (G_ACTION_MAP (window), "find-prev");
g_simple_action_set_enabled (G_SIMPLE_ACTION (action),
(state_normal ||
state == GEDIT_TAB_STATE_EXTERNALLY_MODIFIED_NOTIFICATION) && b);
- action = g_action_map_lookup_action (G_ACTION_MAP (window), "clear_highlight");
+ action = g_action_map_lookup_action (G_ACTION_MAP (window), "clear-highlight");
g_simple_action_set_enabled (G_SIMPLE_ACTION (action),
(state_normal ||
state == GEDIT_TAB_STATE_EXTERNALLY_MODIFIED_NOTIFICATION) && b);
- action = g_action_map_lookup_action (G_ACTION_MAP (window), "goto_line");
+ action = g_action_map_lookup_action (G_ACTION_MAP (window), "goto-line");
g_simple_action_set_enabled (G_SIMPLE_ACTION (action),
(state_normal ||
state == GEDIT_TAB_STATE_EXTERNALLY_MODIFIED_NOTIFICATION));
- action = g_action_map_lookup_action (G_ACTION_MAP (window), "highlight_mode");
+ action = g_action_map_lookup_action (G_ACTION_MAP (window), "highlight-mode");
g_simple_action_set_enabled (G_SIMPLE_ACTION (action),
(state != GEDIT_TAB_STATE_CLOSING) &&
enable_syntax_highlighting);
@@ -1439,12 +1439,12 @@ set_sensitivity_according_to_window_state (GeditWindow *window)
!(window->priv->state & GEDIT_WINDOW_STATE_PRINTING) &&
num_tabs > 0);
- action = g_action_map_lookup_action (G_ACTION_MAP (window), "close_all");
+ action = g_action_map_lookup_action (G_ACTION_MAP (window), "close-all");
g_simple_action_set_enabled (G_SIMPLE_ACTION (action),
!(window->priv->state & GEDIT_WINDOW_STATE_SAVING) &&
!(window->priv->state & GEDIT_WINDOW_STATE_PRINTING));
- action = g_action_map_lookup_action (G_ACTION_MAP (window), "save_all");
+ action = g_action_map_lookup_action (G_ACTION_MAP (window), "save-all");
g_simple_action_set_enabled (G_SIMPLE_ACTION (action),
!(window->priv->state & GEDIT_WINDOW_STATE_PRINTING) &&
!(lockdown & GEDIT_LOCKDOWN_SAVE_TO_DISK));
@@ -1452,7 +1452,7 @@ set_sensitivity_according_to_window_state (GeditWindow *window)
action = g_action_map_lookup_action (G_ACTION_MAP (window), "save");
g_simple_action_set_enabled (G_SIMPLE_ACTION (action), num_tabs > 0);
- action = g_action_map_lookup_action (G_ACTION_MAP (window), "save_as");
+ action = g_action_map_lookup_action (G_ACTION_MAP (window), "save-as");
g_simple_action_set_enabled (G_SIMPLE_ACTION (action), num_tabs > 0);
action = g_action_map_lookup_action (G_ACTION_MAP (window), "revert");
@@ -1467,31 +1467,31 @@ set_sensitivity_according_to_window_state (GeditWindow *window)
action = g_action_map_lookup_action (G_ACTION_MAP (window), "replace");
g_simple_action_set_enabled (G_SIMPLE_ACTION (action), num_tabs > 0);
- action = g_action_map_lookup_action (G_ACTION_MAP (window), "find_next");
+ action = g_action_map_lookup_action (G_ACTION_MAP (window), "find-next");
g_simple_action_set_enabled (G_SIMPLE_ACTION (action), num_tabs > 0);
- action = g_action_map_lookup_action (G_ACTION_MAP (window), "find_prev");
+ action = g_action_map_lookup_action (G_ACTION_MAP (window), "find-prev");
g_simple_action_set_enabled (G_SIMPLE_ACTION (action), num_tabs > 0);
- action = g_action_map_lookup_action (G_ACTION_MAP (window), "clear_highlight");
+ action = g_action_map_lookup_action (G_ACTION_MAP (window), "clear-highlight");
g_simple_action_set_enabled (G_SIMPLE_ACTION (action), num_tabs > 0);
- action = g_action_map_lookup_action (G_ACTION_MAP (window), "goto_line");
+ action = g_action_map_lookup_action (G_ACTION_MAP (window), "goto-line");
g_simple_action_set_enabled (G_SIMPLE_ACTION (action), num_tabs > 0);
- action = g_action_map_lookup_action (G_ACTION_MAP (window), "new_tab_group");
+ action = g_action_map_lookup_action (G_ACTION_MAP (window), "new-tab-group");
g_simple_action_set_enabled (G_SIMPLE_ACTION (action), num_tabs > 0);
- action = g_action_map_lookup_action (G_ACTION_MAP (window), "previous_document");
+ action = g_action_map_lookup_action (G_ACTION_MAP (window), "previous-document");
g_simple_action_set_enabled (G_SIMPLE_ACTION (action), num_tabs > 0);
- action = g_action_map_lookup_action (G_ACTION_MAP (window), "next_document");
+ action = g_action_map_lookup_action (G_ACTION_MAP (window), "next-document");
g_simple_action_set_enabled (G_SIMPLE_ACTION (action), num_tabs > 0);
- action = g_action_map_lookup_action (G_ACTION_MAP (window), "move_to_new_window");
+ action = g_action_map_lookup_action (G_ACTION_MAP (window), "move-to-new-window");
g_simple_action_set_enabled (G_SIMPLE_ACTION (action), num_tabs > 1);
- action = g_action_map_lookup_action (G_ACTION_MAP (window), "highlight_mode");
+ action = g_action_map_lookup_action (G_ACTION_MAP (window), "highlight-mode");
g_simple_action_set_enabled (G_SIMPLE_ACTION (action), num_tabs > 0);
action = g_action_map_lookup_action (G_ACTION_MAP (window), "close");
@@ -1534,7 +1534,7 @@ _gedit_window_set_lockdown (GeditWindow *window,
set_sensitivity_according_to_tab (window, tab);
- action = g_action_map_lookup_action (G_ACTION_MAP (window), "save_all");
+ action = g_action_map_lookup_action (G_ACTION_MAP (window), "save-all");
g_simple_action_set_enabled (G_SIMPLE_ACTION (action),
!(window->priv->state & GEDIT_WINDOW_STATE_PRINTING) &&
!(lockdown & GEDIT_LOCKDOWN_SAVE_TO_DISK));
@@ -2067,17 +2067,15 @@ empty_search_notify_cb (GeditDocument *doc,
enabled = !_gedit_document_get_empty_search (doc);
action = g_action_map_lookup_action (G_ACTION_MAP (window),
- "clear_highlight");
+ "clear-highlight");
g_simple_action_set_enabled (G_SIMPLE_ACTION (action), enabled);
-
action = g_action_map_lookup_action (G_ACTION_MAP (window),
- "find_next");
+ "find-next");
g_simple_action_set_enabled (G_SIMPLE_ACTION (action), enabled);
-
action = g_action_map_lookup_action (G_ACTION_MAP (window),
- "find_prev");
+ "find-prev");
g_simple_action_set_enabled (G_SIMPLE_ACTION (action), enabled);
}
@@ -2197,7 +2195,7 @@ update_sensitivity_according_to_open_tabs (GeditWindow *window,
action = g_action_map_lookup_action (G_ACTION_MAP (window), "save");
g_simple_action_set_enabled (G_SIMPLE_ACTION (action), num_tabs > 0);
- action = g_action_map_lookup_action (G_ACTION_MAP (window), "save_as");
+ action = g_action_map_lookup_action (G_ACTION_MAP (window), "save-as");
g_simple_action_set_enabled (G_SIMPLE_ACTION (action), num_tabs > 0);
action = g_action_map_lookup_action (G_ACTION_MAP (window), "print");
@@ -2206,43 +2204,43 @@ update_sensitivity_according_to_open_tabs (GeditWindow *window,
action = g_action_map_lookup_action (G_ACTION_MAP (window), "find");
g_simple_action_set_enabled (G_SIMPLE_ACTION (action), num_tabs > 0);
- action = g_action_map_lookup_action (G_ACTION_MAP (window), "find_next");
+ action = g_action_map_lookup_action (G_ACTION_MAP (window), "find-next");
g_simple_action_set_enabled (G_SIMPLE_ACTION (action), num_tabs > 0);
action = g_action_map_lookup_action (G_ACTION_MAP (window), "replace");
g_simple_action_set_enabled (G_SIMPLE_ACTION (action), num_tabs > 0);
- action = g_action_map_lookup_action (G_ACTION_MAP (window), "find_prev");
+ action = g_action_map_lookup_action (G_ACTION_MAP (window), "find-prev");
g_simple_action_set_enabled (G_SIMPLE_ACTION (action), num_tabs > 0);
- action = g_action_map_lookup_action (G_ACTION_MAP (window), "clear_highlight");
+ action = g_action_map_lookup_action (G_ACTION_MAP (window), "clear-highlight");
g_simple_action_set_enabled (G_SIMPLE_ACTION (action), num_tabs > 0);
- action = g_action_map_lookup_action (G_ACTION_MAP (window), "goto_line");
+ action = g_action_map_lookup_action (G_ACTION_MAP (window), "goto-line");
g_simple_action_set_enabled (G_SIMPLE_ACTION (action), num_tabs > 0);
- action = g_action_map_lookup_action (G_ACTION_MAP (window), "new_tab_group");
+ action = g_action_map_lookup_action (G_ACTION_MAP (window), "new-tab-group");
g_simple_action_set_enabled (G_SIMPLE_ACTION (action), num_tabs > 0);
- action = g_action_map_lookup_action (G_ACTION_MAP (window), "previous_document");
+ action = g_action_map_lookup_action (G_ACTION_MAP (window), "previous-document");
g_simple_action_set_enabled (G_SIMPLE_ACTION (action), num_tabs > 0);
- action = g_action_map_lookup_action (G_ACTION_MAP (window), "next_document");
+ action = g_action_map_lookup_action (G_ACTION_MAP (window), "next-document");
g_simple_action_set_enabled (G_SIMPLE_ACTION (action), num_tabs > 0);
- action = g_action_map_lookup_action (G_ACTION_MAP (window), "move_to_new_window");
+ action = g_action_map_lookup_action (G_ACTION_MAP (window), "move-to-new-window");
g_simple_action_set_enabled (G_SIMPLE_ACTION (action),
num_tabs > 1);
- action = g_action_map_lookup_action (G_ACTION_MAP (window), "previous_tab_group");
+ action = g_action_map_lookup_action (G_ACTION_MAP (window), "previous-tab-group");
g_simple_action_set_enabled (G_SIMPLE_ACTION (action),
num_notebooks > 1);
- action = g_action_map_lookup_action (G_ACTION_MAP (window), "next_tab_group");
+ action = g_action_map_lookup_action (G_ACTION_MAP (window), "next-tab-group");
g_simple_action_set_enabled (G_SIMPLE_ACTION (action),
num_notebooks > 1);
- action = g_action_map_lookup_action (G_ACTION_MAP (window), "highlight_mode");
+ action = g_action_map_lookup_action (G_ACTION_MAP (window), "highlight-mode");
g_simple_action_set_enabled (G_SIMPLE_ACTION (action), num_tabs > 0);
/* Do not set close action insensitive on OS X */
@@ -2623,7 +2621,7 @@ side_panel_visibility_changed (GtkWidget *panel,
visible);
/* sync the action state if the panel visibility was changed programmatically */
- action = g_action_map_lookup_action (G_ACTION_MAP (window), "side_panel");
+ action = g_action_map_lookup_action (G_ACTION_MAP (window), "side-panel");
g_simple_action_set_state (G_SIMPLE_ACTION (action), g_variant_new_boolean (visible));
/* focus the right widget and set the right styles */
@@ -2703,7 +2701,7 @@ bottom_panel_visibility_changed (GtkWidget *panel_box,
visible);
/* sync the action state if the panel visibility was changed programmatically */
- action = g_action_map_lookup_action (G_ACTION_MAP (window), "bottom_panel");
+ action = g_action_map_lookup_action (G_ACTION_MAP (window), "bottom-panel");
g_simple_action_set_state (G_SIMPLE_ACTION (action), g_variant_new_boolean (visible));
/* focus the right widget */
@@ -2729,7 +2727,7 @@ bottom_panel_item_removed (GtkStack *panel,
gtk_widget_set_visible (window->priv->bottom_panel_box, !empty);
- action = g_action_map_lookup_action (G_ACTION_MAP (window), "bottom_panel");
+ action = g_action_map_lookup_action (G_ACTION_MAP (window), "bottom-panel");
g_simple_action_set_enabled (G_SIMPLE_ACTION (action), !empty);
}
@@ -2830,7 +2828,7 @@ init_panels_visibility (GeditWindow *window)
{
GAction *action;
- action = g_action_map_lookup_action (G_ACTION_MAP (window), "bottom_panel");
+ action = g_action_map_lookup_action (G_ACTION_MAP (window), "bottom-panel");
g_simple_action_set_enabled (G_SIMPLE_ACTION (action), FALSE);
}
@@ -2916,39 +2914,39 @@ extension_removed (PeasExtensionSet *extensions,
}
static GActionEntry win_entries[] = {
- { "new_tab", _gedit_cmd_file_new },
+ { "new-tab", _gedit_cmd_file_new },
{ "open", _gedit_cmd_file_open },
{ "revert", _gedit_cmd_file_revert },
{ "save", _gedit_cmd_file_save },
- { "save_as", _gedit_cmd_file_save_as },
- { "save_all", _gedit_cmd_file_save_all },
+ { "save-as", _gedit_cmd_file_save_as },
+ { "save-all", _gedit_cmd_file_save_all },
{ "close", _gedit_cmd_file_close },
- { "close_all", _gedit_cmd_file_close_all },
+ { "close-all", _gedit_cmd_file_close_all },
{ "print", _gedit_cmd_file_print },
- { "side_panel", NULL, NULL, "false", _gedit_cmd_view_toggle_side_panel },
- { "bottom_panel", NULL, NULL, "false", _gedit_cmd_view_toggle_bottom_panel },
+ { "side-panel", NULL, NULL, "false", _gedit_cmd_view_toggle_side_panel },
+ { "bottom-panel", NULL, NULL, "false", _gedit_cmd_view_toggle_bottom_panel },
{ "fullscreen", NULL, NULL, "false", _gedit_cmd_view_toggle_fullscreen_mode },
- { "leave_fullscreen", _gedit_cmd_view_leave_fullscreen_mode },
+ { "leave-fullscreen", _gedit_cmd_view_leave_fullscreen_mode },
{ "find", _gedit_cmd_search_find },
- { "find_next", _gedit_cmd_search_find_next },
- { "find_prev", _gedit_cmd_search_find_prev },
+ { "find-next", _gedit_cmd_search_find_next },
+ { "find-prev", _gedit_cmd_search_find_prev },
{ "replace", _gedit_cmd_search_replace },
- { "clear_highlight", _gedit_cmd_search_clear_highlight },
- { "goto_line", _gedit_cmd_search_goto_line },
- { "new_tab_group", _gedit_cmd_documents_new_tab_group },
- { "previous_tab_group", _gedit_cmd_documents_previous_tab_group },
- { "next_tab_group", _gedit_cmd_documents_next_tab_group },
- { "previous_document", _gedit_cmd_documents_previous_document },
- { "next_document", _gedit_cmd_documents_next_document },
- { "move_to_new_window", _gedit_cmd_documents_move_to_new_window },
+ { "clear-highlight", _gedit_cmd_search_clear_highlight },
+ { "goto-line", _gedit_cmd_search_goto_line },
+ { "new-tab-group", _gedit_cmd_documents_new_tab_group },
+ { "previous-tab-group", _gedit_cmd_documents_previous_tab_group },
+ { "next-tab-group", _gedit_cmd_documents_next_tab_group },
+ { "previous-document", _gedit_cmd_documents_previous_document },
+ { "next-document", _gedit_cmd_documents_next_document },
+ { "move-to-new-window", _gedit_cmd_documents_move_to_new_window },
{ "undo", _gedit_cmd_edit_undo },
{ "redo", _gedit_cmd_edit_redo },
{ "cut", _gedit_cmd_edit_cut },
{ "copy", _gedit_cmd_edit_copy },
{ "paste", _gedit_cmd_edit_paste },
{ "delete", _gedit_cmd_edit_delete },
- { "select_all", _gedit_cmd_edit_select_all },
- { "highlight_mode", _gedit_cmd_view_highlight_mode }
+ { "select-all", _gedit_cmd_edit_select_all },
+ { "highlight-mode", _gedit_cmd_view_highlight_mode }
};
static void
diff --git a/gedit/gedit-window.ui b/gedit/gedit-window.ui
index e113781..a1e94c8 100644
--- a/gedit/gedit-window.ui
+++ b/gedit/gedit-window.ui
@@ -13,11 +13,11 @@
</item>
<item>
<attribute name="label" translatable="yes">_Save As…</attribute>
- <attribute name="action">win.save_as</attribute>
+ <attribute name="action">win.save-as</attribute>
</item>
<item>
<attribute name="label" translatable="yes">Save _All</attribute>
- <attribute name="action">win.save_all</attribute>
+ <attribute name="action">win.save-all</attribute>
</item>
</section>
<section>
@@ -37,11 +37,11 @@
<attribute name="id">ext6</attribute>
<item>
<attribute name="label" translatable="yes">Side _Panel</attribute>
- <attribute name="action">win.side_panel</attribute>
+ <attribute name="action">win.side-panel</attribute>
</item>
<item>
<attribute name="label" translatable="yes">_Bottom Panel</attribute>
- <attribute name="action">win.bottom_panel</attribute>
+ <attribute name="action">win.bottom-panel</attribute>
<attribute name="hidden-when">action-disabled</attribute>
</item>
<item>
@@ -64,11 +64,11 @@
</item>
<item>
<attribute name="label" translatable="yes">_Clear Highlight</attribute>
- <attribute name="action">win.clear_highlight</attribute>
+ <attribute name="action">win.clear-highlight</attribute>
</item>
<item>
<attribute name="label" translatable="yes">_Go to Line…</attribute>
- <attribute name="action">win.goto_line</attribute>
+ <attribute name="action">win.goto-line</attribute>
</item>
</section>
<section>
@@ -78,7 +78,7 @@
<attribute name="id">ext10</attribute>
<item>
<attribute name="label" translatable="yes">_Highlight Mode…</attribute>
- <attribute name="action">win.highlight_mode</attribute>
+ <attribute name="action">win.highlight-mode</attribute>
</item>
</section>
<section>
@@ -91,7 +91,7 @@
<attribute name="id">ext13</attribute>
<item>
<attribute name="label" translatable="yes">_Close All</attribute>
- <attribute name="action">win.close_all</attribute>
+ <attribute name="action">win.close-all</attribute>
</item>
<item>
<attribute name="label" translatable="yes">_Close</attribute>
@@ -111,11 +111,11 @@
</item>
<item>
<attribute name="label" translatable="yes">_Save As…</attribute>
- <attribute name="action">win.save_as</attribute>
+ <attribute name="action">win.save-as</attribute>
</item>
<item>
<attribute name="label" translatable="yes">Save _All</attribute>
- <attribute name="action">win.save_all</attribute>
+ <attribute name="action">win.save-all</attribute>
</item>
</section>
<section>
@@ -135,11 +135,11 @@
<attribute name="id">ext6</attribute>
<item>
<attribute name="label" translatable="yes">Side _Panel</attribute>
- <attribute name="action">win.side_panel</attribute>
+ <attribute name="action">win.side-panel</attribute>
</item>
<item>
<attribute name="label" translatable="yes">_Bottom Panel</attribute>
- <attribute name="action">win.bottom_panel</attribute>
+ <attribute name="action">win.bottom-panel</attribute>
<attribute name="hidden-when">action-disabled</attribute>
</item>
<item>
@@ -162,11 +162,11 @@
</item>
<item>
<attribute name="label" translatable="yes">_Clear Highlight</attribute>
- <attribute name="action">win.clear_highlight</attribute>
+ <attribute name="action">win.clear-highlight</attribute>
</item>
<item>
<attribute name="label" translatable="yes">_Go to Line…</attribute>
- <attribute name="action">win.goto_line</attribute>
+ <attribute name="action">win.goto-line</attribute>
</item>
</section>
<section>
@@ -176,7 +176,7 @@
<attribute name="id">ext10</attribute>
<item>
<attribute name="label" translatable="yes">_Highlight Mode…</attribute>
- <attribute name="action">win.highlight_mode</attribute>
+ <attribute name="action">win.highlight-mode</attribute>
</item>
</section>
<section>
@@ -201,7 +201,7 @@
<attribute name="id">ext13</attribute>
<item>
<attribute name="label" translatable="yes">_Close All</attribute>
- <attribute name="action">win.close_all</attribute>
+ <attribute name="action">win.close-all</attribute>
</item>
<item>
<attribute name="label" translatable="yes">_Close</attribute>
@@ -289,7 +289,7 @@
<property name="visible">True</property>
<property name="valign">center</property>
<property name="tooltip_text" translatable="yes">Create a new document</property>
- <property name="action_name">win.new_tab</property>
+ <property name="action_name">win.new-tab</property>
<style>
<class name="image-button"/>
</style>
@@ -439,7 +439,7 @@
<property name="visible">True</property>
<property name="relief">none</property>
<property name="tooltip-text" translatable="True">Hide panel</property>
- <property name="action_name">win.bottom_panel</property>
+ <property name="action_name">win.bottom-panel</property>
</object>
<packing>
<property name="expand">False</property>
@@ -560,7 +560,7 @@
<property name="visible">True</property>
<property name="valign">center</property>
<property name="tooltip_text" translatable="yes">Leave Fullscreen</property>
- <property name="action_name">win.leave_fullscreen</property>
+ <property name="action_name">win.leave-fullscreen</property>
<style>
<class name="image-button"/>
</style>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]