change gtk_scrolled_window_set_policy from
authorPaul Mangan <paul@claws-mail.org>
Tue, 3 Aug 2004 08:46:10 +0000 (08:46 +0000)
committerPaul Mangan <paul@claws-mail.org>
Tue, 3 Aug 2004 08:46:10 +0000 (08:46 +0000)
GTK_POLICY_ALWAYS to GTK_POLICY_AUTOMATIC

25 files changed:
ChangeLog-gtk2.claws
PATCHSETS
configure.ac
src/action.c
src/addressadd.c
src/addressbook.c
src/addrgather.c
src/browseldap.c
src/compose.c
src/crash.c
src/editaddress.c
src/editgroup.c
src/editldap_basedn.c
src/foldersel.c
src/gtk/about.c
src/gtk/foldersort.c
src/gtk/logwindow.c
src/gtk/pluginwindow.c
src/gtk/prefswindow.c
src/importldif.c
src/mimeview.c
src/prefs_common.c
src/prefs_template.c
src/sourcewindow.c
src/summaryview.c

index 90e6efc..d8d419d 100644 (file)
@@ -1,3 +1,30 @@
+2004-08-03 [paul]      0.9.12cvs40.2
+
+       * src/action.c
+       * src/addressadd.c
+       * src/addressbook.c
+       * src/addrgather.c
+       * src/browseldap.c
+       * src/compose.c
+       * src/crash.c
+       * src/editaddress.c
+       * src/editgroup.c
+       * src/editldap_basedn.c
+       * src/foldersel.c
+       * src/importldif.c
+       * src/mimeview.c
+       * src/prefs_common.c
+       * src/prefs_template.c
+       * src/sourcewindow.c
+       * src/summaryview.c
+       * src/gtk/about.c
+       * src/gtk/foldersort.c
+       * src/gtk/logwindow.c
+       * src/gtk/pluginwindow.c
+       * src/gtk/prefswindow.c
+               change all gtk_scrolled_window_set_policy from 
+               GTK_POLICY_ALWAYS to GTK_POLICY_AUTOMATIC
+
 2004-08-02 [paul]      0.9.12cvs40.1
 
        * AUTHORS
index 346e25a..4789244 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.3.2.3 -r 1.3.2.4 src/exphtmldlg.c; ) > 0.9.12cvs39.8.patchset
 ( cvs diff -u -r 1.3.2.4 -r 1.3.2.5 src/exphtmldlg.c; ) > 0.9.12cvs39.9.patchset
 ( cvs diff -u -r 1.100.2.3 -r 1.100.2.4 AUTHORS; cvs diff -u -r 1.50 -r 1.51 po/pt_BR.po; ) > 0.9.12cvs40.1.patchset
+( cvs diff -u -r 1.12.2.9 -r 1.12.2.10 src/action.c; cvs diff -u -r 1.9.2.1 -r 1.9.2.2 src/addressadd.c; cvs diff -u -r 1.60.2.8 -r 1.60.2.9 src/addressbook.c; cvs diff -u -r 1.5.10.3 -r 1.5.10.4 src/addrgather.c; cvs diff -u -r 1.2.4.3 -r 1.2.4.4 src/browseldap.c; cvs diff -u -r 1.382.2.38 -r 1.382.2.39 src/compose.c; cvs diff -u -r 1.23.2.4 -r 1.23.2.5 src/crash.c; cvs diff -u -r 1.14.2.1 -r 1.14.2.2 src/editaddress.c; cvs diff -u -r 1.11.2.1 -r 1.11.2.2 src/editgroup.c; cvs diff -u -r 1.10.2.1 -r 1.10.2.2 src/editldap_basedn.c; cvs diff -u -r 1.26.2.4 -r 1.26.2.5 src/foldersel.c; cvs diff -u -r 1.14.2.1 -r 1.14.2.2 src/importldif.c; cvs diff -u -r 1.83.2.14 -r 1.83.2.15 src/mimeview.c; cvs diff -u -r 1.204.2.18 -r 1.204.2.19 src/prefs_common.c; cvs diff -u -r 1.12.2.3 -r 1.12.2.4 src/prefs_template.c; cvs diff -u -r 1.9.2.6 -r 1.9.2.7 src/sourcewindow.c; cvs diff -u -r 1.395.2.26 -r 1.395.2.27 src/summaryview.c; cvs diff -u -r 1.4.2.2 -r 1.4.2.3 src/gtk/about.c; cvs diff -u -r 1.1.2.2 -r 1.1.2.3 src/gtk/foldersort.c; cvs diff -u -r 1.1.4.4 -r 1.1.4.5 src/gtk/logwindow.c; cvs diff -u -r 1.5.2.4 -r 1.5.2.5 src/gtk/pluginwindow.c; cvs diff -u -r 1.12.2.4 -r 1.12.2.5 src/gtk/prefswindow.c; ) > 0.9.12cvs40.2.patchset
index b0e2c6d..179cae3 100644 (file)
@@ -13,7 +13,7 @@ INTERFACE_AGE=0
 BINARY_AGE=0
 EXTRA_VERSION=40
 EXTRA_RELEASE=
