[Xfce4-commits] [apps/xfce4-terminal] 01/01: Rename opacity setting for backgroung image mode

noreply at xfce.org noreply at xfce.org
Tue Sep 20 15:18:29 CEST 2016


This is an automated email from the git hooks/post-receive script.

f2404 pushed a commit to branch master
in repository apps/xfce4-terminal.

commit 17f74dca38529c78ea3b5f29599c08cc9b159a00
Author: Igor <f2404 at yandex.ru>
Date:   Tue Sep 20 16:18:23 2016 +0300

    Rename opacity setting for backgroung image mode
---
 terminal/terminal-preferences-dialog.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/terminal/terminal-preferences-dialog.c b/terminal/terminal-preferences-dialog.c
index 175924a..80b5cdf 100644
--- a/terminal/terminal-preferences-dialog.c
+++ b/terminal/terminal-preferences-dialog.c
@@ -842,6 +842,10 @@ terminal_preferences_dialog_background_mode (GtkWidget                 *combobox
   object = gtk_builder_get_object (GTK_BUILDER (dialog), "label-opacity-not-available");
   terminal_return_if_fail (G_IS_OBJECT (object));
   g_object_set (G_OBJECT (object), "visible", active > 0 && !composited, NULL);
+
+  object = gtk_builder_get_object (GTK_BUILDER (dialog), "opacity-label");
+  terminal_return_if_fail (G_IS_OBJECT (object));
+  g_object_set (G_OBJECT (object), "label", active == 1 ? "_Image\ndarkening:" : "_Opacity:", NULL);
 }
 
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list