[Xfce4-commits] [apps/xfce4-dict] 02/04: Visual improvements for panel search entry

noreply at xfce.org noreply at xfce.org
Wed Nov 28 02:08:34 CET 2018


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

a   n   d   r   e       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-dict.

commit ae27a3069af49ebc1428ddb0a2b4910099ab8374
Author: Andre Miranda <andreldm at xfce.org>
Date:   Tue Nov 27 21:54:09 2018 -0300

    Visual improvements for panel search entry
---
 panel-plugin/xfce4-dict-plugin.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/panel-plugin/xfce4-dict-plugin.c b/panel-plugin/xfce4-dict-plugin.c
index 43366f7..431dd8f 100644
--- a/panel-plugin/xfce4-dict-plugin.c
+++ b/panel-plugin/xfce4-dict-plugin.c
@@ -365,7 +365,7 @@ static void dict_plugin_construct(XfcePanelPlugin *plugin)
 
 	/* panel entry */
 	dpd->dd->panel_entry = gtk_search_entry_new();
-	gtk_entry_set_icon_from_icon_name(GTK_ENTRY(dpd->dd->panel_entry), GTK_ENTRY_ICON_SECONDARY, "gtk-clear");
+	gtk_widget_set_valign(dpd->dd->panel_entry, GTK_ALIGN_CENTER);
 	gtk_entry_set_width_chars(GTK_ENTRY(dpd->dd->panel_entry), 25);
 	gtk_entry_set_placeholder_text(GTK_ENTRY(dpd->dd->panel_entry), _("Search term"));
 	g_signal_connect(dpd->dd->panel_entry, "icon-release", G_CALLBACK(entry_icon_release_cb), dpd);

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


More information about the Xfce4-commits mailing list