~mdw
/
xtoys
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a9715a2
)
Stop the dropdown list from dropping down when you press enter.
1.2.1
author
mdw
<mdw>
Wed, 16 Dec 1998 19:58:53 +0000
(19:58 +0000)
committer
mdw
<mdw>
Wed, 16 Dec 1998 19:58:53 +0000
(19:58 +0000)
xgetline.c
patch
|
blob
|
blame
|
history
diff --git
a/xgetline.c
b/xgetline.c
index
96c9e46
..
91b1f1e
100644
(file)
--- a/
xgetline.c
+++ b/
xgetline.c
@@
-1,6
+1,6
@@
/* -*-c-*-
*
/* -*-c-*-
*
- * $Id: xgetline.c,v 1.
7 1998/12/11 09:53:02
mdw Exp $
+ * $Id: xgetline.c,v 1.
8 1998/12/16 19:58:53
mdw Exp $
*
* Fetch a line of text from the user
*
*
* Fetch a line of text from the user
*
@@
-29,6
+29,9
@@
/*----- Revision history --------------------------------------------------*
*
* $Log: xgetline.c,v $
/*----- Revision history --------------------------------------------------*
*
* $Log: xgetline.c,v $
+ * Revision 1.8 1998/12/16 19:58:53 mdw
+ * Stop the dropdown list from dropping down when you press enter.
+ *
* Revision 1.7 1998/12/11 09:53:02 mdw
* Updates for mLib/mgLib. Support history files for recalling past
* entries, using a drop-down list.
* Revision 1.7 1998/12/11 09:53:02 mdw
* Updates for mLib/mgLib. Support history files for recalling past
* entries, using a drop-down list.
@@
-366,6
+369,7
@@
int main(int argc, char *argv[])
}
gtk_combo_set_case_sensitive(GTK_COMBO(combo), 1);
gtk_combo_set_use_arrows_always(GTK_COMBO(combo), 1);
}
gtk_combo_set_case_sensitive(GTK_COMBO(combo), 1);
gtk_combo_set_use_arrows_always(GTK_COMBO(combo), 1);
+ gtk_combo_disable_activate(GTK_COMBO(combo));
if (strcmp(dfl, "@") == 0)
gtk_entry_set_text(GTK_ENTRY(entry), hist ? (char *)hist->data : "");
else
if (strcmp(dfl, "@") == 0)
gtk_entry_set_text(GTK_ENTRY(entry), hist ? (char *)hist->data : "");
else