comparison pidgin/gtkprefs.c @ 19225:0a37b4187366

Allow the imhtml to expand and fill the void.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Mon, 13 Aug 2007 04:52:49 +0000
parents f0fc615c217d
children bf918749b375 0ed8a2a86a1b 411b5a604a17
comparison
equal deleted inserted replaced
19224:f0fc615c217d 19225:0a37b4187366
1037 g_signal_connect(G_OBJECT(fontpref), "clicked", G_CALLBACK(pidgin_toggle_sensitive), hbox); 1037 g_signal_connect(G_OBJECT(fontpref), "clicked", G_CALLBACK(pidgin_toggle_sensitive), hbox);
1038 g_signal_connect(G_OBJECT(font_button), "font-set", G_CALLBACK(pidgin_custom_font_set), NULL); 1038 g_signal_connect(G_OBJECT(font_button), "font-set", G_CALLBACK(pidgin_custom_font_set), NULL);
1039 #endif 1039 #endif
1040 1040
1041 vbox = pidgin_make_frame(ret, _("Default Formatting")); 1041 vbox = pidgin_make_frame(ret, _("Default Formatting"));
1042 gtk_box_set_child_packing(GTK_BOX(vbox->parent), vbox, TRUE, TRUE, 0, GTK_PACK_START);
1042 1043
1043 frame = pidgin_create_imhtml(TRUE, &imhtml, &toolbar, NULL); 1044 frame = pidgin_create_imhtml(TRUE, &imhtml, &toolbar, NULL);
1044 gtk_widget_set_name(imhtml, "pidgin_prefs_font_imhtml"); 1045 gtk_widget_set_name(imhtml, "pidgin_prefs_font_imhtml");
1045 gtk_widget_set_size_request(frame, 300, -1); 1046 gtk_widget_set_size_request(frame, 300, -1);
1046 gtk_imhtml_set_whole_buffer_formatting_only(GTK_IMHTML(imhtml), TRUE); 1047 gtk_imhtml_set_whole_buffer_formatting_only(GTK_IMHTML(imhtml), TRUE);