[Xfce4-commits] [apps/xfce4-terminal] 01/01: Add Audible and Visual bells configuration to Preferences

noreply at xfce.org noreply at xfce.org
Wed Oct 4 18:51:40 CEST 2017


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

f   2   4   0   4       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository apps/xfce4-terminal.

commit 02ba9b9d217e530c140ee710d45d7e2a17fa7785
Author: Igor <f2404 at yandex.ru>
Date:   Wed Oct 4 12:50:56 2017 -0400

    Add Audible and Visual bells configuration to Preferences
    
    Fixes bug #13874
---
 terminal/terminal-preferences-dialog.c |  3 ++-
 terminal/terminal-preferences.glade    | 35 ++++++++++++++++++++++++++++++++++
 2 files changed, 37 insertions(+), 1 deletion(-)

diff --git a/terminal/terminal-preferences-dialog.c b/terminal/terminal-preferences-dialog.c
index 86970e5..d356aaa 100644
--- a/terminal/terminal-preferences-dialog.c
+++ b/terminal/terminal-preferences-dialog.c
@@ -149,7 +149,8 @@ terminal_preferences_dialog_init (TerminalPreferencesDialog *dialog)
                                        "misc-borders-default", "misc-tab-close-middle-click",
                                        "misc-mouse-autohide", "misc-rewrap-on-resize",
                                        "misc-copy-on-select", "misc-slim-tabs",
-                                       "misc-new-tab-adjacent", "shortcuts-no-helpkey",
+                                       "misc-new-tab-adjacent", "misc-bell",
+                                       "misc-bell-urgent", "shortcuts-no-helpkey",
                                        "shortcuts-no-mnemonics", "shortcuts-no-menukey",
                                        "binding-backspace", "binding-delete",
                                        "binding-ambiguous-width", "background-mode",
diff --git a/terminal/terminal-preferences.glade b/terminal/terminal-preferences.glade
index 20a9965..350cb42 100644
--- a/terminal/terminal-preferences.glade
+++ b/terminal/terminal-preferences.glade
@@ -3390,6 +3390,7 @@ when double clicking:</property>
                                 <property name="visible">True</property>
                                 <property name="can_focus">True</property>
                                 <property name="receives_default">False</property>
+                                <property name="tooltip_text" translatable="yes">If disabled, new tab will be opened in the rightmost position.</property>
                                 <property name="halign">start</property>
                                 <property name="use_underline">True</property>
                                 <property name="draw_indicator">True</property>
@@ -3400,6 +3401,40 @@ when double clicking:</property>
                                 <property name="position">4</property>
                               </packing>
                             </child>
+                            <child>
+                              <object class="GtkCheckButton" id="misc-bell">
+                                <property name="label" translatable="yes">_Audible bell</property>
+                                <property name="visible">True</property>
+                                <property name="can_focus">True</property>
+                                <property name="receives_default">False</property>
+                                <property name="tooltip_text" translatable="yes">Allows the terminal to play sound to indicate some events.</property>
+                                <property name="halign">start</property>
+                                <property name="use_underline">True</property>
+                                <property name="draw_indicator">True</property>
+                              </object>
+                              <packing>
+                                <property name="expand">True</property>
+                                <property name="fill">True</property>
+                                <property name="position">5</property>
+                              </packing>
+                            </child>
+                            <child>
+                              <object class="GtkCheckButton" id="misc-bell-urgent">
+                                <property name="label" translatable="yes">_Visual bell</property>
+                                <property name="visible">True</property>
+                                <property name="can_focus">True</property>
+                                <property name="receives_default">False</property>
+                                <property name="tooltip_text" translatable="yes">Allows the terminal to use WM's capability of urgent hint to indicate some events.</property>
+                                <property name="halign">start</property>
+                                <property name="use_underline">True</property>
+                                <property name="draw_indicator">True</property>
+                              </object>
+                              <packing>
+                                <property name="expand">True</property>
+                                <property name="fill">True</property>
+                                <property name="position">6</property>
+                              </packing>
+                            </child>
                           </object>
                         </child>
                       </object>

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


More information about the Xfce4-commits mailing list