Commit 6c62029d authored by Sébastien Wilmet's avatar Sébastien Wilmet
Browse files

LaTeX commands: rename GAction without-braces -> with-space

parent 671414d6
......@@ -517,7 +517,7 @@ public class LatexMenu : Gtk.ActionGroup
this, "ListEnvDescription");
Amtk.utils_bind_g_action_to_gtk_action (main_window, "latex-command-list-env-list",
this, "ListEnvList");
Amtk.utils_bind_g_action_to_gtk_action (main_window, "latex-command-without-braces::item",
Amtk.utils_bind_g_action_to_gtk_action (main_window, "latex-command-with-space::item",
this, "ListEnvItem");
// LaTeX: character sizes
......@@ -588,9 +588,9 @@ public class LatexMenu : Gtk.ActionGroup
this, "TabularTabular");
Amtk.utils_bind_g_action_to_gtk_action (main_window, "latex-command-tabular-multicolumn",
this, "TabularMulticolumn");
Amtk.utils_bind_g_action_to_gtk_action (main_window, "latex-command-without-braces::hline",
Amtk.utils_bind_g_action_to_gtk_action (main_window, "latex-command-with-space::hline",
this, "TabularHline");
Amtk.utils_bind_g_action_to_gtk_action (main_window, "latex-command-without-braces::vline",
Amtk.utils_bind_g_action_to_gtk_action (main_window, "latex-command-with-space::vline",
this, "TabularVline");
Amtk.utils_bind_g_action_to_gtk_action (main_window, "latex-command-tabular-cline",
this, "TabularCline");
......@@ -612,15 +612,15 @@ public class LatexMenu : Gtk.ActionGroup
this, "SpacingLineBreak");
Amtk.utils_bind_g_action_to_gtk_action (main_window, "latex-command-with-newline::pagebreak",
this, "SpacingPageBreak");
Amtk.utils_bind_g_action_to_gtk_action (main_window, "latex-command-without-braces::bigskip",
Amtk.utils_bind_g_action_to_gtk_action (main_window, "latex-command-with-space::bigskip",
this, "SpacingBigSkip");
Amtk.utils_bind_g_action_to_gtk_action (main_window, "latex-command-without-braces::medskip",
Amtk.utils_bind_g_action_to_gtk_action (main_window, "latex-command-with-space::medskip",
this, "SpacingMedSkip");
Amtk.utils_bind_g_action_to_gtk_action (main_window, "latex-command-with-braces::hspace",
this, "SpacingHSpace");
Amtk.utils_bind_g_action_to_gtk_action (main_window, "latex-command-with-braces::vspace",
this, "SpacingVSpace");
Amtk.utils_bind_g_action_to_gtk_action (main_window, "latex-command-without-braces::noindent",
Amtk.utils_bind_g_action_to_gtk_action (main_window, "latex-command-with-space::noindent",
this, "SpacingNoIndent");
// LaTeX: International accents
......
......@@ -202,9 +202,9 @@ latex_command_with_braces_cb (GSimpleAction *action,
}
static void
latex_command_without_braces_cb (GSimpleAction *action,
GVariant *parameter,
gpointer user_data)
latex_command_with_space_cb (GSimpleAction *action,
GVariant *parameter,
gpointer user_data)
{
TeplApplicationWindow *tepl_window = TEPL_APPLICATION_WINDOW (user_data);
const gchar *command;
......@@ -606,7 +606,7 @@ latexila_latex_commands_add_actions (GtkApplicationWindow *gtk_window)
const GActionEntry entries[] = {
{ "latex-command-simple", latex_command_simple_cb, "s" },
{ "latex-command-with-braces", latex_command_with_braces_cb, "s" },
{ "latex-command-without-braces", latex_command_without_braces_cb, "s" },
{ "latex-command-with-space", latex_command_with_space_cb, "s" },
{ "latex-command-with-newline", latex_command_with_newline_cb, "s" },
{ "latex-command-env-simple", latex_command_env_simple_cb, "s" },
{ "latex-command-env-figure", latex_command_env_figure_cb },
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment