make it possible to add new lines in the in the msg dialog (Fixes bug

2005-11-13  Lucas Rocha  <lucasr@cvs.gnome.org>

        * src/msg.c: make it possible to add new lines in the
        in the msg dialog (Fixes bug #320787).
This commit is contained in:
Lucas Rocha 2005-11-14 04:25:58 +00:00 committed by Lucas Almeida Rocha
parent c9e23b5e47
commit c8b9b79813
5 changed files with 2277 additions and 1207 deletions

View File

@ -1,3 +1,8 @@
2005-11-13 Lucas Rocha <lucasr@cvs.gnome.org>
* src/msg.c: make it possible to add new lines in the
in the msg dialog (Fixes bug #320787).
2005-10-27 Erdal Ronahi <erdal.ronahi@gmail.com> 2005-10-27 Erdal Ronahi <erdal.ronahi@gmail.com>
* configure.in: Added ku (Kurdish) to ALL_LINGUAS * configure.in: Added ku (Kurdish) to ALL_LINGUAS

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -109,9 +109,9 @@ zenity_msg (ZenityData *data, ZenityMsgData *msg_data)
if (data->width > -1 || data->height > -1) if (data->width > -1 || data->height > -1)
gtk_window_set_default_size (GTK_WINDOW (dialog), data->width, data->height); gtk_window_set_default_size (GTK_WINDOW (dialog), data->width, data->height);
if (msg_data->dialog_text) if (msg_data->dialog_text)
gtk_label_set_markup (GTK_LABEL (text), msg_data->dialog_text); gtk_label_set_markup (GTK_LABEL (text), g_strcompress (msg_data->dialog_text));
if (msg_data->no_wrap) if (msg_data->no_wrap)
gtk_label_set_line_wrap (GTK_LABEL (text), FALSE); gtk_label_set_line_wrap (GTK_LABEL (text), FALSE);