From bcf630f108fcb957b0a908b258fe3a644e189ceb Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Tue, 27 Jan 2009 12:34:25 -0500 Subject: Use a combo entry to either type in or select a PM browser to use. --- src/textadept.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/textadept.c') diff --git a/src/textadept.c b/src/textadept.c index 1cf899e0..6d9c98e7 100644 --- a/src/textadept.c +++ b/src/textadept.c @@ -588,9 +588,10 @@ void cfurlref_to_char(CFURLRef url, char *path, int len) { GtkWidget *pm_create_ui() { pm_container = gtk_vbox_new(FALSE, 1); - pm_entry = gtk_entry_new(); + GtkWidget *pm_combo = gtk_combo_box_entry_new_text(); + pm_entry = gtk_bin_get_child(GTK_BIN(pm_combo)); gtk_widget_set_name(pm_entry, "textadept-pm-entry"); - gtk_box_pack_start(GTK_BOX(pm_container), pm_entry, FALSE, FALSE, 0); + gtk_box_pack_start(GTK_BOX(pm_container), pm_combo, FALSE, FALSE, 0); pm_store = gtk_tree_store_new(3, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING); GtkTreeSortable *sortable = GTK_TREE_SORTABLE(pm_store); -- cgit v1.2.3