[Xfce4-commits] [panel-plugins/xfce4-mpc-plugin] 01/01: set hexpand on the first dialog gtkentry so that the entry row expands when the dialog is made larger

noreply at xfce.org noreply at xfce.org
Sat Mar 25 19:22:49 CET 2017


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

landry pushed a commit to branch master
in repository panel-plugins/xfce4-mpc-plugin.

commit bd590fed624665b1655fda278e8d0c8c77c425aa
Author: Landry Breuil <landry at xfce.org>
Date:   Sat Mar 25 19:23:49 2017 +0100

    set hexpand on the first dialog gtkentry so that the entry row expands when the dialog is made larger
---
 panel-plugin/xfce4-mpc-plugin.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/panel-plugin/xfce4-mpc-plugin.c b/panel-plugin/xfce4-mpc-plugin.c
index db0e0b9..ba9ccd5 100644
--- a/panel-plugin/xfce4-mpc-plugin.c
+++ b/panel-plugin/xfce4-mpc-plugin.c
@@ -279,6 +279,7 @@ mpc_create_options (XfcePanelPlugin * plugin, t_mpc* mpc)
    gtk_grid_attach(GTK_GRID(table),gtk_label_new_with_mnemonic(_("Show _frame")),0,6,1,1);
 
    dialog->textbox_host = gtk_entry_new();
+   gtk_widget_set_hexpand (dialog->textbox_host, TRUE);
    gtk_entry_set_width_chars(GTK_ENTRY(dialog->textbox_host),DIALOG_ENTRY_WIDTH);
    gtk_entry_set_text(GTK_ENTRY(dialog->textbox_host),mpc->mpd_host);
    gtk_grid_attach(GTK_GRID(table),dialog->textbox_host,1,0,1,1);

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


More information about the Xfce4-commits mailing list