Hi Peter:

your recent changes to the src/pref-manager.c break the display if the 
environment variable BALSA_DIALOG_HEADERBAR=0 is set (see attached screenshot). 
 The attached patch fixes it.

Cheers,
Albrecht.
diff --git a/src/pref-manager.c b/src/pref-manager.c
index 7cbd28f..3915def 100644
--- a/src/pref-manager.c
+++ b/src/pref-manager.c
@@ -3231,6 +3231,7 @@ void
 open_preferences_manager(GtkWidget * widget, gpointer data)
 {
     GtkWidget *hbox;
+    GtkWidget *content_area;
     GtkTreeStore *store;
     GtkWidget *view;
     GtkTreeSelection * selection;
@@ -3263,9 +3264,9 @@ open_preferences_manager(GtkWidget * widget, gpointer data)
     libbalsa_macosx_menu_for_parent(property_box, GTK_WINDOW(active_win));
 #endif
 
-    hbox = gtk_dialog_get_content_area(GTK_DIALOG(property_box));
-    gtk_orientable_set_orientation(GTK_ORIENTABLE(hbox),
-                                   GTK_ORIENTATION_HORIZONTAL);
+	hbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 0);
+	content_area = gtk_dialog_get_content_area(GTK_DIALOG(property_box));
+	gtk_container_add(GTK_CONTAINER(content_area), hbox);
 
     store = gtk_tree_store_new(PM_NUM_COLS,
                                G_TYPE_STRING,   /* PM_TEXT_COL     */

Attachment: pgpUcWj9RgCHf.pgp
Description: PGP signature

_______________________________________________
balsa-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/balsa-list

Reply via email to