-EXTRA_GTK2_VERSION=.1
+EXTRA_GTK2_VERSION=.2
 
 if test \( $EXTRA_VERSION -eq 0 \) -o \( "x$EXTRA_RELEASE" != "x" \); then
     VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}${EXTRA_RELEASE}${EXTRA_GTK2_VERSION}
index 6e58000..1e3618e 100644 (file)
@@ -1137,7 +1137,7 @@ static void create_io_dialog(Children *children)
 
        scrolledwin = gtk_scrolled_window_new(NULL, NULL);
        gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scrolledwin),
-                                      GTK_POLICY_NEVER, GTK_POLICY_ALWAYS);
+                                      GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
        gtk_box_pack_start(GTK_BOX(vbox), scrolledwin, TRUE, TRUE, 0);
        gtk_widget_set_size_request(scrolledwin, 480, 200);
        gtk_widget_hide(scrolledwin);
index e39012b..67056ef 100644 (file)
@@ -220,7 +220,7 @@ static void addressadd_create( void ) {
        tree_win = gtk_scrolled_window_new( NULL, NULL );
        gtk_scrolled_window_set_policy( GTK_SCROLLED_WINDOW(tree_win),
                                        GTK_POLICY_AUTOMATIC,
-                                       GTK_POLICY_ALWAYS );
+                                       GTK_POLICY_AUTOMATIC );
        gtk_box_pack_start( GTK_BOX(vlbox), tree_win, TRUE, TRUE, 0 );
 
        tree_folder = gtk_ctree_new( 1, 0 );
index 5ce8fca..bf72457 100644 (file)
@@ -673,7 +673,7 @@ static void addressbook_create(void)
        ctree_swin = gtk_scrolled_window_new(NULL, NULL);
        gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(ctree_swin),
                                       GTK_POLICY_AUTOMATIC,
-                                      GTK_POLICY_ALWAYS);
+                                      GTK_POLICY_AUTOMATIC);
        gtk_widget_set_size_request(ctree_swin, COL_FOLDER_WIDTH + 40, -1);
 
        /* Address index */
@@ -705,7 +705,7 @@ static void addressbook_create(void)
        clist_swin = gtk_scrolled_window_new(NULL, NULL);
        gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(clist_swin),
                                       GTK_POLICY_AUTOMATIC,
-                                      GTK_POLICY_ALWAYS);
+                                      GTK_POLICY_AUTOMATIC);
        gtk_box_pack_start(GTK_BOX(clist_vbox), clist_swin, TRUE, TRUE, 0);
 
        /* Address list */
index 369f505..1b75063 100644 (file)
@@ -439,7 +439,7 @@ static void addrgather_page_finish( gint pageNum, gchar *pageLbl ) {
        gtk_container_add( GTK_CONTAINER(vbox), clistSWin );
        gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(clistSWin),
                                       GTK_POLICY_AUTOMATIC,
-                                      GTK_POLICY_ALWAYS);
+                                      GTK_POLICY_AUTOMATIC);
 
        clistCount = gtk_clist_new_with_titles( FIELDS_N_COLS, titles );
        gtk_container_add( GTK_CONTAINER(clistSWin), clistCount );
