diff options
author | 2009-01-27 12:34:25 -0500 | |
---|---|---|
committer | 2009-01-27 12:34:25 -0500 | |
commit | bcf630f108fcb957b0a908b258fe3a644e189ceb (patch) | |
tree | 15fe72b3d5de757465431ecbb79154db36ae8308 /src/textadept.c | |
parent | f131668edad1ed20a3ac095925b602836503c8e8 (diff) | |
download | textadept-bcf630f108fcb957b0a908b258fe3a644e189ceb.tar.gz textadept-bcf630f108fcb957b0a908b258fe3a644e189ceb.zip |
Use a combo entry to either type in or select a PM browser to use.
Diffstat (limited to 'src/textadept.c')
-rw-r--r-- | src/textadept.c | 5 |
1 files changed, 3 insertions, 2 deletions
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); |