1
1

A few, cosmetic, gnome changes... -Jonathan

Этот коммит содержится в:
Michael Fulbright 1998-12-11 18:36:41 +00:00
родитель bb4317f961
Коммит c985074281
3 изменённых файлов: 18 добавлений и 4 удалений

Просмотреть файл

@ -180,10 +180,10 @@ file_mask_dialog (FileOperation operation, char *text, char *def_text, int only_
/* Basic window */ /* Basic window */
if (operation == OP_COPY) if (operation == OP_COPY)
fmd_win = gnome_dialog_new ("Copy\n", GNOME_STOCK_BUTTON_OK, fmd_win = gnome_dialog_new ("Copy", GNOME_STOCK_BUTTON_OK,
GNOME_STOCK_BUTTON_CANCEL, NULL); GNOME_STOCK_BUTTON_CANCEL, NULL);
else if (operation == OP_MOVE) else if (operation == OP_MOVE)
fmd_win = gnome_dialog_new ("Move\n", GNOME_STOCK_BUTTON_OK, fmd_win = gnome_dialog_new ("Move", GNOME_STOCK_BUTTON_OK,
GNOME_STOCK_BUTTON_CANCEL, NULL); GNOME_STOCK_BUTTON_CANCEL, NULL);
hbox = gtk_hbox_new (FALSE, GNOME_PAD); hbox = gtk_hbox_new (FALSE, GNOME_PAD);

Просмотреть файл

@ -1,3 +1,8 @@
1998-12-11 Michael Fulbright <msf@majestic.labs.redhat.com>
* file.c (panel_operate_generate_prompt): Changes the text
for GNOME dialogs. --jrb
1998-12-10 Miguel de Icaza <miguel@nuclecu.unam.mx> 1998-12-10 Miguel de Icaza <miguel@nuclecu.unam.mx>
* main.c (try_to_select): We do not need to select the item * main.c (try_to_select): We do not need to select the item

Просмотреть файл

@ -2190,14 +2190,20 @@ int fmd_xlen = FMD_XLEN, fmd_i18n_flag = 0;
* %m - "with source mask" or question mark for delete * %m - "with source mask" or question mark for delete
* %s - source name (truncated) * %s - source name (truncated)
* %d - number of marked files * %d - number of marked files
* %e - "to:" or question mark for delete
*/ */
#ifndef HAVE_GNOME
static char* one_format = N_("%o %f \"%s\"%m"); static char* one_format = N_("%o %f \"%s\"%m");
static char* many_format = N_("%o %d %f%m"); static char* many_format = N_("%o %d %f%m");
#else
static char* one_format = N_("%o %f \"%s\"%e");
static char* many_format = N_("%o %d %f%e");
#endif
static char* prompt_parts [] = static char* prompt_parts [] =
{ {
N_("file"), N_("files"), N_("directory"), N_("directories"), N_("file"), N_("files"), N_("directory"), N_("directories"),
N_("files/directories"), N_(" with source mask:") N_("files/directories"), N_(" with source mask:"), N_(" to:")
}; };
char* char*
@ -2248,6 +2254,9 @@ panel_operate_generate_prompt (char* cmd_buf, WPanel* panel, int operation, int
case 'm': case 'm':
cp = operation == OP_DELETE ? "?" : prompt_parts [5]; cp = operation == OP_DELETE ? "?" : prompt_parts [5];
break; break;
case 'e':
cp = operation == OP_DELETE ? "?" : prompt_parts [6];
break;
case 'f': case 'f':
if (only_one) if (only_one)
{ {