[Xfce4-commits] [xfce/xfce4-settings] 01/02: Adjust search box position

noreply at xfce.org noreply at xfce.org
Sat Feb 18 17:07:59 CET 2017


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

f2404 pushed a commit to branch master
in repository xfce/xfce4-settings.

commit 59cff253390ae3c4ad1ecc75569fd5f2e6ef5097
Author: Igor <f2404 at yandex.ru>
Date:   Sat Feb 18 19:07:10 2017 +0300

    Adjust search box position
    
    Fixes https://bugzilla.xfce.org/show_bug.cgi?id=13316
---
 xfce4-settings-manager/xfce-settings-manager-dialog.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/xfce4-settings-manager/xfce-settings-manager-dialog.c b/xfce4-settings-manager/xfce-settings-manager-dialog.c
index a613c55..e6411a6 100644
--- a/xfce4-settings-manager/xfce-settings-manager-dialog.c
+++ b/xfce4-settings-manager/xfce-settings-manager-dialog.c
@@ -231,9 +231,10 @@ xfce_settings_manager_dialog_init (XfceSettingsManagerDialog *dialog)
     gtk_widget_show (ebox);
 
     dialog->filter_entry = entry = gtk_entry_new ();
+    gtk_widget_set_margin_end (GTK_WIDGET (entry), 6);
     gtk_container_add (GTK_CONTAINER (ebox), entry);
     gtk_widget_set_halign (entry, GTK_ALIGN_START);
-    gtk_widget_set_valign (entry, GTK_ALIGN_END);
+    gtk_widget_set_valign (entry, GTK_ALIGN_CENTER);
     gtk_entry_set_icon_from_icon_name (GTK_ENTRY (entry), GTK_ENTRY_ICON_SECONDARY, "edit-find");
     gtk_entry_set_icon_activatable (GTK_ENTRY (entry), GTK_ENTRY_ICON_SECONDARY, FALSE);
     g_signal_connect (G_OBJECT (entry), "changed",

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


More information about the Xfce4-commits mailing list