made the composer ruler correctly disappear / appear
authorAlfons Hoogervorst <alfons@proteus.demon.nl>
Wed, 20 Jun 2001 23:35:03 +0000 (23:35 +0000)
committerAlfons Hoogervorst <alfons@proteus.demon.nl>
Wed, 20 Jun 2001 23:35:03 +0000 (23:35 +0000)
ChangeLog.claws
src/compose.c

index ad0b3f5..74e73ca 100644 (file)
@@ -1,5 +1,8 @@
 2001-06-21 [alfons]
 
+       * src/compose.c
+               made the ruler correctly appear and disappear.
+
        * src/Makefile.am
                removed Hoa's work-in-progress-stuff (interesting!) so 
                claws compiles ok.
index 4cf8e99..ce67361 100644 (file)
@@ -3182,8 +3182,9 @@ static Compose *compose_create(PrefsAccount *account)
                gtk_widget_hide(followup_entry);
                gtk_table_set_row_spacing(GTK_TABLE(table), 6, 0);
        }
-       gtk_widget_hide(ruler_hbox);
 
+       if (!prefs_common.show_ruler)
+               gtk_widget_hide(ruler_hbox);
 
        select_account(compose, account);