index e2e5ab0..bb33c9f 100644 (file)
@@ -281,7 +281,7 @@ static void browse_create( void ) {
        tree_win = gtk_scrolled_window_new( NULL, NULL );
        gtk_scrolled_window_set_policy( GTK_SCROLLED_WINDOW(tree_win),
                                        GTK_POLICY_AUTOMATIC,
-                                       GTK_POLICY_ALWAYS );
+                                       GTK_POLICY_AUTOMATIC );
        gtk_box_pack_start( GTK_BOX(vlbox), tree_win, TRUE, TRUE, 0 );
 
        list_entry = gtk_clist_new( N_COLS );
index 3f9d36b..831799e 100644 (file)
@@ -4957,7 +4957,7 @@ GtkWidget *compose_create_attach(Compose *compose)
        attach_scrwin = gtk_scrolled_window_new(NULL, NULL);
        gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(attach_scrwin),
                                       GTK_POLICY_AUTOMATIC,
-                                      GTK_POLICY_ALWAYS);
+                                      GTK_POLICY_AUTOMATIC);
        gtk_widget_set_size_request(attach_scrwin, -1, 80);
 
        attach_clist = gtk_clist_new_with_titles(N_ATTACH_COLS, titles);
@@ -5232,7 +5232,7 @@ static Compose *compose_create(PrefsAccount *account, ComposeMode mode)
        /* text widget */
        scrolledwin = gtk_scrolled_window_new(NULL, NULL);
        gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scrolledwin),
-                                      GTK_POLICY_NEVER, GTK_POLICY_ALWAYS);
+                                      GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
        gtk_box_pack_start(GTK_BOX(edit_vbox), scrolledwin, TRUE, TRUE, 0);
        gtk_widget_set_size_request(scrolledwin, prefs_common.compose_width, -1);
 
index ec91e91..630d915 100644 (file)
@@ -213,7 +213,7 @@ static GtkWidget *crash_dialog_show(const gchar *text, const gchar *debug_output
        gtk_container_add(GTK_CONTAINER(frame1), scrolledwindow1);
        gtk_container_set_border_width(GTK_CONTAINER(scrolledwindow1), 3);
        gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scrolledwindow1),
-                                      GTK_POLICY_NEVER, GTK_POLICY_ALWAYS);
+                                      GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
 
        text1 = gtk_text_new(NULL, NULL);
        gtk_text_set_editable((text1), FALSE);
index 64bb69a..c3033de 100644 (file)
@@ -652,7 +652,7 @@ static void addressbook_edit_person_page_email( gint pageNum, gchar *pageLbl ) {
        gtk_container_add( GTK_CONTAINER(vboxl), clist_swin );
        gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(clist_swin),
                                       GTK_POLICY_AUTOMATIC,
-                                      GTK_POLICY_ALWAYS);
+                                      GTK_POLICY_AUTOMATIC);
 
        clist = gtk_clist_new_with_titles( EMAIL_N_COLS, titles );
        gtk_container_add( GTK_CONTAINER(clist_swin), clist );
@@ -799,7 +799,7 @@ static void addressbook_edit_person_page_attrib( gint pageNum, gchar *pageLbl )
        gtk_container_add( GTK_CONTAINER(vboxl), clist_swin );
        gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(clist_swin),
                                       GTK_POLICY_AUTOMATIC,
-                                      GTK_POLICY_ALWAYS);
+                                      GTK_POLICY_AUTOMATIC);
 
        clist = gtk_clist_new_with_titles( ATTRIB_N_COLS, titles );
        gtk_container_add( GTK_CONTAINER(clist_swin), clist );
index e5a7406..e35a2ab 100644 (file)
@@ -320,7 +320,7 @@ static void addressbook_edit_group_create( gboolean *cancelled ) {
        gtk_box_pack_start(GTK_BOX(vboxl), clist_swin, TRUE, TRUE, 0);
        gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(clist_swin),
                                       GTK_POLICY_AUTOMATIC,
-                                      GTK_POLICY_ALWAYS);
+                                      GTK_POLICY_AUTOMATIC);
 
        clist_group = gtk_clist_new_with_titles( GROUP_N_COLS, titles );
        gtk_container_add( GTK_CONTAINER(clist_swin), clist_group );
