[Libreoffice-commits] core.git: 2 commits - vcl/unx

Caolán McNamara caolanm at redhat.com
Fri Jun 19 08:09:09 PDT 2015


 vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 0196c1c9277129b058827ee1804f93ffa90a307c
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Jun 19 16:08:25 2015 +0100

    HIG: the label should specify what it's a label for
    
    Change-Id: I196812200ab82ba0d457b59022f472f942615220

diff --git a/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx b/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx
index 4af3d25..6872c66 100644
--- a/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx
+++ b/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx
@@ -207,6 +207,7 @@ SalGtkFilePicker::SalGtkFilePicker( const uno::Reference< uno::XComponentContext
         gtk_container_add( GTK_CONTAINER( m_pAligns[i]), m_pLists[i] );
         gtk_box_pack_end( GTK_BOX( m_pHBoxs[i] ), m_pAligns[i], false, false, 0 );
         gtk_box_pack_end( GTK_BOX( m_pHBoxs[i] ), m_pListLabels[i], false, false, 0 );
+        gtk_label_set_mnemonic_widget( GTK_LABEL(m_pListLabels[i]), m_pLists[i] );
         gtk_box_set_spacing( GTK_BOX( m_pHBoxs[i] ), 12 );
 
         gtk_box_pack_end( GTK_BOX( m_pVBox ), m_pHBoxs[i], false, false, 0 );
commit d242f46f25341b8cf96caf33d60d6179a05b901e
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Jun 19 16:00:28 2015 +0100

    HIG: 12 pixels from label to widget in file picker
    
    Change-Id: Ia54eeae792efe65ca03ac08c8f5e70a7643a0b69

diff --git a/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx b/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx
index db1a1fe..4af3d25 100644
--- a/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx
+++ b/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx
@@ -206,8 +206,8 @@ SalGtkFilePicker::SalGtkFilePicker( const uno::Reference< uno::XComponentContext
 
         gtk_container_add( GTK_CONTAINER( m_pAligns[i]), m_pLists[i] );
         gtk_box_pack_end( GTK_BOX( m_pHBoxs[i] ), m_pAligns[i], false, false, 0 );
-
         gtk_box_pack_end( GTK_BOX( m_pHBoxs[i] ), m_pListLabels[i], false, false, 0 );
+        gtk_box_set_spacing( GTK_BOX( m_pHBoxs[i] ), 12 );
 
         gtk_box_pack_end( GTK_BOX( m_pVBox ), m_pHBoxs[i], false, false, 0 );
     }


More information about the Libreoffice-commits mailing list