From b4843a2c50accacc7a3ea07237f2a567a71e8579 Mon Sep 17 00:00:00 2001 From: Kaj-Michael Lang Date: Sat, 17 May 2008 13:36:01 +0300 Subject: [PATCH] QuickPoi: Let "Other" button expand properly with window size. --- src/poi-gui.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/poi-gui.c b/src/poi-gui.c index ff2a380..81b2dc1 100644 --- a/src/poi-gui.c +++ b/src/poi-gui.c @@ -1085,11 +1085,11 @@ gtk_box_pack_start(GTK_BOX(vbox), table, TRUE, TRUE, 0); /* Other POI button */ otherbtn=gtk_button_new_with_label("Other POI"); poi_button_set_icon(otherbtn, NODE_AMENITY_GENERIC); -gtk_box_pack_start(GTK_BOX(vbox), otherbtn, TRUE, FALSE, 6); +gtk_box_pack_start(GTK_BOX(vbox), otherbtn, TRUE, TRUE, 6); g_object_set_data(G_OBJECT(otherbtn), "pid", GINT_TO_POINTER(NODE_AMENITY_GENERIC)); g_signal_connect(G_OBJECT(otherbtn), "clicked", G_CALLBACK(poi_quick_button_cb), qpdata); -gtk_box_pack_start(GTK_BOX(vbox), qpdata->label = gtk_entry_new(), TRUE, FALSE, 0); +gtk_box_pack_start(GTK_BOX(vbox), qpdata->label = gtk_entry_new(), FALSE, FALSE, 0); return vbox; } -- 2.39.5