@@ -349,7 +349,7 @@ static void addressbook_edit_group_create( gboolean *cancelled ) {
        gtk_box_pack_start(GTK_BOX(vboxl), clist_swin, TRUE, TRUE, 0);
        gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(clist_swin),
                                       GTK_POLICY_AUTOMATIC,
-                                      GTK_POLICY_ALWAYS);
+                                      GTK_POLICY_AUTOMATIC);
 
        clist_avail = gtk_clist_new_with_titles( GROUP_N_COLS, titles );
        gtk_container_add( GTK_CONTAINER(clist_swin), clist_avail );
index 7558007..50c880d 100644 (file)
@@ -195,7 +195,7 @@ static void edit_ldap_bdn_create(void) {
        lwindow = gtk_scrolled_window_new(NULL, NULL);
        gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(lwindow),
                                       GTK_POLICY_AUTOMATIC,
-                                      GTK_POLICY_ALWAYS);
+                                      GTK_POLICY_AUTOMATIC);
        gtk_box_pack_start(GTK_BOX(vlbox), lwindow, TRUE, TRUE, 0);
 
        basedn_list = gtk_clist_new(1);
index 70ecb77..0d9c75c 100644 (file)
@@ -167,7 +167,7 @@ static void foldersel_create(void)
        scrolledwin = gtk_scrolled_window_new(NULL, NULL);
        gtk_widget_set_size_request(window, 300, 360);
        gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scrolledwin),
-                                      GTK_POLICY_NEVER, GTK_POLICY_ALWAYS);
+                                      GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
        gtk_box_pack_start(GTK_BOX(vbox), scrolledwin, TRUE, TRUE, 0);
 
        ctree = gtk_ctree_new(1, 0);
index fe1ef6b..61ffda2 100644 (file)
@@ -194,7 +194,7 @@ static void about_create(void)
 
        scrolledwin = gtk_scrolled_window_new(NULL, NULL);
        gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scrolledwin),
-                                      GTK_POLICY_NEVER, GTK_POLICY_ALWAYS);
+                                      GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
        gtk_box_pack_start(GTK_BOX(vbox), scrolledwin, TRUE, TRUE, 0);
 
        text = gtk_text_view_new();
index 0643c7f..40c8333 100644 (file)
@@ -208,7 +208,7 @@ void foldersort_open()
        gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW
                                       (scrolledwindow1),
                                       GTK_POLICY_AUTOMATIC,
-                                      GTK_POLICY_ALWAYS);
+                                      GTK_POLICY_AUTOMATIC);
 
        folderlist = gtk_clist_new(1);
        gtk_widget_show(folderlist);
index a4f7fc0..e3e267a 100644 (file)
@@ -73,7 +73,7 @@ LogWindow *log_window_create(void)
 
        scrolledwin = gtk_scrolled_window_new(NULL, NULL);
        gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scrolledwin),
-                                      GTK_POLICY_NEVER, GTK_POLICY_ALWAYS);
+                                      GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
        gtk_container_add(GTK_CONTAINER(window), scrolledwin);
        gtk_widget_show(scrolledwin);
 
index f38c05d..4b098e2 100644 (file)
@@ -172,7 +172,7 @@ void pluginwindow_create()
        gtk_box_pack_start(GTK_BOX(hbox2), scrolledwindow2, TRUE, TRUE, 0);
        gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW
                                       (scrolledwindow2), GTK_POLICY_NEVER,
-                                      GTK_POLICY_ALWAYS);
+                                      GTK_POLICY_AUTOMATIC);
 
        plugin_list = gtk_clist_new(1);
        gtk_widget_show(plugin_list);
@@ -205,7 +205,7 @@ void pluginwindow_create()
        gtk_box_pack_start(GTK_BOX(vbox2), scrolledwindow3, TRUE, TRUE, 0);
        gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW
                                       (scrolledwindow3), GTK_POLICY_NEVER,
-                                      GTK_POLICY_ALWAYS);
+                                      GTK_POLICY_AUTOMATIC);
 
        plugin_desc = gtk_text_view_new();
        gtk_widget_show(plugin_desc);
index 6da71e2..33500e6 100644 (file)
@@ -230,7 +230,7 @@ void prefswindow_open(const gchar *title, GSList *prefs_pages, gpointer data)
        gtk_container_add(GTK_CONTAINER(prefswindow->window), prefswindow->table1);
 
        prefswindow->scrolledwindow1 = gtk_scrolled_window_new(NULL, NULL);
