2019-03-29 18:08:38 +00:00
From 8f5870fcc2a63b4ea64c6fc9aa245564bc281ad7 Mon Sep 17 00:00:00 2001
2016-11-08 12:04:35 +00:00
From: Debarshi Ray <debarshir@gnome.org>
Date: Mon, 12 May 2014 14:57:18 +0200
2019-03-29 17:55:04 +00:00
Subject: [PATCH 01/15] Restore transparency
2016-11-08 12:04:35 +00:00
The transparency settings were removed as a side effect of
2bff4b63ed3ceef6055e35563e9b0b33ad57349d
This restores them and you will need a compositing window manager to
use it. The background image setting, also known as faux transparency,
was not restored.
The transparency checkbox lost its mnemonic accelerator because 't'
is already taken and using any other letter would make it hard to
restore the translations of the string.
2018-04-12 17:21:08 +00:00
Some changes by Peter Weber <peter.weber@mailbox.org>
2016-11-08 12:04:35 +00:00
---
2018-10-26 07:06:33 +00:00
src/org.gnome.Terminal.gschema.xml | 10 +++++++
src/preferences.ui | 47 ++++++++++++++++++++++++++++++
src/profile-editor.c | 16 ++++++++++
src/terminal-schemas.h | 3 ++
src/terminal-screen.c | 22 +++++++++++++-
src/terminal-window.c | 7 +++++
2018-04-12 17:21:08 +00:00
6 files changed, 104 insertions(+), 1 deletion(-)
2016-11-08 12:04:35 +00:00
diff --git a/src/org.gnome.Terminal.gschema.xml b/src/org.gnome.Terminal.gschema.xml
2019-03-29 17:55:04 +00:00
index e4e0c003b281..1b0fb22b7d46 100644
2016-11-08 12:04:35 +00:00
--- a/src/org.gnome.Terminal.gschema.xml
+++ b/src/org.gnome.Terminal.gschema.xml
2019-02-19 10:36:17 +00:00
@@ -395,6 +395,16 @@
2016-11-08 12:04:35 +00:00
<default>'narrow'</default>
<summary>Whether ambiguous-width characters are narrow or wide when using UTF-8 encoding</summary>
</key>
+ <key name="use-transparent-background" type="b">
+ <default>false</default>
+ <summary>Whether to use a transparent background</summary>
+ </key>
+ <key name="background-transparency-percent" type="i">
+ <default>50</default>
+ <range min="0" max="100"/>
+ <summary>Adjust the amount of transparency</summary>
+ <description>A value between 0 and 100, where 0 is opaque and 100 is fully transparent.</description>
+ </key>
</schema>
<!-- Keybinding settings -->
2018-04-12 17:21:08 +00:00
diff --git a/src/preferences.ui b/src/preferences.ui
2019-02-19 10:36:17 +00:00
index 4788959aeec0..47f1cf8abce2 100644
2018-04-12 17:21:08 +00:00
--- a/src/preferences.ui
+++ b/src/preferences.ui
@@ -77,6 +77,11 @@
2018-04-06 16:27:27 +00:00
<property name="step_increment">0.05</property>
<property name="page_increment">0.25</property>
2016-11-08 12:04:35 +00:00
</object>
+ <object class="GtkAdjustment" id="background-transparent-adjustment">
+ <property name="upper">100</property>
+ <property name="step_increment">1</property>
+ <property name="page_increment">10</property>
+ </object>
<object class="GtkListStore" id="cjk-ambiguous-width-model">
<columns>
<!-- column-name gchararray -->
2018-04-12 17:21:08 +00:00
@@ -1317,6 +1322,48 @@
<property name="position">1</property>
</packing>
</child>
+ <child>
+ <object class="GtkBox" id="use-transparent-background-box">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="orientation">horizontal</property>
+ <property name="spacing">12</property>
+ <child>
+ <object class="GtkCheckButton" id="use-transparent-background">
+ <property name="label" translatable="yes">Transparent background</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_underline">True</property>
+ <property name="xalign">0</property>
+ <property name="draw_indicator">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkScale" id="background-transparent-scale">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="adjustment">background-transparent-adjustment</property>
+ <property name="draw_value">False</property>
+ </object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">2</property>
+ </packing>
+ </child>
</object>
</child>
</object>
diff --git a/src/profile-editor.c b/src/profile-editor.c
2019-02-19 10:36:17 +00:00
index 1912c8cf2431..a0081e23a1c5 100644
2018-04-12 17:21:08 +00:00
--- a/src/profile-editor.c
+++ b/src/profile-editor.c
2018-10-05 15:13:32 +00:00
@@ -1254,6 +1254,22 @@ profile_prefs_load (const char *uuid, GSettings *profile)
2018-04-12 17:21:08 +00:00
w,
"active-id",
G_SETTINGS_BIND_GET | G_SETTINGS_BIND_SET);
+
+ profile_prefs_settings_bind (profile,
+ TERMINAL_PROFILE_USE_TRANSPARENT_BACKGROUND,
+ gtk_builder_get_object (builder, "use-transparent-background"),
+ "active",
+ G_SETTINGS_BIND_GET | G_SETTINGS_BIND_SET);
+ profile_prefs_settings_bind (profile,
+ TERMINAL_PROFILE_USE_TRANSPARENT_BACKGROUND,
+ gtk_builder_get_object (builder, "background-transparent-scale"),
+ "sensitive",
+ G_SETTINGS_BIND_GET | G_SETTINGS_BIND_NO_SENSITIVITY);
+ profile_prefs_settings_bind (profile,
+ TERMINAL_PROFILE_BACKGROUND_TRANSPARENCY_PERCENT,
+ gtk_builder_get_object (builder, "background-transparent-adjustment"),
+ "value",
+ G_SETTINGS_BIND_GET | G_SETTINGS_BIND_SET);
}
/* Called once per Preferences window, to destroy stuff that doesn't depend on the profile being edited */
2016-11-08 12:04:35 +00:00
diff --git a/src/terminal-schemas.h b/src/terminal-schemas.h
2019-02-19 10:36:17 +00:00
index ef30bd595374..a386938b64c5 100644
2016-11-08 12:04:35 +00:00
--- a/src/terminal-schemas.h
+++ b/src/terminal-schemas.h
2018-04-06 16:27:27 +00:00
@@ -73,6 +73,9 @@ G_BEGIN_DECLS
2016-11-08 12:04:35 +00:00
#define TERMINAL_PROFILE_VISIBLE_NAME_KEY "visible-name"
#define TERMINAL_PROFILE_WORD_CHAR_EXCEPTIONS_KEY "word-char-exceptions"
+#define TERMINAL_PROFILE_USE_TRANSPARENT_BACKGROUND "use-transparent-background"
+#define TERMINAL_PROFILE_BACKGROUND_TRANSPARENCY_PERCENT "background-transparency-percent"
+
#define TERMINAL_SETTING_CONFIRM_CLOSE_KEY "confirm-close"
#define TERMINAL_SETTING_DEFAULT_SHOW_MENUBAR_KEY "default-show-menubar"
#define TERMINAL_SETTING_ENABLE_MENU_BAR_ACCEL_KEY "menu-accelerator-enabled"
diff --git a/src/terminal-screen.c b/src/terminal-screen.c
2018-10-05 15:13:32 +00:00
index a85fcefd40e1..26202e4555ea 100644
2016-11-08 12:04:35 +00:00
--- a/src/terminal-screen.c
+++ b/src/terminal-screen.c
2018-10-05 15:13:32 +00:00
@@ -800,7 +800,9 @@ terminal_screen_profile_changed_cb (GSettings *profile,
2016-11-08 12:04:35 +00:00
prop_name == I_(TERMINAL_PROFILE_HIGHLIGHT_COLORS_SET_KEY) ||
prop_name == I_(TERMINAL_PROFILE_HIGHLIGHT_BACKGROUND_COLOR_KEY) ||
prop_name == I_(TERMINAL_PROFILE_HIGHLIGHT_FOREGROUND_COLOR_KEY) ||
- prop_name == I_(TERMINAL_PROFILE_PALETTE_KEY))
+ prop_name == I_(TERMINAL_PROFILE_PALETTE_KEY) ||
+ prop_name == I_(TERMINAL_PROFILE_USE_TRANSPARENT_BACKGROUND) ||
+ prop_name == I_(TERMINAL_PROFILE_BACKGROUND_TRANSPARENCY_PERCENT))
update_color_scheme (screen);
if (!prop_name || prop_name == I_(TERMINAL_PROFILE_AUDIBLE_BELL_KEY))
2018-10-05 15:13:32 +00:00
@@ -877,6 +879,8 @@ update_color_scheme (TerminalScreen *screen)
2016-11-08 12:04:35 +00:00
GdkRGBA *cursor_bgp = NULL, *cursor_fgp = NULL;
GdkRGBA *highlight_bgp = NULL, *highlight_fgp = NULL;
GtkStyleContext *context;
+ GtkWidget *toplevel;
+ gboolean transparent;
gboolean use_theme_colors;
context = gtk_widget_get_style_context (widget);
2018-10-05 15:13:32 +00:00
@@ -918,6 +922,18 @@ update_color_scheme (TerminalScreen *screen)
2016-11-08 12:04:35 +00:00
}
colors = terminal_g_settings_get_rgba_palette (priv->profile, TERMINAL_PROFILE_PALETTE_KEY, &n_colors);
+
+ transparent = g_settings_get_boolean (profile, TERMINAL_PROFILE_USE_TRANSPARENT_BACKGROUND);
+ if (transparent)
+ {
+ gint transparency_percent;
+
+ transparency_percent = g_settings_get_int (profile, TERMINAL_PROFILE_BACKGROUND_TRANSPARENCY_PERCENT);
+ bg.alpha = (100 - transparency_percent) / 100.0;
+ }
+ else
+ bg.alpha = 1.0;
+
vte_terminal_set_colors (VTE_TERMINAL (screen), &fg, &bg,
colors, n_colors);
vte_terminal_set_color_bold (VTE_TERMINAL (screen), boldp);
2018-10-05 15:13:32 +00:00
@@ -925,6 +941,10 @@ update_color_scheme (TerminalScreen *screen)
2016-11-08 12:04:35 +00:00
vte_terminal_set_color_cursor_foreground (VTE_TERMINAL (screen), cursor_fgp);
vte_terminal_set_color_highlight (VTE_TERMINAL (screen), highlight_bgp);
vte_terminal_set_color_highlight_foreground (VTE_TERMINAL (screen), highlight_fgp);
+
+ toplevel = gtk_widget_get_toplevel (GTK_WIDGET (screen));
+ if (toplevel != NULL && gtk_widget_is_toplevel (toplevel))
+ gtk_widget_set_app_paintable (toplevel, transparent);
}
static void
diff --git a/src/terminal-window.c b/src/terminal-window.c
2019-02-19 10:36:17 +00:00
index 1d877a98275b..be6463b6b1b7 100644
2016-11-08 12:04:35 +00:00
--- a/src/terminal-window.c
+++ b/src/terminal-window.c
2019-02-19 10:36:17 +00:00
@@ -2115,6 +2115,8 @@ terminal_window_init (TerminalWindow *window)
2018-04-03 18:03:19 +00:00
};
2016-11-08 12:04:35 +00:00
TerminalWindowPrivate *priv;
TerminalApp *app;
+ GdkScreen *screen;
+ GdkVisual *visual;
GSettings *gtk_debug_settings;
2018-04-03 18:03:19 +00:00
GtkWindowGroup *window_group;
// GtkAccelGroup *accel_group;
2019-02-19 10:36:17 +00:00
@@ -2130,6 +2132,11 @@ terminal_window_init (TerminalWindow *window)
2016-11-08 12:04:35 +00:00
gtk_widget_init_template (GTK_WIDGET (window));
+ screen = gtk_widget_get_screen (GTK_WIDGET (window));
+ visual = gdk_screen_get_rgba_visual (screen);
+ if (visual != NULL)
+ gtk_widget_set_visual (GTK_WIDGET (window), visual);
+
uuid_generate (u);
uuid_unparse (u, uuidstr);
priv->uuid = g_strdup (uuidstr);
--
2019-03-29 17:55:04 +00:00
2.20.1
2016-11-08 12:04:35 +00:00
2019-03-29 18:08:38 +00:00
From 7c18738498c84c522b14262d6b8669f337ebe729 Mon Sep 17 00:00:00 2001
2016-11-08 12:04:35 +00:00
From: Lars Uebernickel <lars.uebernickel@canonical.com>
Date: Wed, 28 May 2014 14:11:02 +0200
2019-03-29 17:55:04 +00:00
Subject: [PATCH 02/15] window: Make the drawing robust across all themes
2016-11-08 12:04:35 +00:00
There are lots of themes out there in the wild that do not specify a
background-color for all widgets and the default is transparent. This
is usually not a problem because GTK+ sets an opaque region on the
whole window and things without a background-color get drawn with the
theme's default background colour. However, to achieve transparency
we disable the opaque region by making the window app-paintable. This
can lead to transparent menubars or notebook tabs in some themes. We
can avoid this by ensuring that the window always renders a background.
https://bugzilla.gnome.org/show_bug.cgi?id=730016
---
src/terminal-window.c | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/src/terminal-window.c b/src/terminal-window.c
2019-02-19 10:36:17 +00:00
index be6463b6b1b7..7d87c2461e36 100644
2016-11-08 12:04:35 +00:00
--- a/src/terminal-window.c
+++ b/src/terminal-window.c
2019-02-19 10:36:17 +00:00
@@ -1969,6 +1969,26 @@ terminal_window_realize (GtkWidget *widget)
2017-09-14 18:04:46 +00:00
terminal_window_update_size (window);
2016-11-08 12:04:35 +00:00
}
2017-09-14 18:04:46 +00:00
+static gboolean
2016-11-08 12:04:35 +00:00
+terminal_window_draw (GtkWidget *widget,
+ cairo_t *cr)
+{
+ if (gtk_widget_get_app_paintable (widget))
+ {
+ GtkStyleContext *context;
+ int width;
+ int height;
+
+ context = gtk_widget_get_style_context (widget);
+ width = gtk_widget_get_allocated_width (widget);
+ height = gtk_widget_get_allocated_height (widget);
+ gtk_render_background (context, cr, 0, 0, width, height);
+ gtk_render_frame (context, cr, 0, 0, width, height);
+ }
+
+ return GTK_WIDGET_CLASS (terminal_window_parent_class)->draw (widget, cr);
+}
+
2017-09-14 18:04:46 +00:00
static gboolean
2016-11-08 12:04:35 +00:00
terminal_window_state_event (GtkWidget *widget,
GdkEventWindowState *event)
2019-02-19 10:36:17 +00:00
@@ -2291,6 +2311,7 @@ terminal_window_class_init (TerminalWindowClass *klass)
2016-11-08 12:04:35 +00:00
widget_class->show = terminal_window_show;
widget_class->realize = terminal_window_realize;
+ widget_class->draw = terminal_window_draw;
widget_class->window_state_event = terminal_window_state_event;
widget_class->screen_changed = terminal_window_screen_changed;
widget_class->style_updated = terminal_window_style_updated;
--
2019-03-29 17:55:04 +00:00
2.20.1
2016-11-08 12:04:35 +00:00
2019-03-29 18:08:38 +00:00
From 20ebad148e7e1fa1bb180daec5449d1a15effe60 Mon Sep 17 00:00:00 2001
2016-11-08 12:04:35 +00:00
From: "Owen W. Taylor" <otaylor@fishsoup.net>
Date: Fri, 13 Nov 2015 15:16:42 +0100
2019-03-29 17:55:04 +00:00
Subject: [PATCH 03/15] screen, window: Extra padding around transparent
2016-11-08 12:04:35 +00:00
terminals in Wayland
https://bugzilla.redhat.com/show_bug.cgi?id=1207943
---
src/terminal-screen.c | 40 +++++++++++++++++++++++++++++++++++++---
src/terminal-window.c | 18 ++++++++++++------
2 files changed, 49 insertions(+), 9 deletions(-)
diff --git a/src/terminal-screen.c b/src/terminal-screen.c
2018-10-05 15:13:32 +00:00
index 26202e4555ea..c0ce8a89126c 100644
2016-11-08 12:04:35 +00:00
--- a/src/terminal-screen.c
+++ b/src/terminal-screen.c
2018-10-05 15:13:32 +00:00
@@ -139,6 +139,8 @@ static void terminal_screen_system_font_changed_cb (GSettings *,
2016-11-08 12:04:35 +00:00
static gboolean terminal_screen_popup_menu (GtkWidget *widget);
static gboolean terminal_screen_button_press (GtkWidget *widget,
GdkEventButton *event);
+static void terminal_screen_hierarchy_changed (GtkWidget *widget,
+ GtkWidget *previous_toplevel);
static gboolean terminal_screen_do_exec (TerminalScreen *screen,
FDSetupData *data,
GError **error);
2018-10-05 15:13:32 +00:00
@@ -475,6 +477,7 @@ terminal_screen_class_init (TerminalScreenClass *klass)
2016-11-08 12:04:35 +00:00
widget_class->drag_data_received = terminal_screen_drag_data_received;
widget_class->button_press_event = terminal_screen_button_press;
widget_class->popup_menu = terminal_screen_popup_menu;
+ widget_class->hierarchy_changed = terminal_screen_hierarchy_changed;
terminal_class->child_exited = terminal_screen_child_exited;
2018-10-05 15:13:32 +00:00
@@ -864,6 +867,32 @@ terminal_screen_profile_changed_cb (GSettings *profile,
2017-09-14 18:04:46 +00:00
g_object_thaw_notify (object);
2016-11-08 12:04:35 +00:00
}
2017-09-14 18:04:46 +00:00
+static void
2016-11-08 12:04:35 +00:00
+update_toplevel_transparency (TerminalScreen *screen)
+{
+ GtkWidget *widget = GTK_WIDGET (screen);
+ TerminalScreenPrivate *priv = screen->priv;
+ GSettings *profile = priv->profile;
+ GtkWidget *toplevel;
+
+ toplevel = gtk_widget_get_toplevel (widget);
+ if (toplevel != NULL && gtk_widget_is_toplevel (toplevel))
+ {
+ gboolean transparent;
+
+ transparent = g_settings_get_boolean (profile, TERMINAL_PROFILE_USE_TRANSPARENT_BACKGROUND);
+ if (gtk_widget_get_app_paintable (toplevel) != transparent)
+ {
+ gtk_widget_set_app_paintable (toplevel, transparent);
+
+ /* The opaque region of the toplevel isn't updated until the toplevel is allocated;
+ * set_app_paintable() doesn't force an allocation, so do that manually.
+ */
+ gtk_widget_queue_resize (toplevel);
+ }
+ }
+}
+
2017-09-14 18:04:46 +00:00
static void
2016-11-08 12:04:35 +00:00
update_color_scheme (TerminalScreen *screen)
{
2018-10-05 15:13:32 +00:00
@@ -942,9 +971,7 @@ update_color_scheme (TerminalScreen *screen)
2016-11-08 12:04:35 +00:00
vte_terminal_set_color_highlight (VTE_TERMINAL (screen), highlight_bgp);
vte_terminal_set_color_highlight_foreground (VTE_TERMINAL (screen), highlight_fgp);
- toplevel = gtk_widget_get_toplevel (GTK_WIDGET (screen));
- if (toplevel != NULL && gtk_widget_is_toplevel (toplevel))
- gtk_widget_set_app_paintable (toplevel, transparent);
+ update_toplevel_transparency (screen);
}
static void
2018-10-05 15:13:32 +00:00
@@ -1549,6 +1576,13 @@ terminal_screen_do_popup (TerminalScreen *screen,
2016-11-08 12:04:35 +00:00
terminal_screen_popup_info_unref (info);
}
+static void
+terminal_screen_hierarchy_changed (GtkWidget *widget,
+ GtkWidget *previous_toplevel)
+{
+ update_toplevel_transparency (TERMINAL_SCREEN (widget));
+}
+
static gboolean
terminal_screen_button_press (GtkWidget *widget,
GdkEventButton *event)
diff --git a/src/terminal-window.c b/src/terminal-window.c
2019-02-19 10:36:17 +00:00
index 7d87c2461e36..2aba397fe922 100644
2016-11-08 12:04:35 +00:00
--- a/src/terminal-window.c
+++ b/src/terminal-window.c
2019-02-19 10:36:17 +00:00
@@ -1975,15 +1975,21 @@ terminal_window_draw (GtkWidget *widget,
2016-11-08 12:04:35 +00:00
{
if (gtk_widget_get_app_paintable (widget))
{
+ GtkAllocation child_allocation;
GtkStyleContext *context;
- int width;
- int height;
+ GtkWidget *child;
+
+ /* Get the *child* allocation, so we don't overwrite window borders */
+ child = gtk_bin_get_child (GTK_BIN (widget));
+ gtk_widget_get_allocation (child, &child_allocation);
context = gtk_widget_get_style_context (widget);
- width = gtk_widget_get_allocated_width (widget);
- height = gtk_widget_get_allocated_height (widget);
- gtk_render_background (context, cr, 0, 0, width, height);
- gtk_render_frame (context, cr, 0, 0, width, height);
+ gtk_render_background (context, cr,
+ child_allocation.x, child_allocation.y,
+ child_allocation.width, child_allocation.height);
+ gtk_render_frame (context, cr,
+ child_allocation.x, child_allocation.y,
+ child_allocation.width, child_allocation.height);
}
return GTK_WIDGET_CLASS (terminal_window_parent_class)->draw (widget, cr);
--
2019-03-29 17:55:04 +00:00
2.20.1
2016-11-08 12:04:35 +00:00
2019-03-29 18:08:38 +00:00
From d2c5bd5309e2b4171469784a4923e3c8d2c97b0e Mon Sep 17 00:00:00 2001
2017-02-27 17:03:46 +00:00
From: Debarshi Ray <debarshir@gnome.org>
Date: Mon, 27 Feb 2017 16:53:51 +0100
2019-03-29 17:55:04 +00:00
Subject: [PATCH 04/15] screen: Silence -Wunused variable
2017-02-27 17:03:46 +00:00
https://bugzilla.redhat.com/show_bug.cgi?id=1207943
---
src/terminal-screen.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/terminal-screen.c b/src/terminal-screen.c
2018-10-05 15:13:32 +00:00
index c0ce8a89126c..1b763a3890dd 100644
2017-02-27 17:03:46 +00:00
--- a/src/terminal-screen.c
+++ b/src/terminal-screen.c
2018-10-05 15:13:32 +00:00
@@ -908,7 +908,6 @@ update_color_scheme (TerminalScreen *screen)
2017-02-27 17:03:46 +00:00
GdkRGBA *cursor_bgp = NULL, *cursor_fgp = NULL;
GdkRGBA *highlight_bgp = NULL, *highlight_fgp = NULL;
GtkStyleContext *context;
- GtkWidget *toplevel;
gboolean transparent;
gboolean use_theme_colors;
--
2019-03-29 17:55:04 +00:00
2.20.1
2017-02-27 17:03:46 +00:00
2019-03-29 18:08:38 +00:00
From 25f6d4f2c771440abf3623e001cfd2eca9f7b5f0 Mon Sep 17 00:00:00 2001
2016-11-08 12:04:35 +00:00
From: Debarshi Ray <debarshir@gnome.org>
Date: Tue, 27 Jan 2015 18:40:13 +0100
2019-03-29 17:55:04 +00:00
Subject: [PATCH 05/15] Support desktop notifications from OSC 777
2016-11-08 12:04:35 +00:00
https://bugzilla.gnome.org/show_bug.cgi?id=711059
---
2018-10-26 07:06:33 +00:00
src/terminal-app.c | 32 ++++++++++++
src/terminal-screen.c | 108 +++++++++++++++++++++++++++++++++++++++
src/terminal-tab-label.c | 28 +++++++++-
2016-11-08 12:04:35 +00:00
src/terminal-tab-label.h | 4 ++
4 files changed, 171 insertions(+), 1 deletion(-)
diff --git a/src/terminal-app.c b/src/terminal-app.c
2019-03-29 17:55:04 +00:00
index ab1c81a6b554..34c53f40904b 100644
2016-11-08 12:04:35 +00:00
--- a/src/terminal-app.c
+++ b/src/terminal-app.c
2019-03-29 17:55:04 +00:00
@@ -747,6 +747,31 @@ app_menu_quit_cb (GSimpleAction *action,
2016-11-08 12:04:35 +00:00
gtk_widget_destroy (GTK_WIDGET (window));
}
+/* Other action callbacks */
+
+static void
+action_activate_tab_cb (GSimpleAction *action,
+ GVariant *parameter,
+ gpointer user_data)
+{
+ GtkApplication *application = user_data;
+ GtkWidget *toplevel;
+ TerminalScreen *screen;
+ const char *uuid;
+
+ g_variant_get (parameter, "&s", &uuid);
+ screen = terminal_app_get_screen_by_uuid (TERMINAL_APP (application), uuid);
+ if (screen == NULL)
+ return;
+
+ toplevel = gtk_widget_get_toplevel (GTK_WIDGET (screen));
+ if (!gtk_widget_is_toplevel (toplevel))
+ return;
+
+ terminal_window_switch_screen (TERMINAL_WINDOW (toplevel), screen);
+ gtk_window_present (GTK_WINDOW (toplevel));
+}
+
/* Class implementation */
G_DEFINE_TYPE (TerminalApp, terminal_app, GTK_TYPE_APPLICATION)
2019-03-29 17:55:04 +00:00
@@ -770,6 +795,10 @@ terminal_app_startup (GApplication *application)
2016-11-08 12:04:35 +00:00
{ "quit", app_menu_quit_cb, NULL, NULL, NULL }
};
+ const GActionEntry other_actions[] = {
+ { "activate-tab", action_activate_tab_cb, "s", NULL, NULL }
+ };
+
g_application_set_resource_base_path (application, TERMINAL_RESOURCES_PATH_PREFIX);
G_APPLICATION_CLASS (terminal_app_parent_class)->startup (application);
2019-03-29 17:55:04 +00:00
@@ -780,6 +809,9 @@ terminal_app_startup (GApplication *application)
2016-11-08 12:04:35 +00:00
g_action_map_add_action_entries (G_ACTION_MAP (application),
2018-04-03 18:03:19 +00:00
action_entries, G_N_ELEMENTS (action_entries),
2016-11-08 12:04:35 +00:00
application);
+ g_action_map_add_action_entries (G_ACTION_MAP (application),
+ other_actions, G_N_ELEMENTS (other_actions),
+ application);
app_load_css (application);
2018-04-03 18:03:19 +00:00
2016-11-08 12:04:35 +00:00
diff --git a/src/terminal-screen.c b/src/terminal-screen.c
2018-10-05 15:13:32 +00:00
index 1b763a3890dd..ced2cdfe8a30 100644
2016-11-08 12:04:35 +00:00
--- a/src/terminal-screen.c
+++ b/src/terminal-screen.c
2018-04-03 18:03:19 +00:00
@@ -55,6 +55,7 @@
2016-11-08 12:04:35 +00:00
#include "terminal-marshal.h"
#include "terminal-schemas.h"
#include "terminal-screen-container.h"
+#include "terminal-tab-label.h"
#include "terminal-util.h"
#include "terminal-window.h"
#include "terminal-info-bar.h"
2018-04-03 18:03:19 +00:00
@@ -91,6 +92,7 @@ struct _TerminalScreenPrivate
2016-11-08 12:04:35 +00:00
char **initial_env;
char **override_command;
gboolean shell;
+ gboolean shell_prompt_shown;
int child_pid;
GSList *match_tags;
guint launch_child_source_id;
2018-10-05 15:13:32 +00:00
@@ -141,11 +143,16 @@ static gboolean terminal_screen_button_press (GtkWidget *widget,
2016-11-08 12:04:35 +00:00
GdkEventButton *event);
static void terminal_screen_hierarchy_changed (GtkWidget *widget,
GtkWidget *previous_toplevel);
+static gboolean terminal_screen_focus_in (GtkWidget *widget,
+ GdkEventFocus *event);
static gboolean terminal_screen_do_exec (TerminalScreen *screen,
FDSetupData *data,
GError **error);
static void terminal_screen_child_exited (VteTerminal *terminal,
int status);
+static void terminal_screen_notification_received (VteTerminal *terminal,
+ const char *summary,
+ const char *body);
static void terminal_screen_window_title_changed (VteTerminal *vte_terminal,
TerminalScreen *screen);
2018-10-05 15:13:32 +00:00
@@ -472,6 +479,7 @@ terminal_screen_class_init (TerminalScreenClass *klass)
2016-11-08 12:04:35 +00:00
object_class->get_property = terminal_screen_get_property;
object_class->set_property = terminal_screen_set_property;
+ widget_class->focus_in_event = terminal_screen_focus_in;
widget_class->realize = terminal_screen_realize;
widget_class->style_updated = terminal_screen_style_updated;
widget_class->drag_data_received = terminal_screen_drag_data_received;
2018-10-05 15:13:32 +00:00
@@ -480,6 +488,7 @@ terminal_screen_class_init (TerminalScreenClass *klass)
2016-11-08 12:04:35 +00:00
widget_class->hierarchy_changed = terminal_screen_hierarchy_changed;
terminal_class->child_exited = terminal_screen_child_exited;
+ terminal_class->notification_received = terminal_screen_notification_received;
signals[PROFILE_SET] =
g_signal_new (I_("profile-set"),
2018-10-05 15:13:32 +00:00
@@ -575,6 +584,10 @@ terminal_screen_dispose (GObject *object)
2016-11-08 12:04:35 +00:00
TerminalScreen *screen = TERMINAL_SCREEN (object);
TerminalScreenPrivate *priv = screen->priv;
GtkSettings *settings;
+ TerminalApp *app;
+
+ app = terminal_app_get ();
+ g_application_withdraw_notification (G_APPLICATION (app), priv->uuid);
2018-10-05 15:13:32 +00:00
/* Unset child PID so that when an eventual child-exited signal arrives,
* we don't emit "close".
@@ -1664,6 +1677,43 @@ terminal_screen_button_press (GtkWidget *widget,
2016-11-08 12:04:35 +00:00
return FALSE;
}
+static gboolean
+terminal_screen_focus_in (GtkWidget *widget,
+ GdkEventFocus *event)
+{
+ TerminalScreen *screen = TERMINAL_SCREEN (widget);
+ TerminalApp *app;
+ TerminalWindow *window;
+
+ window = terminal_screen_get_window (screen);
+ if (window != NULL)
+ {
+ TerminalScreenContainer *screen_container;
+
+ screen_container = terminal_screen_container_get_from_screen (screen);
+ if (screen_container != NULL)
+ {
+ GtkWidget *mdi_container;
+
+ mdi_container = terminal_window_get_mdi_container (window);
+ /* FIXME: add interface method to retrieve tab label */
+ if (GTK_IS_NOTEBOOK (mdi_container))
+ {
+ GtkWidget *tab_label;
+
+ tab_label = gtk_notebook_get_tab_label (GTK_NOTEBOOK (mdi_container), GTK_WIDGET (screen_container));
+ terminal_tab_label_set_bold (TERMINAL_TAB_LABEL (tab_label), FALSE);
+ terminal_tab_label_set_icon (TERMINAL_TAB_LABEL (tab_label), NULL, NULL);
+ }
+ }
+ }
+
+ app = terminal_app_get ();
+ g_application_withdraw_notification (G_APPLICATION (app), screen->priv->uuid);
+
+ return GTK_WIDGET_CLASS (terminal_screen_parent_class)->focus_in_event (widget, event);
+}
+
/**
* terminal_screen_get_current_dir:
* @screen:
2018-10-05 15:13:32 +00:00
@@ -1760,6 +1810,64 @@ terminal_screen_child_exited (VteTerminal *terminal,
2017-09-14 18:04:46 +00:00
}
2016-11-08 12:04:35 +00:00
}
2017-09-14 18:04:46 +00:00
+static void
2016-11-08 12:04:35 +00:00
+terminal_screen_notification_received (VteTerminal *terminal,
+ const char *summary,
+ const char *body)
+{
+ TerminalScreen *screen = TERMINAL_SCREEN (terminal);
+ TerminalScreenPrivate *priv = screen->priv;
+ TerminalWindow *window;
+
+ if (G_UNLIKELY (!priv->shell_prompt_shown))
+ {
+ priv->shell_prompt_shown = TRUE;
+ return;
+ }
+
+ window = terminal_screen_get_window (screen);
+ if (window == NULL)
+ return;
+
+ if (gtk_window_is_active (GTK_WINDOW (window)))
+ {
+ GtkWidget *mdi_container;
+ TerminalScreenContainer *screen_container;
+
+ if (screen == terminal_window_get_active (window))
+ return;
+
+ screen_container = terminal_screen_container_get_from_screen (screen);
+ if (screen_container == NULL)
+ return;
+
+ mdi_container = terminal_window_get_mdi_container (window);
+ /* FIXME: add interface method to retrieve tab label */
+ if (GTK_IS_NOTEBOOK (mdi_container))
+ {
+ GtkWidget *tab_label;
+
+ tab_label = gtk_notebook_get_tab_label (GTK_NOTEBOOK (mdi_container), GTK_WIDGET (screen_container));
+ terminal_tab_label_set_bold (TERMINAL_TAB_LABEL (tab_label), TRUE);
+ terminal_tab_label_set_icon (TERMINAL_TAB_LABEL (tab_label), "dialog-information-symbolic", summary);
+ }
+ }
+ else
+ {
+ gs_unref_object GNotification *notification = NULL;
+ TerminalApp *app;
+ gs_free char *detailed_action = NULL;
+
+ notification = g_notification_new (summary);
+ g_notification_set_body (notification, body);
+ detailed_action = g_strdup_printf ("app.activate-tab::%s", priv->uuid);
+ g_notification_set_default_action (notification, detailed_action);
+
+ app = terminal_app_get ();
+ g_application_send_notification (G_APPLICATION (app), priv->uuid, notification);
+ }
+}
+
2017-09-14 18:04:46 +00:00
static void
2016-11-08 12:04:35 +00:00
terminal_screen_drag_data_received (GtkWidget *widget,
GdkDragContext *context,
diff --git a/src/terminal-tab-label.c b/src/terminal-tab-label.c
index cdd73d0653be..d6909a13ca65 100644
--- a/src/terminal-tab-label.c
+++ b/src/terminal-tab-label.c
@@ -34,6 +34,7 @@
struct _TerminalTabLabelPrivate
{
TerminalScreen *screen;
+ GtkWidget *icon;
GtkWidget *label;
GtkWidget *close_button;
gboolean bold;
@@ -179,7 +180,7 @@ terminal_tab_label_constructed (GObject *object)
{
TerminalTabLabel *tab_label = TERMINAL_TAB_LABEL (object);
TerminalTabLabelPrivate *priv = tab_label->priv;
- GtkWidget *hbox, *label, *close_button;
+ GtkWidget *hbox, *icon, *label, *close_button;
G_OBJECT_CLASS (terminal_tab_label_parent_class)->constructed (object);
@@ -189,6 +190,10 @@ terminal_tab_label_constructed (GObject *object)
gtk_box_set_spacing (GTK_BOX (hbox), SPACING);
+ priv->icon = icon = gtk_image_new ();
+ gtk_widget_set_no_show_all (icon, TRUE);
+ gtk_box_pack_start (GTK_BOX (hbox), icon, FALSE, FALSE, 0);
+
priv->label = label = gtk_label_new (NULL);
gtk_widget_set_halign (label, GTK_ALIGN_CENTER);
gtk_widget_set_valign (label, GTK_ALIGN_BASELINE);
2017-09-14 18:04:46 +00:00
@@ -376,6 +381,27 @@ terminal_tab_label_set_bold (TerminalTabLabel *tab_label,
pango_attr_list_unref (attr_list);
2016-11-08 12:04:35 +00:00
}
2017-09-14 18:04:46 +00:00
+/**
2016-11-08 12:04:35 +00:00
+ * terminal_tab_label_set_icon:
+ * @tab_label: a #TerminalTabLabel
+ * @icon_name: (allow-none): an icon name
+ * @tooltip: (allow-none): text to be used as tooltip
+ *
+ * Shows an icon at the beginning of @tab_label. If @icon_name is
+ * %NULL, then the icon will be hidden.
+ */
+void
+terminal_tab_label_set_icon (TerminalTabLabel *tab_label,
+ const char *icon_name,
+ const char *tooltip)
+{
+ TerminalTabLabelPrivate *priv = tab_label->priv;
+
+ gtk_widget_set_visible (priv->icon, icon_name != NULL);
+ gtk_image_set_from_icon_name (GTK_IMAGE (priv->icon), icon_name, GTK_ICON_SIZE_MENU);
+ gtk_widget_set_tooltip_text (GTK_WIDGET (priv->icon), tooltip);
+}
+
2017-09-14 18:04:46 +00:00
/**
2016-11-08 12:04:35 +00:00
* terminal_tab_label_get_screen:
* @tab_label: a #TerminalTabLabel
diff --git a/src/terminal-tab-label.h b/src/terminal-tab-label.h
index 20cfbceb36b0..a987025e0524 100644
--- a/src/terminal-tab-label.h
+++ b/src/terminal-tab-label.h
@@ -59,6 +59,10 @@ GtkWidget * terminal_tab_label_new (TerminalScreen *screen);
void terminal_tab_label_set_bold (TerminalTabLabel *tab_label,
gboolean bold);
+void terminal_tab_label_set_icon (TerminalTabLabel *tab_label,
+ const char *icon_name,
+ const char *tooltip);
+
TerminalScreen *terminal_tab_label_get_screen (TerminalTabLabel *tab_label);
G_END_DECLS
--
2019-03-29 17:55:04 +00:00
2.20.1
2016-11-08 12:04:35 +00:00
2019-03-29 18:08:38 +00:00
From 2083a7c75377bc66d8ab697c63a0195a446f7b8c Mon Sep 17 00:00:00 2001
2016-11-08 12:04:35 +00:00
From: Debarshi Ray <debarshir@gnome.org>
Date: Thu, 29 Jan 2015 11:47:21 +0100
2019-03-29 17:55:04 +00:00
Subject: [PATCH 06/15] Sprinkle debug messages for notifications
2016-11-08 12:04:35 +00:00
This can be useful for finding out whether the escape sequence wasn't
emitted or the filtering was faulty.
https://bugzilla.gnome.org/show_bug.cgi?id=711059
---
src/terminal-debug.c | 1 +
src/terminal-debug.h | 3 ++-
src/terminal-screen.c | 6 ++++++
3 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/src/terminal-debug.c b/src/terminal-debug.c
2018-04-03 18:03:19 +00:00
index d08829e93ff4..3748e7edebe7 100644
2016-11-08 12:04:35 +00:00
--- a/src/terminal-debug.c
+++ b/src/terminal-debug.c
@@ -38,6 +38,7 @@ _terminal_debug_init(void)
2018-04-03 18:03:19 +00:00
{ "profile", TERMINAL_DEBUG_PROFILE },
2016-11-08 12:04:35 +00:00
{ "settings-list", TERMINAL_DEBUG_SETTINGS_LIST },
{ "search", TERMINAL_DEBUG_SEARCH },
+ { "notifications", TERMINAL_DEBUG_NOTIFICATIONS },
};
_terminal_debug_flags = g_parse_debug_string (g_getenv ("GNOME_TERMINAL_DEBUG"),
diff --git a/src/terminal-debug.h b/src/terminal-debug.h
2018-04-03 18:03:19 +00:00
index 0fafcc3a846c..af1358683994 100644
2016-11-08 12:04:35 +00:00
--- a/src/terminal-debug.h
+++ b/src/terminal-debug.h
@@ -34,7 +34,8 @@ typedef enum {
2018-04-03 18:03:19 +00:00
TERMINAL_DEBUG_PROCESSES = 1 << 6,
TERMINAL_DEBUG_PROFILE = 1 << 7,
TERMINAL_DEBUG_SETTINGS_LIST = 1 << 8,
2016-11-08 12:04:35 +00:00
- TERMINAL_DEBUG_SEARCH = 1 << 9
+ TERMINAL_DEBUG_SEARCH = 1 << 9,
+ TERMINAL_DEBUG_NOTIFICATIONS = 1 << 10
} TerminalDebugFlags;
void _terminal_debug_init(void);
diff --git a/src/terminal-screen.c b/src/terminal-screen.c
2018-10-05 15:13:32 +00:00
index ced2cdfe8a30..36a9afa3ded9 100644
2016-11-08 12:04:35 +00:00
--- a/src/terminal-screen.c
+++ b/src/terminal-screen.c
2018-10-05 15:13:32 +00:00
@@ -1685,6 +1685,8 @@ terminal_screen_focus_in (GtkWidget *widget,
2016-11-08 12:04:35 +00:00
TerminalApp *app;
TerminalWindow *window;
+ _terminal_debug_print (TERMINAL_DEBUG_NOTIFICATIONS, "Notification withdrawn\n");
+
window = terminal_screen_get_window (screen);
if (window != NULL)
{
2018-10-05 15:13:32 +00:00
@@ -1819,6 +1821,8 @@ terminal_screen_notification_received (VteTerminal *terminal,
2016-11-08 12:04:35 +00:00
TerminalScreenPrivate *priv = screen->priv;
TerminalWindow *window;
+ _terminal_debug_print (TERMINAL_DEBUG_NOTIFICATIONS, "Notification received: [%s]: %s\n", summary, body);
+
if (G_UNLIKELY (!priv->shell_prompt_shown))
{
priv->shell_prompt_shown = TRUE;
2018-10-05 15:13:32 +00:00
@@ -1850,6 +1854,7 @@ terminal_screen_notification_received (VteTerminal *terminal,
2016-11-08 12:04:35 +00:00
tab_label = gtk_notebook_get_tab_label (GTK_NOTEBOOK (mdi_container), GTK_WIDGET (screen_container));
terminal_tab_label_set_bold (TERMINAL_TAB_LABEL (tab_label), TRUE);
terminal_tab_label_set_icon (TERMINAL_TAB_LABEL (tab_label), "dialog-information-symbolic", summary);
+ _terminal_debug_print (TERMINAL_DEBUG_NOTIFICATIONS, "Notify tab\n");
}
}
else
2018-10-05 15:13:32 +00:00
@@ -1865,6 +1870,7 @@ terminal_screen_notification_received (VteTerminal *terminal,
2016-11-08 12:04:35 +00:00
app = terminal_app_get ();
g_application_send_notification (G_APPLICATION (app), priv->uuid, notification);
+ _terminal_debug_print (TERMINAL_DEBUG_NOTIFICATIONS, "Notify desktop\n");
}
}
--
2019-03-29 17:55:04 +00:00
2.20.1
2016-11-08 12:04:35 +00:00
2019-03-29 18:08:38 +00:00
From e304bd989e75e9299c62bcbae51b1313a94f10f8 Mon Sep 17 00:00:00 2001
2016-11-08 12:04:35 +00:00
From: Debarshi Ray <debarshir@gnome.org>
2018-04-12 17:21:08 +00:00
Date: Tue, 10 Apr 2018 15:39:35 +0200
2019-03-29 17:55:04 +00:00
Subject: [PATCH 07/15] profile: Split the Command tab into two nested GtkGrids
2016-11-08 12:04:35 +00:00
2018-04-12 17:21:08 +00:00
This will let the subsequent patch add a "Command" sub-heading to keep
the command settings separate from the to-be-restored title settings.
https://bugzilla.redhat.com/show_bug.cgi?id=1296110
2016-11-08 12:04:35 +00:00
---
2018-10-26 07:06:33 +00:00
src/preferences.ui | 173 +++++++++++++++++++++++----------------------
2018-04-12 17:21:08 +00:00
1 file changed, 90 insertions(+), 83 deletions(-)
2016-11-08 12:04:35 +00:00
2018-04-12 17:21:08 +00:00
diff --git a/src/preferences.ui b/src/preferences.ui
2019-02-19 10:36:17 +00:00
index 47f1cf8abce2..b35cf5e8999a 100644
2018-04-12 17:21:08 +00:00
--- a/src/preferences.ui
+++ b/src/preferences.ui
@@ -1863,95 +1863,102 @@
2016-11-08 12:04:35 +00:00
<property name="visible">True</property>
<property name="can_focus">False</property>
2018-04-12 17:21:08 +00:00
<property name="border_width">12</property>
- <property name="column_spacing">12</property>
- <property name="row_spacing">6</property>
2018-04-06 11:50:22 +00:00
- <child>
2016-11-08 12:04:35 +00:00
- <object class="GtkCheckButton" id="login-shell-checkbutton">
- <property name="label" translatable="yes">_Run command as a login shell</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="use_underline">True</property>
- <property name="draw_indicator">True</property>
- </object>
- <packing>
2018-04-12 17:21:08 +00:00
- <property name="top_attach">0</property>
- <property name="left_attach">0</property>
- <property name="width">2</property>
2016-11-08 12:04:35 +00:00
- </packing>
- </child>
- <child>
- <object class="GtkCheckButton" id="use-custom-command-checkbutton">
- <property name="label" translatable="yes">Ru_n a custom command instead of my shell</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="use_underline">True</property>
- <property name="draw_indicator">True</property>
- </object>
- <packing>
2018-04-12 17:21:08 +00:00
- <property name="top_attach">1</property>
- <property name="left_attach">0</property>
- <property name="width">2</property>
2016-11-08 12:04:35 +00:00
- </packing>
- </child>
2018-04-12 17:21:08 +00:00
- <child>
- <object class="GtkLabel" id="custom-command-entry-label">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="label" translatable="yes">Custom co_mmand:</property>
- <property name="use_underline">True</property>
- <property name="mnemonic_widget">custom-command-entry</property>
- <property name="xalign">0</property>
- </object>
- <packing>
- <property name="top_attach">2</property>
- <property name="left_attach">0</property>
- </packing>
- </child>
+ <property name="row_spacing">18</property>
2018-04-06 11:50:22 +00:00
<child>
2018-04-12 17:21:08 +00:00
- <object class="GtkEntry" id="custom-command-entry">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="hexpand">True</property>
- </object>
- <packing>
- <property name="top_attach">2</property>
- <property name="left_attach">1</property>
- </packing>
- </child>
- <child>
- <object class="GtkLabel" id="exit-action-combobox-label">
+ <object class="GtkGrid">
2016-11-08 12:04:35 +00:00
<property name="visible">True</property>
<property name="can_focus">False</property>
2018-04-12 17:21:08 +00:00
- <property name="label" translatable="yes">When command _exits:</property>
- <property name="use_underline">True</property>
- <property name="mnemonic_widget">exit-action-combobox</property>
- <property name="xalign">0</property>
- </object>
- <packing>
- <property name="top_attach">3</property>
- <property name="left_attach">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkComboBox" id="exit-action-combobox">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="model">model3</property>
- <property name="focus_on_click">False</property>
- <property name="halign">start</property>
+ <property name="column_spacing">12</property>
+ <property name="row_spacing">6</property>
<child>
- <object class="GtkCellRendererText" id="renderer3"/>
- <attributes>
- <attribute name="text">0</attribute>
- </attributes>
2016-11-08 12:04:35 +00:00
+ <object class="GtkCheckButton" id="login-shell-checkbutton">
+ <property name="label" translatable="yes">_Run command as a login shell</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_underline">True</property>
+ <property name="draw_indicator">True</property>
+ </object>
+ <packing>
2018-04-12 17:21:08 +00:00
+ <property name="top_attach">0</property>
+ <property name="left_attach">0</property>
+ <property name="width">2</property>
2016-11-08 12:04:35 +00:00
+ </packing>
+ </child>
2018-04-12 17:21:08 +00:00
+ <child>
2016-11-08 12:04:35 +00:00
+ <object class="GtkCheckButton" id="use-custom-command-checkbutton">
+ <property name="label" translatable="yes">Ru_n a custom command instead of my shell</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_underline">True</property>
+ <property name="draw_indicator">True</property>
+ </object>
+ <packing>
2018-04-12 17:21:08 +00:00
+ <property name="top_attach">1</property>
+ <property name="left_attach">0</property>
+ <property name="width">2</property>
2016-11-08 12:04:35 +00:00
+ </packing>
+ </child>
2018-04-06 11:50:22 +00:00
+ <child>
2018-04-12 17:21:08 +00:00
+ <object class="GtkLabel" id="custom-command-entry-label">
2016-11-08 12:04:35 +00:00
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
2018-04-12 17:21:08 +00:00
+ <property name="label" translatable="yes">Custom co_mmand:</property>
+ <property name="use_underline">True</property>
+ <property name="mnemonic_widget">custom-command-entry</property>
+ <property name="xalign">0</property>
+ </object>
+ <packing>
+ <property name="top_attach">2</property>
+ <property name="left_attach">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkEntry" id="custom-command-entry">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="hexpand">True</property>
+ </object>
+ <packing>
+ <property name="top_attach">2</property>
+ <property name="left_attach">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="exit-action-combobox-label">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes">When command _exits:</property>
+ <property name="use_underline">True</property>
+ <property name="mnemonic_widget">exit-action-combobox</property>
+ <property name="xalign">0</property>
+ </object>
+ <packing>
+ <property name="top_attach">3</property>
+ <property name="left_attach">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkComboBox" id="exit-action-combobox">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="model">model3</property>
+ <property name="focus_on_click">False</property>
+ <property name="halign">start</property>
2016-11-08 12:04:35 +00:00
+ <child>
2018-04-12 17:21:08 +00:00
+ <object class="GtkCellRendererText" id="renderer3"/>
+ <attributes>
+ <attribute name="text">0</attribute>
+ </attributes>
+ </child>
+ </object>
+ <packing>
+ <property name="top_attach">3</property>
+ <property name="left_attach">1</property>
+ </packing>
</child>
</object>
- <packing>
- <property name="top_attach">3</property>
- <property name="left_attach">1</property>
- </packing>
</child>
</object>
<packing>
--
2019-03-29 17:55:04 +00:00
2.20.1
2018-04-12 17:21:08 +00:00
2019-03-29 18:08:38 +00:00
From 78dfc50211cc2628fb5a6602fc00bdcb3558ccff Mon Sep 17 00:00:00 2001
2018-04-12 17:21:08 +00:00
From: Debarshi Ray <debarshir@gnome.org>
Date: Tue, 10 Apr 2018 16:01:51 +0200
2019-03-29 17:55:04 +00:00
Subject: [PATCH 08/15] Revert "profile: Remove the "Command" sub-heading"
2018-04-12 17:21:08 +00:00
This reverts commit 8e27479299d075df0a52d0e8e7baeab344dcaa6c.
https://bugzilla.redhat.com/show_bug.cgi?id=1296110
---
2018-10-26 07:06:33 +00:00
src/preferences.ui | 179 +++++++++++++++++++++++++++------------------
2018-04-12 17:21:08 +00:00
1 file changed, 109 insertions(+), 70 deletions(-)
diff --git a/src/preferences.ui b/src/preferences.ui
2019-02-19 10:36:17 +00:00
index b35cf5e8999a..a4b2027ff300 100644
2018-04-12 17:21:08 +00:00
--- a/src/preferences.ui
+++ b/src/preferences.ui
@@ -1871,94 +1871,133 @@
<property name="column_spacing">12</property>
<property name="row_spacing">6</property>
<child>
- <object class="GtkCheckButton" id="login-shell-checkbutton">
- <property name="label" translatable="yes">_Run command as a login shell</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="use_underline">True</property>
- <property name="draw_indicator">True</property>
- </object>
- <packing>
- <property name="top_attach">0</property>
- <property name="left_attach">0</property>
- <property name="width">2</property>
- </packing>
- </child>
- <child>
- <object class="GtkCheckButton" id="use-custom-command-checkbutton">
- <property name="label" translatable="yes">Ru_n a custom command instead of my shell</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">False</property>
- <property name="use_underline">True</property>
- <property name="draw_indicator">True</property>
- </object>
- <packing>
- <property name="top_attach">1</property>
- <property name="left_attach">0</property>
- <property name="width">2</property>
- </packing>
- </child>
- <child>
- <object class="GtkLabel" id="custom-command-entry-label">
+ <object class="GtkLabel">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="label" translatable="yes">Custom co_mmand:</property>
- <property name="use_underline">True</property>
- <property name="mnemonic_widget">custom-command-entry</property>
- <property name="xalign">0</property>
- </object>
- <packing>
- <property name="top_attach">2</property>
- <property name="left_attach">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkEntry" id="custom-command-entry">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="hexpand">True</property>
- </object>
- <packing>
- <property name="top_attach">2</property>
- <property name="left_attach">1</property>
- </packing>
- </child>
- <child>
- <object class="GtkLabel" id="exit-action-combobox-label">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="label" translatable="yes">When command _exits:</property>
- <property name="use_underline">True</property>
- <property name="mnemonic_widget">exit-action-combobox</property>
<property name="xalign">0</property>
+ <property name="label" translatable="yes">Command</property>
+ <attributes>
+ <attribute name="weight" value="bold"/>
+ </attributes>
</object>
<packing>
- <property name="top_attach">3</property>
+ <property name="top_attach">0</property>
<property name="left_attach">0</property>
</packing>
</child>
<child>
- <object class="GtkComboBox" id="exit-action-combobox">
+ <object class="GtkAlignment">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="model">model3</property>
- <property name="focus_on_click">False</property>
- <property name="halign">start</property>
+ <property name="left_padding">12</property>
<child>
- <object class="GtkCellRendererText" id="renderer3"/>
- <attributes>
- <attribute name="text">0</attribute>
- </attributes>
+ <object class="GtkGrid">
2016-11-08 12:04:35 +00:00
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
2018-04-12 17:21:08 +00:00
+ <property name="column_spacing">12</property>
+ <property name="row_spacing">6</property>
+ <child>
+ <object class="GtkCheckButton" id="login-shell-checkbutton">
+ <property name="label" translatable="yes">_Run command as a login shell</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_underline">True</property>
+ <property name="draw_indicator">True</property>
+ </object>
+ <packing>
+ <property name="top_attach">0</property>
+ <property name="left_attach">0</property>
+ <property name="width">2</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkCheckButton" id="use-custom-command-checkbutton">
+ <property name="label" translatable="yes">Ru_n a custom command instead of my shell</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="use_underline">True</property>
+ <property name="draw_indicator">True</property>
+ </object>
+ <packing>
+ <property name="top_attach">1</property>
+ <property name="left_attach">0</property>
+ <property name="width">2</property>
+ </packing>
+ </child>
2016-11-08 12:04:35 +00:00
+ <child>
+ <object class="GtkLabel" id="custom-command-entry-label">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes">Custom co_mmand:</property>
+ <property name="use_underline">True</property>
+ <property name="mnemonic_widget">custom-command-entry</property>
2018-04-12 17:21:08 +00:00
+ <property name="xalign">0</property>
2016-11-08 12:04:35 +00:00
+ </object>
+ <packing>
2018-04-12 17:21:08 +00:00
+ <property name="top_attach">2</property>
+ <property name="left_attach">0</property>
2016-11-08 12:04:35 +00:00
+ </packing>
+ </child>
+ <child>
+ <object class="GtkEntry" id="custom-command-entry">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
2018-04-12 17:21:08 +00:00
+ <property name="hexpand">True</property>
2016-11-08 12:04:35 +00:00
+ </object>
+ <packing>
2018-04-12 17:21:08 +00:00
+ <property name="top_attach">2</property>
+ <property name="left_attach">1</property>
2016-11-08 12:04:35 +00:00
+ </packing>
+ </child>
+ <child>
2018-04-12 17:21:08 +00:00
+ <object class="GtkLabel" id="exit-action-combobox-label">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes">When command _exits:</property>
+ <property name="use_underline">True</property>
+ <property name="mnemonic_widget">exit-action-combobox</property>
+ <property name="xalign">0</property>
+ </object>
+ <packing>
+ <property name="top_attach">3</property>
+ <property name="left_attach">0</property>
+ </packing>
2016-11-08 12:04:35 +00:00
+ </child>
2018-04-12 17:21:08 +00:00
+ <child>
+ <object class="GtkComboBox" id="exit-action-combobox">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="model">model3</property>
+ <property name="focus_on_click">False</property>
+ <property name="halign">start</property>
+ <child>
+ <object class="GtkCellRendererText" id="renderer3"/>
+ <attributes>
+ <attribute name="text">0</attribute>
+ </attributes>
+ </child>
+ </object>
+ <packing>
+ <property name="top_attach">3</property>
+ <property name="left_attach">1</property>
+ </packing>
+ </child>
+ </object>
2016-11-08 12:04:35 +00:00
</child>
</object>
2018-04-06 11:50:22 +00:00
<packing>
2018-04-12 17:21:08 +00:00
- <property name="top_attach">3</property>
- <property name="left_attach">1</property>
+ <property name="top_attach">1</property>
+ <property name="left_attach">0</property>
+ <property name="width">3</property>
2016-11-08 12:04:35 +00:00
</packing>
</child>
</object>
2018-04-12 17:21:08 +00:00
+ <packing>
+ <property name="top_attach">1</property>
+ <property name="left_attach">0</property>
+ </packing>
2016-11-08 12:04:35 +00:00
</child>
</object>
2018-04-12 17:21:08 +00:00
<packing>
2016-11-08 12:04:35 +00:00
--
2019-03-29 17:55:04 +00:00
2.20.1
2016-11-08 12:04:35 +00:00
2019-03-29 18:08:38 +00:00
From c99b0a0e8d7ea0b10140c3cd2fcc74265e626c73 Mon Sep 17 00:00:00 2001
2016-11-08 12:04:35 +00:00
From: Debarshi Ray <debarshir@gnome.org>
Date: Thu, 30 Jun 2016 16:02:13 +0200
2019-03-29 17:55:04 +00:00
Subject: [PATCH 09/15] Revert "screen: Remove unused description and
2016-11-08 12:04:35 +00:00
user_title API"
This reverts commit 3bb41272b7509a16ec2a5cd93e44f73d5743b626.
https://bugzilla.redhat.com/show_bug.cgi?id=1296110
---
2018-10-26 07:06:33 +00:00
src/terminal-screen.c | 63 +++++++++++++++++++++++++++++++++++++++++++
2018-10-05 15:13:32 +00:00
src/terminal-screen.h | 5 ++++
2 files changed, 68 insertions(+)
2016-11-08 12:04:35 +00:00
diff --git a/src/terminal-screen.c b/src/terminal-screen.c
2018-10-05 15:13:32 +00:00
index 36a9afa3ded9..8e6f2e935ba4 100644
2016-11-08 12:04:35 +00:00
--- a/src/terminal-screen.c
+++ b/src/terminal-screen.c
2018-04-03 18:03:19 +00:00
@@ -88,6 +88,7 @@ struct _TerminalScreenPrivate
2016-11-08 12:04:35 +00:00
GSettings *profile; /* never NULL */
guint profile_changed_id;
guint profile_forgotten_id;
+ char *title;
char *initial_working_directory;
char **initial_env;
char **override_command;
2018-10-05 15:13:32 +00:00
@@ -111,6 +112,7 @@ enum {
PROP_0,
PROP_PROFILE,
2016-11-08 12:04:35 +00:00
PROP_TITLE,
+ PROP_DESCRIPTION,
PROP_INITIAL_ENVIRONMENT
};
2018-10-05 15:13:32 +00:00
@@ -435,6 +437,9 @@ terminal_screen_get_property (GObject *object,
2016-11-08 12:04:35 +00:00
case PROP_TITLE:
g_value_set_string (value, terminal_screen_get_title (screen));
break;
+ case PROP_DESCRIPTION:
+ g_value_take_string (value, terminal_screen_get_description (screen));
+ break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;
2018-10-05 15:13:32 +00:00
@@ -458,6 +463,7 @@ terminal_screen_set_property (GObject *object,
terminal_screen_set_initial_environment (screen, g_value_get_boxed (value));
break;
2016-11-08 12:04:35 +00:00
case PROP_TITLE:
+ case PROP_DESCRIPTION:
/* not writable */
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
2018-10-05 15:13:32 +00:00
@@ -545,6 +551,13 @@ terminal_screen_class_init (TerminalScreenClass *klass)
2016-11-08 12:04:35 +00:00
NULL,
G_PARAM_READABLE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB));
+ g_object_class_install_property (object_class,
+ PROP_DESCRIPTION,
+ g_param_spec_string ("description", NULL, NULL,
+ NULL,
+ G_PARAM_READABLE |
+ G_PARAM_STATIC_STRINGS));
+
g_object_class_install_property
(object_class,
PROP_INITIAL_ENVIRONMENT,
2018-10-05 15:13:32 +00:00
@@ -630,6 +643,7 @@ terminal_screen_finalize (GObject *object)
2016-11-08 12:04:35 +00:00
terminal_screen_set_profile (screen, NULL);
+ g_free (priv->title);
g_free (priv->initial_working_directory);
g_strfreev (priv->override_command);
g_strfreev (priv->initial_env);
2018-10-05 15:13:32 +00:00
@@ -758,6 +772,21 @@ terminal_screen_get_title (TerminalScreen *screen)
return vte_terminal_get_window_title (VTE_TERMINAL (screen));
2016-11-08 12:04:35 +00:00
}
+char *
+terminal_screen_get_description (TerminalScreen *screen)
+{
+ TerminalScreenPrivate *priv = screen->priv;
+ const char *title;
+
+ /* use --title argument if one was supplied, otherwise ask the profile */
+ if (priv->title)
+ title = priv->title;
+
+ return g_strdup_printf ("%s — %d",
+ title && title[0] ? title : _("Terminal"),
+ screen->priv->child_pid);
+}
+
static void
terminal_screen_profile_changed_cb (GSettings *profile,
const char *prop_name,
2018-10-05 15:13:32 +00:00
@@ -1075,6 +1104,7 @@ terminal_screen_set_profile (TerminalScreen *screen,
2016-11-08 12:04:35 +00:00
g_object_unref (old_profile);
g_object_notify (G_OBJECT (screen), "profile");
+ g_object_notify (G_OBJECT (screen), "description");
}
GSettings*
2018-10-05 15:13:32 +00:00
@@ -1405,6 +1435,8 @@ spawn_result_cb (VteTerminal *terminal,
2017-02-27 17:03:46 +00:00
priv->child_pid = pid;
2016-11-08 12:04:35 +00:00
+ g_object_notify (G_OBJECT (screen), "description");
+
2017-02-27 17:03:46 +00:00
if (error) {
GtkWidget *info_bar;
2016-11-08 12:04:35 +00:00
2018-10-05 15:13:32 +00:00
@@ -1716,6 +1748,35 @@ terminal_screen_focus_in (GtkWidget *widget,
2016-11-08 12:04:35 +00:00
return GTK_WIDGET_CLASS (terminal_screen_parent_class)->focus_in_event (widget, event);
}
+void
+terminal_screen_set_user_title (TerminalScreen *screen,
+ const char *title)
+{
+ TerminalScreenPrivate *priv = screen->priv;
+
+ g_return_if_fail (TERMINAL_IS_SCREEN (screen));
+
+ if (g_strcmp0 (priv->title, title) == 0)
+ return;
+
+ g_free (priv->title);
+ priv->title = title && title[0] ? g_strdup (title) : NULL;
+
+ g_object_notify (G_OBJECT (screen), "description");
+}
+
+const char*
+terminal_screen_get_user_title (TerminalScreen *screen)
+{
+ TerminalScreenPrivate *priv;
+
+ g_return_val_if_fail (TERMINAL_IS_SCREEN (screen), NULL);
+
+ priv = screen->priv;
+
+ return priv->title ? priv->title : _("Terminal");
+}
+
/**
* terminal_screen_get_current_dir:
* @screen:
2018-10-05 15:13:32 +00:00
@@ -1769,6 +1830,8 @@ terminal_screen_child_exited (VteTerminal *terminal,
2016-11-08 12:04:35 +00:00
priv->child_pid = -1;
+ g_object_notify (G_OBJECT (screen), "description");
+
action = g_settings_get_enum (priv->profile, TERMINAL_PROFILE_EXIT_ACTION_KEY);
switch (action)
diff --git a/src/terminal-screen.h b/src/terminal-screen.h
2018-10-05 15:13:32 +00:00
index ff77fcf78947..af9583e7cbaf 100644
2016-11-08 12:04:35 +00:00
--- a/src/terminal-screen.h
+++ b/src/terminal-screen.h
2018-10-05 15:13:32 +00:00
@@ -103,7 +103,12 @@ void terminal_screen_set_initial_environment (TerminalScreen *screen,
2016-11-08 12:04:35 +00:00
char **argv);
char ** terminal_screen_get_initial_environment (TerminalScreen *screen);
+const char *terminal_screen_get_user_title (TerminalScreen *screen);
const char* terminal_screen_get_title (TerminalScreen *screen);
+char * terminal_screen_get_description (TerminalScreen *screen);
+
+void terminal_screen_set_user_title (TerminalScreen *screen,
+ const char *text);
char *terminal_screen_get_current_dir (TerminalScreen *screen);
--
2019-03-29 17:55:04 +00:00
2.20.1
2016-11-08 12:04:35 +00:00
2019-03-29 18:08:38 +00:00
From c6b1a7d08c2b7730c82515af6a1d89ee849d9716 Mon Sep 17 00:00:00 2001
2016-11-08 12:04:35 +00:00
From: Debarshi Ray <debarshir@gnome.org>
Date: Thu, 30 Jun 2016 17:39:48 +0200
2019-03-29 17:55:04 +00:00
Subject: [PATCH 10/15] Revert "Remove the static title setting from profile
2016-11-08 12:04:35 +00:00
preferences"
This reverts commit e9cb8fea14a849704074c5d69f173bcf4dc2fb27.
https://bugzilla.redhat.com/show_bug.cgi?id=1296110
---
src/org.gnome.Terminal.gschema.xml | 5 +++
2018-10-26 07:06:33 +00:00
src/preferences.ui | 71 ++++++++++++++++++++++++++++++
2018-04-12 17:21:08 +00:00
src/profile-editor.c | 5 +++
2016-11-08 12:04:35 +00:00
src/terminal-schemas.h | 1 +
2018-10-26 07:06:33 +00:00
src/terminal-screen.c | 9 ++++
2018-10-05 15:13:32 +00:00
5 files changed, 91 insertions(+)
2016-11-08 12:04:35 +00:00
diff --git a/src/org.gnome.Terminal.gschema.xml b/src/org.gnome.Terminal.gschema.xml
2019-03-29 17:55:04 +00:00
index 1b0fb22b7d46..0c50f82f4e47 100644
2016-11-08 12:04:35 +00:00
--- a/src/org.gnome.Terminal.gschema.xml
+++ b/src/org.gnome.Terminal.gschema.xml
2018-04-06 16:27:27 +00:00
@@ -183,6 +183,11 @@
2016-11-08 12:04:35 +00:00
<summary>Highlight foreground colour</summary>
2017-02-27 17:03:46 +00:00
<description>Custom color for the foreground of the text character at the terminal’ s highlight position, as a color specification (can be HTML-style hex digits, or a color name such as “red”). This is ignored if highlight-colors-set is false.</description>
2016-11-08 12:04:35 +00:00
</key>
+ <key name="title" type="s">
+ <default l10n="messages" context="title">'Terminal'</default>
+ <summary>Title for terminal</summary>
+ <description>Title to display for the terminal window or tab. This title may be replaced by or combined with the title set by the application inside the terminal, depending on the title_mode setting.</description>
+ </key>
<key name="allow-bold" type="b">
<default>true</default>
<summary>Whether to allow bold text</summary>
2018-04-12 17:21:08 +00:00
diff --git a/src/preferences.ui b/src/preferences.ui
2019-02-19 10:36:17 +00:00
index a4b2027ff300..18f7e097e666 100644
2018-04-12 17:21:08 +00:00
--- a/src/preferences.ui
+++ b/src/preferences.ui
@@ -1864,6 +1864,77 @@
<property name="can_focus">False</property>
<property name="border_width">12</property>
<property name="row_spacing">18</property>
2016-11-08 12:04:35 +00:00
+ <child>
2018-04-12 17:21:08 +00:00
+ <object class="GtkGrid">
2016-11-08 12:04:35 +00:00
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
2018-04-12 17:21:08 +00:00
+ <property name="row_spacing">6</property>
2016-11-08 12:04:35 +00:00
+ <child>
2018-04-12 17:21:08 +00:00
+ <object class="GtkLabel">
2016-11-08 12:04:35 +00:00
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="xalign">0</property>
2018-04-12 17:21:08 +00:00
+ <property name="label" translatable="yes">Title</property>
+ <attributes>
+ <attribute name="weight" value="bold"/>
+ </attributes>
2016-11-08 12:04:35 +00:00
+ </object>
+ <packing>
2018-04-12 17:21:08 +00:00
+ <property name="top_attach">0</property>
+ <property name="left_attach">0</property>
2016-11-08 12:04:35 +00:00
+ </packing>
+ </child>
+ <child>
2018-04-12 17:21:08 +00:00
+ <object class="GtkAlignment">
2016-11-08 12:04:35 +00:00
+ <property name="visible">True</property>
2018-04-12 17:21:08 +00:00
+ <property name="can_focus">False</property>
+ <property name="left_padding">12</property>
+ <child>
+ <object class="GtkGrid">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="column_spacing">12</property>
+ <property name="row_spacing">6</property>
+ <child>
+ <object class="GtkLabel" id="title-entry-label">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="xalign">0</property>
+ <property name="label" translatable="yes">Title:</property>
+ <property name="use_underline">True</property>
+ <property name="mnemonic_widget">title-entry</property>
+ </object>
+ <packing>
+ <property name="top_attach">0</property>
+ <property name="left_attach">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkEntry" id="title-entry">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="hexpand">True</property>
+ </object>
+ <packing>
+ <property name="top_attach">0</property>
+ <property name="left_attach">1</property>
+ </packing>
+ </child>
+ </object>
+ </child>
2016-11-08 12:04:35 +00:00
+ </object>
+ <packing>
2018-04-12 17:21:08 +00:00
+ <property name="top_attach">1</property>
+ <property name="left_attach">0</property>
+ <property name="width">3</property>
2016-11-08 12:04:35 +00:00
+ </packing>
+ </child>
+ </object>
+ <packing>
2018-04-12 17:21:08 +00:00
+ <property name="top_attach">0</property>
+ <property name="left_attach">0</property>
2016-11-08 12:04:35 +00:00
+ </packing>
+ </child>
2018-04-12 17:21:08 +00:00
<child>
<object class="GtkGrid">
<property name="visible">True</property>
diff --git a/src/profile-editor.c b/src/profile-editor.c
2019-02-19 10:36:17 +00:00
index a0081e23a1c5..da8a7fdc4b85 100644
2018-04-12 17:21:08 +00:00
--- a/src/profile-editor.c
+++ b/src/profile-editor.c
2018-10-05 15:13:32 +00:00
@@ -1201,6 +1201,11 @@ profile_prefs_load (const char *uuid, GSettings *profile)
2018-04-12 17:21:08 +00:00
"active",
G_SETTINGS_BIND_GET | G_SETTINGS_BIND_SET |
G_SETTINGS_BIND_INVERT_BOOLEAN);
+ profile_prefs_settings_bind (profile,
+ TERMINAL_PROFILE_TITLE_KEY,
+ gtk_builder_get_object (builder, "title-entry"),
+ "text",
+ G_SETTINGS_BIND_GET | G_SETTINGS_BIND_SET);
profile_prefs_settings_bind (profile, TERMINAL_PROFILE_USE_CUSTOM_COMMAND_KEY,
gtk_builder_get_object (builder,
"use-custom-command-checkbutton"),
2016-11-08 12:04:35 +00:00
diff --git a/src/terminal-schemas.h b/src/terminal-schemas.h
2019-02-19 10:36:17 +00:00
index a386938b64c5..f9222855b231 100644
2016-11-08 12:04:35 +00:00
--- a/src/terminal-schemas.h
+++ b/src/terminal-schemas.h
2018-04-06 16:27:27 +00:00
@@ -66,6 +66,7 @@ G_BEGIN_DECLS
2016-11-08 12:04:35 +00:00
#define TERMINAL_PROFILE_SCROLL_ON_KEYSTROKE_KEY "scroll-on-keystroke"
#define TERMINAL_PROFILE_SCROLL_ON_OUTPUT_KEY "scroll-on-output"
2018-04-06 16:27:27 +00:00
#define TERMINAL_PROFILE_TEXT_BLINK_MODE_KEY "text-blink-mode"
2016-11-08 12:04:35 +00:00
+#define TERMINAL_PROFILE_TITLE_KEY "title"
#define TERMINAL_PROFILE_USE_CUSTOM_COMMAND_KEY "use-custom-command"
#define TERMINAL_PROFILE_USE_SKEY_KEY "use-skey"
#define TERMINAL_PROFILE_USE_SYSTEM_FONT_KEY "use-system-font"
diff --git a/src/terminal-screen.c b/src/terminal-screen.c
2018-10-05 15:13:32 +00:00
index 8e6f2e935ba4..bf3618cb41b0 100644
2016-11-08 12:04:35 +00:00
--- a/src/terminal-screen.c
+++ b/src/terminal-screen.c
2018-10-05 15:13:32 +00:00
@@ -776,11 +776,14 @@ char *
2016-11-08 12:04:35 +00:00
terminal_screen_get_description (TerminalScreen *screen)
{
TerminalScreenPrivate *priv = screen->priv;
+ gs_free char *title_string = NULL;
const char *title;
/* use --title argument if one was supplied, otherwise ask the profile */
if (priv->title)
title = priv->title;
+ else
+ title = title_string = g_settings_get_string (priv->profile, TERMINAL_PROFILE_TITLE_KEY);
return g_strdup_printf ("%s — %d",
title && title[0] ? title : _("Terminal"),
2018-10-05 15:13:32 +00:00
@@ -825,6 +828,12 @@ terminal_screen_profile_changed_cb (GSettings *profile,
2016-11-08 12:04:35 +00:00
vte_terminal_set_cjk_ambiguous_width (vte_terminal, (int) width);
}
+ if (!prop_name ||
+ prop_name == I_(TERMINAL_PROFILE_TITLE_KEY))
+ {
+ g_object_notify (object, "description");
+ }
+
if (gtk_widget_get_realized (GTK_WIDGET (screen)) &&
(!prop_name ||
prop_name == I_(TERMINAL_PROFILE_USE_SYSTEM_FONT_KEY) ||
--
2019-03-29 17:55:04 +00:00
2.20.1
2016-11-08 12:04:35 +00:00
2019-03-29 18:08:38 +00:00
From cd51ab2d849fad93f796abad338da19aa4ec05b7 Mon Sep 17 00:00:00 2001
2016-11-08 12:04:35 +00:00
From: Debarshi Ray <debarshir@gnome.org>
Date: Tue, 17 Feb 2015 17:06:17 +0100
2019-03-29 17:55:04 +00:00
Subject: [PATCH 11/15] Restore translations for setting a title and
2016-11-08 12:04:35 +00:00
transparency
---
2018-04-03 18:03:19 +00:00
po/am.po | 8 ++++----
po/an.po | 12 ++++++------
po/ar.po | 16 ++++++++--------
po/as.po | 16 ++++++++--------
2017-02-27 17:03:46 +00:00
po/ast.po | 8 ++++----
2018-04-03 18:03:19 +00:00
po/az.po | 8 ++++----
2016-11-08 12:04:35 +00:00
po/be.po | 3 +++
2017-02-27 17:03:46 +00:00
po/be@latin.po | 8 ++++----
2018-04-06 11:50:22 +00:00
po/bg.po | 9 +++++++++
2017-02-27 17:03:46 +00:00
po/bn.po | 8 ++++----
2018-04-06 11:50:22 +00:00
po/bn_IN.po | 11 +++++++----
2017-02-27 17:03:46 +00:00
po/br.po | 6 +++---
2018-04-06 11:50:22 +00:00
po/bs.po | 10 ++++++++++
2018-10-05 15:13:32 +00:00
po/ca.po | 12 ++++++++++++
2018-04-06 11:50:22 +00:00
po/ca@valencia.po | 12 ++++++++++++
po/cs.po | 12 ++++++++++++
2017-02-27 17:03:46 +00:00
po/cy.po | 8 ++++----
2019-03-29 17:55:04 +00:00
po/da.po | 12 ++++++++++++
2018-04-06 11:50:22 +00:00
po/de.po | 12 ++++++++++++
2017-02-27 17:03:46 +00:00
po/dz.po | 8 ++++----
2018-04-06 11:50:22 +00:00
po/el.po | 15 +++++++++------
2017-02-27 17:03:46 +00:00
po/en@shaw.po | 8 ++++----
2018-04-06 11:50:22 +00:00
po/en_CA.po | 8 ++++----
po/en_GB.po | 16 ++++++++--------
po/eo.po | 8 ++++----
2018-04-06 16:27:27 +00:00
po/es.po | 16 ++++++++--------
2016-11-08 12:04:35 +00:00
po/et.po | 3 +++
2019-03-29 18:08:38 +00:00
po/eu.po | 11 +++++++++++
2018-04-06 16:27:27 +00:00
po/fa.po | 15 +++++++++------
2018-04-12 17:21:08 +00:00
po/fi.po | 12 ++++++++++++
po/fr.po | 12 ++++++++++++
po/fur.po | 11 +++++++++--
2016-11-08 12:04:35 +00:00
po/ga.po | 3 +++
2018-04-06 16:27:27 +00:00
po/gl.po | 16 ++++++++--------
2018-04-12 17:21:08 +00:00
po/gu.po | 16 ++++++++--------
po/he.po | 16 ++++++++--------
po/hi.po | 17 ++++++++---------
po/hr.po | 10 ++++++++++
2019-02-19 10:36:17 +00:00
po/hu.po | 11 +++++++++++
2017-02-27 17:03:46 +00:00
po/hy.po | 8 ++++----
2018-04-06 11:50:22 +00:00
po/id.po | 12 ++++++++++++
2018-04-12 17:21:08 +00:00
po/it.po | 12 ++++++++++++
po/ja.po | 12 ++++++++++++
po/ka.po | 6 +++---
2018-04-13 15:48:14 +00:00
po/kk.po | 12 ++++++++++++
2017-02-27 17:03:46 +00:00
po/km.po | 4 ++--
2018-04-13 15:48:14 +00:00
po/kn.po | 15 +++++++++------
po/ko.po | 12 ++++++++++++
2017-02-27 17:03:46 +00:00
po/ku.po | 8 ++++----
2018-04-13 15:48:14 +00:00
po/lt.po | 12 ++++++++++++
po/lv.po | 16 ++++++++++++++++
2017-02-27 17:03:46 +00:00
po/mai.po | 8 ++++----
2018-04-13 15:48:14 +00:00
po/mg.po | 8 ++++----
2017-02-27 17:03:46 +00:00
po/mk.po | 8 ++++----
2017-09-14 18:04:46 +00:00
po/ml.po | 3 +++
2018-04-13 15:48:14 +00:00
po/mn.po | 8 ++++----
po/mr.po | 16 ++++++++--------
po/ms.po | 8 ++++----
po/nb.po | 12 ++++++++++++
2017-02-27 17:03:46 +00:00
po/nds.po | 8 ++++----
2018-04-13 15:48:14 +00:00
po/ne.po | 12 ++++++------
po/nl.po | 12 ++++++++++++
2017-02-27 17:03:46 +00:00
po/nn.po | 8 ++++----
2018-04-13 15:48:14 +00:00
po/oc.po | 12 ++++++------
2016-11-08 12:04:35 +00:00
po/or.po | 4 ++--
2018-04-13 15:48:14 +00:00
po/pa.po | 23 +++++++++++------------
2017-02-27 17:03:46 +00:00
po/ps.po | 8 ++++----
2018-04-13 15:48:14 +00:00
po/pt.po | 16 ++++++++--------
2018-04-12 17:21:08 +00:00
po/pt_BR.po | 15 +++++++++------
2017-09-14 18:04:46 +00:00
po/ro.po | 4 ++--
2018-04-13 15:48:14 +00:00
po/ru.po | 16 ++++++++++++++++
2016-11-08 12:04:35 +00:00
po/rw.po | 3 +--
2018-04-13 15:48:14 +00:00
po/si.po | 8 ++++----
po/sk.po | 12 ++++++++++++
po/sl.po | 15 +++++++++------
2017-02-27 17:03:46 +00:00
po/sq.po | 8 ++++----
2018-04-13 15:48:14 +00:00
po/sr.po | 22 ++++++++++++----------
po/sr@latin.po | 22 ++++++++++++----------
2017-02-27 17:03:46 +00:00
po/sv.po | 12 ++++++++++++
po/ta.po | 27 +++++++++++++--------------
po/te.po | 27 +++++++++++++--------------
po/tg.po | 16 ++++++++--------
po/th.po | 20 ++++++++++----------
po/tr.po | 12 ++++++++++++
2016-11-08 12:04:35 +00:00
po/ug.po | 4 ++--
2017-02-27 17:03:46 +00:00
po/uk.po | 20 ++++++++++----------
2018-04-13 15:48:14 +00:00
po/vi.po | 15 +++++++++------
2017-02-27 17:03:46 +00:00
po/wa.po | 12 ++++++------
po/xh.po | 12 ++++++------
2018-04-13 15:48:14 +00:00
po/zh_CN.po | 15 +++++++++------
po/zh_HK.po | 15 +++++++++------
po/zh_TW.po | 15 +++++++++------
2019-03-29 18:08:38 +00:00
92 files changed, 710 insertions(+), 363 deletions(-)
2016-11-08 12:04:35 +00:00
diff --git a/po/am.po b/po/am.po
2018-04-03 18:03:19 +00:00
index 3445d96da657..ee992f0712a5 100644
2016-11-08 12:04:35 +00:00
--- a/po/am.po
+++ b/po/am.po
2017-02-27 17:03:46 +00:00
@@ -214,8 +214,8 @@ msgid "<b>Background</b>"
msgstr "<b>መደብ</b>"
#: ../src/gnome-terminal.glade2.h:2
-msgid "<b>Command</b>"
-msgstr "<b>ትእዛዝ</b>"
+msgid "Command"
+msgstr "ትእዛዝ"
#: ../src/gnome-terminal.glade2.h:3
msgid "<b>Compatibility</b>"
2016-11-08 12:04:35 +00:00
@@ -614,8 +614,8 @@ msgid "_Text color:"
msgstr "የ_ጽሑፍ ቀለም፦"
#: ../src/gnome-terminal.glade2.h:102
-msgid "_Transparent background"
-msgstr "_የሚያሳይ መደብ"
+msgid "Transparent background"
+msgstr "የሚያሳይ መደብ"
#: ../src/gnome-terminal.glade2.h:103
msgid "_Update login records when command is launched"
diff --git a/po/an.po b/po/an.po
2018-04-03 18:03:19 +00:00
index fcec2668aa11..9e07cb682c57 100644
2016-11-08 12:04:35 +00:00
--- a/po/an.po
+++ b/po/an.po
@@ -2241,8 +2241,8 @@ msgstr "_Zarrar a finestra"
#~ msgid "Use custom default terminal si_ze"
#~ msgstr "Emplegar grandaria predeterminada presonali_zada de terminal"
-#~ msgid "Title"
-#~ msgstr "Titol"
+msgid "Title"
+msgstr "Titol"
#~ msgid "When terminal commands set their o_wn titles:"
#~ msgstr ""
2017-02-27 17:03:46 +00:00
@@ -2266,8 +2266,8 @@ msgstr "_Zarrar a finestra"
#~ msgid "Close Window"
#~ msgstr "Zarrar a finestra"
-#~ msgid "Set Title"
-#~ msgstr "Establir titol"
+msgid "Set Title"
+msgstr "Establir titol"
#~ msgid "Switch to Tab 2"
#~ msgstr "Cambiar a la pestanya 2"
2016-11-08 12:04:35 +00:00
@@ -2340,8 +2340,8 @@ msgstr "_Zarrar a finestra"
#~ msgid "_Input Methods"
#~ msgstr "Me_todos de dentrada"
-#~ msgid "_Title:"
-#~ msgstr "_Titol:"
+msgid "_Title:"
+msgstr "_Titol:"
#~ msgid "Keyboard Shortcuts"
#~ msgstr "Alcorces de teclau"
diff --git a/po/ar.po b/po/ar.po
2018-10-05 15:13:32 +00:00
index 6f5e80cc2a66..53e15b97f312 100644
2016-11-08 12:04:35 +00:00
--- a/po/ar.po
+++ b/po/ar.po
2018-10-05 15:13:32 +00:00
@@ -2553,11 +2553,11 @@ msgstr "أغ_لق النافذة"
2016-11-08 12:04:35 +00:00
#~ msgid "Default size:"
#~ msgstr "الحجم المبدئي:"
-#~ msgid "Title"
-#~ msgstr "العنوان"
+msgid "Title"
+msgstr "العنوان"
-#~ msgid "_Title:"
-#~ msgstr "ا ل_عنوا ن:"
+msgid "_Title:"
+msgstr "ا ل_عنوا ن:"
#~ msgid "Title and Command"
#~ msgstr "العنوان والأمر"
2018-10-05 15:13:32 +00:00
@@ -2565,8 +2565,8 @@ msgstr "أغ_لق النافذة"
2017-02-27 17:03:46 +00:00
#~ msgid "_Unlimited"
#~ msgstr "_غير محدود"
-#~ msgid "Set Title"
-#~ msgstr "حدد العنوان"
+msgid "Set Title"
+msgstr "حدد العنوان"
#~ msgid "Current Locale"
#~ msgstr "المحليّة الحالية"
2018-10-05 15:13:32 +00:00
@@ -3309,8 +3309,8 @@ msgstr "أغ_لق النافذة"
2016-11-08 12:04:35 +00:00
#~ msgid "Background image _scrolls"
#~ msgstr "صورة الخلفية ت_لتف"
-#~ msgid "_Transparent background"
-#~ msgstr "خلفية _شفا فة"
+msgid "Transparent background"
+msgstr "خلفية شفافة"
#~ msgid "S_hade transparent or image background:"
#~ msgstr "_ظلل شفافية أو صورة الخلفية:"
diff --git a/po/as.po b/po/as.po
2018-04-03 18:03:19 +00:00
index 3fade2b8cb12..5b905340f89f 100644
2016-11-08 12:04:35 +00:00
--- a/po/as.po
+++ b/po/as.po
@@ -2163,11 +2163,11 @@ msgstr "উইন্ডো বন্ধ কৰক (_l)"
#~ msgid "Default size:"
#~ msgstr "অবিকল্পিত আকাৰ:"
-#~ msgid "Title"
-#~ msgstr "শীৰ্ষক"
+msgid "Title"
+msgstr "শীৰ্ষক"
-#~ msgid "_Title:"
-#~ msgstr "শীৰ্ষক (_T):"
+msgid "_Title:"
+msgstr "শীৰ্ষক (_T):"
#~ msgid "Title and Command"
#~ msgstr "শীৰ্ষক আৰু কমান্ড"
2018-04-03 18:03:19 +00:00
@@ -2175,8 +2175,8 @@ msgstr "উইন্ডো বন্ধ কৰক (_l)"
2017-02-27 17:03:46 +00:00
#~ msgid "_Unlimited"
#~ msgstr "অসীমিত (_U)"
-#~ msgid "Set Title"
-#~ msgstr "শীৰ্ষক নিৰ্ধাৰণ কৰক"
+msgid "Set Title"
+msgstr "শীৰ্ষক নিৰ্ধাৰণ কৰক"
#~ msgid "Current Locale"
#~ msgstr "বৰ্তমান স্থানীয়"
2016-11-08 12:04:35 +00:00
@@ -2979,8 +2979,8 @@ msgstr "উইন্ডো বন্ধ কৰক (_l)"
#~ msgid "Background image _scrolls"
#~ msgstr "পটভূমিৰ ছবি স্ক্ৰল কৰক (_s)"
-#~ msgid "_Transparent background"
-#~ msgstr "স্বচ্চ পটভূমি (_T)"
+msgid "Transparent background"
+msgstr "স্বচ্চ পটভূমি "
#~ msgid "S_hade transparent or image background:"
#~ msgstr "স্বচ্ছ বা ছবিৰ সৈতে পটভূমি ছায়া আচ্ছন্ন কৰক (_h):"
diff --git a/po/ast.po b/po/ast.po
2017-02-27 17:03:46 +00:00
index d1c6e7b8174a..4dc0892ed9c4 100644
2016-11-08 12:04:35 +00:00
--- a/po/ast.po
+++ b/po/ast.po
2017-02-27 17:03:46 +00:00
@@ -1304,8 +1304,8 @@ msgid "_Base on:"
msgstr "_Basáu en:"
#: ../src/profile-preferences.glade.h:1
-msgid "<b>Command</b>"
-msgstr "<b>Comandu</b>"
+msgid "Command"
+msgstr "Comandu"
#: ../src/profile-preferences.glade.h:2
msgid "<b>Foreground, Background, Bold and Underline</b>"
2016-11-08 12:04:35 +00:00
@@ -1598,8 +1598,8 @@ msgid "_Text color:"
msgstr "Color del _testu:"
#: ../src/profile-preferences.glade.h:77
-msgid "_Transparent background"
-msgstr "Fondu _tresparente"
+msgid "Transparent background"
+msgstr "Fondu tresparente"
#: ../src/profile-preferences.glade.h:78
msgid "_Underline color:"
diff --git a/po/az.po b/po/az.po
2018-04-03 18:03:19 +00:00
index 586c1e4d827b..4bd846797101 100644
2016-11-08 12:04:35 +00:00
--- a/po/az.po
+++ b/po/az.po
2017-02-27 17:03:46 +00:00
@@ -218,8 +218,8 @@ msgid "<b>Background</b>"
msgstr "<b>Arxa plan</b>"
#: ../src/gnome-terminal.glade2.h:2
-msgid "<b>Command</b>"
-msgstr "<b>Əmr</b>"
+msgid "Command"
+msgstr "Əmr"
#: ../src/gnome-terminal.glade2.h:3
msgid "<b>Compatibility</b>"
2016-11-08 12:04:35 +00:00
@@ -620,8 +620,8 @@ msgid "_Text color:"
msgstr "_Mətn rəngi:"
#: ../src/gnome-terminal.glade2.h:102
-msgid "_Transparent background"
-msgstr "_Şəffaf arxa plan"
+msgid "Transparent background"
+msgstr "Şəffaf arxa plan"
#: ../src/gnome-terminal.glade2.h:103
msgid "_Update login records when command is launched"
diff --git a/po/be.po b/po/be.po
2019-03-29 17:55:04 +00:00
index 298ec2d6ae0c..50f46093a712 100644
2016-11-08 12:04:35 +00:00
--- a/po/be.po
+++ b/po/be.po
2019-03-29 17:55:04 +00:00
@@ -2635,3 +2635,6 @@ msgstr "_З а кр ыць акно"
2016-11-08 12:04:35 +00:00
2019-03-29 17:55:04 +00:00
#~ msgid "Current Locale"
#~ msgstr "Дзейная лакальнасць"
2017-05-11 07:01:57 +00:00
+
2016-11-08 12:04:35 +00:00
+msgid "Transparent background"
+msgstr "Празрысты фон"
diff --git a/po/be@latin.po b/po/be@latin.po
2017-02-27 17:03:46 +00:00
index 82ef0664ae1e..27e9877f96e8 100644
2016-11-08 12:04:35 +00:00
--- a/po/be@latin.po
+++ b/po/be@latin.po
2017-02-27 17:03:46 +00:00
@@ -1146,8 +1146,8 @@ msgid "_Base on:"
msgstr "Na _bazie:"
#: ../src/profile-preferences.glade.h:1
-msgid "<b>Command</b>"
-msgstr "<b>Zahad</b>"
+msgid "Command"
+msgstr "Zahad"
#: ../src/profile-preferences.glade.h:2
msgid "<b>Foreground and Background</b>"
2016-11-08 12:04:35 +00:00
@@ -1426,8 +1426,8 @@ msgid "_Text color:"
msgstr "Koler _tekstu:"
#: ../src/profile-preferences.glade.h:73
-msgid "_Transparent background"
-msgstr "_Prazrysty fon"
+msgid "Transparent background"
+msgstr "Prazrysty fon"
#: ../src/profile-preferences.glade.h:74
msgid "_Update login records when command is launched"
diff --git a/po/bg.po b/po/bg.po
2018-04-06 11:50:22 +00:00
index 9a4f32e4b135..6ac17c17efb8 100644
2016-11-08 12:04:35 +00:00
--- a/po/bg.po
+++ b/po/bg.po
2018-04-06 11:50:22 +00:00
@@ -2305,3 +2305,12 @@ msgstr ""
2017-09-14 18:04:46 +00:00
#: ../src/terminal-window.c:3953
2016-11-08 12:04:35 +00:00
msgid "C_lose Window"
msgstr "_З а тва р яне на този прозорец"
+
+msgid "Transparent background"
+msgstr "Прозрачен фон"
+
+msgid "_Title:"
+msgstr "_З а г ла вие :"
2017-02-27 17:03:46 +00:00
+
+msgid "Set Title"
+msgstr "Задаване на заглавие"
diff --git a/po/bn.po b/po/bn.po
index 4906009cf46f..f97d43b0e515 100644
--- a/po/bn.po
+++ b/po/bn.po
@@ -1217,8 +1217,8 @@ msgid "_Base on:"
msgstr "চিহ্নিত বস্তুর উপর ভিত্তি করে: (_B)"
#: ../src/profile-preferences.glade.h:1
-msgid "<b>Command</b>"
-msgstr "<b>কমান্ড</b>"
+msgid "Command"
+msgstr "কমান্ড"
#: ../src/profile-preferences.glade.h:2
msgid "<b>Foreground, Background, and Bold</b>"
@@ -1524,8 +1524,8 @@ msgid "_Text color:"
msgstr "পাঠ্যের রং: (_T)"
#: ../src/profile-preferences.glade.h:76
-msgid "_Transparent background"
-msgstr "স্বচ্ছ পটভূমি (_T)"
+msgid "Transparent background"
+msgstr "স্বচ্ছ পটভূমি "
#: ../src/profile-preferences.glade.h:77
msgid "_Unlimited"
2016-11-08 12:04:35 +00:00
diff --git a/po/bn_IN.po b/po/bn_IN.po
2018-04-06 11:50:22 +00:00
index f196e5084797..0ac3caf77e73 100644
2016-11-08 12:04:35 +00:00
--- a/po/bn_IN.po
+++ b/po/bn_IN.po
2017-02-27 17:03:46 +00:00
@@ -2296,8 +2296,8 @@ msgstr "উইন্ডো বন্ধ করুন (_l)"
#~ msgid "Close Window"
#~ msgstr "উইন্ডো বন্ধ করুন"
-#~ msgid "Set Title"
-#~ msgstr "শিরোনাম নির্ধারণ করুন"
+msgid "Set Title"
+msgstr "শিরোনাম নির্ধারণ করুন"
#~ msgid "Switch to Tab 2"
#~ msgstr "ট্যাব ২-এ পরিবর্তন করুন"
2016-11-08 12:04:35 +00:00
@@ -2356,5 +2356,8 @@ msgstr "উইন্ডো বন্ধ করুন (_l)"
#~ msgid "_Input Methods"
#~ msgstr "ইনপুট পদ্ধতি (_I)"
-#~ msgid "_Title:"
-#~ msgstr "শিরোনাম: (_T)"
+msgid "_Title:"
+msgstr "শিরোনাম: (_T)"
+
+msgid "Transparent background"
+msgstr "স্বচ্চ পটভূমি "
2017-02-27 17:03:46 +00:00
diff --git a/po/br.po b/po/br.po
index e16ea07dfc21..f4cbe857d5ca 100644
--- a/po/br.po
+++ b/po/br.po
@@ -958,8 +958,8 @@ msgid "_Base on:"
msgstr ""
#: ../src/profile-preferences.glade.h:1
-msgid "<b>Command</b>"
-msgstr "<b>Arc'had</b>"
+msgid "Command"
+msgstr "Arc'had"
#: ../src/profile-preferences.glade.h:2
msgid "<b>Foreground and Background</b>"
@@ -1211,7 +1211,7 @@ msgid "_Text color:"
msgstr "Liv an destenn :"
#: ../src/profile-preferences.glade.h:73
-msgid "_Transparent background"
+msgid "Transparent background"
msgstr ""
#: ../src/profile-preferences.glade.h:74
2016-11-08 12:04:35 +00:00
diff --git a/po/bs.po b/po/bs.po
2018-04-06 11:50:22 +00:00
index 49e710859ac9..8703552984b1 100644
2016-11-08 12:04:35 +00:00
--- a/po/bs.po
+++ b/po/bs.po
@@ -680,6 +680,10 @@ msgstr "Kratica tastature za povećavanje fonta"
msgid "Keyboard shortcut to make font smaller"
msgstr "Kratica tastature za smanjivanje fonta"
+#: ../src/gnome-terminal.glade2.h:102
+msgid "Transparent background"
+msgstr "Providna pozadina"
+
#: ../src/org.gnome.Terminal.gschema.xml.h:78
msgid "Keyboard shortcut to make font normal-size"
msgstr "Kratica tastature za postavljanje fonta na normalnu veličinu"
2018-04-06 11:50:22 +00:00
@@ -2054,3 +2058,9 @@ msgstr ""
2016-11-08 12:04:35 +00:00
#: ../src/terminal-window.c:3652
msgid "C_lose Window"
msgstr "_Zatvori prozor"
+
+msgid "_Title:"
+msgstr "_Naslov:"
2017-02-27 17:03:46 +00:00
+
+msgid "Set Title"
+msgstr "Postavi naslov"
2016-11-08 12:04:35 +00:00
diff --git a/po/ca.po b/po/ca.po
2019-03-29 17:55:04 +00:00
index 52b30f62831c..81efec6ef9bd 100644
2016-11-08 12:04:35 +00:00
--- a/po/ca.po
+++ b/po/ca.po
2019-03-29 17:55:04 +00:00
@@ -2315,3 +2315,15 @@ msgstr ""
#: ../src/terminal-window.c:3246
msgid "C_lose Window"
msgstr "Tanca la _finestra"
2016-11-08 12:04:35 +00:00
+
+msgid "Transparent background"
+msgstr "Fons transparent"
+
+msgid "Title"
+msgstr "Títol"
+
+msgid "_Title:"
+msgstr "Tít_ol:"
2017-02-27 17:03:46 +00:00
+
+msgid "Set Title"
+msgstr "Estableix el títol"
2016-11-08 12:04:35 +00:00
diff --git a/po/ca@valencia.po b/po/ca@valencia.po
2018-04-06 11:50:22 +00:00
index a6e8fb4250dc..c9ed8508228d 100644
2016-11-08 12:04:35 +00:00
--- a/po/ca@valencia.po
+++ b/po/ca@valencia.po
2018-04-06 11:50:22 +00:00
@@ -2357,3 +2357,15 @@ msgstr "Tanca la _finestra"
2017-11-02 10:45:41 +00:00
#~ msgid "Whether to use a dark theme variant"
#~ msgstr "Si s'ha d'utilitzar la variant de tema fosc"
2016-11-08 12:04:35 +00:00
+
+msgid "Transparent background"
+msgstr "Fons transparent"
+
+msgid "Title"
+msgstr "Títol"
+
+msgid "_Title:"
+msgstr "Tít_ol:"
2017-02-27 17:03:46 +00:00
+
+msgid "Set Title"
+msgstr "Estableix el títol"
2016-11-08 12:04:35 +00:00
diff --git a/po/cs.po b/po/cs.po
2019-03-29 17:55:04 +00:00
index ee7b75f7d037..7c3390493d8f 100644
2016-11-08 12:04:35 +00:00
--- a/po/cs.po
+++ b/po/cs.po
2019-03-29 17:55:04 +00:00
@@ -2287,3 +2287,15 @@ msgstr ""
#: ../src/terminal-window.c:3246
2018-04-13 15:48:14 +00:00
msgid "C_lose Window"
msgstr "_Zavřít okno"
2016-11-08 12:04:35 +00:00
+
+msgid "Transparent background"
+msgstr "Průsvitné pozadí"
+
+msgid "Title"
+msgstr "Záhlaví"
+
+msgid "_Title:"
+msgstr "Zá_hlaví:"
2017-02-27 17:03:46 +00:00
+
+msgid "Set Title"
+msgstr "Nastavit záhlaví"
2016-11-08 12:04:35 +00:00
diff --git a/po/cy.po b/po/cy.po
2017-02-27 17:03:46 +00:00
index 644df82363f1..cd862feb50c0 100644
2016-11-08 12:04:35 +00:00
--- a/po/cy.po
+++ b/po/cy.po
2017-02-27 17:03:46 +00:00
@@ -1167,8 +1167,8 @@ msgid "_Base on:"
msgstr "Ei _seilio ar:"
#: ../src/profile-preferences.glade.h:1
-msgid "<b>Command</b>"
-msgstr "<b>Gorchymyn</b>"
+msgid "Command"
+msgstr "Gorchymyn"
#: ../src/profile-preferences.glade.h:2
msgid "<b>Foreground and Background</b>"
2016-11-08 12:04:35 +00:00
@@ -1448,8 +1448,8 @@ msgid "_Text color:"
msgstr "Lliw'r _testun:"
#: ../src/profile-preferences.glade.h:73
-msgid "_Transparent background"
-msgstr "Cefndir _tryloyw"
+msgid "Transparent background"
+msgstr "Cefndir tryloyw"
#: ../src/profile-preferences.glade.h:74
msgid "_Update login records when command is launched"
diff --git a/po/da.po b/po/da.po
2019-03-29 17:55:04 +00:00
index 2ad0736c0b66..0a8858c75e0c 100644
2016-11-08 12:04:35 +00:00
--- a/po/da.po
+++ b/po/da.po
2019-03-29 17:55:04 +00:00
@@ -2339,3 +2339,15 @@ msgstr "_Luk vindue"
2016-11-08 12:04:35 +00:00
2019-03-29 17:55:04 +00:00
#~ msgid "Open the terminal file manager Midnight Commander"
#~ msgstr "Åbn terminalfilhåndteringen Midnight Commander"
+
2016-11-08 12:04:35 +00:00
+msgid "Title"
+msgstr "Titel"
2017-09-14 18:04:46 +00:00
+
2016-11-08 12:04:35 +00:00
+msgid "_Title:"
+msgstr "_Titel:"
2017-09-14 18:04:46 +00:00
+
2017-02-27 17:03:46 +00:00
+msgid "Set Title"
+msgstr "Sæt titel"
2017-09-14 18:04:46 +00:00
+
2016-11-08 12:04:35 +00:00
+msgid "Transparent background"
+msgstr "Gennemsigtig baggrund"
diff --git a/po/de.po b/po/de.po
2019-02-19 10:36:17 +00:00
index a7fd71fe9f96..da704eb7fbef 100644
2016-11-08 12:04:35 +00:00
--- a/po/de.po
+++ b/po/de.po
2019-02-19 10:36:17 +00:00
@@ -2364,3 +2364,15 @@ msgstr "Fenster _schließen"
#~ msgid "_Quit"
#~ msgstr "_Beenden"
2017-09-14 18:04:46 +00:00
+
2016-11-08 12:04:35 +00:00
+msgid "Title"
+msgstr "Titel"
2017-09-14 18:04:46 +00:00
+
2016-11-08 12:04:35 +00:00
+msgid "_Title:"
+msgstr "_Titel:"
2017-09-14 18:04:46 +00:00
+
2017-02-27 17:03:46 +00:00
+msgid "Set Title"
+msgstr "Titel festlegen"
2017-09-14 18:04:46 +00:00
+
2016-11-08 12:04:35 +00:00
+msgid "Transparent background"
+msgstr "Transparenter Hintergrund"
diff --git a/po/dz.po b/po/dz.po
2017-02-27 17:03:46 +00:00
index d97e6102b850..a768fe4adc54 100644
2016-11-08 12:04:35 +00:00
--- a/po/dz.po
+++ b/po/dz.po
2017-02-27 17:03:46 +00:00
@@ -1255,8 +1255,8 @@ msgid "_Base on:"
msgstr "གཞི་བཞག་སྟེ་:(_B)"
#: ../src/profile-preferences.glade.h:1
-msgid "<b>Command</b>"
-msgstr "<b>བརྡ་བཀོད་</b>"
+msgid "Command"
+msgstr "བརྡ་བཀོད་"
#: ../src/profile-preferences.glade.h:2
#, fuzzy
2016-11-08 12:04:35 +00:00
@@ -1551,8 +1551,8 @@ msgid "_Text color:"
msgstr "ཚིག་ཡིག་ཚོས་གཞི་:(_T)"
#: ../src/profile-preferences.glade.h:77
-msgid "_Transparent background"
-msgstr "དྭངས་གསལ་རྒྱབ་གཞི།(_T)"
+msgid "Transparent background"
+msgstr "དྭངས་གསལ་རྒྱབ་གཞི།"
#: ../src/profile-preferences.glade.h:78
#, fuzzy
diff --git a/po/el.po b/po/el.po
2019-03-29 17:55:04 +00:00
index 99c9a629b472..15f683b5a625 100644
2016-11-08 12:04:35 +00:00
--- a/po/el.po
+++ b/po/el.po
2019-03-29 17:55:04 +00:00
@@ -2735,17 +2735,17 @@ msgstr "Κ _λείσ ι μο παραθύρου"
2016-11-08 12:04:35 +00:00
#~ msgid "Default size:"
#~ msgstr "Προεπιλεγμένο μέγεθος:"
-#~ msgid "Title"
-#~ msgstr "Τίτλος"
+msgid "Title"
+msgstr "Τίτλος"
-#~ msgid "_Title:"
-#~ msgstr "_Τ ίτλο ς:"
+msgid "_Title:"
+msgstr "_Τ ίτλο ς:"
#~ msgid "Title and Command"
#~ msgstr "Τίτλος και εντολή"
2017-02-27 17:03:46 +00:00
-#~ msgid "Set Title"
-#~ msgstr "Ορισμός τίτλου"
+msgid "Set Title"
+msgstr "Ορισμός τίτλου"
#~ msgid "Current Locale"
#~ msgstr "Τρέχουσα τοπική ρύθμιση"
2019-03-29 17:55:04 +00:00
@@ -2783,3 +2783,6 @@ msgstr "Κ _λείσ ι μο παραθύρου"
2016-11-08 12:04:35 +00:00
#~ msgid "_Input Methods"
#~ msgstr "_Μ έθο δο ι εισαγωγής"
+
+msgid "Transparent background"
+msgstr "Διάφανο παρασκήνιο"
diff --git a/po/en@shaw.po b/po/en@shaw.po
2017-02-27 17:03:46 +00:00
index 82b2d53401b2..28f5dc02575b 100644
2016-11-08 12:04:35 +00:00
--- a/po/en@shaw.po
+++ b/po/en@shaw.po
2017-02-27 17:03:46 +00:00
@@ -1212,8 +1212,8 @@ msgid "_Base on:"
msgstr "_𐑚𐑱𐑕 𐑪𐑯:"
#: ../src/profile-preferences.glade.h:1
-msgid "<b>Command</b>"
-msgstr "<b>𐑒𐑩𐑥𐑭𐑯𐑛</b>"
+msgid "Command"
+msgstr "𐑒𐑩𐑥𐑭𐑯𐑛"
#: ../src/profile-preferences.glade.h:2
msgid "<b>Foreground, Background, Bold and Underline</b>"
2016-11-08 12:04:35 +00:00
@@ -1468,8 +1468,8 @@ msgid "_Text color:"
msgstr "_𐑑𐑧𐑒𐑕𐑑 𐑒𐑳𐑤𐑼:"
#: ../src/profile-preferences.glade.h:78
-msgid "_Transparent background"
-msgstr "_𐑑𐑮𐑨𐑯𐑕𐑐𐑸𐑩𐑯𐑑 𐑚𐑨𐑒𐑜𐑮𐑬𐑯𐑛"
+msgid "Transparent background"
+msgstr "𐑑𐑮𐑨𐑯𐑕𐑐𐑸𐑩𐑯𐑑 𐑚𐑨𐑒𐑜𐑮𐑬𐑯𐑛"
#: ../src/profile-preferences.glade.h:79
msgid "_Underline color:"
diff --git a/po/en_CA.po b/po/en_CA.po
2018-04-06 11:50:22 +00:00
index 6c9e0cd73d63..db4aa891dd45 100644
2016-11-08 12:04:35 +00:00
--- a/po/en_CA.po
+++ b/po/en_CA.po
2017-02-27 17:03:46 +00:00
@@ -219,8 +219,8 @@ msgid "<b>Background</b>"
msgstr "<b>Background</b>"
#: ../src/gnome-terminal.glade2.h:3
-msgid "<b>Command</b>"
-msgstr "<b>Command</b>"
+msgid "Command"
+msgstr "Command"
#: ../src/gnome-terminal.glade2.h:4
msgid "<b>Compatibility</b>"
2016-11-08 12:04:35 +00:00
@@ -557,8 +557,8 @@ msgid "_Text color:"
msgstr "_Text colour:"
#: ../src/gnome-terminal.glade2.h:86
-msgid "_Transparent background"
-msgstr "_Transparent background"
+msgid "Transparent background"
+msgstr "Transparent background"
#: ../src/gnome-terminal.glade2.h:87
msgid "_Update login records when command is launched"
diff --git a/po/en_GB.po b/po/en_GB.po
2018-04-13 15:48:14 +00:00
index c9999e204f33..dfbff85bf907 100644
2016-11-08 12:04:35 +00:00
--- a/po/en_GB.po
+++ b/po/en_GB.po
2018-04-13 15:48:14 +00:00
@@ -2796,8 +2796,8 @@ msgstr "C_lose Window"
2016-11-08 12:04:35 +00:00
#~ msgid "Default size:"
#~ msgstr "Default size:"
-#~ msgid "Title"
-#~ msgstr "Title"
+msgid "Title"
+msgstr "Title"
#~ msgid "When terminal commands set their o_wn titles:"
#~ msgstr "When terminal commands set their o_wn titles:"
2018-04-13 15:48:14 +00:00
@@ -2814,8 +2814,8 @@ msgstr "C_lose Window"
#~ msgid "_Unlimited"
#~ msgstr "_Unlimited"
2017-02-27 17:03:46 +00:00
-#~ msgid "Set Title"
-#~ msgstr "Set Title"
+msgid "Set Title"
+msgstr "Set Title"
2018-04-13 15:48:14 +00:00
#~ msgid "Switch to Tab 3"
#~ msgstr "Switch to Tab 3"
@@ -2856,8 +2856,8 @@ msgstr "C_lose Window"
2016-11-08 12:04:35 +00:00
#~ msgid "_Input Methods"
#~ msgstr "_Input Methods"
-#~ msgid "_Title:"
-#~ msgstr "_Title:"
+msgid "_Title:"
+msgstr "_Title:"
#~ msgid "Add or Remove Terminal Encodings"
#~ msgstr "Add or Remove Terminal Encodings"
2018-04-13 15:48:14 +00:00
@@ -3552,8 +3552,8 @@ msgstr "C_lose Window"
2016-11-08 12:04:35 +00:00
#~ msgid "Background image _scrolls"
#~ msgstr "Background image _scrolls"
-#~ msgid "_Transparent background"
-#~ msgstr "_Transparent background"
+msgid "Transparent background"
+msgstr "Transparent background"
#~ msgid "S_hade transparent or image background:"
#~ msgstr "S_hade transparent or image background:"
diff --git a/po/eo.po b/po/eo.po
2019-02-19 10:36:17 +00:00
index 2956aa8c3f6d..a91669d7a5e0 100644
2016-11-08 12:04:35 +00:00
--- a/po/eo.po
+++ b/po/eo.po
2019-02-19 10:36:17 +00:00
@@ -2663,8 +2663,8 @@ msgstr "_Fermi la fenestron"
#~ msgid "_Font:"
#~ msgstr "_Tiparo:"
2017-02-27 17:03:46 +00:00
-#~ msgid "Set Title"
-#~ msgstr "Agordi titolon"
+msgid "Set Title"
+msgstr "Agordi titolon"
2019-02-19 10:36:17 +00:00
#~ msgid "Switch to Tab 3"
#~ msgstr "Ŝalti al langeto 3"
@@ -2726,8 +2726,8 @@ msgstr "_Fermi la fenestron"
2016-11-08 12:04:35 +00:00
#~ msgid "_Input Methods"
#~ msgstr "_Enigmetodoj"
-#~ msgid "_Title:"
-#~ msgstr "_Titolo:"
+msgid "_Title:"
+msgstr "_Titolo:"
#~ msgid "On the left side"
#~ msgstr "Maldekstre"
diff --git a/po/es.po b/po/es.po
2019-02-19 10:36:17 +00:00
index b54ad88fa136..1205b871d122 100644
2016-11-08 12:04:35 +00:00
--- a/po/es.po
+++ b/po/es.po
2019-02-19 10:36:17 +00:00
@@ -2738,17 +2738,17 @@ msgstr "_Cerrar ventana"
2016-11-08 12:04:35 +00:00
#~ msgid "Default size:"
#~ msgstr "Tamaño predeterminado:"
-#~ msgid "Title"
-#~ msgstr "Título"
+msgid "Title"
+msgstr "Título"
-#~ msgid "_Title:"
-#~ msgstr "_Título:"
+msgid "_Title:"
+msgstr "_Título:"
#~ msgid "Title and Command"
#~ msgstr "Título y comando"
2017-02-27 17:03:46 +00:00
-#~ msgid "Set Title"
-#~ msgstr "Establecer título"
+msgid "Set Title"
+msgstr "Establecer título"
#~ msgid "Current Locale"
#~ msgstr "Configuración regional actual"
2019-02-19 10:36:17 +00:00
@@ -3574,8 +3574,8 @@ msgstr "_Cerrar ventana"
2016-11-08 12:04:35 +00:00
#~ msgid "_Solid color"
#~ msgstr "Color _sólido"
-#~ msgid "_Transparent background"
-#~ msgstr "Fondo _transparente"
+msgid "Transparent background"
+msgstr "Fondo transparente"
#~ msgid "No such profile \"%s\", using default profile\n"
#~ msgstr "No existe el perfil «%s», usando el perfil predeterminado\n"
diff --git a/po/et.po b/po/et.po
index 4b1c2a7c67e4..770761168806 100644
--- a/po/et.po
+++ b/po/et.po
@@ -1747,3 +1747,6 @@ msgstr "Su_lge aken"
#~ msgid "Choose base profile"
#~ msgstr "Vali põhiprofiil"
+
+msgid "Transparent background"
+msgstr "Läbipaistev taust"
diff --git a/po/eu.po b/po/eu.po
2019-03-29 18:08:38 +00:00
index c475344c165b..26d74747ad6a 100644
2016-11-08 12:04:35 +00:00
--- a/po/eu.po
+++ b/po/eu.po
2019-03-29 18:08:38 +00:00
@@ -2172,3 +2172,14 @@ msgstr "Oraindik prozesu bat exekutatzen ari da terminal honetan. Terminal hau i
msgid "C_lose Window"
msgstr "It_xi leihoa"
2016-11-08 12:04:35 +00:00
+msgid "Title"
+msgstr "Titulua"
2019-03-29 18:08:38 +00:00
+
2016-11-08 12:04:35 +00:00
+msgid "_Title:"
+msgstr "_Titulua:"
2019-03-29 18:08:38 +00:00
+
2017-02-27 17:03:46 +00:00
+msgid "Set Title"
+msgstr "Ezarri titulua"
2019-03-29 18:08:38 +00:00
+
2016-11-08 12:04:35 +00:00
+msgid "Transparent background"
+msgstr "Atzeko plano gardena"
diff --git a/po/fa.po b/po/fa.po
2018-04-06 16:27:27 +00:00
index 8b0ca26eebe5..6079d0c40a1d 100644
2016-11-08 12:04:35 +00:00
--- a/po/fa.po
+++ b/po/fa.po
2017-10-12 12:38:25 +00:00
@@ -2402,8 +2402,8 @@ msgstr "_بستن پنجره"
2016-11-08 12:04:35 +00:00
#~ msgid "Use custom default terminal si_ze"
#~ msgstr "استفاده از اندازهی _سفا رشی پایانهی پیشفرض"
-#~ msgid "Title"
-#~ msgstr "عنوان"
+msgid "Title"
+msgstr "عنوان"
#~ msgid "When terminal commands set their o_wn titles:"
#~ msgstr "وقتی که فرمانهای پایانه عنوانهای _خودشا ن را تنظیم میکنند:"
2017-10-12 12:38:25 +00:00
@@ -2426,8 +2426,8 @@ msgstr "_بستن پنجره"
2017-02-27 17:03:46 +00:00
#~ msgid "Close Window"
#~ msgstr "بستن پنجره"
-#~ msgid "Set Title"
-#~ msgstr "تنظیم عنوان"
+msgid "Set Title"
+msgstr "تنظیم عنوان"
#~ msgid "Switch to Tab 2"
#~ msgstr "تعویض به زبانهی ۲"
2017-10-12 12:38:25 +00:00
@@ -2486,5 +2486,8 @@ msgstr "_بستن پنجره"
2016-11-08 12:04:35 +00:00
#~ msgid "_Input Methods"
#~ msgstr "روشهای _ورودی"
-#~ msgid "_Title:"
-#~ msgstr "_عنوا ن:"
+msgid "_Title:"
+msgstr "_عنوا ن:"
+
+msgid "Transparent background"
+msgstr "پسزمینهی شفاف"
diff --git a/po/fi.po b/po/fi.po
2019-03-29 17:55:04 +00:00
index 1d341ed83115..7ab745dafa50 100644
2016-11-08 12:04:35 +00:00
--- a/po/fi.po
+++ b/po/fi.po
2019-03-29 17:55:04 +00:00
@@ -2591,9 +2591,21 @@ msgstr "_Sulje ikkuna"
2016-11-08 12:04:35 +00:00
#~ msgid "_Update login records when command is launched"
#~ msgstr "_Päivitä kirjautumistallenne kun komento käynnistetään"
+msgid "Transparent background"
+msgstr "Läpinäkyvä tausta"
+
#~| msgid "Error parsing command: %s"
#~ msgid "Missing command"
#~ msgstr "Puuttuva komento"
#~ msgid "Whether to use a dark theme variant"
#~ msgstr "Käytetäänkö teeman tummaan muunnelmaa"
+
+msgid "Title"
+msgstr "Otsikko"
+
+msgid "_Title:"
+msgstr "_Otsikko:"
2017-02-27 17:03:46 +00:00
+
+msgid "Set Title"
+msgstr "Aseta otsikko"
2016-11-08 12:04:35 +00:00
diff --git a/po/fr.po b/po/fr.po
2019-02-19 10:36:17 +00:00
index 927c1dd5d3af..a539d62c2646 100644
2016-11-08 12:04:35 +00:00
--- a/po/fr.po
+++ b/po/fr.po
2019-02-19 10:36:17 +00:00
@@ -2607,3 +2607,15 @@ msgstr "Fermer _la fenêtre"
2016-11-08 12:04:35 +00:00
#~ msgid "_Same as text color"
#~ msgstr "_Même couleur que le texte"
+
+msgid "Transparent background"
+msgstr "Arrière-plan transparent"
+
+msgid "Title"
+msgstr "Titre"
+
+msgid "_Title:"
+msgstr "_Titre :"
2017-02-27 17:03:46 +00:00
+
+msgid "Set Title"
+msgstr "Définir le titre"
2016-11-08 12:04:35 +00:00
diff --git a/po/fur.po b/po/fur.po
2019-03-29 17:55:04 +00:00
index d4a67b1cbcd0..81841080e39e 100644
2016-11-08 12:04:35 +00:00
--- a/po/fur.po
+++ b/po/fur.po
2019-02-19 10:36:17 +00:00
@@ -445,6 +445,10 @@ msgstr ""
2016-11-08 12:04:35 +00:00
msgid "Which encoding to use"
msgstr "Codifiche di doprâ"
+#: ../src/gnome-terminal.glade2.h:86
+msgid "Transparent background"
+msgstr "Fondâl trasparent"
+
2019-02-19 10:36:17 +00:00
#: ../src/org.gnome.Terminal.gschema.xml.h:66
2016-11-08 12:04:35 +00:00
msgid ""
"Whether ambiguous-width characters are narrow or wide when using UTF-8 "
2019-02-19 10:36:17 +00:00
@@ -3384,6 +3388,9 @@ msgstr "_Siere barcon"
2018-04-03 18:03:19 +00:00
#~ msgid "The text you clicked on doesn't seem to be a valid OTP challenge."
#~ msgstr "Il test fracât nol samee jessi un OTP challenge."
2017-02-27 17:03:46 +00:00
+msgid "Set Title"
+msgstr "Imposte titul"
2018-04-03 18:03:19 +00:00
+
#~ msgid "Switch to Tab 3"
#~ msgstr "Passe a la schede 3"
2017-02-27 17:03:46 +00:00
2019-02-19 10:36:17 +00:00
@@ -3439,8 +3446,8 @@ msgstr "_Siere barcon"
2016-11-08 12:04:35 +00:00
#~ msgid "_Input Methods"
#~ msgstr "_Cemût inserî test"
-#~ msgid "_Title:"
-#~ msgstr "_Titul:"
+msgid "_Title:"
+msgstr "_Titul:"
#~ msgid ""
#~ "text/plain dropped on terminal had wrong format (%d) or length (%d)\n"
diff --git a/po/ga.po b/po/ga.po
index 93d5fa9d1481..feb87dce3d6b 100644
--- a/po/ga.po
+++ b/po/ga.po
@@ -1925,3 +1925,6 @@ msgstr "_Dún Fuinneog"
#: ../src/terminal-window.c:3582
msgid "C_lose Terminal"
msgstr "_Dún Teirminéal"
+
+msgid "Transparent background"
+msgstr "Cúlra trédhearcach"
diff --git a/po/gl.po b/po/gl.po
2019-02-19 10:36:17 +00:00
index f0ddeac3b6bf..e774d9dcf429 100644
2016-11-08 12:04:35 +00:00
--- a/po/gl.po
+++ b/po/gl.po
2019-02-19 10:36:17 +00:00
@@ -2696,17 +2696,17 @@ msgstr "P_echar a xanela"
2016-11-08 12:04:35 +00:00
#~ msgid "Default size:"
#~ msgstr "Tamaño predeterminado:"
-#~ msgid "Title"
-#~ msgstr "Título"
+msgid "Title"
+msgstr "Título"
-#~ msgid "_Title:"
-#~ msgstr "_Título:"
+msgid "_Title:"
+msgstr "_Título:"
#~ msgid "Title and Command"
#~ msgstr "Título e orde"
2017-02-27 17:03:46 +00:00
-#~ msgid "Set Title"
-#~ msgstr "Definir o título"
+msgid "Set Title"
+msgstr "Definir o título"
#~ msgid "Current Locale"
#~ msgstr "Configuración rexional actual"
2019-02-19 10:36:17 +00:00
@@ -3520,8 +3520,8 @@ msgstr "P_echar a xanela"
2016-11-08 12:04:35 +00:00
#~ msgid "Background image _scrolls"
#~ msgstr "A imaxe de fondo _desprázase"
-#~ msgid "_Transparent background"
-#~ msgstr "Fondo _transparente"
+msgid "Transparent background"
+msgstr "Fondo transparente"
#~ msgid "S_hade transparent or image background:"
#~ msgstr "_Sombra transparente ou imaxe de fondo:"
diff --git a/po/gu.po b/po/gu.po
2018-04-12 17:21:08 +00:00
index 76b459cf8dc5..485beeac98b7 100644
2016-11-08 12:04:35 +00:00
--- a/po/gu.po
+++ b/po/gu.po
@@ -2155,8 +2155,8 @@ msgstr "વિન્ડો બંધ કરો (_l)"
#~ msgid "Default size:"
#~ msgstr "મૂળભૂત માપ:"
-#~ msgid "Title"
-#~ msgstr "શીર્ષક"
+msgid "Title"
+msgstr "શીર્ષક"
#~ msgid "When terminal commands set their o_wn titles:"
#~ msgstr "જ્યારે આદેશો તેમના પોતાના શીર્ષકો સુયોજીત કરે (_w):"
2017-02-27 17:03:46 +00:00
@@ -2176,8 +2176,8 @@ msgstr "વિન્ડો બંધ કરો (_l)"
#~ msgid "Close Window"
#~ msgstr "વિન્ડો બંધ કરો"
-#~ msgid "Set Title"
-#~ msgstr "શીર્ષકની ગોઠવણી કરો"
+msgid "Set Title"
+msgstr "શીર્ષકની ગોઠવણી કરો"
#~ msgid "The shortcut key “%s” is already bound to the “%s” action"
#~ msgstr "ટુંકાણ કી “%s“ એ પહેલાથી ક્રિયા “%s“ સાથે બંધાયેલી છે"
2016-11-08 12:04:35 +00:00
@@ -2203,8 +2203,8 @@ msgstr "વિન્ડો બંધ કરો (_l)"
#~ msgid "_Input Methods"
#~ msgstr "ઈનપુટ માટેની પધ્ધિતિઓ (_I)"
-#~ msgid "_Title:"
-#~ msgstr "શીર્ષક (_T):"
+msgid "_Title:"
+msgstr "શીર્ષક (_T):"
#~ msgid "Keyboard shortcut to switch to tab 1"
#~ msgstr "ટૅબ ૧ પર જવા માટે કીબોર્ડનું ટુંકાણ"
@@ -2944,8 +2944,8 @@ msgstr "વિન્ડો બંધ કરો (_l)"
#~ msgid "_Solid color"
#~ msgstr "ઘટ્ટ રંગ (_S)"
-#~ msgid "_Transparent background"
-#~ msgstr "પારદર્શક પાશ્વ ભાગનો ભાગ (_T)"
+msgid "Transparent background"
+msgstr "પારદર્શક પાશ્વ ભાગનો ભાગ"
#~ msgid "No such profile \"%s\", using default profile\n"
#~ msgstr "\"%s\" જેવી કોઈ રૂપરેખા નથી, મૂળભૂત રૂપરેખા વાપરી રહ્યા છે\n"
diff --git a/po/he.po b/po/he.po
2018-04-12 17:21:08 +00:00
index 57cb2d0d110f..efe8fa100074 100644
2016-11-08 12:04:35 +00:00
--- a/po/he.po
+++ b/po/he.po
2018-04-12 17:21:08 +00:00
@@ -2333,17 +2333,17 @@ msgstr "סגירת ה_חלו ן "
2016-11-08 12:04:35 +00:00
#~ msgid "Default size:"
#~ msgstr "גודל בררת מחדל:"
-#~ msgid "Title"
-#~ msgstr "כותרת"
+msgid "Title"
+msgstr "כותרת"
-#~ msgid "_Title:"
-#~ msgstr "_כו תרת:"
+msgid "_Title:"
+msgstr "_כו תרת:"
#~ msgid "Title and Command"
#~ msgstr "כותרת ופקודה"
2017-02-27 17:03:46 +00:00
-#~ msgid "Set Title"
-#~ msgstr "הגדרת כותרת"
+msgid "Set Title"
+msgstr "הגדרת כותרת"
#~ msgid "Current Locale"
#~ msgstr "השפה הנוכחית"
2016-11-08 12:04:35 +00:00
@@ -3194,8 +3194,8 @@ msgstr "סגירת ה_חלו ן "
#~ msgid "_Solid color"
#~ msgstr "צבע _אחי ד"
-#~ msgid "_Transparent background"
-#~ msgstr "רקע _שקו ף"
+msgid "Transparent background"
+msgstr "רקע שקוף"
#~ msgid "No such profile \"%s\", using default profile\n"
#~ msgstr "No such profile \"%s\", using default profile\n"
diff --git a/po/hi.po b/po/hi.po
2018-04-12 17:21:08 +00:00
index 2d7dc5b14008..8d3d0529df61 100644
2016-11-08 12:04:35 +00:00
--- a/po/hi.po
+++ b/po/hi.po
2016-11-08 12:29:11 +00:00
@@ -2267,9 +2267,8 @@ msgstr "विंडो बंद करें (_l)"
#~ msgid "Use custom default terminal si_ze"
2016-11-08 12:04:35 +00:00
#~ msgstr "कस्टम डिफ़ॉल्ट टर्मिनल आकार का उपयोग करें (_z)"
2016-11-08 12:29:11 +00:00
-#~| msgid "_Title:"
2016-11-08 12:04:35 +00:00
-#~ msgid "Title"
-#~ msgstr "शीर्षक"
+msgid "Title"
+msgstr "शीर्षक"
#~ msgid "When terminal commands set their o_wn titles:"
#~ msgstr "जब टर्मिनल कमांड उनका अपना शीर्षक सेट करता है (_w):"
2017-02-27 17:03:46 +00:00
@@ -2289,8 +2288,8 @@ msgstr "विंडो बंद करें (_l)"
#~ msgid "Close Window"
#~ msgstr "विंडो बंद करें"
-#~ msgid "Set Title"
-#~ msgstr "शीर्षक नियत करें"
+msgid "Set Title"
+msgstr "शीर्षक नियत करें"
#~ msgid "Switch to Tab 2"
#~ msgstr "टैब 2 पर जाएँ"
2016-11-08 12:29:11 +00:00
@@ -2349,8 +2348,8 @@ msgstr "विंडो बंद करें (_l)"
2016-11-08 12:04:35 +00:00
#~ msgid "_Input Methods"
#~ msgstr "इनपुट विधियाँ (_I)"
-#~ msgid "_Title:"
-#~ msgstr "शीर्षक (_T):"
+msgid "_Title:"
+msgstr "शीर्षक (_T):"
#~ msgid "Disable connection to session manager"
#~ msgstr "सत्र प्रबंधक में कनेक्शन निष्क्रिय करें"
2016-11-08 12:29:11 +00:00
@@ -2979,8 +2978,8 @@ msgstr "विंडो बंद करें (_l)"
2016-11-08 12:04:35 +00:00
#~ msgid "_Background image"
#~ msgstr "पृष्ठभूमि छवि (_B)"
-#~ msgid "_Transparent background"
-#~ msgstr "पारदर्शी पृष्ठभूमि (_T)"
+msgid "Transparent background"
+msgstr "पारदर्शी पृष्ठभूमि"
#~ msgid "S/Key Challenge Response"
#~ msgstr "एस/कुंजी चैलेंज प्रतिक्रिया"
diff --git a/po/hr.po b/po/hr.po
2018-04-13 15:48:14 +00:00
index aec2eaa8bac1..207b5c774b32 100644
2016-11-08 12:04:35 +00:00
--- a/po/hr.po
+++ b/po/hr.po
2018-04-13 15:48:14 +00:00
@@ -2565,3 +2565,13 @@ msgstr "_Zatvori prozor"
2017-04-13 10:35:04 +00:00
2018-04-03 18:03:19 +00:00
#~ msgid "Use transparency from system theme"
#~ msgstr "Koristi prozirnost iz teme sustava"
+
2016-11-08 12:04:35 +00:00
+#: ../src/profile-preferences.glade.h:69
+msgid "Transparent background"
+msgstr "Prozirna pozadina"
2018-04-03 18:03:19 +00:00
+
2016-11-08 12:04:35 +00:00
+msgid "_Title:"
+msgstr "_Naslov:"
2018-04-03 18:03:19 +00:00
+
2017-02-27 17:03:46 +00:00
+msgid "Set Title"
+msgstr "Postavi naslov"
2016-11-08 12:04:35 +00:00
diff --git a/po/hu.po b/po/hu.po
2019-02-19 10:36:17 +00:00
index 113e71b3411c..767144eb6cc7 100644
2016-11-08 12:04:35 +00:00
--- a/po/hu.po
+++ b/po/hu.po
2019-02-19 10:36:17 +00:00
@@ -2302,3 +2302,14 @@ msgstr ""
msgid "C_lose Window"
msgstr "_Ablak bezárása"
2016-11-08 12:04:35 +00:00
+msgid "Title"
+msgstr "Cím"
2017-09-14 18:04:46 +00:00
+
2016-11-08 12:04:35 +00:00
+msgid "_Title:"
+msgstr "_Cím:"
2017-09-14 18:04:46 +00:00
+
2017-02-27 17:03:46 +00:00
+msgid "Set Title"
+msgstr "Cím beállítása"
2017-09-14 18:04:46 +00:00
+
2016-11-08 12:04:35 +00:00
+msgid "Transparent background"
+msgstr "Áttetsző háttér"
diff --git a/po/hy.po b/po/hy.po
2017-02-27 17:03:46 +00:00
index aaf2d9b292da..4d466f164420 100644
2016-11-08 12:04:35 +00:00
--- a/po/hy.po
+++ b/po/hy.po
2017-02-27 17:03:46 +00:00
@@ -757,8 +757,8 @@ msgid "_Base on:"
msgstr ""
#: ../src/profile-preferences.glade.h:1
-msgid "<b>Command</b>"
-msgstr "<b>Հրաման</b>"
+msgid "Command"
+msgstr "Հրաման"
#: ../src/profile-preferences.glade.h:2
msgid "<b>Foreground and Background</b>"
2016-11-08 12:04:35 +00:00
@@ -1012,8 +1012,8 @@ msgid "_Text color:"
msgstr "_Տ եք ս տի գույնը՝"
#: ../src/profile-preferences.glade.h:73
-msgid "_Transparent background"
-msgstr "_Թա փա նց իկ նախադրյալ"
+msgid "Transparent background"
+msgstr "Թափանցիկ նախադրյալ"
#: ../src/profile-preferences.glade.h:74
msgid "_Update login records when command is launched"
diff --git a/po/id.po b/po/id.po
2019-02-19 10:36:17 +00:00
index ce49d31f1348..b47b9656a834 100644
2016-11-08 12:04:35 +00:00
--- a/po/id.po
+++ b/po/id.po
2019-02-19 10:36:17 +00:00
@@ -2559,3 +2559,15 @@ msgstr "Tutup Jende_la"
2018-04-06 11:50:22 +00:00
#~ msgid "_Add or Remove…"
#~ msgstr "T_ambah atau Hapus…"
2016-11-08 12:04:35 +00:00
+
+msgid "Transparent background"
+msgstr "Latar belakang transparan"
+
+msgid "Title"
+msgstr "Judul"
+
+msgid "_Title:"
+msgstr "_Judul:"
2017-02-27 17:03:46 +00:00
+
+msgid "Set Title"
+msgstr "Atur Judul"
2016-11-08 12:04:35 +00:00
diff --git a/po/it.po b/po/it.po
2019-03-29 17:55:04 +00:00
index c62d53d1c988..2b9028608286 100644
2016-11-08 12:04:35 +00:00
--- a/po/it.po
+++ b/po/it.po
2019-03-29 17:55:04 +00:00
@@ -2327,3 +2327,15 @@ msgstr ""
#: ../src/terminal-window.c:3246
2016-11-08 12:04:35 +00:00
msgid "C_lose Window"
msgstr "Chiudi _finestra"
+
+msgid "Transparent background"
+msgstr "Sfondo trasparente"
+
+msgid "Title"
+msgstr "Titolo"
+
+msgid "_Title:"
+msgstr "_Titolo:"
2017-02-27 17:03:46 +00:00
+
+msgid "Set Title"
+msgstr "Imposta titolo"
2016-11-08 12:04:35 +00:00
diff --git a/po/ja.po b/po/ja.po
2019-03-29 17:55:04 +00:00
index b42e552761f9..2c88593bb28e 100644
2016-11-08 12:04:35 +00:00
--- a/po/ja.po
+++ b/po/ja.po
2019-03-29 17:55:04 +00:00
@@ -2524,3 +2524,15 @@ msgstr "ウィンドウを閉じる(_L)"
2019-02-19 10:36:17 +00:00
#~ msgid "_Add or Remove…"
#~ msgstr "追加/削除(_A)…"
2016-11-08 12:04:35 +00:00
+
+msgid "Transparent background"
+msgstr "透過な画像にする"
+
+msgid "Title"
+msgstr "タイトル"
+
+msgid "_Title:"
+msgstr "タイトル(_T):"
2017-02-27 17:03:46 +00:00
+
+msgid "Set Title"
+msgstr "タイトルを設定する"
2016-11-08 12:04:35 +00:00
diff --git a/po/ka.po b/po/ka.po
2018-04-12 17:21:08 +00:00
index 2a0bc91fad40..c289e30eb4fa 100644
2016-11-08 12:04:35 +00:00
--- a/po/ka.po
+++ b/po/ka.po
2017-02-27 17:03:46 +00:00
@@ -219,8 +219,8 @@ msgid "<b>Background</b>"
msgstr "b>ფონი</b>"
#: ../src/gnome-terminal.glade2.h:3
-msgid "<b>Command</b>"
-msgstr "<b>ბრძანება</b>"
+msgid "Command"
+msgstr "ბრძანება"
#: ../src/gnome-terminal.glade2.h:4
msgid "<b>Compatibility</b>"
2016-11-08 12:04:35 +00:00
@@ -569,7 +569,7 @@ msgstr "_ტექსტის ფერი:"
#: ../src/gnome-terminal.glade2.h:86
#, fuzzy
-msgid "_Transparent background"
+msgid "Transparent background"
msgstr "გამჭირვალე"
#: ../src/gnome-terminal.glade2.h:87
diff --git a/po/kk.po b/po/kk.po
2019-03-29 17:55:04 +00:00
index ac7eff8587dc..258d7de5cb46 100644
2016-11-08 12:04:35 +00:00
--- a/po/kk.po
+++ b/po/kk.po
2019-03-29 17:55:04 +00:00
@@ -2557,3 +2557,15 @@ msgstr "Терезені жа _б у "
2016-11-08 12:04:35 +00:00
#~ msgid "Be quiet"
#~ msgstr "Тыныш болу"
+
+msgid "Transparent background"
+msgstr "Мөлдір фон"
+
+msgid "Title"
+msgstr "Атауы"
+
+msgid "_Title:"
+msgstr "А _та у ы:"
2017-02-27 17:03:46 +00:00
+
+msgid "Set Title"
+msgstr "Атауын орнату"
diff --git a/po/km.po b/po/km.po
index 352897d2963b..b6db9394a307 100644
--- a/po/km.po
+++ b/po/km.po
@@ -2909,8 +2909,8 @@ msgstr "បិទបង្អួច"
#~ msgid "Background image _scrolls"
#~ msgstr "រមូររូបភាពផ្ទៃខាងក្រោយ"
-#~ msgid "_Transparent background"
-#~ msgstr "ផ្ទៃខាងក្រោយថ្លា"
+msgid "Transparent background"
+msgstr "ផ្ទៃខាងក្រោយថ្លា"
#~ msgid "S_hade transparent or image background:"
#~ msgstr "ដាក់ស្រមោលផ្ទៃខាងក្រោយថ្លា ឬផ្ទៃខាងក្រោយរូបភាព ៖"
2016-11-08 12:04:35 +00:00
diff --git a/po/kn.po b/po/kn.po
2018-04-13 15:48:14 +00:00
index c887f88a2c87..0fc1c3139258 100644
2016-11-08 12:04:35 +00:00
--- a/po/kn.po
+++ b/po/kn.po
@@ -2261,8 +2261,8 @@ msgstr "ಕಿಟಕಿಯನ್ನು ಮುಚ್ಚು (_l)"
#~ msgid "Use custom default terminal si_ze"
#~ msgstr "ಅಗತ್ಯಾನುಗುಣ ಆದೇಶತೆರೆ ಗಾತ್ರವನ್ನು ಬಳಸು (_z)"
-#~ msgid "Title"
-#~ msgstr "ಶೀರ್ಷಿಕೆ"
+msgid "Title"
+msgstr "ಶೀರ್ಷಿಕೆ"
#~ msgid "When terminal commands set their o_wn titles:"
#~ msgstr "ಆದೇಶಗಳು ತಮ್ಮದೆ ಆದ ಹೆಸರಗಳನ್ನು ಇರಿಸಿಕೊಂಡಾಗ (_w):"
2017-02-27 17:03:46 +00:00
@@ -2282,8 +2282,8 @@ msgstr "ಕಿಟಕಿಯನ್ನು ಮುಚ್ಚು (_l)"
#~ msgid "Close Window"
#~ msgstr "ಕಿಟಕಿಯನ್ನು ಮುಚ್ಚು"
-#~ msgid "Set Title"
-#~ msgstr "ಶೀರ್ಷಿಕೆಯನ್ನು ನೀಡು"
+msgid "Set Title"
+msgstr "ಶೀರ್ಷಿಕೆಯನ್ನು ನೀಡು"
#~ msgid "Switch to Tab 2"
#~ msgstr "2 ನೆ ಟ್ಯಾಬ್ಗೆ ಬದಲಾಯಿಸಿ"
2016-11-08 12:04:35 +00:00
@@ -2342,5 +2342,8 @@ msgstr "ಕಿಟಕಿಯನ್ನು ಮುಚ್ಚು (_l)"
#~ msgid "_Input Methods"
#~ msgstr "ಇನ್ಪುಟ್ ಕ್ರಮಗಳು (_I)"
-#~ msgid "_Title:"
-#~ msgstr "ಶೀರ್ಷಿಕೆ(_T):"
+msgid "_Title:"
+msgstr "ಶೀರ್ಷಿಕೆ(_T):"
+
+msgid "Transparent background"
+msgstr "ಪಾರದರ್ಶಕ ಹಿನ್ನಲೆ"
diff --git a/po/ko.po b/po/ko.po
2019-03-29 18:08:38 +00:00
index 7aed718403be..eb0863216276 100644
2016-11-08 12:04:35 +00:00
--- a/po/ko.po
+++ b/po/ko.po
2019-03-29 18:08:38 +00:00
@@ -2306,3 +2306,15 @@ msgstr "창 닫기(_L)"
2016-11-08 12:04:35 +00:00
2018-04-13 15:48:14 +00:00
#~ msgid "Verbose output"
#~ msgstr "많이 출력"
2016-11-08 12:04:35 +00:00
+
+msgid "Transparent background"
+msgstr "투명한 배경"
+
+msgid "Title"
+msgstr "제목"
+
+msgid "_Title:"
+msgstr "제목(_T):"
2017-02-27 17:03:46 +00:00
+
+msgid "Set Title"
+msgstr "제목 설정"
2016-11-08 12:04:35 +00:00
diff --git a/po/ku.po b/po/ku.po
2017-02-27 17:03:46 +00:00
index bc2bb7f03de4..d2a83a007097 100644
2016-11-08 12:04:35 +00:00
--- a/po/ku.po
+++ b/po/ku.po
2017-02-27 17:03:46 +00:00
@@ -223,8 +223,8 @@ msgid "<b>Background</b>"
msgstr "<b>Zemîn</b>"
#: ../src/gnome-terminal.glade2.h:3
-msgid "<b>Command</b>"
-msgstr "<b>Ferman</b>"
+msgid "Command"
+msgstr "Ferman"
#: ../src/gnome-terminal.glade2.h:4
msgid "<b>Compatibility</b>"
2016-11-08 12:04:35 +00:00
@@ -558,8 +558,8 @@ msgid "_Text color:"
msgstr "Rengê _nivîsê:"
#: ../src/gnome-terminal.glade2.h:86
-msgid "_Transparent background"
-msgstr "Rûerdê _transparan"
+msgid "Transparent background"
+msgstr "Rûerdê transparan"
#: ../src/gnome-terminal.glade2.h:87
msgid "_Update login records when command is launched"
diff --git a/po/lt.po b/po/lt.po
2019-03-29 17:55:04 +00:00
index b5b20eeaaf41..849bd76f52c4 100644
2016-11-08 12:04:35 +00:00
--- a/po/lt.po
+++ b/po/lt.po
2019-03-29 17:55:04 +00:00
@@ -2589,3 +2589,15 @@ msgstr "_Užverti langą"
2016-11-08 12:04:35 +00:00
#~ msgid "Whether to use a dark theme variant"
#~ msgstr "Ar naudoti tamsų temos variantą"
+
+msgid "Transparent background"
+msgstr "Permatomas fonas"
+
+msgid "Title"
+msgstr "Pavadinimas"
+
+msgid "_Title:"
+msgstr "_Pavadinimas:"
2017-02-27 17:03:46 +00:00
+
+msgid "Set Title"
+msgstr "Nustatyti pavadinimą"
2016-11-08 12:04:35 +00:00
diff --git a/po/lv.po b/po/lv.po
2019-03-29 17:55:04 +00:00
index d7ba841bd82e..cdd1ebec10b5 100644
2016-11-08 12:04:35 +00:00
--- a/po/lv.po
+++ b/po/lv.po
2019-03-29 17:55:04 +00:00
@@ -2527,3 +2527,19 @@ msgstr "Aizvērt _logu"
2016-11-08 12:04:35 +00:00
2018-04-13 15:48:14 +00:00
#~ msgid "_Add or Remove…"
#~ msgstr "_Pievienot vai izņemt…"
+
2016-11-08 12:04:35 +00:00
+msgid "Transparent background"
+msgstr "Caurspīdīgs fons"
+
+msgid "Title"
+msgstr "Nosaukums"
+
+msgid "_Title:"
+msgstr "_Nosaukums:"
+
+msgctxt "title"
+msgid "'Terminal'"
+msgstr "“Terminālis”"
2017-02-27 17:03:46 +00:00
+
+msgid "Set Title"
+msgstr "Iestatīt nosaukumu"
2016-11-08 12:04:35 +00:00
diff --git a/po/mai.po b/po/mai.po
2017-02-27 17:03:46 +00:00
index 715d0b9e1c82..0f31634e4f2e 100644
2016-11-08 12:04:35 +00:00
--- a/po/mai.po
+++ b/po/mai.po
2017-02-27 17:03:46 +00:00
@@ -1044,8 +1044,8 @@ msgid "_Base on:"
msgstr "आधार पर: (_B)"
#: ../src/profile-preferences.glade.h:1
-msgid "<b>Command</b>"
-msgstr "<b>कमांड</b>"
+msgid "Command"
+msgstr "कमांड"
#: ../src/profile-preferences.glade.h:2
msgid "<b>Foreground and Background</b>"
2016-11-08 12:04:35 +00:00
@@ -1291,8 +1291,8 @@ msgid "_Text color:"
msgstr "पाठ रँग (_T):"
#: ../src/profile-preferences.glade.h:69
-msgid "_Transparent background"
-msgstr "पारदर्शी पृष्ठभूमि (_T)"
+msgid "Transparent background"
+msgstr "पारदर्शी पृष्ठभूमि"
#: ../src/profile-preferences.glade.h:70
msgid "_Update login records when command is launched"
diff --git a/po/mg.po b/po/mg.po
2018-04-13 15:48:14 +00:00
index 99fa0f5e4059..a216602569af 100644
2016-11-08 12:04:35 +00:00
--- a/po/mg.po
+++ b/po/mg.po
2017-02-27 17:03:46 +00:00
@@ -220,8 +220,8 @@ msgid "<b>Background</b>"
msgstr "<b>Afara</b>"
#: ../src/gnome-terminal.glade2.h:3
-msgid "<b>Command</b>"
-msgstr "<b>Baiko</b>"
+msgid "Command"
+msgstr "Baiko"
#: ../src/gnome-terminal.glade2.h:4
msgid "<b>Compatibility</b>"
2016-11-08 12:04:35 +00:00
@@ -567,8 +567,8 @@ msgid "_Text color:"
msgstr "Lokon'ny _soratra:"
#: ../src/gnome-terminal.glade2.h:86
-msgid "_Transparent background"
-msgstr "_Afara tatera-pahazavana"
+msgid "Transparent background"
+msgstr "Afara tatera-pahazavana"
#: ../src/gnome-terminal.glade2.h:87
msgid "_Update login records when command is launched"
diff --git a/po/mk.po b/po/mk.po
2017-02-27 17:03:46 +00:00
index 4fe43192fe57..a5a874b49c59 100644
2016-11-08 12:04:35 +00:00
--- a/po/mk.po
+++ b/po/mk.po
2017-02-27 17:03:46 +00:00
@@ -863,8 +863,8 @@ msgid "_Base on:"
msgstr "_Ба зир а но на:"
#: ../src/profile-preferences.glade.h:1
-msgid "<b>Command</b>"
-msgstr "<b>Команда</b>"
+msgid "Command"
+msgstr "Команда"
#: ../src/profile-preferences.glade.h:2
#| msgid "<b>Foreground and Background</b>"
2016-11-08 12:04:35 +00:00
@@ -1167,8 +1167,8 @@ msgid "_Text color:"
msgstr "_Бо ј а на текстот:"
#: ../src/profile-preferences.glade.h:77
-msgid "_Transparent background"
-msgstr "_Т р а нс па р е нтна позадина"
+msgid "Transparent background"
+msgstr "Транспарентна позадина"
#: ../src/profile-preferences.glade.h:78
#| msgid "_Text color:"
diff --git a/po/ml.po b/po/ml.po
2019-02-19 10:36:17 +00:00
index 296149701e1f..e3bce1225738 100644
2016-11-08 12:04:35 +00:00
--- a/po/ml.po
+++ b/po/ml.po
2019-02-19 10:36:17 +00:00
@@ -2577,3 +2577,6 @@ msgstr "ജാലകം അടയ്ക്കുക (_l)"
2016-11-08 12:04:35 +00:00
2017-09-14 18:04:46 +00:00
#~ msgid "_Unlimited"
#~ msgstr "പരിധിയില്ല (_U)"
+
2016-11-08 12:04:35 +00:00
+msgid "Transparent background"
+msgstr "പുറകിലുള്ളവ കാണാവുന്ന പശ്ചാത്തലം"
diff --git a/po/mn.po b/po/mn.po
2018-04-13 15:48:14 +00:00
index 2f9d86072d1c..09c4437d10f9 100644
2016-11-08 12:04:35 +00:00
--- a/po/mn.po
+++ b/po/mn.po
2017-02-27 17:03:46 +00:00
@@ -217,8 +217,8 @@ msgid "<b>Background</b>"
msgstr "<b>Дэвсгэр</b>"
#: ../src/gnome-terminal.glade2.h:2
-msgid "<b>Command</b>"
-msgstr "<b>Тушаал</b>"
+msgid "Command"
+msgstr "Тушаал"
#: ../src/gnome-terminal.glade2.h:3
msgid "<b>Compatibility</b>"
2016-11-08 12:04:35 +00:00
@@ -618,8 +618,8 @@ msgid "_Text color:"
msgstr "_Т е кс тийн өнгө:"
#: ../src/gnome-terminal.glade2.h:102
-msgid "_Transparent background"
-msgstr "_Т у нг а ла г дэвсгэр"
+msgid "Transparent background"
+msgstr "Тунгалаг дэвсгэр"
#: ../src/gnome-terminal.glade2.h:103
msgid "_Update login records when command is launched"
diff --git a/po/mr.po b/po/mr.po
2018-04-13 15:48:14 +00:00
index 61997dafbd03..9c7dc77abd22 100644
2016-11-08 12:04:35 +00:00
--- a/po/mr.po
+++ b/po/mr.po
@@ -2219,8 +2219,8 @@ msgstr "चौकट बंद करा (_l)"
#~ msgid "Default size:"
#~ msgstr "पूर्वनिर्धारीत आकार:"
-#~ msgid "Title"
-#~ msgstr "शीर्षक"
+msgid "Title"
+msgstr "शीर्षक"
#~ msgid "When terminal commands set their o_wn titles:"
#~ msgstr "जेव्हा टर्मिनल आदेश स्वतःचे शिर्षक निश्चित करते (_w):"
2017-02-27 17:03:46 +00:00
@@ -2240,8 +2240,8 @@ msgstr "चौकट बंद करा (_l)"
#~ msgid "Close Window"
#~ msgstr "चौकट बंद करा"
-#~ msgid "Set Title"
-#~ msgstr "शिर्षक निश्चित करा"
+msgid "Set Title"
+msgstr "शिर्षक निश्चित करा"
#~ msgid "The shortcut key “%s” is already bound to the “%s” action"
#~ msgstr "“%s” ही शार्टकट कि “%s” या कृतीशी संलग्न आहे"
2016-11-08 12:04:35 +00:00
@@ -2267,8 +2267,8 @@ msgstr "चौकट बंद करा (_l)"
#~ msgid "_Input Methods"
#~ msgstr "इनपुट पध्दती (_I)"
-#~ msgid "_Title:"
-#~ msgstr "शिर्षक (_T):"
+msgid "_Title:"
+msgstr "शिर्षक (_T):"
#~ msgid "Keyboard shortcut to switch to tab 1"
#~ msgstr "टॅब 1 वापरण्याकरीता कळफलक शॉर्टकट"
@@ -3015,8 +3015,8 @@ msgstr "चौकट बंद करा (_l)"
#~ msgid "_Solid color"
#~ msgstr "गडद रंग (_S)"
-#~ msgid "_Transparent background"
-#~ msgstr "पारदर्शी पार्श्वभूमी(_T)"
+msgid "Transparent background"
+msgstr "पारदर्शी पार्श्वभूमी"
#~ msgid "Disabled"
#~ msgstr "अकार्यान्वीतित"
diff --git a/po/ms.po b/po/ms.po
2018-04-13 15:48:14 +00:00
index f2ebd4851d3b..f3d44c9c6294 100644
2016-11-08 12:04:35 +00:00
--- a/po/ms.po
+++ b/po/ms.po
2017-02-27 17:03:46 +00:00
@@ -227,8 +227,8 @@ msgstr "<b>LatarBelakang</b>"
# help-browser/toc-man.c:19
# help-browser/toc2-man.c:21
#: ../src/gnome-terminal.glade2.h:2
-msgid "<b>Command</b>"
-msgstr "<b>Arahan</b>"
+msgid "Command"
+msgstr "Arahan"
#: ../src/gnome-terminal.glade2.h:3
msgid "<b>Compatibility</b>"
2016-11-08 12:04:35 +00:00
@@ -631,8 +631,8 @@ msgid "_Text color:"
msgstr "Warna _Teks:"
#: ../src/gnome-terminal.glade2.h:102
-msgid "_Transparent background"
-msgstr "LatarBelakang _Telus"
+msgid "Transparent background"
+msgstr "LatarBelakang Telus"
#: ../src/gnome-terminal.glade2.h:103
msgid "_Update login records when command is launched"
diff --git a/po/nb.po b/po/nb.po
2018-10-26 07:06:33 +00:00
index 683acfe5221e..3dc97ee17fec 100644
2016-11-08 12:04:35 +00:00
--- a/po/nb.po
+++ b/po/nb.po
2018-10-26 07:06:33 +00:00
@@ -2261,3 +2261,15 @@ msgstr ""
#: ../src/terminal-window.c:3210
2016-11-08 12:04:35 +00:00
msgid "C_lose Window"
msgstr "_Lukk vindu"
+
+msgid "Transparent background"
+msgstr "Gjennomsiktig bakgrunn"
+
+msgid "Title"
+msgstr "Tittel"
+
+msgid "_Title:"
+msgstr "_Tittel:"
2017-02-27 17:03:46 +00:00
+
+msgid "Set Title"
+msgstr "Sett tittel"
2016-11-08 12:04:35 +00:00
diff --git a/po/nds.po b/po/nds.po
2017-02-27 17:03:46 +00:00
index 82f930b1cc0c..d52fbd94eb58 100644
2016-11-08 12:04:35 +00:00
--- a/po/nds.po
+++ b/po/nds.po
2017-02-27 17:03:46 +00:00
@@ -748,8 +748,8 @@ msgid "_Base on:"
msgstr "_Steiht op:"
#: ../src/profile-preferences.glade.h:1
-msgid "<b>Command</b>"
-msgstr "<b>Order</b>"
+msgid "Command"
+msgstr "Order"
#: ../src/profile-preferences.glade.h:2
msgid "<b>Foreground and Background</b>"
2016-11-08 12:04:35 +00:00
@@ -996,8 +996,8 @@ msgid "_Text color:"
msgstr "_Textklöör:"
#: ../src/profile-preferences.glade.h:73
-msgid "_Transparent background"
-msgstr "_Döörschienenachtergrund:"
+msgid "Transparent background"
+msgstr "Döörschienenachtergrund:"
#: ../src/profile-preferences.glade.h:74
msgid "_Update login records when command is launched"
diff --git a/po/ne.po b/po/ne.po
2018-04-13 15:48:14 +00:00
index 4fe16cc88a9a..53fb89134be0 100644
2016-11-08 12:04:35 +00:00
--- a/po/ne.po
+++ b/po/ne.po
@@ -2398,8 +2398,8 @@ msgstr "सञ्झ्याल बन्द गर्नुहोस्"
#~ msgid "_None (use solid color)"
#~ msgstr "कुनै पनि होइन (एउटै रङ प्रयोग गर्नुहोस्)"
-#~ msgid "_Transparent background"
-#~ msgstr "पारदर्शी पृष्ठभूमि"
+msgid "Transparent background"
+msgstr "पारदर्शी पृष्ठभूमि"
#~ msgid "_Use the system fixed width font"
#~ msgstr "प्रणाली निश्चित गरिएको फन्ट चौडाइ प्रयोग गर्नुहोस्"
2017-02-27 17:03:46 +00:00
@@ -3052,8 +3052,8 @@ msgstr "सञ्झ्याल बन्द गर्नुहोस्"
#~ msgid "Close Tab"
#~ msgstr "ट्याब बन्द गर्नुहोस्"
-#~ msgid "Set Title"
-#~ msgstr "शीर्षक सेट गर्नुहोस्"
+msgid "Set Title"
+msgstr "शीर्षक सेट गर्नुहोस्"
#~ msgid "Switch to Tab 2"
#~ msgstr "ट्याब २ मा स्विच गर्नुहोस्"
2016-11-08 12:04:35 +00:00
@@ -3232,8 +3232,8 @@ msgstr "सञ्झ्याल बन्द गर्नुहोस्"
#~ msgid "_Input Methods"
#~ msgstr "आगत विधि"
-#~ msgid "_Title:"
-#~ msgstr "शीर्षक:"
+msgid "_Title:"
+msgstr "शीर्षक:"
#~ msgid ""
#~ "text/plain dropped on terminal had wrong format (%d) or length (%d)\n"
diff --git a/po/nl.po b/po/nl.po
2019-03-29 17:55:04 +00:00
index 66a5ca65c0fc..2ae40798f830 100644
2016-11-08 12:04:35 +00:00
--- a/po/nl.po
+++ b/po/nl.po
2019-03-29 17:55:04 +00:00
@@ -2608,3 +2608,15 @@ msgstr "Venster sl_uiten"
2018-04-13 15:48:14 +00:00
#~ msgid "_Add or Remove…"
#~ msgstr "_Toevoegen of verwijderen…"
2017-09-14 18:04:46 +00:00
+
2016-11-08 12:04:35 +00:00
+msgid "Title"
+msgstr "Titel"
2017-09-14 18:04:46 +00:00
+
2016-11-08 12:04:35 +00:00
+msgid "_Title:"
+msgstr "_Titel:"
2017-09-14 18:04:46 +00:00
+
2017-02-27 17:03:46 +00:00
+msgid "Set Title"
+msgstr "Titel instellen"
2017-09-14 18:04:46 +00:00
+
2016-11-08 12:04:35 +00:00
+msgid "Transparent background"
+msgstr "Transparante achtergrond"
diff --git a/po/nn.po b/po/nn.po
2017-02-27 17:03:46 +00:00
index 5aa43b113ed9..f892290c256f 100644
2016-11-08 12:04:35 +00:00
--- a/po/nn.po
+++ b/po/nn.po
2017-02-27 17:03:46 +00:00
@@ -1149,8 +1149,8 @@ msgid "_Base on:"
msgstr "_Tuft på:"
#: ../src/profile-preferences.glade.h:1
-msgid "<b>Command</b>"
-msgstr "<b>Kommando</b>"
+msgid "Command"
+msgstr "Kommando"
#: ../src/profile-preferences.glade.h:2
msgid "<b>Foreground and Background</b>"
2016-11-08 12:04:35 +00:00
@@ -1429,8 +1429,8 @@ msgid "_Text color:"
msgstr "_Tekstfarge:"
#: ../src/profile-preferences.glade.h:73
-msgid "_Transparent background"
-msgstr "_Gjennomskinleg bakgrunn"
+msgid "Transparent background"
+msgstr "Gjennomskinleg bakgrunn"
#: ../src/profile-preferences.glade.h:74
msgid "_Update login records when command is launched"
diff --git a/po/oc.po b/po/oc.po
2018-10-05 15:13:32 +00:00
index 9a6f6186019a..6e51ea2f8980 100644
2016-11-08 12:04:35 +00:00
--- a/po/oc.po
+++ b/po/oc.po
2018-10-05 15:13:32 +00:00
@@ -2944,8 +2944,8 @@ msgstr "Tampar _la fenèstra"
2016-11-08 12:04:35 +00:00
#~ msgid "Save as..."
#~ msgstr "Enregistrar jos..."
-#~ msgid "_Title:"
-#~ msgstr "_Títol :"
+msgid "_Title:"
+msgstr "_Títol :"
2018-10-05 15:13:32 +00:00
#~ msgid "_Detach tab"
#~ msgstr "Des_tacar l'onglet"
@@ -3405,8 +3405,8 @@ msgstr "Tampar _la fenèstra"
2017-02-27 17:03:46 +00:00
#~ msgid "_Use the system fixed width font"
#~ msgstr "_Utilizar la poliça de chassa fixa del sistèma"
-#~ msgid "Set Title"
-#~ msgstr "Definir lo títol"
+msgid "Set Title"
+msgstr "Definir lo títol"
2018-10-05 15:13:32 +00:00
#~ msgid "The shortcut key “%s” is already bound to the “%s” action"
#~ msgstr "L'acorchi de clavièr « %s » es ja atribuit a l'accion « %s »"
@@ -3723,8 +3723,8 @@ msgstr "Tampar _la fenèstra"
2016-11-08 12:04:35 +00:00
#~ msgid "Run;"
#~ msgstr "Executar;Consòla;Shell;"
-#~ msgid "_Transparent background"
-#~ msgstr "Rèireplan _transparent"
+msgid "Transparent background"
+msgstr "Rèireplan transparent"
#~ msgid ""
#~ "A subset of possible encodings are presented in the Encoding submenu. "
diff --git a/po/or.po b/po/or.po
index ec1e6bfb9a28..218acd712df6 100644
--- a/po/or.po
+++ b/po/or.po
@@ -2705,8 +2705,8 @@ msgstr "ଶୀର୍ଷକ (_T):"
#~ msgid "Background image _scrolls"
#~ msgstr "ପୃଷ୍ଠଭୂମି ଚିତ୍ର ସ୍କ୍ରୋଲଗୁଡିକ (_s)"
-#~ msgid "_Transparent background"
-#~ msgstr "ସ୍ବଚ୍ଛ ପୃଷ୍ଠଭୂମି (_T)"
+msgid "Transparent background"
+msgstr "ସ୍ବଚ୍ଛ ପୃଷ୍ଠଭୂମି"
#~ msgid "S_hade transparent or image background:"
#~ msgstr "ଛାୟା ସ୍ବଚ୍ଛ କିମ୍ବା ଚିତ୍ର ପୃଷ୍ଠଭୂମି (_h):"
diff --git a/po/pa.po b/po/pa.po
2018-10-05 15:13:32 +00:00
index 1cb4b46dc2aa..2bdd01fecaab 100644
2016-11-08 12:04:35 +00:00
--- a/po/pa.po
+++ b/po/pa.po
2018-10-05 15:13:32 +00:00
@@ -2718,10 +2718,9 @@ msgstr "ਵਿੰਡੋ ਬੰਦ ਕਰੋ(_l)"
2017-02-27 17:03:46 +00:00
#~ msgid "GNOME Terminal Client"
#~ msgstr "ਗਨੋਮ ਟਰਮੀਨਲ ਕਲਾਇਟ"
2016-11-08 12:04:35 +00:00
-#~| msgid "Terminal"
-#~ msgctxt "title"
-#~ msgid "'Terminal'"
-#~ msgstr "'ਟਰਮੀਨਲ'"
+msgctxt "title"
+msgid "'Terminal'"
+msgstr "'ਟਰਮੀਨਲ'"
#~ msgid "Title for terminal"
#~ msgstr "ਟਰਮੀਨਲ ਲਈ ਟਾਈਟਲ"
2018-10-05 15:13:32 +00:00
@@ -2766,11 +2765,11 @@ msgstr "ਵਿੰਡੋ ਬੰਦ ਕਰੋ(_l)"
2016-11-08 12:04:35 +00:00
#~ msgid "Default size:"
#~ msgstr "ਡਿਫਾਲਟ ਸਾਈਜ਼:"
-#~ msgid "Title"
-#~ msgstr "ਟਾਈਟਲ"
+msgid "Title"
+msgstr "ਟਾਈਟਲ"
-#~ msgid "_Title:"
-#~ msgstr "ਟਾਈਟਲ(_T):"
+msgid "_Title:"
+msgstr "ਟਾਈਟਲ(_T):"
#~ msgid "Title and Command"
#~ msgstr "ਟਾਈਟਲ ਅਤੇ ਕਮਾਂਡ"
2018-10-05 15:13:32 +00:00
@@ -2778,8 +2777,8 @@ msgstr "ਵਿੰਡੋ ਬੰਦ ਕਰੋ(_l)"
2017-02-27 17:03:46 +00:00
#~ msgid "_Unlimited"
#~ msgstr "ਬੇਅੰਤ(_U)"
-#~ msgid "Set Title"
-#~ msgstr "ਟਾਈਟਲ ਸੈੱਟ ਕਰੋ"
+msgid "Set Title"
+msgstr "ਟਾਈਟਲ ਸੈੱਟ ਕਰੋ"
#~ msgid "Current Locale"
#~ msgstr "ਮੌਜੂਦ ਲੋਕੇਲ"
2018-10-05 15:13:32 +00:00
@@ -3559,8 +3558,8 @@ msgstr "ਵਿੰਡੋ ਬੰਦ ਕਰੋ(_l)"
2016-11-08 12:04:35 +00:00
#~ msgid "_Solid color"
#~ msgstr "ਇੱਕ ਰੰਗ ਵਰਤੋਂ(_S)"
-#~ msgid "_Transparent background"
-#~ msgstr "ਪਾਰਦਰਸ਼ੀ ਬੈਕਗਰਾਊਂਡ(_T)"
+msgid "Transparent background"
+msgstr "ਪਾਰਦਰਸ਼ੀ ਬੈਕਗਰਾਊਂਡ"
#~ msgid "S/Key Challenge Response"
#~ msgstr "S/ਸਵਿੱਚ ਚੈਲੰਜ਼ ਜਵਾਬ"
diff --git a/po/ps.po b/po/ps.po
2017-02-27 17:03:46 +00:00
index b25a2cb41712..3855b2f3423f 100644
2016-11-08 12:04:35 +00:00
--- a/po/ps.po
+++ b/po/ps.po
2017-02-27 17:03:46 +00:00
@@ -810,8 +810,8 @@ msgid "_Base on:"
msgstr ":پر بنسټ د_"
#: ../src/profile-preferences.glade.h:1
-msgid "<b>Command</b>"
-msgstr "<b>بولۍ</b>"
+msgid "Command"
+msgstr "بولۍ"
#: ../src/profile-preferences.glade.h:2
msgid "<b>Foreground and Background</b>"
2016-11-08 12:04:35 +00:00
@@ -1053,8 +1053,8 @@ msgid "_Text color:"
msgstr ":د ليکنې رنګ_"
#: ../src/profile-preferences.glade.h:69
-msgid "_Transparent background"
-msgstr "روڼ شا ليد_"
+msgid "Transparent background"
+msgstr "روڼ شاليد"
#: ../src/profile-preferences.glade.h:70
msgid "_Update login records when command is launched"
diff --git a/po/pt.po b/po/pt.po
2018-04-13 15:48:14 +00:00
index 5181419ad973..3df37f6d5bc7 100644
2016-11-08 12:04:35 +00:00
--- a/po/pt.po
+++ b/po/pt.po
@@ -2360,11 +2360,11 @@ msgstr "Fechar jane_la"
#~ msgid "Default size:"
#~ msgstr "Tamanho predefinido:"
-#~ msgid "Title"
-#~ msgstr "Título"
+msgid "Title"
+msgstr "Título"
-#~ msgid "_Title:"
-#~ msgstr "_Título:"
+msgid "_Title:"
+msgstr "_Título:"
#~ msgid "Title and Command"
#~ msgstr "Título e comando"
2018-04-13 15:48:14 +00:00
@@ -2372,8 +2372,8 @@ msgstr "Fechar jane_la"
2017-02-27 17:03:46 +00:00
#~ msgid "_Unlimited"
#~ msgstr "_Ilimitado"
-#~ msgid "Set Title"
-#~ msgstr "Definir o Título"
+msgid "Set Title"
+msgstr "Definir o Título"
#~ msgid "Current Locale"
#~ msgstr "Configuração Regional Atual"
2016-11-08 12:04:35 +00:00
@@ -3160,8 +3160,8 @@ msgstr "Fechar jane_la"
#~ msgid "Background image _scrolls"
#~ msgstr "Imagem de fundo _rola"
-#~ msgid "_Transparent background"
-#~ msgstr "Fundo _transparente"
+msgid "Transparent background"
+msgstr "Fundo transparente"
#~ msgid "S_hade transparent or image background:"
#~ msgstr "Transparente som_breado ou imagem de fundo:"
diff --git a/po/pt_BR.po b/po/pt_BR.po
2019-03-29 17:55:04 +00:00
index fc9eb831d667..153a1f3d8bee 100644
2016-11-08 12:04:35 +00:00
--- a/po/pt_BR.po
+++ b/po/pt_BR.po
2019-03-29 17:55:04 +00:00
@@ -2705,17 +2705,17 @@ msgstr "_Fechar janela"
2016-11-08 12:04:35 +00:00
#~ msgid "Default size:"
#~ msgstr "Tamanho padrão:"
-#~ msgid "Title"
-#~ msgstr "Título"
+msgid "Title"
+msgstr "Título"
-#~ msgid "_Title:"
-#~ msgstr "_Título:"
+msgid "_Title:"
+msgstr "_Título:"
#~ msgid "Title and Command"
#~ msgstr "Título e comando"
2017-02-27 17:03:46 +00:00
-#~ msgid "Set Title"
-#~ msgstr "Definir título"
+msgid "Set Title"
+msgstr "Definir título"
#~ msgid "Current Locale"
#~ msgstr "Codificação atual"
2019-03-29 17:55:04 +00:00
@@ -3341,3 +3341,6 @@ msgstr "_Fechar janela"
2017-02-27 17:03:46 +00:00
#~ "terminal poderão usar. Essa é a paleta, na forma de uma lista de nomes de "
#~ "cores separada por dois pontos. Os nomes de cores devem estar no formato "
2016-11-08 12:04:35 +00:00
#~ "hexadecimal. Exemplo: \"#FF00FF\""
+
+msgid "Transparent background"
+msgstr "Fundo transparente"
diff --git a/po/ro.po b/po/ro.po
2019-02-19 10:36:17 +00:00
index b7ec580b8d4f..9440c93c2f26 100644
2016-11-08 12:04:35 +00:00
--- a/po/ro.po
+++ b/po/ro.po
2019-02-19 10:36:17 +00:00
@@ -3358,8 +3358,8 @@ msgstr "Î_nchide fereastra"
2017-09-14 18:04:46 +00:00
#~ msgid "_Solid color"
#~ msgstr "Culoare _solidă"
2016-11-08 12:04:35 +00:00
2017-09-14 18:04:46 +00:00
-#~ msgid "_Transparent background"
-#~ msgstr "Fundal _transparent"
2016-11-08 12:04:35 +00:00
+msgid "Transparent background"
+msgstr "Fundal transparent"
2017-09-14 18:04:46 +00:00
#~ msgid "_Unlimited"
#~ msgstr "_Neliminat"
2016-11-08 12:04:35 +00:00
diff --git a/po/ru.po b/po/ru.po
2019-03-29 17:55:04 +00:00
index d6f6dd4f8279..814ba613679f 100644
2016-11-08 12:04:35 +00:00
--- a/po/ru.po
+++ b/po/ru.po
2019-03-29 17:55:04 +00:00
@@ -2552,3 +2552,19 @@ msgstr "_З а кр ыть окно"
2018-04-13 15:48:14 +00:00
#~ msgid "_Add or Remove…"
#~ msgstr "_До б а вить или удалить…"
2016-11-08 12:04:35 +00:00
+
+msgid "Transparent background"
+msgstr "Прозрачный фон"
+
+msgid "Title"
+msgstr "Заголовок"
+
+msgid "_Title:"
+msgstr "З а _г о ло во к:"
+
+msgctxt "title"
+msgid "'Terminal'"
+msgstr "'Терминал'"
2017-02-27 17:03:46 +00:00
+
+msgid "Set Title"
+msgstr "Установить заголовок"
2016-11-08 12:04:35 +00:00
diff --git a/po/rw.po b/po/rw.po
index 012f64e325c3..5ff633f8b3c2 100644
--- a/po/rw.po
+++ b/po/rw.po
@@ -749,7 +749,7 @@ msgstr "Ibara ry'Inyandiko..."
#: ../src/gnome-terminal.glade2.h:102
#, fuzzy
-msgid "_Transparent background"
+msgid "Transparent background"
msgstr "Mbuganyuma"
#: ../src/gnome-terminal.glade2.h:103
@@ -2398,7 +2398,6 @@ msgstr ""
# sch/source\ui\app\menu.src:RID_MENU.WORKAROUND_22.SID_INSERT_TITLE.text
#: ../src/terminal-screen.c:2005
-#, fuzzy
msgid "_Title:"
msgstr "Umutwe..."
diff --git a/po/si.po b/po/si.po
2018-04-13 15:48:14 +00:00
index adca7d5acba9..6379cee7f0a3 100644
2016-11-08 12:04:35 +00:00
--- a/po/si.po
+++ b/po/si.po
2017-02-27 17:03:46 +00:00
@@ -218,8 +218,8 @@ msgid "<b>Background</b>"
msgstr "<b>පසුබිම</b>"
#: ../src/gnome-terminal.glade2.h:3
-msgid "<b>Command</b>"
-msgstr "<b>විධානය</b>"
+msgid "Command"
+msgstr "විධානය"
#: ../src/gnome-terminal.glade2.h:4
msgid "<b>Compatibility</b>"
2016-11-08 12:04:35 +00:00
@@ -538,8 +538,8 @@ msgid "_Text color:"
msgstr "පෙළ වර්ණ: (_T)"
#: ../src/gnome-terminal.glade2.h:86
-msgid "_Transparent background"
-msgstr "විනිවිද පෙනෙන පසුබිම (_T)"
+msgid "Transparent background"
+msgstr "විනිවිද පෙනෙන පසුබිම"
#: ../src/gnome-terminal.glade2.h:87
msgid "_Update login records when command is launched"
diff --git a/po/sk.po b/po/sk.po
2018-04-13 15:48:14 +00:00
index d0282159b459..01dd96a06939 100644
2016-11-08 12:04:35 +00:00
--- a/po/sk.po
+++ b/po/sk.po
2018-04-13 15:48:14 +00:00
@@ -2916,3 +2916,15 @@ msgstr "_Zavrieť okno"
2016-11-08 12:04:35 +00:00
#~ "\n"
#~ "Viac informácii o jednotlivých príkazoch získate pomocou „%s PRÍKAZ --"
#~ "help“.\n"
+
+msgid "Transparent background"
+msgstr "Priehľadné pozadie"
+
+msgid "Title"
+msgstr "Titulok"
+
+msgid "_Title:"
+msgstr "_Titulok:"
2017-02-27 17:03:46 +00:00
+
+msgid "Set Title"
+msgstr "Nastaviť titulok"
2016-11-08 12:04:35 +00:00
diff --git a/po/sl.po b/po/sl.po
2019-02-19 10:36:17 +00:00
index 09e7f51e707c..b00813d45d58 100644
2016-11-08 12:04:35 +00:00
--- a/po/sl.po
+++ b/po/sl.po
2019-02-19 10:36:17 +00:00
@@ -2680,17 +2680,17 @@ msgstr "_Zapri okno"
2016-11-08 12:04:35 +00:00
#~ msgid "Default size:"
#~ msgstr "Privzeta velikost:"
-#~ msgid "Title"
-#~ msgstr "Naslov"
+msgid "Title"
+msgstr "Naslov"
-#~ msgid "_Title:"
-#~ msgstr "_Naziv:"
+msgid "_Title:"
+msgstr "_Naziv:"
#~ msgid "Title and Command"
#~ msgstr "Naziv in ukaz"
2017-02-27 17:03:46 +00:00
-#~ msgid "Set Title"
-#~ msgstr "Določitev naziva okna"
+msgid "Set Title"
+msgstr "Določitev naziva okna"
#~ msgid "Current Locale"
#~ msgstr "Trenutne jezikovne nastavitve"
2019-02-19 10:36:17 +00:00
@@ -2805,3 +2805,6 @@ msgstr "_Zapri okno"
2016-11-08 12:04:35 +00:00
#~ msgid "_Profile Preferences…"
#~ msgstr "Možnosti _profila ..."
+
+msgid "Transparent background"
+msgstr "Prosojno ozadje"
diff --git a/po/sq.po b/po/sq.po
2017-02-27 17:03:46 +00:00
index 158f6cb167cc..a3494fb70bd6 100644
2016-11-08 12:04:35 +00:00
--- a/po/sq.po
+++ b/po/sq.po
2017-02-27 17:03:46 +00:00
@@ -225,8 +225,8 @@ msgid "<b>Background</b>"
msgstr "<b>Sfondi</b>"
#: ../src/gnome-terminal.glade2.h:3
-msgid "<b>Command</b>"
-msgstr "<b>Komanda</b>"
+msgid "Command"
+msgstr "Komanda"
#: ../src/gnome-terminal.glade2.h:4
msgid "<b>Compatibility</b>"
2016-11-08 12:04:35 +00:00
@@ -568,8 +568,8 @@ msgstr "Ngjyra e _tekstit:"
# (pofilter) simplecaps: checks the capitalisation of two strings isn't wildly different
#: ../src/gnome-terminal.glade2.h:85
-msgid "_Transparent background"
-msgstr "Sfond _Trasparent"
+msgid "Transparent background"
+msgstr "Sfond Trasparent"
#: ../src/gnome-terminal.glade2.h:86
msgid "_Update login records when command is launched"
diff --git a/po/sr.po b/po/sr.po
2019-03-29 17:55:04 +00:00
index de0dea5a7859..c9603a3406a8 100644
2016-11-08 12:04:35 +00:00
--- a/po/sr.po
+++ b/po/sr.po
2019-03-29 17:55:04 +00:00
@@ -2590,10 +2590,9 @@ msgstr "_З а тво р и прозор"
2016-11-08 12:04:35 +00:00
#~ msgid "GNOME Terminal Client"
#~ msgstr "Клијент Гномовог терминала"
-#~| msgid "Terminal"
-#~ msgctxt "title"
-#~ msgid "'Terminal'"
-#~ msgstr "„Терминал“"
+msgctxt "title"
+msgid "'Terminal'"
+msgstr "„Терминал“"
#~ msgid "Title for terminal"
#~ msgstr "Наслов за терминал"
2019-03-29 17:55:04 +00:00
@@ -2639,11 +2638,11 @@ msgstr "_З а тво р и прозор"
2016-11-08 12:04:35 +00:00
#~ msgid "Default size:"
#~ msgstr "Основна величина:"
-#~ msgid "Title"
-#~ msgstr "Наслов"
+msgid "Title"
+msgstr "Наслов"
-#~ msgid "_Title:"
-#~ msgstr "_Н а с ло в:"
+msgid "_Title:"
+msgstr "_Н а с ло в:"
#~ msgid "Title and Command"
#~ msgstr "Наслов и наредба"
2019-03-29 17:55:04 +00:00
@@ -2651,8 +2650,8 @@ msgstr "_З а тво р и прозор"
2017-02-27 17:03:46 +00:00
#~ msgid "_Unlimited"
#~ msgstr "_Н е о г р а ниче но "
-#~ msgid "Set Title"
-#~ msgstr "Постави наслов"
+msgid "Set Title"
+msgstr "Постави наслов"
#~ msgid "Current Locale"
#~ msgstr "Текући локалитет"
2019-03-29 17:55:04 +00:00
@@ -2662,3 +2661,6 @@ msgstr "_З а тво р и прозор"
2017-02-27 17:03:46 +00:00
2018-04-13 15:48:14 +00:00
#~ msgid "Hidden"
#~ msgstr "Скривен"
2016-11-08 12:04:35 +00:00
+
+msgid "Transparent background"
+msgstr "Провидна позадина"
diff --git a/po/sr@latin.po b/po/sr@latin.po
2018-04-13 15:48:14 +00:00
index 45dbad07fba7..852c47cc6ee5 100644
2016-11-08 12:04:35 +00:00
--- a/po/sr@latin.po
+++ b/po/sr@latin.po
2018-04-13 15:48:14 +00:00
@@ -2576,10 +2576,9 @@ msgstr "_Zatvori prozor"
2016-11-08 12:04:35 +00:00
#~ msgid "GNOME Terminal Client"
#~ msgstr "Klijent Gnomovog terminala"
-#~| msgid "Terminal"
-#~ msgctxt "title"
-#~ msgid "'Terminal'"
-#~ msgstr "„Terminal“"
+msgctxt "title"
+msgid "'Terminal'"
+msgstr "„Terminal“"
#~ msgid "Title for terminal"
#~ msgstr "Naslov za terminal"
2018-04-13 15:48:14 +00:00
@@ -2625,11 +2624,11 @@ msgstr "_Zatvori prozor"
2016-11-08 12:04:35 +00:00
#~ msgid "Default size:"
#~ msgstr "Osnovna veličina:"
-#~ msgid "Title"
-#~ msgstr "Naslov"
+msgid "Title"
+msgstr "Naslov"
-#~ msgid "_Title:"
-#~ msgstr "_Naslov:"
+msgid "_Title:"
+msgstr "_Naslov:"
#~ msgid "Title and Command"
#~ msgstr "Naslov i naredba"
2018-04-13 15:48:14 +00:00
@@ -2637,8 +2636,8 @@ msgstr "_Zatvori prozor"
2017-02-27 17:03:46 +00:00
#~ msgid "_Unlimited"
#~ msgstr "_Neograničeno"
-#~ msgid "Set Title"
-#~ msgstr "Postavi naslov"
+msgid "Set Title"
+msgstr "Postavi naslov"
#~ msgid "Current Locale"
#~ msgstr "Tekući lokalitet"
2018-04-13 15:48:14 +00:00
@@ -2648,3 +2647,6 @@ msgstr "_Zatvori prozor"
2017-02-27 17:03:46 +00:00
2018-04-13 15:48:14 +00:00
#~ msgid "Hidden"
#~ msgstr "Skriven"
2016-11-08 12:04:35 +00:00
+
+msgid "Transparent background"
+msgstr "Providna pozadina"
diff --git a/po/sv.po b/po/sv.po
2019-02-19 10:36:17 +00:00
index 25bfb732780c..18269e4130cb 100644
2016-11-08 12:04:35 +00:00
--- a/po/sv.po
+++ b/po/sv.po
2019-02-19 10:36:17 +00:00
@@ -2582,5 +2582,17 @@ msgstr "Stän_g fönster"
2016-11-08 12:04:35 +00:00
#~ msgid "Unknown completion request for \"%s\""
#~ msgstr "Okänd kompletteringsbegäran för \"%s\""
+msgid "Transparent background"
+msgstr "Genomskinlig bakgrund"
+
#~ msgid "Missing command"
#~ msgstr "Kommando saknas"
+
+msgid "_Title:"
+msgstr "_Titel:"
2017-02-27 17:03:46 +00:00
+
+msgid "Set Title"
+msgstr "Ställ in titel"
+
+msgid "_Set Title…"
+msgstr "A_nge titel..."
2016-11-08 12:04:35 +00:00
diff --git a/po/ta.po b/po/ta.po
2017-02-27 17:03:46 +00:00
index 80aa2f684eec..afd335b0faf0 100644
2016-11-08 12:04:35 +00:00
--- a/po/ta.po
+++ b/po/ta.po
@@ -2171,10 +2171,9 @@ msgstr "_l சாளரத்தை மூடவும்"
#~ msgid "Show server options"
#~ msgstr "சேவையக தேர்வுகளை காட்டுக"
-#~| msgid "Terminal"
-#~ msgctxt "title"
-#~ msgid "'Terminal'"
-#~ msgstr "'முனையம்'"
+msgctxt "title"
+msgid "'Terminal'"
+msgstr "'முனையம்'"
#~ msgid "Title for terminal"
#~ msgstr "முனையத்தின் தலைப்பு"
@@ -2221,11 +2220,11 @@ msgstr "_l சாளரத்தை மூடவும்"
#~ msgid "Default size:"
#~ msgstr "முன்னிருப்பு அளவு:"
-#~ msgid "Title"
-#~ msgstr "தலைப்பு"
+msgid "Title"
+msgstr "தலைப்பு"
-#~ msgid "_Title:"
-#~ msgstr "_T தலைப்பு:"
+msgid "_Title:"
+msgstr "_T தலைப்பு:"
#~ msgid "Title and Command"
#~ msgstr "தலைப்பும் கட்டளையும்"
2017-02-27 17:03:46 +00:00
@@ -2233,8 +2232,8 @@ msgstr "_l சாளரத்தை மூடவும்"
#~ msgid "_Unlimited"
#~ msgstr "_U வரையரை இல்லாத"
-#~ msgid "Set Title"
-#~ msgstr "தலைப்பை அமைக்க"
+msgid "Set Title"
+msgstr "தலைப்பை அமைக்க"
#~| msgid "_Terminal"
#~ msgid "_About Terminal"
@@ -2243,8 +2242,8 @@ msgstr "_l சாளரத்தை மூடவும்"
#~ msgid "Current Locale"
#~ msgstr "தற்போதைய மொழி"
-#~ msgid "_Set Title…"
-#~ msgstr "(_S) தலைப்பை அமைக்க..."
+msgid "_Set Title…"
+msgstr "(_S) தலைப்பை அமைக்க..."
#~ msgid "_Next Tab"
#~ msgstr "அடுத்த கீற்று (_N)"
2016-11-08 12:04:35 +00:00
@@ -3028,8 +3027,8 @@ msgstr "_l சாளரத்தை மூடவும்"
#~ msgid "_Solid color"
#~ msgstr "(_S) ஒரே வண்ணம்"
-#~ msgid "_Transparent background"
-#~ msgstr "_T புலப்பாடு பின்னணி"
+msgid "Transparent background"
+msgstr "புலப்பாடு பின்னணி"
#~ msgid "No such profile \"%s\", using default profile\n"
#~ msgstr "\"%s\" என்ற வரியுரு கிடையாது, முன்னிருப்பு வரியுரு பயன்படுத்தப்படும்\n"
diff --git a/po/te.po b/po/te.po
2017-02-27 17:03:46 +00:00
index 82c0e0fc8f54..0dd3d871f639 100644
2016-11-08 12:04:35 +00:00
--- a/po/te.po
+++ b/po/te.po
@@ -2055,10 +2055,9 @@ msgstr "కిటికీని మూసివేయి (_l)"
#~ msgid "Show server options"
#~ msgstr "సేవకము ఐచ్చికాలను చూపించు"
-#, fuzzy
-#~ msgctxt "title"
-#~ msgid "'Terminal'"
-#~ msgstr "టెర్మినల్"
+msgctxt "title"
+msgid "'Terminal'"
+msgstr "టెర్మినల్"
#~ msgid "Title for terminal"
#~ msgstr "టెర్మినల్ కు శీర్షిక"
@@ -2104,11 +2103,11 @@ msgstr "కిటికీని మూసివేయి (_l)"
#~ msgid "Default size:"
#~ msgstr "అప్రమేయ పరిమాణం:"
-#~ msgid "Title"
-#~ msgstr "శీర్షిక:"
+msgid "Title"
+msgstr "శీర్షిక:"
-#~ msgid "_Title:"
-#~ msgstr "శీర్షిక (_T):"
+msgid "_Title:"
+msgstr "శీర్షిక (_T):"
#~ msgid "Title and Command"
#~ msgstr "శీర్షిక మరియు ఆదేశం"
2017-02-27 17:03:46 +00:00
@@ -2116,14 +2115,14 @@ msgstr "కిటికీని మూసివేయి (_l)"
#~ msgid "_Unlimited"
#~ msgstr "అపరిమితమైన (_U)"
-#~ msgid "Set Title"
-#~ msgstr "శీర్షికను అమర్చు"
+msgid "Set Title"
+msgstr "శీర్షికను అమర్చు"
#~ msgid "Current Locale"
#~ msgstr "ప్రస్తుత స్థానికం"
-#~ msgid "_Set Title…"
-#~ msgstr "శీర్షికను అమర్చు... (_S)"
+msgid "_Set Title…"
+msgstr "శీర్షికను అమర్చు... (_S)"
#~ msgid "_Next Tab"
#~ msgstr "తరువాతి ట్యాబ్(_N)"
2016-11-08 12:04:35 +00:00
@@ -2898,8 +2897,8 @@ msgstr "కిటికీని మూసివేయి (_l)"
#~ msgid "Background image _scrolls"
#~ msgstr "నేపథ్యచిత్రము స్క్రాల్స్ (_s)"
-#~ msgid "_Transparent background"
-#~ msgstr "పారదర్శక నేపథ్యం (_T)"
+msgid "Transparent background"
+msgstr "పారదర్శక నేపథ్యం"
#~ msgid "S_hade transparent or image background:"
#~ msgstr "పారదర్శకంగా మారు లేదా చిత్రము బ్యాక్గ్రౌండ్ కు మారు(_h):"
diff --git a/po/tg.po b/po/tg.po
2017-02-27 17:03:46 +00:00
index e3feef658e1e..6371c036626f 100644
2016-11-08 12:04:35 +00:00
--- a/po/tg.po
+++ b/po/tg.po
2017-02-27 17:03:46 +00:00
@@ -2158,23 +2158,23 @@ msgstr "П_ӯшо нида ни равзана"
2016-11-08 12:04:35 +00:00
#~ msgid "Default size:"
#~ msgstr "Андозаи пешфарз:"
-#~ msgid "Title"
-#~ msgstr "Сарлавҳа"
+msgid "Title"
+msgstr "Сарлавҳа"
-#~ msgid "_Title:"
-#~ msgstr "_В а зифа :"
+msgid "_Title:"
+msgstr "_В а зифа :"
#~ msgid "Title and Command"
#~ msgstr "Унвон ва Фармон"
2017-02-27 17:03:46 +00:00
-#~ msgid "Set Title"
-#~ msgstr "Таъин кардани сарлавҳа"
+msgid "Set Title"
+msgstr "Таъин кардани сарлавҳа"
#~ msgid "Current Locale"
#~ msgstr "Маҳаллигардонии ҷорӣ"
-#~ msgid "_Set Title…"
-#~ msgstr "_Т а нзими сарлавҳа..."
+msgid "_Set Title…"
+msgstr "_Т а нзими сарлавҳа..."
#~ msgid "_Next Tab"
#~ msgstr "_В а р а қа и навбатӣ"
2016-11-08 12:04:35 +00:00
diff --git a/po/th.po b/po/th.po
2017-02-27 17:03:46 +00:00
index 63263749655c..496da331bbf9 100644
2016-11-08 12:04:35 +00:00
--- a/po/th.po
+++ b/po/th.po
2017-02-27 17:03:46 +00:00
@@ -2308,23 +2308,23 @@ msgstr "ปิ_ดหน้าต่าง"
2016-11-08 12:04:35 +00:00
#~ msgid "Default size:"
#~ msgstr "ขนาดปริยาย:"
-#~ msgid "Title"
-#~ msgstr "หัวเรื่อง"
+msgid "Title"
+msgstr "หัวเรื่อง"
-#~ msgid "_Title:"
-#~ msgstr "_หัวเรื่อง:"
+msgid "_Title:"
+msgstr "_หัวเรื่อง:"
#~ msgid "Title and Command"
#~ msgstr "หัวเรื่องและคำสั่ง"
2017-02-27 17:03:46 +00:00
-#~ msgid "Set Title"
-#~ msgstr "ตั้งหัวเรื่อง"
+msgid "Set Title"
+msgstr "ตั้งหัวเรื่อง"
#~ msgid "Current Locale"
#~ msgstr "ตามโลแคลปัจจุบัน"
-#~ msgid "_Set Title…"
-#~ msgstr "ตั้งป้าย_ชื่อ…"
+msgid "_Set Title…"
+msgstr "ตั้งป้าย_ชื่อ…"
#~ msgid "_Next Tab"
#~ msgstr "แท็บ_ถัดไป"
2016-11-08 12:04:35 +00:00
@@ -2803,8 +2803,8 @@ msgstr "ปิ_ดหน้าต่าง"
#~ msgid "_Solid color"
#~ msgstr "สี_ทึบ"
-#~ msgid "_Transparent background"
-#~ msgstr "พื้นหลังโปร่งแ_สง"
+msgid "Transparent background"
+msgstr "พื้นหลังโปร่งแสง"
#~ msgid ""
#~ "You already have a profile called “%s”. Do you want to create another "
diff --git a/po/tr.po b/po/tr.po
2019-02-19 10:36:17 +00:00
index 7d0aad5eb97e..faf16bac15ce 100644
2016-11-08 12:04:35 +00:00
--- a/po/tr.po
+++ b/po/tr.po
2019-02-19 10:36:17 +00:00
@@ -2570,3 +2570,15 @@ msgstr "_Pencereyi Kapat"
2016-11-08 12:04:35 +00:00
#~ msgid "_Same as text color"
#~ msgstr "_Metin rengiyle aynı "
+
+msgid "Transparent background"
+msgstr "Şeffaf arkaplan"
+
+msgid "_Title:"
+msgstr "_Başlı k:"
2017-02-27 17:03:46 +00:00
+
+msgid "Set Title"
+msgstr "Başlı ğı Düzenle"
+
+msgid "_Set Title…"
+msgstr "_Başlı ğı Ata..."
2016-11-08 12:04:35 +00:00
diff --git a/po/ug.po b/po/ug.po
index 313f76b98eae..be6089762082 100644
--- a/po/ug.po
+++ b/po/ug.po
@@ -2616,8 +2616,8 @@ msgstr "ماۋزۇ (_T):"
#~ msgid "_Solid color"
#~ msgstr "ساپ رەڭ(_S)"
-#~ msgid "_Transparent background"
-#~ msgstr "سۈزۈك تەگلىك(_T)"
+msgid "Transparent background"
+msgstr "سۈزۈك تەگلىك"
#~ msgid ""
#~ "You already have a profile called “%s”. Do you want to create another "
diff --git a/po/uk.po b/po/uk.po
2017-02-27 17:03:46 +00:00
index a08f25914d12..a4fbcbe6e474 100644
2016-11-08 12:04:35 +00:00
--- a/po/uk.po
+++ b/po/uk.po
@@ -2353,11 +2353,11 @@ msgstr "З а кр _ити вікно"
#~ msgid "Default size:"
#~ msgstr "Типовий розмір:"
-#~ msgid "Title"
-#~ msgstr "Заголовок"
+msgid "Title"
+msgstr "Заголовок"
-#~ msgid "_Title:"
-#~ msgstr "З а _г о ло во к:"
+msgid "_Title:"
+msgstr "З а _г о ло во к:"
#~ msgid "Title and Command"
#~ msgstr "Заголовок та команда"
2017-02-27 17:03:46 +00:00
@@ -2365,14 +2365,14 @@ msgstr "З а кр _ити вікно"
#~ msgid "_Unlimited"
#~ msgstr "_Н е с кі нче нно "
-#~ msgid "Set Title"
-#~ msgstr "Встановлення заголовка"
+msgid "Set Title"
+msgstr "Встановлення заголовка"
#~ msgid "Current Locale"
#~ msgstr "Теперішня локаль"
-#~ msgid "_Set Title…"
-#~ msgstr "_В с та но вити заголовок…"
+msgid "_Set Title…"
+msgstr "_В с та но вити заголовок…"
#~ msgid "_Next Tab"
#~ msgstr "_Н а с ту пна вкладка"
2016-11-08 12:04:35 +00:00
@@ -3134,8 +3134,8 @@ msgstr "З а кр _ити вікно"
#~ msgid "_Solid color"
#~ msgstr "_С у ці льний колір"
-#~ msgid "_Transparent background"
-#~ msgstr "П_р о зо р е тло"
+msgid "Transparent background"
+msgstr "Прозоре тло"
#~ msgid "Switch to Tab 2"
#~ msgstr "До вкладки 2"
diff --git a/po/vi.po b/po/vi.po
2019-03-29 17:55:04 +00:00
index 49dede2f5f1c..07362526f2ae 100644
2016-11-08 12:04:35 +00:00
--- a/po/vi.po
+++ b/po/vi.po
2019-03-29 17:55:04 +00:00
@@ -2686,8 +2686,8 @@ msgstr "Đón_g cửa sổ"
2016-11-08 12:04:35 +00:00
#~ msgid "Default size:"
#~ msgstr "Cỡ mặc định:"
-#~ msgid "Title"
-#~ msgstr "Tựa đề"
+msgid "Title"
+msgstr "Tựa đề"
#~ msgid "When terminal commands set their o_wn titles:"
#~ msgstr "Khi câu lệnh thiết bị cuối tự đặt tựa đề _mình:"
2019-03-29 17:55:04 +00:00
@@ -2698,8 +2698,8 @@ msgstr "Đón_g cửa sổ"
2018-04-13 15:48:14 +00:00
#~ msgid "_Unlimited"
#~ msgstr "_Không hạn chế"
2017-02-27 17:03:46 +00:00
-#~ msgid "Set Title"
-#~ msgstr "Đặt tựa đề"
+msgid "Set Title"
+msgstr "Đặt tựa đề"
2018-04-13 15:48:14 +00:00
#~ msgid "Switch to Tab 3"
#~ msgstr "Chuyển sang Thanh 3"
2019-03-29 17:55:04 +00:00
@@ -2740,8 +2740,8 @@ msgstr "Đón_g cửa sổ"
2016-11-08 12:04:35 +00:00
#~ msgid "_Input Methods"
#~ msgstr "K_iểu gõ"
-#~ msgid "_Title:"
-#~ msgstr "_Tựa đề:"
+msgid "_Title:"
+msgstr "_Tựa đề:"
#~ msgid "Disable connection to session manager"
#~ msgstr "Tắt kết nối đến trình quản lý phiên làm việc"
2019-03-29 17:55:04 +00:00
@@ -3126,3 +3126,6 @@ msgstr "Đón_g cửa sổ"
2016-11-08 12:04:35 +00:00
#~ "Phím tắt để đặt lại thiết bị cuối. Dùng dạng chuỗi có cùng một khuôn dạng "
#~ "với tập tin tài nguyên GTK+. Nếu bạn đặt tùy chọn là chuỗi “disabled” (bị "
#~ "tắt), nghĩa là không có phím tắt cho hành động này."
+
+msgid "Transparent background"
+msgstr "Nền trong suốt"
diff --git a/po/wa.po b/po/wa.po
2017-02-27 17:03:46 +00:00
index 0e0a6a752b6d..5ddeb2393654 100644
2016-11-08 12:04:35 +00:00
--- a/po/wa.po
+++ b/po/wa.po
2017-02-27 17:03:46 +00:00
@@ -224,8 +224,8 @@ msgid "<b>Background</b>"
msgstr "<b>Fond</b>"
#: ../src/gnome-terminal.glade2.h:3
-msgid "<b>Command</b>"
-msgstr "<b>Comande</b>"
+msgid "Command"
+msgstr "Comande"
#: ../src/gnome-terminal.glade2.h:4
msgid "<b>Compatibility</b>"
2016-11-08 12:04:35 +00:00
@@ -564,8 +564,8 @@ msgid "_Text color:"
msgstr "Coleur pol _tecse:"
#: ../src/gnome-terminal.glade2.h:86
-msgid "_Transparent background"
-msgstr "Fond k' on voet _houte"
+msgid "Transparent background"
+msgstr "Fond k' on voet houte"
#: ../src/gnome-terminal.glade2.h:87
msgid "_Update login records when command is launched"
2017-02-27 17:03:46 +00:00
@@ -2227,8 +2227,8 @@ msgid "Change _Profile"
msgstr "Candjî _profil"
#: ../src/terminal-window.c:1013
-msgid "_Set Title..."
-msgstr "_Candjî l' tite..."
+msgid "_Set Title…"
+msgstr "_Candjî l' tite…"
#: ../src/terminal-window.c:1020
msgid "Set _Character Encoding"
2016-11-08 12:04:35 +00:00
diff --git a/po/xh.po b/po/xh.po
2017-02-27 17:03:46 +00:00
index 44a8e21c7842..12aa6d190d99 100644
2016-11-08 12:04:35 +00:00
--- a/po/xh.po
+++ b/po/xh.po
2017-02-27 17:03:46 +00:00
@@ -217,8 +217,8 @@ msgid "<b>Background</b>"
msgstr "<b>Okungasemva</b>"
#: ../src/gnome-terminal.glade2.h:2
-msgid "<b>Command</b>"
-msgstr "<b>Umyalelo</b>"
+msgid "Command"
+msgstr "Umyalelo"
#: ../src/gnome-terminal.glade2.h:3
msgid "<b>Compatibility</b>"
2016-11-08 12:04:35 +00:00
@@ -621,8 +621,8 @@ msgid "_Text color:"
msgstr "_Umbala wombhalo:"
#: ../src/gnome-terminal.glade2.h:102
-msgid "_Transparent background"
-msgstr "_Okungasemva okucace gca"
+msgid "Transparent background"
+msgstr "Okungasemva okucace gca"
#: ../src/gnome-terminal.glade2.h:103
msgid "_Update login records when command is launched"
2017-02-27 17:03:46 +00:00
@@ -2265,8 +2265,8 @@ msgid "Change _Profile"
msgstr "Tsintsha i_Nkangeleko"
#: ../src/terminal-window.c:979
-msgid "_Set Title..."
-msgstr "_Misela..."
+msgid "_Set Title…"
+msgstr "_Misela…"
#: ../src/terminal-window.c:986
msgid "Set _Character Encoding"
2016-11-08 12:04:35 +00:00
diff --git a/po/zh_CN.po b/po/zh_CN.po
2018-10-05 15:13:32 +00:00
index 6c80dcd1231a..51e5f9999176 100644
2016-11-08 12:04:35 +00:00
--- a/po/zh_CN.po
+++ b/po/zh_CN.po
2018-10-05 15:13:32 +00:00
@@ -2580,17 +2580,17 @@ msgstr "关闭窗口(_L)"
2016-11-08 12:04:35 +00:00
#~ msgid "Default size:"
#~ msgstr "默认大小:"
-#~ msgid "Title"
-#~ msgstr "标题"
+msgid "Title"
+msgstr "标题"
-#~ msgid "_Title:"
-#~ msgstr "标题(_T): "
+msgid "_Title:"
+msgstr "标题(_T): "
#~ msgid "Title and Command"
#~ msgstr "标题和命令"
2017-02-27 17:03:46 +00:00
-#~ msgid "Set Title"
-#~ msgstr "设置标题"
+msgid "Set Title"
+msgstr "设置标题"
#~ msgid "Current Locale"
#~ msgstr "当前区域"
2018-10-05 15:13:32 +00:00
@@ -2703,3 +2703,6 @@ msgstr "关闭窗口(_L)"
2016-11-08 12:04:35 +00:00
#~ msgid "_Find..."
#~ msgstr "查找(_F)..."
+
+msgid "Transparent background"
+msgstr "透明背景"
diff --git a/po/zh_HK.po b/po/zh_HK.po
2018-04-13 15:48:14 +00:00
index 61153529f0c7..c366abddd1af 100644
2016-11-08 12:04:35 +00:00
--- a/po/zh_HK.po
+++ b/po/zh_HK.po
2018-04-13 15:48:14 +00:00
@@ -2114,17 +2114,17 @@ msgstr "關閉視窗(_L)"
2016-11-08 12:04:35 +00:00
#~ msgid "Default size:"
#~ msgstr "預設大小:"
-#~ msgid "Title"
-#~ msgstr "標題"
+msgid "Title"
+msgstr "標題"
-#~ msgid "_Title:"
-#~ msgstr "標題(_T):"
+msgid "_Title:"
+msgstr "標題(_T):"
#~ msgid "Title and Command"
#~ msgstr "標題及指令"
2017-02-27 17:03:46 +00:00
-#~ msgid "Set Title"
-#~ msgstr "設定標題"
+msgid "Set Title"
+msgstr "設定標題"
#~ msgid "Current Locale"
#~ msgstr "目前的地區設定"
2016-11-08 12:04:35 +00:00
@@ -2376,3 +2376,6 @@ msgstr "關閉視窗(_L)"
#~ msgid "Show session management options"
#~ msgstr "顯示作業階段管理選項"
+
+msgid "Transparent background"
+msgstr "透明背景"
diff --git a/po/zh_TW.po b/po/zh_TW.po
2019-03-29 17:55:04 +00:00
index e740ebc6df0b..2fa8c3236b8f 100644
2016-11-08 12:04:35 +00:00
--- a/po/zh_TW.po
+++ b/po/zh_TW.po
2019-03-29 17:55:04 +00:00
@@ -2584,17 +2584,17 @@ msgstr "關閉視窗(_L)"
2016-11-08 12:04:35 +00:00
#~ msgid "Default size:"
#~ msgstr "預設大小:"
-#~ msgid "Title"
-#~ msgstr "標題"
+msgid "Title"
+msgstr "標題"
-#~ msgid "_Title:"
-#~ msgstr "標題(_T):"
+msgid "_Title:"
+msgstr "標題(_T):"
#~ msgid "Title and Command"
#~ msgstr "標題及指令"
2017-02-27 17:03:46 +00:00
-#~ msgid "Set Title"
-#~ msgstr "設定標題"
+msgid "Set Title"
+msgstr "設定標題"
#~ msgid "Current Locale"
#~ msgstr "目前的地區設定"
2019-03-29 17:55:04 +00:00
@@ -2806,3 +2806,6 @@ msgstr "關閉視窗(_L)"
2016-11-08 12:04:35 +00:00
#~ msgid "Show session management options"
#~ msgstr "顯示作業階段管理選項"
+
+msgid "Transparent background"
+msgstr "透明背景"
--
2019-03-29 17:55:04 +00:00
2.20.1
2018-04-06 16:27:27 +00:00
2019-03-29 18:08:38 +00:00
From 036613a31dee236b01c3a6cdc14c93824c8faa5e Mon Sep 17 00:00:00 2001
2016-11-08 12:04:35 +00:00
From: Debarshi Ray <debarshir@gnome.org>
Date: Wed, 25 May 2016 13:47:36 +0200
2019-03-29 17:55:04 +00:00
Subject: [PATCH 12/15] Restore the action and shortcut to set a static title
2016-11-08 12:04:35 +00:00
from the menus
2018-04-03 18:03:19 +00:00
This reverts 9bbe19e98f62aa3c9020913a3a5a8080a5177505 with various
minor adjustments to keep up with later changes.
2016-11-08 12:04:35 +00:00
https://bugzilla.redhat.com/show_bug.cgi?id=1296110
---
src/org.gnome.Terminal.gschema.xml | 4 ++
2018-04-03 18:03:19 +00:00
src/terminal-accels.c | 2 +
2018-10-26 07:06:33 +00:00
src/terminal-window.c | 75 ++++++++++++++++++++++++++++++
2018-10-05 15:13:32 +00:00
3 files changed, 81 insertions(+)
2016-11-08 12:04:35 +00:00
diff --git a/src/org.gnome.Terminal.gschema.xml b/src/org.gnome.Terminal.gschema.xml
2019-03-29 17:55:04 +00:00
index 0c50f82f4e47..aaa9e0e97ced 100644
2016-11-08 12:04:35 +00:00
--- a/src/org.gnome.Terminal.gschema.xml
+++ b/src/org.gnome.Terminal.gschema.xml
2019-02-19 10:36:17 +00:00
@@ -475,6 +475,10 @@
2016-11-08 12:04:35 +00:00
<default>'disabled'</default>
<summary>Keyboard shortcut to toggle the read-only state</summary>
</key>
+ <key name="set-terminal-title" type="s">
+ <default>'disabled'</default>
+ <summary>Keyboard shortcut to set the terminal title</summary>
+ </key>
<key name="reset" type="s">
<default>'disabled'</default>
<summary>Keyboard shortcut to reset the terminal</summary>
diff --git a/src/terminal-accels.c b/src/terminal-accels.c
2019-02-19 10:36:17 +00:00
index 75ac3a1e4b65..b39e80b5533d 100644
2016-11-08 12:04:35 +00:00
--- a/src/terminal-accels.c
+++ b/src/terminal-accels.c
2019-02-19 10:36:17 +00:00
@@ -76,6 +76,7 @@
2016-11-08 12:04:35 +00:00
#define KEY_RESET "reset"
#define KEY_SAVE_CONTENTS "save-contents"
#define KEY_SELECT_ALL "select-all"
+#define KEY_SET_TERMINAL_TITLE "set-terminal-title"
#define KEY_TOGGLE_MENUBAR "toggle-menubar"
#define KEY_ZOOM_IN "zoom-in"
#define KEY_ZOOM_NORMAL "zoom-normal"
2019-02-19 10:36:17 +00:00
@@ -165,6 +166,7 @@ static KeyEntry terminal_entries[] = {
2016-11-08 12:04:35 +00:00
ENTRY (N_("Read-Only"), KEY_READ_ONLY, "read-only", NULL, NULL ),
ENTRY (N_("Reset"), KEY_RESET, "reset", "b", "false"),
ENTRY (N_("Reset and Clear"), KEY_RESET_AND_CLEAR, "reset", "b", "true" ),
+ ENTRY (N_("Set Title"), KEY_SET_TERMINAL_TITLE, "set-title", NULL, NULL ),
};
static KeyEntry tabs_entries[] = {
diff --git a/src/terminal-window.c b/src/terminal-window.c
2019-02-19 10:36:17 +00:00
index 2aba397fe922..8d3ddd6f790b 100644
2016-11-08 12:04:35 +00:00
--- a/src/terminal-window.c
+++ b/src/terminal-window.c
2019-02-19 10:36:17 +00:00
@@ -747,6 +747,80 @@ action_select_all_cb (GSimpleAction *action,
2018-04-03 18:03:19 +00:00
vte_terminal_select_all (VTE_TERMINAL (priv->active_screen));
2016-11-08 12:04:35 +00:00
}
2017-09-14 18:04:46 +00:00
+static void
2016-11-08 12:04:35 +00:00
+terminal_set_title_dialog_response_cb (GtkWidget *dialog,
+ int response,
+ TerminalScreen *screen)
+{
+ if (response == GTK_RESPONSE_OK)
+ {
+ GtkEntry *entry;
+ const char *text;
+
+ entry = GTK_ENTRY (g_object_get_data (G_OBJECT (dialog), "title-entry"));
+ text = gtk_entry_get_text (entry);
+ terminal_screen_set_user_title (screen, text);
+ }
+
+ gtk_widget_destroy (dialog);
+}
+
+static void
+action_set_title_cb (GSimpleAction *action,
+ GVariant *parameter,
+ gpointer user_data)
+{
+ TerminalWindow *window = user_data;
+ TerminalWindowPrivate *priv = window->priv;
+ GtkWidget *dialog, *message_area, *hbox, *label, *entry;
+
+ if (priv->active_screen == NULL)
+ return;
+
+ /* FIXME: hook the screen up so this dialogue closes if the terminal screen closes */
+
+ dialog = gtk_message_dialog_new (GTK_WINDOW (window),
+ GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,
+ GTK_MESSAGE_OTHER,
+ GTK_BUTTONS_OK_CANCEL,
+ "%s", "");
+
+ gtk_window_set_title (GTK_WINDOW (dialog), _("Set Title"));
+ gtk_window_set_resizable (GTK_WINDOW (dialog), FALSE);
+ gtk_window_set_role (GTK_WINDOW (dialog), "gnome-terminal-change-title");
+ gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK);
+ /* Alternative button order was set automatically by GtkMessageDialog */
+
+ g_signal_connect (dialog, "response",
+ G_CALLBACK (terminal_set_title_dialog_response_cb), priv->active_screen);
+ g_signal_connect (dialog, "delete-event",
+ G_CALLBACK (terminal_util_dialog_response_on_delete), NULL);
+
+ message_area = gtk_message_dialog_get_message_area (GTK_MESSAGE_DIALOG (dialog));
+ gtk_container_foreach (GTK_CONTAINER (message_area), (GtkCallback) gtk_widget_hide, NULL);
+
+ hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 12);
+ gtk_box_pack_start (GTK_BOX (message_area), hbox, FALSE, FALSE, 0);
+
+ label = gtk_label_new_with_mnemonic (_("_Title:"));
+ gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
+ gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0);
+
+ entry = gtk_entry_new ();
+ gtk_entry_set_width_chars (GTK_ENTRY (entry), 32);
+ gtk_entry_set_activates_default (GTK_ENTRY (entry), TRUE);
+ gtk_label_set_mnemonic_widget (GTK_LABEL (label), entry);
+ gtk_box_pack_start (GTK_BOX (hbox), entry, TRUE, TRUE, 0);
+ gtk_widget_show_all (hbox);
+
+ gtk_widget_grab_focus (entry);
+ gtk_entry_set_text (GTK_ENTRY (entry), terminal_screen_get_user_title (priv->active_screen));
+ gtk_editable_select_region (GTK_EDITABLE (entry), 0, -1);
+ g_object_set_data (G_OBJECT (dialog), "title-entry", entry);
+
+ gtk_window_present (GTK_WINDOW (dialog));
+}
+
2017-09-14 18:04:46 +00:00
static void
2018-04-03 18:03:19 +00:00
action_reset_cb (GSimpleAction *action,
GVariant *parameter,
2019-02-19 10:36:17 +00:00
@@ -2106,6 +2180,7 @@ terminal_window_init (TerminalWindow *window)
2018-04-03 18:03:19 +00:00
{ "paste-uris", action_paste_uris_cb, NULL, NULL, NULL },
{ "reset", action_reset_cb, "b", NULL, NULL },
{ "select-all", action_select_all_cb, NULL, NULL, NULL },
+ { "set-title", action_set_title_cb, NULL, NULL, NULL },
{ "size-to", action_size_to_cb, "(uu)", NULL, NULL },
{ "tab-detach", action_tab_detach_cb, NULL, NULL, NULL },
{ "tab-move-left", action_tab_move_left_cb, NULL, NULL, NULL },
2016-11-08 12:04:35 +00:00
--
2019-03-29 17:55:04 +00:00
2.20.1
2016-11-08 12:04:35 +00:00
2019-03-29 18:08:38 +00:00
From 8a2e5b834121adc8d24774e387f2f976ddefc5fc Mon Sep 17 00:00:00 2001
2016-11-08 12:04:35 +00:00
From: Debarshi Ray <debarshir@gnome.org>
Date: Thu, 30 Jun 2016 18:14:36 +0200
2019-03-29 17:55:04 +00:00
Subject: [PATCH 13/15] screen: Style fix
2016-11-08 12:04:35 +00:00
This brings the code in line with how it was before
de0dc7c2649c42e2aa02a66e4be27d262b34452d
https://bugzilla.redhat.com/show_bug.cgi?id=1296110
---
src/terminal-screen.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/terminal-screen.c b/src/terminal-screen.c
2018-10-05 15:13:32 +00:00
index bf3618cb41b0..6caa002ddece 100644
2016-11-08 12:04:35 +00:00
--- a/src/terminal-screen.c
+++ b/src/terminal-screen.c
2018-10-05 15:13:32 +00:00
@@ -693,7 +693,7 @@ terminal_screen_new (GSettings *profile,
2016-11-08 12:04:35 +00:00
/* If given an initial title, strip it of control characters and
* feed it to the terminal.
*/
- if (title != NULL) {
+ if (title) {
GString *seq;
const char *p;
--
2019-03-29 17:55:04 +00:00
2.20.1
2016-11-08 12:04:35 +00:00
2019-03-29 18:08:38 +00:00
From 70c1eab1690d7b21f3ce8091d4171a6f2bf70496 Mon Sep 17 00:00:00 2001
2016-11-08 12:04:35 +00:00
From: Debarshi Ray <debarshir@gnome.org>
Date: Thu, 30 Jun 2016 16:58:15 +0200
2019-03-29 17:55:04 +00:00
Subject: [PATCH 14/15] Restore the rest of the title handling options and make
2016-11-08 12:04:35 +00:00
it all work
This reverts commit f27bf0135a2d18ba22158d28bf1f8c5f6ec066c8 and makes
it use the user_title API instead of sending an escape sequence.
https://bugzilla.redhat.com/show_bug.cgi?id=1296110
---
src/org.gnome.Terminal.gschema.xml | 12 ++
2018-10-26 07:06:33 +00:00
src/preferences.ui | 33 +++-
src/profile-editor.c | 9 +
src/terminal-enums.h | 8 +
2016-11-08 12:04:35 +00:00
src/terminal-schemas.h | 1 +
2018-10-26 07:06:33 +00:00
src/terminal-screen.c | 261 +++++++++++++++++++++--------
2016-11-08 12:04:35 +00:00
src/terminal-screen.h | 8 +-
src/terminal-window.c | 11 +-
2018-10-05 15:13:32 +00:00
8 files changed, 265 insertions(+), 78 deletions(-)
2016-11-08 12:04:35 +00:00
diff --git a/src/org.gnome.Terminal.gschema.xml b/src/org.gnome.Terminal.gschema.xml
2019-03-29 17:55:04 +00:00
index aaa9e0e97ced..641e0203b045 100644
2016-11-08 12:04:35 +00:00
--- a/src/org.gnome.Terminal.gschema.xml
+++ b/src/org.gnome.Terminal.gschema.xml
@@ -24,6 +24,13 @@
-->
<schemalist gettext-domain="gnome-terminal">
+ <enum id='org.gnome.Terminal.TitleMode'>
+ <value nick='replace' value='0'/>
+ <value nick='before' value='1'/>
+ <value nick='after' value='2'/>
+ <value nick='ignore' value='3'/>
+ </enum>
+
<enum id='org.gnome.Terminal.NewTerminalMode'>
<value nick='window' value='0'/>
<value nick='tab' value='1'/>
2018-04-06 16:27:27 +00:00
@@ -183,6 +190,11 @@
2016-11-08 12:04:35 +00:00
<summary>Highlight foreground colour</summary>
2017-02-27 17:03:46 +00:00
<description>Custom color for the foreground of the text character at the terminal’ s highlight position, as a color specification (can be HTML-style hex digits, or a color name such as “red”). This is ignored if highlight-colors-set is false.</description>
2016-11-08 12:04:35 +00:00
</key>
+ <key name="title-mode" enum="org.gnome.Terminal.TitleMode">
+ <default>'replace'</default>
+ <summary>What to do with dynamic title</summary>
+ <description>If the application in the terminal sets the title (most typically people have their shell set up to do this), the dynamically-set title can erase the configured title, go before it, go after it, or replace it. The possible values are "replace", "before", "after", and "ignore".</description>
+ </key>
<key name="title" type="s">
<default l10n="messages" context="title">'Terminal'</default>
<summary>Title for terminal</summary>
2018-04-12 17:21:08 +00:00
diff --git a/src/preferences.ui b/src/preferences.ui
2019-02-19 10:36:17 +00:00
index 18f7e097e666..188f3c774b18 100644
2018-04-12 17:21:08 +00:00
--- a/src/preferences.ui
+++ b/src/preferences.ui
@@ -1900,7 +1900,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Title:</property>
+ <property name="label" translatable="yes">Initial _title:</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">title-entry</property>
</object>
@@ -1920,6 +1920,37 @@
<property name="left_attach">1</property>
</packing>
</child>
+ <child>
+ <object class="GtkLabel" id="title-mode-combobox-label">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="xalign">0</property>
+ <property name="label" translatable="yes">When terminal commands set their o_wn titles:</property>
+ <property name="use_underline">True</property>
+ <property name="mnemonic_widget">title-mode-combobox</property>
+ </object>
+ <packing>
+ <property name="top_attach">1</property>
+ <property name="left_attach">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkComboBox" id="title-mode-combobox">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="model">model2</property>
+ <child>
+ <object class="GtkCellRendererText"/>
+ <attributes>
+ <attribute name="text">0</attribute>
+ </attributes>
+ </child>
+ </object>
+ <packing>
+ <property name="top_attach">1</property>
+ <property name="left_attach">1</property>
+ </packing>
+ </child>
</object>
</child>
</object>
2016-11-08 12:04:35 +00:00
diff --git a/src/profile-editor.c b/src/profile-editor.c
2019-02-19 10:36:17 +00:00
index da8a7fdc4b85..fb4e9dd33e30 100644
2016-11-08 12:04:35 +00:00
--- a/src/profile-editor.c
+++ b/src/profile-editor.c
2018-10-05 15:13:32 +00:00
@@ -1206,6 +1206,15 @@ profile_prefs_load (const char *uuid, GSettings *profile)
2018-04-12 17:21:08 +00:00
gtk_builder_get_object (builder, "title-entry"),
"text",
G_SETTINGS_BIND_GET | G_SETTINGS_BIND_SET);
+ profile_prefs_settings_bind_with_mapping (profile,
+ TERMINAL_PROFILE_TITLE_MODE_KEY,
+ gtk_builder_get_object (builder,
+ "title-mode-combobox"),
+ "active",
+ G_SETTINGS_BIND_GET | G_SETTINGS_BIND_SET,
+ (GSettingsBindGetMapping) string_to_enum,
+ (GSettingsBindSetMapping) enum_to_string,
+ terminal_title_mode_get_type, NULL);
profile_prefs_settings_bind (profile, TERMINAL_PROFILE_USE_CUSTOM_COMMAND_KEY,
gtk_builder_get_object (builder,
"use-custom-command-checkbutton"),
2016-11-08 12:04:35 +00:00
diff --git a/src/terminal-enums.h b/src/terminal-enums.h
index bdd354e38360..731dcf2aaebc 100644
--- a/src/terminal-enums.h
+++ b/src/terminal-enums.h
2017-09-14 18:04:46 +00:00
@@ -30,6 +30,14 @@ typedef enum {
} TerminalNewTerminalMode;
2016-11-08 12:04:35 +00:00
typedef enum
2017-09-14 18:04:46 +00:00
+{
2016-11-08 12:04:35 +00:00
+ TERMINAL_TITLE_REPLACE,
+ TERMINAL_TITLE_BEFORE,
+ TERMINAL_TITLE_AFTER,
+ TERMINAL_TITLE_IGNORE
+} TerminalTitleMode;
+
+typedef enum
2017-09-14 18:04:46 +00:00
{
2016-11-08 12:04:35 +00:00
TERMINAL_EXIT_CLOSE,
TERMINAL_EXIT_RESTART,
diff --git a/src/terminal-schemas.h b/src/terminal-schemas.h
2019-02-19 10:36:17 +00:00
index f9222855b231..c5682c5eac83 100644
2016-11-08 12:04:35 +00:00
--- a/src/terminal-schemas.h
+++ b/src/terminal-schemas.h
2018-04-06 16:27:27 +00:00
@@ -66,6 +66,7 @@ G_BEGIN_DECLS
2016-11-08 12:04:35 +00:00
#define TERMINAL_PROFILE_SCROLL_ON_KEYSTROKE_KEY "scroll-on-keystroke"
#define TERMINAL_PROFILE_SCROLL_ON_OUTPUT_KEY "scroll-on-output"
2018-04-06 16:27:27 +00:00
#define TERMINAL_PROFILE_TEXT_BLINK_MODE_KEY "text-blink-mode"
2016-11-08 12:04:35 +00:00
+#define TERMINAL_PROFILE_TITLE_MODE_KEY "title-mode"
#define TERMINAL_PROFILE_TITLE_KEY "title"
#define TERMINAL_PROFILE_USE_CUSTOM_COMMAND_KEY "use-custom-command"
#define TERMINAL_PROFILE_USE_SKEY_KEY "use-skey"
diff --git a/src/terminal-screen.c b/src/terminal-screen.c
2018-10-05 15:13:32 +00:00
index 6caa002ddece..c5f3656bf321 100644
2016-11-08 12:04:35 +00:00
--- a/src/terminal-screen.c
+++ b/src/terminal-screen.c
2018-10-05 15:13:32 +00:00
@@ -88,13 +88,16 @@ struct _TerminalScreenPrivate
2016-11-08 12:04:35 +00:00
GSettings *profile; /* never NULL */
guint profile_changed_id;
guint profile_forgotten_id;
- char *title;
2018-10-05 15:13:32 +00:00
+ char *raw_title;
+ char *cooked_title;
2016-11-08 12:04:35 +00:00
+ char *override_title;
char *initial_working_directory;
char **initial_env;
char **override_command;
gboolean shell;
gboolean shell_prompt_shown;
int child_pid;
+ gboolean user_title; /* title was manually set */
GSList *match_tags;
guint launch_child_source_id;
};
2018-10-05 15:13:32 +00:00
@@ -112,7 +115,6 @@ enum {
PROP_0,
PROP_PROFILE,
2016-11-08 12:04:35 +00:00
PROP_TITLE,
- PROP_DESCRIPTION,
PROP_INITIAL_ENVIRONMENT
};
2018-10-05 15:13:32 +00:00
@@ -161,8 +163,13 @@ static void terminal_screen_window_title_changed (VteTerminal *vte_terminal
2016-11-08 12:04:35 +00:00
static void update_color_scheme (TerminalScreen *screen);
+static gboolean terminal_screen_format_title (TerminalScreen *screen, const char *raw_title, char **old_cooked_title);
+
+static void terminal_screen_cook_title (TerminalScreen *screen);
+
2017-09-14 18:04:46 +00:00
static char* terminal_screen_check_hyperlink (TerminalScreen *screen,
GdkEvent *event);
2018-04-03 18:03:19 +00:00
+
2016-11-08 12:04:35 +00:00
static void terminal_screen_check_extra (TerminalScreen *screen,
2018-04-03 18:03:19 +00:00
GdkEvent *event,
char **number_info);
2018-10-05 15:13:32 +00:00
@@ -401,6 +408,9 @@ terminal_screen_init (TerminalScreen *screen)
2016-11-08 12:04:35 +00:00
gtk_target_table_free (targets, n_targets);
gtk_target_list_unref (target_list);
+ priv->override_title = NULL;
+ priv->user_title = FALSE;
+
g_signal_connect (screen, "window-title-changed",
G_CALLBACK (terminal_screen_window_title_changed),
screen);
2018-10-05 15:13:32 +00:00
@@ -437,9 +447,6 @@ terminal_screen_get_property (GObject *object,
2016-11-08 12:04:35 +00:00
case PROP_TITLE:
g_value_set_string (value, terminal_screen_get_title (screen));
break;
- case PROP_DESCRIPTION:
- g_value_take_string (value, terminal_screen_get_description (screen));
- break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;
2018-10-05 15:13:32 +00:00
@@ -463,7 +470,6 @@ terminal_screen_set_property (GObject *object,
terminal_screen_set_initial_environment (screen, g_value_get_boxed (value));
break;
2016-11-08 12:04:35 +00:00
case PROP_TITLE:
- case PROP_DESCRIPTION:
/* not writable */
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
2018-10-05 15:13:32 +00:00
@@ -551,13 +557,6 @@ terminal_screen_class_init (TerminalScreenClass *klass)
2016-11-08 12:04:35 +00:00
NULL,
G_PARAM_READABLE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB));
- g_object_class_install_property (object_class,
- PROP_DESCRIPTION,
- g_param_spec_string ("description", NULL, NULL,
- NULL,
- G_PARAM_READABLE |
- G_PARAM_STATIC_STRINGS));
-
g_object_class_install_property
(object_class,
PROP_INITIAL_ENVIRONMENT,
2018-10-05 15:13:32 +00:00
@@ -643,7 +642,9 @@ terminal_screen_finalize (GObject *object)
2016-11-08 12:04:35 +00:00
terminal_screen_set_profile (screen, NULL);
- g_free (priv->title);
+ g_free (priv->raw_title);
+ g_free (priv->cooked_title);
+ g_free (priv->override_title);
g_free (priv->initial_working_directory);
g_strfreev (priv->override_command);
g_strfreev (priv->initial_env);
2018-10-05 15:13:32 +00:00
@@ -690,28 +691,8 @@ terminal_screen_new (GSettings *profile,
2016-11-08 12:04:35 +00:00
g_settings_get_int (profile, TERMINAL_PROFILE_DEFAULT_SIZE_COLUMNS_KEY),
g_settings_get_int (profile, TERMINAL_PROFILE_DEFAULT_SIZE_ROWS_KEY));
- /* If given an initial title, strip it of control characters and
- * feed it to the terminal.
- */
- if (title) {
- GString *seq;
- const char *p;
-
- seq = g_string_new ("\033]0;");
- for (p = title; *p; p = g_utf8_next_char (p)) {
- gunichar c = g_utf8_get_char (p);
- if (c < 0x20 || (c >= 0x7f && c <= 0x9f))
- continue;
- else if (c == ';')
- break;
-
- g_string_append_unichar (seq, c);
- }
- g_string_append (seq, "\033\\");
-
- vte_terminal_feed (VTE_TERMINAL (screen), seq->str, seq->len);
- g_string_free (seq, TRUE);
- }
+ if (title)
+ terminal_screen_set_override_title (screen, title);
priv->initial_working_directory = g_strdup (working_dir);
2018-10-05 15:13:32 +00:00
@@ -766,34 +747,145 @@ terminal_screen_exec (TerminalScreen *screen,
2017-09-14 18:04:46 +00:00
return terminal_screen_do_exec (screen, data, error);
2016-11-08 12:04:35 +00:00
}
2017-09-14 18:04:46 +00:00
+const char*
2016-11-08 12:04:35 +00:00
+terminal_screen_get_raw_title (TerminalScreen *screen)
+{
+ TerminalScreenPrivate *priv = screen->priv;
+
+ if (priv->raw_title)
+ return priv->raw_title;
+
+ return "";
+}
+
2017-09-14 18:04:46 +00:00
const char*
2016-11-08 12:04:35 +00:00
terminal_screen_get_title (TerminalScreen *screen)
{
- return vte_terminal_get_window_title (VTE_TERMINAL (screen));
+ TerminalScreenPrivate *priv = screen->priv;
+
+ if (priv->cooked_title == NULL)
+ terminal_screen_cook_title (screen);
+
+ /* cooked_title may still be NULL */
+ if (priv->cooked_title != NULL)
+ return priv->cooked_title;
+ else
+ return "";
2018-10-05 15:13:32 +00:00
+}
2016-11-08 12:04:35 +00:00
+
+/* Supported format specifiers:
+ * %S = static title
+ * %D = dynamic title
+ * %A = dynamic title, falling back to static title if empty
+ * %- = separator, if not at start or end of string (excluding whitespace)
+ */
+static const char *
+terminal_screen_get_title_format (TerminalScreen *screen)
2018-10-05 15:13:32 +00:00
+{
+ TerminalScreenPrivate *priv = screen->priv;
2016-11-08 12:04:35 +00:00
+ static const char *formats[] = {
+ "%A" /* TERMINAL_TITLE_REPLACE */,
+ "%D%-%S" /* TERMINAL_TITLE_BEFORE */,
+ "%S%-%D" /* TERMINAL_TITLE_AFTER */,
+ "%S" /* TERMINAL_TITLE_IGNORE */
+ };
+
+ return formats[g_settings_get_enum (priv->profile, TERMINAL_PROFILE_TITLE_MODE_KEY)];
2018-10-05 15:13:32 +00:00
}
-char *
-terminal_screen_get_description (TerminalScreen *screen)
2016-11-08 12:04:35 +00:00
+/**
+ * terminal_screen_format_title::
+ * @screen:
+ * @raw_title: main ingredient
+ * @titleptr <inout>: pointer of the current title string
+ *
+ * Format title according @format, and stores it in <literal>*titleptr</literal>.
+ * Always ensures that *titleptr will be non-NULL.
+ *
+ * Returns: %TRUE iff the title changed
+ */
+static gboolean
+terminal_screen_format_title (TerminalScreen *screen,
+ const char *raw_title,
+ char **titleptr)
2018-10-05 15:13:32 +00:00
{
TerminalScreenPrivate *priv = screen->priv;
- gs_free char *title_string = NULL;
- const char *title;
2016-11-08 12:04:35 +00:00
+ gs_free char *static_title_string = NULL;
+ const char *format, *arg;
+ const char *static_title = NULL;
+ GString *title;
+ gboolean add_sep = FALSE;
+
+ g_assert (titleptr);
/* use --title argument if one was supplied, otherwise ask the profile */
- if (priv->title)
- title = priv->title;
+ if (priv->override_title)
+ static_title = priv->override_title;
else
- title = title_string = g_settings_get_string (priv->profile, TERMINAL_PROFILE_TITLE_KEY);
+ static_title = static_title_string = g_settings_get_string (priv->profile, TERMINAL_PROFILE_TITLE_KEY);
+
+ title = g_string_sized_new (128);
+
+ format = terminal_screen_get_title_format (screen);
+ for (arg = format; *arg; arg += 2)
+ {
+ const char *text_to_append = NULL;
2018-04-03 18:03:19 +00:00
+
2016-11-08 12:04:35 +00:00
+ g_assert (arg[0] == '%');
+
+ switch (arg[1])
+ {
+ case 'A':
+ text_to_append = raw_title ? raw_title : static_title;
+ break;
+ case 'D':
+ text_to_append = raw_title;
+ break;
+ case 'S':
+ text_to_append = static_title;
+ break;
+ case '-':
+ text_to_append = NULL;
+ add_sep = TRUE;
+ break;
+ default:
+ g_assert_not_reached ();
+ }
2018-10-05 15:13:32 +00:00
- return g_strdup_printf ("%s — %d",
- title && title[0] ? title : _("Terminal"),
- screen->priv->child_pid);
2016-11-08 12:04:35 +00:00
+ if (!text_to_append || !text_to_append[0])
+ continue;
+
+ if (add_sep && title->len > 0)
+ g_string_append (title, " - ");
+
+ g_string_append (title, text_to_append);
+ add_sep = FALSE;
+ }
+
+ if (*titleptr == NULL || strcmp (title->str, *titleptr) != 0)
+ {
+ g_free (*titleptr);
+ *titleptr = g_string_free (title, FALSE);
+ return TRUE;
+ }
2018-10-05 15:13:32 +00:00
+
2016-11-08 12:04:35 +00:00
+ g_string_free (title, TRUE);
+ return FALSE;
+}
+
+static void
+terminal_screen_cook_title (TerminalScreen *screen)
+{
+ TerminalScreenPrivate *priv = screen->priv;
+
+ if (terminal_screen_format_title (screen, priv->raw_title, &priv->cooked_title))
+ g_object_notify (G_OBJECT (screen), "title");
}
static void
terminal_screen_profile_changed_cb (GSettings *profile,
const char *prop_name,
- TerminalScreen *screen)
+ TerminalScreen *screen)
{
TerminalScreenPrivate *priv = screen->priv;
GObject *object = G_OBJECT (screen);
2018-10-05 15:13:32 +00:00
@@ -829,9 +921,10 @@ terminal_screen_profile_changed_cb (GSettings *profile,
2016-11-08 12:04:35 +00:00
}
if (!prop_name ||
+ prop_name == I_(TERMINAL_PROFILE_TITLE_MODE_KEY) ||
prop_name == I_(TERMINAL_PROFILE_TITLE_KEY))
{
- g_object_notify (object, "description");
+ terminal_screen_cook_title (screen);
}
if (gtk_widget_get_realized (GTK_WIDGET (screen)) &&
2018-10-05 15:13:32 +00:00
@@ -1113,7 +1206,6 @@ terminal_screen_set_profile (TerminalScreen *screen,
2016-11-08 12:04:35 +00:00
g_object_unref (old_profile);
g_object_notify (G_OBJECT (screen), "profile");
- g_object_notify (G_OBJECT (screen), "description");
}
GSettings*
2018-10-05 15:13:32 +00:00
@@ -1444,8 +1536,6 @@ spawn_result_cb (VteTerminal *terminal,
2017-02-27 17:03:46 +00:00
priv->child_pid = pid;
2016-11-08 12:04:35 +00:00
- g_object_notify (G_OBJECT (screen), "description");
-
2017-02-27 17:03:46 +00:00
if (error) {
GtkWidget *info_bar;
2016-11-08 12:04:35 +00:00
2018-10-05 15:13:32 +00:00
@@ -1757,33 +1847,45 @@ terminal_screen_focus_in (GtkWidget *widget,
2016-11-08 12:04:35 +00:00
return GTK_WIDGET_CLASS (terminal_screen_parent_class)->focus_in_event (widget, event);
}
-void
-terminal_screen_set_user_title (TerminalScreen *screen,
- const char *title)
+static void
+terminal_screen_set_dynamic_title (TerminalScreen *screen,
+ const char *title,
+ gboolean userset)
{
TerminalScreenPrivate *priv = screen->priv;
- g_return_if_fail (TERMINAL_IS_SCREEN (screen));
2018-10-05 15:13:32 +00:00
-
- if (g_strcmp0 (priv->title, title) == 0)
2016-11-08 12:04:35 +00:00
+ g_assert (TERMINAL_IS_SCREEN (screen));
+
+ if ((priv->user_title && !userset) ||
+ (priv->raw_title && title &&
+ strcmp (priv->raw_title, title) == 0))
return;
- g_free (priv->title);
- priv->title = title && title[0] ? g_strdup (title) : NULL;
2018-10-05 15:13:32 +00:00
-
2016-11-08 12:04:35 +00:00
- g_object_notify (G_OBJECT (screen), "description");
2018-10-05 15:13:32 +00:00
+ g_free (priv->raw_title);
+ priv->raw_title = g_strdup (title);
+ terminal_screen_cook_title (screen);
2016-11-08 12:04:35 +00:00
}
-const char*
-terminal_screen_get_user_title (TerminalScreen *screen)
+void
+terminal_screen_set_override_title (TerminalScreen *screen,
+ const char *title)
{
- TerminalScreenPrivate *priv;
+ TerminalScreenPrivate *priv = screen->priv;
+ char *old_title;
- g_return_val_if_fail (TERMINAL_IS_SCREEN (screen), NULL);
+ old_title = priv->override_title;
+ priv->override_title = g_strdup (title);
+ g_free (old_title);
- priv = screen->priv;
+ terminal_screen_set_dynamic_title (screen, title, FALSE);
+}
- return priv->title ? priv->title : _("Terminal");
+const char*
+terminal_screen_get_dynamic_title (TerminalScreen *screen)
+{
+ g_return_val_if_fail (TERMINAL_IS_SCREEN (screen), NULL);
+
+ return screen->priv->raw_title;
}
/**
2018-10-05 15:13:32 +00:00
@@ -1816,7 +1918,9 @@ static void
2016-11-08 12:04:35 +00:00
terminal_screen_window_title_changed (VteTerminal *vte_terminal,
TerminalScreen *screen)
{
- g_object_notify (G_OBJECT (screen), "title");
+ terminal_screen_set_dynamic_title (screen,
+ vte_terminal_get_window_title (vte_terminal),
+ FALSE);
}
static void
2018-10-05 15:13:32 +00:00
@@ -1839,8 +1943,6 @@ terminal_screen_child_exited (VteTerminal *terminal,
2016-11-08 12:04:35 +00:00
priv->child_pid = -1;
- g_object_notify (G_OBJECT (screen), "description");
-
action = g_settings_get_enum (priv->profile, TERMINAL_PROFILE_EXIT_ACTION_KEY);
switch (action)
2018-10-05 15:13:32 +00:00
@@ -1884,6 +1986,23 @@ terminal_screen_child_exited (VteTerminal *terminal,
2016-11-08 12:04:35 +00:00
}
}
+void
+terminal_screen_set_user_title (TerminalScreen *screen,
+ const char *text)
+{
+ TerminalScreenPrivate *priv = screen->priv;
+
+ /* The user set the title to nothing, let's understand that as a
+ request to revert to dynamically setting the title again. */
+ if (!text || !text[0])
+ priv->user_title = FALSE;
+ else
+ {
+ priv->user_title = TRUE;
+ terminal_screen_set_dynamic_title (screen, text, TRUE);
+ }
+}
+
static void
terminal_screen_notification_received (VteTerminal *terminal,
const char *summary,
diff --git a/src/terminal-screen.h b/src/terminal-screen.h
2018-10-05 15:13:32 +00:00
index af9583e7cbaf..a75bd4f06659 100644
2016-11-08 12:04:35 +00:00
--- a/src/terminal-screen.h
+++ b/src/terminal-screen.h
2018-10-05 15:13:32 +00:00
@@ -103,13 +103,17 @@ void terminal_screen_set_initial_environment (TerminalScreen *screen,
2016-11-08 12:04:35 +00:00
char **argv);
char ** terminal_screen_get_initial_environment (TerminalScreen *screen);
-const char *terminal_screen_get_user_title (TerminalScreen *screen);
+const char* terminal_screen_get_raw_title (TerminalScreen *screen);
const char* terminal_screen_get_title (TerminalScreen *screen);
-char * terminal_screen_get_description (TerminalScreen *screen);
void terminal_screen_set_user_title (TerminalScreen *screen,
const char *text);
+void terminal_screen_set_override_title (TerminalScreen *screen,
+ const char *title);
+
+const char *terminal_screen_get_dynamic_title (TerminalScreen *screen);
2018-10-05 15:13:32 +00:00
+
2016-11-08 12:04:35 +00:00
char *terminal_screen_get_current_dir (TerminalScreen *screen);
2018-10-05 15:13:32 +00:00
void terminal_screen_get_size (TerminalScreen *screen,
2016-11-08 12:04:35 +00:00
diff --git a/src/terminal-window.c b/src/terminal-window.c
2019-02-19 10:36:17 +00:00
index 8d3ddd6f790b..74af1c649f34 100644
2016-11-08 12:04:35 +00:00
--- a/src/terminal-window.c
+++ b/src/terminal-window.c
2019-02-19 10:36:17 +00:00
@@ -765,6 +765,12 @@ terminal_set_title_dialog_response_cb (GtkWidget *dialog,
2016-11-08 12:04:35 +00:00
gtk_widget_destroy (dialog);
}
+static const char *
+terminal_screen_get_user_title (TerminalScreen *screen)
+{
+ return terminal_screen_get_raw_title (screen);
+}
+
static void
action_set_title_cb (GSimpleAction *action,
GVariant *parameter,
2019-02-19 10:36:17 +00:00
@@ -2545,14 +2551,11 @@ sync_screen_title (TerminalScreen *screen,
2016-11-08 12:04:35 +00:00
TerminalWindow *window)
{
TerminalWindowPrivate *priv = window->priv;
- const char *title;
2018-04-03 18:03:19 +00:00
2016-11-08 12:04:35 +00:00
if (screen != priv->active_screen)
return;
- title = terminal_screen_get_title (screen);
2018-04-03 18:03:19 +00:00
- gtk_window_set_title (GTK_WINDOW (window),
2016-11-08 12:04:35 +00:00
- title && title[0] ? title : _("Terminal"));
+ gtk_window_set_title (GTK_WINDOW (window), terminal_screen_get_title (screen));
}
static void
--
2019-03-29 17:55:04 +00:00
2.20.1
2019-03-29 18:08:38 +00:00
From 4b427ab8939ad20dacbed6bd1f98fdd8d0a1bb19 Mon Sep 17 00:00:00 2001
2019-03-29 17:55:04 +00:00
From: Debarshi Ray <debarshir@gnome.org>
Date: Fri, 29 Mar 2019 18:36:02 +0100
Subject: [PATCH 15/15] headermenu: Add placeholder item for win.set-title
... to match the ones in the main menubar and the notebook-menus.
---
src/terminal-headermenu.ui | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/terminal-headermenu.ui b/src/terminal-headermenu.ui
index 0176e4c584ad..42d5296993f0 100644
--- a/src/terminal-headermenu.ui
+++ b/src/terminal-headermenu.ui
@@ -50,6 +50,11 @@
<attribute name="label" translatable="yes">Read-_Only</attribute>
<attribute name="action">win.read-only</attribute>
</item>
+ <item>
+ <attribute name="label" translatable="yes">Set _Title…</attribute>
+ <attribute name="action">win.set-title</attribute>
+ <attribute name="hidden-when">action-missing</attribute>
+ </item>
<section id="set-profile-section" />
<submenu>
<attribute name="label" translatable="yes">_Advanced</attribute>
--
2.20.1
2016-11-08 12:04:35 +00:00