From: Melvin Hadasht Date: Fri, 23 Aug 2002 10:29:08 +0000 (+0000) Subject: Readded custom widget support in alertpanel lost in last sync X-Git-Tag: rel_0_8_2~26 X-Git-Url: http://git.claws-mail.org/?p=claws.git;a=commitdiff_plain;h=9fbf32eb213f288ac35306a3b1c8c1adea7904ed Readded custom widget support in alertpanel lost in last sync --- diff --git a/ChangeLog.claws b/ChangeLog.claws index 68e8a2ec7..c26e34889 100644 --- a/ChangeLog.claws +++ b/ChangeLog.claws @@ -1,3 +1,9 @@ +2002-08-23 [melvin] 0.8.1claws106 + + * src/alertpanel.c + Readded support for custom widget in alertpanel lost in last + sync. + 2002-08-23 [paul] 0.8.1claws105 * sync with 0.8.1cvs29 diff --git a/configure.in b/configure.in index 0b5243c64..f79563f73 100644 --- a/configure.in +++ b/configure.in @@ -8,7 +8,7 @@ MINOR_VERSION=8 MICRO_VERSION=1 INTERFACE_AGE=0 BINARY_AGE=0 -EXTRA_VERSION=claws105 +EXTRA_VERSION=claws106 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION dnl set $target diff --git a/src/alertpanel.c b/src/alertpanel.c index cdaefc305..9ad824a3d 100644 --- a/src/alertpanel.c +++ b/src/alertpanel.c @@ -263,6 +263,14 @@ static void alertpanel_create(const gchar *title, gtk_misc_set_alignment(GTK_MISC(label), 0, 0.5); gtk_label_set_justify(GTK_LABEL(label), GTK_JUSTIFY_LEFT); + /* Claws: custom widget */ + if (custom_widget) { + GtkWidget *custom_hbox = gtk_hbox_new(FALSE, 0); + gtk_box_pack_start(GTK_BOX(msg_vbox), custom_hbox, FALSE, + FALSE, 0); + gtk_box_pack_start(GTK_BOX(custom_hbox), custom_widget, FALSE, + FALSE, 24); + } if (can_disable) { hbox = gtk_hbox_new(FALSE, 0); gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 0);