diff options
author | rbuj <[email protected]> | 2020-12-14 15:44:45 +0100 |
---|---|---|
committer | Victor Kareh <[email protected]> | 2020-12-18 09:30:19 -0500 |
commit | 43afa6d5de37f36c196459bb441311a65bcc386c (patch) | |
tree | d315e4bf1ca6576c228ce9cb273a710df41ac3c3 /netspeed/data | |
parent | 1b7915e471b1105368b5bd07a616c8339c6cf7dc (diff) | |
download | mate-applets-43afa6d5de37f36c196459bb441311a65bcc386c.tar.bz2 mate-applets-43afa6d5de37f36c196459bb441311a65bcc386c.tar.xz |
netspeed: show all IP addresses on tooltip if enabled
Diffstat (limited to 'netspeed/data')
-rw-r--r-- | netspeed/data/netspeed-preferences.ui | 130 | ||||
-rw-r--r-- | netspeed/data/org.mate.panel.applet.netspeed.gschema.xml.in | 5 |
2 files changed, 77 insertions, 58 deletions
diff --git a/netspeed/data/netspeed-preferences.ui b/netspeed/data/netspeed-preferences.ui index 62b0e601..9bc04f65 100644 --- a/netspeed/data/netspeed-preferences.ui +++ b/netspeed/data/netspeed-preferences.ui @@ -1,42 +1,42 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- Generated with glade 3.36.0 --> +<!-- Generated with glade 3.38.2 --> <interface> <requires lib="gtk+" version="3.22"/> <object class="GtkImage" id="image1"> <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="icon_name">help-browser</property> + <property name="can-focus">False</property> + <property name="icon-name">help-browser</property> </object> <object class="GtkImage" id="image2"> <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="icon_name">window-close</property> + <property name="can-focus">False</property> + <property name="icon-name">window-close</property> </object> <object class="GtkDialog" id="preferences_dialog"> - <property name="can_focus">False</property> - <property name="border_width">12</property> + <property name="can-focus">False</property> + <property name="border-width">12</property> <property name="title" translatable="yes">MATE Netspeed Preferences</property> - <property name="icon_name">mate-netspeed-applet</property> - <property name="type_hint">dialog</property> + <property name="icon-name">mate-netspeed-applet</property> + <property name="type-hint">dialog</property> <signal name="response" handler="on_preferences_dialog_response" swapped="no"/> <child internal-child="vbox"> <object class="GtkBox"> - <property name="can_focus">False</property> + <property name="can-focus">False</property> <property name="orientation">vertical</property> <property name="spacing">2</property> <child internal-child="action_area"> <object class="GtkButtonBox"> - <property name="can_focus">False</property> - <property name="layout_style">end</property> + <property name="can-focus">False</property> + <property name="layout-style">end</property> <child> <object class="GtkButton" id="button1"> <property name="label" translatable="yes">_Help</property> <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> + <property name="can-focus">True</property> + <property name="receives-default">True</property> <property name="image">image1</property> - <property name="use_underline">True</property> - <property name="always_show_image">True</property> + <property name="use-underline">True</property> + <property name="always-show-image">True</property> </object> <packing> <property name="expand">True</property> @@ -48,13 +48,13 @@ <object class="GtkButton" id="button2"> <property name="label" translatable="yes">_Close</property> <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="can_default">True</property> - <property name="has_default">True</property> - <property name="receives_default">True</property> + <property name="can-focus">True</property> + <property name="can-default">True</property> + <property name="has-default">True</property> + <property name="receives-default">True</property> <property name="image">image2</property> - <property name="use_underline">True</property> - <property name="always_show_image">True</property> + <property name="use-underline">True</property> + <property name="always-show-image">True</property> </object> <packing> <property name="expand">True</property> @@ -72,34 +72,34 @@ <child> <object class="GtkFrame"> <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="label_xalign">0</property> - <property name="shadow_type">none</property> + <property name="can-focus">False</property> + <property name="label-xalign">0</property> + <property name="shadow-type">none</property> <child> <object class="GtkAlignment"> <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="left_padding">12</property> + <property name="can-focus">False</property> + <property name="left-padding">12</property> <child> <object class="GtkBox"> <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="border_width">5</property> + <property name="can-focus">False</property> + <property name="border-width">5</property> <property name="orientation">vertical</property> <property name="spacing">6</property> <child> <object class="GtkBox"> <property name="visible">True</property> - <property name="can_focus">False</property> + <property name="can-focus">False</property> <property name="spacing">12</property> <child> <object class="GtkLabel"> <property name="visible">True</property> - <property name="can_focus">False</property> + <property name="can-focus">False</property> <property name="halign">start</property> <property name="label" translatable="yes">Network _device:</property> - <property name="use_underline">True</property> - <property name="mnemonic_widget">network_device_combo</property> + <property name="use-underline">True</property> + <property name="mnemonic-widget">network_device_combo</property> </object> <packing> <property name="expand">False</property> @@ -110,7 +110,7 @@ <child> <object class="GtkComboBoxText" id="network_device_combo"> <property name="visible">True</property> - <property name="can_focus">False</property> + <property name="can-focus">False</property> <signal name="changed" handler="on_network_device_combo_changed" swapped="no"/> </object> <packing> @@ -130,11 +130,11 @@ <object class="GtkCheckButton" id="show_sum_checkbutton"> <property name="label" translatable="yes">Show _sum instead of in & out</property> <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">False</property> + <property name="can-focus">True</property> + <property name="receives-default">False</property> <property name="halign">start</property> - <property name="use_underline">True</property> - <property name="draw_indicator">True</property> + <property name="use-underline">True</property> + <property name="draw-indicator">True</property> <signal name="toggled" handler="on_show_sum_checkbutton_toggled" swapped="no"/> </object> <packing> @@ -147,11 +147,11 @@ <object class="GtkCheckButton" id="show_bits_checkbutton"> <property name="label" translatable="yes">Show _bits instead of bytes</property> <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">False</property> + <property name="can-focus">True</property> + <property name="receives-default">False</property> <property name="halign">start</property> - <property name="use_underline">True</property> - <property name="draw_indicator">True</property> + <property name="use-underline">True</property> + <property name="draw-indicator">True</property> <signal name="toggled" handler="on_show_bits_checkbutton_toggled" swapped="no"/> </object> <packing> @@ -164,11 +164,11 @@ <object class="GtkCheckButton" id="change_icon_checkbutton"> <property name="label" translatable="yes">_Change icon according to the selected device</property> <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">False</property> + <property name="can-focus">True</property> + <property name="receives-default">False</property> <property name="halign">start</property> - <property name="use_underline">True</property> - <property name="draw_indicator">True</property> + <property name="use-underline">True</property> + <property name="draw-indicator">True</property> <signal name="toggled" handler="on_change_icon_checkbutton_toggled" swapped="no"/> </object> <packing> @@ -181,11 +181,11 @@ <object class="GtkCheckButton" id="show_icon_checkbutton"> <property name="label" translatable="yes">Show _icon</property> <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">False</property> + <property name="can-focus">True</property> + <property name="receives-default">False</property> <property name="halign">start</property> - <property name="use_underline">True</property> - <property name="draw_indicator">True</property> + <property name="use-underline">True</property> + <property name="draw-indicator">True</property> <signal name="toggled" handler="on_show_icon_checkbutton_toggled" swapped="no"/> </object> <packing> @@ -198,11 +198,11 @@ <object class="GtkCheckButton" id="show_quality_icon_checkbutton"> <property name="label" translatable="yes">Show signal _quality icon for wireless devices</property> <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">False</property> + <property name="can-focus">True</property> + <property name="receives-default">False</property> <property name="halign">start</property> - <property name="use_underline">True</property> - <property name="draw_indicator">True</property> + <property name="use-underline">True</property> + <property name="draw-indicator">True</property> <signal name="toggled" handler="on_show_quality_icon_checkbutton_toggled" swapped="no"/> </object> <packing> @@ -211,6 +211,23 @@ <property name="position">5</property> </packing> </child> + <child> + <object class="GtkCheckButton" id="show_all_addresses_checkbutton"> + <property name="label" translatable="yes">Show all _IP addresses on tooltip</property> + <property name="visible">True</property> + <property name="can-focus">True</property> + <property name="receives-default">False</property> + <property name="halign">start</property> + <property name="use-underline">True</property> + <property name="draw-indicator">True</property> + <signal name="toggled" handler="on_show_all_addresses_checkbutton_toggled" swapped="no"/> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">6</property> + </packing> + </child> </object> </child> </object> @@ -218,7 +235,7 @@ <child type="label"> <object class="GtkLabel"> <property name="visible">True</property> - <property name="can_focus">False</property> + <property name="can-focus">False</property> <property name="halign">start</property> <property name="label" translatable="yes">General Settings</property> <attributes> @@ -239,8 +256,5 @@ <action-widget response="-11">button1</action-widget> <action-widget response="-3">button2</action-widget> </action-widgets> - <child type="titlebar"> - <placeholder/> - </child> </object> </interface> diff --git a/netspeed/data/org.mate.panel.applet.netspeed.gschema.xml.in b/netspeed/data/org.mate.panel.applet.netspeed.gschema.xml.in index 88b6a8aa..a45dadb1 100644 --- a/netspeed/data/org.mate.panel.applet.netspeed.gschema.xml.in +++ b/netspeed/data/org.mate.panel.applet.netspeed.gschema.xml.in @@ -15,6 +15,11 @@ <summary>Show bits</summary> <description>If true, show speed in bits instead of bytes.</description> </key> + <key name="show-all-addresses" type="b"> + <default>false</default> + <summary>Show IPv4 and IPv6 addresses on tooltip</summary> + <description>If true, show both IP addresses if enabled.</description> + </key> <key name="show-icon" type="b"> <default>true</default> <summary>Show icon</summary> |