From: Kaj-Michael Lang Date: Sat, 17 May 2008 10:36:01 +0000 (+0300) Subject: QuickPoi: Let "Other" button expand properly with window size. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4843a2c50accacc7a3ea07237f2a567a71e8579;p=mapper QuickPoi: Let "Other" button expand properly with window size. --- 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; }