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

andre pushed a commit to branch master
in repository apps/xfce4-dict.

commit 46003330d4ca32b56f234e436d57c8306a8a17da
Author: Andre Miranda <andre...@gmail.com>
Date:   Sat Oct 22 14:13:10 2016 -0300

    Use GtkSearchEntry instead of GtkEntry
---
 panel-plugin/xfce4-dict-plugin.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/panel-plugin/xfce4-dict-plugin.c b/panel-plugin/xfce4-dict-plugin.c
index b38b192..e12ef6e 100644
--- a/panel-plugin/xfce4-dict-plugin.c
+++ b/panel-plugin/xfce4-dict-plugin.c
@@ -391,10 +391,10 @@ static void dict_plugin_construct(XfcePanelPlugin *plugin)
        g_signal_connect(dpd->dd->pref_menu_item, "activate", 
G_CALLBACK(dict_plugin_properties_dialog), dpd);
 
        /* panel entry */
-       dpd->dd->panel_entry = gtk_entry_new();
+       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_entry_set_width_chars(GTK_ENTRY(dpd->dd->panel_entry), 25);
-       gtk_entry_set_text(GTK_ENTRY(dpd->dd->panel_entry), _("Search term"));
+       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);
        g_signal_connect(dpd->dd->panel_entry, "activate", 
G_CALLBACK(entry_activate_cb), dpd);
        g_signal_connect(dpd->dd->panel_entry, "button-press-event", 
G_CALLBACK(entry_buttonpress_cb), dpd);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to