[gtk+] GtkVolumeButton: Remove tooltips



commit f058b402e407ef7f2444fc07a26486bfb3d88540
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Jan 29 21:30:01 2014 -0500

    GtkVolumeButton: Remove tooltips
    
    Showing tooltips on top of a transient popup does not work
    out well, and is not really necessary here. At the same time,
    remove the unnecessary repetitions of properties. In particular,
    setting the label of the buttons here defeats the scale buttons
    use of symbolic icons.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=723181

 gtk/resources/ui/gtkvolumebutton.ui |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)
---
diff --git a/gtk/resources/ui/gtkvolumebutton.ui b/gtk/resources/ui/gtkvolumebutton.ui
index 4c253a3..938ac0d 100644
--- a/gtk/resources/ui/gtkvolumebutton.ui
+++ b/gtk/resources/ui/gtkvolumebutton.ui
@@ -29,11 +29,6 @@ audio-volume-medium</property>
     <signal name="value-changed" handler="cb_value_changed" swapped="no"/>
     <child internal-child="plus_button">
       <object class="GtkButton" id="scalebutton-plus_button1">
-        <property name="label" translatable="yes">+</property>
-        <property name="can_focus">True</property>
-        <property name="receives_default">True</property>
-        <property name="tooltip_text" translatable="yes">Volume Up</property>
-        <property name="relief">none</property>
         <child internal-child="accessible">
           <object class="AtkObject" id="scalebutton-plus_button1-atkobject">
             <property name="AtkObject::accessible-name" translatable="yes">Volume Up</property>
@@ -44,11 +39,6 @@ audio-volume-medium</property>
     </child>
     <child internal-child="minus_button">
       <object class="GtkButton" id="scalebutton-minus_button1">
-        <property name="label" translatable="yes">-</property>
-        <property name="can_focus">True</property>
-        <property name="receives_default">True</property>
-        <property name="tooltip_text" translatable="yes">Volume Down</property>
-        <property name="relief">none</property>
         <child internal-child="accessible">
           <object class="AtkObject" id="scalebutton-minus_button1-atkobject">
             <property name="AtkObject::accessible-name" translatable="yes">Volume Down</property>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]