Description window: allow resizing/horizontal scroll bar;do not expand/fill vertically
authorMelvin Hadasht <melvin.hadasht@free.fr>
Sun, 26 Jan 2003 13:31:26 +0000 (13:31 +0000)
committerMelvin Hadasht <melvin.hadasht@free.fr>
Sun, 26 Jan 2003 13:31:26 +0000 (13:31 +0000)
ChangeLog.claws
configure.ac
src/gtk/description_window.c

index e44dd3dc4e0c9e5daa3860e263ad616bbffca904..ed2604435fbfbe012308a6652360133dc9610712 100644 (file)
@@ -1,3 +1,10 @@
+2003-01-26 [melvin]    0.8.9claws12
+
+       * src/description_window.c
+               Allow resizing of the window
+               Allow automatic horizontal scroll bar
+               Do not vertically expand and fill
+
 2003-01-26 [christoph] 0.8.9claws11
 
        * src/Makefile.am
index 97971c60ad7f527630de97afab352b19a8892717..38ab3cec0298d4f18323eecccf37fc3555e46795 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=8
 MICRO_VERSION=9
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws11
+EXTRA_VERSION=claws12
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index 4cb2ca755fc374c2f4ed6102729c7b11bd19ab5c..0a5bdb05cd7c35d426e9707408fcecab10f058fe 100644 (file)
@@ -66,7 +66,7 @@ static void description_create(DescriptionWindow * dwindow)
        gtk_container_set_border_width(GTK_CONTAINER(dwindow->window), 8);
        gtk_window_set_position(GTK_WINDOW(dwindow->window), GTK_WIN_POS_CENTER);
        gtk_window_set_modal(GTK_WINDOW(dwindow->window), TRUE);
-       gtk_window_set_policy(GTK_WINDOW(dwindow->window), FALSE, FALSE, FALSE);
+       gtk_window_set_policy(GTK_WINDOW(dwindow->window), FALSE, TRUE, FALSE);
 
        /* Check number of lines to be show */
        sz = 0;
@@ -76,7 +76,7 @@ static void description_create(DescriptionWindow * dwindow)
        
        scrolledwin = gtk_scrolled_window_new(NULL, NULL);
        gtk_widget_show(scrolledwin);
-       gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scrolledwin), GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
+       gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scrolledwin), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
        
        table = gtk_table_new(sz, dwindow->columns, FALSE);
        gtk_scrolled_window_add_with_viewport(GTK_SCROLLED_WINDOW(scrolledwin), table);
@@ -103,7 +103,7 @@ static void description_create(DescriptionWindow * dwindow)
                                gtk_misc_set_alignment (GTK_MISC(label), 0, 0);
                                gtk_table_attach(GTK_TABLE(table), label,
                                                 col, colend, line, line+1,
-                                                GTK_EXPAND | GTK_FILL, GTK_EXPAND | GTK_FILL,
+                                                GTK_EXPAND | GTK_FILL, 0,
                                                 0, 0);
                        }
                } else {
@@ -112,7 +112,7 @@ static void description_create(DescriptionWindow * dwindow)
                        separator = gtk_hseparator_new();
                        gtk_table_attach(GTK_TABLE(table), separator,
                                         0, dwindow->columns, line, line+1,
-                                        GTK_EXPAND | GTK_FILL, GTK_EXPAND | GTK_FILL,
+                                        GTK_EXPAND | GTK_FILL, 0,
                                         0, 4);
                }
                line++;