-       gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(prefswindow->scrolledwindow1), GTK_POLICY_NEVER, GTK_POLICY_ALWAYS);
+       gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(prefswindow->scrolledwindow1), GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
        gtk_table_attach(GTK_TABLE(prefswindow->table1), prefswindow->scrolledwindow1, 0, 1, 0, 1, GTK_FILL, GTK_FILL | GTK_EXPAND, 2, 2);
 
        prefswindow->ctree = gtk_ctree_new_with_titles(1, 0, titles);
index ef30fb1..2e1f528 100644 (file)
@@ -787,7 +787,7 @@ static void imp_ldif_page_fields( gint pageNum, gchar *pageLbl ) {
        gtk_container_add( GTK_CONTAINER(vboxt), clist_swin );
        gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(clist_swin),
                                       GTK_POLICY_AUTOMATIC,
-                                      GTK_POLICY_ALWAYS);
+                                      GTK_POLICY_AUTOMATIC);
 
        clist_field = gtk_clist_new_with_titles( FIELDS_N_COLS, titles );
        gtk_container_add( GTK_CONTAINER(clist_swin), clist_field );
index 5736966..fc00bf5 100644 (file)
@@ -202,7 +202,7 @@ MimeView *mimeview_create(MainWindow *mainwin)
        gtk_widget_show(scrolledwin);
        gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scrolledwin),
                                       GTK_POLICY_AUTOMATIC,
-                                      GTK_POLICY_ALWAYS);
+                                      GTK_POLICY_AUTOMATIC);
 
        ctree = gtk_sctree_new_with_titles(N_MIMEVIEW_COLS, 0, titles);
        gtk_widget_show(ctree);
index a58e826..5cdbe9a 100644 (file)
@@ -1521,7 +1521,7 @@ static void prefs_quote_create(void)
        gtk_box_pack_start (GTK_BOX (vbox_quote), scrolledwin_quotefmt, TRUE, TRUE, 0);
        gtk_scrolled_window_set_policy
                (GTK_SCROLLED_WINDOW (scrolledwin_quotefmt),
-                GTK_POLICY_NEVER, GTK_POLICY_ALWAYS);
+                GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
 
        text_quotefmt = gtk_text_view_new ();
        gtk_widget_show (text_quotefmt);
@@ -1561,7 +1561,7 @@ static void prefs_quote_create(void)
        gtk_box_pack_start (GTK_BOX (vbox_quote), scrolledwin_quotefmt, TRUE, TRUE, 0);
        gtk_scrolled_window_set_policy
                (GTK_SCROLLED_WINDOW (scrolledwin_quotefmt),
-                GTK_POLICY_NEVER, GTK_POLICY_ALWAYS);
+                GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
 
        text_fw_quotefmt = gtk_text_view_new ();
        gtk_widget_show (text_fw_quotefmt);
index 2880a6f..44013ce 100644 (file)
@@ -183,7 +183,7 @@ static void prefs_template_window_create(void)
        gtk_widget_show(scroll2);
        gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scroll2),
                                       GTK_POLICY_NEVER,
-                                      GTK_POLICY_ALWAYS);
+                                      GTK_POLICY_AUTOMATIC);
        gtk_box_pack_start(GTK_BOX(vbox1), scroll2, TRUE, TRUE, 0);
 
        text_value = gtk_text_view_new();
index 4c8b1c6..6e78d38 100644 (file)
@@ -76,7 +76,7 @@ SourceWindow *source_window_create(void)
 
        scrolledwin = gtk_scrolled_window_new(NULL, NULL);
        gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scrolledwin),
-                                      GTK_POLICY_NEVER, GTK_POLICY_ALWAYS);
+                                      GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
        gtk_container_add(GTK_CONTAINER(window), scrolledwin);
        gtk_widget_show(scrolledwin);
 
index b3c19b9..ab686a0 100644 (file)
@@ -538,7 +538,7 @@ SummaryView *summary_create(void)
        gtk_widget_show(scrolledwin);
        gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scrolledwin),
                                       GTK_POLICY_AUTOMATIC,
-                                      GTK_POLICY_ALWAYS);
+                                      GTK_POLICY_AUTOMATIC);
        gtk_box_pack_start(GTK_BOX(vbox), scrolledwin, TRUE, TRUE, 0);
        gtk_widget_set_size_request(vbox,
                             prefs_common.summaryview_width,