Magellan Linux

Annotation of /trunk/mozilla-firefox/patches/mozilla-firefox-1.0.7-embed-prompt-wrapping.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 153 - (hide annotations) (download)
Tue May 8 20:52:56 2007 UTC (17 years, 1 month ago) by niro
File size: 1342 byte(s)
-import

1 niro 153 Index: embedding/browser/gtk/src/EmbedPrompter.cpp
2     ===================================================================
3     RCS file: /cvsroot/mozilla/embedding/browser/gtk/src/EmbedPrompter.cpp,v
4     retrieving revision 1.13
5     diff -p -u -u -p -U10 -r1.13 EmbedPrompter.cpp
6     --- embedding/browser/gtk/src/EmbedPrompter.cpp 16 Sep 2004 12:39:47 -0000 1.13
7     +++ embedding/browser/gtk/src/EmbedPrompter.cpp 9 Jan 2005 01:01:33 -0000
8     @@ -197,20 +204,22 @@ EmbedPrompter::Create(PromptType aType,
9    
10     gtk_box_pack_start(GTK_BOX(contentsVBox), mTextField, FALSE, FALSE, 0);
11     }
12    
13     // Add a checkbox
14     if ((widgetFlags & INCLUDE_CHECKBOX) && !mCheckMessage.IsEmpty()) {
15     mCheckBox = gtk_check_button_new_with_label(mCheckMessage.get());
16    
17     gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(mCheckBox),
18     mCheckValue);
19     + gtk_label_set_line_wrap(GTK_LABEL(gtk_bin_get_child(GTK_BIN(mCheckBox))),
20     + TRUE);
21    
22     gtk_box_pack_start(GTK_BOX(contentsVBox), mCheckBox, FALSE, FALSE, 0);
23     }
24    
25     // Add a dropdown menu
26     if (aType == TYPE_SELECT) {
27     // Build up a GtkMenu containing the items
28     GtkWidget* menu = gtk_menu_new();
29     for (PRUint32 i = 0; i < mItemCount; ++i) {
30     GtkWidget* item = gtk_menu_item_new_with_label(mItemList[i].get());