* hotlist.c (add_new_group_input): Clean up.
* wtools.c (do_create_message): Eliminate g_strdup_printf(). (bg_message): Likewise.
Этот коммит содержится в:
родитель
8ed2cc4594
Коммит
baa4e26cdc
@ -1,3 +1,9 @@
|
|||||||
|
2003-11-24 Andrew V. Samoilov <sav@bcs.zp.ua>
|
||||||
|
|
||||||
|
* hotlist.c (add_new_group_input): Clean up.
|
||||||
|
* wtools.c (do_create_message): Eliminate g_strdup_printf().
|
||||||
|
(bg_message): Likewise.
|
||||||
|
|
||||||
2003-11-21 Pavel Roskin <proski@gnu.org>
|
2003-11-21 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
* view.c (check_left_right_keys): Implement fast scrolling if
|
* view.c (check_left_right_keys): Implement fast scrolling if
|
||||||
|
@ -973,7 +973,7 @@ static int add_new_group_input (char *header, char *label, char **result)
|
|||||||
|
|
||||||
Quick_input.widgets = quick_widgets;
|
Quick_input.widgets = quick_widgets;
|
||||||
if ((ret = quick_dialog (&Quick_input)) != B_CANCEL){
|
if ((ret = quick_dialog (&Quick_input)) != B_CANCEL){
|
||||||
*result = *(quick_widgets [3].str_result);
|
*result = my_str;
|
||||||
return ret;
|
return ret;
|
||||||
} else
|
} else
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -200,7 +200,7 @@ do_create_message (int flags, const char *title, const char *text)
|
|||||||
Dlg_head *d;
|
Dlg_head *d;
|
||||||
|
|
||||||
/* Add empty lines before and after the message */
|
/* Add empty lines before and after the message */
|
||||||
p = g_strdup_printf ("\n%s\n", text);
|
p = g_strconcat ("\n", text, "\n", NULL);
|
||||||
query_dialog (title, p, flags, 0);
|
query_dialog (title, p, flags, 0);
|
||||||
d = last_query_dlg;
|
d = last_query_dlg;
|
||||||
init_dlg (d);
|
init_dlg (d);
|
||||||
@ -253,7 +253,7 @@ fg_message (int flags, const char *title, const char *text)
|
|||||||
static void
|
static void
|
||||||
bg_message (int dummy, int *flags, char *title, const char *text)
|
bg_message (int dummy, int *flags, char *title, const char *text)
|
||||||
{
|
{
|
||||||
title = g_strdup_printf ("%s %s", _("Background process:"), title);
|
title = g_strconcat (_("Background process:"), " ", title, NULL);
|
||||||
fg_message (*flags, title, text);
|
fg_message (*flags, title, text);
|
||||||
g_free (title);
|
g_free (title);
|
||||||
}
|
}
|
||||||
|
Загрузка…
Ссылка в новой задаче
Block a user