* complete.c (complete_engine): Don't need DLG_REVERSE.

* widget.c (show_hist): Likewise.
* view.c (view): User straight widget order.
This commit is contained in:
Pavel Roskin 2003-09-12 22:08:09 +00:00
parent e0f9b7ab83
commit bad1582e06
4 changed files with 8 additions and 4 deletions

View File

@ -1,5 +1,9 @@
2003-09-12 Pavel Roskin <proski@gnu.org>
* complete.c (complete_engine): Don't need DLG_REVERSE.
* widget.c (show_hist): Likewise.
* view.c (view): User straight widget order.
* dlg.h: Replace DLG_BACKWARD to DLG_REVERSE with a better
defined meaning. Make it default to populate dialogs from the
top. Change all calls to create_dlg().

View File

@ -977,7 +977,7 @@ complete_engine (WInput *in, int what_to_do)
query_width = w;
query_dlg = create_dlg (y, x, query_height, query_width,
dialog_colors, query_callback,
"[Completion]", NULL, DLG_COMPACT | DLG_REVERSE);
"[Completion]", NULL, DLG_COMPACT);
query_list = listbox_new (1, 1, w - 2, h - 2, NULL);
add_widget (query_dlg, query_list);
for (p = in->completions + 1; *p; p++)

View File

@ -2625,14 +2625,14 @@ view (const char *_command, const char *_file, int *move_dir_p, int start_line)
/* Create dialog and widgets, put them on the dialog */
view_dlg =
create_dlg (0, 0, LINES, COLS, NULL, view_dialog_callback,
"[Internal File Viewer]", NULL, DLG_REVERSE);
"[Internal File Viewer]", NULL, DLG_NONE);
wview = view_new (0, 0, COLS, LINES - 1, 0);
bar = buttonbar_new (1);
add_widget (view_dlg, wview);
add_widget (view_dlg, bar);
add_widget (view_dlg, wview);
error = view_init (wview, _command, _file, start_line);
if (move_dir_p)

View File

@ -958,7 +958,7 @@ show_hist (GList *history, int widget_x, int widget_y)
query_dlg =
create_dlg (y, x, h, w, dialog_colors, NULL, "[History-query]",
i18n_htitle (), DLG_COMPACT | DLG_REVERSE);
i18n_htitle (), DLG_COMPACT);
query_list = listbox_new (1, 1, w - 2, h - 2, 0);
add_widget (query_dlg, query_list);
hi = z;