From 0c216e68f68ec545c25fa93a707210903aa67ef9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Arreola=20Rodr=C3=ADguez?= Date: Sat, 17 Jul 2021 22:41:15 -0500 Subject: [PATCH] Cambio algunos nombres "mate" por "gatuno". --- src/profile-editor.c | 2 +- src/terminal-accels.c | 2 +- src/terminal-encoding.c | 4 ++-- src/terminal-options.c | 12 ++++++------ src/terminal-window.c | 17 +++++++++-------- 5 files changed, 19 insertions(+), 18 deletions(-) diff --git a/src/profile-editor.c b/src/profile-editor.c index fc13235..3bf313b 100644 --- a/src/profile-editor.c +++ b/src/profile-editor.c @@ -567,7 +567,7 @@ editor_response_cb (GtkWidget *editor, { if (response == GTK_RESPONSE_HELP) { - terminal_util_show_help ("mate-terminal-prefs", GTK_WINDOW (editor)); + terminal_util_show_help ("gatuno-terminal-prefs", GTK_WINDOW (editor)); return; } diff --git a/src/terminal-accels.c b/src/terminal-accels.c index 030e7ff..da6b734 100644 --- a/src/terminal-accels.c +++ b/src/terminal-accels.c @@ -925,7 +925,7 @@ edit_keys_dialog_response_cb (GtkWidget *editor, { if (response == GTK_RESPONSE_HELP) { - terminal_util_show_help ("mate-terminal-shortcuts", GTK_WINDOW (editor)); + terminal_util_show_help ("gatuno-terminal-shortcuts", GTK_WINDOW (editor)); return; } diff --git a/src/terminal-encoding.c b/src/terminal-encoding.c index d24972c..12f6edd 100644 --- a/src/terminal-encoding.c +++ b/src/terminal-encoding.c @@ -317,7 +317,7 @@ response_callback (GtkWidget *window, EncodingDialogData *data) { if (id == GTK_RESPONSE_HELP) - terminal_util_show_help ("mate-terminal-encoding-add", GTK_WINDOW (window)); + terminal_util_show_help ("gatuno-terminal-encoding-add", GTK_WINDOW (window)); else gtk_widget_destroy (GTK_WIDGET (window)); } @@ -489,7 +489,7 @@ terminal_encoding_dialog_show (GtkWindow *transient_parent) g_object_set_data_full (G_OBJECT (data->dialog), "GT::Data", data, (GDestroyNotify) encoding_dialog_data_free); gtk_window_set_transient_for (GTK_WINDOW (data->dialog), transient_parent); - gtk_window_set_role (GTK_WINDOW (data->dialog), "mate-terminal-encodings"); + gtk_window_set_role (GTK_WINDOW (data->dialog), "gatuno-terminal-encodings"); g_signal_connect (data->dialog, "response", G_CALLBACK (response_callback), data); diff --git a/src/terminal-options.c b/src/terminal-options.c index 7b16edb..28e8556 100644 --- a/src/terminal-options.c +++ b/src/terminal-options.c @@ -173,7 +173,7 @@ unsupported_option_callback (const gchar *option_name, gpointer data, GError **error) { - g_printerr (_("Option \"%s\" is no longer supported in this version of mate-terminal;" + g_printerr (_("Option \"%s\" is no longer supported in this version of gatuno-terminal;" " you might want to create a profile with the desired setting, and use" " the new '--profile' option\n"), option_name); return TRUE; /* we do not want to bail out here but continue */ @@ -186,7 +186,7 @@ option_version_cb (const gchar *option_name, gpointer data, GError **error) { - g_print ("%s %s\n", _("MATE Terminal"), VERSION); + g_print ("%s %s\n", _("Gatuno Terminal"), VERSION); exit (EXIT_SUCCESS); } @@ -1363,11 +1363,11 @@ get_goption_context (TerminalOptions *options) context = g_option_context_new (NULL); g_option_context_set_translation_domain (context, GETTEXT_PACKAGE); - g_option_context_set_description (context, N_("MATE Terminal Emulator")); + g_option_context_set_description (context, N_("Gatuno Terminal Emulator")); - group = g_option_group_new ("mate-terminal", - N_("MATE Terminal Emulator"), - N_("Show MATE Terminal options"), + group = g_option_group_new ("gatuno-terminal", + N_("Gatuno Terminal Emulator"), + N_("Show Gatuno Terminal options"), options, NULL); g_option_group_set_translation_domain (group, GETTEXT_PACKAGE); diff --git a/src/terminal-window.c b/src/terminal-window.c index f6c099f..5612e89 100644 --- a/src/terminal-window.c +++ b/src/terminal-window.c @@ -2146,7 +2146,7 @@ terminal_window_init (TerminalWindow *window) GtkStyleContext *context; context = gtk_widget_get_style_context (GTK_WIDGET (window)); - gtk_style_context_add_class (context, "mate-terminal"); + gtk_style_context_add_class (context, "gatuno-terminal"); gtk_window_set_title (GTK_WINDOW (window), _("Terminal")); @@ -2161,7 +2161,7 @@ terminal_window_init (TerminalWindow *window) gtk_notebook_set_scrollable (GTK_NOTEBOOK (priv->notebook), TRUE); gtk_notebook_set_show_border (GTK_NOTEBOOK (priv->notebook), FALSE); gtk_notebook_set_show_tabs (GTK_NOTEBOOK (priv->notebook), FALSE); - gtk_notebook_set_group_name (GTK_NOTEBOOK (priv->notebook), I_("mate-terminal-window")); + gtk_notebook_set_group_name (GTK_NOTEBOOK (priv->notebook), I_("gatuno-terminal-window")); g_signal_connect (priv->notebook, "button-press-event", G_CALLBACK (notebook_button_press_cb), NULL); g_signal_connect (window, "key-press-event", @@ -2271,7 +2271,7 @@ terminal_window_init (TerminalWindow *window) gtk_window_group_add_window (window_group, GTK_WINDOW (window)); g_object_unref (window_group); - terminal_util_set_unique_role (GTK_WINDOW (window), "mate-terminal-window"); + terminal_util_set_unique_role (GTK_WINDOW (window), "gatuno-terminal-window"); } static void @@ -4188,7 +4188,7 @@ terminal_set_title_callback (GtkAction *action, gtk_window_set_title (GTK_WINDOW (dialog), _("Set Title")); gtk_window_set_resizable (GTK_WINDOW (dialog), FALSE); - gtk_window_set_role (GTK_WINDOW (dialog), "mate-terminal-change-title"); + gtk_window_set_role (GTK_WINDOW (dialog), "gatuno-terminal-change-title"); gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK); /* Alternative button order was set automatically by GtkMessageDialog */ @@ -4356,7 +4356,8 @@ help_about_callback (GtkAction *action, "Copyright © 2006 Guilherme de S. Pastore\n" "Copyright © 2007–2010 Christian Persch\n" "Copyright © 2011 Perberos\n" - "Copyright © 2012-2019 MATE developers"; + "Copyright © 2012-2019 MATE developers\n" + "Copyright © 2021 Gatuno\n"; char *licence_text; GBytes *bytes; const guint8 *data; @@ -4410,9 +4411,9 @@ help_about_callback (GtkAction *action, licence_text = terminal_util_get_licence_text (); gtk_show_about_dialog (GTK_WINDOW (window), - "program-name", _("MATE Terminal"), + "program-name", _("Gatuno Terminal"), "copyright", copyright, - "comments", _("A terminal emulator for the MATE desktop"), + "comments", _("A terminal emulator for the desktop"), "version", VERSION, "authors", array_strv, "artists", artists, @@ -4421,7 +4422,7 @@ help_about_callback (GtkAction *action, "wrap-license", TRUE, "translator-credits", _("translator-credits"), "logo-icon-name", MATE_TERMINAL_ICON_NAME, - "website", "http://www.mate-desktop.org", + "website", "http://git.gatuno.mx/gatuno/gatuno-terminal", NULL); g_strfreev (array_strv);