Readded custom widget support in alertpanel lost in last sync
authorMelvin Hadasht <melvin.hadasht@free.fr>
Fri, 23 Aug 2002 10:29:08 +0000 (10:29 +0000)
committerMelvin Hadasht <melvin.hadasht@free.fr>
Fri, 23 Aug 2002 10:29:08 +0000 (10:29 +0000)
ChangeLog.claws
configure.in
src/alertpanel.c

index 68e8a2e..c26e348 100644 (file)
@@ -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
index 0b5243c..f79563f 100644 (file)
@@ -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
index cdaefc3..9ad824a 100644 (file)
@@ -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);