[Xfce4-commits] [apps/xfce4-terminal] 01/01: Expose "middle mouse click to open URLs" setting to Preferences

noreply at xfce.org noreply at xfce.org
Mon Dec 11 21:37:03 CET 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 e6314001a6f1fdbbebb755dcf1347b92884c6990
Author: Igor <f2404 at yandex.ru>
Date:   Mon Dec 11 15:36:35 2017 -0500

    Expose "middle mouse click to open URLs" setting to Preferences
---
 terminal/terminal-preferences-dialog.c | 16 ++++++++--------
 terminal/terminal-preferences.glade    | 29 +++++++++++++++++++++++------
 2 files changed, 31 insertions(+), 14 deletions(-)

diff --git a/terminal/terminal-preferences-dialog.c b/terminal/terminal-preferences-dialog.c
index 36027c7..7713326 100644
--- a/terminal/terminal-preferences-dialog.c
+++ b/terminal/terminal-preferences-dialog.c
@@ -140,14 +140,14 @@ terminal_preferences_dialog_init (TerminalPreferencesDialog *dialog)
   gchar            *current;
   GtkTreeIter       current_iter;
   const gchar      *props_active[] = { "title-mode", "command-login-shell",
-                                       "command-update-records",
-                                       "run-custom-command", "use-default-working-dir",
-                                       "scrolling-on-output", "scrolling-on-keystroke",
-                                       "scrolling-bar", "scrolling-unlimited",
-                                       "misc-cursor-shape", "misc-cursor-blinks",
-                                       "font-allow-bold", "font-use-system",
-                                       "misc-menubar-default", "misc-toolbar-default",
-                                       "misc-borders-default", "misc-tab-close-middle-click",
+                                       "command-update-records", "run-custom-command",
+                                       "use-default-working-dir", "scrolling-on-output",
+                                       "scrolling-on-keystroke", "scrolling-bar",
+                                       "scrolling-unlimited", "misc-cursor-shape",
+                                       "misc-cursor-blinks", "font-allow-bold",
+                                       "font-use-system", "misc-menubar-default",
+                                       "misc-toolbar-default", "misc-borders-default",
+                                       "misc-tab-close-middle-click", "misc-middle-click-opens-uri",
                                        "misc-mouse-autohide", "misc-rewrap-on-resize",
                                        "misc-copy-on-select", "misc-slim-tabs",
                                        "misc-new-tab-adjacent", "misc-bell",
diff --git a/terminal/terminal-preferences.glade b/terminal/terminal-preferences.glade
index 6c3c2ff..1b72d74 100644
--- a/terminal/terminal-preferences.glade
+++ b/terminal/terminal-preferences.glade
@@ -3354,6 +3354,23 @@ when double clicking:</property>
                               </packing>
                             </child>
                             <child>
+                              <object class="GtkCheckButton" id="misc-middle-click-opens-uri">
+                                <property name="label" translatable="yes">Use middle mouse click to open _URLs</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, URLs can be opened by Ctrl + left mouse click.</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">1</property>
+                              </packing>
+                            </child>
+                            <child>
                               <object class="GtkCheckButton" id="misc-mouse-autohide">
                                 <property name="label" translatable="yes">Auto-hi_de mouse pointer</property>
                                 <property name="visible">True</property>
@@ -3366,7 +3383,7 @@ when double clicking:</property>
                               <packing>
                                 <property name="expand">True</property>
                                 <property name="fill">True</property>
-                                <property name="position">1</property>
+                                <property name="position">2</property>
                               </packing>
                             </child>
                             <child>
@@ -3382,7 +3399,7 @@ when double clicking:</property>
                               <packing>
                                 <property name="expand">True</property>
                                 <property name="fill">True</property>
-                                <property name="position">2</property>
+                                <property name="position">3</property>
                               </packing>
                             </child>
                             <child>
@@ -3398,7 +3415,7 @@ when double clicking:</property>
                               <packing>
                                 <property name="expand">True</property>
                                 <property name="fill">True</property>
-                                <property name="position">3</property>
+                                <property name="position">4</property>
                               </packing>
                             </child>
                             <child>
@@ -3415,7 +3432,7 @@ when double clicking:</property>
                               <packing>
                                 <property name="expand">True</property>
                                 <property name="fill">True</property>
-                                <property name="position">4</property>
+                                <property name="position">5</property>
                               </packing>
                             </child>
                             <child>
@@ -3432,7 +3449,7 @@ when double clicking:</property>
                               <packing>
                                 <property name="expand">True</property>
                                 <property name="fill">True</property>
-                                <property name="position">5</property>
+                                <property name="position">6</property>
                               </packing>
                             </child>
                             <child>
@@ -3449,7 +3466,7 @@ when double clicking:</property>
                               <packing>
                                 <property name="expand">True</property>
                                 <property name="fill">True</property>
-                                <property name="position">6</property>
+                                <property name="position">7</property>
                               </packing>
                             </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